]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix nptl/tst-mutex5.c: Do not skip tests if elision is enabled.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-12-15 Torvald Riegel <triegel@redhat.com>
2
3 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4
52014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6
7 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8 * stdio-common/tst-sprintf.c: Likewise.
9
102014-12-15 Torvald Riegel <triegel@redhat.com>
11
12 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
13
142014-12-15 Jeff Law <law@redhat.com>
15
16 [BZ #16617]
17 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
18 on the heap. (CVE-2012-3406)
19 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
21 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22
232014-12-15 Will Newton <will.newton@linaro.org>
24
25 * manual/install.texi: Bump required version of texinfo
26 to 4.7 from 4.5.
27 * INSTALL: Regenerated.
28 * configure.ac: Check for makeinfo version 4.7 and above.
29 * configure: Regenerated.
30
312014-12-12 Roland McGrath <roland@hack.frob.com>
32
33 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34 PREFIX, string constant to insert between directory and name.
35 * sysdeps/posix/shm_open.c: Update caller.
36 * sysdeps/posix/shm_unlink.c: Likewise.
37 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
38 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39 (SEM_SHM_PREFIX): New macro.
40 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41 [$(have-thread-library) = no].
42 * nptl/Makefile (libpthread-routines): Add shm-directory.
43 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
44 * sysdeps/nptl/shm-directory.h: New file.
45 * sysdeps/posix/shm-directory.c
46 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
47 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
48 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
49 INTERNAL_SYSCALL.
50 (__where_is_shmfs): Function removed.
51 (mountpoint, defaultmount, defaultdir, __namedsem_once):
52 Variables removed.
53 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
54 Use SHM_GET_NAME.
55 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
56
57 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
58 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
59 unconditional for use inside libpthread.
60 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
61
622014-12-12 Roland McGrath <roland@hack.frob.com>
63
64 * nptl/pthread_getaffinity.c: New file.
65 * nptl/pthread_setaffinity.c: New file.
66 * nptl/pthread_getname.c: New file.
67 * nptl/pthread_setname.c: New file.
68
69 * nptl/pthread_create.c (START_THREAD_DEFN)
70 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
71
722014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
73 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74
75 * resolv/res_send.c (send_vc): Disable warning resplen may
76 be used uninitialized.
77
782014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
79
80 * nptl/tst-mutex6.c
81 (ATTR_NULL): New define checks ATTR against NULL.
82 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
83 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
84
852014-12-11 James Lemke <jwlemke@codesourcery.com>
86
87 [BZ #17581]
88 * malloc/hooks.c
89 (mem2mem_check): Revert my previous change.
90 (malloc_check_get_size): Revert my previous change.
91 (mem2chunk_check): Revert my previous change.
92
932014-12-11 Roland McGrath <roland@hack.frob.com>
94
95 * sysdeps/posix/shm-directory.c: New file.
96 * sysdeps/posix/shm-directory.h: New file.
97 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
98 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
99 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
100 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
101 Transmute EPERM to EACCES.
102 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
103 from ...
104 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
105 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
106
1072014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
108
109 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
110 pointer and cast to uintptr_t.
111 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
112 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
113 Add cast to avoid warning.
114 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
115
1162014-12-11 Joseph Myers <joseph@codesourcery.com>
117
118 * nptl/semaphore.h: Move to ...
119 * sysdeps/pthread/semaphore.h: ... here.
120 * Makefile (installed-headers): Change nptl/semaphore.h to
121 sysdeps/pthread/semaphore.h.
122
1232014-12-11 Roland McGrath <roland@hack.frob.com>
124
125 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
126 generated error format strings.
127
128 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
129 -Wformat-extra-args warnings for scanf formats.
130 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
131 test of zero-length format (duh).
132 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
133 corner-case scanf format test.
134 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
135 generated fprintf format string.
136 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
137 corner-case sprintf format tests.
138 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
139 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
140 -Wformat-extra-args warnings throughout.
141 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
142 (CFLAGS-scanf4.c): Likewise.
143 (CFLAGS-scanf7.c): Likewise.
144 (CFLAGS-tst-sprintf.c): Likewise.
145 (CFLAGS-tst-printf.c): Likewise.
146 (CFLAGS-tst-printfsz.c): Likewise.
147
1482014-12-11 Joseph Myers <joseph@codesourcery.com>
149
150 * include/cpio.h: New file.
151 * include/fmtmsg.h: Likewise.
152
153 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
154 corresponding format argument to size_t.
155 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
156 arguments.
157 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
158 corresponding format argument to size_t.
159 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
160 arguments.
161 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
162 corresponding format argument to size_t.
163 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
164 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
165 (CFLAGS-tst-mbswcs2.c): Likewise.
166 (CFLAGS-tst-mbswcs3.c): Likewise.
167 (CFLAGS-tst-mbswcs4.c): Likewise.
168 (CFLAGS-tst-mbswcs5.c): Likewise.
169 (CFLAGS-tst-trans.c): Likewise
170
1712014-12-11 Roland McGrath <roland@hack.frob.com>
172
173 * posix/regexbug1.c (main): Use "%s" format with regerror results,
174 rather than assuming they won't contain any '%'s.
175
1762014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
177
178 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
179 inhibit_loop_to_libcall to avoid recursive calls.
180 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
181 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
182
1832014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
184
185 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
186 prototype.
187
1882014-12-11 Steve Ellcey <sellcey@imgtec.com>
189
190 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
191 integer value instead of boolean.
192
1932014-12-11 Steve Ellcey <sellcey@imgtec.com>
194
195 * malloc/malloc.c: Fix powerof2 check.
196
1972014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
198
199 * locale/programs/locfile.h (maybe_swap_uint32):
200 Remove inline and add unused attribute.
201
2022014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
203
204 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
205 Truncating assembler expression to a .long expression.
206
2072014-12-11 Andreas Schwab <schwab@suse.de>
208
209 * elf/rtld.c (struct map_args): Constify str member.
210 (do_preload): Constify fname argument.
211
2122014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213
214 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
215 constants definition.
216
2172014-12-11 Andreas Schwab <schwab@suse.de>
218
219 [BZ #16657]
220 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
221 FORCE_ELISION instead of DO_ELISION.
222 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
223 Remove.
224 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
225 Likewise.
226
227 * iconvdata/gconv-modules: Remove duplicate entry.
228
2292014-12-11 Will Newton <will.newton@linaro.org>
230
231 Merge gettext 0.19.3 into intl/.
232
233 This involves a number of cosmetic changes to comments
234 and ANSI function definitions and prototypes throughout
235 all the files. The gettext copyright header is used but
236 with the date ranges taken from the glibc copy.
237
238 * NEWS: Add gettext merge to 2.21.
239 * intl/bindtextdom.c: Switch to gettext copyright.
240 Use ANSI definitions and prototypes.
241 Use gl_* locking primitives rather than __libc_* ones.
242 Use __builtin_expect rather than __glibc_likely/unlikely.
243 * intl/dcgettext.c: Switch to gettext copyright.
244 Use ANSI definitions and prototypes.
245 * intl/dcigettext.c: Switch to gettext copyright.
246 Use ANSI definitions and prototypes.
247 (INTDIV0_RAISES_SIGFPE): New define.
248 Use gl_* locking primitives rather than __libc_* ones.
249 Include eval-plural.h instead of plural-eval.c.
250 Use __builtin_expect rather than __glibc_likely/unlikely.
251 * intl/dcngettext.c: Switch to gettext copyright.
252 Use ANSI definitions and prototypes.
253 * intl/dgettext.c: Likewise.
254 * intl/dngettext.c: Likewise.
255 * intl/plural-eval.c: Renamed to...
256 * intl/eval-plural.h: ...this.
257 * intl/explodename.c: Switch to gettext copyright.
258 Use ANSI definitions and prototypes.
259 (_nl_explode_name): Use strchr instead of __rawmemchr.
260 * intl/finddomain.c: Switch to gettext copyright.
261 Use ANSI definitions and prototypes.
262 Use gl_* locking primitives rather than __libc_* ones.
263 (_nl_find_domain): Use malloc rather than alloca for
264 allocation of temporary locale name.
265 * intl/gettext.c: Switch to gettext copyright.
266 Use ANSI definitions and prototypes.
267 * intl/gettextP.h: Switch to gettext copyright.
268 Use ANSI definitions and prototypes.
269 Use gl_* locking primitives rather than __libc_* ones.
270 * intl/gmo.h: Switch to gettext copyright.
271 (struct sysdep_string): Move struct segment_pair outside of
272 struct definition.
273 * intl/hash-string.c: Use ANSI definitions and prototypes.
274 * intl/hash-string.h: Switch to gettext copyright.
275 Use ANSI definitions and prototypes.
276 * intl/l10nflist.c: Switch to gettext copyright.
277 Use ANSI definitions and prototypes.
278 (_nl_normalize_codeset): Avoid integer overflow.
279 * intl/loadinfo.h: Switch to gettext copyright.
280 Use ANSI definitions and prototypes.
281 (LIBINTL_DLL_EXPORTED): New define.
282 (PATH_SEPARATOR): New define.
283 * intl/loadmsgcat.c: Switch to gettext copyright.
284 * intl/localealias.c: Switch to gettext copyright.
285 Use ANSI definitions and prototypes.
286 (_nl_expand_alias): Use PATH_SEPARATOR.
287 * intl/ngettext.c: Switch to gettext copyright.
288 Use ANSI definitions and prototypes.
289 * intl/plural-exp.c: Likewise.
290 * intl/plural-exp.h: Switch to gettext copyright.
291 Use ANSI definitions and prototypes.
292 (struct expression): Move definition of enum operator outside
293 of struct definition.
294 * intl/plural.c: Regenerate.
295 * intl/plural.y: Switch to gettext copyright.
296 Use ANSI definitions and prototypes.
297 Port to bison 3.0.
298 * intl/textdomain.c: Switch to gettext copyright.
299 Use ANSI definitions and prototypes.
300 Use gl_* locking primitives rather than __libc_* ones.
301
3022014-12-10 Steve Ellcey <sellcey@imgtec.com>
303
304 * debug/warning-nop.c: Add used atrribute.
305
3062014-12-10 Joseph Myers <joseph@codesourcery.com>
307
308 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
309
310 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
311 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
312 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
313
3142014-12-10 Joseph Myers <joseph@codesourcery.com>
315 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
316
317 [BZ #17634]
318 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
319 Undefine after defining function. Define as weak alias of
320 __wcschr. Use libc_hidden_weak.
321 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
322 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
323 (libc_hidden_def): Also define __GI___wcschr alias.
324 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
325 __wcschr and define as weak alias of __wcschr.
326 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
327 __wcschr.
328 [!WCSCHR] (DEFAULT_WCSCHR): Define.
329 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
330 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
331 libc_hidden_weak. Do not use libc_hidden_def.
332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
333 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
334 __GI___wcschr alias.
335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
336 [IS_IN (libc)] (wcschr): Define as macro expanding to
337 __redirect_wcschr.
338 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
339 [IS_IN (libc)] (__wcschr_power6): Likewise.
340 [IS_IN (libc)] (__wcschr_power7): Likewise.
341 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
342 instead of wcschr.
343 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
344 __libc_wcschr.
345 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
346 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
347 __wcschr and define as weak alias of __wcschr. Use
348 libc_hidden_builtin_def.
349 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
350 as weak alias of __wcschr. Use libc_hidden_weak.
351 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
352 wcschr.
353 * time/era.c (_nl_init_era_entries): Likewise.
354 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
355 variable.
356 (test-xfail-XPG3/time.h/linknamespace): Likewise.
357 (test-xfail-XPG4/time.h/linknamespace): Likewise.
358
3592014-12-10 Joseph Myers <joseph@codesourcery.com>
360
361 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
362 format for long int variable.
363
3642014-12-10 Anders Kaseorg <andersk@MIT.EDU>
365
366 [BZ #10672]
367 * manual/search.texi: (Array Sort Function): Remove claim how to make
368 qsort stable.
369
3702014-12-10 Andreas Schwab <schwab@suse.de>
371
372 [BZ #12847]
373 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
374 user-controlled locks.
375
3762014-12-10 Richard Earnshaw <rearnsha@arm.com>
377
378 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
379 register.
380
3812014-12-10 Joseph Myers <joseph@codesourcery.com>
382
383 * configure.ac (--disable-werror): New configure option.
384 (enable_werror): New AC_SUBST.
385 * configure: Regenerated.
386 * config.make.in (enable-werror): New variable.
387 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
388 -Wno-error=undef.
389 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
390 * manual/install.texi (Configuring and compiling): Document
391 --disable-werror.
392 * INSTALL: Regenerated.
393 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
394 (CFLAGS-tst-chk2.c): Likewise.
395 (CFLAGS-tst-chk3.c): Likewise.
396 (CFLAGS-tst-chk4.cc): Likewise.
397 (CFLAGS-tst-chk5.cc): Likewise.
398 (CFLAGS-tst-chk6.cc): Likewise.
399 (CFLAGS-tst-lfschk1.c): Likewise.
400 (CFLAGS-tst-lfschk2.c): Likewise.
401 (CFLAGS-tst-lfschk3.c): Likewise.
402 (CFLAGS-tst-lfschk4.cc): Likewise.
403 (CFLAGS-tst-lfschk5.cc): Likewise.
404 (CFLAGS-tst-lfschk6.cc): Likewise.
405
406 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
407 (main): Disable -Wdeprecated-declarations around calls to
408 register_printf_function.
409
410 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
411 (do_test): Disable -Wdiv-by-zero around some calls to
412 fwrite_unlocked and fread_unlocked.
413
414 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
415 (DIAG_POP_NEEDS_COMMENT): Likewise.
416 (_DIAG_STR1): Likewise.
417 (_DIAG_STR): Likewise.
418 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
419 * stdio-common/bug21.c: Include <libc-internal.h>.
420 (do_test): Disable -Wformat around call to sscanf.
421 * stdio-common/scanf14.c: Include <libc-internal.h>.
422 (main): Disable -Wformat around some calls to scanf functions.
423
4242014-12-09 Torvald Riegel <triegel@redhat.com>
425
426 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
427
4282014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
431 stack variable alignment.
432
4332014-12-06 Joseph Myers <joseph@codesourcery.com>
434
435 [BZ #17682]
436 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
437 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
438 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
439 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
440 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
441 __getrlimit instead of getrlimit.
442 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
443 __gettimeofday instead of gettimeofday.
444 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
445 Likewise.
446 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
447 Likewise.
448 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
449 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
450 Remove variable.
451 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
452 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
453
4542014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
455
456 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
457 for wide-character tests.
458
4592014-12-04 Roland McGrath <roland@hack.frob.com>
460
461 * io/openat64.c: #include <libc-internal.h>
462 (__openat64): Prototypify. Use ignore_value on MODE.
463 * io/openat.c: Likewise.
464 * misc/reboot.c: #include <libc-internal.h>
465 (reboot): Prototypify. Use ignore_value on HOWTO.
466 * misc/ptrace.c: #include <libc-internal.h>
467 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
468
4692014-12-04 Joseph Myers <joseph@codesourcery.com>
470
471 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
472 XPG4, UNIX98 and XOPEN2K.
473 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
474 Remove variable.
475 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
476
4772014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
478
479 * libio/fileops.c: Use ISO C style for function definitions.
480 * libio/iofopen.c: Likewise.
481 * libio/wfileops.c: Likewise.
482
483 [BZ #17653]
484 * libio/fileops.c (_IO_new_file_underflow): Unset cached
485 offset on EOF.
486 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
487 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
488 (fgets_func): Function pointer to fgets and fgetws.
489 (do_ftell_test): Add test to verify ftell value after read
490 EOF.
491 (do_test): Set fgets_func.
492
493 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
494 O_TRUNC flag for w and w+ modes.
495 (do_rewind_test): Likewise.
496 (do_ftell_test): Likewise.
497 (do_write_test): Likewise.
498
499 [BZ #17647]
500 * libio/fileops.c (do_ftell): Seek only when there are
501 unflushed writes.
502 * libio/wfileops.c (do_ftell_wide): Likewise.
503 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
504 test case.
505 (do_one_test): Call it.
506
5072014-12-03 Joseph Myers <joseph@codesourcery.com>
508
509 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
510 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
511 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
512 Remove variable.
513 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
514 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
515 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
516
5172014-12-02 Joseph Myers <joseph@codesourcery.com>
518
519 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
520 Remove variable.
521 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
522
523 [BZ #17668]
524 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
525 as weak alias of __getifaddrs. Use libc_hidden_weak.
526 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
527 __freeifaddrs. Use libc_hidden_weak.
528 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
529 define as weak alias of __getifaddrs. Use libc_hidden_weak.
530 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
531 __freeifaddrs. Use libc_hidden_weak.
532 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
533 __getifaddrs and define as weak alias of __getifaddrs. Use
534 libc_hidden_weak.
535 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
536 __freeifaddrs. Use libc_hidden_weak.
537 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
538 Remove variable.
539 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
541
5422014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
543
544 [BZ #17601]
545 * sysdeps/mips/start.S (__start): Use indirect jump to call
546 __libc_start_main.
547
5482014-12-02 Joseph Myers <joseph@codesourcery.com>
549
550 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
551
552 * nptl/tst-mutex1.c: Include <stdbool.h>.
553 [!ATTR] (ATTR_NULL): New macro.
554 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
555 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
556 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
557
558 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
559 to char *.
560
561 [BZ #17665]
562 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
563 Change conditional to [__USE_MISC].
564
565 [BZ #17664]
566 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
567 fgets_unlocked.
568 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
569 __fgets_unlocked.
570 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
571 fgets_unlocked.
572 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
573 Remove variable.
574 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
575 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
576 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
577 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
578 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
579 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
580 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
581 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
582 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
583
584 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
585
5862014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
589 Remove strpbrk objects.
590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
591 (__libc_ifunc_impl_list): Remove strpbrk implementation.
592 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
593 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
594 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
595 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
596
597 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
598 Remove strcspn objects.
599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
600 (__libc_ifunc_impl_list): Remove strcspn implementation.
601 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
602 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
603 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
604 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
605
606 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
607 Remove strspn objetcs.
608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
609 (__libc_ifunc_impl_list): Remove strspn implementation.
610 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
611 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
612 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
613 * sysdeps/powerpc/powerpc64/strspn.S: New file.
614
6152014-12-01 James Lemke <jwlemke@codesourcery.com>
616
617 [BZ #17581]
618 * malloc/hooks.c
619 (mem2mem_check): Add a terminator to the chain of checking blocks.
620 (malloc_check_get_size): Use it here.
621 (mem2chunk_check): Ditto.
622
6232014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
624
625 * sysdeps/powerpc/powerpc64/strtok.S: New file.
626 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
627
6282014-11-29 Carlos O'Donell <carlos@redhat.com>
629
630 * bits/ioctl-types.h: Indent preprocessor directives correctly.
631
632 * nptl/nptl-init.c: Include libc-internal.h.
633 (__pthread_initialize_minimal_internal): Use ROUND_UP.
634
635 * elf/ldconfig.c (search_dir): Expand comment.
636
6372014-11-29 Joseph Myers <joseph@codesourcery.com>
638
639 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
640 variable.
641 (linknamespace-symlist-stdlibs-tests): Likewise.
642 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
643 instead of $(objpfx)symlist-stdlibs.
644 (linknamespace-libs-isoc): New variable.
645 (linknamespace-libs): Use $(linknamespace-libs-isoc).
646 (linknamespace-libs-ISO): New variable.
647 (linknamespace-libs-ISO99): Likewise.
648 (linknamespace-libs-ISO11): Likewise.
649 (linknamespace-libs-XPG3): Likewise.
650 (linknamespace-libs-XPG4): Likewise.
651 (linknamespace-libs-POSIX): Likewise.
652 (linknamespace-libs-UNIX98): Likewise.
653 (linknamespace-libs-XOPEN2K): Likewise.
654 (linknamespace-libs-POSIX2008): Likewise.
655 (linknamespace-libs-XOPEN2K8): Likewise.
656 ($(objpfx)symlist-stdlibs): Replace by
657 $(linknamespace-symlist-stdlibs-tests). Use
658 $(linknamespace-libs-$*) as set of libraries.
659 ($(linknamespace-header-tests)): Update dependencies. Use
660 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
661 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
662 * conform/linknamespace.pl: Remove comment about considering
663 definitions of symbols from irrelevant libraries.
664
6652014-11-28 H.J. Lu <hongjiu.lu@intel.com>
666
667 [BZ #13862]
668 * elf/dl-tls.c: Include <atomic.h>.
669 (oom): Remove #ifdef SHARED/#endif.
670 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
671 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
672 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
673 big enough.
674 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
675 * nptl/Makefile (tests): Add tst-stack4.
676 (modules-names): Add tst-stack4mod.
677 ($(objpfx)tst-stack4): New.
678 (tst-stack4mod.sos): Likewise.
679 ($(objpfx)tst-stack4.out): Likewise.
680 ($(tst-stack4mod.sos)): Likewise.
681 (clean): Likewise.
682 * nptl/tst-stack4.c: New file.
683 * nptl/tst-stack4mod.c: Likewise.
684
6852014-11-27 J. Brown <jb999@gmx.de>
686
687 * sysdeps/x86/bits/string.h: Add recent CPUs.
688
6892014-11-27 Joseph Myers <joseph@codesourcery.com>
690
691 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
692 sigblock.
693
694 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
695 feof.
696
697 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
698 variable.
699
7002014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
701
702 * nscd/connections.c: Include libc-internal.h because of macro
703 usage ignore_value.
704
7052014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
706
707 * string/bits/string3.h (__warn_memset_zero_len): Don't
708 declare for gcc newer than 5.0.
709 (memset): Don't test for zero-length __LEN for gcc newer than
710 5.0.
711
7122014-11-27 Joseph Myers <joseph@codesourcery.com>
713
714 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
715 size_t for %zu format.
716
717 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
718 difference, not %ju.
719
7202014-11-26 Joseph Myers <joseph@codesourcery.com>
721
722 * include/libc-internal.h (ignore_value): New macro.
723 * nscd/connections.c (restart): Wrap calls to setuid and setgid
724 with ignore_value.
725
726 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
727 definition.
728
729 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
730 pthread_cleanup_push to void *.
731
732 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
733 Undefine.
734
735 [BZ #16619]
736 [BZ #16740]
737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
738 instead of 1L << 52.
739
740 * libio/bug-rewind.c (do_test): Check fwscanf return values.
741 * libio/bug-rewind2.c (do_test): Likewise.
742
743 * debug/test-stpcpy_chk-ifunc.c: Remove file.
744 * debug/test-strcpy_chk-ifunc.c: Likewise.
745 * wcsmbs/test-wcschr-ifunc.c: Likewise.
746 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
747 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
748 * wcsmbs/test-wcslen-ifunc.c: Likewise.
749 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
750 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
751 * Rules [$(multi-arch) = no] (tests): Do not filter out
752 $(tests-ifunc).
753 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
754 * debug/Makefile (tests-ifunc): Remove variable.
755 (tests): Do not add $(tests-ifunc).
756 * wcsmbs/Makefile (tests-ifunc): Remove variable.
757 (tests): Do not add $(tests-ifunc).
758 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
759 [TEST_IFUNC]: Remove conditionals.
760 * string/test-string.h (TEST_IFUNC): Remove macro.
761 [TEST_IFUNC]: Remove conditionals.
762
763 * string/test-strchr.c [!WIDE] (L): New macro.
764 [WIDE] (L): Likewise.
765 (check1): Use CHAR instead of char. Use L on string and character
766 constants.
767
7682014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
769
770 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
771 tests.
772 * sysdeps/powerpc/bits/atomic.h
773 (__arch_atomic_exchange_and_add_32_acq): Add definition.
774 (__arch_atomic_exchange_and_add_32_rel): Likewise.
775 (atomic_exchange_and_add_acq): Likewise.
776 (atomic_exchange_and_add_rel): Likewise.
777 * sysdeps/powerpc/powerpc32/bits/atomic.h
778 (__arch_atomic_exchange_and_add_64_acq): Add definition.
779 (__arch_atomic_exchange_and_add_64_rel): Likewise.
780 * sysdeps/powerpc/powerpc64/bits/atomic.h
781 (__arch_atomic_exchange_and_add_64_acq): Add definition.
782 (__arch_atomic_exchange_and_add_64_rel): Likewise.
783
7842014-11-26 Torvald Riegel <triegel@redhat.com>
785
786 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
787 Change synchronization of __sched_fifo_min_prio and
788 __sched_fifo_max_prio.
789 * nptl/pthread_mutexattr_getprioceiling.c
790 (pthread_mutexattr_getprioceiling): Likewise.
791 * nptl/pthread_mutexattr_setprioceiling.c
792 (pthread_mutexattr_setprioceiling): Likewise.
793 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
794 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
795 Likewise.
796
7972014-11-26 Joseph Myers <joseph@codesourcery.com>
798
799 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
800 void.
801
8022014-11-25 Joseph Myers <joseph@codesourcery.com>
803
804 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
805 third argument const.
806
8072014-11-25 Paul Eggert <eggert@cs.ucla.edu>
808
809 fnmatch: work around GCC compiler warning bug with uninit var
810 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
811 This works around a bug with x86-64 GCC 4.9.2 and earlier
812 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
813 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
814 used uninitialized in this function [-Wmaybe-uninitialized]".
815
8162014-11-25 Joseph Myers <joseph@codesourcery.com>
817
818 * posix/bug-regex31.c (main): Return RES not 0.
819
8202014-11-25 Anton Blanchard <anton@samba.org>
821
822 * sysdeps/powerpc/bits/atomic.h
823 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
824
8252014-11-24 Sterling Augustine <saugustine@google.com>
826
827 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
828
8292014-11-24 Ryan Cumming <etaoins@gmail.com>
830
831 [BZ #17608]
832 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
833
8342014-11-24 Joseph Myers <joseph@codesourcery.com>
835
836 [BZ #17633]
837 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
838 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
839 variable.
840 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
841 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
842
8432014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
844
845 * string/strncpy.c (strncpy): Improve performance by using memset.
846
8472014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
848
849 * string/strcpy.c (strcpy):
850 Improve performance by using strlen and memcpy.
851
8522014-11-24 Leonhard Holz <leonhard.holz@web.de>
853
854 * string/strcoll_l.c (get_next_seq): __always_inline.
855 * string/strcoll_l.c (do_compare): __always_inline.
856
8572014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
858
859 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
860 defined.
861 * include/mqueue.h: Likewise.
862 * include/stdlib.h: Likewise.
863
864 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
865 (get_null_defines): Adjust.
866 * sunrpc/Makefile: Adjust comment.
867 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
868 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
869 (CFLAGS-interp.c): Likewise.
870 (CFLAGS-ldconfig.c): Likewise.
871 (CPPFLAGS-.os): Likewise.
872 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
873 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
874 * extra-modules.mk (extra-modules.mk): Likewise.
875 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
876 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
877 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
878 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
879 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
880 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
881 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
882 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
883 * iconvdata/Makefile (CPPFLAGS): Likewise.
884 (cpp-srcs-left): Add libof for all iconvdata routines.
885 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
886 * include/assert.h: Likewise.
887 * include/ctype.h: Likewise.
888 * include/errno.h: Likewise.
889 * include/libc-symbols.h: Likewise.
890 * include/math.h: Likewise.
891 * include/netdb.h: Likewise.
892 * include/resolv.h: Likewise.
893 * include/stdio.h: Likewise.
894 * include/stdlib.h: Likewise.
895 * include/string.h: Likewise.
896 * include/sys/stat.h: Likewise.
897 * include/wctype.h: Likewise.
898 * intl/l10nflist.c: Likewise.
899 * libidn/idn-stub.c: Likewise.
900 * libio/libioP.h: Likewise.
901 * nptl/libc_multiple_threads.c: Likewise.
902 * nptl/pthreadP.h: Likewise.
903 * posix/regex_internal.h: Likewise.
904 * resolv/res_hconf.c: Likewise.
905 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
906 * sysdeps/arm/memmove.S: Likewise.
907 * sysdeps/arm/sysdep.h: Likewise.
908 * sysdeps/generic/_itoa.h: Likewise.
909 * sysdeps/generic/symbol-hacks.h: Likewise.
910 * sysdeps/gnu/errlist.awk: Likewise.
911 * sysdeps/gnu/errlist.c: Likewise.
912 * sysdeps/i386/i586/memcpy.S: Likewise.
913 * sysdeps/i386/i586/memset.S: Likewise.
914 * sysdeps/i386/i686/memcpy.S: Likewise.
915 * sysdeps/i386/i686/memmove.S: Likewise.
916 * sysdeps/i386/i686/mempcpy.S: Likewise.
917 * sysdeps/i386/i686/memset.S: Likewise.
918 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
920 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
921 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
922 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
923 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
924 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
925 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
926 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
927 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
928 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
929 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
930 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
931 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
932 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
933 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
934 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
935 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
936 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
937 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
938 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
939 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
944 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
945 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
946 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
947 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
948 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
953 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
954 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
955 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
958 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
960 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
961 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
962 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
963 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
964 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
965 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
966 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
967 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
968 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
969 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
971 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
972 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
973 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
974 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
975 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
976 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
977 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
978 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
979 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
980 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
981 * sysdeps/nptl/bits/libc-lock.h: Likewise.
982 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
983 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
984 * sysdeps/posix/closedir.c: Likewise.
985 * sysdeps/posix/opendir.c: Likewise.
986 * sysdeps/posix/readdir.c: Likewise.
987 * sysdeps/posix/rewinddir.c: Likewise.
988 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
989 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
990 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
991 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
992 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
994 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
996 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
997 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
999 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1001 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1002 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1006 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1007 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1008 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1010 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1011 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1012 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1013 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1014 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1016 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1023 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1024 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1025 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1027 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1028 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1029 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1030 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1031 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1033 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1034 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1035 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1036 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1037 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1038 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1039 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1041 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1042 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1043 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1045 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1046 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1047 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1048 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1049 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1050 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1051 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1052 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1053 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1055 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1056 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1057 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1058 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1059 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1060 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1061 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1063 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1064 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1066 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1067 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1068 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1070 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1071 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1072 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1074 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1075 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1076 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1078 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1079 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1080 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1084 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1085 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1086 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1087 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1089 * sysdeps/unix/alpha/sysdep.S: Likewise.
1090 * sysdeps/unix/alpha/sysdep.h: Likewise.
1091 * sysdeps/unix/make-syscalls.sh: Likewise.
1092 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1094 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1095 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1096 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1097 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1098 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1099 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1100 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1101 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1102 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1103 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1104 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1105 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1106 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1107 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1108 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1109 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1110 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1111 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1112 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1113 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1114 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1115 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1116 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1117 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1118 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1121 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1122 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1123 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1126 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1128 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1130 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1131 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1132 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1133 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1134 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1135 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1136 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1142 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1143 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1144 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1145 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1150 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1151 * sysdeps/x86_64/memcpy.S: Likewise.
1152 * sysdeps/x86_64/memmove.c: Likewise.
1153 * sysdeps/x86_64/memset.S: Likewise.
1154 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1155 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1156 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1157 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1158 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1160 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1161 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1162 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1163 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1164 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1165 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1166 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1167 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1168 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1169 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1170 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1171 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1172 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1173 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1174 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1175 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1178 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1179 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1180 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1181 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1182 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1183 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1184 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1185 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1186 * sysdeps/x86_64/strcmp.S: Likewise.
1187
1188 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1189
1190 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1191 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1192 * elf/rtld-Rules: Likewise.
1193 * elf/setup-vdso.h: Likewise.
1194 * include/assert.h: Likewise.
1195 * include/bits/stdlib-float.h: Likewise.
1196 * include/errno.h: Likewise.
1197 * include/sys/stat.h: Likewise.
1198 * include/unistd.h: Likewise.
1199 * sysdeps/aarch64/setjmp.S: Likewise.
1200 * sysdeps/alpha/setjmp.S: Likewise.
1201 * sysdeps/arm/__longjmp.S: Likewise.
1202 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1203 * sysdeps/arm/setjmp.S: Likewise.
1204 * sysdeps/arm/sysdep.h: Likewise.
1205 * sysdeps/generic/_itoa.h: Likewise.
1206 * sysdeps/generic/dl-sysdep.h: Likewise.
1207 * sysdeps/generic/ldsodefs.h: Likewise.
1208 * sysdeps/i386/dl-tls.h: Likewise.
1209 * sysdeps/i386/setjmp.S: Likewise.
1210 * sysdeps/m68k/setjmp.c: Likewise.
1211 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1212 * sysdeps/mach/hurd/opendir.c: Likewise.
1213 * sysdeps/posix/getcwd.c: Likewise.
1214 * sysdeps/posix/opendir.c: Likewise.
1215 * sysdeps/posix/profil.c: Likewise.
1216 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1217 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1218 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1219 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1220 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1221 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1222 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1223 * sysdeps/s390/dl-tls.h: Likewise.
1224 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1225 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1226 * sysdeps/sh/sh3/setjmp.S: Likewise.
1227 * sysdeps/sh/sh4/setjmp.S: Likewise.
1228 * sysdeps/unix/alpha/sysdep.h: Likewise.
1229 * sysdeps/unix/arm/sysdep.S: Likewise.
1230 * sysdeps/unix/i386/sysdep.S: Likewise.
1231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1232 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1233 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1235 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1236 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1237 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1238 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1239 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1240 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1241 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1242 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1246 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1250 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1251 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1254 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1255 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1256 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1259 * sysdeps/x86_64/setjmp.S: Likewise.
1260
1261 * include/math.h: Use IS_IN instead of IS_IN_libm.
1262 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1273 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1274 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1275 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1276 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1282 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1283 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1284 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1285 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1286 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1287 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1289 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1290 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1291 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1292 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1296 Likewise.
1297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1298 Likewise.
1299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1300 Likewise.
1301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1302 Likewise.
1303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1304 Likewise.
1305 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1306 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1307 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1309 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1316 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1323 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1324 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1325 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1326 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1327 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1329 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1331 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1332
1333 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1334 * nptl/pthreadP.h: Likewise.
1335 * nptl_db/structs.def: Likewise.
1336 * sysdeps/arm/sysdep.h: Likewise.
1337 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1338 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1339 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1340 * sysdeps/unix/alpha/sysdep.h: Likewise.
1341 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1342 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1343 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1344 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1345 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1346 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1348 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1349 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1350 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1351 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1352 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1353 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1354 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1359 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1362 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1363 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1364 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1365 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1366 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1367
1368 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1369 * nptl/pthreadP.h: Likewise.
1370 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1371 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1372 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1373 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1374 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1375 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1376 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1377 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1378 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1379 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1380 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1381 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1387 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1388 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1391 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1392 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1394
1395 * dlfcn/dladdr.c: Use IS_IN.
1396 * dlfcn/dladdr1.c: Likewise.
1397 * dlfcn/dlclose.c: Likewise.
1398 * dlfcn/dlerror.c: Likewise.
1399 * dlfcn/dlinfo.c: Likewise.
1400 * dlfcn/dlmopen.c: Likewise.
1401 * dlfcn/dlopen.c: Likewise.
1402 * dlfcn/dlsym.c: Likewise.
1403 * dlfcn/dlvsym.c: Likewise.
1404
1405 * include/ifaddrs.h: Use IS_IN.
1406 * inet/check_pf.c: Likewise.
1407 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1408 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1409
1410 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1411 IS_IN_ldconfig.
1412 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1413 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1414
1415 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1416 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1417 IS_IN (libc).
1418
1419 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1420
1421 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1422 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1423 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1424 * include/libc-symbols.h (IS_IN_LIB): New macro.
1425 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1426 * include/netdb.h: Likewise.
1427 * include/stap-probe.h: Remove all uses of IN_LIB.
1428
1429 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1430 instead of IN_MODULE.
1431 * include/libc-symbols.h (IN_MODULE): Define using
1432 MODULE_NAME.
1433 (PASTE_NAME, PASTE_NAME1): New macros.
1434 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1435 of IN_LIB.
1436 (STAP_PROBE_ASM): Likewise.
1437
14382014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1439
1440 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1441 __mach_init in dlopened libc.
1442
14432014-11-22 Mike Frysinger <vapier@gentoo.org>
1444
1445 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1446 * sysdeps/arm/preconfigure: Regenerate.
1447
14482014-11-21 Roland McGrath <roland@hack.frob.com>
1449
1450 * nptl/pthread_create.c (__pthread_create_2_1): Set
1451 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1452 when copying values from IATTR into PD.
1453
14542014-11-21 Will Newton <will.newton@linaro.org>
1455 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1456
1457 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1458 Refactor inline-asm. Also add comment.
1459
1460 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1461 ElfW macro instead of hardcoded Elf64 types.
1462 (la_aarch64_gnu_pltenter): Likewise.
1463 * sysdeps/aarch64/dl-machine.h
1464 (elf_machine_runtime_setup): Use ElfW(Addr).
1465
1466 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1467 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1468 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1469 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1470 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1471 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1472 (R_AARCH64_TLS_DTPMOD): This.
1473 (R_AARCH64_TLS_DTPREL64): Rename to ...
1474 (R_AARCH64_TLS_DTPREL): This.
1475 (R_AARCH64_TLS_TPREL64): Rename to ...
1476 (R_AARCH64_TLS_TPREL): This.
1477 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1478 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1479 R_AARCH64_TLS_TPREL64.
1480 (elf_machine_rela): Likewise.
1481
14822014-11-21 Torvald Riegel <triegel@redhat.com>
1483
1484 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1485 by setting it to 0. 64b atomics are not supported currently.
1486
14872014-11-21 Alexandre Oliva <aoliva@redhat.com>
1488
1489 [BZ #16469]
1490 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1491 search domain names.
1492
14932014-11-21 Alexandre Oliva <aoliva@redhat.com>
1494
1495 [BZ #16469]
1496 * NEWS: Update.
1497 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1498 trailing dot.
1499 * posix/tst-getaddrinfo5.c: New.
1500 * posix/Makefile (tests): Add it.
1501
15022014-11-21 Alexandre Oliva <aoliva@redhat.com>
1503
1504 [BZ #14498]
1505 * NEWS: Fixed.
1506 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1507 after parsing line but before break_if_match.
1508 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1509 if there is a protocol mismatch.
1510
15112014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1512
1513 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1514 because the potential race is on the user-supplied stream.
1515
15162014-11-21 Alexandre Oliva <aoliva@redhat.com>
1517
1518 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1519 string literal if not passed a buffer.
1520 * manual/job.texi (ctermid): Update reasoning, note deviation
1521 from posix, suggest mtasurace when not passed a buffer, for
1522 future non-preliminary safety notes.
1523
15242014-11-21 Alexandre Oliva <aoliva@redhat.com>
1525
1526 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1527 of not passing it a buffer.
1528 Reported by Peng Haitao.
1529
15302014-11-21 Alexandre Oliva <aoliva@redhat.com>
1531
1532 * manual/Makefile ($(objpfx)stamp-summary): Require
1533 check-safety.sh to pass.
1534 * manual/check-safety.sh: Wish for verification that every
1535 @deftypefn and @deftypefun is followed by a @safety remark.
1536
15372014-11-20 Roland McGrath <roland@hack.frob.com>
1538
1539 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1540
1541 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1542 PTHREAD_CANCEL_ASYNCHRONOUS.
1543 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1544 send SIGCANCEL.
1545
1546 * nptl/default-sched.h: New file.
1547 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1548 * nptl/pthread_create.c: Include it.
1549 (__pthread_create_2_1): Use collect_default_sched instead of making
1550 Linux syscalls here directly.
1551
15522014-11-20 Torvald Riegel <triegel@redhat.com>
1553
1554 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1555 __pthread_once): Use C11 atomics.
1556
15572014-11-20 Torvald Riegel <triegel@redhat.com>
1558
1559 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1560
15612014-11-20 Torvald Riegel <triegel@redhat.com>
1562
1563 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1564 atomic_thread_fence_acquire, atomic_thread_fence_release,
1565 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1566 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1567 atomic_compare_exchange_weak_relaxed,
1568 atomic_compare_exchange_weak_acquire,
1569 atomic_compare_exchange_weak_release,
1570 atomic_exchange_acquire, atomic_exchange_release,
1571 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1572 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1573 atomic_fetch_and_acquire,
1574 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1575
15762014-11-20 Torvald Riegel <triegel@redhat.com>
1577
1578 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1579 USE_ATOMIC_COMPILER_BUILTINS): Define.
1580 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1581 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1582 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1583 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1584 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1585 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1586 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1587 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1588 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1589 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1590 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1591 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1592 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1593 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1594 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1595 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1596 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1597 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1598 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1600 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1602 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1603 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1604 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1606 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1608 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1609 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1610 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1611 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1612 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1613 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1614 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1615 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1616 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1617 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1618 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1619 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1620
16212014-11-19 Roland McGrath <roland@hack.frob.com>
1622
1623 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1624 the sched_priority value here. It was already checked when the user
1625 called pthread_attr_setschedparam.
1626
1627 * nptl/tst-bad-schedattr.c: New file.
1628 * nptl/Makefile (tests): Add it.
1629
16302014-11-19 Carlos O'Donell <carlos@redhat.com>
1631 Florian Weimer <fweimer@redhat.com>
1632 Joseph Myers <joseph@codesourcery.com>
1633 Adam Conrad <adconrad@0c3.net>
1634 Andreas Schwab <schwab@suse.de>
1635 Brooks <bmoses@google.com>
1636
1637 [BZ #17625]
1638 * wordexp-test.c (__dso_handle): Add prototype.
1639 (__register_atfork): Likewise.
1640 (__app_register_atfork): New function.
1641 (registered_forks): New global.
1642 (register_fork): New function.
1643 (test_case): Add 3 new tests for WRDE_CMDSUB.
1644 (main): Call __app_register_atfork.
1645 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1646 fork count is non-zero fail the test.
1647 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1648 is set.
1649 (parse_dollars): Remove check for WRDE_NOCMD.
1650 (parse_dquote): Likewise.
1651
16522014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1653
1654 * Makeconfig (built-modules): List non-library modules to be
1655 built.
1656 (module-cppflags): Include libc-modules.h for
1657 everything except shlib-versions.v.i.
1658 (CPPFLAGS): Use it.
1659 (before-compile): Add libc-modules.h.
1660 ($(common-objpfx)libc-modules.h,
1661 $(common-objpfx)libc-modules.stmp): New targets.
1662 (common-generated): Add libc-modules.h and libc-modules.stmp.
1663 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1664 * include/libc-symbols.h: Don't include libc-modules.h.
1665 * include/libc-modules.h: Remove file.
1666 * scripts/gen-libc-modules.awk: New script to generate
1667 libc-modules.h.
1668 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1669 Depend on libc-modules.stmp.
1670
1671 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1672
1673 * Makeconfig (in-module): Get value of libof set for the
1674 translation unit.
1675 (CPPFLAGS): Use $(in-module).
1676 * Makerules: Don't suffix routine names for nonlib.
1677 * include/libc-modules.h: New file.
1678 * include/libc-symbols.h: Include libc-modules.h
1679 (IS_IN): New macro to replace IS_IN_* macros.
1680 * elf/Makefile: Set libof-* for each routine.
1681 * elf/rtld-Rules: Likewise.
1682 * extra-modules.mk: Likewise.
1683 * iconv/Makefile: Likewise.
1684 * iconvdata/Makefile: Likewise.
1685 * locale/Makefile: Likewise.
1686 * malloc/Makefile: Likewise.
1687 * nss/Makefile: Likewise.
1688 * sysdeps/gnu/Makefile: Likewise.
1689 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1690 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1691 * sysdeps/s390/s390-64/Makefile: Likewise.
1692 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1693 CPPFLAGS for nscd instead of nonlib.
1694
16952014-11-18 Roland McGrath <roland@hack.frob.com>
1696
1697 * nptl/createthread.c: New file.
1698
1699 * nptl/createthread.c: Moved ...
1700 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1701
1702 * nptl/createthread.c: Add proper top-line comment.
1703 (do_clone): Folded into ...
1704 (create_thread): ... here. Take new arguments STOPPED_START and
1705 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1706 increment __nptl_threads, do event-reporting logic, do
1707 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1708 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1709 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1710 just send SIGCANCEL.
1711 * nptl/pthread_create.c: Forward-declare create_thread before
1712 including createthread.c.
1713 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1714 declaration, and new macro START_THREAD_SELF to replace argument.
1715 Remove return statement.
1716 (report_thread_creation): New function.
1717 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1718 synchronization logic, and __nptl_nthreads increment here, around
1719 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1720 PD->parent_cancelhandling here, before create_thread. When
1721 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1722 __deallocate_stack, and ENOMEM translation here.
1723
17242014-11-18 Joseph Myers <joseph@codesourcery.com>
1725
1726 [BZ #17616]
1727 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1728 (mptwo): Rename to __mptwo.
1729 (__inv): Use __mptwo instead of mptwo.
1730 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1731 (mptwo): Rename to __mptwo.
1732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1733 of mpone and __mptwo instead of mptwo.
1734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1735 instead of mpone.
1736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1737 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1738 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1739 of mpone and __mptwo instead of mptwo.
1740 (__mpranred): Use __mpone instead of mpone.
1741 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1742 variable.
1743 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1744 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1745 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1746 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1747 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1748 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1749 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1750 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1751 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1752 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1753 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1754 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1755 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1756 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1757 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1758 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1759 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1760 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1761 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1762
17632014-11-18 Tom de Vries <tom@codesoucery.com>
1764
1765 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1766 replace BSD Handler xref with BSD Signal Handling.
1767
17682014-11-17 Richard Henderson <rth@redhat.com>
1769
1770 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1771 (_FP_PACK_RAW_2): Remove.
1772 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1773 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1774 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1775 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1776 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1777 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1778 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1779 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1780 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1781 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1782 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1783 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1784 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1785 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1786 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1787 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1788
17892014-11-14 Roland McGrath <roland@hack.frob.com>
1790
1791 * signal/signal.h [__USE_MISC]
1792 (struct sigvec): Remove type.
1793 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1794 (sigvec): Remove declaration.
1795 * sysdeps/posix/sigvec.c: Moved ...
1796 * signal/sigvec.c: ... here, replacing old file.
1797 (struct sigvec): New type, copied from old signal.h definition.
1798 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1799 (__sigvec): Convert definition to prototype.
1800 (sigvec): Replace weak_alias with compat_symbol.
1801 * signal/Versions (libc: GLIBC_2.21): New version set.
1802 * include/signal.h: Remove __sigvec declaration.
1803 * sysdeps/unix/bsd/sigvec.c: Remove file.
1804 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1805 * manual/signal.texi (BSD Handler): Remove subsection.
1806 Move siginterrupt up to ...
1807 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1808 (Blocking in BSD): Fold subsection into its parent.
1809 * NEWS: Mention sigvec removal.
1810
18112014-11-14 Joseph Myers <joseph@codesourcery.com>
1812
1813 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1814 (DLA_FMS): Make definition conditional only on [__FMA4__].
1815 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1816 definition.
1817
1818 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1819 Make definition conditional only on [PROF].
1820 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1821 definition.
1822 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1823 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1824
1825 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1826 !__GNUC__].
1827 * include/signal.h (__sigpause): Move declaration above call to
1828 libc_hidden_proto.
1829 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1830 variable.
1831 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1832 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1833
18342014-11-14 David S. Miller <davem@davemloft.net>
1835
1836 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1837 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1838
18392014-11-14 Joseph Myers <joseph@codesourcery.com>
1840
1841 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1842 * configure: Regenerated.
1843 * manual/install.texi (Tools for Compilation): Document a
1844 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1845 compiler verified to work.
1846 * INSTALL: Regenerated.
1847
1848 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1849 redeclare with asm name.
1850 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1851 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1852 including <string.h>.
1853 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1854 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1855 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1856 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1857 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1858 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1859 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1860
18612014-11-13 Joseph Myers <joseph@codesourcery.com>
1862
1863 * stdlib/strtol.c (__strtol): Use prototype definition.
1864
1865 [BZ #17594]
1866 * stdlib/strtol.c (SYM__): New macro.
1867 (SYM__1): Likewise.
1868 (__strtol): Likewise.
1869 (strtol): Rename to __strtol and define as weak alias of
1870 __strtol. Use libc_hidden_weak.
1871
18722014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1873
1874 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1875 Use numbered labels in inline assembly.
1876
18772014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1878
1879 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1880 Add setjmp LIBC_PROBE.
1881 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1882 Likewise.
1883 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1884 Add longjmp, longjmp_target LIBC_PROBE.
1885 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1886 Likewise.
1887
18882014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1889
1890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1891 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1892 to get rid of unused variable warning.
1893
18942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1895
1896 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1897 Check for unwind_backtrace == NULL only in SHARED case.
1898 (__backchain_backtrace): Compile only in SHARED case.
1899 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1900 Likewise.
1901 (__backchain_backtrace): Declare as static.
1902
19032014-11-12 Roland McGrath <roland@hack.frob.com>
1904
1905 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1906 (__libc_multiple_threads_ptr): Variable moved ...
1907 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1908
19092014-11-12 Joseph Myers <joseph@codesourcery.com>
1910
1911 * conform/GlibcConform.pm: New file.
1912 * conform/conformtest.pl: Use GlibcConform module.
1913 * conform/linknamespace.pl: New file.
1914 * conform/list-header-symbols.pl: Likewise.
1915 * conform/Makefile (linknamespace-symlists-base): New variable.
1916 (linknamespace-symlists-tests): Likewise.
1917 (linknamespace-header-base): Likewise.
1918 (linknamespace-header-tests): Likewise.
1919 (tests-special): Add new tests.
1920 ($(linknamespace-symlists-tests)): New rule.
1921 (linknamespace-libs): New variable.
1922 ($(objpfx)symlist-stdlibs): New rule.
1923 ($(linknamespace-header-tests)): Likewise.
1924 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1925 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1926 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1927 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1928 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1929 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1930 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1931 (test-xfail-ISO/math.h/linknamespace): Likewise.
1932 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1933 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1934 (test-xfail-ISO/time.h/linknamespace): Likewise.
1935 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1936 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1937 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1938 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1939 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1940 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1941 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1942 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1943 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1944 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1945 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1946 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1947 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1948 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1949 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1950 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1951 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1952 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1953 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1954 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1955 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1956 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1957 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1958 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1959 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1960 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1961 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1962 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1963 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1964 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1965 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1966 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1967 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1968 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1969 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1970 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1971 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1972 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1973 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1974 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1975 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1976 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1977 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1978 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1979 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1980 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1981 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1982 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1983 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1984 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1985 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1986 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1987 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1988 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1989 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1990 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1991 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1992 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1993 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1994 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1995 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1996 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1997 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1998 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1999 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2000 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2001 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2002 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2003 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2004 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2005 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2006 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2007 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2008 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2009 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2010 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2011 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2012 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2013 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2014 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2015 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2016 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2017 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2018 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2019 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2020 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2021 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2022 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2023 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2024 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2025 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2026 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2027 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2028 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2029 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2030 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2031 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2032 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2033 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2034 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2035 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2036 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2037 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2038 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2039 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2040 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2041 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2042 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2043 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2044 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2045 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2046 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2047 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2048 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2049 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2050 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2051 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2052 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2053 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2054 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2055 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2056 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2057 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2058 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2059 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2060 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2061 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2062 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2063 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2064 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2065 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2066 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2067 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2068 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2069 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2070 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2071 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2072 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2073 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2074 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2075 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2076 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2077 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2078 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2079 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2080 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2081 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2082 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2083 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2084 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2085
2086 [BZ #17589]
2087 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2088 of fgets_unlocked.
2089
2090 [BZ #17585]
2091 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2092 (memmem): Rename to __memmem and define as weak alias of
2093 __memmem. Use libc_hidden_weak.
2094 (__memmem): Use libc_hidden_def.
2095 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2096 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2097 memmem.
2098
2099 [BZ #17582]
2100 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2101 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2102 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2103 and define as weak alias of __fgets_unlocked. Use
2104 libc_hidden_weak.
2105 (__fgets_unlocked): Use libc_hidden_def.
2106 * include/stdio.h (__fgets_unlocked): Declare. Use
2107 libc_hidden_proto.
2108 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2109 __fgets_unlocked instead of fgets_unlocked.
2110 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2111 (GET_NPROCS_CONF_PARSER): Likewise.
2112 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2113 (GET_NPROCS_CONF_PARSER): Likewise.
2114
2115 [BZ #17574]
2116 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2117 weak alias of __wmemset. Use libc_hidden_weak.
2118 (__wmemset): Use libc_hidden_def.
2119 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2120 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2121 of wmemset.
2122
2123 [BZ #17573]
2124 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2125 with asm name __mempcpy.
2126 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2127
2128 [BZ #17572]
2129 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2130 and define as weak alias of __rawmemchr.
2131 (__rawmemchr): Do not define as strong alias of rawmemchr.
2132
2133 [BZ #17571]
2134 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2135 alias of __qsort_r.
2136 (qsort): Call __qsort_r instead of qsort_r.
2137 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2138 (__qsort_r): Declare. Call libc_hidden_proto.
2139 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2140 instead of qsort_r.
2141 * nscd/gai.c (__qsort_r): Define to qsort_r.
2142 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2143 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2144 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2145
2146 [BZ #17570]
2147 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2148 define as weak alias of __malloc_info.
2149
2150 [BZ #17584]
2151 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2152 as weak alias of __rewinddir. Don't use libc_hidden_def.
2153 (__rewinddir): Use libc_hidden_def.
2154 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2155 as weak alias of __rewinddir. Don't use libc_hidden_def.
2156 (__rewinddir): Use libc_hidden_def.
2157 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2158 weak alias of __rewinddir. Don't use libc_hidden_def.
2159 (__rewinddir): Use libc_hidden_def.
2160 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2161 (__rewinddir): Use libc_hidden_proto.
2162 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2163 rewinddir.
2164 (__getcwd): Use __rewinddir instead of rewinddir.
2165
2166 [BZ #17583]
2167 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2168 alias of __fileno. Use libc_hidden_weak.
2169 (__fileno): Use libc_hidden_def.
2170 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2171 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2172 alias of __ftello.
2173 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2174 __ftello.
2175 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2176 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2177 libc_hidden_def.
2178 (fread_unlocked): Don't use libc_hidden_ver.
2179 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2180 and define as weak alias of __fread_unlocked. Don't use
2181 libc_hidden_def.
2182 (__fread_unlocked): Use libc_hidden_def.
2183 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2184 (ftello): Don't use libc_hidden_proto.
2185 (__ftello): Declare. Use libc_hidden_proto.
2186 (fread_unlocked): Don't use libc_hidden_proto.
2187 (__fread_unlocked): Declare. Use libc_hidden_proto.
2188 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2189 and __ftello instead of fileno, fread_unlocked and ftello.
2190
21912012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2192
2193 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2194 GOT12.
2195 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2196 Likewise.
2197 (_dl_start_user): Likewise.
2198 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2199
22002014-11-12 Carlos O'Donell <carlos@redhat.com>
2201 Siddhesh Poyarekar <siddhesh@redhat.com>
2202
2203 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2204 Move argv and envp down instead of moving argc up.
2205 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2206
22072014-11-12 Leonhard Holz <leonhard.holz@web.de>
2208
2209 [BZ #17506]
2210 * test-skeleton.c (main): Return successful if one of
2211 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2212 * string/tst-strcoll-overflow.c: Define expected status.
2213
22142014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2215
2216 [BZ #17475]
2217 * locale/iso-639.def: Define Bhili and Tulu language codes.
2218
22192014-11-11 Alan Hayward <alan.hayward@arm.com>
2220
2221 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2222
22232014-11-10 Renlin Li <Renlin.Li@arm.com>
2224
2225 [BZ #17555]
2226 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2227
22282014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2229
2230 * configure.ac: Updated check of minimal required version to
2231 2.22.
2232 * manual/install.texi (Tools for Compilation): Updated version
2233 number.
2234 * configure: Regenerated.
2235 * INSTALL: Likewise.
2236
22372014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2238
2239 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2240 __tls_get_addr.
2241
22422014-11-07 Joseph Myers <joseph@codesourcery.com>
2243
2244 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2245 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2246 (__waitpid): Don't define as alias. Use libc_hidden_def not
2247 libc_hidden_weak.
2248 (waitpid): Define as alias of __waitpid.
2249 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2250 __waitpid.
2251 (__waitpid): Don't define as alias. Use libc_hidden_def not
2252 libc_hidden_weak.
2253 (waitpid): Define as alias of __waitpid.
2254 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2255 __libc_waitpid alias.
2256 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2257 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2258 Likewise.
2259 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2260 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2261 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2262 alias.
2263 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2264 __waitpid.
2265 (__waitpid): Don't define as alias. Use libc_hidden_def not
2266 libc_hidden_weak.
2267 (waitpid): Define as alias of __waitpid.
2268
22692014-11-06 Carlos O'Donell <carlos@redhat.com>
2270
2271 * manual/llio.texi: Add comment that write safety has been
2272 fixed in Linux.
2273
2274 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2275 (localplt-build-dso): Add elf/ld.so.
2276 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2277 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2278 and free for ld.so.
2279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2280 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2282 Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2284 Likewise.
2285 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2286 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2287 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2288 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2289 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2290 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2291 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2292 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2293 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2296
22972014-11-05 Joseph Myers <joseph@codesourcery.com>
2298
2299 [BZ #14132]
2300 * include/libc-symbols.h (INTUSE): Remove macro.
2301 (INTDEF): Likewise.
2302 (INTVARDEF): Likewise.
2303 (_INTVARDEF): Likewise.
2304 (INTDEF2): Likewise.
2305 (INTVARDEF2): Likewise.
2306 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2307 rtld_hidden_def instead of INTVARDEF.
2308 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2309 (_dl_starting_up_internal): Remove declaration.
2310 (_dl_starting_up): Use rtld_hidden_proto.
2311 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2312 declaration.
2313 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2314 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2315 _dl_starting_up.
2316 * elf/dl-writev.h (_dl_writev): Likewise.
2317 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2318 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2319 _dl_starting_up_internal.
2320
23212014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2324 test-skeleton.c.
2325
23262014-11-05 Will Newton <will.newton@linaro.org>
2327
2328 * benchtests/Makefile: (bench-malloc): Add malloc thread
2329 scalability benchmark.
2330 * benchtests/bench-malloc-threads.c: New file.
2331
23322014-11-05 Richard Earnshaw <rearnsha@arm.com>
2333
2334 * sysdeps/aarch64/strchrnul.S: New file.
2335
23362014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337
2338 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2339 definition.
2340 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2341 Likwise.
2342 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2343 Likewise.
2344 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2345 Likewise.
2346 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2347 Likewise.
2348 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2349 Likewise.
2350
23512014-11-05 Arjun Shankar <arjun.is@lostca.se>
2352
2353 * catgets/test-gencat.c: Use test-skeleton.c.
2354 * catgets/tst-catgets.c: Likewise.
2355 * csu/tst-empty.c: Likewise.
2356 * elf/tst-audit2.c: Likewise.
2357 * elf/tst-global1.c: Likewise.
2358 * elf/tst-pathopt.c: Likewise.
2359 * elf/tst-piemod1.c: Likewise.
2360 * elf/tst-tls10.c: Likewise.
2361 * elf/tst-tls11.c: Likewise.
2362 * elf/tst-tls12.c: Likewise.
2363 * gnulib/tst-gcc.c: Likewise.
2364 * iconvdata/tst-e2big.c: Likewise.
2365 * iconvdata/tst-loading.c: Likewise.
2366 * iconv/tst-iconv1.c: Likewise.
2367 * iconv/tst-iconv2.c: Likewise.
2368 * inet/test-inet6_opt.c: Likewise.
2369 * inet/tst-gethnm.c: Likewise.
2370 * inet/tst-network.c: Likewise.
2371 * inet/tst-ntoa.c: Likewise.
2372 * intl/tst-codeset.c: Likewise.
2373 * intl/tst-gettext2.c: Likewise.
2374 * intl/tst-gettext3.c: Likewise.
2375 * intl/tst-ngettext.c: Likewise.
2376 * intl/tst-translit.c: Likewise.
2377 * io/test-stat.c: Likewise.
2378 * libio/test-fmemopen.c: Likewise.
2379 * libio/tst-freopen.c: Likewise.
2380 * libio/tst-sscanf.c: Likewise.
2381 * libio/tst-ungetwc1.c: Likewise.
2382 * libio/tst-ungetwc2.c: Likewise.
2383 * libio/tst-widetext.c: Likewise.
2384 * localedata/tst-ctype.c: Likewise.
2385 * localedata/tst-digits.c: Likewise.
2386 * localedata/tst-leaks.c: Likewise.
2387 * localedata/tst-mbswcs1.c: Likewise.
2388 * localedata/tst-mbswcs2.c: Likewise.
2389 * localedata/tst-mbswcs3.c: Likewise.
2390 * localedata/tst-mbswcs4.c: Likewise.
2391 * localedata/tst-mbswcs5.c: Likewise.
2392 * localedata/tst-setlocale.c: Likewise.
2393 * localedata/tst-trans.c: Likewise.
2394 * localedata/tst-wctype.c: Likewise.
2395 * localedata/tst-xlocale1.c: Likewise.
2396 * login/tst-grantpt.c: Likewise.
2397 * malloc/tst-calloc.c: Likewise.
2398 * malloc/tst-malloc.c: Likewise.
2399 * malloc/tst-mallocstate.c: Likewise.
2400 * malloc/tst-mcheck.c: Likewise.
2401 * malloc/tst-mtrace.c: Likewise.
2402 * malloc/tst-obstack.c: Likewise.
2403 * math/atest-exp2.c: Likewise.
2404 * math/atest-exp.c: Likewise.
2405 * math/atest-sincos.c: Likewise.
2406 * math/test-matherr.c: Likewise.
2407 * math/test-misc.c: Likewise.
2408 * math/test-powl.c: Likewise.
2409 * math/tst-definitions.c: Likewise.
2410 * misc/tst-dirname.c: Likewise.
2411 * misc/tst-efgcvt.c: Likewise.
2412 * misc/tst-fdset.c: Likewise.
2413 * misc/tst-hsearch.c: Likewise.
2414 * misc/tst-mntent2.c: Likewise.
2415 * nptl/tst-sem7.c: Likewise.
2416 * nptl/tst-sem8.c: Likewise.
2417 * nptl/tst-sem9.c: Likewise.
2418 * nss/test-netdb.c: Likewise.
2419 * posix/tst-fnmatch.c: Likewise.
2420 * posix/tst-getlogin.c: Likewise.
2421 * posix/tst-gnuglob.c: Likewise.
2422 * posix/tst-mmap.c: Likewise.
2423 * pwd/tst-getpw.c: Likewise.
2424 * resolv/tst-inet_ntop.c: Likewise.
2425 * rt/tst-timer.c: Likewise.
2426 * stdio-common/test-fseek.c: Likewise.
2427 * stdio-common/test-popen.c: Likewise.
2428 * stdio-common/test-vfprintf.c: Likewise.
2429 * stdio-common/tst-cookie.c: Likewise.
2430 * stdio-common/tst-fileno.c: Likewise.
2431 * stdio-common/tst-gets.c: Likewise.
2432 * stdio-common/tst-obprintf.c: Likewise.
2433 * stdio-common/tst-perror.c: Likewise.
2434 * stdio-common/tst-sprintf2.c: Likewise.
2435 * stdio-common/tst-sprintf3.c: Likewise.
2436 * stdio-common/tst-sprintf.c: Likewise.
2437 * stdio-common/tst-swprintf.c: Likewise.
2438 * stdio-common/tst-tmpnam.c: Likewise.
2439 * stdio-common/tst-unbputc.c: Likewise.
2440 * stdio-common/tst-wc-printf.c: Likewise.
2441 * stdlib/tst-environ.c: Likewise.
2442 * stdlib/tst-fmtmsg.c: Likewise.
2443 * stdlib/tst-limits.c: Likewise.
2444 * stdlib/tst-rand48-2.c: Likewise.
2445 * stdlib/tst-rand48.c: Likewise.
2446 * stdlib/tst-random2.c: Likewise.
2447 * stdlib/tst-random.c: Likewise.
2448 * stdlib/tst-strtol.c: Likewise.
2449 * stdlib/tst-strtoll.c: Likewise.
2450 * stdlib/tst-tls-atexit.c: Likewise.
2451 * stdlib/tst-xpg-basename.c: Likewise.
2452 * string/test-ffs.c: Likewise.
2453 * string/tst-bswap.c: Likewise.
2454 * string/tst-inlcall.c: Likewise.
2455 * string/tst-strtok.c: Likewise.
2456 * string/tst-strxfrm.c: Likewise.
2457 * sysdeps/x86_64/tst-audit10.c: Likewise.
2458 * sysdeps/x86_64/tst-audit3.c: Likewise.
2459 * sysdeps/x86_64/tst-audit4.c: Likewise.
2460 * sysdeps/x86_64/tst-audit5.c: Likewise.
2461 * time/tst-ftime_l.c: Likewise.
2462 * time/tst-getdate.c: Likewise.
2463 * time/tst-mktime3.c: Likewise.
2464 * time/tst-mktime.c: Likewise.
2465 * time/tst-posixtz.c: Likewise.
2466 * time/tst-strptime2.c: Likewise.
2467 * time/tst-strptime3.c: Likewise.
2468 * wcsmbs/tst-btowc.c: Likewise.
2469 * wcsmbs/tst-mbrtowc.c: Likewise.
2470 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2471 * wcsmbs/tst-wchar-h.c: Likewise.
2472 * wcsmbs/tst-wcpncpy.c: Likewise.
2473 * wcsmbs/tst-wcrtomb.c: Likewise.
2474 * wcsmbs/tst-wcsnlen.c: Likewise.
2475 * wcsmbs/tst-wcstof.c: Likewise.
2476
24772014-11-04 Joseph Myers <joseph@codesourcery.com>
2478
2479 [BZ #14132]
2480 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2481 INTDEF.
2482 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2483 declaration.
2484 (_dl_mcount): Use rtld_hidden_proto.
2485 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2486 _dl_mcount.
2487 * elf/rtld.c (_rtld_global_ro): Likewise.
2488
2489 [BZ #14132]
2490 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2491 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2492 of _dl_init_internal.
2493 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2494 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2495 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2496 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2497 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2498 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2499 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2500 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2501 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2502 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2503 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2504 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2505 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2506 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2507 * sysdeps/tile/dl-start.S (_start): Likewise.
2508 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2509 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2510
2511 [BZ #14132]
2512 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2513 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2514 (rtld_progname): Make macro definition unconditional.
2515 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2516 INTDEF.
2517 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2518 (dl_main): Likewise.
2519 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2520 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2521 instead of _dl_argv_internal.
2522 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2523 __GI__dl_argv instead of INTUSE(_dl_argv).
2524 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2525 __GI__dl_argv instead of _dl_argv_internal.
2526
2527 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2528 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2529 macro.
2530 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2531 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2532 New macro.
2533 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2534 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2535 macro.
2536 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2537 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2538
25392014-11-04 Andreas Schwab <schwab@suse.de>
2540
2541 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2542
25432014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544
2545 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2546 mtvsrd instruction in binary form.
2547
25482014-11-03 Andreas Schwab <schwab@suse.de>
2549
2550 [BZ #17522]
2551 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2552 for less than MB_LEN_MAX use a local buffer of that size.
2553 * libio/tst-fputws.c: New file.
2554 * libio/Makefile (tests): Add tst-fputws.
2555
25562014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2557
2558 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2559 the size of the fpu_fr.fpu_dregs[] array.
2560
25612014-11-01 Joseph Myers <joseph@codesourcery.com>
2562
2563 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2564 (__nanosleep): Do not define as alias.
2565 (nanosleep): Define as alias of __nanosleep.
2566 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2567 __libc_nanosleep name.
2568
25692014-10-31 Joseph Myers <joseph@codesourcery.com>
2570
2571 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2572 install.texi in comment.
2573
25742014-10-31 Torvald Riegel <triegel@redhat.com>
2575
2576 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2577 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2578 ... add here and use lwsync or sync ...
2579 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2580 ... and add here using lwsync.
2581
25822014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2583
2584 * elf/dl-machine-reject-phdr.h: New file.
2585 * elf/dl-load.c: #include that.
2586 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2587 if that returned true.
2588
25892014-10-31 Roland McGrath <roland@hack.frob.com>
2590
2591 [BZ #17496]
2592 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2593 gen-as-const-headers chunk. Add a big scare comment after the last
2594 safe place to touch before-compile.
2595
25962014-10-31 Joseph Myers <joseph@codesourcery.com>
2597
2598 * manual/install.texi (Tools for Compilation): Update autoconf
2599 version requirements.
2600 * INSTALL: Regenerated.
2601
2602 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2603 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2604 (__libc_pselect): Likewise.
2605
2606 [BZ #14138]
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2611
26122014-10-31 Torvald Riegel <triegel@redhat.com>
2613
2614 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2615 correct barrier instruction.
2616 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2617 Likewise.
2618 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2619 Likewise.
2620
26212014-10-30 Roland McGrath <roland@hack.frob.com>
2622
2623 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2624 after defining inlines. Instead, just use parens to defeat macro
2625 expansion of __isctype in its declaration.
2626
26272014-10-30 Joseph Myers <joseph@codesourcery.com>
2628
2629 * include/sys/uio.h (__libc_readv): Remove declaration.
2630 (__libc_writev): Likewise.
2631 * misc/readv.c (__libc_readv): Rename to __readv.
2632 (__readv): Do not define as alias.
2633 (readv): Define as alias of __readv.
2634 * misc/writev.c (__libc_writev): Rename to __writev.
2635 (__writev): Do not define as alias.
2636 (writev): Define as alias of __writev.
2637 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2638 (__readv): Do not define as alias.
2639 (readv): Define unconditionally as alias of __readv.
2640 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2641 (__writev): Do not define as alias.
2642 (writev): Define unconditionally as alias of __writev.
2643 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2644 name.
2645 (writev): Do not define __libc_writev name.
2646
26472014-10-30 Roland McGrath <roland@hack.frob.com>
2648
2649 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2650 (convert_charseq): New function, broken out of ...
2651 (use_from_charmap): ... here. Call it.
2652 (use_to_charmap): Use convert_charseq and free instead of duplicating
2653 its code with a variable-length stack struct.
2654
26552014-10-30 Joseph Myers <joseph@codesourcery.com>
2656
2657 * include/fcntl.h (__libc_creat): Remove declaration.
2658 * io/creat.c (__libc_creat): Rename to creat.
2659 (creat): Do not define as alias.
2660 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2661 of creat instead of __libc_creat.
2662 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2663 to creat.
2664 (creat): Do not define as alias.
2665 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2666 __libc_creat.
2667 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2668 __libc_creat name.
2669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2670 Likewise.
2671
26722014-10-29 Carlos O'Donell <carlos@redhat.com>
2673
2674 * manual/llio.texi: Add comments discussing why write() may be
2675 considered MT-unsafe on Linux.
2676
26772014-10-28 Carlos O'Donell <carlos@redhat.com>
2678
2679 * dl-load.c (local_strdup): Remove.
2680 (expand_dynamic_string_token): Use __strdup.
2681 (decompose_rpath): Likewise.
2682 (_dl_map_object): Likewise.
2683
26842014-10-28 Joseph Myers <joseph@codesourcery.com>
2685
2686 [BZ #14132]
2687 * sysdeps/generic/unwind-dw2-fde.c
2688 (__register_frame_info_bases_internal): Do not declare.
2689 (__register_frame_info_table_bases_internal): Likewise.
2690 (__deregister_frame_info_bases_internal): Likewise.
2691 (__register_frame_info_bases): Declare and use hidden_proto before
2692 definition. Use hidden_def instead of INTDEF.
2693 (__register_frame_info_table_bases): Likewise.
2694 (__deregister_frame_info_bases): Likewise.
2695 (__register_frame_info): Do not use INTUSE.
2696 (__register_frame): Likewise.
2697 (__register_frame_info_table): Likewise.
2698 (__register_frame_table): Likewise.
2699 (__deregister_frame_info): Likewise.
2700 (__deregister_frame): Likewise.
2701
27022014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2703
2704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2705 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2706 not undefine.
2707 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2708 Likewise.
2709 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2710 Likewise.
2711
27122014-10-27 Joseph Myers <joseph@codesourcery.com>
2713
2714 [BZ #14138]
2715 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2716 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2717 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2718 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2719 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2720 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2723 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2724 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2725 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2727 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2728 syscall.
2729 (setfsuid): Likewise.
2730 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2731 (setfsuid): Likewise.
2732 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2733 (setfsuid): Likewise.
2734 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2735 Likewise.
2736 (setfsuid): Likewise.
2737 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2738 (setfsuid): Likewise.
2739 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2740 Likewise.
2741 (setfsuid): Likewise.
2742
27432014-10-27 Andreas Schwab <schwab@suse.de>
2744
2745 [BZ #17501]
2746 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2747 check for Slow_SSE4_2 feature bit.
2748 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2749 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2750 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2751 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2752
27532014-10-24 Roland McGrath <roland@hack.frob.com>
2754
2755 * configure.ac: Validate compiler version with a empirical test of
2756 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2757 $CC -v output.
2758 * configure: Regenerated.
2759
2760 * inet/htons.c (htons): Prototypify.
2761 * inet/htonl.c (htonl): Likewise.
2762
27632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2764
2765 * string/strncat.c (strncat): Improve performance by using strlen.
2766
27672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2768
2769 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2770
27712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2772
2773 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2774 Call libc_fetestexcept_aarch64.
2775
27762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2777
2778 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2779 Call libc_feholdexcept_aarch64.
2780
27812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2782
2783 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2784 Call get_rounding_mode.
2785
27862014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2787
2788 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2789 Simplify logic.
2790
27912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2792
2793 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2794 Simplify logic.
2795
27962014-10-24 Joseph Myers <joseph@codesourcery.com>
2797
2798 [BZ #14138]
2799 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2800 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2801 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2802 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2803 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2804 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2805 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2806 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2807 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2808 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2809 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2810 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2811 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2812 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2813 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2814 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2815 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2816 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2817 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2818 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2819 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2820 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2821 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2822 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2823 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2824 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2825 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2826 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2827 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2828 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2829 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2830 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2831 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2832 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2833 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2834 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2838 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2839 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2840 syscall.
2841 (geteuid): Likewise.
2842 (getgid): Likewise.
2843 (getuid): Likewise.
2844 (getresgid): Likewise.
2845 (getresuid): Likewise.
2846 (getgroups): Likewise.
2847 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2848 (geteuid): Likewise.
2849 (getgid): Likewise.
2850 (getuid): Likewise.
2851 (getresgid): Likewise.
2852 (getresuid): Likewise.
2853 (getgroups): Likewise.
2854 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2855 (geteuid): Likewise.
2856 (getgid): Likewise.
2857 (getuid): Likewise.
2858 (getresgid): Likewise.
2859 (getresuid): Likewise.
2860 (getgroups): Likewise.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2862 Likewise.
2863 (geteuid): Likewise.
2864 (getgid): Likewise.
2865 (getuid): Likewise.
2866 (getresgid): Likewise.
2867 (getresuid): Likewise.
2868 (getgroups): Likewise.
2869 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2870 (geteuid): Likewise.
2871 (getgid): Likewise.
2872 (getuid): Likewise.
2873 (getresgid): Likewise.
2874 (getresuid): Likewise.
2875 (getgroups): Likewise.
2876 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2877 Likewise.
2878 (geteuid): Likewise.
2879 (getgid): Likewise.
2880 (getuid): Likewise.
2881 (getgroups): Likewise.
2882
2883 [BZ #14138]
2884 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2885 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2886 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2888 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2889 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2890 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2891 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2892 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2894 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2897 __chown.
2898 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2899 (lchown): Likewise.
2900 (fchown): Likewise.
2901 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2902 Likewise.
2903 (lchown): Likewise.
2904 (fchown): Likewise.
2905 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2906 (lchown): Likewise.
2907 (fchown): Likewise.
2908 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2909 Likewise.
2910 (lchown): Likewise.
2911 (fchown): Likewise.
2912
29132014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2914
2915 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2916 Simplify logic.
2917
29182014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2919
2920 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2921 Cleanup logic.
2922
29232014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2924
2925 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2926 Remove unused include.
2927
29282014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2929
2930 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2931 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2932 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2933 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2934
29352014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2936 Helge Deller <deller@gmx.de>
2937
2938 [BZ #17508]
2939 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2940 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2941 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2942
29432014-10-23 Joseph Myers <joseph@codesourcery.com>
2944
2945 [BZ #14132]
2946 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2947 Remove macro definition.
2948 (__ashrdi3_v_glibc20): Likewise.
2949 (__lshrdi3_v_glibc20): Likewise.
2950 (__cmpdi2_v_glibc20): Likewise.
2951 (__ucmpdi2_v_glibc20): Likewise.
2952 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2953 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2954 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2955 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2956 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2957 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2958
29592014-10-22 Roland McGrath <roland@hack.frob.com>
2960
2961 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2962 old GNU extension [0] syntax.
2963 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2964 alloca rather than an array member with variable length.
2965 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2966 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2967 (parse_opt): ... here. Likewise use alloca there.
2968 Validate the -i argument before checking for rootness.
2969 (send_shutdown): New function, broken out of ...
2970 (parse_opt): ... here.
2971
29722014-10-22 Roland McGrath <roland@hack.frob.com>
2973
2974 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2975 macro to get at the _rt_local_ro field.
2976 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2977 ([PIC] case) or _dl_hwcap ([!PIC] case).
2978 * sysdeps/arm/setjmp.S: Likewise.
2979
2980 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2981 * sysdeps/arm/configure.ac: New check to define it.
2982 * sysdeps/arm/configure: Regenerated.
2983 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2984 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2985 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2986 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2987 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2988 Use move/movt pair instead of a load.
2989 (LDST_GLOBAL): Macro removed.
2990 (LDR_GLOBAL): New macro replaces it.
2991 (LDR_HIDDEN): New macro.
2992 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2993 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2994
2995 * setjmp/tst-setjmp-static.c: New file.
2996 * setjmp/Makefile (tests): Add it.
2997 (tests-static): New variable.
2998
29992014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3000
3001 [BZ #17485]
3002 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3003
30042014-10-21 Joseph Myers <joseph@codesourcery.com>
3005
3006 [BZ #14132]
3007 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3008
30092014-10-21 Roland McGrath <roland@hack.frob.com>
3010
3011 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3012
30132014-10-20 Roland McGrath <roland@hack.frob.com>
3014
3015 * io/fts.c (dirent_not_directory): New function.
3016 (fts_build): Call it.
3017
30182014-10-20 Roland McGrath <roland@hack.frob.com>
3019
3020 * nptl/version.c (__nptl_main): Use normal __write rather than
3021 INTERNAL_SYSCALL.
3022 (banner): Update copyright years.
3023
3024 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3025 gettimeofday.
3026 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3027 * nptl/pthread_cond_timedwait.c: Likewise.
3028 * nptl/pthread_mutex_timedlock.c: Likewise.
3029 * nptl/sem_timedwait.c: Likewise.
3030
3031 * sysdeps/nptl/bits/libc-lock.h
3032 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3033 (__libc_lock_init_recursive): Return void, not 0.
3034 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3035 (__libc_rwlock_init): Likewise.
3036 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3037
30382014-10-20 Torvald Riegel <triegel@redhat.com>
3039
3040 [BZ #15215]
3041 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3042 (__pthread_once_slow): ... here.
3043 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3044 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3045
30462014-10-20 Torvald Riegel <triegel@redhat.com>
3047
3048 [BZ #15215]
3049 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3050 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3051 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3052 * nptl/pthread_once.c (__pthread_once): Likewise.
3053 Update comments.
3054
30552014-10-20 Joseph Myers <joseph@codesourcery.com>
3056
3057 [BZ #14138]
3058 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3059 name.
3060 (writev): Use __libc_writev as strong name.
3061 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3062 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3063
30642014-10-17 Roland McGrath <roland@hack.frob.com>
3065
3066 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3067
3068 * sysdeps/i386/nptl/tls.h
3069 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3070 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3071 New macros.
3072 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3073 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3074 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3075 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3076 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3077 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3078
3079 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3080 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3081 on [__NR_futex].
3082 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3083 broken out of ...
3084 (__pthread_mutex_init): ... here. Call it.
3085 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3086 Conditionalize PI cases on [__NR_futex].
3087 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3088 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3089 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3090
3091 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3092 conditional on [SIGSETXID].
3093 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3094 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3095 is defined. Likewise for SIGSETXID.
3096 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3097 Conditionalize definitions on [SIGSETXID].
3098 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3099 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3100 unblocking on [SIGCANCEL].
3101
3102 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3103 [__NR_set_robust_list].
3104
31052014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3106
3107 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3108 (do_compare): Likewise.
3109
31102014-10-17 Leonhard Holz <leonhard.holz@web.de>
3111
3112 [BZ #15884]
3113 * string/strcoll_l.c: Don't include stdio.h.
3114 (coll_seq): Remove members idxarr and rulearr.
3115 (get_next_seq_cached): Remove function.
3116 (get_next_seq): Likewise.
3117 (get_next_seq_nocache): Rename to get_next_seq.
3118 (do_compare): Remove function.
3119 (do_compare_nocache): Rename to do_compare.
3120 (STRCOLL): Remove weight and rules cache.
3121
31222014-10-16 Roland McGrath <roland@hack.frob.com>
3123
3124 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3125 * sysdeps/arm/sfp-machine.h: ... to here.
3126 * sysdeps/arm/Implies: Remove arm/soft-fp.
3127
31282014-10-14 Joseph Myers <joseph@codesourcery.com>
3129
3130 * conform/data/sys/utsname.h-data (*_t): Allow.
3131 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3132 [POSIX] (WEXITED): Do not expect constant.
3133 [POSIX] (WSTOPPED): Likewise.
3134 [POSIX] (WNOHANG): Likewise.
3135 [POSIX] (WNOWAIT): Likewise.
3136 [POSIX] (siginfo_t): Do not expect type or elements.
3137 [POSIX] (pid_t): Do not expect type.
3138 [POSIX] (signal.h): Do not allow header.
3139 [POSIX] (sys/resource.h): Likewise.
3140 [POSIX] (si_*): Do not allow pattern.
3141 [POSIX] (W*): Likewise.
3142 [POSIX] (P_*): Likewise.
3143 [POSIX] (BUS_*): Likewise.
3144 [POSIX] (CLD_*): Likewise.
3145 [POSIX] (FPE_*): Likewise.
3146 [POSIX] (ILL_*): Likewise.
3147 [POSIX] (POLL_*): Likewise.
3148 [POSIX] (SEGV_*): Likewise.
3149 [POSIX] (SI_*): Likewise.
3150 [POSIX] (TRAP_*): Likewise.
3151 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3152 variable.
3153
31542014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3155
3156 [BZ #12926]
3157 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3158 infinite loop when __recvmsg returns 0.
3159
31602014-10-10 Joseph Myers <joseph@codesourcery.com>
3161
3162 * CANCEL-FCT-WAIVE: Remove file.
3163 * CANCEL-FILE-WAIVE: Likewise.
3164
3165 [BZ #14132]
3166 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3167 instead of INTVARDEF.
3168 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3169 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3170 rtld_hidden_data_def instead of INTVARDEF.
3171 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3172 * elf/dl-deps.c (expand_dst): Likewise.
3173 * elf/dl-load.c (_dl_dst_count): Likewise.
3174 (_dl_dst_substitute): Likewise.
3175 (decompose_rpath): Likewise.
3176 (_dl_init_paths): Likewise.
3177 (open_path): Likewise.
3178 (_dl_map_object): Likewise.
3179 * elf/rtld.c (dl_main): Likewise.
3180 (process_dl_audit): Likewise.
3181 (process_envvars): Likewise.
3182 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3183 Remove declaration.
3184 (__libc_enable_secure): Use rtld_hidden_proto.
3185
31862014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3187
3188 * elf/dl-load.c
3189 (add_path): New function broken out of _dl_rtld_di_serinfo.
3190 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3191
31922014-10-09 Joseph Myers <joseph@codesourcery.com>
3193
3194 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3195 parentheses around macro arguments.
3196 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3197 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3199 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3200 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3201 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3202 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3203 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3205 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3206 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3207 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3208 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3209 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3210 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3211 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3212 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3214 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3215 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3219 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3221 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3224 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3225 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3226 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3227 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3228 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3229 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3230 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3231 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3232 Likewise.
3233 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3234 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3235 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3236 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3237 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3238 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3239 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3240 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3241 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3242 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3243 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3244 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3245 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3246 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3247 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3248 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3249 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3252 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3253 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3254 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3255 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3256 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3257 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3258 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3259 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3260 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3261 (_FP_FRAC_SRS_1): Likewise.
3262 (_FP_FRAC_CLZ_1): Likewise.
3263 (_FP_MUL_MEAT_1_imm): Likewise.
3264 (_FP_MUL_MEAT_1_wide): Likewise.
3265 (_FP_MUL_MEAT_1_hard): Likewise.
3266 (_FP_SQRT_MEAT_1): Likewise.
3267 (_FP_FRAC_ASSEMBLE_1): Likewise.
3268 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3269 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3270 (__FP_CLZ_2): Likewise.
3271 (_FP_MUL_MEAT_2_wide): Likewise.
3272 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3273 (_FP_MUL_MEAT_2_gmp): Likewise.
3274 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3275 (_FP_SQRT_MEAT_2): Likewise.
3276 (_FP_FRAC_ASSEMBLE_2): Likewise.
3277 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3278 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3279 (_FP_FRAC_CLZ_4): Likewise.
3280 (_FP_MUL_MEAT_4_wide): Likewise.
3281 (_FP_MUL_MEAT_4_gmp): Likewise.
3282 (_FP_SQRT_MEAT_4): Likewise.
3283 (_FP_FRAC_ASSEMBLE_4): Likewise.
3284 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3285 * soft-fp/op-common.h (_FP_CMP): Likewise.
3286 (_FP_CMP_EQ): Likewise.
3287 (_FP_CMP_UNORD): Likewise.
3288 (_FP_TO_INT): Likewise.
3289 (_FP_FROM_INT): Likewise.
3290 [!__FP_CLZ] (__FP_CLZ): Likewise.
3291 (_FP_DIV_HELP_imm): Likewise.
3292 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3293 Likewise.
3294 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3295 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3297 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3298 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3299 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3300 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3301 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3302 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3303 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3304 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3305 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3306 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3307 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3308 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3309 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3310 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3313 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3315 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3316 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3317 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3319 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3320 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3321 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3322 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3323 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3324 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3325 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3326 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3327 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3328 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3329 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3330 (FP_UNPACK_RAW_SP): Likewise.
3331 (FP_PACK_RAW_S): Likewise.
3332 (FP_PACK_RAW_SP): Likewise.
3333 (FP_UNPACK_S): Likewise.
3334 (FP_UNPACK_SP): Likewise.
3335 (FP_UNPACK_SEMIRAW_S): Likewise.
3336 (FP_UNPACK_SEMIRAW_SP): Likewise.
3337 (FP_PACK_S): Likewise.
3338 (FP_PACK_SP): Likewise.
3339 (FP_PACK_SEMIRAW_S): Likewise.
3340 (FP_PACK_SEMIRAW_SP): Likewise.
3341 (_FP_SQRT_MEAT_S): Likewise.
3342 (FP_CMP_S): Likewise.
3343 (FP_CMP_EQ_S): Likewise.
3344 (FP_CMP_UNORD_S): Likewise.
3345 (FP_TO_INT_S): Likewise.
3346 (FP_FROM_INT_S): Likewise.
3347
3348 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3349
3350 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3351 (FP_EX_INVALID_IMZ): Likewise.
3352 (FP_EX_INVALID_IMZ_FMA): Likewise.
3353 (FP_EX_INVALID_ISI): Likewise.
3354 (FP_EX_INVALID_ZDZ): Likewise.
3355 (FP_EX_INVALID_IDI): Likewise.
3356 (FP_EX_INVALID_SQRT): Likewise.
3357 (FP_EX_INVALID_CVI): Likewise.
3358 (FP_EX_INVALID_VC): Likewise.
3359 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3360 "invalid" exceptions.
3361 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3362 (_FP_ADD_INTERNAL): Likewise.
3363 (_FP_MUL): Likewise.
3364 (_FP_FMA): Likewise.
3365 (_FP_DIV): Likewise.
3366 (_FP_CMP_CHECK_NAN): Likewise.
3367 (_FP_SQRT): Likewise.
3368 (_FP_TO_INT): Likewise.
3369 (FP_EXTEND): Likewise.
3370
33712014-10-09 Allan McRae <allan@archlinux.org>
3372
3373 * po/fr.po: Update French translation from translation project.
3374
33752014-10-09 Joseph Myers <joseph@codesourcery.com>
3376
3377 [BZ #14132]
3378 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3379 of INTDEF.
3380 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3381 (__cxa_atexit): Use libc_hidden_proto.
3382 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3383
3384 [BZ #14132]
3385 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3386 declaration.
3387 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3388 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3389 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3390 [!_ISOMAC] (__iswctype_internal): Likewise.
3391 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3392 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3393 alias.
3394 (fcntl): Remove __fcntl_internal alias.
3395 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3396 __connect_internal alias.
3397 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3398 Likewise.
3399
3400 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3401 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3402 FP_DENORM_ZERO.
3403 (_FP_CHECK_FLUSH_ZERO): New macro.
3404 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3405 (_FP_CMP): Likewise.
3406 (_FP_CMP_EQ): Likewise.
3407 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3408 FP_DENORM_ZERO.
3409 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3410 (FP_TRUNC): Likewise.
3411
3412 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3413 treated as invalid conversion, not as normal exponent.
3414
3415 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3416 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3417 (_FP_CMP_EQ): Likewise.
3418 (_FP_CMP_UNORD): Likewise.
3419 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3420 (FP_CMP_EQ_D): Likewise.
3421 (FP_CMP_UNORD_D): Likewise.
3422 * soft-fp/extended.h (FP_CMP_E): Likewise.
3423 (FP_CMP_EQ_E): Likewise.
3424 (FP_CMP_UNORD_E): Likewise.
3425 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3426 (FP_CMP_EQ_Q): Likewise.
3427 (FP_CMP_UNORD_Q): Likewise.
3428 * soft-fp/single.h (FP_CMP_S): Likewise.
3429 (FP_CMP_EQ_S): Likewise.
3430 (FP_CMP_UNORD_S): Likewise.
3431 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3432 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3433 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3434 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3435 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3436 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3437 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3438 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3439 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3440 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3441 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3442 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3443 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3444 to FP_CMP_Q.
3445 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3446 FP_CMP_Q.
3447 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3448 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3449 FP_CMP_EQ_Q.
3450 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3451 FP_CMP_Q.
3452 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3453 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3454 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3455 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3456 FP_CMP_EQ_Q.
3457 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3458 FP_CMP_Q.
3459 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3460 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3461 FP_CMP_EQ_Q.
3462 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3463 FP_CMP_Q.
3464 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3465 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3466 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3467 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3468 FP_CMP_EQ_Q.
3469
3470 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3471 a subnormal result, set the underflow exception if trapping on
3472 underflow is enabled.
3473 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3474 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3475 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3476 redefine to 0.
3477 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3478 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3479 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3480 * soft-fp/extendxftf2.c (__extendxftf2): Use
3481 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3482
3483 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3484 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3485 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3486 FP_HANDLE_EXCEPTIONS.
3487 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3488 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3489 FP_HANDLE_EXCEPTIONS.
3490 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3491 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3492 FP_HANDLE_EXCEPTIONS.
3493 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3494 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3495 FP_HANDLE_EXCEPTIONS.
3496
34972014-10-08 Joseph Myers <joseph@codesourcery.com>
3498
3499 [BZ #14132]
3500 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3501 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3502 use INTUSE.
3503 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3504 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3505 Remove alias.
3506 (__adjtimex): Define using libc_hidden_ver.
3507 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3508 Remove declaration.
3509 (ntp_gettime): Call __adjtimex directly.
3510 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3511 Remove declaration.
3512 (ntp_gettimex): Call __adjtimex directly.
3513 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3514 __adjtimex_internal alias.
3515
35162014-10-08 Roland McGrath <roland@hack.frob.com>
3517
3518 [BZ #17460]
3519 * nscd/nscd.c (more_help): Rewrite list of tables collection
3520 using xstrdup and asprintf.
3521
3522 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3523
35242014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3525 Roland McGrath <roland@hack.frob.com>
3526
3527 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3528 (do_lookup_unique): ... local function 'enter' here; update callers.
3529
35302014-10-06 Joseph Myers <joseph@codesourcery.com>
3531
3532 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3533 compat_symbol calls on [SHARED].
3534 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3535 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3536 Remove.
3537 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3538 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3539 (oldsetrlimit): Remove.
3540 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3542 (lchown): New syscall entry.
3543 (oldsetrlimit): Remove.
3544 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3545 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3546 (oldsetrlimit): Remove.
3547 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3548
3549 [BZ #14138]
3550 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3551 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3552 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3553 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3554 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3555 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3556 (fchown): Likewise.
3557 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3558 (fchown): Likewise.
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3560 Likewise.
3561
35622014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563
3564 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3565 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3566 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3567 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3568 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3569 Likewise.
3570 (__old_sem_post): Likewise.
3571
35722014-10-06 Chris Metcalf <cmetcalf@tilera.com>
3573
3574 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3575 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3576 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3577 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3578 Use INLINE_VSYSCALL macro.
3579 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3580 __vdso_clock_gettime.
3581 * sysdeps/unix/sysv/linux/tile/init-first.c
3582 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3583 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3584 __vdso_clock_gettime.
3585
3586 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3587 to set up frame more cleanly.
3588
3589 * sysdeps/tile/memcmp.c: New file.
3590
3591 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3592
3593 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3594 * sysdeps/tile/tilegx/strcasestr.c: New file.
3595 * sysdeps/tile/tilegx/strnlen.c: New file.
3596 * sysdeps/tile/tilegx/strstr.c: New file.
3597
3598 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3599
36002014-10-06 Arjun Shankar <arjun.is@lostca.se>
3601
3602 * nptl/tst-setuid3.c: Write errors to stdout.
3603
36042014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3605
3606 * elf/dl-deps.c
3607 (preload): New functions broken out of _dl_map_object_deps.
3608 (_dl_map_object_deps): Remove a nested function. Update call sites.
3609
36102014-10-01 Joseph Myers <joseph@codesourcery.com>
3611
3612 [BZ #14138]
3613 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3614 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3615
36162014-10-01 Steve Ellcey <sellcey@mips.com>
3617
3618 * sysdeps/mips/strcmp.S: New.
3619
36202014-09-30 Joseph Myers <joseph@codesourcery.com>
3621
3622 [BZ #14138]
3623 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3624 (linkat): Likewise.
3625 (mkdirat): Likewise.
3626 (readlinkat): Likewise.
3627 (renameat): Likewise.
3628 (symlinkat): Likewise.
3629 (unlinkat): Likewise.
3630 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3631 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3632 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3633 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3634 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3635 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3636 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3637
36382014-09-30 Will Newton <will.newton@linaro.org>
3639
3640 * math/math.h: Define long double math functions if
3641 _LIBC_TEST is defined.
3642 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3643
3644 * localedata/Makefile: Move assignment to tests-special
3645 into an ifdef testing run-built-tests.
3646 * timezone/Makefile: Likewise.
3647
36482014-09-29 Joseph Myers <joseph@codesourcery.com>
3649
3650 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3651 with $(BASH) not $(SHELL).
3652
36532014-09-29 Carlos O'Donell <carlos@redhat.com>
3654 Matthew LeGendre <legendre1@llnl.gov>
3655
3656 [BZ #17411]
3657 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3658 l_reloc_result.
3659
36602014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3661
3662 * stdio-common/printf_fp.c
3663 (hack_digit): New function, broken out of ...
3664 (__printf_fp): ... local function here. Update call sites.
3665 hack_digit now takes an additional parameter that is a pointer
3666 to a struct of the referenced locals. Those locals moved inside
3667 the struct and references updated.
3668
36692014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3670
3671 * aclocal.m4: Require autoconf 2.69.
3672 * configure: Regenerated.
3673 * sysdeps/aarch64/configure: Likewise.
3674 * sysdeps/alpha/configure: Likewise.
3675 * sysdeps/arm/armv7/configure: Likewise.
3676 * sysdeps/arm/configure: Likewise.
3677 * sysdeps/ia64/configure: Likewise.
3678 * sysdeps/mach/configure: Likewise.
3679 * sysdeps/mips/configure: Likewise.
3680 * sysdeps/s390/configure: Likewise.
3681 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3683
3684 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3685 file.
3686 * sysdeps/ia64/configure.ac: Likewise.
3687
36882014-09-26 Joseph Myers <joseph@codesourcery.com>
3689
3690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3691 specify symbol version for ld.so. Do not include entry for
3692 libpthread.
3693 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3694 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3695 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3696
3697 [BZ #14171]
3698 * Makeconfig [$(build-shared) = yes]
3699 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3700 makefiles.
3701 [$(build-shared) = yes && $(soversions.mk-done) = t]
3702 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3703 [$(build-shared) = yes && $(soversions.mk-done) = t]
3704 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3705 to Makerules.
3706 [$(build-shared) = yes && $(soversions.mk-done) = t]
3707 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3708 here.
3709 [$(build-shared) = yes && $(soversions.mk-done) = t]
3710 (common-generated): Don't append gnu/lib-names.h and
3711 gnu/lib-names.stmp here.
3712 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3713 (lib-names-h-abi): New variable.
3714 [$(build-shared) = yes && $(soversions.mk-done) = t]
3715 (lib-names-stmp-abi): Likewise.
3716 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3717 abi-variants] (before-compile): Append
3718 $(common-objpfx)$(lib-names-h-abi).
3719 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3720 abi-variants] (common-generated): Append gnu/lib-names.h.
3721 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3722 abi-variants] (install-others-nosubdir): Depend on
3723 $(inst_includedir)/$(lib-names-h-abi).
3724 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3725 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3726 [$(build-shared) = yes && $(soversions.mk-done) = t]
3727 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3728 [$(build-shared) = yes && $(soversions.mk-done) = t]
3729 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3730 [$(build-shared) = yes && $(soversions.mk-done) = t]
3731 (common-generated): Append $(lib-names-h-abi) and
3732 $(lib-names-stmp-abi).
3733 * scripts/lib-names.awk: Do not handle multi being set.
3734 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3735 Remove variable.
3736 (abi-lp64_be-ld-soname): Likewise.
3737 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3738 Likewise.
3739 (abi-hard-ld-soname): Likewise.
3740 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3741 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3742 Remove variable.
3743 (abi-o32_hard-ld-soname): Likewise.
3744 (abi-o32_soft_2008-ld-soname): Likewise.
3745 (abi-o32_hard_2008-ld-soname): Likewise.
3746 (abi-n32_soft-ld-soname): Likewise.
3747 (abi-n32_hard-ld-soname): Likewise.
3748 (abi-n32_soft_2008-ld-soname): Likewise.
3749 (abi-n32_hard_2008-ld-soname): Likewise.
3750 (abi-n64_soft-ld-soname): Likewise.
3751 (abi-n64_hard-ld-soname): Likewise.
3752 (abi-n64_soft_2008-ld-soname): Likewise.
3753 (abi-n64_hard_2008-ld-soname): Likewise.
3754 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3755 Likewise.
3756 (abi-64-v2-ld-soname): Likewise.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3758 ld.so entries.
3759 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3760 variable.
3761 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3762 entry.
3763 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3764 variable.
3765 (abi-64-ld-soname): Likewise.
3766 (abi-x32-ld-soname): Likewise.
3767 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3768 entry.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3770
37712014-09-23 Joseph Myers <joseph@codesourcery.com>
3772
3773 [BZ #14138]
3774 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3775 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3776 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3777 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3778 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3779 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3780 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3781 syscall entry for GLIBC_2.2 symbol version.
3782 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3783 Likewise.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3785 (setrlimit): Likewise.
3786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3787 Likewise.
3788
37892014-09-23 Will Newton <will.newton@linaro.org>
3790
3791 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3792 _LINUX_ARM_SYSDEP_H include guard too.
3793 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3794 define.
3795
37962014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3797
3798 * sysdeps/unix/sysv/linux/eventfd.c:
3799 Make first argument unsigned.
3800 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3801 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3802
38032014-09-20 Ondřej Bílka <neleai@seznam.cz>
3804
3805 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3806 * socket/sys/socket.h: Likewise
3807 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3808
38092014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3810
3811 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3812
38132014-09-17 Arjun Shankar <arjun.is@lostca.se>
3814
3815 * time/tst-ftime.c: New test.
3816 * time/Makefile (tests): Add tst-ftime.
3817
38182014-09-17 Joseph Myers <joseph@codesourcery.com>
3819
3820 * soft-fp/extended.h: Fix comment formatting.
3821 * soft-fp/op-1.h: Likewise.
3822 * soft-fp/op-2.h: Likewise.
3823 * soft-fp/op-4.h: Likewise.
3824 * soft-fp/op-8.h: Likewise.
3825 * soft-fp/op-common.h: Likewise.
3826 * soft-fp/soft-fp.h: Likewise.
3827
3828 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3829
38302014-09-16 Joseph Myers <joseph@codesourcery.com>
3831
3832 [BZ #6652]
3833 * Makeconfig (soversions-default-setname): Remove variable.
3834 ($(common-objpfx)soversions.i): Don't pass default_setname to
3835 soversions.awk.
3836 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3837 oldest_abi to abi-versions.awk.
3838 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3839 * config.make.in (oldest-abi): Remove variable.
3840 * configure.ac (--enable-oldest-abi): Remove configure option.
3841 * configure: Regenerated.
3842 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3843 text.
3844 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3845 * scripts/soversions.awk: Do not handle default_setname variable.
3846 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3847 variable.
3848 * sysdeps/mach/hurd/configure: Regenerated.
3849 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3850 variable.
3851 * sysdeps/unix/sysv/linux/configure: Regenerated.
3852
38532014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3854
3855 * elf/Makefile (CFLAGS-interp.c): Remove.
3856 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3857 path string.
3858 * elf/interp.c: Include generated runtime-linker.h
3859
3860 * Makerules (lib%.so): Don't include $(+interp) in
3861 prerequisites.
3862 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3863 * dlfcn/eval.c: Remove file.
3864
3865 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3866 macros.
3867
3868 [BZ #17266]
3869 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3870 4.2 and newer.
3871
3872 [BZ #17370]
3873 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3874
38752014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 Jakub Jelinek <jakub@redhat.com>
3877
3878 [BZ #17266]
3879 * libio/stdio.h: Check definition of __fortify_function
3880 instead of __extern_always_inline to include bits/stdio2.h.
3881 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3882 check if __extern_always_inline is defined.
3883 [__USE_MISC || __USE_XOPEN]: Likewise.
3884 [__USE_ISOC99] Likewise.
3885 * misc/sys/cdefs.h (__fortify_function): Define only if
3886 __extern_always_inline is defined.
3887 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3888 __extern_always_inline and __extern_inline only for g++-4.3
3889 and newer or a compatible gcc.
3890
38912014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3892
3893 [BZ #17371]
3894 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3895 last change to handle zero prefix length.
3896
38972014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3898
3899 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3900 _SC_REGEX_VERSION.
3901
3902 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3903 _POSIX_RAW_SOCKETS.
3904
39052014-09-13 Allan McRae <allan@archlinux.org>
3906
3907 * po/ru.po: Update Russian translation from translation project.
3908
39092014-09-12 Roland McGrath <roland@hack.frob.com>
3910
3911 * locale/programs/locale.c (show_locale_vars): Inline local function
3912 into its sole call site. Clean up some style nits.
3913 (print_item): New function, broken out of ...
3914 (show_info): ... local function here. Clean up style nits.
3915
3916 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3917 out of ...
3918 (set_class_defaults): ... local function set_default here.
3919 Define set_default as a macro locally to pass constant parameters.
3920 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3921 rather than a shared local.
3922
3923 * stdlib/rpmatch.c (try): New function, broken out of ...
3924 (rpmatch): ... local function here. Also, prototypify definition.
3925
39262014-09-12 Joseph Myers <joseph@codesourcery.com>
3927
3928 * scripts/soversions.awk: Do not handle configuration names.
3929 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3930 vendor and os variables to soversions.awk.
3931 * configure.ac: Do not modify gnu-* host_os.
3932 * configure: Regenerated
3933 * shlib-versions: Remove first column with configuration names.
3934 * nptl/shlib-versions: Likewise.
3935 * nptl_db/shlib-versions: Likewise.
3936 * sysdeps/hppa/shlib-versions: Likewise.
3937 * sysdeps/m68k/shlib-versions: Likewise.
3938 * sysdeps/mach/hurd/shlib-versions: Likewise.
3939 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3940 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3941 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3942 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3943 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3944 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3945 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3946 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3948 Likewise.
3949 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3950 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3951 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3952 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3954 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3955 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3956 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3957
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3959 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3961 Regenerated.
3962 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3964 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3965
3966 * shlib-versions: Remove OS-specific entries. Moved to files in
3967 sysdeps.
3968 * sysdeps/mach/hurd/shlib-versions: New file.
3969 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3970
3971 * nptl/shlib-versions: Remove architecture-specific entries.
3972 Moved to files in sysdeps.
3973 * shlib-versions: Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3975 file.
3976 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3977 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3978 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3979 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3980
3981 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3982 (UDP_NO_CHECK6_RX): Likewise.
3983
39842014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3985
3986 * sysdeps/posix/sysconf.c (__sysconf): Spell
3987 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3988
39892014-08-12 Florian Weimer <fweimer@redhat.com>
3990
3991 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3992 loading.
3993 * iconv/Versions (__gconv_transliterate): Export for use from
3994 gconv modules.
3995 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3996 (struct __gconv_trans_data, __gconv_trans_fct,
3997 __gconv_trans_context_fct, __gconv_trans_query_fct,
3998 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3999 definitions.
4000 (struct __gconv_step_data): Remove __trans member.
4001 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4002 longer hidden. Remove unused trans_data argument.
4003 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4004 (__gconv_translit_find): Remove declaration.
4005 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4006 prototype.
4007 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4008 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4009 trans_data argument. Add hidden definition.
4010 (__gconv_translit_find): Remove.
4011 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4012 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4013 * iconv/skeleton.c: Remove transliteration initialization.
4014 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4015 __gconv_step_data initialization.
4016 * libio/iofwide.c (__libio_translit_): Remove.
4017 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4018 * wcsmbs/btowc.c (__btowc): Likewise.
4019 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4020 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4021 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4022 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4023 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4024 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4025 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4026 * wcsmbs/wctob.c (wctob): Likewise.
4027
40282014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4029
4030 [BZ #16194]
4031 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4032 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4033 register usage.
4034 * sysdeps/x86/Makefile: Adjust.
4035
40362014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4037 Roland McGrath <roland@hack.frob.com>
4038
4039 * locale/weight.h: Add include guard.
4040 (findidx): Make static rather than auto; take new parameters
4041 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4042 * locale/weightwc.h: Likewise.
4043 * posix/fnmatch_loop.c
4044 (FCT): Change type of EXTRA from int32_t to wint_t.
4045 Don't include either header inside the function.
4046 Call FINDIDX rather than findidx, and pass new arguments.
4047 #undef FINDIDX at the end of the file.
4048 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4049 FINDIDX before including fnmatch_loop.c for the non-wide version.
4050 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4051 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4052 for the wide version.
4053 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4054 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4055 Pass new arguments to findidx.
4056 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4057 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4058 Don't #include it inside the function. Pass new arguments to findidx.
4059 * posix/regex_internal.h
4060 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4061 (re_string_elem_size_at): Don't #include it inside the function.
4062 Pass new arguments to findidx.
4063 * string/strcoll_l.c: #include WEIGHT_H at top level.
4064 (get_next_seq): Don't #include it inside the function.
4065 Pass new arguments to findidx.
4066 (get_next_seq_nocache): Likewise.
4067 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4068 (STRXFRM): Don't #include it inside the function.
4069 Pass new arguments to findidx.
4070
40712014-09-11 Florian Weimer <fweimer@redhat.com>
4072
4073 [BZ #17344]
4074 * malloc/malloc.c (unlink): Turn asserts into a call to
4075 malloc_printerr.
4076
40772014-09-11 Tim Lammens <tim.lammens@gmail.com>
4078
4079 [BZ #17370]
4080 * libio/wfileops (do_ftell_wide): Free OUT.
4081
40822014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4083
4084 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4085
40862014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4087
4088 [BZ #17363]
4089 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4090 group if the current group is empty.
4091
40922014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4093
4094 * benchtests/bench-memset.c (test_main): Add more test from size
4095 from 32 to 512 bytes.
4096 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4097 Add POWER8 memset object.
4098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4099 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4100 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4101 implementation.
4102 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4103 Likewise.
4104 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4105 multiarch POWER8 memset optimization.
4106 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4107 POWER8 memset optimization.
4108
4109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4110 Remove bzero multiarch objects.
4111 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4112 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4113 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4114 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4115 Remove define.
4116 [__bzero]: Redefine to specific name.
4117 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4118 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4119 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4120 define.
4121 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4122 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4123
41242014-09-10 Florian Weimer <fweimer@redhat.com>
4125
4126 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4127 warnings into errors.
4128
4129 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4130 __cxa_thread_atexit_impl prototype.
4131
41322014-09-09 Steve Ellcey <sellcey@mips.com>
4133
4134 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4135 Fix capitalization of error message.
4136
41372014-09-09 Steve Ellcey <sellcey@mips.com>
4138
4139 * sysdeps/mips/preconfigure: Modify ABI tests.
4140
41412014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4142
4143 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4144
41452014-09-07 Roland McGrath <roland@hack.frob.com>
4146 Carlos O'Donell <carlos@systemhalted.org>
4147
4148 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4149 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4150 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4151 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4152 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4153 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4154 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4155 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4156 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4157 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4158 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4159 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4160 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4161 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4162 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4163 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4164 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4165 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4166 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4167 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4168 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4169 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4170 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4171 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4172 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4173 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4174 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4175 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4176 Deconditionalize the code that was previously under [RESET_PID].
4177 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4178 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4179 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4180 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4181 include sysdep.h.
4182
41832014-09-08 Allan McRae <allan@archlinux.org>
4184
4185 * version.h (RELEASE): Set to "development".
4186 (VERSION): Set to "2.20.90"
4187
41882014-09-07 Allan McRae <allan@archlinux.org
4189
4190 * version.h (RELEASE): Set to "stable".
4191 (VERSION): Set to "2.20"
4192 * include/features.h (__GLIBC_MINOR__): Set to 20.
4193
4194 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4195 Liebler.
4196
4197 * po/ko.po: Update Korean translation from translation project.
4198
41992014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4200
4201 [BZ #17354]
4202 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4203 macro for handling signed relocations.
4204
42052014-09-03 Florian Weimer <fweimer@redhat.com>
4206
4207 [BZ #17325]
4208 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4209 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4210 assert.
4211 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4212 * iconvdata/ibm935.c (BODY): Likewise.
4213 * iconvdata/ibm937.c (BODY): Likewise.
4214 * iconvdata/ibm939.c (BODY): Likewise.
4215 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4216 assert.
4217 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4218 script.
4219 * iconvdata/run-iconv-test.sh: New test loop for checking for
4220 decoder crashers.
4221
42222014-09-02 Khem Raj <raj.khem@gmail.com>
4223
4224 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4225 libm_hidden_ver.
4226
42272014-09-01 Allan McRae <allan@archlinux.org>
4228
4229 * po/eo.po: Update Esperanto translation from translation project.
4230
4231 * po/ca.po: Update Catalan translation from translation project.
4232
42332014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4234
4235 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4236 __proc_dostop call.
4237
42382014-08-27 Mark Wielaard <mjw@redhat.com>
4239
4240 [BZ #17319]
4241 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4242 to call set_thread_area instead of hand written asm.
4243 (__NR_set_thread_area): Removed define.
4244 (TLS_FLAG_WRITABLE): Likewise.
4245 (__ASSUME_SET_THREAD_AREA): Remove check.
4246 (TLS_EBX_ARG): Remove define.
4247 (TLS_LOAD_EBX): Likewise.
4248
42492014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4250
4251 Simplify atomicity of socket creation in bind.
4252
4253 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4254 looking up the name after linking the file.
4255
42562014-08-27 Allan McRae <allan@archlinux.org>
4257
4258 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4259
42602014-08-26 Florian Weimer <fweimer@redhat.com>
4261
4262 [BZ #17187]
4263 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4264 trans_compare, open_translit, __gconv_translit_find):
4265 Remove module loading code.
4266
42672014-08-26 Allan McRae <allan@archlinux.org>
4268
4269 * po/vi.po: Update Vietnamese translation from translation project.
4270
4271 * po/uk.po: Update Ukrainian translation from translation project.
4272
4273 * po/fr.po: Update French translation from translation project.
4274
4275 * po/ru.po: Update Russian translation from translation project.
4276
4277 * po/pl.po: Update Polish translation from translation project.
4278
4279 * po/cs.po: Update Czech translation from translation project.
4280
4281 * po/de.po: Update German translation from translation project.
4282
4283 * po/bg.po: Update Bulgarian translation from translation project.
4284
4285 * po/sv.po: Update Sweedish translation from translation project.
4286
4287 * po/nl.po: Update Dutch translation from translation project.
4288
4289 * po/es.po: Update Spanish translation from translation project.
4290
42912014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4292
4293 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4294
4295 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4296 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4297 (CPPFLAGS-iconvconfig): Likewise.
4298 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4299
4300 * include/libc-symbols.h: Remove unnecessary check for
4301 NOT_IN_libc.
4302 * nptl/pthreadP.h: Likewise.
4303 * sysdeps/aarch64/setjmp.S: Likewise.
4304 * sysdeps/alpha/setjmp.S: Likewise.
4305 * sysdeps/arm/sysdep.h: Likewise.
4306 * sysdeps/i386/setjmp.S: Likewise.
4307 * sysdeps/m68k/setjmp.c: Likewise.
4308 * sysdeps/posix/getcwd.c: Likewise.
4309 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4310 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4311 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4312 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4313 * sysdeps/sh/sh3/setjmp.S: Likewise.
4314 * sysdeps/sh/sh4/setjmp.S: Likewise.
4315 * sysdeps/unix/alpha/sysdep.h: Likewise.
4316 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4318 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4319 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4322 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4324 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4327 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4329 * sysdeps/x86_64/setjmp.S: Likewise.
4330
43312014-08-13 Joseph Myers <joseph@codesourcery.com>
4332
4333 [BZ #17263]
4334 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4335 <stdint.h>.
4336 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4337 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4338
43392014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
4341 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4342
4343 [BZ #17262]
4344 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4345 and __x86_64__ when disabling x87 inline functions.
4346
43472014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4348
4349 [BZ #17259]
4350 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4351 asm statement with __cpuid_count.
4352
43532014-08-12 Mike Frysinger <vapier@gentoo.org>
4354
4355 * configure.ac: Change __ehdr_start code to dereference the struct.
4356 Run readelf on the output to look for relocations.
4357 * configure: Regenerated.
4358
43592014-08-12 Joseph Myers <joseph@codesourcery.com>
4360
4361 [BZ #17261]
4362 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4363 value to 0.
4364 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4365
43662014-08-12 Roland McGrath <roland@hack.frob.com>
4367
4368 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4369
43702014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4371
4372 [BZ #16892]
4373 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4374 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4375
43762014-08-12 Sean Anderson <seanga2@gmail.com>
4377
4378 * malloc/malloc.c: Fix typo in comment.
4379
43802014-08-09 Allan McRae <allan@archlinux.org>
4381
4382 * Regenerate libc.po.
4383
43842014-08-08 Mike Frysinger <vapier@gentoo.org>
4385
4386 * intl/tst-gettext2.sh: Check every lang file for creation.
4387
43882014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4389
4390 * sysdeps/aarch64/fpu/math_private.h
4391 (libc_feholdsetround_noex_aarch64_ctx): New function.
4392
43932014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4394
4395 * sysdeps/arm/armv6/strcpy.S (strcpy):
4396 Fix performance issue in misaligned cases.
4397
43982014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399
4400 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4401 Move definition from termios.h.
4402 (struct termio): Likewise.
4403 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4404 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4405 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4406 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4407 Likewise.
4408 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4409 Move definition to ioctl-types.h
4410 (struct termio): Likewise.
4411 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4412 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4413 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4414 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4415 Likewise.
4416
44172014-08-05 Richard Henderson <rth@redhat.com>
4418
4419 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4420 exceptions.
4421 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4422 Add fraiseexcpt.
4423 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4424 Use __feraiseexcept.
4425 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4426 Protect libm symbols with IS_IN_libm.
4427
4428 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4429
44302014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4431
4432 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4433
44342014-08-04 Will Newton <will.newton@linaro.org>
4435
4436 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4437 file.
4438
44392014-08-04 Mike Frysinger <vapier@gentoo.org>
4440
4441 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4442 variants for each function.
4443
44442014-08-04 Roland McGrath <roland@hack.frob.com>
4445
4446 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4447 appended ...
4448 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4449 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4450 appended ...
4451 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4452 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4453 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4454 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4455 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4456 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4457 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4458 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4459 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4460 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4461 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4462 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4463 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4464 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4465 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4466 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4467 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4468 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4469 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4471 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4473 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4474 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4475 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4477 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4481 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4483 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4484 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4485 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4486 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4487 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4488 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4489 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4490 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4491 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4492 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4493 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4494 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4495 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4497 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4499 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4501 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4502 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4503 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4504 Update #include.
4505 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4506 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4507
45082014-08-04 Roland McGrath <roland@hack.frob.com>
4509
4510 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4511 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4512 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4513 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4514 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4515 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4516
45172014-08-04 Roland McGrath <roland@hack.frob.com>
4518
4519 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4520 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4521 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4522 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4523
45242014-08-04 Roland McGrath <roland@hack.frob.com>
4525
4526 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4527 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4528 (__libc_vfork): Define function under this name.
4529 (__vfork): Define as an alias.
4530 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4531 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4532
45332014-08-04 Roland McGrath <roland@hack.frob.com>
4534
4535 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4536 that was previously under [RESET_PID].
4537 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4538
45392014-08-04 Andreas Schwab <schwab@suse.de>
4540
4541 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4542
45432014-08-03 Mike Frysinger <vapier@gentoo.org>
4544
4545 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4546 (main): Likewise.
4547
45482014-08-01 Roland McGrath <roland@hack.frob.com>
4549
4550 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4551
45522014-08-01 Richard Henderon <rth@redhat.com>
4553
4554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4555 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4556 typo in exact zero test.
4557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4558 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4560
45612014-08-01 Roland McGrath <roland@hack.frob.com>
4562
4563 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4564 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4565 * sysdeps/arm/sysdep.h: ... here.
4566 [!__ASSEMBLER__]: Include <stdint.h>.
4567
45682014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4569
4570 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4571 (HAVE_WCTYPE_H): Likewise.
4572 (HAVE_ISWCTYPE): Likewise.
4573 (ENABLE_NLS): Likewise.
4574 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4575 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4576
4577 * posix/regex_internal.c: Check if DEBUG is defined and is
4578 set.
4579
4580 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4581 (HAVE_MBSRTOWCS): Likewise.
4582 * posix/fnmatch.c: Include string.h unconditionally.
4583
45842014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4585
4586 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4587 reversal.
4588
45892014-07-31 Roland McGrath <roland@hack.frob.com>
4590
4591 * sysdeps/generic/safe-fatal.h: New file.
4592 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4593 * nptl/forward.c: Include it.
4594 (__pthread_unwind): Use __safe_fatal as default action, rather
4595 than a bogus use of INTERNAL_SYSCALL that could never work.
4596
4597 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4598 * configure.ac (libc_cv_builtin_trap): New test.
4599 * configure: Regenerated.
4600 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4601 (ABORT_INSTRUCTION): Define using __builtin_trap.
4602
4603 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4604 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4605 * sysdeps/nptl/nptl-signals.h: New file.
4606 * nptl/pthreadP.h: Include <nptl-signals.h>.
4607
46082014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4609
4610 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4611 (ONE_DIRECTION): Define.
4612 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4613 (ONE_DIRECTION): Define.
4614 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4615 (ONE_DIRECTION): Define.
4616
46172014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4618
4619 * sysdeps/s390/Makefile: Delete file.
4620 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4621 * sysdeps/s390/__longjmp.c: Delete file.
4622 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4623 Remove fields __flags and __reserved.
4624 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4625 and add versioning.
4626 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4627 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4628 * sysdeps/s390/rtld-setjmp.S: Likewise.
4629 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4630 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4631 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4632 * sysdeps/s390/s390-32/setjmp.S: ... here.
4633 Add versioning.
4634 (__sigsetjmp): Remove setting __flags field.
4635 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4636 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4637 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4638 * sysdeps/s390/s390-64/setjmp.S: ... here.
4639 Add versioning.
4640 (__sigsetjmp): Remove setting __flags field.
4641 * sysdeps/s390/setjmp.S: Delete file.
4642 * sysdeps/s390/sigjmp.c: Likewise.
4643 * sysdeps/s390/v1-longjmp.c: Likewise.
4644 * sysdeps/s390/v1-setjmp.h: Likewise.
4645 * sysdeps/s390/v1-sigjmp.c: Likewise.
4646 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4647 Remove v1-longjmp_chk.
4648 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4649 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4650 Include debug/longjmp_chk.c and add versioning.
4651 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4652 Include nptl/pt-longjmp.c and add versioning.
4653 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4655 Include __longjmp.c.
4656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4657 Move to ...
4658 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4659 (__getcontext): Remove setting __flags field.
4660 Add versioning.
4661 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4662 Don't restore upper high grps.
4663 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4664 Likewise.
4665 (__swapcontext): Remove setting uc_flags field.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4667 Delete file.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4669 Include __longjmp.c.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4671 Move to ...
4672 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4673 (__getcontext): Remove setting __flags field.
4674 Add versioning.
4675 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4676 (__swapcontext): Remove setting uc_flags field.
4677 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4678 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4679 Remove fields uc_high_gprs and __reserved.
4680 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4681 New file with reverted content.
4682 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4683 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4684 Regenerated.
4685 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4686 Regenerated.
4687
46882014-07-31 Andreas Schwab <schwab@suse.de>
4689
4690 * config.h.in (HAVE_IFUNC): Define to 0.
4691 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4692 definedness.
4693
46942014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4695
4696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4697 memmove-avx-unaligned, memcpy-avx-unaligned and
4698 mempcpy-avx-unaligned.
4699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4700 Add tests for AVX memcpy functions.
4701 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4702 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4703 memcpy_chk.
4704 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4705 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4706 memmove_chk.
4707 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4708 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4709 mempcpy_chk.
4710 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4711 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4712 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4713
47142013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4715
4716 [BZ #17213]
4717 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4718 powerpc64le.
4719
47202014-07-29 Jeff Layton <jlayton@poochiereds.net>
4721
4722 [BZ #16839]
4723 * manual/llio.texi: Add section about open file description locks.
4724 * manual/examples/ofdlocks.c: Example of open file description
4725 lock usage.
4726 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4727 F_OFD_SETLK, and F_OFD_SETLKW.
4728
47292014-07-23 Allan McRae <allan@archlinux.org>
4730
4731 * po/es.po: Update Spanish translation from translation project.
4732
47332014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4734
4735 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4736
47372014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4738
4739 [BZ #17078]
4740 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4741 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4742 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4743
47442014-07-17 Joseph Myers <joseph@codesourcery.com>
4745
4746 [BZ #17088]
4747 * math/fesetenv.c (__fesetenv)
4748 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4749 * math/feupdateenv.c (__feupdateenv)
4750 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4751
4752 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4753 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4754 (__ASSUME_SOCKETCALL): Do not define.
4755
4756 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4757 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4758 (__ASSUME_SOCKETCALL): Do not define.
4759 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4760 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4761 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4762 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4763 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4764 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4765 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4766 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4767
4768 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4769 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4770 (__ASSUME_SOCKETCALL): Do not define.
4771 (__ASSUME_IPC64): Define unconditionally.
4772 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4773 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4774 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4775 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4776 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4777 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4778 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4779 Likewise.
4780
4781 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4782 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4783 (__ASSUME_SOCKETCALL): Do not define.
4784 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4785 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4786 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4787 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4788 (__ASSUME_REQUEUE_PI): Define unconditionally.
4789 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4790 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4791 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4792 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4793 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4794 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4795
4796 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4797 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4798 (__ASSUME_SOCKETCALL): Do not define.
4799 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4800 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4801 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4802 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4803 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4804 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4805
4806 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4807 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4808 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4809 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4810 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4811 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4812 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4813 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4814 (__ASSUME_GETCPU_SYSCALL): Likewise.
4815
4816 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4817 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4818 cases for individual architectures.
4819 * sysdeps/gnu/configure: Regenerated.
4820 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4821 LIBC_SLIBDIR_RTLDDIR.
4822 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4823 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4824 LIBC_SLIBDIR_RTLDDIR.
4825 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4827 LIBC_SLIBDIR_RTLDDIR.
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4829 Regenerated.
4830 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4831 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4832 file.
4833 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4834 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4835 file.
4836 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4837 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4838 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4839 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4840
4841 * sysdeps/aarch64/shlib-versions: Move to ...
4842 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4843 * sysdeps/alpha/shlib-versions: Move to ...
4844 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4845 * sysdeps/arm/shlib-versions: Move to ...
4846 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4847 * sysdeps/hppa/shlib-versions: Move all contents except for
4848 libgcc_s entry to ...
4849 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4850 entry from ...
4851 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4852 * sysdeps/ia64/shlib-versions: Move to ...
4853 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4854 entry from ...
4855 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4856 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4857 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4858 * sysdeps/microblaze/shlib-versions: Move to ...
4859 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4860 * sysdeps/mips/shlib-versions: Move to ...
4861 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4862 entry from ...
4863 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4864 * sysdeps/tile/shlib-versions: Move to ...
4865 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4866 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4867 from ...
4868 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4869 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4870 entry from ...
4871 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4872
48732014-07-17 Will Newton <will.newton@linaro.org>
4874
4875 * sysdeps/arm/bits/atomic.h
4876 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4877 (__arch_compare_and_exchange_bool_16_int): Likewise.
4878 (__arch_compare_and_exchange_bool_64_int): Likewise.
4879
4880 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4881 into an #else block.
4882
48832014-07-16 Roland McGrath <roland@hack.frob.com>
4884
4885 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4886 just Linux configurations. Test empirically that the compiler sets
4887 __ARM_EABI__, rather than using the tuple to decide.
4888 * sysdeps/arm/preconfigure: Regenerated.
4889 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4890 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4891 contents appended ...
4892 * sysdeps/arm/configure.ac: ... here.
4893 * sysdeps/arm/configure: Regenerated.
4894
48952014-07-15 Roland McGrath <roland@hack.frob.com>
4896
4897 * nptl/pthread_kill.c: New file.
4898 * nptl/pthread_sigmask.c: New file.
4899 * nptl/pthread_sigqueue.c: New file.
4900
4901 * sysdeps/nptl/lowlevellock.h: New file.
4902 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4903 * sysdeps/nptl/lowlevellock-futex.h: New file.
4904
4905 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4906 Remove dead declarations.
4907
49082014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4909
4910 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4911 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4912 config-cflags-avx2.
4913 * sysdeps/x86_64/configure.ac: Likewise.
4914 * sysdeps/i386/configure: Regenerated.
4915 * sysdeps/x86_64/configure: Likewise.
4916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4917 memset-avx2 only if config-cflags-avx2 is yes.
4918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4919 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4920 defined.
4921 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4922 only if HAVE_AVX2_SUPPORT is defined.
4923 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4924
49252014-07-14 Alan Modra <amodra@gmail.com>
4926
4927 [BZ #17153]
4928 * elf/elf.h (DT_PPC64_NUM): Correct value.
4929 * NEWS: Add to fixed bug list.
4930
49312014-07-13 Jim Meyering <meyering@fb.com>
4932
4933 [BZ 17150]
4934 regex: don't deref NULL upon heap allocation failure
4935 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4936 failure in one more place.
4937 To trigger the segfault, configure grep -with-included-regex,
4938 build it, and run these commands:
4939 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4940
49412014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4942
4943 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4944
49452014-07-11 Richard Henderson <rth@redhat.com>
4946
4947 * sysdeps/aarch64/libm-test-ulps: Update.
4948
49492014-07-10 Florian Weimer <fweimer@redhat.com>
4950
4951 [BZ #17135]
4952 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4953 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4954 (__nptl_setxid): Initialize error member. Call
4955 __nptl_setxid_error.
4956 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4957 * nptl/descr.h (struct xid_command): Add error member.
4958 * nptl/tst-setuid3.c: New file.
4959 * nptl/Makefile (tests): Add it.
4960
49612014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4962
4963 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4964 New define.
4965 (__lll_trylock): Use __lll_base_trylock.
4966 (__lll_cond_trylock): Likewise.
4967
49682014-07-10 Roland McGrath <roland@hack.frob.com>
4969
4970 * nptl/pthread_create.c (start_thread): Use atomic_or and
4971 lll_futex_wake directly rather than lll_robust_dead.
4972 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4973 (lll_robust_dead): Macro removed.
4974 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4975 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4976 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4977 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4978 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4979 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4980 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4981 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4982 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4984 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4985 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4986 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4987 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4988 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4989
4990 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4991 Use atomic_compare_and_exchange_val_acq directly rather than
4992 lll_robust_trylock.
4993 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4994 (__lll_robust_trylock, lll_robust_trylock): Removed.
4995 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4996 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4997 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4998 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4999 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5000 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5001 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5002 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5004 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5005 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5007 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5008 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5009
50102014-07-02 Florian Weimer <fweimer@redhat.com>
5011
5012 * manual/locale.texi (Locale Names): New section documenting
5013 locale name syntax. Adjust menu and node chaining accordingly.
5014 (Choosing Locale): Reference Locale Names, Locale Categories.
5015 Mention setting LC_ALL=C. Reflect that name syntax is now
5016 documented.
5017 (Locale Categories): New section title. Reference Locale Names.
5018 LC_ALL is an environment variable, but not a category.
5019 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5020 description, now in Locale Name. Reference that section. Locale
5021 name syntax is now documented.
5022
50232014-07-02 Florian Weimer <fweimer@redhat.com>
5024
5025 [BZ #17137]
5026 * locale/findlocale.c (name_present, valid_locale_name): New
5027 functions.
5028 (_nl_find_locale): Use the loc_name variable to store name
5029 candidates. Call name_present and valid_locale_name to check and
5030 validate locale names. Return an error if the locale is invalid.
5031
50322014-07-02 Florian Weimer <fweimer@redhat.com>
5033
5034 * locale/setlocale.c (setlocale): Use strdup for allocating
5035 composite name copy.
5036
50372014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5038
5039 Sync up with gnulib.
5040 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5041 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5042 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5043 and _GL_ARG_NONNULL.
5044 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5045 [!_LIBC]: Include code for Windows and Cygwin.
5046 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5047 Include prototype for int strerror_r.
5048 [!_LIBC] (is_open): New function.
5049 (flush_stdout): New function.
5050 (print_errno_message): Use it.
5051 (error): Likewise.
5052 (error_at_line): Likewise.
5053 (error_tail) Add function attribute macros. Use
5054 __builtin_expect.
5055
5056 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5057
5058 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5059
5060 * io/ftw.c: Include sys/param.h unconditionally.
5061
5062 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5063
5064 [BZ #17125]
5065 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5066 libc_freeres_ptr.
5067 (freecache): New function to free CACHE on exit.
5068
5069 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5070 initialization.
5071
50722014-07-09 David S. Miller <davem@davemloft.net>
5073
5074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5075
5076 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5077 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5078 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5079 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5080 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5081 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5082 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5083 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5084 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5085 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5086 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5087 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5088 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5089
50902014-07-09 Andreas Schwab <schwab@suse.de>
5091
5092 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5093 output.
5094 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5095 (do_test): Likewise.
5096
5097 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5098
50992014-07-09 Will Newton <will.newton@linaro.org>
5100
5101 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5102 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5103 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5104 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5105 * sysdeps/hppa/start.S (_start): Likewise.
5106
51072014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
5109 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5110
5111 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5112 defined.
5113
51142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5115
5116 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5117 after checking that it is non-NULL.
5118
5119 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5120
51212014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5122
5123 * sysdeps/powerpc/memmove.c: Remove file.
5124 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5125 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5126 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5127 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5128 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5129 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5130 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5131 string memmove instead of removed powerpc one.
5132
5133 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5134 [weak_alias]: Fix compiler warning due trailing data.
5135 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5136 [weak_alias]: Likewise.
5137 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5138 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5139
5140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5141 (__libc_ifunc_impl_list): Add memmove functions.
5142
51432014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5144
5145 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5146 Remove code.
5147 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5148 Likewise
5149 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5150 Likewise
5151 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5152 Likewise
5153 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5154 Likewise
5155 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5156 Likewise
5157 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5158 Likewise
5159 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5160 Likewise
5161 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5162 Likewise
5163 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5164 Likewise
5165 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5166 Likewise
5167 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5168 Likewise
5169 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5170 Likewise
5171 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5172 Likewise
5173 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5174 Likewise
5175 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5176 Likewise
5177 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5178 Likewise
5179
51802014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5181
5182 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5183 to avoid alignment traps in non-cacheable memory.
5184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5185
5186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5187 multiarch objects.
5188 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5189 file: multiarch power7 memmove.
5190 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5191 multiarch default memmove.
5192 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5193 multiarch memove for powerpc32/power4.
5194
5195 * string/bcopy.c: Use full path to include memmove.c.
5196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5197 multiarch objects.
5198 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5199 bcopy for powerpc64.
5200 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5201 bcopy for powerpc64.
5202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5203 and memmove implementations.
5204 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5205 optimized multiarch memmove for POWER7/powerpc64.
5206 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5207 default multiarch memmove for powerpc64.
5208 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5209 multiarch for powerpc64.
5210 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5211 for POWER7/powerpc64.
5212 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5213 memmove for POWER7/powerpc64.
5214
5215 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5216 glibc default one.
5217
5218 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5219 __ELF_NATIVE_CLASS equal to 64.
5220
52212014-07-07 Roland McGrath <roland@hack.frob.com>
5222
5223 * sysdeps/nptl/lowlevellock.h: File removed.
5224
5225 * NEWS: NPTL is no longer an add-on!
5226 * nptl/internaltypes.h: Moved ...
5227 * sysdeps/nptl/internaltypes.h: ... here.
5228 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5229 * sysdeps/nptl/fork.c: Likewise.
5230 * sysdeps/nptl/gai_misc.h: Likewise.
5231 * sysdeps/nptl/librt-cancellation.c: Likewise.
5232 * sysdeps/nptl/jmp-unwind.c: Likewise.
5233 * sysdeps/nptl/setxid.h: Likewise.
5234 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5235 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5236 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5237 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5238 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5239 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5240 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5241 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5242 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5243 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5244 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5245 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5246 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5247 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5248 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5249 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5250 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5251 * nptl/Makeconfig: Moved ...
5252 * sysdeps/nptl/Makeconfig: ... here.
5253 * nptl/configure: File removed.
5254 * nptl/ANNOUNCE: File removed.
5255 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5256 * sysdeps/unix/sysv/linux/configure: Regenerated.
5257
5258 * nptl/Makefile (routines): Add libc_pthread_init,
5259 libc_multiple_threads, register-atfork and unregister-atfork.
5260 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5261 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5262 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5263 pthread-pi-defines.sym, structsem.sym.
5264 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5265 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5266 [$(subdir) = nptl] (tests): Add tst-setgetname.
5267 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5268 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5269 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5270 [!LIBC_SIGACTION]: Remove aliases.
5271 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5272 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5273 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5274 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5275 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5276 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5279 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5280 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5281 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5282 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5283 __libc_allocate_rtsig_private.
5284 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5285 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5286 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5287 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5288 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5289 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5290 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5291 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5292 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5293 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5294 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5295 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5296 * nptl/internaltypes.h: ... here.
5297 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5298 * sysdeps/nptl/jmp-unwind.c: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5300 * nptl/libc-lowlevellock.c: ... here.
5301 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5302 * nptl/libc_multiple_threads.c: ... here.
5303 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5304 * nptl/libc_pthread_init.c: ... here.
5305 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5306 * nptl/lowlevelbarrier.sym: ... here.
5307 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5308 * nptl/lowlevelcond.sym: ... here.
5309 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5310 * nptl/lowlevellock.c: ... here.
5311 * nptl/lowlevellock.h: Moved ...
5312 * sysdeps/nptl/lowlevellock.h: ... here.
5313 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5314 * nptl/lowlevelrobustlock.c: ... here.
5315 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5316 * nptl/lowlevelrobustlock.sym: ... here.
5317 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5318 * nptl/lowlevelrwlock.sym: ... here.
5319 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5320 * nptl/pt-fork.c: ... here.
5321 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5322 * nptl/pthread-pi-defines.sym: ... here.
5323 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5324 * nptl/pthread_attr_getaffinity.c: ... here.
5325 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5326 * nptl/pthread_attr_setaffinity.c: ... here.
5327 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5328 * nptl/pthread_mutex_cond_lock.c: ... here.
5329 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5330 Update #include.
5331 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5332 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5333 * nptl/pthread_once.c: ... here, replacing old file.
5334 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5335 * nptl/pthread_yield.c: ... here.
5336 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5337 * nptl/register-atfork.c: ... here.
5338 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5339 * nptl/sem_post.c: ... here.
5340 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5341 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5342 * nptl/sem_timedwait.c: ... here.
5343 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5344 * nptl/sem_trywait.c: ... here.
5345 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5346 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5347 * nptl/sem_wait.c: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5349 * nptl/structsem.sym: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5351 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5352 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5353 * nptl/unregister-atfork.c: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5355 * nptl/unwindbuf.sym: ... here.
5356 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5357 * sysdeps/nptl/fork.c: ... here.
5358 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5359 * sysdeps/nptl/fork.h: ... here.
5360 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5361 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5362 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5364 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5366 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5367 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5368 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5369 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5370 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5371 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5372 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5373 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5374 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5375 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5376 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5377 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5378 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5380 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5381 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5382 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5383 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5384 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5386 * sysdeps/unix/sysv/linux/raise.c: ... here.
5387 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5388 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5389 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5390 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5391 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5392 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5394 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5395 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5396 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5397 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5398 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5399 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5400 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5401 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5402
54032014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5404
5405 * sysdeps/generic/memcopy.h: Add comment for
5406 MEMCPY_OK_FOR_FWD_MEMMOVE.
5407
54082014-07-04 Will Newton <will.newton@linaro.org>
5409
5410 * string/memchr.c: Merge from gnulib.
5411 [_LIBC]: Remove conditionals.
5412 (__ptr_t): Remove define.
5413 (LONG_MAX_32_BITS): Likewise.
5414 (LONG_MAX): Likewise.
5415 (MEMCHR): Use ANSI prototype and optimize algorithm.
5416
5417 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5418
54192014-07-03 Roland McGrath <roland@hack.frob.com>
5420
5421 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5422 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5423
5424 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5425 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5426 in a bare environment with no <stdlib.h> installed.
5427 * sysdeps/nptl/configure: Regenerated.
5428
5429 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5430
5431 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5432 AC_EGREP_CPP for kernel header checks, so they only succeed if
5433 including <linux/version.h> actually works right.
5434 * sysdeps/unix/sysv/linux/configure: Regenerated.
5435
5436 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5437 value so it's not diagnosed as unused.
5438
5439 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5440 thing) with "ifeq ($(subdir),rt)".
5441
54422014-07-03 Richard Henderson <rth@redhat.com>
5443
5444 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5445 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5446 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5447
5448 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5449 (math_force_eval): New.
5450
5451 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5452 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5453
5454 * sysdeps/alpha/fpu/s_round.c: Remove file.
5455 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5456
5457 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5458 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5459 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5460 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5461 (_dl_start, print_statistics): Likewise.
5462 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5463 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5464
5465 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5466 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5467 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5468 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5469 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5470 (HP_SMALL_TIMING_AVAIL): Define.
5471 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5472 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5473 (HP_SMALL_TIMING_AVAIL): Define.
5474 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5475 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5476
5477 * sysdeps/aarch64/hp-timing.h: New file.
5478
5479 * sysdeps/generic/hp-timing.h: Remove dead comment.
5480 * sysdeps/generic/hp-timing-common.h: New file.
5481 * sysdeps/alpha/hp-timing.h: Include it.
5482 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5483 * sysdeps/i386/i686/hp-timing.h: Likewise.
5484 * sysdeps/ia64/hp-timing.h: Likewise.
5485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5486 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5487 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5488 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5489 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5490 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5491 (hp_timing_t): New.
5492
5493 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5494 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5495 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5496 * elf/rtld.c (_dl_start_final): Likewise.
5497 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5498 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5499 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5500 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5501 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5502 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5503 (HP_TIMING_DIFF_INIT): Remove.
5504 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5506 (HP_TIMING_DIFF_INIT): Remove.
5507 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5508 * sysdeps/i386/i686/hp-timing.c: Remove file.
5509 * sysdeps/x86_64/hp-timing.c: Remove file.
5510 * sysdeps/ia64/hp-timing.c: Remove file.
5511 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5512 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5513 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5514 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5515
5516 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5517 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5518 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5519 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5521 (HP_TIMING_ACCUM): Remove.
5522 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5523 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5524 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5525
5526 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5527 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5528 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5529 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5530 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5531 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5532 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5533 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5534
5535 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5536
55372014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5538
5539 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5540
55412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5542
5543 Sync up with gettext.
5544 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5545 [_MSC_VER]: Include malloc.h
5546 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5547 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5548 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5549 TEMP_FAILURE_RETRY. Cast return of alloca.
5550 [!_LIBC] Call gl_rwlock_init.
5551 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5552
55532014-07-02 Roland McGrath <roland@hack.frob.com>
5554
5555 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5556 before checking its value.
5557
55582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
5560 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5561
5562 * debug/memcpy_chk.c: Don't include pagecopy.h.
5563 * debug/mempcpy_chk.c: Likewise.
5564 * string/memcpy.c: Likewise.
5565 * string/memmove.c: Likewise.
5566 * sysdeps/powerpc/memmove.c: Likewise.
5567 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5568 definition of PAGE_COPY_FWD_MAYBE here...
5569 * sysdeps/generic/pagecopy.h: ... from here.
5570 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5571
55722014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5573 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574
5575 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5577 optimizations.
5578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5579 (__libc_ifunc_impl_list): Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5581 multiarch strcat for PPC64.
5582 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5583 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5584
55852014-07-02 Roland McGrath <roland@hack.frob.com>
5586
5587 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5588
55892014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5590
5591 * intl/loadmsgcat.c: Remove declaration of
5592 get_sysdep_segment_value.
5593 (get_sysdep_segment_value): Use ISO C style.
5594 (_nl_load_domain): Use ISO C style. Get rid of redundant
5595 semicolon. Fix typo and formatting in comment.
5596 (_nl_unload_domain): Use ISO C style.
5597
5598 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5599
56002014-07-02 Will Newton <will.newton@linaro.org>
5601
5602 * malloc/obstack.c: Merge from gnulib master.
5603 [HAVE_CONFIG_H]: Remove conditional code.
5604 [!_LIBC]: Include config.h.
5605 [!ELIDE_CODE]: Don't include inttypes.h, include
5606 stdint.h unconditionally.
5607 (print_and_abort): Mark as _Noreturn.
5608 (_obstack_allocated_p): Mark as __attribute_pure__.
5609 (obstack_free): Rename to __obstack_free.
5610 [!__attribute__]: Remove conditional code.
5611 * malloc/obstack.h: Merge from gnulib master.
5612 [__cplusplus]: Move conditional down.
5613 [!__attribute_pure__]: Define __attribute_pure__ here
5614 if it is not already defined.
5615 (_obstack_memory_used): Mark as __attribute_pure__.
5616 [!__obstack_free]: Define as obstack_free.
5617 [__GNUC__]: Remove check for ancient NeXT gcc.
5618
56192014-07-02 Will Newton <will.newton@linaro.org>
5620 Paul Eggert <eggert@cs.ucla.edu>
5621
5622 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5623
56242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5625
5626 * resolv/gethnamaddr.c: Add comment warning that the file is
5627 not maintained.
5628
56292014-07-01 Carlos O'Donell <carlos@redhat.com>
5630
5631 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5632 entries.
5633
5634 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5635 entry for aio_cancel and aio_cancel64.
5636 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5637 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5638 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5639 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5640 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5641 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5642 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5643 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5644 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5645 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5646 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5647 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5648 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5649
56502014-07-01 Roland McGrath <roland@hack.frob.com>
5651
5652 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5653 * nptl/pthread_mutex_lock.c: Likewise.
5654 * nptl/pthread_mutex_timedlock.c: Likewise.
5655 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5656
56572014-07-01 Richard henderson <rth@redhat.com>
5658
5659 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5660 (__isnan, __isnanl): Remove.
5661 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5662
5663 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5664
56652014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5666
5667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5668
56692014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5670
5671 * resolv/nss_dns/dns-host.c (getanswer_r)
5672 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5673
56742014-07-01 Joseph Myers <joseph@codesourcery.com>
5675
5676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5677 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5678 undefine.
5679 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5680 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5681
56822014-07-01 Roland McGrath <roland@hack.frob.com>
5683
5684 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5685 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5686
5687 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5688 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5689
5690 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5691 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5692 ... here.
5693 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5694 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5695
5696 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5697 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5698 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5699 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5700
5701 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5702 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5703 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5706 Moved ...
5707 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5708 ... here.
5709 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5712 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5718 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5719 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5720 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5728 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5729 ... here.
5730 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5733 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5734 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5735 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5736 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5737 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5738
57392014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5740
5741 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5742 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5743 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5744 Add sysdep.
5745
57462014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5747
5748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5749
57502014-06-30 Joseph Myers <joseph@codesourcery.com>
5751
5752 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5753 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5754
5755 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5756
5757 * sysdeps/arm/libm-test-ulps: Regenerated.
5758
57592014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5760 Roland McGrath <roland@hack.frob.com>
5761
5762 * test-skeleton.c (signal_handler): Kill the whole process group
5763 before killing the child individually.
5764 (main): Report any failure on `setpgid'.
5765
57662014-06-30 Roland McGrath <roland@hack.frob.com>
5767
5768 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5769 from _TLS_H to _ARM_NPTL_TLS_H.
5770 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5771 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5772
57732014-06-30 Joseph Myers <joseph@codesourcery.com>
5774
5775 [BZ #16539]
5776 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5777 (__expm1l): Return argument unchanged when small but not
5778 subnormal.
5779
5780 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5781 include macro name.
5782 (_FP_UNPACK_RAW_1_P): Likewise.
5783 (_FP_PACK_RAW_1): Likewise.
5784 (_FP_PACK_RAW_1_P): Likewise.
5785 (_FP_MUL_MEAT_1_wide): Likewise.
5786 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5787 (_FP_MUL_MEAT_1_hard): Likewise.
5788 (_FP_DIV_MEAT_1_imm): Likewise.
5789 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5790 (_FP_DIV_MEAT_1_udiv): Likewise.
5791 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5792 (_FP_UNPACK_RAW_2): Likewise.
5793 (_FP_UNPACK_RAW_2_P): Likewise.
5794 (_FP_PACK_RAW_2): Likewise.
5795 (_FP_PACK_RAW_2_P): Likewise.
5796 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5797 (_FP_MUL_MEAT_2_wide): Likewise.
5798 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5799 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5800 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5801 (_FP_MUL_MEAT_2_gmp): Likewise.
5802 (_FP_DIV_MEAT_2_udiv): Likewise.
5803 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5804 (_FP_FRAC_SRL_4): Likewise.
5805 (_FP_FRAC_SRST_4): Likewise.
5806 (_FP_FRAC_SRS_4): Likewise.
5807 (_FP_UNPACK_RAW_4): Likewise.
5808 (_FP_UNPACK_RAW_4_P): Likewise.
5809 (_FP_PACK_RAW_4): Likewise.
5810 (_FP_PACK_RAW_4_P): Likewise.
5811 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5812 (_FP_MUL_MEAT_4_wide): Likewise.
5813 (_FP_MUL_MEAT_4_gmp): Likewise.
5814 (umul_ppppmnnn): Likewise.
5815 (_FP_DIV_MEAT_4_udiv): Likewise.
5816 (__FP_FRAC_ADD_4): Likewise.
5817 (__FP_FRAC_SUB_3): Likewise.
5818 (__FP_FRAC_SUB_4): Likewise.
5819 (__FP_FRAC_DEC_3): Likewise.
5820 (__FP_FRAC_DEC_4): Likewise.
5821 (__FP_FRAC_ADDI_4): Likewise.
5822 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5823 (_FP_FRAC_SRL_8): Likewise.
5824 (_FP_FRAC_SRS_8): Likewise.
5825
5826 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5827 include macro name.
5828 (FP_UNPACK_RAW_EP): Likewise.
5829 (FP_PACK_RAW_E): Likewise.
5830 (FP_PACK_RAW_EP): Likewise.
5831 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5832 (_FP_ISSIGNAN): Likewise.
5833 (_FP_ADD_INTERNAL): Likewise.
5834 (_FP_FMA): Likewise.
5835 (_FP_CMP): Likewise.
5836 (_FP_SQRT): Likewise.
5837 (_FP_TO_INT): Likewise.
5838 (_FP_FROM_INT): Likewise.
5839 (FP_EXTEND): Likewise.
5840 (_FP_DIV_MEAT_N_loop): Likewise.
5841
58422014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5843
5844 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5845 throughout.
5846
58472014-06-29 Joseph Myers <joseph@codesourcery.com>
5848
5849 [BZ #17097]
5850 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5851 result with correct sign in case of exponents that produce
5852 overflow except for X very close to 1.
5853
58542014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5855
5856 mktime: merge #if/#ifdef usage from glibc
5857 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5858 as that works with both Glibc's and Gnulib's style.
5859 See thread starting at Siddhesh Poyarekar's bug report at:
5860 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5861
58622014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5863
5864 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5865 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5866 * sysdeps/tile/tilegx/memmove.c: Remove file.
5867
58682014-06-27 Joseph Myers <joseph@codesourcery.com>
5869
5870 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5871 abi-name definition.
5872 * scripts/soversions.awk: Do not handle or generate ABI lines.
5873 * shlib-versions: Remove ABI entries.
5874 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5875 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5876
58772014-06-27 Roland McGrath <roland@hack.frob.com>
5878
5879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5880 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5881 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5882 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5884 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5885 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5886 Moved ...
5887 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5888 ... here.
5889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5890 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5902 Moved ...
5903 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5905 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5907 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5909 Moved ...
5910 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5912 Moved ...
5913 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5914 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5915 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5917 Moved ...
5918 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5920 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5922 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5924 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5926 Moved ...
5927 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5931 Moved ...
5932 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5934 Moved ...
5935 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5936 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5937 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5938 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5939 Moved ...
5940 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5941 ... here.
5942 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5943 Identical file removed.
5944 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5945 Moved ...
5946 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5948 Identical file removed.
5949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5950 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5952 Moved ...
5953 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5955 Identical file removed.
5956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5957 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5959 Identical file removed.
5960 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5961 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5962 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5963 Identical file removed.
5964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5965 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5967 Identical file removed.
5968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5969 Moved ...
5970 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5971 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5972 Identical file removed.
5973 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5974 Moved ...
5975 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5976 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5977 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5978 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5979 Identical file removed.
5980 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5981 Moved ...
5982 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5983 ... here.
5984 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5985 Identical file removed.
5986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5987 Moved ...
5988 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5989 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5990 Identical file removed.
5991 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5992 Moved ...
5993 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5994 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5995 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5996 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5997 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5999 Moved ...
6000 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6001 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6002 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6003
6004 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6005 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6006 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6007 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6008 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6009
60102014-06-27 Arjun Shankar <arjun.is@lostca.se>
6011
6012 [BZ #17092]
6013 * nscd/nscd.c (monitor_child): Return exit status of child
6014 instead of return value from wait syscall.
6015
60162014-06-27 Joseph Myers <joseph@codesourcery.com>
6017
6018 * configure.ac (libc_commonpagesize): Remove variable.
6019 (libc_relro_required): Likewise.
6020 (libc_cv_z_relro): Remove configure test.
6021 * configure: Regenerated.
6022 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6023 variable.
6024 (libc_relro_required): Likewise.
6025 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6026 (libc_relro_required): Likewise.
6027 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6028 (libc_relro_required): Likewise.
6029 * sysdeps/arm/preconfigure: Regenerated.
6030 * sysdeps/ia64/preconfigure: Remove file.
6031 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6032 variable.
6033 (libc_relro_required): Likewise.
6034
6035 [BZ #16561]
6036 [BZ #16562]
6037 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6038 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6039 recompute overflowing results in original rounding mode.
6040 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6041 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6042 recompute overflowing results in original rounding mode.
6043 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6044 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6045 recompute overflowing results in original rounding mode.
6046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6047 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6048 recompute overflowing results in original rounding mode.
6049 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6050 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6051 recompute overflowing results in original rounding mode.
6052 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6053 (libc_feholdsetround_ctx): New macro.
6054 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6055 * sysdeps/i386/fpu/libm-test-ulps: Update.
6056 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6057
60582014-06-26 Joseph Myers <joseph@codesourcery.com>
6059
6060 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6061 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6062 corresponding .cpsetup call.
6063
60642014-06-26 Roland McGrath <roland@hack.frob.com>
6065
6066 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6067 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6068 * sysdeps/arm/Makefile [$(subdir) = csu]
6069 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6070 (static-only-routines): Add aeabi_read_tp here.
6071 (shared-only-routines): Add libc-aeabi_read_tp here.
6072 (CFLAGS-libc-start.c): Add -fexceptions here.
6073 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6074 (sysdep_routines, static-only-routines, shared-only-routines):
6075 Don't add to these here.
6076 (CFLAGS-libc-start.c): Likewise.
6077
6078 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6079 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6080 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6081 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6082 * sysdeps/arm/Makefile [$(subdir) = rt]
6083 (librt-sysdep_routines, librt-shared-only-routines):
6084 Append rt-aeabi_unwind_cpp_pr1 here.
6085 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6086 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6087 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6088 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6089 Append nptl-aeabi_unwind_cpp_pr1 here.
6090 (tests): Filter out tst-cleanupx4 here.
6091 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6092 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6093 Don't do those here.
6094
60952014-06-26 Joseph Myers <joseph@codesourcery.com>
6096
6097 * scripts/list-sources.sh: Do not handle ports specially.
6098
60992014-06-26 Roland McGrath <roland@hack.frob.com>
6100
6101 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6102 * sysdeps/arm/feupdateenv.c: Likewise.
6103
6104 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6105
61062014-06-26 Joseph Myers <joseph@codesourcery.com>
6107
6108 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6109 trailing whitespace removed.
6110 * scripts/config.guess: Update to version 2014-03-23.
6111 * scripts/config.sub: Update to version 2014-05-01
6112 * scripts/install-sh: Update to version 2013-12-25.23.
6113 * scripts/move-if-change: Update from gnulib.
6114
61152014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6116
6117 * debug/memmove_chk.c: Remove pagecopy.h include.
6118
61192014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6120
6121 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6122 identical to gnulib mktime.
6123
61242014-06-26 Joseph Myers <joseph@codesourcery.com>
6125
6126 * configure.ac: Do not test for machine being rs6000. Do not test
6127 for powerpc*-*soft.
6128 * configure: Regenerated.
6129
6130 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6131 test.
6132 * configure: Regenerated.
6133 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6134 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6135 Remove configure test.
6136 * sysdeps/arm/configure: Regenerated.
6137 * sysdeps/nptl/configure.ac: Do not check
6138 libc_cv_asm_cfi_directives.
6139 * sysdeps/nptl/configure: Regenerated.
6140 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6141 * sysdeps/x86_64/nptl/configure: Remove generated file.
6142 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6143 unconditional.
6144 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6145
61462014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6147
6148 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6149 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6150 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6151 it is defined.
6152
6153 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6154 instead of whether it is defined.
6155 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6156 * sysdeps/hppa/dl-machine.h: Likewise.
6157 * sysdeps/ia64/dl-machine.h: Likewise.
6158 * sysdeps/m68k/dl-machine.h: Likewise.
6159 * sysdeps/microblaze/dl-machine.h: Likewise.
6160 * sysdeps/mips/dl-machine.: Likewise.
6161 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6162 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6163 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6164 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6165 * sysdeps/sh/dl-machine.h: Likewise.
6166 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6167 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6168 * sysdeps/tile/dl-machine.h: Likewise.
6169 * sysdeps/x86_64/dl-machine.h: Likewise.
6170
6171 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6172 code.
6173 (verify_persistent_db): Likewise.
6174
61752014-06-26 Roland McGrath <roland@hack.frob.com>
6176
6177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6178 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6182 Moved ...
6183 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6184 ... here.
6185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6186 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6188 Identical file removed.
6189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6190 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6192 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6198 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6200 Moved ...
6201 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6203 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6205 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6207 Moved ...
6208 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6210 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6212 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6214 Identical file removed.
6215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6216 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6218 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6220 Moved ...
6221 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6222 ... here.
6223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6224 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6226 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6228 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6230 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6232 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6234 Moved ...
6235 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6237 Moved ...
6238 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6240 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6242 Moved ...
6243 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6245 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6246
6247 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6248 folded into ...
6249 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6250 * sysdeps/unix/sysv/linux/s390/Versions
6251 (libpthread: GLIBC_2.19): New version set.
6252 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6253 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6254 (librt: GLIBC_2.3.3): New version set.
6255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6256 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6257 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6258 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6259 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6260 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6261 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6262 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6263 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6264 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6265 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6266 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6267 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6268 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6269 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6270 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6271 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6272 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6273 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6274 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6275 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6276 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6277 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6278 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6279 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6280 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6281 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6282 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6283 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6284 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6285 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6286 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6291 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6292 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6293 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6295 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6297 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6299 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6300
6301 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6302 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6303 (__libc_vfork): Define the function under this name.
6304 [!NOT_IN_libc] (__vfork): Make this an alias.
6305 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6307 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6308 (__libc_vfork): Define the function under this name.
6309 [!NOT_IN_libc] (__vfork): Make this an alias.
6310 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6311 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6312 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6313 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6315 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6316
6317 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6318 code that was previously under [RESET_PID].
6319 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6320 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6322
6323 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6324 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6325 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6326 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6327 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6328 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6329 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6330 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6331 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6332 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6333 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6334 Moved ...
6335 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6336 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6337 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6338 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6339 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6340 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6341 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6342 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6343 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6344 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6345 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6346 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6347 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6348 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6349 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6350 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6351 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6352 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6353 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6354 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6355 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6356 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6357 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6358 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6359 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6360 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6361 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6362 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6363 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6364
63652014-06-25 Roland McGrath <roland@hack.frob.com>
6366
6367 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6368 that was previously under [RESET_PID].
6369 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6370
63712014-06-25 Joseph Myers <joseph@codesourcery.com>
6372
6373 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6374 not undefine and redefine.
6375 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6376 [O_CLOEXEC]: Make code unconditional.
6377 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6378 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6379 <kernel-features.h>.
6380 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6381 conditional variable definition.
6382 (shm_open) [O_CLOEXEC]: Make code unconditional.
6383 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6384 code.
6385
6386 * configure.ac (USE_REGPARMS): Don't define here.
6387 * configure: Regenerated.
6388 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6389 * sysdeps/i386/configure: Regenerated.
6390
6391 * nptl/createthread.c: Don't include kernel-features.h.
6392 * nptl/pthread_cancel.c: Likewise.
6393 * nptl/pthread_condattr_setclock.c: Likewise.
6394 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6395 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6396 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6397 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6398 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6399 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6400 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6401 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6402 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6403 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6404 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6405 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6406 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6407 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6408 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6409 * nscd/gai.c: Likewise.
6410 * nss/nss_db/db-open.c: Likewise.
6411 * sysdeps/generic/ldsodefs.h: Likewise.
6412 * sysdeps/sh/nptl/tls.h: Likewise.
6413 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6414 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6415 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6416 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6417 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6418 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6419 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6420 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6421 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6422 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6423 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6424 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6425 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6426 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6427 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6428 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6429 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6430 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6431 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6432 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6433 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6434 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6435 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6436 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6437 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6438 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6439 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6440 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6441 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6442 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6443 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6444 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6445 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6446 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6447 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6448 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6449 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6450 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6451 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6452 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6453 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6454 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6455 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6457 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6458 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6459 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6460 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6461 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6462 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6463 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6464 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6465 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6466 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6467 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6468 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6469 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6470 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6493 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6494 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6495 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6496 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6497 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6498 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6499 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6500 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6502 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6503 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6504 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6505 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6506 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6507 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6508 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6510 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6511 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6512 * sysdeps/unix/sysv/linux/system.c: Likewise.
6513 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6514 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6515 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6516 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6517 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6518 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6519 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6520
6521 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6522 * configure: Regenerated.
6523 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6524
6525 * configure.ac (base_machine): Do not set specially for particular
6526 machines here.
6527 * configure: Regenerated.
6528 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6529 settings from configure.ac.
6530 * sysdeps/i386/preconfigure: New file.
6531 * sysdeps/s390/preconfigure: Likewise.
6532 * sysdeps/sh/preconfigure: Likewise.
6533 * sysdeps/sparc/preconfigure: Likewise.
6534
65352014-06-25 Roland McGrath <roland@hack.frob.com>
6536
6537 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6538 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6539 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6540 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6541 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6542 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6543 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6544 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6545 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6546 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6547 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6548 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6549 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6550 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6551 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6552 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6554 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6555 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6556
6557 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6558 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6559 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6560 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6561 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6562 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6563 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6564 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6565 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6566 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6567 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6568 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6569 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6570 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6571 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6572 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6573 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6574 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6575 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6576 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6577 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6578 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6579 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6580 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6581 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6582 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6584 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6586 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6587 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6588 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6589 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6590 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6591 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6592 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6593 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6594 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6595
6596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6597 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6599 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6601 Moved ...
6602 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6603 ... here.
6604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6605 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6607 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6609 Moved ...
6610 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6612 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6614 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6616 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6618 Moved ...
6619 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6621 Moved ...
6622 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6624 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6626 Moved ...
6627 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6629 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6631 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6633 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6635 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6637 Moved ...
6638 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6639 ... here.
6640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6641 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6643 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6645 Moved ...
6646 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6648 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6650 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6652 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6654 Moved ...
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6657 Moved ...
6658 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6660 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6662 Moved ...
6663 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6665 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6667 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6668
66692014-06-25 Joseph Myers <joseph@codesourcery.com>
6670
6671 * timezone/checktab.awk: Update from tzcode 2014e.
6672 * timezone/private.h: Likewise.
6673 * timezone/tzfile.h: Likewise.
6674 * timezone/zdump.c: Likewise.
6675 * timezone/zic.c: Likewise.
6676
6677 * sysdeps/unix/sysv/linux/kernel-features.h
6678 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6679 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6680 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6681 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6682 Remove conditional code.
6683
66842014-06-25 Will Newton <will.newton@linaro.org>
6685
6686 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6687 (_dl_arm_cap_flags): Add HWCAP2 values.
6688 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6689 (_DL_HWCAP_COUNT): Increase to 37.
6690 (_DL_HWCAP_LAST): New define.
6691 (_DL_HWCAP2_LAST): New define.
6692 (_dl_procinfo): Add support for printing
6693 AT_HWCAP2 entries.
6694 (_dl_string_hwcap): Use _dl_hwcap_string.
6695
66962014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697
6698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6699
67002014-06-25 Joseph Myers <joseph@codesourcery.com>
6701
6702 * README: Do not mention ports directory.
6703
6704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6705 Remove macro.
6706 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6707 <kernel-features.h>.
6708 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6709 conditional variable definition.
6710 (__futimes): Update comment.
6711 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6712 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6713
6714 [BZ #16560]
6715 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6716 arguments close to 0.
6717 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6718 Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6720 Likewise.
6721 * math/auto-libm-test-in: Add more tests of exp10.
6722 * math/auto-libm-test-out: Regenerated.
6723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6724
6725 * sysdeps/unix/sysv/linux/kernel-features.h
6726 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6727 * sysdeps/unix/sysv/linux/readv.c: Do not include
6728 <kernel-features.h>.
6729 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6730 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6731 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6732 unconditional.
6733 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6734 conditional code.
6735 * sysdeps/unix/sysv/linux/writev.c: Do not include
6736 <kernel-features.h>.
6737 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6738 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6739 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6740 unconditional.
6741 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6742 conditional code.
6743
67442014-06-25 Will Newton <will.newton@linaro.org>
6745
6746 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6747 comment changes throughout the file. Remove checks
6748 for HAVE_*_H definitions that are not required.
6749 (__gen_tempname): Call abort if an unknown kind value is
6750 passed.
6751
67522014-06-25 Andreas Schwab <schwab@suse.de>
6753
6754 [BZ #17086]
6755 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6756 scalbln, scalblnf, scalblnl in libc.
6757
67582014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6759
6760 [BZ #17086]
6761 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6762 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6763 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6764
67652014-06-24 Roland McGrath <roland@hack.frob.com>
6766
6767 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6768 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6769 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6770 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6771 Update #include.
6772 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6773 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6774 Update #include.
6775 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6776 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6777 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6778 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6779 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6780 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6781 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6782 * sysdeps/x86/bits/semaphore.h: ... here.
6783 * sysdeps/x86/nptl/elide.h: Moved ...
6784 * sysdeps/x86/elide.h: ... here.
6785 * sysdeps/x86_64/nptl/Implies: File removed.
6786 * sysdeps/i386/nptl/Implies: File removed.
6787
67882014-06-24 Joseph Myers <joseph@codesourcery.com>
6789
6790 [BZ #16539]
6791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6792 return the argument for normal arguments with exponent below -64.
6793 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6794 Likewise.
6795 * math/auto-libm-test-in: Add another test of expm1.
6796 * math/auto-libm-test-out: Regenerated.
6797
6798 [BZ #16287]
6799 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6800 calling __erfcl for arguments at least 16.
6801 * math/auto-libm-test-in: Add more tests of erf.
6802 * math/auto-libm-test-out: Regenerated.
6803
6804 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6805 individual architectures.
6806 * sysdeps/unix/sysv/linux/configure: Regenerated.
6807 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6808 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6809 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6810 (ldd_rewrite_script): Define variable.
6811 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6813 file.
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6815 generated file.
6816 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6817 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6818 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6819 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6820 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6821 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6822 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6823 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6824
68252014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6826
6827 [BZ #17084]
6828 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6829 Rename member __data.d to __data.__elision_data.
6830
68312014-06-24 Wilco <wdijkstr@arm.com>
6832
6833 * NEWS: Add 16918 to fixed bug list.
6834
68352014-06-24 Wilco <wdijkstr@arm.com>
6836
6837 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6838
68392014-06-24 Wilco <wdijkstr@arm.com>
6840
6841 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6842 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6843 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6844 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6845 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6846 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6847 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6848 Use _FPU_MASK_RM.
6849
68502014-06-24 Wilco <wdijkstr@arm.com>
6851
6852 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6853
68542014-06-24 Wilco <wdijkstr@arm.com>
6855
6856 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6857 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6858 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6859 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6860
68612014-06-24 Wilco <wdijkstr@arm.com>
6862
6863 [BZ #16918]
6864 * sysdeps/arm/feupdateenv.c (feupdateenv):
6865 Rewrite to reduce FPSCR accesses and fix return value.
6866
68672014-06-24 Wilco <wdijkstr@arm.com>
6868
6869 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6870 Optimize to avoid unnecessary FPSCR writes.
6871 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6872 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6873 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6874 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6875
68762014-06-24 Wilco <wdijkstr@arm.com>
6877
6878 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6879 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6880 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6881 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6882 Call libc_fetestexcept_vfp.
6883 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6884 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6885 __SOFTFP__ ifdef so that they can be built for softfp.
6886
68872014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6888
6889 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6890 argument type signed char.
6891
6892 * Makerules (check-abi): Dump diff of symlist if the test
6893 fails.
6894
68952014-06-23 Roland McGrath <roland@hack.frob.com>
6896
6897 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6898 using abort.
6899
6900 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6901 Remove unused variable ST.
6902
69032014-06-23 Joseph Myers <joseph@codesourcery.com>
6904
6905 [BZ #16354]
6906 [BZ #17061]
6907 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6908 small arguments before calling __expm1.
6909 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6910 small arguments before calling __expm1f.
6911 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6912 small arguments before calling __expm1l.
6913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6914 Likewise.
6915 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6916 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6917 spurious underflow for some cosh tests.
6918 * math/auto-libm-test-out: Regenerated.
6919 * sysdeps/i386/fpu/libm-test-ulps: Update.
6920
6921 [BZ #17050]
6922 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6923 (__ieee754_y1): Set errno if return value overflows.
6924 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6925 (__ieee754_y1f): Set errno if return value overflows.
6926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6927 (__ieee754_y1l): Set errno if return value overflows.
6928 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6929 (__ieee754_y1l): Set errno if return value overflows.
6930 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6931 * math/auto-libm-test-out: Regenerated.
6932
6933 * math/gen-auto-libm-tests.c: Document use of
6934 ignore-zero-inf-sign.
6935 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6936 (input_flags): Add ignore-zero-inf-sign.
6937 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6938 * math/gen-libm-test.pl (generate_testfile): Handle
6939 ignore-zero-inf-sign.
6940 * math/auto-libm-test-in: Mark some cpow tests with
6941 ignore-zero-inf-sign and some with xfail-rounding.
6942 * math/auto-libm-test-out: Regenerated.
6943 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6944 * sysdeps/i386/fpu/libm-test-ulps: Update.
6945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946
6947 [BZ #16315]
6948 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6949 overflowing or underflowing operations take place with sign of
6950 result.
6951 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6952 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6953 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6954 (__ieee754_pow): Recompute overflowing and underflowing results in
6955 original rounding mode.
6956 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6957 (__powl_helper): Allow negative argument X and scale negated value
6958 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6959 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6960 overflowing or underflowing operations take place with sign of
6961 result.
6962 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6963 Include <math.h>.
6964 * math/auto-libm-test-in: Add more tests of pow.
6965 * math/auto-libm-test-out: Regenerated.
6966 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6967 (pow_tonearest_test_data): Remove.
6968 (pow_test_tonearest): Likewise.
6969 (pow_towardzero_test_data): Likewise.
6970 (pow_test_towardzero): Likewise.
6971 (pow_downward_test_data): Likewise.
6972 (pow_test_downward): Likewise.
6973 (pow_upward_test_data): Likewise.
6974 (pow_test_upward): Likewise.
6975 (main): Don't call removed functions.
6976 * sysdeps/i386/fpu/libm-test-ulps: Update.
6977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978
69792014-06-23 Roland McGrath <roland@hack.frob.com>
6980
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6982 Moved ...
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6985 Moved ...
6986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6988 Moved ...
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6991 Moved ...
6992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6994 File removed.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6996 File removed.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6998 File removed.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7000 File removed.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7002 File removed.
7003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7004 File removed.
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7006 File removed.
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7008 File removed.
7009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7010 File removed.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7012 File removed.
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7014 File removed.
7015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7016 File removed.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7018 Moved ...
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7021 Moved ...
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7023 ... here.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7025 Moved ...
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7028 Moved ...
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7031 Moved ...
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7034 Moved ...
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7037 Moved ...
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7040 Moved ...
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7043 Moved ...
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7047 ... here.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7049 Moved ...
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7052 Moved ...
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7054 ... here.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7056 Moved ...
7057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7058 ... here.
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7060 Moved ...
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7062 ... here.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7064 Moved ...
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7067 Moved ...
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7072 Moved ...
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7074 ... here.
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7076 Moved ...
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7078 ... here.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7080 Moved ...
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7083 Moved ...
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7086 Moved ...
7087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7089 Moved ...
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7092 Moved ...
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7094 ... here.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7096 Moved ...
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7099 Moved ...
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7102 Moved ...
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7105 Moved ...
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7110 Moved ...
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7113 Moved ...
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7116 Moved ...
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7118 ... here.
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7120 Moved ...
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7122 ... here.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7124 Moved ...
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7126 ... here.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7128 Moved ...
7129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7131 Moved ...
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7134 Moved ...
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7137 Moved ...
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7139 ... here.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7141 Moved ...
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7143 ... here.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7145 Moved ...
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7147 ... here.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7149 Moved ...
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7152 Moved ...
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7154
71552014-06-23 Will Newton <will.newton@linaro.org>
7156 Wilco <wdijkstr@arm.com>
7157
7158 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7159 implementation. Include get-rounding-mode.h.
7160 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7161 [!libc_feholdsetround_noex_ctx]: Define
7162 libc_feholdsetround_noex_ctx.
7163 [!libc_feholdsetround_noexf_ctx]: Define
7164 libc_feholdsetround_noexf_ctx.
7165 [!libc_feholdsetround_noexl_ctx]: Define
7166 libc_feholdsetround_noexl_ctx.
7167 (libc_feholdsetround_ctx): New function.
7168 (libc_feresetround_ctx): New function.
7169 (libc_feholdsetround_noex_ctx): New function.
7170 (libc_feresetround_noex_ctx): New function.
7171
71722014-06-23 Roland McGrath <roland@hack.frob.com>
7173
7174 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7175 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7176 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7177 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7178 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7179 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7180
7181 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7182 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7183 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7184 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7185 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7186 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7187 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7188 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7189 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7190 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7192 Moved ...
7193 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7194 ... here.
7195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7200 Moved ...
7201 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7203 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7205 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7207 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7208 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7209 Moved ...
7210 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7212 Moved ...
7213 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7215 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7217 Moved ...
7218 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7220 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7222 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7223 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7224 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7225 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7226 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7228 Moved ...
7229 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7230 ... here.
7231 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7232 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7233 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7234 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7235 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7236 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7237 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7238 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7240 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7242 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7244 Moved ...
7245 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7247 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7249 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7250 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7251 Moved ...
7252 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7253 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7254 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7255 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7256 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7257
7258 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7259 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7260 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7265 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7267 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7268 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7269 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7271 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7273 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7275 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7277 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7279 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7280 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7281 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7282 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7283 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7284 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7285 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7286
72872014-06-23 Joseph Myers <joseph@codesourcery.com>
7288
7289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7290 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7291 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7292 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7293 (IPV6_PMTUDISC_INTERFACE): Likewise.
7294 (IPV6_PMTUDISC_OMIT): Likewise.
7295
72962014-06-23 Andreas Schwab <schwab@suse.de>
7297
7298 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7299 Remove unused errout label.
7300
73012014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7302
7303 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7304 macro: hardware supports Vector Crypto instructions.
7305
73062014-06-23 Will Newton <will.newton@linaro.org>
7307
7308 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7309 rather than __builtin_expect.
7310
7311 * elf/dl-lookup.c (undefined_msg): Remove variable.
7312 (_dl_lookup_symbol_x): Replace undefined_msg with string
7313 literal.
7314
7315 * elf/dl-lookup.c (do_lookup_unique): New function.
7316 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7317 to a separate function.
7318
73192014-06-23 Andreas Schwab <schwab@suse.de>
7320
7321 [BZ #17079]
7322 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7323 before reading the next line.
7324
73252014-06-23 Will Newton <will.newton@linaro.org>
7326
7327 * test-skeleton.c (signal_handler): Use printf and %m
7328 rather than perror. Use printf rather than fprintf to
7329 stderr. Use puts rather than fputs to stderr.
7330 (main): Likewise.
7331
73322014-06-22 Ludovic Courtès <ludo@gnu.org>
7333
7334 * nscd/nscd.c (thread_info_t): Remove typedef.
7335 (thread_info): Remove variable.
7336
73372014-06-21 Allan McRae <allan@archlinux.org>
7338
7339 * NEWS: Mention CVE-2014-4043.
7340
73412014-06-20 Roland McGrath <roland@hack.frob.com>
7342
7343 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7344 * nptl/smp.h: ... here.
7345
7346 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7347
7348 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7349 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7350 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7351 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7352
7353 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7354 * nptl/stack-aliasing.h: New file.
7355 * sysdeps/i386/i686/stack-aliasing.h: New file.
7356 * sysdeps/i386/i686/nptl/Makefile: File removed.
7357 * sysdeps/x86_64/stack-aliasing.h: New file.
7358 * sysdeps/x86_64/nptl/Makefile
7359 (CFLAGS-pthread_create.c): Variable removed.
7360
7361 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7362 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7363 old file.
7364 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7365 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7366 old file.
7367
73682014-06-21 Joseph Myers <joseph@codesourcery.com>
7369
7370 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7371 (__ASSUME_SIGFRAME_V2): Remove macro.
7372 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7373 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7374 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7375 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7376 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7377 Declare as function. Remove conditional macro definitions.
7378 (__default_rt_sa_restorer): Likewise.
7379 (__default_sa_restorer_v1): Remove declaration.
7380 (__default_sa_restorer_v2): Likewise.
7381 (__default_rt_sa_restorer_v1): Likewise.
7382 (__default_rt_sa_restorer_v2): Likewise.
7383 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7384 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7385 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7386
73872014-06-20 Roland McGrath <roland@hack.frob.com>
7388
7389 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7390 (libpthread-routines): Add sysdep.
7391 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7392 * sysdeps/unix/sysv/linux/sparc/Versions
7393 (libpthread: GLIBC_2.3.3): New version set.
7394 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7395 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7396 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7398 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7399 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7400 Moved ...
7401 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7402 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7403 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7404 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7405 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7407 * sysdeps/sparc/nptl/sem_init.c: ... here.
7408 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7409 * sysdeps/sparc/nptl/sem_post.c: ... here.
7410 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7411 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7412 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7413 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7414 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7415 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7416 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7417 (libpthread-routines): Add cpu_relax.
7418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7419 File removed.
7420 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7421 (librt: GLIBC_2.3.3): New version set.
7422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7423 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7424 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7425 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7428 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7430 Moved ...
7431 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7433 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7435 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7437 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7438 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7439 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7441 Moved ...
7442 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7443 Update #include.
7444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7445 Moved ...
7446 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7447 Update #include.
7448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7449 Moved ...
7450 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7451 Update #include.
7452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7453 Moved ...
7454 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7455 Update #include.
7456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7457 Moved ...
7458 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7459 Update #include.
7460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7461 Moved ...
7462 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7463 Update #include.
7464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7465 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7475 Moved ...
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7478 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7480 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7481
74822014-06-20 Joseph Myers <joseph@codesourcery.com>
7483
7484 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7485 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7486 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7487 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7488 * nscd/nscd.c: Likewise.
7489 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7490 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7491 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7492 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7493
7494 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7495 <kernel-features.h>.
7496 (init_mq_netlink): Remove conditional have_sock_cloexec
7497 definitions. Remove code conditional on have_sock_cloexec < 0.
7498 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7499 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7500 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7501 <kernel-features.h>.
7502 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7503 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7504
75052014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7508 Add tests for memset_chk and memset.
7509
7510 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7511 with AVX2_Usable.
7512
75132014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7514
7515 [BZ #16046]
7516 * elf/tst-dl-iter-static.c: New file.
7517 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7518
7519 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7520 error.
7521
75222014-06-20 Joseph Myers <joseph@codesourcery.com>
7523
7524 * sysdeps/unix/sysv/linux/kernel-features.h
7525 (__ASSUME_F_GETOWN_EX): Remove macro.
7526 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7527 <kernel-features.h>.
7528 (miss_F_GETOWN_EX): Remove variable or macro.
7529 (do_fcntl): Do not check miss_F_GETOWN_EX.
7530 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7531
7532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7533 Remove macro.
7534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7535 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7536 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7537
7538 * sysdeps/unix/sysv/linux/kernel-features.h
7539 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7540 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7541 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7542 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7543
75442014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7545
7546 [BZ #17075]
7547 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7548 Fix calculation of the symbol's value.
7549 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7550 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7551 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7552 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7553 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7554 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7555 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7556 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7557 (modules-names): Add `tst-armtlsdescmod',
7558 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7559 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7560 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7561 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7562 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7563 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7564 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7565 ($(objpfx)tst-armtlsdescloc): New dependency.
7566 ($(objpfx)tst-armtlsdescextnow): Likewise.
7567 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7568 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7569 TLS scheme support.
7570 * sysdeps/arm/configure: Regenerate.
7571
75722014-06-20 Joseph Myers <joseph@codesourcery.com>
7573
7574 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7575 (__atfct_seterrno_2): Likewise.
7576 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7577 <kernel-features.h>.
7578 (__ASSUME_ATFCTS): Do not undefine and redefine.
7579 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7580 (__have_atfcts): Remove conditional definition.
7581 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7582 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7583 unreachable if [__ASSUME_ATFCTS].
7584 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7585 not undefine and redefine.
7586 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7587 <kernel-features.h>.
7588 (faccessat) [__NR_faccessat]: Make code unconditional.
7589 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7590 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7591 <kernel-features.h>.
7592 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7593 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7594 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7595 <kernel-features.h>.
7596 (fchownat) [__NR_fchownat]: Make code unconditional.
7597 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7598 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7599 <kernel-features.h>.
7600 (futimesat) [__NR_futimesat]: Make code unconditional.
7601 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7602 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7603 <kernel-features.h>.
7604 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7605 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7606 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7607 <kernel-features.h>.
7608 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7609 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7610 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7611 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7612 <kernel-features.h>.
7613 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7614 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7615 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7616 <kernel-features.h>.
7617 (linkat) [__NR_linkat]: Make code unconditional.
7618 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7619 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7620 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7621 <kernel-features.h>.
7622 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7623 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7624 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7625 <kernel-features.h>.
7626 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7627 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7628 * sysdeps/unix/sysv/linux/openat.c: Do not include
7629 <kernel-features.h>.
7630 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7631 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7632 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7633 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7634 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7635 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7636 <kernel-features.h>.
7637 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7638 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7639 result of INLINE_SYSCALL directly, not via int variable.
7640 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7641 <kernel-features.h>.
7642 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7643 (renameat) [__NR_renameat]: Make code unconditional.
7644 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7646 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7647 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7649 (__ASSUME_ATFCTS): Do not undefine and redefine.
7650 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7651 <kernel-features.h>.
7652 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7653 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7654 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7655 <kernel-features.h>.
7656 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7657 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7658 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7659 (__ASSUME_ATFCTS): Do not undefine and redefine.
7660 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7661 <kernel-features.h>.
7662 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7663 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7664 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7665 <kernel-features.h>.
7666 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7667 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7668
76692014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7672
76732014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7674
7675 [BZ #17069]
7676 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7677 constructed tree before returning error.
7678 * posix/bug-regexp36.c: Expand test case.
7679
76802014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7681
7682 [BZ #6803]
7683 * math/libm-test.inc (scalbln_test_date):
7684 Add errno expectations.
7685 * math/w_scalblnf.c: New File.
7686 Add wrapper which checks for setting errno to ERANGE.
7687 Add weak_alias for corresponding scalbln function.
7688 * math/w_scalbln.c: Likewise.
7689 * math/w_scalblnl.c: Likewise.
7690 * math/Makefile (libm-calls): Add w_scalbln.
7691 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7692 Remove weak_alias for corresponding scalbln function.
7693 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7697 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7698 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7699 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7700 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7701 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7702 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7703 Remove long_double_symbol for scalblnl function in libm, libc.
7704 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7705 Add wrapper which checks for setting errno to ERANGE.
7706 Add long_double_symbol for scalblnl function in libm, libc.
7707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7708 Remove long_double_symbol for scalblnl in libm.
7709 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7710 Add wrapper which checks for setting errno to ERANGE.
7711 Add long_double_symbol for scalblnl function in libm.
7712 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7713 Do not use wrapper because of own implementation.
7714
77152014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7718 3 bytes for __pad1 for x32.
7719 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7720
77212014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7722 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7725 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7726 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7727 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7728 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7729
77302014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7731
7732 [BZ #17069]
7733 * posix/regcomp.c (parse_expression): Deallocate partially
7734 constructed tree before returning error.
7735 * posix/Makefile.c (tests): Add bug-regex36.
7736 (generated): Add bug-regex36.mtrace.
7737 (tests-special): Add $(objpfx)bug-regex36-mem.out
7738 (bug-regex36-ENV): New variable.
7739 ($(objpfx)bug-regex36-mem.out): New rule.
7740 * posix/bug-regex36.c: New file.
7741
77422014-06-19 Will Newton <will.newton@linaro.org>
7743
7744 * malloc/malloc.c (systrim): If extra is zero then return
7745 early.
7746
77472014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7748
7749 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7750
77512014-06-19 Richard Earnshaw <rearnsha@arm.com>
7752
7753 * sysdeps/aarch64/strchr.S: New file.
7754
77552014-06-18 Joseph Myers <joseph@codesourcery.com>
7756
7757 [BZ #17022]
7758 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7759 from arguments -2 or below.
7760 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7761 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7762
77632014-06-18 Andreas Schwab <schwab@suse.de>
7764
7765 [BZ #17062]
7766 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7767 of a bracket expr not to run off the end of the string.
7768 * posix/Makefile (tests): Add tst-fnmatch3.
7769 * posix/tst-fnmatch3.c: New file.
7770
77712014-06-18 Joseph Myers <joseph@codesourcery.com>
7772
7773 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7774 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7775 [$(cross-compiling) = no]: Likewise.
7776 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7777 [$(cross-compiling) = no]: Likewise.
7778
77792014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7780
7781 [BZ #17031]
7782 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7783 double, adjusted for any remainder from the high double.
7784 * math/libm-test.inc (nearbyint): Add tests.
7785 (rint): Likewise.
7786
77872014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7788
7789 * nptl/sysdeps/powerpc/Makefile: Moved ...
7790 * sysdeps/powerpc/nptl/Makefile: ... here.
7791 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7792 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7793 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7794 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7795 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7796 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7797 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7798 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7799 * nptl/sysdeps/powerpc/tls.h: Moved ...
7800 * sysdeps/powerpc/nptl/tls.h: ... here.
7801
78022014-06-16 Joseph Myers <joseph@codesourcery.com>
7803
7804 [BZ #16681]
7805 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7806 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7807 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7808 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7809 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7810 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7811 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7812 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7813 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7814
78152014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7816
7817 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7818
78192014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7820
7821 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7822 defined operator.
7823
7824 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7825 $TIMEOUTFACTOR.
7826
78272014-06-16 Florian Weimer <fweimer@redhat.com>
7828
7829 [BZ #17058]
7830 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7831 non-executed part of the test.
7832
78332014-06-16 Andreas Schwab <schwab@suse.de>
7834
7835 * string/bits/string2.h (strdup, strndup): Update feature guard.
7836
78372014-06-14 David S. Miller <davem@davemloft.net>
7838
7839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7840
78412014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7842
7843 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7844 that was previously under [RESET_PID].
7845 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7846
7847 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7848 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7849 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7850 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7851 (__libc_vfork): New strong alias.
7852 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7853
78542014-06-14 Andi Kleen <ak@linux.intel.com>
7855
7856 * sysdeps/generic/elide.h: New file.
7857
78582014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7859
7860 * Makefile (installed-headers): Adjust path of pthread.h header.
7861
78622014-06-13 Roland McGrath <roland@hack.frob.com>
7863
7864 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7865 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7866 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7867 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7868
7869 * nptl/sysdeps/s390/Makefile: Moved ...
7870 * sysdeps/s390/nptl/Makefile: ... here.
7871 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7872 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7873 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7874 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7875 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7876 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7877 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7878 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7879 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7880 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7881 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7882 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7883 * nptl/sysdeps/s390/tls.h: Moved ...
7884 * sysdeps/s390/nptl/tls.h: ... here.
7885
7886 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7887 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7888
78892014-06-13 David S. Miller <davem@davemloft.net>
7890
7891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7894 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7898 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7899 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7900 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7901 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7902 Remove RESET_PID cpp guards.
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7904 Remove RESET_PID cpp guards.
7905 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7906
79072014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7908
7909 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7910 __sp to uintptr_t.
7911
79122014-06-13 Andi Kleen <ak@linux.intel.com>
7913
7914 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7915 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7916 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7917 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7918 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7919 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7920 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7922 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7923 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7924 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7925 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7926 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7927 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7929 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7930 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7931 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7932 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7933 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7934
7935 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7936 (pthread_rwlock_rdlock): Add elision.
7937 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7938 (pthread_rwlock_wrlock): Add elision.
7939 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7940 (pthread_rwlock_trywrlock): Add elision.
7941 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7942 (pthread_rwlock_tryrdlock): Add elision.
7943 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7944 (pthread_rwlock_tryrdlock): Add elision unlock.
7945 * nptl/sysdeps/pthread/pthread.h:
7946 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7947 (PTHREAD_RWLOCK_INITIALIZER,
7948 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7949 Handle new elision field.
7950 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7951 * sysdeps/arm/nptl/bits/pthreadtypes.h
7952 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7953 * sysdeps/sh/nptl/bits/pthreadtypes.h
7954 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7955 * sysdeps/tile/nptl/bits/pthreadtypes.h
7956 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7957 * sysdeps/a/nptl/bits/pthreadtypes.h
7958 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7959 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7960 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7961 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7962 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7963 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7964 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7965 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7966 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7967 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7969 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7971 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7973 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7975 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7976 (elision_init): Set try_xbegin to zero when no RTM.
7977 * sysdeps/x86/nptl/bits/pthreadtypes.h
7978 (pthread_rwlock_t): Change __pad1 to __rwelision.
7979 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7980
79812014-06-13 Andi Kleen <ak@linux.intel.com>
7982
7983 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7984 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7985 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7986 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7987
79882014-06-13 Meador Inge <meadori@codesourcery.com>
7989
7990 [BZ #16996]
7991 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7992 that the cached result has been set before returning it.
7993
79942014-06-12 Roland McGrath <roland@hack.frob.com>
7995
7996 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7997 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7999 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8001 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8002
8003 * nptl/sysdeps/sparc/Makefile: Moved ...
8004 * sysdeps/sparc/nptl/Makefile: ... here.
8005 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8006 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8007 * nptl/sysdeps/sparc/tls.h: Moved ...
8008 * sysdeps/sparc/nptl/tls.h: ... here.
8009 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8010 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8011 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8012 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8013 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8014 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8015 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8016 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8017 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8018 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8019 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8020 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8021 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8022 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8023 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8024 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8025 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8026 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8027 Update #include.
8028 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8029 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8030 Update #include.
8031 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8032 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8033 Update #include.
8034 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8035 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8036 Update #include.
8037
8038 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8039
8040 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8041 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8042
8043 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8044 (struct list_links): Type removed.
8045 (struct thread_node, struct timer_node): Replace struct list_links
8046 with struct list_head.
8047 (list_unlink_ip): Likewise.
8048 * sysdeps/pthread/timer_routines.c
8049 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8050 (list_append, list_insbefore): Likewise.
8051 (list_init): Function removed.
8052 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8053 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8054 * sysdeps/pthread/Makefile: ... here, new file.
8055
8056 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8057 * sysdeps/nptl/Implies: ... here.
8058 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8059 * nptl/sysdeps/pthread/list.h: Moved ...
8060 * include/list.h: ... here.
8061 * nptl/sysdeps/pthread/createthread.c: Moved ...
8062 * nptl/createthread.c: ... here.
8063 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8064 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8065 * nptl/pt-longjmp.c: ... here.
8066 * nptl/sysdeps/pthread/Makefile: Moved ...
8067 * sysdeps/nptl/Makefile: ... here.
8068 * nptl/sysdeps/pthread/Subdirs: Moved ...
8069 * sysdeps/nptl/Subdirs: ... here.
8070 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8071 * sysdeps/nptl/aio_misc.h: ... here.
8072 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8073 * sysdeps/nptl/bits/libc-lock.h: ... here.
8074 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8075 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8076 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8077 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8078 * nptl/sysdeps/pthread/configure: Moved ...
8079 * sysdeps/nptl/configure: ... here.
8080 * nptl/sysdeps/pthread/configure.ac: Moved ...
8081 * sysdeps/nptl/configure.ac: ... here.
8082 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8083 * sysdeps/nptl/gai_misc.h: ... here.
8084 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8085 * sysdeps/nptl/librt-cancellation.c: ... here.
8086 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8087 * sysdeps/nptl/malloc-machine.h: ... here.
8088 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8089 * sysdeps/nptl/pthread-functions.h: ... here.
8090 * nptl/sysdeps/pthread/pthread.h: Moved ...
8091 * sysdeps/nptl/pthread.h: ... here.
8092 * nptl/sysdeps/pthread/setxid.h: Moved ...
8093 * sysdeps/nptl/setxid.h: ... here.
8094 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8095 * sysdeps/nptl/sigfillset.c: ... here.
8096 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8097 * sysdeps/nptl/tcb-offsets.h: ... here.
8098 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8099 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8100 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8101 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8102 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8103 * sysdeps/pthread/allocalim.h: ... here.
8104 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8105 * sysdeps/pthread/bits/sigthread.h: ... here.
8106 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8107 * sysdeps/pthread/flockfile.c: ... here.
8108 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8109 * sysdeps/pthread/ftrylockfile.c: ... here.
8110 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8111 * sysdeps/pthread/funlockfile.c: ... here.
8112 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8113 * sysdeps/pthread/posix-timer.h: ... here.
8114 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8115 * sysdeps/pthread/timer_create.c: ... here.
8116 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8117 * sysdeps/pthread/timer_delete.c: ... here.
8118 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8119 * sysdeps/pthread/timer_getoverr.c: ... here.
8120 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8121 * sysdeps/pthread/timer_gettime.c: ... here.
8122 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8123 * sysdeps/pthread/timer_routines.c: ... here.
8124 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8125 * sysdeps/pthread/timer_settime.c: ... here.
8126 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8127 * sysdeps/pthread/tst-timer.c: ... here.
8128 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8129 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8130
8131 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8132 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8133
8134 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8135 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8136 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8137 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8138 Update #include target.
8139 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8140 * sysdeps/i386/i686/nptl/Makefile: ... here.
8141 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8142 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8143 Update #include target.
8144 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8145 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8146 * nptl/sysdeps/i386/Makefile: Moved ...
8147 * sysdeps/i386/nptl/Makefile: ... here.
8148 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8149 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8150 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8151 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8152 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8153 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8154 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8155 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8156 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8157 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8158 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8159 * nptl/sysdeps/i386/tls.h: Moved ...
8160 * sysdeps/i386/nptl/tls.h: ... here.
8161
8162 * sysdeps/sh/Makefile [$(subdir) = csu]
8163 (gen-as-const-headers): Add tcb-offsets.sym.
8164 * nptl/sysdeps/sh/Makefile: File removed.
8165 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8166 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8167 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8168 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8169 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8170 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8171 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8172 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8173 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8174 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8175 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8176 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8177 * nptl/sysdeps/sh/tls.h: Moved ...
8178 * sysdeps/sh/nptl/tls.h: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8180 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8182 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8184 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8186 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8188 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8190 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8192 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8194 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8196 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8198 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8200 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8202 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8204 Moved ...
8205 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8207 Moved ...
8208 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8213 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8214 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8215 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8216 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8217 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8218 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8219 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8220 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8221 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8222 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8223 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8224 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8225 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8226 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8227
82282014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8229
8230 * posix/spawn_faction_addopen.c: Include string.h.
8231
82322014-06-11 Roland McGrath <roland@hack.frob.com>
8233
8234 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8235 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8236 * nptl/sysdeps/x86_64/Makefile: Moved ...
8237 * sysdeps/x86_64/nptl/Makefile: ... here.
8238 * nptl/sysdeps/x86_64/configure: Moved ...
8239 * sysdeps/x86_64/nptl/configure: ... here.
8240 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8241 * sysdeps/x86_64/nptl/configure.ac: ... here.
8242 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8243 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8244 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8245 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8246 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8247 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8248 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8249 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8250 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8251 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8252 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8253 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8254 * nptl/sysdeps/x86_64/tls.h: Moved ...
8255 * sysdeps/x86_64/nptl/tls.h: ... here.
8256 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8257 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8258 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8259 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8260
8261 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8262
82632014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8264
8265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8266
82672014-06-11 Joseph Myers <joseph@codesourcery.com>
8268
8269 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8270 type.
8271 [POSIX] (off_t): Likewise.
8272 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8273 [POSIX] (S_ISBLK): Require macro.
8274 [POSIX] (S_ISCHR): Likewise.
8275 [POSIX] (S_ISDIR): Likewise.
8276 [POSIX] (S_ISFIFO): Likewise.
8277 [POSIX] (S_ISREG): Likewise.
8278 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8279 optional-macro.
8280 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8281 type.
8282 [POSIX] (time_t): Likewise.
8283 [POSIX] (timer_t): Likewise.
8284
82852014-06-11 Florian Weimer <fweimer@redhat.com>
8286
8287 [BZ #17048]
8288 * posix/spawn_int.h (struct __spawn_action): Make the path string
8289 non-const to support deallocation.
8290 * posix/spawn_faction_addopen.c
8291 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8292 * posix/spawn_faction_destroy.c
8293 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8294 path in all spawn_do_open actions.
8295 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8296 posix_spawn_file_actions_addopen.
8297
82982014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8299
8300 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8301 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8302 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8303 conditional code always true.
8304 (__libc_vfork): New alias.
8305
83062014-06-11 Roland McGrath <roland@hack.frob.com>
8307
8308 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8309 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8310
8311 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8312
8313 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8314 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8315
8316 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8317 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8318
8319 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8320 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8321
83222014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8323
8324 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8325 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8326 multiarch strcmp for PPC64.
8327 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8330 multiarch optimizations.
8331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8332 (__libc_ifunc_impl_list): Likewise.
8333
83342014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8335
8336 * benchtests/scripts/validate_benchout.py: New script.
8337 * benchtests/Makefile (bench-func): Call it.
8338 * benchtests/scripts/benchout.schema.json: New file.
8339
83402014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8341
8342 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8343 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8344 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8345 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8346 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8347 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8348 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8349 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8350 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8351 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8352 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8353 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8354 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8355 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8356 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8357 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8359 Moved ...
8360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8361 ... here.
8362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8363 Moved ...
8364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8366 Moved ...
8367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8368 ... here.
8369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8370 Moved ...
8371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8372 ... here.
8373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8374 Moved ...
8375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8377 Moved ...
8378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8379 ... here.
8380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8381 Moved ...
8382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8383 ... here.
8384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8385 Moved ...
8386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8388 Moved ...
8389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8390 ... here.
8391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8392 Moved ...
8393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8394 ... here.
8395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8396 Moved ...
8397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8398 ... here.
8399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8400 Moved ...
8401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8403 Moved ...
8404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8405 ... here.
8406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8409 ... here.
8410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8411 Moved ...
8412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8413 ... here.
8414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8415 Moved ...
8416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8418 Moved ...
8419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8420 ... here.
8421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8422 Moved ...
8423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8424 ... here.
8425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8426 Moved ...
8427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8429 Moved ...
8430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8431 ... here.
8432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8433 Moved ...
8434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8436 Moved ...
8437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8439 Moved ...
8440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8441 ... here.
8442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8443 Moved ...
8444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8445 ... here.
8446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8447 Moved ...
8448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8449 ... here.
8450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8451 Moved ...
8452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8454 Moved ...
8455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8456 ... here.
8457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8458 Moved ...
8459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8460 ... here.
8461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8462 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8463 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8466 Moved ...
8467 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8468 ... here.
8469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8470 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8472 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8474 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8476 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8478 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8480 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8482 Moved ...
8483 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8485 Moved ...
8486 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8488 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8495 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8496 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8497 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8498
84992014-06-10 Wilco <wdijkstr@arm.com>
8500
8501 * math/test-fenv-return.c: New file.
8502 * math/Makefile: Add new test test-fenv-return.
8503
85042014-06-10 Joseph Myers <joseph@codesourcery.com>
8505
8506 [BZ #17042]
8507 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8508 when x - 1 is zero.
8509 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8510 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8511 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8512 0.0L for an argument of 1.0L.
8513 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8514 Likewise.
8515 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8516 value when x - 1 is zero.
8517 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8518 * sysdeps/i386/fpu/libm-test-ulps: Update.
8519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8520
85212014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8522
8523 [BZ #15119]
8524 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8525
85262014-06-09 Roland McGrath <roland@hack.frob.com>
8527
8528 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8529 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8530
85312014-06-09 Roland McGrath <roland@hack.frob.com>
8532
8533 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8534 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8535
8536 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8537 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8538
8539 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8540 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8541
8542 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8543 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8544
8545 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8546 if not already defined.
8547 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8548 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8549 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8550 (TLS_INIT_TP): Use it.
8551 (TLS_DEFINE_INIT_TP): New macro.
8552 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8553
85542014-06-09 Joseph Myers <joseph@codesourcery.com>
8555
8556 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8557 constant.
8558 [POSIX] (IXANY): Likewise.
8559 [POSIX] (OLCUC): Likewise.
8560 [POSIX || POSIX2008] (CBAUD): Do not allow.
8561 [POSIX || POSIX2008] (DEFECHO): Likewise.
8562 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8563 [POSIX || POSIX2008] (ECHOKE): Likewise.
8564 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8565 [POSIX || POSIX2008] (EXTA): Likewise.
8566 [POSIX || POSIX2008] (EXTB): Likewise.
8567 [POSIX || POSIX2008] (FLUSHO): Likewise.
8568 [POSIX || POSIX2008] (LOBLK): Likewise.
8569 [POSIX || POSIX2008] (PENDIN): Likewise.
8570 [POSIX || POSIX2008] (SWTCH): Likewise.
8571 [POSIX || POSIX2008] (VDISCARD): Likewise.
8572 [POSIX || POSIX2008] (VDSUSP): Likewise.
8573 [POSIX || POSIX2008] (VLNEXT): Likewise.
8574 [POSIX || POSIX2008] (VREPRINT): Likewise.
8575 [POSIX || POSIX2008] (VSTATUS): Likewise.
8576 [POSIX || POSIX2008] (VWERASE): Likewise.
8577 (B*): Change to B[0123456789]*.
8578 * conform/data/time.h-data [POSIX || UNIX98]
8579 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8580 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8581 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8582 [POSIX] (tm_*): Do not allow.
8583
85842014-06-07 Joseph Myers <joseph@codesourcery.com>
8585
8586 * Makefile (install): Don't set LANGUAGE.
8587 * Makefile.in (install): Likewise.
8588 * assert/Makefile (test-assert-ENV): Remove variable.
8589 (test-assert-perr-ENV): Likewise.
8590 * elf/Makefile (neededtest4-ENV): Likewise.
8591 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8592 [$(cross-compiling) = no]: Don't set LANGUAGE.
8593 * io/ftwtest-sh (LANG): Remove variable.
8594 * libio/Makefile (tst-widetext-ENV): Likewise.
8595 * manual/install.texi (Running make install): Don't refer to
8596 environment settings for make install.
8597 * INSTALL: Regenerated.
8598 * nptl/tst-tls6.sh: Don't set LANG.
8599 * posix/globtest.sh (LANG): Remove variable.
8600 * string/Makefile (tester-ENV): Likewise.
8601 (inl-tester-ENV): Likewise.
8602 (noinl-tester-ENV): Likewise.
8603 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8604 [$(cross-compiling) = no]: Don't set LANGUAGE.
8605 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8606 without explicit environment settings.
8607
86082014-06-06 Roland McGrath <roland@hack.frob.com>
8609
8610 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8611 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8612 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8613 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8614
86152014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8616
8617 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8618 other files in the crypt directory.
8619 * crypt/crypt.c: Remove duplicate includes.
8620 * crypt/crypt-entry.c: Likewise.
8621 * crypt/crypt_util.c: Likewise.
8622
86232014-06-06 Joseph Myers <joseph@codesourcery.com>
8624
8625 * Makeconfig (run-program-env): New variable.
8626 (run-program-prefix-before-env): Likewise.
8627 (run-program-prefix-after-env): Likewise.
8628 (run-program-prefix): Define in terms of new variables.
8629 (built-program-cmd-before-env): New variable.
8630 (built-program-cmd-after-env): Likewise.
8631 (built-program-cmd): Define in terms of new variables.
8632 (test-program-prefix-before-env): New variable.
8633 (test-program-prefix-after-env): Likewise.
8634 (test-program-prefix): Define in terms of new variables.
8635 (test-program-cmd-before-env): New variable.
8636 (test-program-cmd-after-env): Likewise.
8637 (test-program-cmd): Define in terms of new variables.
8638 * Rules (make-test-out): Use $(run-program-env).
8639 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8640 (help): Do not mention environment variables. Mention
8641 --timeoutfactor option.
8642 (timeoutfactor): New variable.
8643 (blacklist_exports): Remove function.
8644 (exports): Remove variable.
8645 (command): Do not include ${exports}.
8646 * manual/install.texi (Configuring and compiling): Do not mention
8647 test wrappers preserving environment variables. Mention that last
8648 assignment to a variable must take precedence.
8649 * INSTALL: Regenerated.
8650 * benchtests/Makefile (run-bench): Use $(run-program-env).
8651 * catgets/Makefile ($(objpfx)test1.cat): Use
8652 $(built-program-cmd-before-env), $(run-program-env) and
8653 $(built-program-cmd-after-env).
8654 ($(objpfx)test2.cat): Do not specify environment variables
8655 explicitly.
8656 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8657 $(run-program-env) and $(built-program-cmd-after-env).
8658 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8659 $(run-program-env) and $(test-program-cmd-after-env).
8660 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8661 explicitly.
8662 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8663 run_program_env and test_program_cmd_after_env arguments.
8664 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8665 * elf/tst-pathopt.sh: Use run_program_env argument.
8666 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8667 $(test-wrapper-env) and $(run-program-env).
8668 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8669 run_program_env arguments.
8670 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8671 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8672 $(test-program-prefix-before-env), $(run-program-env) and
8673 $(test-program-prefix-after-env).
8674 ($(objpfx)tst-gettext2.out): Likewise.
8675 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8676 run_program_env and test_program_prefix_after_env arguments.
8677 * intl/tst-gettext2.sh: Likewise.
8678 * intl/tst-gettext4.sh: Do not set environment variables
8679 explicitly.
8680 * intl/tst-gettext6.sh: Likewise.
8681 * intl/tst-translit.sh: Likewise.
8682 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8683 $(test-program-prefix-before-env), $(run-program-env) and
8684 $(test-program-prefix-after-env).
8685 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8686 run_program_env and test_program_prefix_after_env arguments.
8687 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8688 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8689 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8690 explicitly with each use of ${test_wrapper_env}.
8691 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8692 $(test-program-prefix-before-env), $(run-program-env) and
8693 $(test-program-prefix-after-env).
8694 * posix/tst-getconf.sh: Do not set environment variables
8695 explicitly.
8696 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8697 run_program_env and test_program_prefix_after_env arguments.
8698 * stdio-common/tst-printf.sh: Do not set environment variables
8699 explicitly.
8700 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8701 $(test-program-prefix-before-env), $(run-program-env) and
8702 $(test-program-prefix-after-env).
8703 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8704 run_program_env and test_program_prefix_after_env arguments.
8705 Split $test calls into $test_pre and $test.
8706 * timezone/Makefile (build-testdata): Use
8707 $(built-program-cmd-before-env), $(run-program-env) and
8708 $(built-program-cmd-after-env).
8709
87102014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8711
8712 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8713 strlen for non SHARED builds.
8714
87152014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8716
8717 * nptl/allocatestack.c (check_list): Inlined function...
8718 (__reclaim_stacks): ... here.
8719
87202014-06-05 Ondřej Bílka <neleai@seznam.cz>
8721
8722 [BZ #15698]
8723 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8724 memory overrun.
8725
87262014-06-05 Joseph Myers <joseph@codesourcery.com>
8727
8728 * Rules (make-test-out): Include
8729 LOCPATH=$(common-objpfx)localedata in default environment.
8730 * debug/Makefile (tst-chk1-ENV): Remove variable.
8731 (tst-chk2-ENV): Likewise.
8732 (tst-chk3-ENV): Likewise.
8733 (tst-chk4-ENV): Likewise.
8734 (tst-chk5-ENV): Likewise.
8735 (tst-chk6-ENV): Likewise.
8736 (tst-lfschk1-ENV): Likewise.
8737 (tst-lfschk2-ENV): Likewise.
8738 (tst-lfschk3-ENV): Likewise.
8739 (tst-lfschk4-ENV): Likewise.
8740 (tst-lfschk5-ENV): Likewise.
8741 (tst-lfschk6-ENV): Likewise.
8742 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8743 (tst-iconv7-ENV): Likewise.
8744 * intl/Makefile (LOCPATH-ENV): Likewise.
8745 (tst-codeset-ENV): Likewise.
8746 (tst-gettext3-ENV): Likewise.
8747 (tst-gettext5-ENV): Likewise.
8748 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8749 (tst-fopenloc-ENV): Likewise.
8750 (tst-fgetws-ENV): Remove variable.
8751 (tst-ungetwc1-ENV): Likewise.
8752 (tst-ungetwc2-ENV): Likewise.
8753 (bug-ungetwc2-ENV): Likewise.
8754 (tst-swscanf-ENV): Likewise.
8755 (bug-ftell-ENV): Likewise.
8756 (tst-fgetwc-ENV): Likewise.
8757 (tst-fseek-ENV): Likewise.
8758 (tst-ftell-partial-wide-ENV): Likewise.
8759 (tst-ftell-active-handler-ENV): Likewise.
8760 (tst-ftell-append-ENV): Likewise.
8761 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8762 (tst-regexloc-ENV): Likewise.
8763 (bug-regex1-ENV): Likewise.
8764 (tst-regex-ENV): Likewise.
8765 (tst-regex2-ENV): Likewise.
8766 (bug-regex5-ENV): Likewise.
8767 (bug-regex6-ENV): Likewise.
8768 (bug-regex17-ENV): Likewise.
8769 (bug-regex18-ENV): Likewise.
8770 (bug-regex19-ENV): Likewise.
8771 (bug-regex20-ENV): Likewise.
8772 (bug-regex22-ENV): Likewise.
8773 (bug-regex23-ENV): Likewise.
8774 (bug-regex25-ENV): Likewise.
8775 (bug-regex26-ENV): Likewise.
8776 (bug-regex30-ENV): Likewise.
8777 (bug-regex32-ENV): Likewise.
8778 (bug-regex33-ENV): Likewise.
8779 (bug-regex34-ENV): Likewise.
8780 (bug-regex35-ENV): Likewise.
8781 (tst-rxspencer-ENV): Likewise.
8782 (tst-rxspencer-no-utf8-ENV): Likewise.
8783 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8784 (tst-sscanf-ENV): Likewise.
8785 (tst-swprintf-ENV): Likewise.
8786 (tst-swscanf-ENV): Likewise.
8787 (test-vfprintf-ENV): Likewise.
8788 (scanf13-ENV): Likewise.
8789 (bug14-ENV): Likewise.
8790 (tst-grouping-ENV): Likewise.
8791 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8792 (tst-strtod3-ENV): Likewise.
8793 (tst-strtod4-ENV): Likewise.
8794 (tst-strtod5-ENV): Likewise.
8795 (testmb2-ENV): Likewise./
8796 * string/Makefile (tst-strxfrm-ENV): Likewise.
8797 (tst-strxfrm2-ENV): Likewise.
8798 (bug-strcoll1-ENV): Likewise.
8799 (test-strcasecmp-ENV): Likewise.
8800 (test-strncasecmp-ENV): Likewise.
8801 * time/Makefile (tst-strptime-ENV): Likewise.
8802 (tst-ftime_l-ENV): Likewise.
8803 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8804 (tst-mbrtowc-ENV): Likewise.
8805 (tst-wcrtomb-ENV): Likewise.
8806 (tst-mbrtowc2-ENV): Likewise.
8807 (tst-c16c32-1-ENV): Likewise.
8808 (tst-mbsnrtowcs-ENV): Likewise.
8809
88102014-06-05 Ondřej Bílka <neleai@seznam.cz>
8811
8812 * manual/resource.texi (How to get information about the memory
8813 subsystem?): Fix typo.
8814 Reported by Peon de la Parra Ivan <peon@keba.com>
8815
88162014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8817
8818 [BZ #16882]
8819 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8820 (pthread_spin_lock): Branch out of spin loop to proper location.
8821 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8822 (pthread_spin_lock): Likewise.
8823
8824 * nptl/tst-spin4.c: New test.
8825 * nptl/Makefile (tests): Add tst-spin4.
8826
88272014-06-03 Andreas Schwab <schwab@suse.de>
8828
8829 [BZ #15946]
8830 * resolv/res_send.c (send_dg): Reload file descriptor after
8831 calling reopen.
8832
88332014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8834
8835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8836
88372014-06-03 Richard Henderson <rth@redhat.com>
8838
8839 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8840 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8841 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8842 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8843 in the SAVE_PID block.
8844 (__libc_vfork): New alias.
8845 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8846
8847 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8848 child in registers, not on the stack. Remove RESET_PID conditionals.
8849 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8850
88512014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8852
8853 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8854
88552014-06-03 Wilco <wdijkstr@arm.com>
8856
8857 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8858 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8859 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8860 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8861 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8862 Likewise.
8863
88642014-06-03 Wilco <wdijkstr@arm.com>
8865
8866 * sysdeps/aarch64/fpu/math_private.h
8867 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8868 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8869 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8870 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8871 Fix declarations.
8872
88732014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8874
8875 * crypt/crypt-private.h: Include ufc-crypt.h.
8876 (__b64_from_24bit): Declare extern.
8877 * crypt/crypt_util.c(__b64_from_24bit): New function.
8878 (b64t): New static const variable.
8879 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8880 (b64t): Remove variable.
8881 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8882 * crypt/sha256-crypt.c: Include crypt-private.h.
8883 (b64t): Remove variable.
8884 (__sha256_crypt_r): Remove b64_from_24bit and replace
8885 with __b64_from_24bit.
8886 * crypt/sha512-crypt.c: Likewise.
8887
88882014-06-02 Roland McGrath <roland@hack.frob.com>
8889
8890 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8891 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8892 Label the code __libc_vfork rather than __vfork.
8893 [!NOT_IN_libc] (vfork): Define as weak alias.
8894 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8895 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8896 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8897
88982014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8899
8900 * malloc/malloc.c (malloc_info): Fix format specifier for
8901 n_mmaps.
8902
89032014-06-02 Wilco <wdijkstr@arm.com>
8904
8905 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8906 FPCR write.
8907
89082014-06-02 Wilco <wdijkstr@arm.com>
8909
8910 [BZ #17009]
8911 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8912 Rewrite to reduce FPCR/FPSR accesses.
8913
89142014-06-01 David S. Miller <davem@davemloft.net>
8915
8916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8917
89182014-05-31 David S. Miller <davem@davemloft.net>
8919
8920 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8921 to occur in round to nearest mode when |x| >= 2.0
8922
89232014-05-30 Richard Henderson <rth@twiddle.net>
8924
8925 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8926 (PSEUDO_RET_NOERRNO): Remove.
8927 (ret): Don't redefine.
8928 (ret_NOERRNO): Define in terms of ret.
8929 (ret_ERRVAL): Likewise.
8930
8931 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8932 use of PSEUDO_RET; perform the error check directly.
8933
89342014-05-30 Marko Myllynen <myllynen@redhat.com>
8935
8936 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8937 with __int128_t.
8938
89392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
8941 * malloc/malloc (malloc_info): Fix formatting.
8942
89432014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8944 Roland McGrath <roland@hack.frob.com>
8945
8946 * malloc/malloc (malloc_info): Also print mmapped statistics.
8947
89482014-05-30 Roland McGrath <roland@hack.frob.com>
8949
8950 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8951 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8952
89532014-05-30 Ondřej Bílka <neleai@seznam.cz>
8954
8955 * malloc/malloc.c (malloc_info): Inline mi_arena.
8956
89572014-05-29 Richard Henderson <rth@twiddle.net>
8958
8959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8960 Remove comma before expanding ASM_ARGS_##nr.
8961 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8962 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8963 of ASM_ARGS_##nr.
8964 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8965 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8966 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8967 (ASM_ARGS_1): Add leading comma.
8968
8969 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8970 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8971 to __errno_location.
8972 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8973 Remove the expected plt for __errno_location.
8974
8975 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8976 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8977 call to __read_tp.
8978
8979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8980 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8981 it and break it down.
8982 (DOCARGS_0, DOCARGS_1): Do nothing.
8983 (DOCARGS_2): Update to store into the new stack frame.
8984 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8985 (UNDOCARGS_1): Update to restore from the new stack frame.
8986 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8987 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8988
8989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8990 (SINGLE_THREAD_P): New parameter for result regno.
8991 (PSEUDO): Update to match; use cbz instead of beq.
8992
8993 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8994 Use ENTRY to define the _nocancel entry point. Share the syscall
8995 and syscall error check paths with the cancel path.
8996 (PSEUDO_END): New.
8997
8998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8999 whitespace; tabs before and after asm mnemonics.
9000
90012014-05-29 Eric Wong <normalperson@yhbt.net>
9002
9003 [BZ #15132]
9004 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9005 Call fstat64 or stat64 internally, depending on arguments passed.
9006 Replace stat buffer argument with file descriptor argument.
9007 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9008 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9009 Pass fd to __internal_statvfs instead of calling fstat64.
9010 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9011 Pass fd to __internal_statvfs64 instead of calling fstat64.
9012 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9013 Pass -1 to __internal_statvfs instead of calling stat64.
9014 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9015 Pass -1 to __internal_statvfs64 instead of calling stat64.
9016
90172014-05-28 Roland McGrath <roland@hack.frob.com>
9018
9019 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9020 that was previously under [RESET_PID].
9021 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9022
9023 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9024 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9025
90262014-05-27 Roland McGrath <roland@hack.frob.com>
9027
9028 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9029
9030 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9031 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9032
90332014-05-27 Ondřej Bílka <neleai@seznam.cz>
9034
9035 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9036
90372014-05-27 Andreas Schwab <schwab@suse.de>
9038
9039 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9040 TLS_INIT_TP macro.
9041 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9042 * elf/rtld.c (init_tls, dl_main): Likewise.
9043 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9044 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9045 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9046 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9047 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9048 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9049 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9050 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9051 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9052 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9053 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9054 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9055 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9056 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9057 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9058 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9059 * sysdeps/generic/tls.h: Update description.
9060
90612014-05-27 Will Newton <will.newton@linaro.org>
9062
9063 [BZ #16990]
9064 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9065 and restore r2 rather than just restoring.
9066
90672014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
9069 [BZ #16724]
9070 * libio/tst-ftell-append.c: New test case.
9071 * libio/Makefile (tests): Add test case.
9072 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9073 append mode.
9074 * libio/wfileops.c (do_ftell_wide): Likewise.
9075
90762014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9077
9078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9079
9080 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9081 ...
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9084 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9085 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9086 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9087 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9088 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9089 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9091 Moved ...
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9094 Moved ...
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9096 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9097 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9098 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9099 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9100 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9101 ...
9102 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9103 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9104 Moved ...
9105 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9106 here.
9107 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9108 ...
9109 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9110 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9111 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9112
9113 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9114 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9116 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9117
9118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9119 merge into ...
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9122 ...
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9125 ...
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9128 Moved ...
9129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9130 here.
9131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9132 Moved ...
9133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9135 Moved ...
9136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9137
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9139 conditional [RESET_PID].
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9142 removed.
9143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9144 removed.
9145
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9147 <tcb-offsets.h>.
9148 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9149 (__libc_vfork): New strong alias.
9150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9151 removed.
9152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9153 Removed.
9154
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9156 <tcb-offsets.h>.
9157 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9158 (__libc_vfork): New strong alias.
9159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9160 removed.
9161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9162 removed.
9163
91642014-05-26 Carlos O'Donell <carlos@redhat.com>
9165
9166 * malloc/malloc.c (mi_arena): New function.
9167 (malloc_info): Remove nested function mi_arena. Call non-nosted
9168 function mi_arena.
9169
91702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9171
9172 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9173 by insrwi.
9174 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9175 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9176 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9177 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9179 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9181
91822014-05-26 Andreas Schwab <schwab@suse.de>
9183
9184 [BZ #16984]
9185 * locale/programs/repertoire.c (repertoire_read): Add slash
9186 between I18NPATH element and file name.
9187 * locale/programs/locfile.c (locfile_read): Likewise.
9188
91892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9190
9191 * nptl/pthread_mutexattr_settype.c
9192 (__pthread_mutexattr_settype):
9193 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9194
91952014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9196
9197 * nptl/tst-mutex5 (do_test):
9198 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9199
92002014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9201
9202 * benchtests/README: Document 'init' directive.
9203 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9204 BENCH_INIT.
9205 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9206 (parse_file): Recognize 'init' directive.
9207
92082014-05-26 Kyle McMartin <kyle@redhat.com>
9209
9210 [BZ #16796]
9211 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9212 alignment of struct pthread.
9213
92142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9215
9216 [BZ #16878]
9217 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9218 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9219 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9220 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9221
92222014-05-25 Richard Henderson <rth@twiddle.net>
9223
9224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9225 (SINGLE_THREAD_P_PIC): Remove.
9226 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9227 (SINGLE_THREAD_P_PIC): Remove.
9228
9229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9230 branch to syscall error ...
9231 (PSEUDO): ... here.
9232 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9233 from __local_syscall_error to .Lsyscall_error.
9234 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9235 (SYSCALL_ERROR): Update label name.
9236
9237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9238 Do not use DOARGS/UNDOARGS.
9239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9240 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9241 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9242 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9243 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9244
9245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9246 block comment.
9247
9248 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9249 define if !NOT_IN_libc.
9250 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9251 define with non-default symbol versions.
9252
92532014-05-23 Richard Henderson <rth@twiddle.net>
9254
9255 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9256 (vfork, __vfork): Define via compat_symbol.
9257
9258 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9259 [!HAVE_IFUNC] (vfork_compat): Remove.
9260 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9261
92622014-05-23 Joseph Myers <joseph@codesourcery.com>
9263
9264 [BZ #16978]
9265 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9266 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9267 variable.
9268
92692014-05-23 Richard Henderson <rth@twiddle.net>
9270
9271 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9272 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9273 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9274 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9275
9276 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9277 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9278 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9279 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9280 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9281 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9282 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9283 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9284 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9285 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9286 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9287 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9288 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9289 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9290 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9291 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9313 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9315 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9316 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9317 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9318 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9319 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9320 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9321 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9322 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9323 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9324 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9325 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9327 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9329 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9331 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9332
9333 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9334 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9335 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9336 before exiting on error.
9337 (__libc_vfork): New strong alias.
9338 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9339 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9340
9341 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9342 that was previously under [RESET_PID].
9343 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9344
9345 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9346
93472014-05-23 Joseph Myers <joseph@codesourcery.com>
9348
9349 [BZ #16977]
9350 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9351 value when x - 1 is zero.
9352 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9353 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9354 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9355 0.0L for an argument of 1.0L.
9356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9357 Likewise.
9358 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9359 value when x - 1 is zero.
9360 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9361 * sysdeps/i386/fpu/libm-test-ulps: Update.
9362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9363
93642014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9365
9366 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9367 alphasort and versionsort.
9368
93692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9370
9371 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9372 macro.
9373 [copysignf]: Likewise.
9374
93752014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9376
9377 * crypt/md5-crypt.c: Fix formatting.
9378
93792014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9380
9381 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9382 (b64_from_24bit): New function.
9383
93842014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9385
9386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9387 libc_hidden_builtin_def to ifunc.
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9389 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9390
93912014-05-21 Roland McGrath <roland@hack.frob.com>
9392
9393 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9394 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9395
93962014-05-21 Joseph Myers <joseph@codesourcery.com>
9397
9398 * nscd/Depend (linuxthreads): Remove.
9399 (nptl): Add.
9400 * resolv/Depend (linuxthreads): Remove.
9401 * rt/Depend (linuxthreads): Remove.
9402
9403 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9404 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9405 $(common-objpfx)elf/.
9406 (link-libc-before-gnulib): Likewise.
9407 (elfobjdir): Remove variable.
9408 * Makefile (install): Use $(elf-objpfx) instead of
9409 $(common-objpfx)elf/.
9410 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9411 $(elfobjdir)/.
9412 (link-libc-deps): Likewise.
9413 ($(common-objpfx)libc.so): Likewise.
9414 ($(common-objpfx)linkobj/libc.so): Likewise.
9415 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9416 instead of $(common-objpfx)elf/.
9417 (symbolic-link-list): Likewise.
9418 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9419 [$(cross-compiling) = no]: Likewise.
9420 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9421 $(elfobjdir)/.
9422 (static-gnulib-arch): Likewise.
9423 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9424 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9425 $(common-objpfx)elf/.
9426
94272014-05-21 Richard Henderson <rth@redhat.com>
9428
9429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9430 (SINGLE_THREAD_P): Use the correct width load. Fold
9431 into the ldr offset.
9432
9433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9434 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9435
94362014-05-20 Joseph Myers <joseph@codesourcery.com>
9437
9438 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9439 (libgcc_s_resume): Use __attribute_used__.
9440 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9441 Likewise.
9442
94432014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9444
9445 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9446 optimization when used with float constants.
9447
9448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9449
94502014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9451
9452 [BZ #16915]
9453 * locale/nl_langinfo_l.c: Make direct reference to every
9454 _nl_current_CATEGORY symbol.
9455 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9456 (tests-static): Add tst-langinfo-static.
9457 (tests-special): Add tst-langinfo-static.out.
9458 ($(objpfx)tst-langinfo.out): Redirect output.
9459 ($(objpfx)tst-langinfo-static.out): New.
9460 * localedata/tst-langinfo.sh: Send output to stdout.
9461 * localedata/tst-langinfo-static.c: New file.
9462
9463 [BZ #16965]
9464 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9465 when the shift amount is modulo the limb size.
9466
94672014-05-20 Richard Henderson <rth@redhat.com>
9468
9469 [BZ #16967]
9470 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9471 Change type of sa_flags from unsigned int to int.
9472
9473 [BZ #16966]
9474 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9475
9476 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9477
94782014-05-20 Will Newton <will.newton@linaro.org>
9479
9480 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9481 Test the return value of the system call in the nocancel case.
9482
94832014-05-20 Will Newton <will.newton@linaro.org>
9484 Yvan Roux <yvan.roux@linaro.org>
9485
9486 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9487 #include of asm/ptrace.h.
9488 (PTRACE_GET_THREAD_AREA): Remove #undef.
9489 (PTRACE_GETHBPREGS): Likewise.
9490 (PTRACE_SETHBPREGS): Likewise.
9491 (struct user_regs_struct): New structure.
9492 (struct user_fpsimd_struct): New structure.
9493 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9494 #include of asm/ptrace.h and second #include of sys/user.h.
9495 (PTRACE_GET_THREAD_AREA): Remove #undef.
9496 (PTRACE_GETHBPREGS): Likewise.
9497 (PTRACE_SETHBPREGS): Likewise.
9498 (ELF_NGREG): Use new struct user_regs_struct.
9499 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9500
95012014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9505
95062014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9507
9508 [BZ #16958]
9509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9510 membar to avoid block loads/stores to overlap previous stores.
9511
95122014-05-17 Richard Henderson <rth@redhat.com>
9513
9514 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9515 Create the __##syscall_name##_nocancel entry point.
9516 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9517 Remove; let the sysdep-cancel.h code create it.
9518
95192014-05-17 David S. Miller <davem@davemloft.net>
9520
9521 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9522 Protect with __USE_GNU.
9523 (TIOCSET_TEMPT): Likewise.
9524 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9525 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9526 these are already provided in bits/ioctl-types.h
9527
95282014-05-16 Roland McGrath <roland@hack.frob.com>
9529
9530 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9531 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9532
9533 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9534 Use wait4 regardless of [__NR_waitpid].
9535
95362014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9537
9538 PR libgcc/60166
9539 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9540 (_FP_NANSIGN_Q): Set the quiet bit.
9541
95422014-05-16 Joseph Myers <joseph@codesourcery.com>
9543
9544 * benchtests/Makefile
9545 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9546 not $(common-objpfx)math/libm.so.
9547 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9548 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9549 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9550 $(common-objpfx)dlfcn/libdl.so.
9551 ($(objpfx)tst-audit8): Depend on $(libm), not
9552 $(common-objpfx)math/libm.so.
9553 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9554 not $(common-objpfx)dlfcn/libdl.so.
9555 * math/Makefile
9556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9557 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9558 [$(build-shared) = yes].
9559 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9560 $(common-objpfx)nptl/libpthread.so.
9561 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9562 $(common-objpfx)math/libm.so$(libm.so-version) or
9563 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9564 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9565 $(common-objpfx)dlfcn/libdl.so.
9566 * setjmp/Makefile (link-libm): Remove variable.
9567 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9568 * stdio-common/Makefile (link-libm): Remove variable.
9569 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9570 * stdlib/Makefile (link-libm): Remove variable.
9571 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9572 ($(objpfx)tst-strtod-round): Likewise.
9573 ($(objpfx)tst-tininess): Likewise.
9574 ($(objpfx)tst-strtod-underflow): Likewise.
9575 ($(objpfx)tst-strtod6): Likewise.
9576 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9577 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9578 $(common-objpfx)dlfcn/libdl.so.
9579
95802014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9581
9582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9583 BSD terminal modes definitions.
9584
95852014-05-16 Roland McGrath <roland@hack.frob.com>
9586
9587 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9588 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9589
9590 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9591 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9592 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9593 Don't do #include_next.
9594 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9595 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9596 Don't do #include_next.
9597 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9598 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9599 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9600 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9601
96022014-05-16 Allan McRae <allan@archlinux.org>
9603
9604 * po/sv.po: Update Swedish translation from translation project.
9605
9606 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9607 in sed expression.
9608
96092014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9610
9611 [BZ #16917]
9612 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9613 errno if the TIOCGPTN ioctl fails with an error different than
9614 EINVAL.
9615 * login/tst-ptsname.c: New file.
9616 * login/Makefile (tests): Add tst-ptsname.
9617
9618 [BZ #16943]
9619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9620 and prlimit64.
9621
96222014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9623
9624 [BZ #16849]
9625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9626 herrno to return EAI_AGAIN.
9627
96282014-05-14 Roland McGrath <roland@hack.frob.com>
9629
9630 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9631 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9632 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9633 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9634 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9635 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9650 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9651 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9653 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9655 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9656 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9657 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9659 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9661 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9663 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9668 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9672 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9674 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9676 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9678 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9680 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9682 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9684 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9686 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9688 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9690 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9692 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9697 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9699 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9701 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9703 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9707 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9709 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9713 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9715 Moved ...
9716 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9718 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9719
9720 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9721 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9722 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9723 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9724 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9725 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9726 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9727 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9728 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9729 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9730 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9731 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9732 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9733 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9734 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9736 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9737 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9738 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9739 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9740 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9741 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9742 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9743 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9744 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9745 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9746 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9747 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9748 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9749 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9750 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9751
9752 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9753 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9754
9755 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9756 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9757 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9758 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9759 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9761 Moved ...
9762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9764 Moved ...
9765 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9767 Moved ...
9768 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9769 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9770 Moved ...
9771 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9772 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9773 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9775 Moved ...
9776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9777 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9778 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9780 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9781 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9782 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9784 Moved ...
9785 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9787 Moved ...
9788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9789 ... here.
9790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9791 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9793 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9795 Moved ...
9796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9797 ... here.
9798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9799 Moved ...
9800 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9801 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9802 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9803 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9804 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9806 Moved ...
9807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9809 Moved ...
9810 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9812 Moved ...
9813 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9814 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9815 Moved ...
9816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9817 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9818 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9820 Moved ...
9821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9822 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9823 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9825 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9826 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9827 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9829 Moved ...
9830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9832 Moved ...
9833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9834 ... here.
9835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9836 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9837 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9838 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9840 Moved ...
9841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9842 ... here.
9843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9844 Moved ...
9845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9846 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9847 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9848 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9849 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9850 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9851 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9852 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9853 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9855 Moved ...
9856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9857 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9858 Moved ...
9859 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9861 Moved ...
9862 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9866 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9867 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9868 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9869 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9871 Moved ...
9872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9874 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9876 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9878 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9880 Moved ...
9881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9883 Moved ...
9884 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9885 ... here.
9886 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9887 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9889 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9891 Moved ...
9892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9893 ... here.
9894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9895 Moved ...
9896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9897 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9898 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9899 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9900 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9901 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9902 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9904 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9905 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9906 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9907
9908 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9909 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9910
9911 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9912 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9913
9914 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9915 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9916 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9918 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9919 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9920 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9922 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9928 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9930 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9932 Moved ...
9933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9937 Moved ...
9938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9942 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9946 Moved ...
9947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9949 Moved ...
9950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9956 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9957 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9958 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9959 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9960 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9961 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9962 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9964 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9965 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9966 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9967
9968 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9969 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9970 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9971 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9972 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9973
9974 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9975 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9976 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9977 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9978 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9979 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9980 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9981 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9982 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9983 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9984
9985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9987
9988 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9989 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9990 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9991 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9992 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9993 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9994 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9995 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9996 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9997 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9998 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9999 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10001 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10003 Update #include.
10004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10005 Likewise.
10006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10007 Likewise.
10008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10009 Likewise.
10010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10011 Likewise.
10012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10013 Likewise.
10014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10015 Likewise.
10016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10017 Likewise.
10018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10019 Likewise.
10020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10021 Likewise.
10022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10032 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10033 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10035 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10037
10038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10039 that was previously under [RESET_PID].
10040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10041 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10042 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10043
10044 * sysdeps/i386/nptl/Implies: New file.
10045 * sysdeps/x86_64/nptl/Implies: New file.
10046 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10047 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10048 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10049 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10050
10051 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10052 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10053 (__libc_vfork): New strong alias.
10054 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10055 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10056
10057 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10058 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10059 (__libc_vfork): New strong alias.
10060 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10061 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10062
10063 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10064 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10065 (__libc_vfork): New strong alias.
10066 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10067 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10068 * nptl/pt-vfork.c: New file.
10069 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10070 (libpthread: GLIBC_2.20): New version set (empty).
10071
100722014-05-14 Will Newton <will.newton@linaro.org>
10073
10074 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10075 rather than #if.
10076
100772014-05-14 Joseph Myers <joseph@codesourcery.com>
10078
10079 [BZ #16564]
10080 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10081 arguments with exponent 65 or above.
10082 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10083 arguments 0x1p113L or above.
10084 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10085 to arguments 0x1p107L or above.
10086 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10087 positive arguments with exponent 65 or above.
10088 * math/auto-libm-test-in: Add more tests of log1p.
10089 * math/auto-libm-test-out: Regenerated.
10090
10091 [BZ #16928]
10092 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10093 non-finite arguments is +0.
10094 * math/s_cacosf.c (__cacosf): Likewise.
10095 * math/s_cacosl.c (__cacosl): Likewise.
10096 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10099
10100 [BZ #16927]
10101 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10102 value.
10103 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10104 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10105 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10106 for explicit high bit of mantissa when testing for argument equal
10107 to 1.
10108 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10109 * sysdeps/i386/fpu/libm-test-ulps: Update.
10110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10111
10112 [BZ #16516]
10113 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10114 (__erf): Scale by 16 instead of 8 in potentially underflowing
10115 case. Ensure exception if result actually underflows.
10116 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10117 (__erff): Scale by 16 instead of 8 in potentially underflowing
10118 case. Ensure exception if result actually underflows.
10119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10120 (efx8): Remove variable.
10121 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10122 case. Ensure exception if result actually underflows.
10123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10124 (efx8): Remove variable.
10125 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10126 case. Ensure exception if result actually underflows.
10127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10128 (efx8): Remove variable.
10129 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10130 case. Ensure exception if result actually underflows.
10131 * math/auto-libm-test-in: Add more tests of erf.
10132 * math/auto-libm-test-out: Regenerated.
10133
101342014-05-14 Andreas Schwab <schwab@suse.de>
10135
10136 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10137 Remove code conditionalized on USE___THREAD.
10138
10139 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10140 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10141 not definedness.
10142
101432014-05-14 Joseph Myers <joseph@codesourcery.com>
10144
10145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10146 Define unconditionally.
10147 (__ASSUME_O_CLOEXEC): Likewise.
10148 (__ASSUME_SOCK_CLOEXEC): Likewise.
10149 (__ASSUME_IN_NONBLOCK): Likewise.
10150 (__ASSUME_PIPE2): Likewise.
10151 (__ASSUME_EVENTFD2): Likewise.
10152 (__ASSUME_SIGNALFD4): Likewise.
10153 (__ASSUME_DUP3): Likewise.
10154 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10155 (__ASSUME_DUP3): Do not define.
10156 (__ASSUME_EVENTFD2): Likewise.
10157 (__ASSUME_IN_NONBLOCK): Likewise.
10158 (__ASSUME_O_CLOEXEC): Likewise.
10159 (__ASSUME_PIPE2): Likewise.
10160 (__ASSUME_SIGNALFD4): Likewise.
10161 (__ASSUME_SOCK_CLOEXEC): Likewise.
10162 (__ASSUME_UTIMES): Undefine.
10163 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10164 (__ASSUME_UTIMES): Do not define.
10165 (__ASSUME_O_CLOEXEC): Likewise.
10166 (__ASSUME_SOCK_CLOEXEC): Likewise.
10167 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10168 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10169 0x020621].
10170 (__ASSUME_PIPE2): Likewise.
10171 (__ASSUME_EVENTFD2): Likewise.
10172 (__ASSUME_SIGNALFD4): Likewise.
10173 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10174 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10175 Do not define.
10176 (__ASSUME_EVENTFD2): Likewise.
10177 (__ASSUME_SIGNALFD4): Likewise.
10178 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10179 (__ASSUME_32BITUIDS): Likewise.
10180 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10181 (__ASSUME_IPC64): Likewise.
10182 (__ASSUME_ST_INO_64_BIT): Likewise.
10183 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10184 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10185 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10186 (__ASSUME_UTIMES): Do not define.
10187 (__ASSUME_PSELECT): Likewise.
10188 (__ASSUME_PPOLL): Likewise.
10189 (__ASSUME_O_CLOEXEC): Likewise.
10190 (__ASSUME_SOCK_CLOEXEC): Likewise.
10191 (__ASSUME_IN_NONBLOCK): Likewise.
10192 (__ASSUME_PIPE2): Likewise.
10193 (__ASSUME_EVENTFD2): Likewise.
10194 (__ASSUME_SIGNALFD4): Likewise.
10195 (__ASSUME_DUP3): Likewise.
10196 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10197 (__ASSUME_UTIMES): Likewise.
10198 (__ASSUME_O_CLOEXEC): Likewise.
10199 (__ASSUME_SOCK_CLOEXEC): Likewise.
10200 (__ASSUME_IN_NONBLOCK): Likewise.
10201 (__ASSUME_PIPE2): Likewise.
10202 (__ASSUME_EVENTFD2): Likewise.
10203 (__ASSUME_SIGNALFD4): Likewise.
10204 (__ASSUME_DUP3): Likewise.
10205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10206 (__ASSUME_UTIMES): Likewise.
10207 (__ASSUME_O_CLOEXEC): Likewise.
10208 (__ASSUME_SOCK_CLOEXEC): Likewise.
10209 (__ASSUME_IN_NONBLOCK): Likewise.
10210 (__ASSUME_PIPE2): Likewise.
10211 (__ASSUME_EVENTFD2): Likewise.
10212 (__ASSUME_SIGNALFD4): Likewise.
10213 (__ASSUME_DUP3): Likewise.
10214 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10215 Likewise.
10216 (__ASSUME_UTIMES): Likewise.
10217 (__ASSUME_EVENTFD2): Likewise.
10218 (__ASSUME_SIGNALFD4): Likewise.
10219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10220 (__ASSUME_O_CLOEXEC): Likewise.
10221 (__ASSUME_SOCK_CLOEXEC): Likewise.
10222 (__ASSUME_IN_NONBLOCK): Likewise.
10223 (__ASSUME_PIPE2): Likewise.
10224 (__ASSUME_EVENTFD2): Likewise.
10225 (__ASSUME_SIGNALFD4): Likewise.
10226 (__ASSUME_DUP3): Likewise.
10227 (__ASSUME_UTIMES): Undefine.
10228
10229 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10230 feclearexcept. Remove symbol versioning code.
10231 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10232 symbol versioning code.
10233 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10234 symbol versioning code.
10235 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10236 feupdateenv. Remove symbol versioning code.
10237 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10238 fegetexceptflag. Remove symbol versioning code.
10239 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10240 fesetexceptflag. Remove symbol versioning code.
10241 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10242 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10243 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10244 (__posix_fadvise64_l32): Remove prototype.
10245 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10246 code.
10247
102482014-05-13 Roland McGrath <roland@hack.frob.com>
10249
10250 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10251 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10252 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10253 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10254
102552014-05-13 Sami Kerola <kerolasa@iki.fi>
10256
10257 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10258 current working directory
10259
102602014-05-13 Roland McGrath <roland@hack.frob.com>
10261
10262 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10263 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10264 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10265 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10266 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10267 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10268 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10269 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10271 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10273 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10274 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10275 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10276 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10277 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10279 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10283 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10285 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10286 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10287 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10291 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10293 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10295 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10296 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10297 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10298 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10299 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10300 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10301 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10302 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10303 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10304
10305 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10306 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10307
10308 * sysdeps/unix/sysv/linux/arm/Makefile
10309 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10310 Add rt-aeabi_unwind_cpp_pr1.
10311 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10312 Add nptl-aeabi_unwind_cpp_pr1.
10313 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10314 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10315 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10316 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10317 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10318 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10319
10320 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10321 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10322 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10323 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10324
10325 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10326 Deconditionalize the code that was previously under [RESET_PID].
10327 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10328
10329 * sysdeps/generic/exit-thread.h: New file.
10330 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10331 * include/unistd.h (__exit_thread): Remove declaration.
10332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10333 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10334 * csu/libc-start.c: Include <exit-thread.h>.
10335 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10336 * nptl/pthread_create.c: Include <exit-thread.h>.
10337 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10338 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10339 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10340 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10341 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10342 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10343 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10344 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10345 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10346 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10347 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10348 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10349 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10350 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10351 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10352 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10353 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10354
103552014-05-13 Andreas Schwab <schwab@suse.de>
10356
10357 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10358
103592014-05-12 Joseph Myers <joseph@codesourcery.com>
10360
10361 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10362 (__ASSUME_UTIMES): Do not condition on kernel version.
10363 (__ASSUME_PSELECT): Define unconditionally.
10364 (__ASSUME_PPOLL): Likewise.
10365 (__ASSUME_ATFCTS): Likewise.
10366 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10367 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10368 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10369 (__ASSUME_UTIMENSAT): Define unconditionally.
10370 (__ASSUME_PRIVATE_FUTEX): Likewise.
10371 (__ASSUME_FALLOCATE): Likewise.
10372 (__ASSUME_O_CLOEXEC): Likewise.
10373 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10374 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10375 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10376 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10377 (__ASSUME_IN_NONBLOCK): Likewise.
10378 (__ASSUME_PIPE2): Likewise.
10379 (__ASSUME_EVENTFD2): Likewise.
10380 (__ASSUME_SIGNALFD4): Likewise.
10381 (__ASSUME_DUP3): Likewise.
10382 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10383 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10384 (__ASSUME_AT_RANDOM): Likewise.
10385 (__ASSUME_PREADV): Likewise.
10386 (__ASSUME_PWRITEV): Likewise.
10387 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10388 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10389 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10390 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10391 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10393 (__ASSUME_O_CLOEXEC): Define unconditionally.
10394 (__ASSUME_PSELECT): Do not undefine conditionally.
10395 (__ASSUME_PPOLL): Likewise.
10396 (__ASSUME_ATFCTS): Likewise.
10397 (__ASSUME_SET_ROBUST_LIST): Likewise.
10398 (__ASSUME_UTIMENSAT): Likewise.
10399 (__ASSUME_FDATASYNC): Define unconditionally.
10400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10401 (__ASSUME_SIGFRAME_V2): Likewise.
10402 )__ASSUME_EVENTFD2): Likewise.
10403 (__ASSUME_SIGNALFD4): Likewise.
10404 (__ASSUME_PSELECT): Do not undefine conditionally.
10405 (__ASSUME_PPOLL): Likewise.
10406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10407 (__ASSUME_PSELECT): Define unconditionally.
10408 (__ASSUME_PPOLL): Likewise.
10409 (__ASSUME_O_CLOEXEC): Likewise.
10410 (__ASSUME_SOCK_CLOEXEC): Likewise.
10411 (__ASSUME_IN_NONBLOCK): Likewise.
10412 (__ASSUME_PIPE2): Likewise.
10413 (__ASSUME_EVENTFD2): Likewise.
10414 (__ASSUME_SIGNALFD4): Likewise.
10415 (__ASSUME_DUP3): Likewise.
10416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10417 (__ASSUME_O_CLOEXEC): Likewise.
10418 (__ASSUME_SOCK_CLOEXEC): Likewise.
10419 (__ASSUME_IN_NONBLOCK): Likewise.
10420 (__ASSUME_PIPE2): Likewise.
10421 (__ASSUME_EVENTFD2): Likewise.
10422 (__ASSUME_SIGNALFD4): Likewise.
10423 (__ASSUME_DUP3): Likewise.
10424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10425 (__ASSUME_EVENTFD2): Likewise.
10426 (__ASSUME_SIGNALFD4): Likewise.
10427 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10428
104292014-05-12 Andreas Schwab <schwab@suse.de>
10430
10431 [BZ #16932]
10432 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10433 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10434 than maximum RPC packet size.
10435 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10436 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10437 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10438 (_nss_nis_getservbyport_r): Likewise.
10439
104402014-05-12 Will Newton <will.newton@linaro.org>
10441
10442 * malloc/Makefile (tests): Add tst-mallopt.
10443 * malloc/tst-mallopt.c: New file.
10444
104452014-05-09 Roland McGrath <roland@hack.frob.com>
10446
10447 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10448 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10449
104502014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451
10452 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10453 (tst-tlsmod6.so): Likewise.
10454
104552014-05-09 Roland McGrath <roland@hack.frob.com>
10456
10457 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10458
104592014-05-09 Joseph Myers <joseph@codesourcery.com>
10460
10461 [BZ #16064]
10462 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10463 and <dl-procinfo.h>.
10464 (__fegetenv): Save SSE state in envp->__eip if supported.
10465 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10466 envp->__eip if supported.
10467 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10468 and <dl-procinfo.h>.
10469 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10470 __data_offset and __data_selector in environment to 0. Set SSE
10471 state if supported.
10472 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10473 test-fenv-sse.
10474 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10475 -mfpmath=sse.
10476 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10477
104782014-05-09 Will Newton <will.newton@linaro.org>
10479
10480 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10481 and libc_relro_required for ARM.
10482 * sysdeps/arm/preconfigure: Regenerate.
10483
104842014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10485 Stefan Liebler <stli@linux.vnet.ibm.com>
10486
10487 * config.make.in (enable-lock-elision): New Makefile variable.
10488 * configure.ac: Likewise.
10489 * configure: Regenerate.
10490 * sysdeps/s390/configure.ac:
10491 Add check for gcc transactions support.
10492 * sysdeps/s390/configure: Regenerate.
10493 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10494 Build elision files if enabled.
10495 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10496 Add lock elision support for s390.
10497 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10498 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10499 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10500 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10501 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10502 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10504 Likewise.
10505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10506 Likewise.
10507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10508 Likewise.
10509 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10510 Likewise.
10511 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10512 (__lll_timedlock_elision, __lll_lock_elision)
10513 (__lll_unlock_elision, __lll_trylock_elision)
10514 (lll_timedlock_elision, lll_lock_elision)
10515 (lll_unlock_elision, lll_trylock_elision): Add.
10516 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10517 (pthread_mutex_t): Add lock elision support for s390.
10518
105192014-05-14 Wilco <wdijkstr@arm.com>
10520
10521 * sysdeps/arm/fclrexcpt.c: Cleanup.
10522 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10523 * sysdeps/arm/feenablxcpt.c: Cleanup.
10524 * sysdeps/arm/fegetenv.c: Cleanup.
10525 * sysdeps/arm/fegetexcept.c: Cleanup.
10526 * sysdeps/arm/fegetround.c: Cleanup.
10527 * sysdeps/arm/feholdexcpt.c: Cleanup.
10528 * sysdeps/arm/fesetenv.c: Cleanup.
10529 * sysdeps/arm/fesetround.c: Cleanup.
10530 * sysdeps/arm/feupdateenv.c: Cleanup.
10531 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10532 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10533 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10534 * sysdeps/arm/ftestexcept.c: Cleanup.
10535 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10536 * sysdeps/arm/setfpucw.c: Cleanup.
10537
105382014-05-09 Will Newton <will.newton@linaro.org>
10539
10540 * sysdeps/arm/armv7/strcmp.S: New file.
10541 * NEWS: Mention addition of ARMv7 optimized strcmp.
10542
105432014-05-08 Roland McGrath <roland@hack.frob.com>
10544
10545 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10546 look for %.ac rather than %.in.
10547
10548 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10549 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10550 * sysdeps/mach/hurd/configure: Regenerated.
10551 * sysdeps/unix/sysv/linux/configure: Regenerated.
10552
10553 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10554
105552014-05-07 Steve Ellcey <sellcey@mips.com>
10556
10557 [BZ# 16922]
10558 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10559 (LONG_SUB): Ditto.
10560 (PTR_SUB): Ditto.
10561
105622014-05-07 Andreas Schwab <schwab@suse.de>
10563
10564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10565 when skipping over non-matching result from nscd.
10566
105672014-05-07 Ondřej Bílka <neleai@seznam.cz>
10568
10569 [BZ #16876]
10570 * nptl/sockperf.c (client): Check socket return value.
10571
10572 [BZ #16877]
10573 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10574 nscd security class.
10575
105762014-05-06 Roland McGrath <roland@hack.frob.com>
10577
10578 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10579 * sysdeps/arm/unwind.h: ... here.
10580
105812014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10582
10583 [BZ# 16916]
10584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10585 Define.
10586
105872014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10588
10589 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10591 multiarch strncpy for PPC64.
10592 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10593 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10595 multiarch optimizations.
10596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10597 (__libc_ifunc_impl_list): Likewise.
10598 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10600 multiarch stpncpy for PPC64.
10601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10603
106042014-05-06 Andreas Schwab <schwab@suse.de>
10605
10606 [BZ #16912]
10607 * gmon/mcount.c (_MCOUNT_DECL): Use
10608 atomic_compare_and_exchange_bool_acq instead of
10609 catomic_compare_and_exchange_bool_acq.
10610
106112014-05-05 Roland McGrath <roland@hack.frob.com>
10612
10613 * elf/Makefile (others, install-bin): Remove pldd.
10614 (pldd-modules): Variable removed.
10615 ($(objpfx)pldd): Target removed.
10616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10617 (others, install-bin): Append pldd here.
10618 ($(objpfx)pldd): New target.
10619
10620 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10621 to 0, so the first #if test emitted later doesn't see it undefined.
10622 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10623 * sysdeps/gnu/errlist.c: Regenerated.
10624
106252014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10626
10627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10628 [libc_hidden_builtin_def]: Define to empty value.
10629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10630 [libc_hidden_builtin_def]: Likewise.
10631 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10632 [libc_hidden_builtin_def]: Likewise.
10633 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10634 [libc_hidden_builtin_def]: Likewise.
10635 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10636 __redirect_memcpy and define ifunc as default hidden symbol.
10637 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10638 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10639
106402014-05-04 Adam Conrad <adconrad@0c3.net>
10641
10642 * locale/iso-4217.def: Reintroduce XDR currency.
10643
106442014-05-04 Allan McRae <allan@archlinux.org>
10645
10646 * po/eo.po: Update Esperanto translation from translation project.
10647
106482014-05-02 Carlos O'Donell <carlos@redhat.com>
10649
10650 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10651 and FEATURE_INDEX_MAX to 1.
10652 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10653
106542014-05-01 Steve Ellcey <sellcey@mips.com>
10655
10656 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10657 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10658 * iconvdata/big5.c (ONE_DIRECTION): Define.
10659 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10660 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10661 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10662 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10663 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10664 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10665 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10666 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10667 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10668 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10669 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10670 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10671 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10672 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10673 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10674 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10675 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10676 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10677 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10678 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10679 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10680 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10681 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10682 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10683 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10684 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10685 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10686 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10687 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10688 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10689 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10690 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10691 * iconvdata/johab.c (ONE_DIRECTION): Define.
10692 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10693 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10694 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10695 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10696 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10697 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10698 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10699 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10700 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10701 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10702
107032014-05-01 Roland McGrath <roland@hack.frob.com>
10704
10705 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10706 (_IO_JUMPS_OFFSET): Define to 0.
10707
10708 * nptl/sysdeps/pthread/bits/libc-lock.h
10709 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10710 (__libc_lock_define_initialized_recursive): Always define using
10711 initializer. Modern compilers treat uninitialized (implicit zero) and
10712 explicit zero initializers the same (i.e. put the datum in bss).
10713
107142014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10715
10716 * nscd/nscd-client.h: Include <string.h>.
10717
107182014-05-01 David S. Miller <davem@davemloft.net>
10719
10720 [BZ #16885]
10721 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10722 multiple zero bytes exist at the end of a string.
10723 Reported by Aurelien Jarno <aurelien@aurel32.net>
10724
10725 * string/test-strcmp.c (check): Add explicit test for situations where
10726 there are multiple zero bytes after the first.
10727
107282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10729
10730 [BZ #16890]
10731 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10732 when compiling wprintf.
10733 * stdio-common/tstdiomisc.c (t3): New function.
10734 (main): Call it.
10735
107362014-05-01 Steve Ellcey <sellcey@mips.com>
10737
10738 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10739 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10740 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10741 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10742
107432014-05-01 Steve Ellcey <sellcey@mips.com>
10744
10745 * stdlib/longlong.h: Updated from GCC.
10746
107472014-05-01 Will Newton <will.newton@linaro.org>
10748 Bernard Ogden <bernie.ogden@linaro.org>
10749
10750 * NEWS: Update fixed bug list.
10751
10752 [BZ #15119]
10753 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10754
107552014-04-30 David S. Miller <davem@davemloft.net>
10756
10757 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10758 (libc_feholdexcept_setround_sparc_ctx): New function.
10759 (libc_fesetenv_sparc_ctx): Likewise.
10760 (libc_feupdateenv_sparc_ctx): Likewise.
10761 (libc_feholdsetround_sparc_ctx): Likewise.
10762 (libc_feholdexcept_setround_ctx): Define.
10763 (libc_feholdexcept_setroundf_ctx): Likewise.
10764 (libc_feholdexcept_setroundl_ctx): Likewise.
10765 (libc_fesetenv_ctx): Likewise.
10766 (libc_fesetenvf_ctx): Likewise.
10767 (libc_fesetenvl_ctx): Likewise.
10768 (libc_feupdateenv_ctx): Likewise.
10769 (libc_feupdateenvf_ctx): Likewise.
10770 (libc_feupdateenvl_ctx): Likewise.
10771 (libc_feresetround_ctx): Likewise.
10772 (libc_feresetroundf_ctx): Likewise.
10773 (libc_feresetroundl_ctx): Likewise.
10774 (libc_feholdsetround_ctx): Likewise.
10775 (libc_feholdsetroundf_ctx): Likewise.
10776 (libc_feholdsetroundl_ctx): Likewise.
10777
10778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10779 with __USE_GNU instead of XOPEN cpp guards.
10780
10781 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10782 0.
10783
10784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10785 with XOPEN cpp guards.
10786
107872014-04-30 Julian Brown <julian@codesourcery.com>
10788
10789 [BZ #16888]
10790 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10791 handling.
10792
107932014-04-30 Joseph Myers <joseph@codesourcery.com>
10794
10795 [BZ #9894]
10796 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10797 Change to 2.6.32.
10798 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10799 * sysdeps/unix/sysv/linux/configure: Regenerated.
10800 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10801 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10802 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10803 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10804 * README: Update reference to required Linux kernel version.
10805 * manual/install.texi (Linux): Update reference to required Linux
10806 kernel headers version.
10807 * INSTALL: Regenerated.
10808
10809 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10810 header inclusion.
10811 [POSIX] (limits.h): Likewise.
10812 [POSIX] (math.h): Likewise.
10813 [POSIX] (sys/wait.h): Likewise.
10814 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10815 function.
10816 [POSIX] (stddef.h): Do not allow header inclusion.
10817
108182014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10819
10820 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10821
108222014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10823
10824 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10825 Return immediately after lll_futex_wake.
10826
108272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10828
10829 [BZ #16791]
10830 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10831 structure.
10832 (datahead_init_pos): Call datahead_init_common early.
10833 (datahead_init_neg): Likewise.
10834
10835 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10836 datahead_init_neg): New functions.
10837 * nscd/aicache.c (addhstaiX): Use them.
10838 * nscd/grpcache.c (cache_addgr): Likewise.
10839 * nscd/hstcache.c (cache_addhst): Likewise.
10840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10841 * nscd/netgroupcache.c (do_notfound): Likewise.
10842 (addgetnetgrentX): Likewise.
10843 (addinnetgrX): Likewise.
10844 * nscd/pwdcache.c (cache_addpw): Likewise.
10845 * nscd/servicescache.c (cache_addserv): Likewise.
10846
108472014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10848 Atsushi Onoe <atsushi@onoe.org>
10849
10850 [BZ #14308]
10851 [BZ #12994]
10852 [BZ #13651]
10853 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10854 one response is valid.
10855 * resolv/res_send.c (send_dg): Check for validity of other
10856 response if the current response is a referral.
10857
108582014-04-29 Steve Ellcey <sellcey@mips.com>
10859
10860 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10861
108622014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10863
10864 [BZ #16823]
10865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10866 Always divide by positive zero when computing -Inf result.
10867 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10868 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10869
108702014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871
10872 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10873 FPSCR if value do not change.
10874 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10875 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10876 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10877 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10878 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10879 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10880 function.
10881
108822014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10883
10884 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10885 * sysdeps/unix/sysv/linux/hppa: Move directory from
10886 ports/systeps/unix/sysv/linux/hppa.
10887 * README: Update listing for hppa-*-linux-gnu.
10888
108892014-04-28 Ondřej Bílka <neleai@seznam.cz>
10890
10891 [BZ #16754]
10892 * manual/stdio.texi (Hook functions): Fix types of stream hook
10893 functions.
10894 [BZ #16854]
10895 * socket/sys/socket.h: Fix typo in comment.
10896
108972014-04-28 Wilco <wdijkstr@arm.com>
10898
10899 * sysdeps/arm/fenv_private.h: New file.
10900 * sysdeps/arm/math_private.h: New file.
10901 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10902
109032014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10904
10905 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10906 with __int128_t.
10907 (La_x86_64_retval): Likewise.
10908
109092014-04-24 Ian Bolton <ian.bolton@arm.com>
10910
10911 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10912 fpsr if value didn't change.
10913 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10914 to fpcr if value didn't change.
10915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10916 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10917 fpsr or fpcr if value didn't change.
10918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10919 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10920 fpcr if value didn't change.
10921 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10922 to fpsr if value didn't change.
10923
109242014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10925
10926 * nptl/tst-sem3.c: Use test-skeleton.c
10927 (main): Rename to do_test. Use return instead of
10928 exit.
10929 * nptl/tst-sem4.c: Use test-skeleton.c
10930 (main): Rename to do_test.
10931
109322014-04-22 David S. Miller <davem@davemloft.net>
10933
10934 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10935 (struct sigaction): New struct member __glibc_reserved0, change
10936 type of sa_flags to int.
10937
109382014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10939
10940 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10941 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10942
109432014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10944
10945 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10946 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10947
109482014-04-22 Will Newton <will.newton@linaro.org>
10949 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10950
10951 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10952 (__longjmp): Add longjmp and longjmp_target SystemTap
10953 probes.
10954 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10955 (__sigsetjmp): Add setjmp SystemTap probe.
10956
109572014-04-17 Carlos O'Donell <carlos@redhat.com>
10958
10959 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10960 match manual order.
10961
109622014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10963
10964 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10965
10966 * sysdeps/powerpc/fpu/fenv_private.h
10967 (libc_feholdexcept_setroundl_ctx): Define to
10968 libc_feholdexcept_setround_ppc_ctx.
10969 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10970 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10971 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10972 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10973
109742014-04-17 Ian Bolton <ian.bolton@arm.com>
10975
10976 * sysdeps/aarch64/math-tests.h: New file.
10977
109782014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10979
10980 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10981 New.
10982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10983 Check and set bit_AVX2_Usable.
10984 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10985 macro.
10986 (bit_AVX2): Likewise.
10987 (index_AVX2_Usable): Likewise.
10988 (CPUID_AVX2): Likewise.
10989 (HAS_AVX2): Likewise.
10990
109912014-04-17 Will Newton <will.newton@linaro.org>
10992
10993 * manual/setjmp.texi (System V contexts): Add note that
10994 calling setcontext on a context created by a call to a
10995 signal handler is undefined. Update text to note that
10996 setcontext from a signal handler is possible but not
10997 recommended.
10998
10999 [BZ #16629]
11000 * stdlib/tst-setcontext.c: Include signal.h.
11001 (main): Check that the signal stack before and
11002 after swapcontext is the same.
11003
11004 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11005 Re-implement to restore registers in user code and avoid
11006 rt_sigreturn system call.
11007
110082014-04-17 Wilco <wdijkstr@arm.com>
11009
11010 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11011 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11012 * math/test-fenv.c: Skip exception trap tests on targets which only
11013 support non-stop mode.
11014
110152014-04-17 Ian Bolton <ian.bolton@arm.com>
11016 Wilco Dijkstra <wilco.dijkstra@arm.com>
11017
11018 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11019 (libc_feholdsetround_aarch64_ctx)
11020 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11021 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11022 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11023 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11024 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11025 (libc_feresetround_noexl_ctx): Define.
11026
110272014-04-16 Richard Henderson <rth@redhat.com>
11028
11029 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11030
11031 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11032 unwind tables.
11033
11034 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11035 const from the non-libc, non-ldso copy.
11036
11037 * sysdeps/alpha/libm-test-ulps: Regenerate.
11038
110392014-04-16 Ian Bolton <ian.bolton@arm.com>
11040 Wilco Dijkstra <wilco.dijkstra@arm.com>
11041
11042 * sysdeps/aarch64/fpu/math_private.h: New file.
11043
110442014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11045
11046 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11047
110482014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11049
11050 [BZ #16275]
11051 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11052 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11054 Intel MPX bound registers before _dl_profile_fixup.
11055 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11056 registers after _dl_profile_fixup. Save and restore bound
11057 registers bnd0/bnd1 when calling _dl_call_pltexit.
11058 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11059 (LR_BND_OFFSET): Likewise.
11060 (LRV_BND0_OFFSET): Likewise.
11061 (LRV_BND1_OFFSET): Likewise.
11062
110632014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11064
11065 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11066 to...
11067 * sysdeps/mach/hurd/i386/tls.h: ... here.
11068 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11069 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11070 fields.
11071
110722014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11073
11074 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11075
110762014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11077
11078 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11079
110802014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11081
11082 [BZ #14770]
11083 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11084 * sysdeps/s390/configure: Regenerate.
11085
11086 [BZ #16824]
11087 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11088 Set round-to-nearest internally to reduce error accumulation.
11089
110902014-04-16 Alan Modra <amodra@gmail.com>
11091
11092 [BZ #16740]
11093 [BZ #16619]
11094 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11095 * math/libm-test.inc (frexp_test_data): Add tests.
11096 * NEWS: Update fixed bug list.
11097
110982014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11099
11100 * benchtests/Makefile: Depend on libraries in build directory.
11101 (bench-math): Separate out math tests.
11102 (bench-pthread): Separate out pthread tests.
11103 (bench): Include math and pthread tests.
11104
111052014-04-14 Carlos O'Donell <carlos@redhat.com>
11106
11107 [BZ #16831]
11108 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11109 _dl_debug_initialize.
11110
11111 * configure.ac: Remove SELinux header check.
11112 * configure: Regenerate.
11113 * nscd/selinux.c (perms): Array of const char* to permission names.
11114 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11115 default policy. Call string_to_security_class and string_to_av_perm to
11116 translate strings. Enforce default policy and call avs_has_perm with
11117 results of translated strings.
11118
111192014-04-13 David S. Miller <davem@davemloft.net>
11120
11121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11122
111232014-04-12 Allan McRae <allan@archlinux.org>
11124
11125 [BZ #16838]
11126 * manual/string.texi (Collation Functions): Fix qsort argument
11127 order in example.
11128 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11129
111302014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11131
11132 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11133 Make the test a no-op if there are no exceptions defined.
11134
111352014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11136
11137 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11138 enable-hardcoded-path-in-tests
11139
111402014-04-11 Will Newton <will.newton@linaro.org>
11141
11142 * benchtests/Makefile (extra-objs): Add json-lib.o.
11143 (bench-func): Tidy up JSON output.
11144 * benchtests/bench-skeleton.c: Include json-lib.h.
11145 (main): Use JSON library functions to do output of
11146 benchmark results.
11147 * benchtests/bench-timing-type.c (main): Output the
11148 timing type simply, leaving formatting to the user.
11149 * benchtests/json-lib.c: New file.
11150 * benchtests/json-lib.h: Likewise.
11151
111522014-04-11 Torvald Riegel <triegel@redhat.com>
11153
11154 [BZ #15215]
11155 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11156 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11157 memory barriers. Add comments.
11158 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11159 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11160 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11161 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11162 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11163 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11164
111652014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11166
11167 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11168 * sysdeps/s390/s390-64/configure.ac: ... this ...
11169 * sysdeps/s390/configure.ac: ... to here.
11170 * sysdeps/s390/s390-32/configure: Delete file.
11171 * sysdeps/s390/s390-64/configure: Delete file.
11172 * sysdeps/s390/configure: Regenerate.
11173
111742014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11175
11176 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11177
111782014-04-11 Will Newton <will.newton@linaro.org>
11179
11180 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11181 to zero if it is not defined elsewhere. (mtrim): Test
11182 the value of MALLOC_DEBUG with #if rather than #ifdef.
11183
111842014-04-10 Torvald Riegel <triegel@redhat.com>
11185
11186 * benchtests/pthread_once-inputs: New file.
11187 * benchtests/pthread_once-source.c: New file.
11188 * benchtests/README: Update documentation.
11189
111902014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11191 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 [BZ #16275]
11194 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11195 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11196 * sysdeps/x86_64/configure: Regenerated.
11197 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11198 macro.
11199 (REGISTER_SAVE_RAX): Likewise.
11200 (REGISTER_SAVE_RCX): Likewise.
11201 (REGISTER_SAVE_RDX): Likewise.
11202 (REGISTER_SAVE_RSI): Likewise.
11203 (REGISTER_SAVE_RDI): Likewise.
11204 (REGISTER_SAVE_R8): Likewise.
11205 (REGISTER_SAVE_R9): Likewise.
11206 (REGISTER_SAVE_BND0): Likewise.
11207 (REGISTER_SAVE_BND1): Likewise.
11208 (REGISTER_SAVE_BND2): Likewise.
11209 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11210 bound registers when calling _dl_fixup.
11211
112122014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11213
11214 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11215 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11216 of its definition.
11217 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11218 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11219 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11220 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11221 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11222 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11223 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11224
112252014-04-09 Peter Brett <peter@peter-b.co.uk>
11226
11227 [BZ #15514]
11228 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11229 pathconf(_PC_NAME_MAX).
11230
112312014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11232
11233 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11234 Remove macro usage.
11235 (__PTHREAD_SPINS): Move definition to ...
11236 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11237 (__PTHREAD_SPINS): ... here.
11238 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11239 (__PTHREAD_SPIN): Likewise.
11240 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11241 (__PTHREAD_SPIN): Likewise.
11242 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11243 (__PTHREAD_SPIN): Likewise.
11244 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11245 (__PTHREAD_SPIN): Likewise.
11246 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11247 (__PTHREAD_SPIN): Likewise.
11248 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11249 (__PTHREAD_SPIN): Likewise.
11250 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11251 (__PTHREAD_SPIN): Likewise.
11252 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11253 (__PTHREAD_SPIN): Likewise.
11254 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11255 (__PTHREAD_SPIN): Likewise.
11256 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11257 (__PTHREAD_SPIN): Likewise.
11258 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11259 (__PTHREAD_SPIN): Likewise.
11260 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11261 (__PTHREAD_SPIN): Likewise.
11262
11263 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11264 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11265 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11266 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11267 imply folder.
11268 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11269 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11270 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11271 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11272 correct imply path.
11273 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11274 strlen symbol for non multi-arch builds.
11275 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11276 missing hidden_def and weak_alias.
11277
112782014-04-08 Carlos O'Donell <carlos@redhat.com>
11279
11280 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11281
112822014-04-07 Will Newton <will.newton@linaro.org>
11283
11284 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11285 and contents. [!_LIBC] Remove #ifndef and contents.
11286 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11287 * string/memccpy.c (__memccpy): Use ANSI prototype.
11288 * string/memfrob.c (memfrob): Likewise.
11289 * string/strcoll.c (STRCOLL): Likewise.
11290 * string/strlen.c (strlen): Likewise.
11291 * string/strtok.c (STRTOK): Likewise.
11292 * string/strcat.c: Remove unused #include of memcopy.h.
11293 (strcat): Use ANSI prototype.
11294 * string/strchr.c: Remove unused #include of memcopy.h.
11295 (strchr): Use ANSI prototype.
11296 * string/strcmp.c: Remove unused #include of memcopy.h.
11297 (strcmp): Use ANSI prototype.
11298 * string/strcpy.c: Remove unused #include of memcopy.h.
11299 (strcpy): Use ANSI prototype.
11300
113012014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11302
11303 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11304 * config.make.in (config-extra-cppflags): Set it from
11305 libc_extra_cppflags.
11306 * configure.ac (libc_extra_cflags): Make it accumulate over
11307 configure fragments.
11308 (libc_extra_cppflags): New flag.
11309 * configure. Regenerate.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11311 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11312 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11314
11315 [BZ #16815]
11316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11317 result for FE_DOWNWARD rounding mode.
11318 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11319 Likewise.
11320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11321
113222014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11323
11324 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11325 in function argument name.
11326
113272014-04-03 David Svoboda <svoboda@cert.org>
11328
11329 [BZ #5666]
11330 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11331 explicitly.
11332
113332014-04-03 Roland McGrath <roland@hack.frob.com>
11334
11335 * elf/dl-unmap-segments.h: New file.
11336 * sysdeps/generic/ldsodefs.h
11337 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11338 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11339 * elf/dl-fptr.c: Likewise.
11340 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11341 * sysdeps/aarch64/tlsdesc.c: Likewise.
11342 * sysdeps/arm/tlsdesc.c: Likewise.
11343 * sysdeps/i386/tlsdesc.c: Likewise.
11344 * sysdeps/tile/dl-runtime.c: Likewise.
11345 * sysdeps/x86_64/tlsdesc.c: Likewise.
11346 * elf/dl-load.h: New file.
11347 * elf/dl-load.c: Include it.
11348 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11349 Macros moved to dl-load.h.
11350 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11351 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11352 Use _dl_unmap_segments in place of __munmap.
11353 Break out segment-mapping loop into ...
11354 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11355
113562014-04-03 Will Newton <will.newton@linaro.org>
11357
11358 * elf/dl-lookup.c (do_lookup_x): Remove comment
11359 referring to nested function and move variable
11360 declarations down to before first use.
11361
113622014-04-02 Joseph Myers <joseph@codesourcery.com>
11363
11364 [BZ #16799]
11365 [BZ #16800]
11366 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11367 with 0 numerator.
11368 * math/s_catanf.c (__catanf): Likewise.
11369 * math/s_catanh.c (__catanh): Likewise.
11370 * math/s_catanhf.c (__catanhf): Likewise.
11371 * math/s_catanhl.c (__catanhl): Likewise.
11372 * math/s_catanl.c (__catanl): Likewise.
11373 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11374 by positive zero when computing -Inf result.
11375 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11376 (catanh_test): Likewise.
11377 * sysdeps/i386/fpu/libm-test-ulps: Update.
11378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11379
11380 [BZ #16789]
11381 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11382 instead of using underflowing value in computing result.
11383 * math/s_clog10.c (__clog10): Likewise.
11384 * math/s_clog10f.c (__clog10f): Likewise.
11385 * math/s_clog10l.c (__clog10l): Likewise.
11386 * math/s_clogf.c (__clogf): Likewise.
11387 * math/s_clogl.c (__clogl): Likewise.
11388 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11389 (clog10_test): Likewise.
11390 * sysdeps/i386/fpu/libm-test-ulps: Update.
11391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11392
113932014-04-02 Alan Modra <amodra@gmail.com>
11394
11395 [BZ #16739]
11396 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11397 output when value is near a power of two. Use int64_t for lx and
11398 remove casts. Use decimal rather than hex exponent constants.
11399 Don't use long double multiplication when double will suffice.
11400 * math/libm-test.inc (nextafter_test_data): Add tests.
11401 * NEWS: Add 16739 and 16786 to bug list.
11402
11403 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11404
11405 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11406
114072014-04-01 Will Newton <will.newton@linaro.org>
11408
11409 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11410 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11411
114122014-04-01 Florian Weimer <fweimer@redhat.com>
11413
11414 [BZ #13347]
11415 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11416 * nptl/tst-setuid2.c: New file.
11417 * nptl/Makefile (xtests): Add tst-setuid2.
11418
114192014-04-01 Alan Modra <amodra@gmail.com>
11420
11421 [BZ #16786]
11422 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11423
114242014-03-31 Joseph Myers <joseph@codesourcery.com>
11425
11426 [BZ #6803]
11427 [BZ #6804]
11428 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11429 set errno as appropriate.
11430 * math/w_scalbf.c (__scalbf): Likewise.
11431 * math/w_scalbl.c (__scalbl): Likewise.
11432 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11433 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11434 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11435 Add more NaN tests.
11436
11437 [BZ #16349]
11438 * math/w_atan2.c: Include <errno.h>.
11439 (__atan2): Set errno for result underflowing to zero.
11440 * math/w_atan2f.c: Include <errno.h>.
11441 (__atan2f): Set errno for result underflowing to zero.
11442 * math/w_atan2l.c: Include <errno.h>.
11443 (__atan2l): Set errno for result underflowing to zero.
11444 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11445 tests.
11446 * math/auto-libm-test-out: Regenerated.
11447
114482014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11449
11450 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11451 Encode instruction correctly in little endian.
11452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11453 Likewise.
11454 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11455 Likewise.
11456 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11457 Likewise.
11458 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11459 Likewise.
11460
114612014-03-31 Joseph Myers <joseph@codesourcery.com>
11462
11463 [BZ #9894]
11464 * sysdeps/unix/sysv/linux/kernel-features.h
11465 [__sparc__ && !__arch64__ && !__sparc_v9__]
11466 (__ASSUME_SET_ROBUST_LIST): Do not define.
11467 [__sparc__ && !__arch64__ && !__sparc_v9__]
11468 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11469 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11470 Likewise.
11471 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11472 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11473 (__ASSUME_REQUEUE_PI): Likewise.
11474 (__ASSUME_SET_ROBUST_LIST): Likewise.
11475 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11476 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11477 Undefine.
11478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11480 Likewise.
11481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11482 Likewise.
11483 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11484 Likewise.
11485 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11486 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11487 Undefine.
11488 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11489 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11490 Likewise.
11491
11492 [BZ #16648]
11493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11494 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11495 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11496
114972014-03-31 Will Newton <will.newton@linaro.org>
11498
11499 * benchtests/Makefile (bench): Add ffs and ffsll to list
11500 of tests.
11501 * benchtests/ffs-inputs: New file.
11502 * benchtests/ffsll-inputs: Likewise.
11503
115042014-03-29 Joseph Myers <joseph@codesourcery.com>
11505
11506 [BZ #16770]
11507 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11508 too large before casting to int.
11509 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11510 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11511 * math/libm-test.inc (scalb_test_data): Add more tests.
11512
115132014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11514
11515 * benchtests/Makefile (DETAILED_OPT): New make option.
11516 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11517 set.
11518 * benchtests/bench-skeleton.c: Include stdbool.h.
11519 (main): Store and print timings per input.
11520 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11521 member to each argument value.
11522 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11523 (_print_arg_data): Initialize per-input timing to 0.
11524
11525 * benchtests/Makefile (timing-type): New binary.
11526 (bench-clean): Also remove bench-timing-type.
11527 (bench): New target for timing-type.
11528 (bench-func): Print output in JSON format.
11529 * benchtests/bench-skeleton.c (main): Print output in JSON
11530 format.
11531 * benchtests/bench-timing-type.c: New file.
11532 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11533 (TIMING_PRINT_STATS): Remove.
11534 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11535 name separately.
11536
11537 * benchtests/bench-modf.c: Remove.
11538 * benchtests/modf-inputs: New inputs file.
11539
115402014-03-28 Joseph Myers <joseph@codesourcery.com>
11541
11542 [BZ #16362]
11543 * math/s_clog10.c (M_PI_LOG10E): New macro.
11544 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11545 imaginary parts are 0.
11546 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11547 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11548 imaginary parts are 0.
11549 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11550 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11551 imaginary parts are 0.
11552 * math/libm-test.inc (clog10_test_data): Update expected results
11553 for when real and imaginary parts are 0.
11554
115552014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11556
11557 * elf/dl-load.c: Finish conversion of __builtin_expect into
11558 __glibc_{un}likely.
11559
115602014-03-27 Joseph Myers <joseph@codesourcery.com>
11561
11562 [BZ #16348]
11563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11564 1+x for argument with exponent below -67.
11565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11566 Likewise.
11567 * math/auto-libm-test-in: Add more tests of exp.
11568 * math/auto-libm-test-out: Regenerated.
11569
115702014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
11572 [BZ #16759]
11573 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11574 (nscd_getnetgrent): Use it.
11575
11576 [BZ #16760]
11577 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11578 of stpcpy.
11579
115802014-03-27 Andi Kleen <ak@linux.intel.com>
11581
11582 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11583 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11584 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11585 (lll_robust_unlock): Remove out of line section. Use cfi
11586 intrinsics.
11587 (LLL_STUB_UNWIND_INFO*): Remove.
11588 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11589 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11590 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11591 (lll_robust_unlock): Remove out of line section. Use cfi
11592 intrinsics.
11593 (LLL_STUB_UNWIND_INFO*): Remove.
11594
115952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11596
11597 [BZ #16758]
11598 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11599 blank values.
11600
116012014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11602
11603 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11604
116052014-03-26 Joseph Myers <joseph@codesourcery.com>
11606
11607 [BZ #16198]
11608 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11609 fnstenv.
11610 * math/test-fenv-preserve.c: New file.
11611 * math/Makefile (tests): Add test-fenv-preserve.
11612
116132014-03-26 Will Newton <will.newton@linaro.org>
11614
11615 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11616
116172014-03-25 Roland McGrath <roland@hack.frob.com>
11618
11619 * scripts/versionlist.awk: Partition the version sets and emit all
11620 GLIBC_* (sorted) before all others (sorted).
11621
116222014-03-25 Joseph Myers <joseph@codesourcery.com>
11623
11624 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11625 GLIBC_2.2.5 version.
11626
116272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11628
11629 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11630 calls.
11631
11632 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11633 previous change.
11634
11635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11636
116372014-03-25 Andreas Schwab <schwab@suse.de>
11638
11639 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11640 label to be used after in6ailist is initialized.
11641
116422014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11643
11644 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11645 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11646
116472014-03-25 Joseph Myers <joseph@codesourcery.com>
11648
11649 [BZ #16357]
11650 [BZ #16599]
11651 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11652 min_plus_half.
11653 (fp_formats): Update initializers.
11654 (init_fp_formats): Initialize new field.
11655 (output_for_one_input_case): Allow underflow for results up to
11656 min_plus_half.
11657 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11658 * math/auto-libm-test-in: Don't mark some underflows from asin and
11659 atanh as spurious.
11660 * math/auto-libm-test-out: Regenerated.
11661 * sysdeps/i386/fpu/libm-test-ulps: Update.
11662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11663
116642014-03-25 Andreas Schwab <schwab@suse.de>
11665
11666 * libio/Makefile (tst-ftell-partial-wide-ENV)
11667 (tst-ftell-active-handler-ENV): Define.
11668
116692014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11670
11671 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11672
116732014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11674
11675 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11676
116772014-03-24 Joseph Myers <joseph@codesourcery.com>
11678
11679 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11680 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11681 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11682
116832014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11684
11685 [BZ #16634]
11686 * elf/dl-load.c (open_verify): Add mode parameter.
11687 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11688 (open_path): Change from boolean 'secure' to complete flag 'mode'
11689 (_dl_map_object): Adjust.
11690 * elf/Makefile (tests): Add tst-dlopen-aout.
11691 * elf/tst-dlopen-aout.c: New test.
11692
116932014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11694
11695 [BZ #16714]
11696 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11697 (struct stat): Rename member pad0 to __glibc_reserved0.
11698
11699 [BZ #16712]
11700 * sysdeps/s390/s390-32/bits/wordsize.h
11701 (__WORDSIZE32_SIZE_ULONG): New define.
11702 * sysdeps/s390/s390-64/bits/wordsize.h
11703 (__WORDSIZE32_SIZE_ULONG): Likewise.
11704 * sysdeps/generic/stdint.h (SIZE_MAX):
11705 Define as UL if __WORDSIZE32_SIZE_ULONG.
11706
11707 [BZ #16713]
11708 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11709 (__glibc_reserved0): New variable.
11710 (sa_flags): Change type to int.
11711
11712 * posix/Makefile (before-compile): Use += before-compile instead
11713 of a :=.
11714
11715 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11716 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11717
117182014-03-20 Andreas Schwab <schwab@suse.de>
11719
11720 [BZ #16743]
11721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11722 non-matching result from nscd.
11723
117242014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11725
11726 * scripts/bench.py: Moved to ...
11727 * benchtests/scripts/bench.py: ... here.
11728 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11729
117302014-03-24 Andreas Schwab <schwab@suse.de>
11731
11732 [BZ #16002]
11733 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11734 alloca_account and account alloca use for struct in6ailist.
11735
117362014-03-24 Joseph Myers <joseph@codesourcery.com>
11737
11738 [BZ #16284]
11739 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11740 rounding mode to recompute results that overflow to infinity or
11741 underflow to zero.
11742 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11743 bug 16284.
11744 * math/auto-libm-test-out: Regenerated.
11745 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11746 (ccosh_test): Likewise.
11747 (csin_test_data): Use plus_oflow.
11748 (csin_test): Use ALL_RM_TEST.
11749 (csinh_test_data): Use plus_oflow.
11750 (csinh_test): Use ALL_RM_TEST.
11751 * sysdeps/i386/fpu/libm-test-ulps: Update.
11752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11753
117542014-03-21 Joseph Myers <joseph@codesourcery.com>
11755
11756 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11757 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11758 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11759
11760 [BZ #16731]
11761 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11762 when x - 1 is zero.
11763 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11764 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11765 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11767 argument is 1.
11768 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11769 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11770 zero.
11771 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11772 * sysdeps/i386/fpu/libm-test-ulps: Update.
11773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11774
117752014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11776
11777 * scripts/bench.pl: Remove file.
11778 * scripts/bench.py: New benchmark script.
11779 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11780 * benchtests/README: Mention python dependency.
11781 * scripts/pylintrc: New file.
11782 * scripts/pylint: New file.
11783
11784 * bits/mathdef.h: Use #ifdef instead of #if.
11785 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11786 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11787 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11788 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11789 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11790 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11791
117922014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11794
11795 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11797 and strpbrk-ppc64 objects.
11798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11799 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11800 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11801 multiarch strpbrk for POWER7.
11802 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11803 multiarch strpbrk for PPC64.
11804 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11805 ifunc selector.
11806 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11807 strpbrk for POWER7.
11808
118092014-03-20 Joseph Myers <joseph@codesourcery.com>
11810
11811 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11812 (atan_test): Likewise.
11813 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11814 (atanh_test): Use ALL_RM_TEST.
11815 (atan2_test_data): Likewise.
11816 (cabs_test): Likewise.
11817 (cacosh_test): Likewise.
11818 (carg_test): Likewise.
11819 (casin_test): Likewise.
11820 (casinh_test): Likewise.
11821 (cbrt_test): Likewise.
11822 (csqrt_test): Likewise.
11823 (erf_test): Likewise.
11824 (erfc_test): Likewise.
11825 (pow10_test): Likewise.
11826 (exp2_test): Likewise.
11827 (hypot_test): Likewise.
11828 (j0_test): Likewise.
11829 (j1_test): Likewise.
11830 (lgamma_test): Likewise.
11831 (gamma_test): Likewise.
11832 (sincos_test): Likewise.
11833 (tanh_test): Likewise.
11834 (y0_test): Likewise.
11835 (y1_test): Likewise.
11836 * sysdeps/i386/fpu/libm-test-ulps: Update.
11837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11838
118392014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11840
11841 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11843 and strcspn-ppc64 objects.
11844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11845 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11847 multiarch strcspn for POWER7.
11848 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11849 multiarch strcspn for PPC64.
11850 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11851 ifunc selector.
11852 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11853 strcspn for POWER7.
11854
118552014-03-20 Joseph Myers <joseph@codesourcery.com>
11856
11857 * math/gen-libm-test.pl (generate_testfile): Expect only function
11858 name as argument to AUTO_TESTS_* and pass results for all rounding
11859 modes to parse_args.
11860 (parse_auto_input): Separate inputs of automatic tests from
11861 outputs before storing in %auto_tests.
11862 * math/libm-test.inc (acos_test_data): Update call to
11863 AUTO_TESTS_f_f.
11864 (acos_test): Use ALL_RM_TEST.
11865 (acos_tonearest_test_data): Remove.
11866 (acos_test_tonearest): Likewise.
11867 (acos_towardzero_test_data): Likewise.
11868 (acos_test_towardzero): Likewise.
11869 (acos_downward_test_data): Likewise.
11870 (acos_test_downward): Likewise.
11871 (acos_upward_test_data): Likewise.
11872 (acos_test_upward): Likewise.
11873 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11874 (asin_test_data): Likewise.
11875 (asin_test): Use ALL_RM_TEST.
11876 (asin_tonearest_test_data): Remove.
11877 (asin_test_tonearest): Likewise.
11878 (asin_towardzero_test_data): Likewise.
11879 (asin_test_towardzero): Likewise.
11880 (asin_downward_test_data): Likewise.
11881 (asin_test_downward): Likewise.
11882 (asin_upward_test_data): Likewise.
11883 (asin_test_upward): Likewise.
11884 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11885 (atan_test_data): Likewise.
11886 (atanh_test_data): Likewise.
11887 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11888 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11889 (carg_test_data): Likewise.
11890 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11891 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11892 (ccosh_test_data): Likewise.
11893 (cexp_test_data): Likewise.
11894 (clog_test_data): Likewise.
11895 (clog10_test_data): Likewise.
11896 (cos_test_data): Update call to AUTO_TESTS_f_f.
11897 (cos_test): Use ALL_RM_TEST.
11898 (cos_tonearest_test_data): Remove.
11899 (cos_test_tonearest): Likewise.
11900 (cos_towardzero_test_data): Likewise.
11901 (cos_test_towardzero): Likewise.
11902 (cos_downward_test_data): Likewise.
11903 (cos_test_downward): Likewise.
11904 (cos_upward_test_data): Likewise.
11905 (cos_test_upward): Likewise.
11906 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11907 (cosh_test): Use ALL_RM_TEST.
11908 (cosh_tonearest_test_data): Remove.
11909 (cosh_test_tonearest): Likewise.
11910 (cosh_towardzero_test_data): Likewise.
11911 (cosh_test_towardzero): Likewise.
11912 (cosh_downward_test_data): Likewise.
11913 (cosh_test_downward): Likewise.
11914 (cosh_upward_test_data): Likewise.
11915 (cosh_test_upward): Likewise.
11916 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11917 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11918 (ctan_test_data): Likewise.
11919 (ctan_test): Use ALL_RM_TEST.
11920 (ctan_tonearest_test_data): Remove.
11921 (ctan_test_tonearest): Likewise.
11922 (ctan_towardzero_test_data): Likewise.
11923 (ctan_test_towardzero): Likewise.
11924 (ctan_downward_test_data): Likewise.
11925 (ctan_test_downward): Likewise.
11926 (ctan_upward_test_data): Likewise.
11927 (ctan_test_upward): Likewise.
11928 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11929 (ctanh_test): Use ALL_RM_TEST.
11930 (ctanh_tonearest_test_data): Remove.
11931 (ctanh_test_tonearest): Likewise.
11932 (ctanh_towardzero_test_data): Likewise.
11933 (ctanh_test_towardzero): Likewise.
11934 (ctanh_downward_test_data): Likewise.
11935 (ctanh_test_downward): Likewise.
11936 (ctanh_upward_test_data): Likewise.
11937 (ctanh_test_upward): Likewise.
11938 (erf_test_data): Update call to AUTO_TESTS_f_f.
11939 (erfc_test_data): Likewise.
11940 (exp_test_data): Likewise.
11941 (exp_test): Use ALL_RM_TEST.
11942 (exp_tonearest_test_data): Remove.
11943 (exp_test_tonearest): Likewise.
11944 (exp_towardzero_test_data): Likewise.
11945 (exp_test_towardzero): Likewise.
11946 (exp_downward_test_data): Likewise.
11947 (exp_test_downward): Likewise.
11948 (exp_upward_test_data): Likewise.
11949 (exp_test_upward): Likewise.
11950 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11951 (exp10_test): Use ALL_RM_TEST.
11952 (exp10_tonearest_test_data): Remove.
11953 (exp10_test_tonearest): Likewise.
11954 (exp10_towardzero_test_data): Likewise.
11955 (exp10_test_towardzero): Likewise.
11956 (exp10_downward_test_data): Likewise.
11957 (exp10_test_downward): Likewise.
11958 (exp10_upward_test_data): Likewise.
11959 (exp10_test_upward): Likewise.
11960 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11961 (expm1_test_data): Likewise.
11962 (expm1_test): Use ALL_RM_TEST.
11963 (expm1_tonearest_test_data): Remove.
11964 (expm1_test_tonearest): Likewise.
11965 (expm1_towardzero_test_data): Likewise.
11966 (expm1_test_towardzero): Likewise.
11967 (expm1_downward_test_data): Likewise.
11968 (expm1_test_downward): Likewise.
11969 (expm1_upward_test_data): Likewise.
11970 (expm1_test_upward): Likewise.
11971 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11972 (fma_test): Use ALL_RM_TEST.
11973 (fma_towardzero_test_data): Remove.
11974 (fma_test_towardzero): Likewise.
11975 (fma_downward_test_data): Likewise.
11976 (fma_test_downward): Likewise.
11977 (fma_upward_test_data): Likewise.
11978 (fma_test_upward): Likewise.
11979 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11980 (j0_test_data): Update call to AUTO_TESTS_f_f.
11981 (j1_test_data): Likewise.
11982 (jn_test_data): Update call to AUTO_TESTS_if_f.
11983 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11984 (log_test_data): Update call to AUTO_TESTS_f_f.
11985 (log10_test_data): Likewise.
11986 (log1p_test_data): Likewise.
11987 (log2_test_data): Likewise.
11988 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11989 (pow_tonearest_test_data): Likewise.
11990 (sin_test_data): Update call to AUTO_TESTS_f_f.
11991 (sin_test): Use ALL_RM_TEST.
11992 (sin_tonearest_test_data): Remove.
11993 (sin_test_tonearest): Likewise.
11994 (sin_towardzero_test_data): Likewise.
11995 (sin_test_towardzero): Likewise.
11996 (sin_downward_test_data): Likewise.
11997 (sin_test_downward): Likewise.
11998 (sin_upward_test_data): Likewise.
11999 (sin_test_upward): Likewise.
12000 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12001 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12002 (sinh_test): Use ALL_RM_TEST.
12003 (sinh_tonearest_test_data): Remove.
12004 (sinh_test_tonearest): Likewise.
12005 (sinh_towardzero_test_data): Likewise.
12006 (sinh_test_towardzero): Likewise.
12007 (sinh_downward_test_data): Likewise.
12008 (sinh_test_downward): Likewise.
12009 (sinh_upward_test_data): Likewise.
12010 (sinh_test_upward): Likewise.
12011 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12012 (sqrt_test): Use ALL_RM_TEST.
12013 (sqrt_tonearest_test_data): Remove.
12014 (sqrt_test_tonearest): Likewise.
12015 (sqrt_towardzero_test_data): Likewise.
12016 (sqrt_test_towardzero): Likewise.
12017 (sqrt_downward_test_data): Likewise.
12018 (sqrt_test_downward): Likewise.
12019 (sqrt_upward_test_data): Likewise.
12020 (sqrt_test_upward): Likewise.
12021 (tan_test_data): Update call to AUTO_TESTS_f_f.
12022 (tan_test): Use ALL_RM_TEST.
12023 (tan_tonearest_test_data): Remove.
12024 (tan_test_tonearest): Likewise.
12025 (tan_towardzero_test_data): Likewise.
12026 (tan_test_towardzero): Likewise.
12027 (tan_downward_test_data): Likewise.
12028 (tan_test_downward): Likewise.
12029 (tan_upward_test_data): Likewise.
12030 (tan_test_upward): Likewise.
12031 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12032 (tgamma_test_data): Likewise.
12033 (y0_test_data): Likewise.
12034 (y1_test_data): Likewise.
12035 (yn_test_data): Update call to AUTO_TESTS_if_f.
12036 (main): Do not call removed functions.
12037
120382014-03-19 Joseph Myers <joseph@codesourcery.com>
12039
12040 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12041 (ldexp_test_data): Remove.
12042 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12043 scalbn_test_data.
12044 (scalb_test): Use ALL_RM_TEST.
12045
120462014-03-19 Andreas Schwab <schwab@suse.de>
12047
12048 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12049
120502014-03-19 Joseph Myers <joseph@codesourcery.com>
12051
12052 [BZ #16649]
12053 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12054 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12057 (__ASSUME_PREADV): Undefine.
12058 (__ASSUME_PWRITEV): Likewise.
12059
120602014-03-18 Roland McGrath <roland@hack.frob.com>
12061
12062 * bits/mman-linux.h: Add comment about non-Linux use.
12063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12064 bits/mman-linux.h resting place.
12065
12066 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12067 * bits/mman-linux.h: ... here.
12068
120692014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12070
12071 * conform/conformtest.pl: Add standard definition when calling C
12072 preprocessor on data files.
12073 (checknamespace): Remove unused variable.
12074
120752014-03-18 Joseph Myers <joseph@codesourcery.com>
12076
12077 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12078 minus_oflow, plus_uflow and minus_uflow in expected results.
12079 * math/libm-test.inc (scalbn_test_data): Add more tests of
12080 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12081 minus_uflow.
12082 (scalbn_test): Use ALL_RM_TEST.
12083 (scalbln_test_data): Add more tests of negative arguments. Use
12084 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12085 (scalbln_test): Use ALL_RM_TEST.
12086
120872014-03-18 Roland McGrath <roland@hack.frob.com>
12088
12089 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12090
120912014-03-18 Will Newton <will.newton@linaro.org>
12092
12093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12094 inaccurate comment.
12095
120962014-03-18 Joseph Myers <joseph@codesourcery.com>
12097
12098 * Makerules [!subdir] (check-abi): Exit with error status if a
12099 test failed.
12100
121012014-03-17 Joseph Myers <joseph@codesourcery.com>
12102
12103 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12104 for rint. Include results for all rounding modes.
12105 (nearbyint_test): Use ALL_RM_TEST.
12106 (rint_test_data): Include all tests used for nearbyint.
12107
121082014-03-17 Will Newton <will.newton@linaro.org>
12109
12110 * nptl/sysdeps/pthread/pthread.h: Revert previous
12111 change.
12112
12113 * sysdeps/generic/ldsodefs.h: Revert previous
12114 change.
12115
12116 * libio/genops.c: Revert previous change.
12117 * libio/libioP.h: Likewise.
12118 * stdio-common/vfprintf.c: Likewise.
12119
12120 * sysdeps/generic/math_private.h: Revert previous
12121 change.
12122
12123 * sysdeps/generic/math_private.h: Check whether
12124 HAVE_RM_CTX is defined with #ifdef rather
12125 than #if.
12126
12127 * argp/argp-fmtstream.h: Check whether
12128 __STRICT_ANSI__ is defined with #ifdef rather
12129 than #if.
12130 * argp/argp.h: Likewise.
12131
12132 * libio/genops.c: Check whether
12133 _IO_JUMPS_OFFSET is defined with #ifdef rather
12134 than #if.
12135 * libio/libioP.h: Likewise.
12136 * stdio-common/vfprintf.c: Likewise.
12137
12138 * sysdeps/generic/ldsodefs.h: Check whether
12139 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12140 than #if.
12141
12142 * nptl/sysdeps/pthread/pthread.h: Check
12143 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12144 its value.
12145
121462014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12147
12148 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12149 setting O_APPEND.
12150 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12151 test case.
12152
12153 [BZ #16680]
12154 * libio/fileops.c (_IO_file_open): Seek to end of file but
12155 don't cache the offset.
12156 (get_file_offset): Remove function.
12157 (do_ftell): Use cached offset when available.
12158 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12159 don't cache the offset.
12160 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12161 case.
12162 (do_one_test): Call it.
12163 (do_ftell_test): Fix up expected old offset for a+ mode.
12164 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12165 available.
12166
12167 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12168 up test status with function return status.
12169 (do_write_test): Likewise.
12170 (do_append_test): Likewise.
12171
12172 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12173 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12174 Remove.
12175
121762014-03-17 Joseph Myers <joseph@codesourcery.com>
12177
12178 * math/gen-libm-test.pl (parse_args): Handle results specified for
12179 each rounding mode separately.
12180 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12181 tests and results from lrint_tonearest_test_data,
12182 lrint_towardzero_test_data, lrint_downward_test_data and
12183 lrint_upward_test_data.
12184 (lrint_test): Use ALL_RM_TEST.
12185 (lrint_tonearest_test_data): Remove.
12186 (lrint_test_tonearest): Likewise.
12187 (lrint_towardzero_test_data): Likewise.
12188 (lrint_test_towardzero): Likewise.
12189 (lrint_downward_test_data): Likewise.
12190 (lrint_test_downward): Likewise.
12191 (lrint_upward_test_data): Likewise.
12192 (lrint_test_upward): Likewise.
12193 (llrint_test_data): Merge in per-rounding-mode tests and results
12194 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12195 llrint_downward_test_data and llrint_upward_test_data.
12196 (llrint_test): Use ALL_RM_TEST.
12197 (llrint_tonearest_test_data): Remove.
12198 (llrint_test_tonearest): Likewise.
12199 (llrint_towardzero_test_data): Likewise.
12200 (llrint_test_towardzero): Likewise.
12201 (llrint_downward_test_data): Likewise.
12202 (llrint_test_downward): Likewise.
12203 (llrint_upward_test_data): Likewise.
12204 (llrint_test_upward): Likewise.
12205 (rint_test_data): Merge in per-rounding-mode tests and results
12206 from rint_tonearest_test_data, rint_towardzero_test_data,
12207 rint_downward_test_data and rint_upward_test_data. Add
12208 per-rounding-mode results for tests not in those arrays.
12209 (rint_test): Use ALL_RM_TEST.
12210 (rint_tonearest_test_data): Remove.
12211 (rint_test_tonearest): Likewise.
12212 (rint_towardzero_test_data): Likewise.
12213 (rint_test_towardzero): Likewise.
12214 (rint_downward_test_data): Likewise.
12215 (rint_test_downward): Likewise.
12216 (rint_upward_test_data): Likewise.
12217 (rint_test_upward): Likewise.
12218 (main): Don't call removed functions.
12219
122202014-03-14 Roland McGrath <roland@hack.frob.com>
12221
12222 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12223 "Compiled on ..." crapola. It is anti-useful.
12224
122252014-03-14 Joseph Myers <joseph@codesourcery.com>
12226
12227 * scripts/evaluate-test.sh: Handle fourth argument to determine
12228 whether test run should stop on failure.
12229 * Makeconfig (stop-on-test-failure): New variable.
12230 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12231 $(stop-on-test-failure).
12232 * Makefile (tests): Give a summary of results from testing and
12233 exit with failure status if they include an ERROR or FAIL.
12234 (xtests): Likewise.
12235 * manual/install.texi (Configuring and compiling): Mention
12236 stop-on-test-failure=y.
12237 * INSTALL: Regenerated.
12238
122392014-03-14 Roland McGrath <roland@hack.frob.com>
12240
12241 * scripts/versionlist.awk: New file.
12242 * Makerules [$(build-shared) = yes]
12243 (postclean-generated): Add Versions.def, not Versions.def.v and
12244 Versions.def.v.i.
12245 ($(common-objpfx)Versions.def.v.i): Target removed.
12246 ($(common-objpfx)Versions.def): New target.
12247 ($(common-objpfx)Versions.all): Depend on that rather that
12248 $(common-objpfx)Versions.def.v.
12249 * Versions.def: File removed.
12250
12251 * Makeconfig (+gccwarn): Add -Wundef.
12252 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12253 a dl-sysdep.h breaking its contract.
12254 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12255 * include/stackinfo.h: New file.
12256 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12257 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12258 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12259 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12260 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12261 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12262 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12263 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12264 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12265 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12266 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12267 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12268 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12269 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12270 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12271
122722014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12273
12274 [BZ #16707]
12275 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12276 implementation.
12277 * math/libm-test.inc (round_test_data): Add more tests.
12278
12279 [BZ #16706]
12280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12281 implementation.
12282 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12283
12284 [BZ #16701]
12285 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12286 implementation.
12287 * math/libm-test.inc (ceil_test_data): Add more tests.
12288
12289 * math/libm-test.inc (trunc_test_data): Add more tests related to
12290 BZ#16414.
12291
122922014-03-14 Roland McGrath <roland@hack.frob.com>
12293
12294 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12295 with #if rather than #ifdef.
12296 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12297
122982014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12299
12300 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12301 first. Disable AVX-512 GCC support if assembler doesn't support
12302 it.
12303 * sysdeps/x86_64/configure: Regenerated.
12304
123052014-03-13 Carlos O'Donell <carlos@redhat.com>
12306
12307 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12308 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12309 (__old_pthread_attr_setstack): Likewise.
12310 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12311 [!_STACK_GROWS_DOWN]: Likewise.
12312
123132014-03-13 Mike Frysinger <vapier@gentoo.org>
12314
12315 * config.make.in (have-bash2): Delete.
12316 * configure.ac (libc_cv_have_bash2): Delete.
12317 * configure: Regenerate.
12318 * elf/Makefile (common-ldd-rewrite): Rename to ...
12319 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12320 (sh-ldd-rewrite): Delete.
12321 (bash-ldd-rewrite): Delete.
12322 (have-bash2): Delete checks.
12323 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12324 ldd-rewrite.
12325
12326 * config.make.in (have-ksh): Delete.
12327 (KSH): Delete.
12328 * configure.ac (libc_cv_have_ksh): Delete.
12329 * configure: Regenerate.
12330
12331 * elf/Makefile: Delete $(have-ksh) check.
12332 ($(objpfx)sotruss): Change KSH to BASH.
12333 * elf/sotruss.ksh: Rename to ...
12334 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12335 function style to match POSIX. Drop ksh vim mode setting.
12336
12337 * manual/time.texi (Specifying the Time Zone with TZ): Change
12338 Tuesday to Thursday.
12339
12340 * debug/tst-longjmp_chk2.c: Update header comment.
12341 (stackoverflow_handler): Add comment. Call assert on pass value.
12342
123432014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12344
12345 [BZ #16194]
12346 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12347 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12348 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12349 (La_x86_64_vector): Add zmm.
12350 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12351 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12352 ($(objpfx)tst-audit10): New target.
12353 ($(objpfx)tst-audit10.out): Likewise.
12354 (tst-audit10-ENV): New.
12355 (AVX512-CFLAGS): Likewise.
12356 (CFLAGS-tst-audit10.c): Likewise.
12357 (CFLAGS-tst-auditmod10a.c): Likewise.
12358 (CFLAGS-tst-auditmod10b.c): Likewise.
12359 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12360 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12361 * sysdeps/x86_64/configure: Regenerated.
12362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12363 AVX-512 zmm register support.
12364 (_dl_x86_64_save_sse): Likewise.
12365 (_dl_x86_64_restore_sse): Likewise.
12366 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12367 size vector registers.
12368 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12369 (ZMM_SIZE): Likewise.
12370 * sysdeps/x86_64/tst-audit10.c: New file.
12371 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12372 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12373
123742014-03-13 Roland McGrath <roland@hack.frob.com>
12375
12376 * configure.ac (HAVE_EHDR_START): New check.
12377 * configure: Regenerated.
12378 * config.h.in (HAVE_EHDR_START): New #undef.
12379 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12380 assuming the lowest-addressed segment maps the start of the file.
12381
123822014-03-13 Joseph Myers <joseph@codesourcery.com>
12383
12384 * INSTALL: Regenerated.
12385
123862014-03-13 Will Newton <will.newton@linaro.org>
12387
12388 * manual/setjmp.texi (System V contexts): Improve
12389 clarity and grammar of documentation.
12390
123912014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12392
12393 [BZ #16381]
12394 * elf/Makefile (tests): Add tst-pie2.
12395 (tests-pie): Add tst-pie2.
12396 * elf/tst-pie2.c: New file.
12397 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12398 for ET_EXEC.
12399 * elf/rtld.c (map_doit): Load executable as lt_executable.
12400 (dl_main): Likewise.
12401
124022014-03-12 Joseph Myers <joseph@codesourcery.com>
12403
12404 [BZ #16642]
12405 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12406 (__ASSUME_PSELECT): Undefine.
12407
124082014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12409
12410 [BZ #16689]
12411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12412 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12413 static build.
12414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12415 selector for static builds.
12416
124172014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12418
12419 [BZ #16695]
12420 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12421 key in the buffer.
12422
124232014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12424
12425 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12426 IFUNC selector for static builds.
12427
124282014-03-11 Joseph Myers <joseph@codesourcery.com>
12429
12430 * sysdeps/mips/math_private.h [__mips_hard_float]
12431 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12432 libc_feresetround_mips_ctx.
12433 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12434 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12435 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12436
12437 [BZ #16677]
12438 * math/s_nextafter.c (__nextafter): Do not return value from
12439 overflowing computation.
12440 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12441 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12442 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12443 Likewise.
12444 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12445 Likewise.
12446 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12447 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12448
124492014-03-11 Roland McGrath <roland@hack.frob.com>
12450
12451 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12452 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12453 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12454 the new mov targetting sp.
12455
124562014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12457
12458 [BZ #16683]
12459 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12460 Define it for static builds as well.
12461 (NO_BZERO_IMPL): Likewise.
12462
124632014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12464
12465 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12466 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12467 multiarch strspn for PPC64.
12468 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12469 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12471 (__libc_ifunc_impl_list): Likewise.
12472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12473 multiarch optimizations
12474 * string/strspn.c (strspn): Using macro to redefine symbol name.
12475
124762014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12477 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12478
12479 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12480 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12481 multiarch strncat for PPC64.
12482 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12483 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12485 (__libc_ifunc_impl_list): Likewise.
12486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12487 multiarch optimizations
12488
124892014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12490
12491 [BZ #16639]
12492 * nscd/nscd.service: Make service type forking.
12493
124942014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12495
12496 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12497 sign in non default rounding modes.
12498 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12499
125002014-03-08 Joseph Myers <joseph@codesourcery.com>
12501
12502 * math/libm-test.inc (ALL_RM_TEST): New macro.
12503 (ceil_test): Use ALL_RM_TEST.
12504 (cimag_test): Likewise.
12505 (conj_test): Likewise.
12506 (copysign_test): Likewise.
12507 (cproj_test): Likewise.
12508 (creal_test): Likewise.
12509 (fabs_test): Likewise.
12510 (floor_test): Likewise.
12511 (fmax_test): Likewise.
12512 (fmin_test): Likewise.
12513 (fmod_test): Likewise.
12514 (fpclassify_test): Likewise.
12515 (frexp_test): Likewise.
12516 (ilogb_test): Likewise.
12517 (isfinite_test): Likewise.
12518 (finite_test): Likewise.
12519 (isgreater_test): Likewise.
12520 (isgreaterequal_test): Likewise.
12521 (isinf_test): Likewise.
12522 (isless_test): Likewise.
12523 (islessequal_test): Likewise.
12524 (islessgreater_test): Likewise.
12525 (isnan_test): Likewise.
12526 (isnormal_test): Likewise.
12527 (issignaling_test): Likewise.
12528 (isunordered_test): Likewise.
12529 (logb_test): Likewise.
12530 (logb_downward_test_data): Remove.
12531 (logb_test_downward): Likewise.
12532 (lround_test): Use ALL_RM_TEST.
12533 (llround_test): Likewise.
12534 (modf_test): Likewise.
12535 (nexttoward_test): Likewise.
12536 (remainder_test): Likewise.
12537 (drem_test): Likewise.
12538 (remainder_tonearest_test_data): Likewise.
12539 (remainder_test_tonearest): Likewise.
12540 (drem_test_tonearest): Likewise.
12541 (remainder_towardzero_test_data): Likewise.
12542 (remainder_test_towardzero): Likewise.
12543 (drem_test_towardzero): Likewise.
12544 (remainder_downward_test_data): Likewise.
12545 (remainder_test_downward): Likewise.
12546 (drem_test_downward): Likewise.
12547 (remainder_upward_test_data): Likewise.
12548 (remainder_test_upward): Likewise.
12549 (drem_test_upward): Likewise.
12550 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12551 (round_test): Use ALL_RM_TEST.
12552 (signbit_test): Likewise.
12553 (trunc_test): Likewise.
12554 (significand_test): Likewise.
12555 (main): Don't call removed functions.
12556
125572014-03-07 Joseph Myers <joseph@codesourcery.com>
12558
12559 [BZ #16674]
12560 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12561 || __USE_XOPEN2K8].
12562 (ILL_ILLOPN): Likewise.
12563 (ILL_ILLADR): Likewise.
12564 (ILL_ILLTRP): Likewise.
12565 (ILL_PRVOPC): Likewise.
12566 (ILL_PRVREG): Likewise.
12567 (ILL_COPROC): Likewise.
12568 (ILL_BADSTK): Likewise.
12569 (FPE_INTDIV): Likewise.
12570 (FPE_INTOVF): Likewise.
12571 (FPE_FLTDIV): Likewise.
12572 (FPE_FLTOVF): Likewise.
12573 (FPE_FLTUND): Likewise.
12574 (FPE_FLTRES): Likewise.
12575 (FPE_FLTINV): Likewise.
12576 (FPE_FLTSUB): Likewise.
12577 (SEGV_MAPERR): Likewise.
12578 (SEGV_ACCERR): Likewise.
12579 (BUS_ADRALN): Likewise.
12580 (BUS_ADRERR): Likewise.
12581 (BUS_OBJERR): Likewise.
12582 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12583 (TRAP_TRACE): Likewise.
12584 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12585 __USE_XOPEN2K8].
12586 (CLD_KILLED): Likewise.
12587 (CLD_DUMPED): Likewise.
12588 (CLD_TRAPPED): Likewise.
12589 (CLD_STOPPED): Likewise.
12590 (CLD_CONTINUED): Likewise.
12591 (POLL_IN): Likewise.
12592 (POLL_OUT): Likewise.
12593 (POLL_MSG): Likewise.
12594 (POLL_ERR): Likewise.
12595 (POLL_PRI): Likewise.
12596 (POLL_HUP): Likewise.
12597 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12598 Likewise.
12599 (ILL_ILLOPN): Likewise.
12600 (ILL_ILLADR): Likewise.
12601 (ILL_ILLTRP): Likewise.
12602 (ILL_PRVOPC): Likewise.
12603 (ILL_PRVREG): Likewise.
12604 (ILL_COPROC): Likewise.
12605 (ILL_BADSTK): Likewise.
12606 (FPE_INTDIV): Likewise.
12607 (FPE_INTOVF): Likewise.
12608 (FPE_FLTDIV): Likewise.
12609 (FPE_FLTOVF): Likewise.
12610 (FPE_FLTUND): Likewise.
12611 (FPE_FLTRES): Likewise.
12612 (FPE_FLTINV): Likewise.
12613 (FPE_FLTSUB): Likewise.
12614 (SEGV_MAPERR): Likewise.
12615 (SEGV_ACCERR): Likewise.
12616 (BUS_ADRALN): Likewise.
12617 (BUS_ADRERR): Likewise.
12618 (BUS_OBJERR): Likewise.
12619 (BUS_MCEERR_AR): Likewise.
12620 (BUS_MCEERR_AO): Likewise.
12621 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12622 (TRAP_TRACE): Likewise.
12623 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12624 __USE_XOPEN2K8].
12625 (CLD_KILLED): Likewise.
12626 (CLD_DUMPED): Likewise.
12627 (CLD_TRAPPED): Likewise.
12628 (CLD_STOPPED): Likewise.
12629 (CLD_CONTINUED): Likewise.
12630 (POLL_IN): Likewise.
12631 (POLL_OUT): Likewise.
12632 (POLL_MSG): Likewise.
12633 (POLL_ERR): Likewise.
12634 (POLL_PRI): Likewise.
12635 (POLL_HUP): Likewise.
12636 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12637 (ILL_ILLOPN): Likewise.
12638 (ILL_ILLADR): Likewise.
12639 (ILL_ILLTRP): Likewise.
12640 (ILL_PRVOPC): Likewise.
12641 (ILL_PRVREG): Likewise.
12642 (ILL_COPROC): Likewise.
12643 (ILL_BADSTK): Likewise.
12644 (FPE_INTDIV): Likewise.
12645 (FPE_INTOVF): Likewise.
12646 (FPE_FLTDIV): Likewise.
12647 (FPE_FLTOVF): Likewise.
12648 (FPE_FLTUND): Likewise.
12649 (FPE_FLTRES): Likewise.
12650 (FPE_FLTINV): Likewise.
12651 (FPE_FLTSUB): Likewise.
12652 (SEGV_MAPERR): Likewise.
12653 (SEGV_ACCERR): Likewise.
12654 (BUS_ADRALN): Likewise.
12655 (BUS_ADRERR): Likewise.
12656 (BUS_OBJERR): Likewise.
12657 (BUS_MCEERR_AR): Likewise.
12658 (BUS_MCEERR_AO): Likewise.
12659 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12660 (TRAP_TRACE): Likewise.
12661 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12662 __USE_XOPEN2K8].
12663 (CLD_KILLED): Likewise.
12664 (CLD_DUMPED): Likewise.
12665 (CLD_TRAPPED): Likewise.
12666 (CLD_STOPPED): Likewise.
12667 (CLD_CONTINUED): Likewise.
12668 (POLL_IN): Likewise.
12669 (POLL_OUT): Likewise.
12670 (POLL_MSG): Likewise.
12671 (POLL_ERR): Likewise.
12672 (POLL_PRI): Likewise.
12673 (POLL_HUP): Likewise.
12674 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12675 Likewise.
12676 (ILL_ILLOPN): Likewise.
12677 (ILL_ILLADR): Likewise.
12678 (ILL_ILLTRP): Likewise.
12679 (ILL_PRVOPC): Likewise.
12680 (ILL_PRVREG): Likewise.
12681 (ILL_COPROC): Likewise.
12682 (ILL_BADSTK): Likewise.
12683 (ILL_BADIADDR): Likewise.
12684 (ILL_BREAK): Likewise.
12685 (FPE_INTDIV): Likewise.
12686 (FPE_INTOVF): Likewise.
12687 (FPE_FLTDIV): Likewise.
12688 (FPE_FLTOVF): Likewise.
12689 (FPE_FLTUND): Likewise.
12690 (FPE_FLTRES): Likewise.
12691 (FPE_FLTINV): Likewise.
12692 (FPE_FLTSUB): Likewise.
12693 (FPE_DECOVF): Likewise.
12694 (FPE_DECDIV): Likewise.
12695 (FPE_DECERR): Likewise.
12696 (FPE_INVASC): Likewise.
12697 (FPE_INVDEC): Likewise.
12698 (SEGV_MAPERR): Likewise.
12699 (SEGV_ACCERR): Likewise.
12700 (SEGV_PSTKOVF): Likewise.
12701 (BUS_ADRALN): Likewise.
12702 (BUS_ADRERR): Likewise.
12703 (BUS_OBJERR): Likewise.
12704 (BUS_MCEERR_AR): Likewise.
12705 (BUS_MCEERR_AO): Likewise.
12706 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12707 (TRAP_TRACE): Likewise.
12708 (TRAP_BRANCH): Likewise.
12709 (TRAP_HWBKPT): Likewise.
12710 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12711 __USE_XOPEN2K8].
12712 (CLD_KILLED): Likewise.
12713 (CLD_DUMPED): Likewise.
12714 (CLD_TRAPPED): Likewise.
12715 (CLD_STOPPED): Likewise.
12716 (CLD_CONTINUED): Likewise.
12717 (POLL_IN): Likewise.
12718 (POLL_OUT): Likewise.
12719 (POLL_MSG): Likewise.
12720 (POLL_ERR): Likewise.
12721 (POLL_PRI): Likewise.
12722 (POLL_HUP): Likewise.
12723 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12724 (ILL_ILLOPN): Likewise.
12725 (ILL_ILLADR): Likewise.
12726 (ILL_ILLTRP): Likewise.
12727 (ILL_PRVOPC): Likewise.
12728 (ILL_PRVREG): Likewise.
12729 (ILL_COPROC): Likewise.
12730 (ILL_BADSTK): Likewise.
12731 (FPE_INTDIV): Likewise.
12732 (FPE_INTOVF): Likewise.
12733 (FPE_FLTDIV): Likewise.
12734 (FPE_FLTOVF): Likewise.
12735 (FPE_FLTUND): Likewise.
12736 (FPE_FLTRES): Likewise.
12737 (FPE_FLTINV): Likewise.
12738 (FPE_FLTSUB): Likewise.
12739 (SEGV_MAPERR): Likewise.
12740 (SEGV_ACCERR): Likewise.
12741 (BUS_ADRALN): Likewise.
12742 (BUS_ADRERR): Likewise.
12743 (BUS_OBJERR): Likewise.
12744 (BUS_MCEERR_AR): Likewise.
12745 (BUS_MCEERR_AO): Likewise.
12746 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12747 (TRAP_TRACE): Likewise.
12748 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12749 __USE_XOPEN2K8].
12750 (CLD_KILLED): Likewise.
12751 (CLD_DUMPED): Likewise.
12752 (CLD_TRAPPED): Likewise.
12753 (CLD_STOPPED): Likewise.
12754 (CLD_CONTINUED): Likewise.
12755 (POLL_IN): Likewise.
12756 (POLL_OUT): Likewise.
12757 (POLL_MSG): Likewise.
12758 (POLL_ERR): Likewise.
12759 (POLL_PRI): Likewise.
12760 (POLL_HUP): Likewise.
12761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12762 (ILL_ILLOPN): Likewise.
12763 (ILL_ILLADR): Likewise.
12764 (ILL_ILLTRP): Likewise.
12765 (ILL_PRVOPC): Likewise.
12766 (ILL_PRVREG): Likewise.
12767 (ILL_COPROC): Likewise.
12768 (ILL_BADSTK): Likewise.
12769 (FPE_INTDIV): Likewise.
12770 (FPE_INTOVF): Likewise.
12771 (FPE_FLTDIV): Likewise.
12772 (FPE_FLTOVF): Likewise.
12773 (FPE_FLTUND): Likewise.
12774 (FPE_FLTRES): Likewise.
12775 (FPE_FLTINV): Likewise.
12776 (FPE_FLTSUB): Likewise.
12777 (SEGV_MAPERR): Likewise.
12778 (SEGV_ACCERR): Likewise.
12779 (BUS_ADRALN): Likewise.
12780 (BUS_ADRERR): Likewise.
12781 (BUS_OBJERR): Likewise.
12782 (BUS_MCEERR_AR): Likewise.
12783 (BUS_MCEERR_AO): Likewise.
12784 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12785 (TRAP_TRACE): Likewise.
12786 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12787 __USE_XOPEN2K8].
12788 (CLD_KILLED): Likewise.
12789 (CLD_DUMPED): Likewise.
12790 (CLD_TRAPPED): Likewise.
12791 (CLD_STOPPED): Likewise.
12792 (CLD_CONTINUED): Likewise.
12793 (POLL_IN): Likewise.
12794 (POLL_OUT): Likewise.
12795 (POLL_MSG): Likewise.
12796 (POLL_ERR): Likewise.
12797 (POLL_PRI): Likewise.
12798 (POLL_HUP): Likewise.
12799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12800 (ILL_ILLOPN): Likewise.
12801 (ILL_ILLADR): Likewise.
12802 (ILL_ILLTRP): Likewise.
12803 (ILL_PRVOPC): Likewise.
12804 (ILL_PRVREG): Likewise.
12805 (ILL_COPROC): Likewise.
12806 (ILL_BADSTK): Likewise.
12807 (FPE_INTDIV): Likewise.
12808 (FPE_INTOVF): Likewise.
12809 (FPE_FLTDIV): Likewise.
12810 (FPE_FLTOVF): Likewise.
12811 (FPE_FLTUND): Likewise.
12812 (FPE_FLTRES): Likewise.
12813 (FPE_FLTINV): Likewise.
12814 (FPE_FLTSUB): Likewise.
12815 (SEGV_MAPERR): Likewise.
12816 (SEGV_ACCERR): Likewise.
12817 (BUS_ADRALN): Likewise.
12818 (BUS_ADRERR): Likewise.
12819 (BUS_OBJERR): Likewise.
12820 (BUS_MCEERR_AR): Likewise.
12821 (BUS_MCEERR_AO): Likewise.
12822 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12823 (TRAP_TRACE): Likewise.
12824 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12825 __USE_XOPEN2K8].
12826 (CLD_KILLED): Likewise.
12827 (CLD_DUMPED): Likewise.
12828 (CLD_TRAPPED): Likewise.
12829 (CLD_STOPPED): Likewise.
12830 (CLD_CONTINUED): Likewise.
12831 (POLL_IN): Likewise.
12832 (POLL_OUT): Likewise.
12833 (POLL_MSG): Likewise.
12834 (POLL_ERR): Likewise.
12835 (POLL_PRI): Likewise.
12836 (POLL_HUP): Likewise.
12837 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12838 (ILL_ILLOPN): Likewise.
12839 (ILL_ILLADR): Likewise.
12840 (ILL_ILLTRP): Likewise.
12841 (ILL_PRVOPC): Likewise.
12842 (ILL_PRVREG): Likewise.
12843 (ILL_COPROC): Likewise.
12844 (ILL_BADSTK): Likewise.
12845 (ILL_DBLFLT): Likewise.
12846 (ILL_HARDWALL): Likewise.
12847 (FPE_INTDIV): Likewise.
12848 (FPE_INTOVF): Likewise.
12849 (FPE_FLTDIV): Likewise.
12850 (FPE_FLTOVF): Likewise.
12851 (FPE_FLTUND): Likewise.
12852 (FPE_FLTRES): Likewise.
12853 (FPE_FLTINV): Likewise.
12854 (FPE_FLTSUB): Likewise.
12855 (SEGV_MAPERR): Likewise.
12856 (SEGV_ACCERR): Likewise.
12857 (BUS_ADRALN): Likewise.
12858 (BUS_ADRERR): Likewise.
12859 (BUS_OBJERR): Likewise.
12860 (BUS_MCEERR_AR): Likewise.
12861 (BUS_MCEERR_AO): Likewise.
12862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12863 (TRAP_TRACE): Likewise.
12864 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12865 __USE_XOPEN2K8].
12866 (CLD_KILLED): Likewise.
12867 (CLD_DUMPED): Likewise.
12868 (CLD_TRAPPED): Likewise.
12869 (CLD_STOPPED): Likewise.
12870 (CLD_CONTINUED): Likewise.
12871 (POLL_IN): Likewise.
12872 (POLL_OUT): Likewise.
12873 (POLL_MSG): Likewise.
12874 (POLL_ERR): Likewise.
12875 (POLL_PRI): Likewise.
12876 (POLL_HUP): Likewise.
12877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12878 (ILL_ILLOPN): Likewise.
12879 (ILL_ILLADR): Likewise.
12880 (ILL_ILLTRP): Likewise.
12881 (ILL_PRVOPC): Likewise.
12882 (ILL_PRVREG): Likewise.
12883 (ILL_COPROC): Likewise.
12884 (ILL_BADSTK): Likewise.
12885 (FPE_INTDIV): Likewise.
12886 (FPE_INTOVF): Likewise.
12887 (FPE_FLTDIV): Likewise.
12888 (FPE_FLTOVF): Likewise.
12889 (FPE_FLTUND): Likewise.
12890 (FPE_FLTRES): Likewise.
12891 (FPE_FLTINV): Likewise.
12892 (FPE_FLTSUB): Likewise.
12893 (SEGV_MAPERR): Likewise.
12894 (SEGV_ACCERR): Likewise.
12895 (BUS_ADRALN): Likewise.
12896 (BUS_ADRERR): Likewise.
12897 (BUS_OBJERR): Likewise.
12898 (BUS_MCEERR_AR): Likewise.
12899 (BUS_MCEERR_AO): Likewise.
12900 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12901 (TRAP_TRACE): Likewise.
12902 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12903 __USE_XOPEN2K8].
12904 (CLD_KILLED): Likewise.
12905 (CLD_DUMPED): Likewise.
12906 (CLD_TRAPPED): Likewise.
12907 (CLD_STOPPED): Likewise.
12908 (CLD_CONTINUED): Likewise.
12909 (POLL_IN): Likewise.
12910 (POLL_OUT): Likewise.
12911 (POLL_MSG): Likewise.
12912 (POLL_ERR): Likewise.
12913 (POLL_PRI): Likewise.
12914 (POLL_HUP): Likewise.
12915 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12916 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12917
12918 [BZ #16670]
12919 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12920 before #include of <time.h>.
12921 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12922 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12923 (test-xfail-UNIX98/sched.h/conform): Likewise.
12924
129252014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12926
12927 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12928 error absence of trapping exception support.
12929 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12930
129312014-03-07 Joseph Myers <joseph@codesourcery.com>
12932
12933 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12934 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12935 * timezone/Makefile (testdata): Move definition above include of
12936 Rules.
12937 (test-zones): New variable.
12938 (tests-special): Add zone files.
12939 (build-testdata): Use $(evaluate-test).
12940
12941 * elf/Makefile (tests-special): Rename tests to end with .out.
12942 ($(objpfx)noload-mem): Likewise.
12943 ($(objpfx)tst-leaks1-mem): Likewise.
12944 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12945 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12946 $(objpfx)test-iconvconfig.out.
12947 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12948 set -e inside subshell and redirect output to file.
12949 * iconvdata/Makefile (generated): Rename tests to end with .out.
12950 Correct type.
12951 (tests-special): Rename tests to end with .out.
12952 ($(objpfx)mtrace-tst-loading): Likewise.
12953 * intl/Makefile (generated): Likewise.
12954 (tests-special): Likewise.
12955 ($(objpfx)mtrace-tst-gettext): Likewise.
12956 * misc/Makefile (generated): Likewise.
12957 (tests-special): Likewise.
12958 ($(objpfx)tst-error1-mem): Likewise.
12959 * nptl/Makefile (tests-special): Likewise.
12960 ($(objpfx)tst-stack3-mem): Likewise.
12961 (generated): Likewise.
12962 * posix/Makefile (generated): Likewise.
12963 (tests-special): Likewise.
12964 (xtests-special): Likewise.
12965 ($(objpfx)tst-fnmatch-mem): Likewise.
12966 ($(objpfx)bug-regex2-mem): Likewise.
12967 ($(objpfx)bug-regex14-mem): Likewise.
12968 ($(objpfx)bug-regex21-mem): Likewise.
12969 ($(objpfx)bug-regex31-mem): Likewise.
12970 ($(objpfx)tst-vfork3-mem): Likewise.
12971 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12972 ($(objpfx)tst-pcre-mem): Likewise.
12973 ($(objpfx)tst-boost-mem): Likewise.
12974 ($(objpfx)bug-ga2-mem): Likewise.
12975 ($(objpfx)bug-glob2-mem): Likewise.
12976 * resolv/Makefile (generate): Likewise.
12977 (tests-special): Likewise.
12978 (xtests-special): Likewise.
12979 (generated): Likewise.
12980 ($(objpfx)mtrace-tst-leaks): Likewise.
12981 ($(objpfx)mtrace-tst-leaks2): Likewise.
12982
12983 * scripts/merge-test-results.sh: New file.
12984 * Makefile (tests-special-notdir): New variable.
12985 (tests): Run merge-test-results.sh.
12986 (xtests): Likewise.
12987 * Rules (tests-special-notdir): New variable.
12988 (xtests-special-notdir): Likewise.
12989 (tests): Run merge-test-results.sh
12990 (xtests): Likewise.
12991
12992 * Makeconfig (test-xfail-name): New variable.
12993 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12994 compute variable name for expected failures.
12995 * conform/Makefile (conformtest-headers-data): New variable.
12996 (conformtest-standards): Likewise.
12997 (conformtest-headers-ISO): Likewise.
12998 (conformtest-headers-ISO99): Likewise.
12999 (conformtest-headers-ISO11): Likewise.
13000 (conformtest-headers-POSIX): Likewise.
13001 (conformtest-headers-XPG3): Likewise.
13002 (conformtest-headers-XPG4): Likewise.
13003 (conformtest-headers-UNIX98): Likewise.
13004 (conformtest-headers-XOPEN2K): Likewise.
13005 (conformtest-headers-POSIX2008): Likewise.
13006 (conformtest-headers-XOPEN2K8): Likewise.
13007 (conformtest-header-list-base): Likewise.
13008 (conformtest-header-list-tests): Likewise.
13009 (conformtest-header-base): Likewise.
13010 (conformtest-header-tests): Likewise.
13011 (tests-special): Add $(conformtest-header-list-tests). If
13012 [$(fast-check) && !$(cross-compiling)], add
13013 $(conformtest-header-tests) instead of
13014 $(objpfx)run-conformtest.out.
13015 (generated): Add $(conformtest-header-list-base). If
13016 [$(fast-check) && !$(cross-compiling)], add
13017 $(conformtest-header-base). Remove previous setting.
13018 ($(conformtest-header-list-tests)): New target.
13019 (test-xfail-run-conformtest): Remove variable.
13020 ($(objpfx)run-conformtest.out): Remove target.
13021 (test-xfail-ISO11/complex.h/conform): New variable.
13022 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13023 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13024 (test-xfail-XPG3/varargs.h/conform): Likewise.
13025 (test-xfail-XPG4/varargs.h/conform): Likewise.
13026 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13027 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13028 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13029 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13030 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13031 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13032 (test-xfail-XPG3/ftw.h/conform): Likewise.
13033 (test-xfail-XPG3/grp.h/conform): Likewise.
13034 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13035 (test-xfail-XPG3/limits.h/conform): Likewise.
13036 (test-xfail-XPG3/pwd.h/conform): Likewise.
13037 (test-xfail-XPG3/search.h/conform): Likewise.
13038 (test-xfail-XPG3/signal.h/conform): Likewise.
13039 (test-xfail-XPG3/stdio.h/conform): Likewise.
13040 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13041 (test-xfail-XPG3/string.h/conform): Likewise.
13042 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13043 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13044 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13045 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13046 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13047 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13048 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13049 (test-xfail-XPG3/termios.h/conform): Likewise.
13050 (test-xfail-XPG3/time.h/conform): Likewise.
13051 (test-xfail-XPG3/unistd.h/conform): Likewise.
13052 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13053 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13054 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13055 (test-xfail-XPG4/netdb.h/conform): Likewise.
13056 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13057 (test-xfail-XPG4/signal.h/conform): Likewise.
13058 (test-xfail-XPG4/stdio.h/conform): Likewise.
13059 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13060 (test-xfail-XPG4/stropts.h/conform): Likewise.
13061 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13062 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13063 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13064 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13065 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13066 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13067 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13068 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13069 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13070 (test-xfail-XPG4/termios.h/conform): Likewise.
13071 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13072 (test-xfail-XPG4/unistd.h/conform): Likewise.
13073 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13074 (test-xfail-POSIX/sched.h/conform): Likewise.
13075 (test-xfail-POSIX/signal.h/conform): Likewise.
13076 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13077 (test-xfail-POSIX/tar.h/conform): Likewise.
13078 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13079 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13080 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13081 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13082 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13083 (test-xfail-UNIX98/sched.h/conform): Likewise.
13084 (test-xfail-UNIX98/signal.h/conform): Likewise.
13085 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13086 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13087 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13088 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13089 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13090 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13091 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13092 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13093 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13094 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13095 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13096 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13097 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13098 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13099 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13100 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13101 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13102 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13103 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13104 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13105 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13106 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13107 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13108 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13109 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13110 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13111 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13112 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13113 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13114 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13115 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13116 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13117 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13118 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13119 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13120 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13121 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13122 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13123 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13124 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13125 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13126 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13127 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13128 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13129 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13130 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13131 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13132 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13133 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13134 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13135 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13136 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13137 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13138 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13139 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13140 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13141 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13142 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13143 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13144 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13145 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13146 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13147 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13148 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13149 (conformtest-cc-flags): Likewise.
13150 ($(conformtest-header-tests): New target.
13151 * conform/check-header-lists.sh: New file.
13152 * conform/run-conformtest.sh: Remove.
13153
13154 * conform/conformtest.pl: Allow ' and \ in values given for
13155 constants.
13156 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13157 inclusion.
13158 [POSIX] (sys/types.h): Likewise.
13159 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13160 inclusion.
13161 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13162 inclusion.
13163 * conform/data/signal.h-data (SIGIO): Remove expectation.
13164 [XPG3] (SIGBUS): Do not expect.
13165 [POSIX || XPG3] (SIGPOLL): Likewise.
13166 [POSIX || XPG3] (SIGPROF): Likewise.
13167 [POSIX || XPG3] (SIGSYS): Likewise.
13168 [XPG3] (SIGTRAP): Likewise.
13169 [POSIX || XPG3] (SIGURG): Likewise.
13170 [POSIX || XPG3] (SIGVTALRM): Likewise.
13171 [POSIX || XPG3] (SIGXCPU): Likewise.
13172 [POSIX || XPG3] (SIGXFSZ): Likewise.
13173 [POSIX] (SA_SIGINFO): Expect.
13174 [XPG3] (siginfo_t): Do not expect type or contents.
13175 [POSIX] (si_pid): Do not expect element.
13176 [POSIX] (si_uid): Likewise.
13177 [POSIX] (si_addr): Likewise.
13178 [POSIX] (si_status): Likewise.
13179 [POSIX] (si_band): Likewise.
13180 [XPG4] (si_value): Likewise.
13181 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13182 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13183 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13184 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13185 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13186 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13187 [POSIX || XPG3] (ILL_COPROC): Likewise.
13188 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13189 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13190 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13191 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13192 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13193 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13194 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13195 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13196 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13197 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13198 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13199 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13200 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13201 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13202 [POSIX || XPG3] (CLD_EXITED): Likewise.
13203 [POSIX || XPG3] (CLD_KILLED): Likewise.
13204 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13205 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13206 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13207 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13208 [POSIX || XPG3] (POLL_IN): Likewise.
13209 [POSIX || XPG3] (POLL_OUT): Likewise.
13210 [POSIX || XPG3] (POLL_MSG): Likewise.
13211 [POSIX || XPG3] (POLL_ERR): Likewise.
13212 [POSIX || XPG3] (POLL_PRI): Likewise.
13213 [POSIX || XPG3] (POLL_HUP): Likewise.
13214 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13215 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13216 (SIG*): Do not allow.
13217 [XPG3] (si_*): Likewise.
13218 [XPG3] (SI_*): Likewise.
13219 [XPG3 || XPG4] (sigev_*): Likewise.
13220 [XPG3 || XPG4] (SIGEV_*): Likewise.
13221 [XPG3 || XPG4] (sival_*): Likewise.
13222 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13223 [POSIX || XPG3] (BUS_*): Likewise.
13224 [POSIX || XPG3] (CLD_*): Likewise.
13225 [POSIX || XPG3] (FPE_*): Likewise.
13226 [POSIX || XPG3] (ILL_*): Likewise.
13227 [POSIX || XPG3] (POLL_*): Likewise.
13228 [POSIX || XPG3] (SEGV_*): Likewise.
13229 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13230 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13231 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13232 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13233 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13234 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13235 Specify type and value.
13236 (TVERSLEN): Likewise.
13237 (REGTYPE): Likewise.
13238 (AREGTYPE): Likewise.
13239 (LNKTYPE): Likewise.
13240 (SYMTYPE): Likewise.
13241 (CHRTYPE): Likewise.
13242 (BLKTYPE): Likewise.
13243 (DIRTYPE): Likewise.
13244 (FIFOTYPE): Likewise.
13245 (CONTTYPE): Likewise.
13246 (TSUID): Likewise.
13247 (TSGID): Likewise.
13248 (TSVTX): Likewise.
13249 (TUREAD): Likewise.
13250 (TUWRITE): Likewise.
13251 (TUEXEC): Likewise.
13252 (TGREAD): Likewise.
13253 (TGWRITE): Likewise.
13254 (TGEXEC): Likewise.
13255 (TOREAD): Likewise.
13256 (TOWRITE): Likewise.
13257 (TOEXEC): Likewise.
13258 [POSIX] (TSVTX): Expect constant.
13259
132602014-03-06 Joseph Myers <joseph@codesourcery.com>
13261
13262 * Makefile (tests): Change dependencies to ....
13263 (tests-special): ... additions to this variable.
13264 (tests): Depend on $(tests-special).
13265 * Makerules (check-abi-list): New variable.
13266 (check-abi): Depend on $(check-abi-list).
13267 [$(subdir) = elf] (tests-special): Add
13268 $(objpfx)check-abi-libc.out.
13269 [$(build-shared) = yes && subdir] (tests-special): Add
13270 $(check-abi-list).
13271 [$(build-shared) = yes && subdir] (tests): Do not depend on
13272 check-abi.
13273 * Rules (tests): Depend on $(tests-special).
13274 (xtests): Depend on $(xtests-special).
13275 * catgets/Makefile (tests): Change dependencies to ....
13276 (tests-special): ... additions to this variable.
13277 * conform/Makefile (tests): Change dependencies to ....
13278 (tests-special): ... additions to this variable.
13279 * elf/Makefile (tests): Change dependencies to ....
13280 (tests-special): ... additions to this variable.
13281 * grp/Makefile (tests): Change dependencies to ....
13282 (tests-special): ... additions to this variable.
13283 * iconv/Makefile (xtests): Change dependencies to ....
13284 (xtests-special): ... additions to this variable.
13285 * iconvdata/Makefile (tests): Change dependencies to ....
13286 (tests-special): ... additions to this variable.
13287 * intl/Makefile (tests): Change dependencies to ....
13288 (tests-special): ... additions to this variable. Also add
13289 $(objpfx)tst-gettext.out.
13290 * io/Makefile (tests): Change dependencies to ....
13291 (tests-special): ... additions to this variable.
13292 * libio/Makefile (tests): Change dependencies to ....
13293 (tests-special): ... additions to this variable.
13294 * malloc/Makefile (tests): Change dependencies to ....
13295 (tests-special): ... additions to this variable.
13296 * misc/Makefile (tests): Change dependencies to ....
13297 (tests-special): ... additions to this variable.
13298 * nptl/Makefile (tests): Change dependencies to ....
13299 (tests-special): ... additions to this variable.
13300 * nptl_db/Makefile (tests): Change dependencies to ....
13301 (tests-special): ... additions to this variable.
13302 * posix/Makefile (tests): Change dependencies to ....
13303 (tests-special): ... additions to this variable.
13304 (xtests): Change dependencies to ....
13305 (xtests-special): ... additions to this variable.
13306 * resolv/Makefile (tests): Change dependencies to ....
13307 (tests-special): ... additions to this variable.
13308 (xtests): Change dependencies to ....
13309 (xtests-special): ... additions to this variable.
13310 * stdio-common/Makefile (tests): Change dependencies to ....
13311 (tests-special): ... additions to this variable.
13312 (do-tst-unbputc): Remove target.
13313 (do-tst-printf): Likewise.
13314 * stdlib/Makefile (tests): Change dependencies to ....
13315 (tests-special): ... additions to this variable.
13316 * string/Makefile (tests): Change dependencies to ....
13317 (tests-special): ... additions to this variable.
13318 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13319 (tests-special): ... additions to this variable.
13320
13321 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13322 whole file.
13323 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13324 whole file.
13325 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13326 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13327
13328 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13329 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13330 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13331 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13332 * conform/data/libgen.h-data [XPG3]: Likewise.
13333 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13334 * conform/data/ndbm.h-data [XPG3]: Likewise.
13335 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13336 * conform/data/netdb.h-data [XPG3]: Likewise.
13337 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13338 * conform/data/poll.h-data [XPG3]: Likewise.
13339 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13340 * conform/data/strings.h-data [XPG3]: Likewise.
13341 * conform/data/stropts.h-data [XPG3]: Likewise.
13342 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13343 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13344 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13345 Likewise.
13346 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13347 * conform/data/sys/time.h-data [XPG3]: Likewise.
13348 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13349 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13350 * conform/data/sys/un.h-data [XPG3]: Likewise.
13351 * conform/data/syslog.h-data [XPG3]: Likewise.
13352 * conform/data/ucontext.h-data [XPG3]: Likewise.
13353 * conform/data/utmpx.h-data [XPG3]: Likewise.
13354 * conform/data/varargs.h-data [UNIX98]: Enable file.
13355
13356 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13357
13358 * math/libm-test.inc (struct test_f_f_data): Move expected results
13359 into structure for each rounding mode.
13360 (struct test_ff_f_data): Likewise.
13361 (struct test_ff_f_data_nexttoward): Likewise.
13362 (struct test_fi_f_data): Likewise.
13363 (struct test_fl_f_data): Likewise.
13364 (struct test_if_f_data): Likewise.
13365 (struct test_fff_f_data): Likewise.
13366 (struct test_c_f_data): Likewise.
13367 (struct test_f_f1_data): Likewise.
13368 (struct test_fF_f1_data): Likewise.
13369 (struct test_ffI_f1_data): Likewise.
13370 (struct test_c_c_data): Likewise.
13371 (struct test_cc_c_data): Likewise.
13372 (struct test_f_i_data): Likewise.
13373 (struct test_ff_i_data): Likewise.
13374 (struct test_f_l_data): Likewise.
13375 (struct test_f_L_data): Likewise.
13376 (struct test_fFF_11_data): Likewise.
13377 (RM_): New macro.
13378 (RM_FE_DOWNWARD): Likewise.
13379 (RM_FE_TONEAREST): Likewise.
13380 (RM_FE_TOWARDZERO): Likewise.
13381 (RM_FE_UPWARD): Likewise.
13382 (RUN_TEST_LOOP_f_f): Update references to expected results.
13383 (RUN_TEST_LOOP_2_f): Likewise.
13384 (RUN_TEST_LOOP_fff_f): Likewise.
13385 (RUN_TEST_LOOP_c_f): Likewise.
13386 (RUN_TEST_LOOP_f_f1): Likewise.
13387 (RUN_TEST_LOOP_fF_f1): Likewise.
13388 (RUN_TEST_LOOP_fI_f1): Likewise.
13389 (RUN_TEST_LOOP_ffI_f1): Likewise.
13390 (RUN_TEST_LOOP_c_c): Likewise.
13391 (RUN_TEST_LOOP_cc_c): Likewise.
13392 (RUN_TEST_LOOP_f_i): Likewise.
13393 (RUN_TEST_LOOP_f_i_tg): Likewise.
13394 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13395 (RUN_TEST_LOOP_f_b): Likewise.
13396 (RUN_TEST_LOOP_f_b_tg): Likewise.
13397 (RUN_TEST_LOOP_f_l): Likewise.
13398 (RUN_TEST_LOOP_f_L): Likewise.
13399 (RUN_TEST_LOOP_fFF_11): Likewise.
13400 * math/gen-libm-test.pl (parse_args): Output four copies of
13401 expected results for each test.
13402
13403 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13404 (__ASSUME_UTIMES): Remove.
13405 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13406 (__ASSUME_UTIMES): Likewise.
13407
13408 * math/gen-auto-libm-tests.c: Update comment on output format.
13409 (output_for_one_input_case): Generate before-rounding and
13410 after-rounding information as conditions on output flags not
13411 floating-point format.
13412 * math/auto-libm-test-out: Regenerated.
13413 * math/gen-libm-test.pl (cond_value): New function.
13414 (or_cond_value): Use cond_value.
13415 (generate_testfile): Handle conditional exceptions.
13416
134172014-03-05 Joseph Myers <joseph@codesourcery.com>
13418
13419 * math/libm-test.inc (max_valid_error): New variable.
13420 (init_max_error): Take new argument specifying whether function
13421 results are exactly determined. Set max_valid_error and bound
13422 other variables for errors based on this argument.
13423 (set_max_error): Do not record results above max_valid_error.
13424 (check_float_internal): Only accept errors of up to 0.5ulps if
13425 also at most max_valid_error.
13426 (START): Take new argument EXACT and pass it to init_max_error.
13427 (acos_test): Update call to START.
13428 (acos_test_tonearest): Likewise.
13429 (acos_test_towardzero): Likewise.
13430 (acos_test_downward): Likewise.
13431 (acos_test_upward): Likewise.
13432 (acosh_test): Likewise.
13433 (asin_test): Likewise.
13434 (asin_test_tonearest): Likewise.
13435 (asin_test_towardzero): Likewise.
13436 (asin_test_downward): Likewise.
13437 (asin_test_upward): Likewise.
13438 (asinh_test): Likewise.
13439 (atan_test): Likewise.
13440 (atanh_test): Likewise.
13441 (atan2_test): Likewise.
13442 (cabs_test): Likewise.
13443 (cacos_test): Likewise.
13444 (cacosh_test): Likewise.
13445 (carg_test): Likewise.
13446 (casin_test): Likewise.
13447 (casinh_test): Likewise.
13448 (catan_test): Likewise.
13449 (catanh_test): Likewise.
13450 (cbrt_test): Likewise.
13451 (ccos_test): Likewise.
13452 (ccosh_test): Likewise.
13453 (ceil_test): Likewise.
13454 (cexp_test): Likewise.
13455 (cimag_test): Likewise.
13456 (clog_test): Likewise.
13457 (clog10_test): Likewise.
13458 (conj_test): Likewise.
13459 (copysign_test): Likewise.
13460 (cos_test): Likewise.
13461 (cos_test_tonearest): Likewise.
13462 (cos_test_towardzero): Likewise.
13463 (cos_test_downward): Likewise.
13464 (cos_test_upward): Likewise.
13465 (cosh_test): Likewise.
13466 (cosh_test_tonearest): Likewise.
13467 (cosh_test_towardzero): Likewise.
13468 (cosh_test_downward): Likewise.
13469 (cosh_test_upward): Likewise.
13470 (cpow_test): Likewise.
13471 (cproj_test): Likewise.
13472 (creal_test): Likewise.
13473 (csin_test): Likewise.
13474 (csinh_test): Likewise.
13475 (csqrt_test): Likewise.
13476 (ctan_test): Likewise.
13477 (ctan_test_tonearest): Likewise.
13478 (ctan_test_towardzero): Likewise.
13479 (ctan_test_downward): Likewise.
13480 (ctan_test_upward): Likewise.
13481 (ctanh_test): Likewise.
13482 (ctanh_test_tonearest): Likewise.
13483 (ctanh_test_towardzero): Likewise.
13484 (ctanh_test_downward): Likewise.
13485 (ctanh_test_upward): Likewise.
13486 (erf_test): Likewise.
13487 (erfc_test): Likewise.
13488 (exp_test): Likewise.
13489 (exp_test_tonearest): Likewise.
13490 (exp_test_towardzero): Likewise.
13491 (exp_test_downward): Likewise.
13492 (exp_test_upward): Likewise.
13493 (exp10_test): Likewise.
13494 (exp10_test_tonearest): Likewise.
13495 (exp10_test_towardzero): Likewise.
13496 (exp10_test_downward): Likewise.
13497 (exp10_test_upward): Likewise.
13498 (pow10_test): Likewise.
13499 (exp2_test): Likewise.
13500 (expm1_test): Likewise.
13501 (expm1_test_tonearest): Likewise.
13502 (expm1_test_towardzero): Likewise.
13503 (expm1_test_downward): Likewise.
13504 (expm1_test_upward): Likewise.
13505 (fabs_test): Likewise.
13506 (fdim_test): Likewise.
13507 (floor_test): Likewise.
13508 (fma_test): Likewise.
13509 (fma_test_towardzero): Likewise.
13510 (fma_test_downward): Likewise.
13511 (fma_test_upward): Likewise.
13512 (fmax_test): Likewise.
13513 (fmin_test): Likewise.
13514 (fmod_test): Likewise.
13515 (fpclassify_test): Likewise.
13516 (frexp_test): Likewise.
13517 (hypot_test): Likewise.
13518 (ilogb_test): Likewise.
13519 (isfinite_test): Likewise.
13520 (finite_test): Likewise.
13521 (isgreater_test): Likewise.
13522 (isgreaterequal_test): Likewise.
13523 (isinf_test): Likewise.
13524 (isless_test): Likewise.
13525 (islessequal_test): Likewise.
13526 (islessgreater_test): Likewise.
13527 (isnan_test): Likewise.
13528 (isnormal_test): Likewise.
13529 (issignaling_test): Likewise.
13530 (isunordered_test): Likewise.
13531 (j0_test): Likewise.
13532 (j1_test): Likewise.
13533 (jn_test): Likewise.
13534 (ldexp_test): Likewise.
13535 (lgamma_test): Likewise.
13536 (gamma_test): Likewise.
13537 (lrint_test): Likewise.
13538 (lrint_test_tonearest): Likewise.
13539 (lrint_test_towardzero): Likewise.
13540 (lrint_test_downward): Likewise.
13541 (lrint_test_upward): Likewise.
13542 (llrint_test): Likewise.
13543 (llrint_test_tonearest): Likewise.
13544 (llrint_test_towardzero): Likewise.
13545 (llrint_test_downward): Likewise.
13546 (llrint_test_upward): Likewise.
13547 (log_test): Likewise.
13548 (log10_test): Likewise.
13549 (log1p_test): Likewise.
13550 (log2_test): Likewise.
13551 (logb_test): Likewise.
13552 (logb_test_downward): Likewise.
13553 (lround_test): Likewise.
13554 (llround_test): Likewise.
13555 (modf_test): Likewise.
13556 (nearbyint_test): Likewise.
13557 (nextafter_test): Likewise.
13558 (nexttoward_test): Likewise.
13559 (pow_test): Likewise.
13560 (pow_test_tonearest): Likewise.
13561 (pow_test_towardzero): Likewise.
13562 (pow_test_downward): Likewise.
13563 (pow_test_upward): Likewise.
13564 (remainder_test): Likewise.
13565 (drem_test): Likewise.
13566 (remainder_test_tonearest): Likewise.
13567 (drem_test_tonearest): Likewise.
13568 (remainder_test_towardzero): Likewise.
13569 (drem_test_towardzero): Likewise.
13570 (remainder_test_downward): Likewise.
13571 (drem_test_downward): Likewise.
13572 (remainder_test_upward): Likewise.
13573 (drem_test_upward): Likewise.
13574 (remquo_test): Likewise.
13575 (rint_test): Likewise.
13576 (rint_test_tonearest): Likewise.
13577 (rint_test_towardzero): Likewise.
13578 (rint_test_downward): Likewise.
13579 (rint_test_upward): Likewise.
13580 (round_test): Likewise.
13581 (scalb_test): Likewise.
13582 (scalbn_test): Likewise.
13583 (scalbln_test): Likewise.
13584 (signbit_test): Likewise.
13585 (sin_test): Likewise.
13586 (sin_test_tonearest): Likewise.
13587 (sin_test_towardzero): Likewise.
13588 (sin_test_downward): Likewise.
13589 (sin_test_upward): Likewise.
13590 (sincos_test): Likewise.
13591 (sinh_test): Likewise.
13592 (sinh_test_tonearest): Likewise.
13593 (sinh_test_towardzero): Likewise.
13594 (sinh_test_downward): Likewise.
13595 (sinh_test_upward): Likewise.
13596 (sqrt_test): Likewise.
13597 (sqrt_test_tonearest): Likewise.
13598 (sqrt_test_towardzero): Likewise.
13599 (sqrt_test_downward): Likewise.
13600 (sqrt_test_upward): Likewise.
13601 (tan_test): Likewise.
13602 (tan_test_tonearest): Likewise.
13603 (tan_test_towardzero): Likewise.
13604 (tan_test_downward): Likewise.
13605 (tan_test_upward): Likewise.
13606 (tanh_test): Likewise.
13607 (tgamma_test): Likewise.
13608 (trunc_test): Likewise.
13609 (y0_test): Likewise.
13610 (y1_test): Likewise.
13611 (yn_test): Likewise.
13612 (significand_test): Likewise.
13613
13614 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13615 individual tests in comment.
13616 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13617 (prev_max_error): New variable.
13618 (prev_real_max_error): Likewise.
13619 (prev_imag_max_error): Likewise.
13620 (compare_ulp_data): Don't refer to test names in comment.
13621 (find_test_ulps): Remove function.
13622 (find_function_ulps): Likewise.
13623 (find_complex_function_ulps): Likewise.
13624 (init_max_error): Take function name as argument. Look up ulps
13625 for that function.
13626 (print_ulps): Remove function.
13627 (print_max_error): Use prev_max_error instead of calling
13628 find_function_ulps.
13629 (print_complex_max_error): Use prev_real_max_error and
13630 prev_imag_max_error instead of calling find_complex_function_ulps.
13631 (check_float_internal): Take max_ulp parameter instead of calling
13632 find_test_ulps. Don't call print_ulps.
13633 (check_float): Update call to check_float_internal.
13634 (check_complex): Update calls to check_float_internal.
13635 (START): Pass argument to init_max_error.
13636 * math/gen-libm-test.pl (%results): Don't include "kind"
13637 information.
13638 (parse_ulps): Don't handle ulps of individual tests.
13639 (print_ulps_file): Likewise.
13640 (output_ulps): Likewise.
13641 * math/README.libm-test: Update.
13642 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13643 individual tests.
13644 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13645 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13646 * sysdeps/arm/libm-test-ulps: Likewise.
13647 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13648 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13649 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13650 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13651 * sysdeps/microblaze/libm-test-ulps: Likewise.
13652 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13653 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13654 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13655 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13656 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13657 * sysdeps/sh/libm-test-ulps: Likewise.
13658 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13659 * sysdeps/tile/libm-test-ulps: Likewise.
13660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13661
136622014-03-04 Joseph Myers <joseph@codesourcery.com>
13663
13664 * math/libm-test.inc (print_complex_max_error): Check separately
13665 whether real and imaginary errors are within allowed range and
13666 pass 0 to print_complex_function_ulps instead of value within
13667 allowed range.
13668
136692014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13670
13671 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13672 formatting.
13673 (get_handles_fopen): Likewise.
13674 (do_write_test): Likewise.
13675
13676 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13677
13678 * libio/fileops.c (do_ftell): Use cached offset when
13679 available.
13680 * libio/iofwide.c (do_ftell_wide): Likewise.
13681 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13682 _IO_file_attach.
13683 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13684
13685 [BZ #16532]
13686 * libio/libioP.h (get_file_offset): New function.
13687 * libio/fileops.c (get_file_offset): Likewise.
13688 (do_ftell): Likewise.
13689 (_IO_new_file_seekoff): Split out ftell logic.
13690 * libio/wfileops.c (do_ftell_wide): Likewise.
13691 (_IO_wfile_seekoff): Split out ftell logic.
13692 * libio/tst-ftell-active-handler.c: New test case.
13693 * libio/Makefile (tests): Add it.
13694
136952014-03-03 Roland McGrath <roland@hack.frob.com>
13696
13697 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13698 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13699
137002014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13701
13702 [BZ #16639]
13703 * nscd/connections.c (nscd_init): Call do_exit.
13704 (start_threads): Call do_exit and notify_parent.
13705 (begin_drop_privileges): Call do_exit.
13706 (finish_drop_privileges): Likewise.
13707 * nscd/selinux.c (preserve_capabilities): Likewise.
13708 (install_real_capabilities): Likewise.
13709 (nscd_selinux_enabled): Likewise.
13710 (avc_create_thread): Likewise.
13711 (avc_alloc_lock): Likewise.
13712 (nscd_avc_init): Likewise.
13713 * nscd/nscd.c (parent_fd): New static variable.
13714 (main): Create a pipe between parent and child processes.
13715 Skip closing parent_fd.
13716 (monitor_child): New function.
13717 (do_exit): Likewise.
13718 (notify_parent): Likewise.
13719 * nscd/nscd.h (notify_parent): Likewise.
13720 (do_exit): Likewise.
13721
137222014-03-03 Carlos O'Donell <carlos@redhat.com>
13723
13724 * malloc/malloc.c (__libc_calloc): Revert last change.
13725
137262014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13727
13728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13729
137302014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13731
13732 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13734 implementation.
13735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13736 (__libc_ifunc_impl_list): Likewise.
13737 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13738 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13739 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13740 * string/strrchr.c: Define STRRCHR.
13741
137422014-02-28 Ondřej Bílka <neleai@seznam.cz>
13743
13744 * benchtest/bench-strtok.c (simple_strtok): Delete.
13745 (strtok_string): Use as benchmark.
13746 * string/strtok (STRTOK): New macro.
13747
137482014-02-28 Carlos O'Donell <carlos@redhat.com>
13749
13750 * manual/threads.texi: Add header and standard comments to all
13751 functions.
13752
13753 * elf/dl-lookup.c (check_match): New function.
13754 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13755 (do_lookup_x): Remove nested function check_match. Use non-nested
13756 function check_match.
13757
137582014-02-28 Roland McGrath <roland@hack.frob.com>
13759
13760 * csu/Makefile (generated, before-compile): Use += rather than =.
13761 * catgets/Makefile (generated, generated-dirs): Likewise.
13762 * debug/Makefile (generated): Likewise.
13763 * dlfcn/Makefile (generated): Likewise.
13764 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13765 * iconvdata/Makefile (before-compile, generated): Likewise.
13766 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13767 * libio/Makefile (generated): Likewise.
13768 * malloc/Makefile (generated): Likewise.
13769 * manual/Makefile (generated, generated-dirs): Likewise.
13770 * misc/Makefile (generated): Likewise.
13771 * posix/Makefile (generated): Likewise.
13772 * resolv/Makefile (generated): Likewise.
13773 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13774 * timezone/Makefile (generated, generated-dirs): Likewise.
13775
13776 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13777
137782014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13779
13780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13781 power8 implementation.
13782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13783 file: POWER8 llround ifunc implementation.
13784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13785 (__lllround): Add POWER8 implementation.
13786 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13787 POWER8 llround implementation.
13788
13789 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13790 power8 implementation.
13791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13792 file: POWER8 llrint ifunc implementation.
13793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13794 Add POWER8 implementation.
13795 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13796 POWER8 llrint implementation.
13797
13798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13799 power8 implementation.
13800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13801 file: POWER8 finite ifunc implementation.
13802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13803 Add POWER8 implementation.
13804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13805 Likewise.
13806 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13807 POWER8 finite implementation.
13808 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13809
13810 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13811 power8 implementation.
13812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13813 file: POWER8 isinf ifunc implementation.
13814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13815 POWER8 implementation.
13816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13817 Likewise.
13818 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13819 isinf implementation.
13820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13821
13822 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13823 (INIT_ARCH): Add hwcap2 initialization.
13824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13825 power8 implementation.
13826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13827 file: POWER8 isnan ifunc implementation.
13828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13829 POWER8 implementation.
13830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13831 Likewise.
13832 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13833 isnan implementation.
13834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13835
138362014-02-27 Joey Ye <joey.ye@arm.com>
13837
13838 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13839 (_FP_NANFRAC_Q): Set to zero.
13840
138412014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13842
13843 [BZ #16623]
13844 * math/auto-libm-test-in: New test inputs.
13845 * math/auto-libm-test-out: Regenerate.
13846 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13847 and DA.
13848 (__cos): Likewise.
13849 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13850
138512014-02-27 Joseph Myers <joseph@codesourcery.com>
13852
13853 * scripts/evaluate-test.sh: Take new argument indicating whether
13854 failure is expected.
13855 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13856 indicating whether failure is expected.
13857 * conform/Makefile (test-xfail-run-conformtest): New variable.
13858 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13859 level.
13860 * posix/Makefile (test-xfail-annexc): New variable.
13861 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13862
138632014-02-26 Joseph Myers <joseph@codesourcery.com>
13864
13865 * argp/Makefile: Include Makeconfig immediately after defining
13866 subdir.
13867 * assert/Makefile: Likewise.
13868 * benchtests/Makefile: Likewise.
13869 * catgets/Makefile: Likewise.
13870 * conform/Makefile: Likewise.
13871 * crypt/Makefile: Likewise.
13872 * csu/Makefile: Likewise.
13873 (all): Remove target.
13874 * ctype/Makefile: Include Makeconfig immediately after defining
13875 subdir.
13876 * debug/Makefile: Likewise.
13877 * dirent/Makefile: Likewise.
13878 * dlfcn/Makefile: Likewise.
13879 * gmon/Makefile: Likewise.
13880 * gnulib/Makefile: Likewise.
13881 * grp/Makefile: Likewise.
13882 * gshadow/Makefile: Likewise.
13883 * hesiod/Makefile: Likewise.
13884 * hurd/Makefile: Likewise.
13885 (all): Remove target.
13886 * iconvdata/Makefile: Include Makeconfig immediately after
13887 defining subdir.
13888 * inet/Makefile: Likewise.
13889 * intl/Makefile: Likewise.
13890 * io/Makefile: Likewise.
13891 * libio/Makefile: Likewise.
13892 (all): Remove target.
13893 * locale/Makefile: Include Makeconfig immediately after defining
13894 subdir.
13895 * login/Makefile: Likewise.
13896 * mach/Makefile: Likewise.
13897 (all): Remove target.
13898 * malloc/Makefile: Include Makeconfig immediately after defining
13899 subdir.
13900 (all): Remove target.
13901 * manual/Makefile: Include Makeconfig immediately after defining
13902 subdir.
13903 * math/Makefile: Likewise.
13904 * misc/Makefile: Likewise.
13905 * nis/Makefile: Likewise.
13906 * nss/Makefile: Likewise.
13907 * po/Makefile: Likewise.
13908 (all): Remove target.
13909 * posix/Makefile: Include Makeconfig immediately after defining
13910 subdir.
13911 * pwd/Makefile: Likewise.
13912 * resolv/Makefile: Likewise.
13913 * resource/Makefile: Likewise.
13914 * rt/Makefile: Likewise.
13915 * setjmp/Makefile: Likewise.
13916 * shadow/Makefile: Likewise.
13917 * signal/Makefile: Likewise.
13918 * socket/Makefile: Likewise.
13919 * soft-fp/Makefile: Likewise.
13920 * stdio-common/Makefile: Likewise.
13921 * stdlib/Makefile: Likewise.
13922 * streams/Makefile: Likewise.
13923 * string/Makefile: Likewise.
13924 * sunrpc/Makefile: Likewise.
13925 (all): Remove target.
13926 * sysvipc/Makefile: Include Makeconfig immediately after defining
13927 subdir.
13928 * termios/Makefile: Likewise.
13929 * time/Makefile: Likewise.
13930 * timezone/Makefile: Likewise.
13931 (all): Remove target.
13932 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13933 subdir.
13934 * wctype/Makefile: Likewise.
13935
139362014-02-26 Steve Ellcey <sellcey@mips.com>
13937
13938 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13939 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13940 (libc_feholdexcept_setround_mips): Ditto.
13941 (libc_feholdsetround): New.
13942 (libc_feholdsetroundf): New.
13943 (libc_feholdsetroundl): New.
13944 (libc_feupdateenv_test_mips): New.
13945 (libc_feupdateenv_test): New.
13946 (libc_feupdateenv_testf): New.
13947 (libc_feupdateenv_testl): New.
13948 (libc_feresetround): New.
13949 (libc_feresetroundf): New.
13950 (libc_feresetroundl): New.
13951 (libc_fetestexcept_mips): New.
13952 (libc_fetestexcept): New.
13953 (libc_fetestexceptf): New.
13954 (libc_fetestexceptl): New.
13955 (HAVE_RM_CTX): New.
13956 (libc_feholdexcept_setround_mips_ctx): New.
13957 (libc_feholdexcept_setround_ctx): New.
13958 (libc_feholdexcept_setroundf_ctx): New.
13959 (libc_feholdexcept_setroundl_ctx): New.
13960 (libc_fesetenv_mips_ctx): New.
13961 (libc_fesetenv_ctx): New.
13962 (libc_fesetenv_ctxf): New.
13963 (libc_fesetenv_ctxl): New.
13964 (libc_feupdateenv_mips_ctx): New.
13965 (libc_feupdateenv_ctx): New.
13966 (libc_feupdateenvf_ctx): New.
13967 (libc_feupdateenvl_ctx): New.
13968 (libc_feholdsetround_mips_ctx): New.
13969 (libc_feholdsetround_ctx): New.
13970 (libc_feholdsetroundf_ctx): New.
13971 (libc_feholdsetroundl_ctx): New.
13972 (libc_feresetround_mips_ctx): New.
13973 (libc_feresetround_ctx): New.
13974 (libc_feresetroundf_ctx): New.
13975 (libc_feresetroundl_ctx): New.
13976
139772014-02-26 Carlos O'Donell <carlos@redhat.com>
13978
13979 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13980
13981 * manual/ipc.texi: New file.
13982 * manual/Makefile (chapters): Add ipc.
13983 * manual/job.texi: Add "Inter-Process Communication" to next.
13984 * manual/process.texi: Add "Inter-Process Communication" to prev.
13985
139862014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13987
13988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13989
139902014-02-26 Ondřej Bílka <neleai@seznam.cz>
13991
13992 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13993
13994 * manual/arith.texi: Fix spaces after sentences.
13995 * manual/charset.texi: Likewise.
13996 * manual/errno.texi: Likewise.
13997 * manual/install.texi: Likewise.
13998 * manual/llio.texi: Likewise.
13999 * manual/locale.texi: Likewise.
14000 * manual/maint.texi: Likewise.
14001 * manual/math.texi: Likewise.
14002 * manual/memory.texi: Likewise.
14003 * manual/message.texi: Likewise.
14004 * manual/probes.texi: Likewise.
14005 * manual/resource.texi: Likewise.
14006 * manual/signal.texi: Likewise.
14007 * manual/socket.texi: Likewise.
14008 * manual/stdio.texi: Likewise.
14009 * manual/string.texi: Likewise.
14010 * manual/time.texi: Likewise.
14011 * manual/users.texi: Likewise.
14012
140132014-02-25 Carlos O'Donell <carlos@redhat.com>
14014
14015 [BZ #16632]
14016 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14017 _DEFAULT_SOURCE is defined.
14018
140192014-02-25 Ulrich Drepper <drepper@gmail.com>
14020 Carlos O'Donell <carlos@redhat.com>
14021
14022 [BZ #16613]
14023 * elf/dl-tls.c (_dl_count_modids): New function.
14024 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14025 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14026 audit library and increment generation counter.
14027 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14028 * elf/tst-audit9.c: New file.
14029 * elf/tst-auditmod9a.c: New file.
14030 * elf/tst-auditmod9b.c: New file.
14031 * elf/Makefile: Add rules to build and run tst-audit9.
14032
140332014-02-25 Florian Weimer <fweimer@redhat.com>
14034
14035 [BZ #15347]
14036 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14037
140382014-02-25 Will Newton <will.newton@linaro.org>
14039
14040 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14041 (__longjmp): Restore sp and lr before restoring callee
14042 saved registers. Add longjmp and longjmp_target
14043 SystemTap probe point.
14044 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14045 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14046 Define to zero to match jmpbuf layout.
14047 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14048 (__sigsetjmp): Save sp and lr before saving callee
14049 saved registers. Add setjmp SystemTap probe point.
14050
140512014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14052
14053 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14054
140552014-02-24 Andreas Schwab <schwab@suse.de>
14056
14057 [BZ #15804]
14058 * elf/pldd.c (wait_for_ptrace_stop): New function.
14059 (main): Call it after attaching.
14060
140612014-02-22 Roland McGrath <roland@hack.frob.com>
14062
14063 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14064 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14065 Versions files is now verboten.
14066 * hurd/Versions (libc: GLIBC_2.0):
14067 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14068 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14069 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14070 * mach/Versions: Likewise.
14071
14072 * csu/Versions: Remove unused %include.
14073 * resolv/Versions: Likewise.
14074
140752014-02-21 Joseph Myers <joseph@codesourcery.com>
14076
14077 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14078 ($(objpfx)check-local-headers.out): Likewise.
14079 ($(objpfx)begin-end-check.out): Likewise.
14080 * Makerules (check-abi-%.out): Likewise.
14081 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14082 ($(objpfx)test2.cat): Likewise.
14083 ($(objpfx)de/libc.cat): Likewise.
14084 ($(objpfx)test-gencat.out): Likewise.
14085 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14086 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14087 ($(objpfx)noload-mem): Likewise.
14088 ($(objpfx)tst-pathopt.out): Likewise.
14089 ($(objpfx)tst-rtld-load-self.out): Likewise.
14090 ($(objpfx)tst-array1-cmp.out): Likewise.
14091 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14092 ($(objpfx)tst-array2-cmp.out): Likewise.
14093 ($(objpfx)tst-array3-cmp.out): Likewise.
14094 ($(objpfx)tst-array4-cmp.out): Likewise.
14095 ($(objpfx)tst-array5-cmp.out): Likewise.
14096 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14097 ($(objpfx)check-textrel.out): Likewise.
14098 ($(objpfx)check-execstack.out): Likewise.
14099 ($(objpfx)check-localplt.out): Likewise.
14100 ($(objpfx)order2-cmp.out): Likewise.
14101 ($(objpfx)tst-leaks1-mem): Likewise.
14102 ($(objpfx)tst-leaks1-static-mem): Likewise.
14103 ($(objpfx)tst-initorder-cmp.out): Likewise.
14104 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14105 ($(objpfx)tst-unused-dep.out): Likewise.
14106 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14107 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14108 * iconv/Makefile (test-iconvconfig): Likewise.
14109 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14110 ($(objpfx)iconv-test.out): Likewise.
14111 ($(objpfx)tst-tables.out): Likewise.
14112 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14113 ($(objpfx)tst-gettext.out): Likewise.
14114 ($(objpfx)tst-translit.out): Likewise.
14115 ($(objpfx)tst-gettext2.out): Likewise.
14116 ($(objpfx)tst-gettext4.out): Likewise.
14117 ($(objpfx)tst-gettext6.out): Likewise.
14118 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14119 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14120 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14121 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14123 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14124 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14125 ($(objpfx)wordexp-tst.out): Likewise.
14126 ($(objpfx)annexc.out): Likewise.
14127 ($(objpfx)tst-fnmatch-mem): Likewise.
14128 ($(objpfx)bug-regex2-mem): Likewise.
14129 ($(objpfx)bug-regex14-mem): Likewise.
14130 ($(objpfx)bug-regex21-mem): Likewise.
14131 ($(objpfx)bug-regex31-mem): Likewise.
14132 ($(objpfx)tst-vfork3-mem): Likewise.
14133 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14134 ($(objpfx)tst-pcre-mem): Likewise.
14135 ($(objpfx)tst-boost-mem): Likewise.
14136 ($(objpfx)tst-getconf.out): Likewise.
14137 ($(objpfx)bug-ga2-mem): Likewise.
14138 ($(objpfx)bug-glob2-mem): Likewise.
14139 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14140 ($(objpfx)mtrace-tst-leaks2): Likewise.
14141 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14142 ($(objpfx)tst-printf.out): Likewise.
14143 ($(objpfx)tst-setvbuf1.out): Likewise.
14144 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14145 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14146 ($(objpfx)tst-fmtmsg.out): Likewise.
14147 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14148 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14149
14150 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14151 * bits/sigaction.h [__USE_MISC]: Likewise.
14152 * bits/waitstatus.h: Update #endif comments.
14153 * ctype/ctype.h: Likewise.
14154 * dirent/dirent.h: Likewise.
14155 [__USE_MISC]: Remove redundant conditionals.
14156 * grp/grp.h: Update #endif comments.
14157 [__USE_GNU]: Remove redundant conditionals.
14158 [__USE_MISC]: Likewise.
14159 * inet/netinet/in.h [__USE_GNU]: Likewise.
14160 * io/sys/stat.h [__USE_MISC]: Likewise.
14161 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14162 * libio/bits/stdio.h: Update #endif comments.
14163 [__USE_MISC]: Remove redundant conditionals.
14164 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14165 * libio/stdio.h: Update #endif comments.
14166 [__USE_MISC]: Remove redundant conditionals.
14167 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14168 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14169 * math/math.h: Update #else and #endif comments.
14170 [__USE_MISC]: Remove redundant conditionals.
14171 * misc/sys/uio.h: Update #endif comments.
14172 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14173 * posix/glob.h [__USE_MISC]: Likewise.
14174 * posix/sys/types.h: Update #endif comments.
14175 [__USE_MISC]: Remove redundant conditionals.
14176 * posix/sys/wait.h: Update #endif comments.
14177 [__USE_MISC]: Remove redundant conditionals.
14178 * posix/unistd.h: Update #endif comments.
14179 [__USE_MISC]: Remove redundant conditionals.
14180 * pwd/pwd.h [__USE_GNU]: Likewise.
14181 [__USE_MISC]: Likewise.
14182 * resolv/netdb.h [__USE_GNU]: Likewise.
14183 * signal/signal.h: Update #endif comments.
14184 [__USE_MISC]: Remove redundant conditionals.
14185 * stdlib/stdlib.h: Update #else and #endif comments.
14186 [__USE_MISC]: Remove redundant conditionals.
14187 [__USE_GNU]: Likewise.
14188 * string/bits/string2.h [__USE_MISC]: Likewise.
14189 * string/string.h: Update #endif comments.
14190 [__USE_MISC]: Remove redundant conditionals.
14191 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14192 Likewise.
14193 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14194 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14195 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14196 Likewise.
14197 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14198 Likewise.
14199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14200 comments.
14201 [__USE_MISC]: Remove redundant conditionals.
14202 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14203 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14204 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14205 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14206 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14207 Likewise.
14208 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14209 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14210 Likewise.
14211 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14212 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14213 Likewise.
14214 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14215 Likewise.
14216 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14217 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14218 Likewise.
14219 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14220 Likewise.
14221 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14222 * sysdeps/x86/bits/string.h: Update #endif comments.
14223 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14224 conditionals.
14225 * time/sys/time.h: Update #endif comments.
14226 * time/time.h: Likewise.
14227 [__USE_MISC]: Remove redundant conditionals.
14228
142292014-02-21 Yury Gribov <y.gribov@samsung.com>
14230
14231 [BZ #16600]
14232 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14233
142342014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14235
14236 * Versions.def (librt): Add GLIBC_2.17.
14237
142382014-02-21 Adam Conrad <adconrad@0c3.net>
14239
14240 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14241 synonym for _SYS_AUXV_H to allow direct inclusion.
14242 * sysdeps/sparc/bits/hwcap.h: Likewise.
14243 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14244 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14245 * sysdeps/sparc/sysdep.h: Likewise.
14246
142472014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14248
14249 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14250
142512014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14252
14253 * benchtests/bench-strrchr.c: Print length instead of position.
14254
142552014-02-20 Joseph Myers <joseph@codesourcery.com>
14256
14257 [BZ #16611]
14258 * sysdeps/unix/sysv/linux/kernel-features.h
14259 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14260 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14261 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14262 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14263 Likewise.
14264 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14265 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14266 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14267 (__ASSUME_SENDMMSG): Define instead of using previous
14268 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14269 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14270 (__ASSUME_SENDMMSG_SYSCALL): Define.
14271 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14272 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14273 Likewise.
14274 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14278 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14279 Likewise.
14280 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14281 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14282 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14283 [__ASSUME_SENDMMSG]: Change conditionals to
14284 [__ASSUME_SENDMMSG_SOCKETCALL].
14285 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14286 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14287 Define.
14288 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14289 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14290 Likewise.
14291 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14292 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14293 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14294 [!__ASSUME_SENDMMSG]: Change conditional to
14295 [!__ASSUME_SENDMMSG_SOCKETCALL].
14296 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14297 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14298 Define.
14299
14300 [BZ #16610]
14301 * sysdeps/unix/sysv/linux/kernel-features.h
14302 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14303 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14304 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14305 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14306 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14307 [__i386__ || __sparc__]
14308 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14309 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14310 (__ASSUME_RECVMMSG): Define instead of using previous
14311 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14312 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14313 (__ASSUME_RECVMMSG_SYSCALL): Define.
14314 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14316 Likewise.
14317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14319 Likewise.
14320 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14322 Likewise.
14323 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14324 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14325 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14326 [__ASSUME_RECVMMSG]: Change condition to
14327 [__ASSUME_RECVMMSG_SOCKETCALL].
14328 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14329 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14330 Define.
14331 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14332 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14333 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14334 Likewise.
14335 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14336 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14337 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14338 [!__ASSUME_RECVMMSG]: Change condition to
14339 [!__ASSUME_RECVMMSG_SOCKETCALL].
14340 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14341 (__ASSUME_RECVMMSG_SYSCALL): Define.
14342
14343 [BZ #16609]
14344 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14345 __powerpc__ || __s390__ || __sh__ || __sparc__]
14346 (__ASSUME_SOCKETCALL): Define.
14347 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14348 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14349 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14350 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14351 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14352 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14353 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14354 (__ASSUME_ACCEPT4): Define instead of using previous
14355 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14356 __powerpc__ || __sparc__ || __s390__)] condition.
14357 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14358 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14359 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14360 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14361 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14362 [!__ASSUME_ACCEPT4]: Change condition to
14363 [!__ASSUME_ACCEPT4_SOCKETCALL].
14364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14365 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14366 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14368 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14369 __ASSUME_ACCEPT4_SYSCALL.
14370 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14371 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14372 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14373 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14374 __ASSUME_ACCEPT4_SYSCALL.
14375 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14376 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14377 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14378 [__ASSUME_ACCEPT4]: Change condition to
14379 [__ASSUME_ACCEPT4_SOCKETCALL].
14380 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14381 (__ASSUME_SOCKETCALL): Define.
14382 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14383 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14384 (__ASSUME_SOCKETCALL): Define.
14385 (__ASSUME_ACCEPT4): Remove.
14386 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14387 Define.
14388 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14389 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14390 Likewise.
14391 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14392 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14393
14394 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14395 macro.
14396 (HWCAP_ARM_LPAE): Likewise.
14397 (HWCAP_ARM_EVTSTRM): Likewise.
14398 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14399 Add vpfd32, lpae and evtstrm.
14400 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14401 Increase to 22.
14402
144032014-02-19 Joseph Myers <joseph@codesourcery.com>
14404
14405 * math/auto-libm-test-in: Add tests of clog10.
14406 * math/auto-libm-test-out: Regenerated.
14407 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14408 * sysdeps/i386/fpu/libm-test-ulps: Update.
14409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14410
144112014-02-18 Andreas Schwab <schwab@suse.de>
14412
14413 [BZ #16574]
14414 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14415 Store non-zero if the second buffer was newly allocated.
14416 (send_dg): Likewise.
14417 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14418 to send_vc and send_dg.
14419 (res_nsend): Pass NULL for ansp2_malloced.
14420 * resolv/res_query.c (__libc_res_nquery): Add parameter
14421 answerp2_malloced and pass it down to __libc_res_nsend.
14422 (res_nquery): Pass additional NULL to __libc_res_nquery.
14423 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14424 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14425 second answer buffer if answerp2_malloced was set.
14426 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14427 (__libc_res_nquerydomain): Add parameter
14428 answerp2_malloced and pass it down to __libc_res_nquery.
14429 (res_nquerydomain): Pass additional NULL to
14430 __libc_res_nquerydomain.
14431 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14432 additional NULL to __libc_res_nsend and __libc_res_nquery.
14433 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14434 additional NULL to __libc_res_nsearch.
14435 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14436 parameter of __libc_res_nsearch to check for separately allocated
14437 second buffer.
14438 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14439 __libc_res_nquery.
14440 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14441 additional NULL to __libc_res_nquery.
14442 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14443 __libc_res_nsearch.
14444 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14445 * include/resolv.h: Update prototypes of __libc_res_nquery,
14446 __libc_res_nsearch, __libc_res_nsend.
14447
144482014-02-18 Joseph Myers <joseph@codesourcery.com>
14449
14450 * math/auto-libm-test-in: Add tests of fma.
14451 * math/auto-libm-test-out: Regenerated.
14452 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14453 (fma_towardzero_test_data): Likewise.
14454 (fma_downward_test_data): Likewise.
14455 (fma_upward_test_data): Likewise.
14456 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14457 mpc_mode.
14458 (rounding_modes): Add values for new field.
14459 (func_calc_method): Add value mpfr_fff_f.
14460 (func_calc_desc): Add mpfr_fff_f union field.
14461 (test_function): Add field exact_args.
14462 (FUNC): Add macro argument EXACT_ARGS.
14463 (FUNC_mpfr_f_f): Update call to FUNC.
14464 (FUNC_mpfr_f_f): Likewise.
14465 (FUNC_mpfr_ff_f): Likewise.
14466 (FUNC_mpfr_if_f): Likewise.
14467 (FUNC_mpc_c_f): Likewise.
14468 (FUNC_mpc_c_c): Likewise.
14469 (test_functions): Add fma. Update calls to FUNC.
14470 (handle_input_arg): Add argument exact_args.
14471 (add_test): Update call to handle_input_arg.
14472 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14473 (output_for_one_input_case): Update call to calc_generic_results.
14474 Recalculate exact zero results in each rounding mode.
14475
14476 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14477 non-negative before setting low bit.
14478 * math/auto-libm-test-in: Mark one asin test possibly having
14479 spurious underflow.
14480 * math/auto-libm-test-out: Regenerated.
14481 * sysdeps/i386/fpu/libm-test-ulps: Update.
14482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483
144842014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14485
14486 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14487 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14488 ports/sysdeps/unix/sysv/linux/microblaze.
14489 * README: Add missing listing for microblaze*-*-linux-gnu.
14490
144912014-02-16 Ondřej Bílka <neleai@seznam.cz>
14492
14493 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14494 duplicate code
14495
144962014-02-16 Mike Frysinger <vapier@gentoo.org>
14497
14498 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14499 * sysdeps/unix/sysv/linux/ia64: Move directory from
14500 ports/sysdeps/unix/sysv/linux/ia64.
14501 * README: Update listing for ia64-*-linux-gnu.
14502
145032014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14504 Joseph Myers <joseph@codesourcery.com>
14505
14506 * Makeconfig (test-name): New variable.
14507 (evaluate-test): Likewise.
14508 * Makerules (do-test-clean): Remove .test-result files.
14509 (common-mostlyclean): Likewise.
14510 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14511 * scripts/evaluate-test.sh: New file.
14512
145132014-02-14 Joseph Myers <joseph@codesourcery.com>
14514
14515 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14516 separate $(objpfx)tst-fopenloc-cmp.out and
14517 $(objpfx)tst-fopenloc-mem.out targets.
14518 (tests): Update dependencies.
14519 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14520 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14521 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14522 (tst-rxspencer-no-utf8-ARGS): New variable.
14523 (tst-rxspencer-no-utf8-ENV): Likewise.
14524 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14525 instead of $(objpfx)tst-rxspencer-mem.
14526 ($(objpfx)tst-rxspencer-mem): Change target to
14527 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14528 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14529 * posix/tst-rxspencer-no-utf8.c: New file.
14530
14531 * elf/Makefile ($(objpfx)order.out): Remove rule.
14532 [$(run-built-tests) = yes] (tests): Depend on
14533 $(objpfx)order-cmp.out.
14534 ($(objpfx)order-cmp.out): New rule.
14535 [$(run-built-tests) = yes] (tests): Depend on
14536 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14537 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14538 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14539 $(objpfx)tst-array5-static-cmp.out.
14540 ($(objpfx)tst-array1.out): Remove rule.
14541 ($(objpfx)tst-array1-cmp.out): New rule.
14542 ($(objpfx)tst-array1-static.out): Remove rule.
14543 ($(objpfx)tst-array1-static-cmp.out): New rule.
14544 ($(objpfx)tst-array2.out): Remove rule.
14545 ($(objpfx)tst-array2-cmp.out): New rule.
14546 ($(objpfx)tst-array3.out): Remove rule.
14547 ($(objpfx)tst-array3-cmp.out): New rule.
14548 ($(objpfx)tst-array4.out): Remove rule.
14549 ($(objpfx)tst-array4-cmp.out): New rule.
14550 ($(objpfx)tst-array5.out): Remove rule.
14551 ($(objpfx)tst-array5-cmp.out): New rule.
14552 ($(objpfx)tst-array5-static.out): Remove rule.
14553 ($(objpfx)tst-array5-static-cmp.out): New rule.
14554 [$(run-built-tests) = yes] (tests): Depend on
14555 $(objpfx)order2-cmp.out.
14556 ($(objpfx)order2.out): Remove rule.
14557 ($(objpfx)order2-cmp.out): New rule.
14558 ($(objpfx)tst-initorder.out): Remove rule.
14559 [$(run-built-tests) = yes] (tests): Depend on
14560 $(objpfx)tst-initorder-cmp.out.
14561 ($(objpfx)tst-initorder-cmp.out): New rule.
14562 ($(objpfx)tst-initorder2.out): Remove rule.
14563 [$(run-built-tests) = yes] (tests): Depend on
14564 $(objpfx)tst-initorder2-cmp.out.
14565 ($(objpfx)tst-initorder2-cmp.out): New rule.
14566 [$(run-built-tests) = yes] (tests): Depend on
14567 $(objpfx)tst-unused-dep-cmp.out.
14568 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14569 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14570 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14571 on $(objpfx)tst-setvbuf1-cmp.out.
14572 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14573 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14574 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14575 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14576 ($(objpfx)tst-svc.out): Remove rule.
14577 ($(objpfx)tst-svc-cmp.out): New rule.
14578
145792014-02-13 Joseph Myers <joseph@codesourcery.com>
14580
14581 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14582 * ctype/ctype.h [__USE_MISC]: Likewise.
14583 * dirent/dirent.h [__USE_MISC]: Likewise.
14584 * grp/grp.h [__USE_MISC]: Likewise.
14585 * io/fcntl.h [__USE_MISC]: Likewise.
14586 * io/sys/stat.h [__USE_MISC]: Likewise.
14587 * libio/stdio.h [__USE_MISC]: Likewise.
14588 * posix/unistd.h [__USE_MISC]: Likewise.
14589 * pwd/pwd.h [__USE_MISC]: Likewise.
14590 * stdlib.h [__USE_MISC]: Likewise.
14591 * string/bits/string2.h [__USE_MISC]: Likewise.
14592 * string/string.h [__USE_MISC]: Likewise.
14593 * time/time.h [__USE_MISC]: Likewise.
14594
145952014-02-13 Andreas Schwab <schwab@suse.de>
14596
14597 [BZ #16574]
14598 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14599 second answer buffer if it was separately allocated.
14600
146012014-02-12 Joseph Myers <joseph@codesourcery.com>
14602
14603 * sysdeps/mips/math-tests.h: Include <features.h>.
14604 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14605 (ROUNDING_TESTS_long_double): Do not define.
14606 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14607 (EXCEPTION_TESTS_long_double): Likewise.
14608 * sysdeps/mips/mips64/libm-test-ulps: Update.
14609
14610 * include/features.h (__USE_BSD): Remove macro definitions.
14611 (__USE_SVID): Likewise.
14612 (_BSD_SOURCE): Likewise.
14613 (_SVID_SOURCE): Likewise.
14614 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14615 from definition of _DEFAULT_SOURCE.
14616 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14617 [_DEFAULT_SOURCE].
14618 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14619 * bits/mman.h [__USE_BSD]: Likewise.
14620 * bits/termios.h [__USE_BSD]: Likewise.
14621 * bits/waitstatus.h [__USE_BSD]: Likewise.
14622 * ctype/ctype.h [__USE_SVID]: Likewise.
14623 * dirent/dirent.h [__USE_BSD]: Likewise.
14624 * grp/grp.h [__USE_SVID]: Likewise.
14625 [__USE_BSD]: Likewise.
14626 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14627 * io/fcntl.h [__USE_BSD]: Likewise.
14628 * io/ftw.h [__USE_BSD]: Likewise.
14629 * io/sys/stat.h [__USE_BSD]: Likewise.
14630 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14631 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14632 * libio/stdio.h [__USE_SVID]: Likewise.
14633 [__USE_BSD]: Likewise.
14634 * math/math.h [__USE_SVID]: Likewise.
14635 [__USE_BSD]: Likewise.
14636 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14637 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14638 * misc/search.h [__USE_SVID]: Likewise.
14639 * misc/sys/mman.h [__USE_BSD]: Likewise.
14640 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14641 * misc/sys/uio.h [__USE_BSD]: Likewise.
14642 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14643 * posix/glob.h [__USE_BSD]: Likewise.
14644 * posix/regex.h [__USE_BSD]: Likewise.
14645 * posix/sys/types.h [__USE_BSD]: Likewise.
14646 [__USE_SVID]: Likewise.
14647 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14648 * posix/sys/wait.h [__USE_BSD]: Likewise.
14649 [__USE_SVID]: Likewise.
14650 * posix/unistd.h [__USE_BSD]: Likewise.
14651 [__USE_SVID]: Likewise.
14652 * pwd/pwd.h [__USE_SVID]: Likewise.
14653 * resolv/netdb.h [__USE_BSD]: Likewise.
14654 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14655 * signal/signal.h [__USE_BSD]: Likewise.
14656 [__USE_SVID]: Likewise.
14657 * socket/sys/socket.h [__USE_BSD]: Likewise.
14658 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14659 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14660 [__USE_SVID]: Likewise.
14661 * string/bits/string2.h [__USE_BSD]: Likewise.
14662 [__USE_SVID]: Likewise.
14663 * string/bits/string3.h [__USE_BSD]: Likewise.
14664 * string/endian.h [__USE_BSD]: Likewise.
14665 * string/string.h [__USE_SVID]: Likewise.
14666 [__USE_BSD]: Likewise.
14667 * string/strings.h [__USE_BSD]: Likewise.
14668 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14669 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14670 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14671 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14672 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14674 Likewise.
14675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14676 Likewise.
14677 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14678 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14679 Likewise.
14680 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14681 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14682 Likewise.
14683 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14684 Likewise.
14685 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14686 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14687 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14688 Likewise.
14689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14690 Likewise.
14691 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14692 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14693 * termios/termios.h [__USE_BSD]: Likewise.
14694 * time/sys/time.h [__USE_BSD]: Likewise.
14695 * time/time.h [__USE_BSD]: Likewise.
14696 [__USE_SVID]: Likewise.
14697
14698 * Makefile (subdir_targets): Remove subdir_lint.out.
14699
14700 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14701 (do-tst-printf): Likewise.
14702 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14703 $(objpfx)tst-printf.out.
14704
14705 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14706
14707 * Makerules (check-abi-%): Change target to
14708 $(objpfx)check-abi-%.out.
14709 (check-abi target): Update dependencies.
14710 (check-abi-pattern variable): Redirect output of diff to $@.
14711 (check-abi variable): Likewise.
14712 * elf/Makefile (check-abi): Update dependencies.
14713
14714 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14715 unused.
14716 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14717 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14718 subnormal range.
14719 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14720 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14721 value has largest subnormal exponent.
14722 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14723 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14724 * sysdeps/aarch64/soft-fp/sfp-machine.h
14725 (_FP_TININESS_AFTER_ROUNDING): New macro.
14726 * sysdeps/alpha/soft-fp/sfp-machine.h
14727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14728 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14729 Likewise.
14730 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14732 * sysdeps/mips/soft-fp/sfp-machine.h
14733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14734 * sysdeps/powerpc/soft-fp/sfp-machine.h
14735 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14736 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14737 Likewise.
14738 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14739 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14740 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14741 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14742 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14743 Likewise.
14744
147452014-02-12 Dylan Alex Simon <dylan@dylex.net>
14746
14747 [BZ #16545]
14748 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14749 model 1.
14750
147512014-02-12 Richard Henderson <rth@redhat.com>
14752
14753 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14754 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14755 * sysdeps/unix/sysv/linux/alpha: Move directory from
14756 ports/sysdeps/unix/sysv/linux/alpha.
14757 * README: Update listing for alpha-*-linux-gnu.
14758
147592014-02-11 Joseph Myers <joseph@codesourcery.com>
14760
14761 * include/features.h: Update comment documenting feature test
14762 macros.
14763 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14764 _DEFAULT_SOURCE.
14765 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14766 (_SVID_SOURCE): Likewise.
14767 (_DEFAULT_SOURCE): Update description of default features.
14768 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14769 with _GNU_SOURCE.
14770 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14771 (S_ISVTX): Likewise.
14772 * manual/math.texi (Mathematical Constants): Likewise.
14773 * manual/signal.texi (Interrupted Primitives): Likewise.
14774 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14775 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14776 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14777 Don't refer to _SVID_SOURCE in warning text.
14778
14779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14780
14781 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14782 already defined.
14783 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14784 * sysdeps/mips/dl-lookup.c: Remove.
14785 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14786
147872014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14788
14789 [BZ #16447]
14790 * math/auto-libm-test-in: Add testcase for expl.
14791 * math/auto-libm-test-out: Regenerate.
14792 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14793 calculation of unsafe.
14794 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14795
147962014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14797
14798 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14799 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14800 ports/sysdeps/unix/sysv/linux/aarch64.
14801 * README: Update listing for aarch64*-*-linux-gnu.
14802
148032014-02-11 Will Newton <will.newton@linaro.org>
14804
14805 * manual/probes.texi (Mathematical Function Probes): Use
14806 "triggered" instead of "hit".
14807
14808 * manual/probes.texi (Internal Probes): Add documentation
14809 of setjmp, longjmp and longjmp_target probes.
14810
14811 * include/stap-probe.h: Add comment about probe argument
14812 format.
14813
14814 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14815 definition. (tr_where, tr_freehook, tr_mallochook,
14816 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14817
148182014-02-11 David S. Miller <davem@davemloft.net>
14819
14820 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14821 processing int_tests.
14822
148232014-02-10 Joseph Myers <joseph@codesourcery.com>
14824
14825 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14826 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14827 * sysdeps/unix/sysv/linux/mips: Move directory from
14828 ports/sysdeps/unix/sysv/linux/mips.
14829 * README: Update listing for mips-*-linux-gnu and
14830 mips64-*-linux-gnu.
14831
148322014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14833
14834 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14835 * sysdeps/unix/sysv/linux/m68k: Move directory from
14836 ports/sysdeps/unix/sysv/linux/m68k.
14837 * README: Update listing for m68k-*-linux-gnu.
14838
148392014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14840
14841 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14842 * sysdeps/unix/sysv/linux/generic: Move directory from
14843 ports/sysdeps/unix/sysv/linux/generic.
14844 * sysdeps/unix/sysv/linux/tile: Move directory from
14845 ports/sysdeps/unix/sysv/linux/tile.
14846 * README: Update listing for tile*-*-linux-gnu.
14847
148482014-02-10 Ondřej Bílka <neleai@seznam.cz>
14849
14850 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14851 __builtin_expect.
14852 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14853 * catgets/open_catalog.c (__open_catalog): Likewise.
14854 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14855 * debug/confstr_chk.c: Likewise.
14856 * debug/fread_chk.c (__fread_chk): Likewise.
14857 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14858 * debug/getgroups_chk.c: Likewise.
14859 * debug/mbsnrtowcs_chk.c: Likewise.
14860 * debug/mbsrtowcs_chk.c: Likewise.
14861 * debug/mbstowcs_chk.c: Likewise.
14862 * debug/memcpy_chk.c: Likewise.
14863 * debug/memmove_chk.c: Likewise.
14864 * debug/mempcpy_chk.c: Likewise.
14865 * debug/memset_chk.c: Likewise.
14866 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14867 * debug/strcat_chk.c (__strcat_chk): Likewise.
14868 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14869 * debug/strncat_chk.c (__strncat_chk): Likewise.
14870 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14871 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14872 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14873 * debug/wcpncpy_chk.c: Likewise.
14874 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14875 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14876 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14877 * debug/wcsncpy_chk.c: Likewise.
14878 * debug/wcsnrtombs_chk.c: Likewise.
14879 * debug/wcsrtombs_chk.c: Likewise.
14880 * debug/wcstombs_chk.c: Likewise.
14881 * debug/wmemcpy_chk.c: Likewise.
14882 * debug/wmemmove_chk.c: Likewise.
14883 * debug/wmempcpy_chk.c: Likewise.
14884 * debug/wmemset_chk.c: Likewise.
14885 * dirent/scandirat.c (SCANDIRAT): Likewise.
14886 * dlfcn/dladdr1.c (dladdr1): Likewise.
14887 * dlfcn/dladdr.c (dladdr): Likewise.
14888 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14889 * dlfcn/dlerror.c (__dlerror): Likewise.
14890 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14891 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14892 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14893 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14894 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14895 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14896 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14897 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14898 Likewise.
14899 * elf/dl-conflict.c: Likewise.
14900 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14901 * elf/dl-dst.h: Likewise.
14902 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14903 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14905 * elf/dl-init.c (call_init, _dl_init): Likewise.
14906 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14907 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14908 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14909 Likewise.
14910 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14911 Likewise.
14912 * elf/dl-minimal.c (__libc_memalign): Likewise.
14913 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14914 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14915 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14916 * elf/dl-sym.c (do_sym): Likewise.
14917 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14918 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14919 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14920 * elf/dl-writev.h (_dl_writev): Likewise.
14921 * elf/ldconfig.c (search_dir): Likewise.
14922 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14923 (dl_main): Likewise.
14924 * elf/setup-vdso.h (setup_vdso): Likewise.
14925 * grp/compat-initgroups.c (compat_call): Likewise.
14926 * grp/fgetgrent.c (fgetgrent): Likewise.
14927 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14928 * grp/putgrent.c (putgrent): Likewise.
14929 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14930 Likewise.
14931 * hurd/hurdinit.c: Likewise.
14932 * iconvdata/8bit-gap.c (struct): Likewise.
14933 * iconvdata/ansi_x3.110.c : Likewise.
14934 * iconvdata/big5.c : Likewise.
14935 * iconvdata/big5hkscs.c : Likewise.
14936 * iconvdata/cp1255.c: Likewise.
14937 * iconvdata/cp1258.c : Likewise.
14938 * iconvdata/cp932.c : Likewise.
14939 * iconvdata/euc-cn.c: Likewise.
14940 * iconvdata/euc-jisx0213.c : Likewise.
14941 * iconvdata/euc-jp.c: Likewise.
14942 * iconvdata/euc-jp-ms.c : Likewise.
14943 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14944 * iconvdata/gb18030.c : Likewise.
14945 * iconvdata/gbbig5.c (const): Likewise.
14946 * iconvdata/gbgbk.c: Likewise.
14947 * iconvdata/gbk.c : Likewise.
14948 * iconvdata/ibm1364.c : Likewise.
14949 * iconvdata/ibm930.c : Likewise.
14950 * iconvdata/ibm932.c: Likewise.
14951 * iconvdata/ibm933.c : Likewise.
14952 * iconvdata/ibm935.c : Likewise.
14953 * iconvdata/ibm937.c : Likewise.
14954 * iconvdata/ibm939.c : Likewise.
14955 * iconvdata/ibm943.c: Likewise.
14956 * iconvdata/iso_11548-1.c: Likewise.
14957 * iconvdata/iso-2022-cn.c : Likewise.
14958 * iconvdata/iso-2022-cn-ext.c : Likewise.
14959 * iconvdata/iso-2022-jp-3.c: Likewise.
14960 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14961 * iconvdata/iso-2022-kr.c : Likewise.
14962 * iconvdata/iso646.c (gconv_end): Likewise.
14963 * iconvdata/iso_6937-2.c : Likewise.
14964 * iconvdata/iso_6937.c : Likewise.
14965 * iconvdata/iso8859-1.c: Likewise.
14966 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14967 * iconvdata/shift_jisx0213.c : Likewise.
14968 * iconvdata/sjis.c : Likewise.
14969 * iconvdata/t.61.c : Likewise.
14970 * iconvdata/tcvn5712-1.c : Likewise.
14971 * iconvdata/tscii.c: Likewise.
14972 * iconvdata/uhc.c : Likewise.
14973 * iconvdata/unicode.c (gconv_end): Likewise.
14974 * iconvdata/utf-16.c (gconv_end): Likewise.
14975 * iconvdata/utf-32.c (gconv_end): Likewise.
14976 * iconvdata/utf-7.c (base64): Likewise.
14977 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14978 * iconv/gconv_close.c (__gconv_close): Likewise.
14979 * iconv/gconv_open.c (__gconv_open): Likewise.
14980 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14981 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14982 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14983 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14984 (ucs4le_internal_loop_single): Likewise.
14985 * iconv/iconv.c (iconv): Likewise.
14986 * iconv/iconv_close.c: Likewise.
14987 * iconv/loop.c (SINGLE): Likewise.
14988 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14989 * include/atomic.h: Likewise.
14990 * inet/inet6_option.c (option_alloc): Likewise.
14991 * intl/bindtextdom.c (set_binding_values): Likewise.
14992 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14993 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14994 * intl/localealias.c (read_alias_file): Likewise.
14995 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14996 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14997 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14998 * libio/fmemopen.c (fmemopen): Likewise.
14999 * libio/iofgets.c (_IO_fgets): Likewise.
15000 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15001 * libio/iofgetws.c (fgetws): Likewise.
15002 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15003 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15004 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15005 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15006 * locale/findlocale.c (_nl_find_locale): Likewise.
15007 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15008 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15009 Likewise.
15010 * locale/setlocale.c (setlocale): Likewise.
15011 * login/programs/pt_chown.c (main): Likewise.
15012 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15013 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15014 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15015 (mmap, mmap64, mremap, munmap): Likewise.
15016 * math/e_exp2l.c: Likewise.
15017 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15018 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15019 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15020 * math/s_catan.c (__catan): Likewise.
15021 * math/s_catanf.c (__catanf): Likewise.
15022 * math/s_catanh.c (__catanh): Likewise.
15023 * math/s_catanhf.c (__catanhf): Likewise.
15024 * math/s_catanhl.c (__catanhl): Likewise.
15025 * math/s_catanl.c (__catanl): Likewise.
15026 * math/s_ccosh.c (__ccosh): Likewise.
15027 * math/s_ccoshf.c (__ccoshf): Likewise.
15028 * math/s_ccoshl.c (__ccoshl): Likewise.
15029 * math/s_cexp.c (__cexp): Likewise.
15030 * math/s_cexpf.c (__cexpf): Likewise.
15031 * math/s_cexpl.c (__cexpl): Likewise.
15032 * math/s_clog10.c (__clog10): Likewise.
15033 * math/s_clog10f.c (__clog10f): Likewise.
15034 * math/s_clog10l.c (__clog10l): Likewise.
15035 * math/s_clog.c (__clog): Likewise.
15036 * math/s_clogf.c (__clogf): Likewise.
15037 * math/s_clogl.c (__clogl): Likewise.
15038 * math/s_csin.c (__csin): Likewise.
15039 * math/s_csinf.c (__csinf): Likewise.
15040 * math/s_csinh.c (__csinh): Likewise.
15041 * math/s_csinhf.c (__csinhf): Likewise.
15042 * math/s_csinhl.c (__csinhl): Likewise.
15043 * math/s_csinl.c (__csinl): Likewise.
15044 * math/s_csqrt.c (__csqrt): Likewise.
15045 * math/s_csqrtf.c (__csqrtf): Likewise.
15046 * math/s_csqrtl.c (__csqrtl): Likewise.
15047 * math/s_ctan.c (__ctan): Likewise.
15048 * math/s_ctanf.c (__ctanf): Likewise.
15049 * math/s_ctanh.c (__ctanh): Likewise.
15050 * math/s_ctanhf.c (__ctanhf): Likewise.
15051 * math/s_ctanhl.c (__ctanhl): Likewise.
15052 * math/s_ctanl.c (__ctanl): Likewise.
15053 * math/w_pow.c: Likewise.
15054 * math/w_powf.c: Likewise.
15055 * math/w_powl.c: Likewise.
15056 * math/w_scalb.c (sysv_scalb): Likewise.
15057 * math/w_scalbf.c (sysv_scalbf): Likewise.
15058 * math/w_scalbl.c (sysv_scalbl): Likewise.
15059 * misc/error.c (error_tail): Likewise.
15060 * misc/pselect.c (__pselect): Likewise.
15061 * nis/nis_callback.c (__nis_create_callback): Likewise.
15062 * nis/nis_call.c (__nisfind_server): Likewise.
15063 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15064 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15065 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15066 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15067 * nis/nis_lookup.c (nis_lookup): Likewise.
15068 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15069 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15070 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15071 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15072 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15073 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15074 * nis/nss_compat/compat-initgroups.c (add_group)
15075 (internal_getgrent_r): Likewise.
15076 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15077 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15078 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15079 (internal_getspnam_r): Likewise.
15080 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15081 (_nss_nis_getaliasbyname_r): Likewise.
15082 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15083 (_nss_nis_getntohost_r): Likewise.
15084 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15085 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15086 (_nss_nis_getgrgid_r): Likewise.
15087 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15088 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15089 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15090 (_nss_nis_gethostbyname4_r): Likewise.
15091 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15092 (initgroups_netid): Likewise.
15093 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15094 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15095 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15096 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15097 (_nss_nis_getprotobynumber_r): Likewise.
15098 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15099 (_nss_nis_getsecretkey): Likewise.
15100 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15101 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15102 (_nss_nis_getpwuid_r): Likewise.
15103 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15104 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15105 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15106 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15107 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15108 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15109 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15110 Likewise.
15111 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15112 (_nss_nisplus_getntohost_r): Likewise.
15113 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15114 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15115 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15116 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15117 Likewise.
15118 * nis/nss_nisplus/nisplus-initgroups.c
15119 (_nss_nisplus_initgroups_dyn): Likewise.
15120 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15121 (_nss_nisplus_getnetbyaddr_r): Likewise.
15122 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15123 (_nss_nisplus_getprotobynumber_r): Likewise.
15124 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15125 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15126 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15127 Likewise.
15128 * nis/nss_nisplus/nisplus-service.c
15129 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15130 (_nss_nisplus_getservbyport_r): Likewise.
15131 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15132 (_nss_nisplus_getspnam_r): Likewise.
15133 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15134 Likewise.
15135 * nscd/aicache.c (addhstaiX): Likewise.
15136 * nscd/cache.c (cache_search, prune_cache): Likewise.
15137 * nscd/connections.c (register_traced_file, send_ro_fd)
15138 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15139 (main_loop_epoll): Likewise.
15140 * nscd/grpcache.c (addgrbyX): Likewise.
15141 * nscd/hstcache.c (addhstbyX): Likewise.
15142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15143 * nscd/mem.c (gc, mempool_alloc): Likewise.
15144 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15145 (addinnetgrX): Likewise.
15146 * nscd/nscd-client.h (__nscd_acquire_maplock)
15147 (__nscd_drop_map_ref): Likewise.
15148 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15149 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15150 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15151 Likewise.
15152 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15154 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15155 (__nscd_get_map_ref): Likewise.
15156 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15157 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15158 Likewise.
15159 * nscd/pwdcache.c (addpwbyX): Likewise.
15160 * nscd/selinux.c (preserve_capabilities): Likewise.
15161 * nscd/servicescache.c (addservbyX): Likewise.
15162 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15163 * posix/fnmatch.c (fnmatch): Likewise.
15164 * posix/getopt.c (_getopt_internal_r): Likewise.
15165 * posix/glob.c (glob, glob_in_dir): Likewise.
15166 * posix/wordexp.c (exec_comm_child): Likewise.
15167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15168 (getanswer_r, gaih_getanswer_slice): Likewise.
15169 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15170 * resolv/res_init.c: Likewise.
15171 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15172 * resolv/res_query.c (__libc_res_nquery): Likewise.
15173 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15174 Likewise.
15175 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15176 * stdio-common/perror.c (perror): Likewise.
15177 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15178 * stdio-common/tmpnam.c (tmpnam): Likewise.
15179 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15180 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15181 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15182 Likewise.
15183 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15184 * stdlib/putenv.c (putenv): Likewise.
15185 * stdlib/setenv.c (__add_to_environ): Likewise.
15186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15187 * stdlib/strtol_l.c (INTERNAL): Likewise.
15188 * string/memmem.c (memmem): Likewise.
15189 * string/strerror.c (strerror): Likewise.
15190 * string/strnlen.c (__strnlen): Likewise.
15191 * string/test-memmem.c (simple_memmem): Likewise.
15192 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15193 * sunrpc/pm_getport.c (__get_socket): Likewise.
15194 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15195 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15196 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15197 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15198 Likewise.
15199 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15201 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15202 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15203 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15204 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15205 Likewise.
15206 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15207 Likewise.
15208 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15209 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15211 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15212 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15214 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15215 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15216 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15218 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15219 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15220 Likewise.
15221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15222 Likewise.
15223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15224 Likewise.
15225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15226 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15227 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15228 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15229 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15230 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15231 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15232 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15234 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15235 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15237 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15238 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15240 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15241 Likewise.
15242 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15243 Likewise.
15244 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15245 Likewise.
15246 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15247 Likewise.
15248 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15250 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15251 Likewise.
15252 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15253 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15254 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15255 * sysdeps/posix/sleep.c: Likewise.
15256 * sysdeps/posix/tempname.c: Likewise.
15257 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15258 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15259 Likewise.
15260 * sysdeps/powerpc/powerpc32/dl-machine.h
15261 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15262 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15263 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15264 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15266 Likewise.
15267 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15268 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15269 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15271 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15272 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15273 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15274 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15275 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15276 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15277 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15278 (elf_machine_lazy_rel): Likewise.
15279 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15280 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15281 (elf_machine_lazy_rel): Likewise.
15282 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15283 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15284 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15285 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15286 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15287 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15288 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15290 Likewise.
15291 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15292 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15293 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15294 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15295 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15296 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15297 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15298 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15299 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15300 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15301 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15302 Likewise.
15303 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15304 (__posix_fallocate64_l64): Likewise.
15305 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15306 (posix_fallocate): Likewise.
15307 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15308 Likewise.
15309 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15310 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15311 (getifaddrs_internal): Likewise.
15312 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15313 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15314 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15315 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15316 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15317 (__posix_fallocate64_l64): Likewise.
15318 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15319 Likewise.
15320 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15322 (__get_clockfreq): Likewise.
15323 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15324 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15325 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15328 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15329 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15330 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15331 Likewise.
15332 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15333 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15334 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15335 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15336 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15337 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15338 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15339 Likewise.
15340 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15341 (posix_fallocate): Likewise.
15342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15343 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15344 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15345 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15346 (elf_machine_rela, elf_machine_rela_relative)
15347 (elf_machine_lazy_rel): Likewise.
15348 * time/asctime.c (asctime_internal): Likewise.
15349 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15350 * time/tzset.c (__tzset_parse_tz): Likewise.
15351 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15352 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15353 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15354 * wcsmbs/wcsmbsload.h: Likewise.
15355
15356 [BZ #15894]
15357 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15358
15359 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15360 (arena_get2): Remove THREAD_STATS conditionals.
15361 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15362 (__malloc_stats, int): Likewise.
15363
153642014-02-08 Mike Frysinger <vapier@gentoo.org>
15365
15366 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15367 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15368
15369 * manual/setjmp.texi: Fix typos/grammar errors.
15370
15371 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15372 Only return early when n is <= 0. Delete unused return statement.
15373
15374 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15375 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15376 * debug/tst-longjmp_chk3.c: New file.
15377
15378 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15379 (test_main): Replace code with set_fortify_handler call.
15380 * debug/test-strcpy_chk.c: Likewise.
15381 * debug/tst-chk1.c: Likewise.
15382 * debug/tst-longjmp_chk.c: Likewise.
15383 * test-skeleton.c: Include fcntl.h & paths.h
15384 (set_fortify_handler): Define.
15385
15386 * debug/tst-longjmp_chk.c: Add header comment and include
15387 ../test-skeleton.c.
15388 (do_test): Mark static.
15389 (TEST_FUNCTION): Define.
15390
15391 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15392 (IP_PMTUDISC_INTERFACE): Likewise.
15393 (IP_MULTICAST_IF): Likewise.
15394 (IP_MULTICAST_TTL): Likewise.
15395 (IP_MULTICAST_LOOP): Likewise.
15396 (IP_ADD_MEMBERSHIP): Likewise.
15397 (IP_DROP_MEMBERSHIP): Likewise.
15398 (IP_UNBLOCK_SOURCE): Likewise.
15399 (IP_BLOCK_SOURCE): Likewise.
15400 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15401 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15402 (IP_MSFILTER): Likewise.
15403 (MCAST_JOIN_GROUP): Likewise.
15404 (MCAST_BLOCK_SOURCE): Likewise.
15405 (MCAST_UNBLOCK_SOURCE): Likewise.
15406 (MCAST_LEAVE_GROUP): Likewise.
15407 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15408 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15409 (MCAST_MSFILTER): Likewise.
15410 (IP_MULTICAST_ALL): Likewise.
15411 (IP_UNICAST_IF): Likewise.
15412
15413 * timezone/Makefile: Delete $(have-ksh) check.
15414 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15415 * timezone/tzselect.ksh: Add +x mode bits.
15416
15417 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15418 (ANON_INODE_FS_MAGIC): Likewise.
15419 (BDEVFS_MAGIC): Likewise.
15420 (BINFMTFS_MAGIC): Likewise.
15421 (BTRFS_TEST_MAGIC): Likewise.
15422 (CRAMFS_MAGIC_WEND): Likewise.
15423 (DEBUGFS_MAGIC): Likewise.
15424 (ECRYPTFS_SUPER_MAGIC): Likewise.
15425 (EXT3_SUPER_MAGIC): Likewise.
15426 (EXT4_SUPER_MAGIC): Likewise.
15427 (FUTEXFS_SUPER_MAGIC): Likewise.
15428 (HOSTFS_SUPER_MAGIC): Likewise.
15429 (HUGETLBFS_MAGIC): Likewise.
15430 (MINIX3_SUPER_MAGIC): Likewise.
15431 (MTD_INODE_FS_MAGIC): Likewise.
15432 (NILFS_SUPER_MAGIC): Likewise.
15433 (OPENPROM_SUPER_MAGIC): Likewise.
15434 (PIPEFS_MAGIC): Likewise.
15435 (PSTOREFS_MAGIC): Likewise.
15436 (QNX6_SUPER_MAGIC): Likewise.
15437 (RAMFS_MAGIC): Likewise.
15438 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15439 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15440 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15441 (SECURITYFS_MAGIC): Likewise.
15442 (SELINUX_MAGIC): Likewise.
15443 (SMACK_MAGIC): Likewise.
15444 (SOCKFS_MAGIC): Likewise.
15445 (SQUASHFS_MAGIC): Likewise.
15446 (STACK_END_MAGIC): Likewise.
15447 (TMPFS_MAGIC): Likewise.
15448 (USBDEVICE_SUPER_MAGIC): Likewise.
15449 (V9FS_MAGIC): Likewise.
15450 (XENFS_SUPER_MAGIC): Likewise.
15451 (CRAMFS_MAGIC): Fix typo in comment.
15452 (EXT2_SUPER_MAGIC): Update comment.
15453 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15454
154552014-02-08 Joseph Myers <joseph@codesourcery.com>
15456
15457 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15458 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15459 * sysdeps/unix/sysv/linux/arm: Move directory from
15460 ports/sysdeps/unix/sysv/linux/arm.
15461 * README: Update listing for arm-*-linux-gnueabi.
15462
15463 * README: Remove mention of am33.
15464
154652014-02-07 Roland McGrath <roland@hack.frob.com>
15466
15467 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15468 than the comma operator, to avoid "rhs of comma has no effect"
15469 compiler warnings.
15470 (__sigfillset, __sigandset, __sigorset): Likewise.
15471 * include/signal.h (__sigemptyset): Likewise.
15472 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15473
154742014-02-07 Allan McRae <allan@archlinux.org>
15475
15476 * version.h (RELEASE): Set to "development".
15477 (VERSION): Set to "2.19.90"
15478 * NEWS: Add 2.20 section.
15479
154802014-02-06 Carlos O'Donell <carlos@redhat.com>
15481
15482 [BZ #16529]
15483 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15484
154852014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15486
15487 * manual/contrib.texi: Update entry for Carlos O'Donell,
15488 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15489
154902014-02-05 Carlos O'Donell <carlos@rehdat.com>
15491
15492 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15493
15494 * sysdeps/unix/sysv/linux/kernel-features.h
15495 [__LINUX_KERNEL_VERSION >= 0x020621]
15496 (__ASSUME_PROC_PID_TASK_COMM): Define.
15497
154982014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15499
15500 [BZ #16398]
15501 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15502 conversion when destination buffer does not have enough space.
15503 * libio/tst-ftell-partial-wide.c: New test case.
15504 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15505
15506 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15507 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15508 Leonard and Allan McRae.
15509
155102014-02-04 David S. Miller <davem@davemloft.net>
15511
15512 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15513 32-bit.
15514
155152014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15516
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15518 New file
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15520 New file
15521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15522 New file.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15524 New file.
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15526 New file.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15528 New file.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15530 New file.
15531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15532 New file.
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15534 New file.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15536 New file.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15538 New file.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15540 New file.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15542 New file.
15543
155442014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15545
15546 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15547 * shlib-versions: Likewise.
15548
155492014-02-04 Roland McGrath <roland@hack.frob.com>
15550 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15551
15552 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15553 (abilist-pattern): New variable, set to %-le.abilist.
15554
15555 * Makerules (abilist-pattern): New variable.
15556 (vpath): Use $(abilist-pattern) in place of %.abilist.
15557 (check-abi-% pattern rule): Likewise.
15558 (check-abi, update-abi): Likewise.
15559
155602014-02-04 Eric Wong <normalperson@yhbt.net>
15561
15562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15563
155642014-02-03 Carlos O'Donell <carlos@redhat.com>
15565
15566 * manual/startup.texi: Add next, previous, and top entries for
15567 the `Program Arguments' and `Environment Variables' nodes.
15568
155692014-02-03 Alexandre Oliva <aoliva@redhat.com>
15570
15571 * manual/macros.texi: Add comments before MTASC-safety macros.
15572
15573 * manual/users.texi: Document MTASC-safety properties.
15574
15575 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15576 (pthread_getspecific, pthread_setspecific): Format with
15577 @deftypefun, and add @safety note.
15578 * manual/signal.texi: Move comments that analyze the above
15579 functions to their home place.
15580
155812014-02-03 Allan McRae <allan@archlinux.org>
15582
15583 * po/sl.po: Update Slovenian translation from translation project.
15584
155852014-02-02 Alexandre Oliva <aoliva@redhat.com>
15586
15587 * manual/time.texi (timegm): Add missing blank after @c.
15588 Reported by Joseph Myers <joseph@codesourcery.com>.
15589
155902014-02-01 Alexandre Oliva <aoliva@redhat.com>
15591
15592 * manual/check-safety.sh: New.
15593 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15594
15595 * manual/terminal.texi: Document MTASC-safety properties.
15596
15597 * manual/filesys.texi: Document MTASC-safety properties.
15598
15599 * manual/errno.texi: Document MTASC-safety properties.
15600
15601 * manual/intro.texi: Document safety identifiers and
15602 conditionals.
15603
15604 * manual/string.texi (wcstok): Fix prototype.
15605 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15606
15607 * manual/time.texi: Document MTASC-safety properties.
15608
15609 * manual/string.texi: Document MTASC-safety properties.
15610
15611 * manual/threads.texi: Document MTASC-safety properties.
15612
15613 * manual/stdio.texi: Document MTASC-safety properties.
15614
15615 * manual/syslog.texi: Document MTASC-safety properties.
15616
15617 * manual/sysinfo.texi: Document MTASC-safety properties.
15618
15619 * manual/startup.texi: Document MTASC-safety properties.
15620
15621 * manual/socket.texi: Document MTASC-safety properties.
15622
15623 * manual/signal.texi: Document MTASC-safety properties.
15624
156252014-01-31 Alexandre Oliva <aoliva@redhat.com>
15626
15627 * manual/setjmp.texi: Document MTASC-safety properties.
15628
15629 * manual/search.texi: Document MTASC-safety properties.
15630
15631 * manual/resource.texi: Document MTASC-safety properties.
15632
15633 * manual/process.texi: Document MTASC-safety properties.
15634
15635 * manual/platform.texi: Document MTASC-safety properties.
15636
15637 * manual/pipe.texi: Document MTASC-safety properties.
15638
15639 * manual/pattern.texi: Document MTASC-safety properties.
15640
15641 * manual/message.texi: Document MTASC-safety properties.
15642
15643 [BZ #12751]
15644 * manual/memory.texi: Document MTASC-safety properties.
15645
15646 * manual/math.texi: Document MTASC-safety properties.
15647
15648 * manual/locale.texi: Document MTASC-safety properties.
15649
15650 * manual/llio.texi: Document MTASC-safety properties.
15651
15652 * manual/libdl.texi: New.
15653
15654 * manual/lang.texi: Document MTASC-safety properties.
15655
15656 * manual/job.texi: Document MTASC-safety properties.
15657
15658 * manual/getopt.texi: Document MTASC-safety properties.
15659
15660 * manual/ctype.texi: Document MTASC-safety properties.
15661
156622014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15663
15664 [BZ #16046]
15665 * csu/libc-tls.c (static_map): Remove variable.
15666 (__libc_setup_tls): Use main executable's link map for TLS data.
15667 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15668 casing for LM_ID_BASE and GL(dl_nns).
15669 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15670 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15671 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15672 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15673 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15674 member.
15675 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15676 l_phnum members.
15677
156782014-01-30 Alexandre Oliva <aoliva@redhat.com>
15679
15680 * manual/debug.texi: Document MTASC-safety properties.
15681
156822014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15683
15684 [BZ #16510]
15685 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15686 of __x86_64__ when disabling x87 inline functions.
15687
156882014-01-29 Alexandre Oliva <aoliva@redhat.com>
15689
15690 * manual/charset.texi: Document MTASC-safety properties.
15691
15692 * manual/crypt.texi: Document MTASC-safety properties.
15693
15694 * manual/conf.texi: Document MTASC-safety properties.
15695
15696 * manual/arith.texi: Document MTASC-safety properties.
15697
15698 * manual/argp.texi: Document MTASC-safety properties.
15699
15700 * manual/macros.texi: Introduce macros to document multi
15701 thread, asynchronous signal and asynchronous cancellation
15702 safety properties.
15703 * manual/intro.texi: Introduce the properties themselves.
15704
157052014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15706
15707 * sysdeps/sh/sh4/Makefile: New file.
15708
157092014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15710
15711 * math/gen-libm-test.pl ($srcdir): New variable.
15712 ($auto_input): Use it.
15713
157142014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15715
15716 [BZ #16506]
15717 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15718 access beyond array bounds when parsing netgroups file.
15719
15720 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15721 the old buffer before realloc.
15722
157232014-01-27 Allan McRae <allan@archlinux.org>
15724
15725 * po/fr.po: Update French translation from translation project.
15726
157272014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15728
15729 * sysdeps/sh/libm-test-ulps: Regenerate.
15730
157312014-01-24 David S. Miller <davem@davemloft.net>
15732
15733 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15734
157352014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15736
15737 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15738 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15739
157402013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15741
15742 [BZ #16474]
15743 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15744 string pointers after reallocation.
15745
157462014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15747
15748 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15749 __SH4A__ instead of __SH_FPU_ANY__.
15750
157512014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15752
15753 * sysdeps/sh/fpu_control.h: New file.
15754 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15755 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15756 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15757 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15758 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15759 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15760 * sysdeps/sh/sys/ucontext.h: Remove.
15761 * sysdeps/sh/sys: Remove directory.
15762
157632014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15764
15765 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15766 s390/sys/ucontext.h.
15767 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15768 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15769
157702014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15771
15772 [BZ #15605]
15773 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15774
157752014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15776
15777 [BZ#16431]
15778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15779 Adjust the vDSO correctly for internal calls.
15780 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15781
157822014-01-20 Allan McRae <allan@archlinux.org>
15783
15784 * po/ca.po: Update Catalan translation from translation project.
15785
157862014-01-16 Mike Frysinger <vapier@gentoo.org>
15787
15788 * sysdeps/s390/sotruss-lib.c: New file.
15789
157902014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15791
15792 [BZ#16430]
15793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15794 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15795 local calls issues by not having a PLT stub required for IFUNC calls.
15796 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15797
157982014-01-16 Joseph Myers <joseph@codesourcery.com>
15799
15800 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15801 * math/test-fpucw-static.c: Likewise.
15802
158032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15804
15805 [BZ #16453]
15806 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15807
158082014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15809
15810 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15811 implementation for powerpc.
15812
158132014-01-15 Ondřej Bílka <neleai@seznam.cz>
15814
15815 [BZ #14782]
15816 * sysdeps/posix/system.c (__libc_system): Do not enable
15817 asynchronous cancellation.
15818
158192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15820
15821 [BZ #16427]
15822 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15823 handling only for numbers special also in the IEEE case.
15824
158252014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15826
15827 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15828
158292014-01-11 Allan McRae <allan@archlinux.org>
15830
15831 * po/bg.po: Update Bulgarian translation from translation project.
15832
15833 * po/de.po: Update German translation from translation project.
15834
158352014-01-10 Roland McGrath <roland@hack.frob.com>
15836
15837 * sysdeps/generic/gcc-compat.h: New file.
15838
158392014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15840
15841 * benchtests/asin-inputs: Correct slow inputs.
15842 * benchtests/acos-inputs: Likewise.
15843
158442014-01-10 Allan McRae <allan@archlinux.org>
15845
15846 * po:sv.po: Update Swedish translation from translation project.
15847
15848 * po/vi.po: Update Vietnamese translation from translation project.
15849
15850 * po/eo.po: Update Esperanto translation from translation project.
15851
15852 * po/cs.po: Update Czech translation from translation project.
15853
15854 * po/nl.po: Update Dutch translation from translation project.
15855
15856 * po/pl.po: Update Polish translation from translation project.
15857
15858 * po/ru.po: Update Russian translation from translation project.
15859
15860 * po/uk.po: Update Ukrainian translation from translation project.
15861
158622014-01-08 Brooks Moses <bmoses@google.com>
15863
15864 * elf/dl-load.c: Fix comment typo.
15865
158662014-01-08 Carlos O'Donell <carlos@redhat.com>
15867
15868 * po/header.pot: Rename to...
15869 * po/pot.header: ... this.
15870 * po/Makefile: Use pot.header.
15871
158722014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15873 Maxim Kuvyrkov <maxim@kugelworks.com>
15874
15875 [BZ #16394]
15876 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15877 SRC and DEST against LEN.
15878
158792014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15880
15881 [BZ #16414]
15882 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15883 implementation.
15884 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15885
158862014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15887
15888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15889
158902014-01-08 Joseph Myers <joseph@codesourcery.com>
15891
15892 [BZ #16408]
15893 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15894 for large positive arguments.
15895
158962014-01-07 Joseph Myers <joseph@codesourcery.com>
15897
15898 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15899
15900 * math/auto-libm-test-in: Mark various tests with
15901 xfail-rounding:ldbl-128ibm.
15902 * math/auto-libm-test-out: Regenerated.
15903
15904 [BZ #16407]
15905 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15906 Increase overflow threshold.
15907
159082014-01-07 Ondřej Bílka <neleai@seznam.cz>
15909
15910 [BZ #14286]
15911 * stdio-common/vfprintf.c: Check for integer overflow.
15912
159132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15914
15915 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15916 the first argument and return value of __tls_get_addr_internal.
15917
159182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15919
15920 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15921 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15922
159232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15924
15925 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15926 * sysdeps/s390/rtld-global-offsets.sym: New file.
15927 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15928 GLIBC_2.19 symbol.
15929 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15930 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15931 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15932 ... this.
15933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15934 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15935 ... this.
15936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15937 Regenerate.
15938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15939 Regenerate.
15940 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15941 halfs of GPRs for high_gprs contexts.
15942 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15943 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15944 field.
15945 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15946 uc_flags field.
15947 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15948 64 bit versions:
15949 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15950 for high GPRs (uc_high_gprs) and for future extensions
15951 (__reserved).
15952 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15953 for future extensions (__reserved).
15954 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15955 64 bit versions:
15956 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15957 SC_HIGHGPRS offset definition.
15958 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15959 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15960
15961 * Versions.def: Add GLIBC_2.19 for libpthread.
15962 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15963 siglongjmp for libpthread with GLIBC_2.19 symver.
15964 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15965 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15966 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15967 * sysdeps/s390/__longjmp.c: New file.
15968 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15969 * sysdeps/s390/longjmp.c: New file.
15970 * sysdeps/s390/setjmp.S: New file.
15971 * sysdeps/s390/sigjmp.S: New file.
15972 * sysdeps/s390/v1-longjmp.c: New file.
15973 * sysdeps/s390/v1-setjmp.h: New file.
15974 * sysdeps/s390/v1-sigjmp.c: New file.
15975 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15976 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15977 GLIBC_2.19 version.
15978 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15979 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15980 versioned symbols for ____longjmp_chk.
15981 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15982 Likewise.
15983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15984 Regenerate.
15985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15986 Regenerate.
15987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15988 Regenerate.
15989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15990 Regenerate.
15991 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15992 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15993 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15994 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15995 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15996 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15997 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15998 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15999 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16000 * sysdeps/s390/rtld-__longjmp.c: New file.
16001 * sysdeps/s390/rtld-setjmp.S: New file.
16002
160032014-01-06 Joseph Myers <joseph@codesourcery.com>
16004
16005 [BZ #16400]
16006 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16007 Return -__logl (x) for small positive arguments without evaluating
16008 a polynomial.
16009
160102014-01-06 Mike Frysinger <vapier@gentoo.org>
16011
16012 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16013 Rename to ...
16014 (__ptrace_peeksiginfo_args): ... this.
16015 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16018
160192014-01-06 Allan McRae <allan@archlinux.org>
16020
16021 * inet/netinet/in.h: Fix typo in comment.
16022
160232014-01-05 Andreas Jaeger <aj@suse.de>
16024
16025 * sysdeps/i386/fpu/libm-test-ulps: Update.
16026
160272014-01-05 Allan McRae <allan@archlinux.org>
16028
16029 * po/libc.pot: Regenerated.
16030
16031 * malloc/memusagestat.c: Fix gettext call formatting.
16032
160332014-01-04 Sami Kerola <kerolasa@iki.fi>
16034
16035 * nscd/nscd.c: Improve usage() output.
16036
160372014-01-04 Mike Frysinger <vapier@gentoo.org>
16038
16039 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16040 * sysdeps/unix/sysv/linux/configure: Regenerated.
16041 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16042 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16043
160442014-01-03 Joseph Myers <joseph@codesourcery.com>
16045
16046 [BZ #16390]
16047 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16048 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16049
160502014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16051
16052 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16053 extra tokens at end of #undef directive.
16054 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16057
160582014-01-03 Joseph Myers <joseph@codesourcery.com>
16059
16060 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16061
16062 * math/auto-libm-test-in: Mark various tests with
16063 xfail-rounding:ldbl-128ibm.
16064 * math/auto-libm-test-out: Regenerated.
16065
160662014-01-02 Joseph Myers <joseph@codesourcery.com>
16067
16068 [BZ #16386]
16069 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16070 numbers with subnormal high part when calculating exponent.
16071
16072 [BZ #16385]
16073 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16074 fabs.
16075
16076 [BZ #16384]
16077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16078 M_LN2l.
16079 (__ieee754_acoshl): Use __log1pl not __log1p.
16080
160812013-01-02 Ondřej Bílka <neleai@seznam.cz>
16082
16083 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16084 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16085 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16086 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16087 (reused_arena, arena_get2): Convert to GNU style.
16088 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16089 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16090 (memalign_check, __malloc_set_state): Likewise.
16091 * malloc/mallocbug.c (main): Likewise.
16092 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16093 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16094 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16095 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16096 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16097 (__posix_memalign, malloc_info): Likewise.
16098 * malloc/malloc.h: Likewise.
16099 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16100 (mallochook, memalignhook, reallochook, mabort): Likewise.
16101 * malloc/mcheck.h: Likewise.
16102 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16103 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16104 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16105 * malloc/morecore.c (__default_morecore): Likewise.
16106 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16107 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16108 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16109 (print_and_abort): Likewise.
16110 * malloc/obstack.h: Likewise.
16111 * malloc/set-freeres.c (__libc_freeres): Likewise.
16112 * malloc/tst-mallocstate.c (main): Likewise.
16113 * malloc/tst-mtrace.c (main): Likewise.
16114 * malloc/tst-realloc.c (do_test): Likewise.
16115
161162013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16117
16118 [BZ #16366]
16119 * nscd/netgroupcache.c (do_notfound): New function.
16120 (addgetnetgrentX): Use it.
16121
16122 [BZ # 16365]
16123 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16124 NSS_STATUS_NOTFOUND.
16125
161262014-01-01 Joseph Myers <joseph@codesourcery.com>
16127
16128 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16130
161312014-01-01 Allan McRae <allan@archlinux.org>
16132
16133 * scripts/update-copyrights: Update configure input file suffix.
16134
16135 * NEWS: Update copyright year.
16136 * catgets/gencat.c: Likewise.
16137 * csu/version.c: Likewise.
16138 * debug/catchsegv.sh: Likewise.
16139 * debug/pcprofiledump.c: Likewise.
16140 * debug/xtrace.sh: Likewise.
16141 * elf/ldconfig.c: Likewise.
16142 * elf/ldd.bash.in: Likewise.
16143 * elf/pldd.c: Likewise.
16144 * elf/sotruss.ksh: Likewise.
16145 * elf/sprof.c: Likewise.
16146 * iconv/iconv_prog.c: Likewise.
16147 * iconv/iconvconfig.c: Likewise.
16148 * locale/programs/locale.c: Likewise.
16149 * locale/programs/localedef.c: Likewise.
16150 * login/programs/pt_chown.c: Likewise.
16151 * malloc/memusage.sh: Likewise.
16152 * malloc/memusagestat.c: Likewise.
16153 * malloc/mtrace.pl: Likewise.
16154 * manual/libc.texinfo: Likewise.
16155 * nscd/nscd.c: Likewise.
16156 * nss/getent.c: Likewise.
16157 * nss/makedb.c: Likewise.
16158 * posix/getconf.c: Likewise.
16159 * scripts/test-installation.pl: Likewise.
16160
16161 * All files with FSF copyright notices: Update copyright dates
16162 using scripts/update-copyrights.
16163 * intl/plural.c: Regenerated.
16164 * locale/programs/charmap-kw.h: Likewise.
16165 * locale/programs/locfile-kw.h: Likewise.
16166
161672013-12-31 Mike Frysinger <vapier@gentoo.org>
16168
16169 * sysdeps/unix/sysv/linux/configure: Regenerated.
16170 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16171 the linux/fanotify.h header.
16172 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16173 HAVE_LINUX_FANOTIFY_H is defined.
16174
161752013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16176
16177 * benchtests/cos-inputs: New inputs.
16178 * benchtests/sin-inputs: Likewise.
16179
16180 * benchtests/atan-inputs: New inputs. Fix name of multiple
16181 precision fallback inputs.
16182
16183 * benchtests/atanh-inputs: New inputs.
16184 * benchtests/tanh-inputs: Likewise.
16185
16186 * benchtests/acosh-inputs: New inputs.
16187 * benchtests/asinh-inputs: Likewise.
16188
16189 * benchtests/cosh-inputs: New inputs.
16190 * benchtests/sinh-inputs: Likewise.
16191
16192 * benchtests/acos-inputs: Add more inputs.
16193 * benchtests/asin-inputs: Likewise.
16194
161952013-12-30 Ville Skytta <ville.skytta@iki.fi>
16196
16197 [BZ #16375]
16198 * manual/arith.texi: Fix spelling.
16199 * manual/charset.texi: Likewise.
16200 * manual/errno.texi: Likewise.
16201 * manual/filesys.texi: Likewise.
16202 * manual/lang.texi: Likewise.
16203 * manual/llio.texi: Likewise.
16204 * manual/locale.texi: Likewise.
16205 * manual/message.texi: Likewise.
16206 * manual/resource.texi: Likewise.
16207 * manual/search.texi: Likewise.
16208 * manual/setjmp.texi: Likewise.
16209 * manual/stdio.texi: Likewise.
16210 * manual/string.texi: Likewise.
16211 * manual/sysinfo.texi: Likewise.
16212 * manual/time.texi: Likewise.
16213
162142013-12-27 Carlos O'Donell <carlos@redhat.com>
16215
16216 * po/sl.po: New file.
16217
162182013-12-27 Mike Frysinger <vapier@gentoo.org>
16219
16220 * .gitignore: Add core/.gdbinit/.gdb_history.
16221
162222013-12-27 Allan McRae <allan@archlinux.org>
16223
16224 [BZ #16369]
16225 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16226 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16227
162282013-12-24 Brooks Moses <bmoses@google.com>
16229
16230 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16231 all compilers that claim C++98 compliance, not just GCC.
16232 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16233 Likewise.
16234
162352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16236
16237 * NEWS: Restore accidentally deleted bug-fix entries.
16238
162392013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16240 Ondřej Bílka <neleai@seznam.cz>
16241
16242 [BZ #15073]
16243 * malloc/malloc.c (_int_free): Perform sanity check only if we
16244 have_lock.
16245
162462013-12-23 Ondřej Bílka <neleai@seznam.cz>
16247
16248 [BZ #12986]
16249 * manual/stdio.texi (String Input Conversions): Clarify that character
16250 classes are not supported.
16251
162522013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16253
16254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16255
162562013-12-22 Joseph Myers <joseph@codesourcery.com>
16257
16258 [BZ #16337]
16259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16260 Calculate results for small negative arguments directly rather
16261 than using reflection formula with special underflow handling.
16262
16263 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16264 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16265 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16266 (fchflags): Likewise.
16267 (revoke): Likewise.
16268 (setlogin): Likewise.
16269 (sigaltstack): Likewise.
16270 (wait4): Likewise.
16271 (sigblock): Remove.
16272 (sigsetmask): Likewise.
16273 (wait3): Likewise.
16274 (waitpid): Likewise.
16275 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16276 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16277 file.
16278 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16279 * sysdeps/unix/bsd/Makefile: ... here.
16280 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16281 * sysdeps/unix/bsd/Versions: ... here.
16282 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16283 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16284 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16285 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16286 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16287 * sysdeps/unix/bsd/sigblock.c: ... here.
16288 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16289 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16290 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16291 * sysdeps/unix/bsd/sigvec.c: ... here.
16292 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16293 * sysdeps/unix/bsd/tcdrain.c: ... here.
16294 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16295 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16296 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16297 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16298 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16299 * sysdeps/unix/bsd/wait.c: ... here.
16300 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16301 * sysdeps/unix/bsd/wait3.c: ... here.
16302 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16303 * sysdeps/unix/bsd/waitpid.c: ... here.
16304
163052013-12-21 Joseph Myers <joseph@codesourcery.com>
16306
16307 [BZ #16356]
16308 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16309 round-to-nearest for [!USE_AS_EXPM1L].
16310 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16311 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16312 more tests of exp and exp10. Expect some exp10 tests to miss
16313 exceptions or fail in directed rounding modes.
16314 * math/auto-libm-test-out: Regenerated.
16315 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16316 (exp10_test_tonearest): New function.
16317 (exp10_towardzero_test_data): New array.
16318 (exp10_test_towardzero): New function.
16319 (exp10_downward_test_data): New array.
16320 (exp10_test_downward): New function.
16321 (exp10_upward_test_data): New array.
16322 (exp10_test_upward): New function.
16323 (main): Call the new functions.
16324 * sysdeps/i386/fpu/libm-test-ulps: Update.
16325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16326
163272013-12-20 Joseph Myers <joseph@codesourcery.com>
16328
16329 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16330 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16331 * math/auto-libm-test-out: Regenerated.
16332 * math/libm-test.inc (acosh_test_data): Add more tests.
16333 (atanh_test_data): Likewise.
16334 (ceil_test_data): Likewise.
16335 (copysign_test_data): Likewise.
16336 * sysdeps/i386/fpu/libm-test-ulps: Update.
16337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16338
16339 * timezone/checktab.awk: Update from tzcode 2013i.
16340 * timezone/private.h: Likewise.
16341 * timezone/scheck.c: Likewise.
16342 * timezone/tzfile.h: Likewise.
16343 * timezone/tzselect.ksh: Likewise.
16344 * timezone/zdump.c: Likewise.
16345 * timezone/zic.c: Likewise.
16346
16347 * math/auto-libm-test-in: Add tests of cpow.
16348 * math/auto-libm-test-out: Regenerated.
16349 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16350 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16351 mpc_cc_c.
16352 (func_calc_desc): Add mpc_cc_c union field.
16353 (test_functions): Add cpow.
16354 (special_fill_2pi): New function.
16355 (special_real_inputs): Add 2pi.
16356 (calc_generic_results): Handle mpc_cc_c.
16357 * sysdeps/i386/fpu/libm-test-ulps: Update.
16358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16359
16360 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16361 csqrt, ctan and ctanh.
16362 * math/auto-libm-test-out: Regenerated.
16363 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16364 (TEST_COND_x86): Likewise.
16365 (ccos_test_data): Use AUTO_TESTS_c_c.
16366 (ccosh_test_data): Likewise.
16367 (cexp_test_data): Likewise.
16368 (clog_test_data): Likewise.
16369 (csqrt_test_data): Likewise.
16370 (ctan_test_data): Likewise.
16371 (ctan_tonearest_test_data): Likewise.
16372 (ctan_towardzero_test_data): Likewise.
16373 (ctan_downward_test_data): Likewise.
16374 (ctan_upward_test_data): Likewise.
16375 (ctanh_test_data): Likewise.
16376 (ctanh_tonearest_test_data): Likewise.
16377 (ctanh_towardzero_test_data): Likewise.
16378 (ctanh_downward_test_data): Likewise.
16379 (ctanh_upward_test_data): Likewise.
16380 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16381 mpc_c_c.
16382 (func_calc_desc): Add mpc_c_c union field.
16383 (FUNC_mpc_c_c): New macro.
16384 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16385 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16386 ctanh.
16387 (special_fill_min_subnorm_p120): New function.
16388 (special_real_inputs): Add min_subnorm_p120.
16389 (calc_generic_results): Handle mpc_c_c.
16390 * sysdeps/i386/fpu/libm-test-ulps: Update.
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392
163932013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16394
16395 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16396 (do_sin_slow): New functions.
16397 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16398 (cslow2, csloww1, csloww2): Use the new functions.
16399
16400 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16401 Use M to change sign of result instead of X. Assume X is
16402 positive.
16403 (csloww1): Likewise.
16404 (__sin): Adjust.
16405 (__cos): Adjust.
16406
16407 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16408 arguments A and DA.
16409 (__sin): Adjust.
16410 (__cos): Likewise.
16411
16412 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16413 (__cos): Likewise.
16414 (sloww1): Don't adjust sign of DX.
16415 (csloww1): Likewise.
16416 (sloww2): Use X directly and don't adjust sign of DX.
16417 (csloww2): Likewise.
16418
164192013-12-19 Joseph Myers <joseph@codesourcery.com>
16420
16421 * math/auto-libm-test-in: Add tests of cabs and carg.
16422 * math/auto-libm-test-out: Regenerated.
16423 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16424 (carg_test_data): Likewise.
16425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16426 mpc_c_f.
16427 (func_calc_desc): Add mpc_c_f union field.
16428 (test_functions): Add cabs and carg.
16429 (calc_generic_results): Handle mpc_c_f.
16430
16431 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16432 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16433 as a macro and a compat symbol.
16434 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16435 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16436 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16437 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16438 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16440 not use .hidden.
16441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16442 Likewise.
16443 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16444 Likewise.
16445 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16446 Likewise.
16447 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16448 Likewise.
16449 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16450 Likewise.
16451 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16452 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16453 from GLIBC_2.3.2.
16454
164552013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16456
16457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16458
164592013-12-19 Joseph Myers <joseph@codesourcery.com>
16460
16461 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16462 trailing whitespace removed.
16463 * scripts/config.guess: Update to version 2013-11-29.
16464 * scripts/config.sub: Update to version 2013-10-01.
16465
16466 * math/auto-libm-test-in: Add tests of sincos.
16467 * math/auto-libm-test-out: Regenerated.
16468 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16469 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16470 mpfr_f_11.
16471 (func_calc_desc): Add mpfr_f_11 union field.
16472 (test_functions): Add sincos.
16473 (calc_generic_results): Handle mpfr_f_11.
16474 * sysdeps/i386/fpu/libm-test-ulps: Update.
16475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16476
164772013-12-19 Andreas Schwab <schwab@suse.de>
16478
16479 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16480 CALL_MCOUNT.
16481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16483 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16484
164852013-12-19 Joseph Myers <joseph@codesourcery.com>
16486
16487 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16488 * sysdeps/i386/fpu/libm-test-ulps: Update.
16489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16490
16491 [BZ #16293]
16492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16493 round-to-nearest mode when using frndint.
16494 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16495 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16496 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16497 Likewise.
16498 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16499 sinh test to fail.
16500 * math/auto-libm-test-out: Regenerated.
16501 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16502 (TEST_COND_x86): Likewise.
16503 (expm1_tonearest_test_data): New array.
16504 (expm1_test_tonearest): New function.
16505 (expm1_towardzero_test_data): New array.
16506 (expm1_test_towardzero): New function.
16507 (expm1_downward_test_data): New array.
16508 (expm1_test_downward): New function.
16509 (expm1_upward_test_data): New array.
16510 (expm1_test_upward): New function.
16511 (main): Run the new test functions.
16512 * sysdeps/i386/fpu/libm-test-ulps: Update.
16513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16514
16515 * include/features.h: Update comment documenting feature test
16516 macros. Mention _DEFAULT_SOURCE in comment.
16517 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16518 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16519 _BSD_SOURCE and _SVID_SOURCE.
16520 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16521 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16522 !_SVID_SOURCE]: Likewise.
16523 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16524 (__USE_POSIX_IMPLICITLY): Define.
16525 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16526 (_POSIX_SOURCE): Undefine and redefine.
16527 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16528 (_POSIX_C_SOURCE): Likewise.
16529 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16530 (Feature Test Macros): Update documentation of default features.
16531
165322013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16533
16534 * benchtests/Makefile: Add bench-strtok.
16535 * benchtests/bench-strtok.c: New file: strtok benchtest.
16536
165372013-12-19 Allan McRae <allan@archlinux.org>
16538
16539 * manual/install.texi: Suppress menu for plain text output.
16540 * INSTALL: Regenerated.
16541
165422013-12-18 Brooks Moses <bmoses@google.com>
16543
16544 [BZ #15846]
16545 * misc/getauxval.c: Include errno.h.
16546 (__getauxval): Set errno to ENOENT if the requested type is not
16547 found.
16548 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16549 don't declare with __attribute_const__.
16550 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16551 * manual/startup.texi: Document that getauxval sets errno.
16552
165532013-12-18 Joseph Myers <joseph@codesourcery.com>
16554
16555 * math/auto-libm-test-in: Add tests of jn and yn.
16556 * math/auto-libm-test-out: Regenerated.
16557 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16558 (yn_test_data): Likewise.
16559 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16560 mpfr_if_f.
16561 (func_calc_desc): Add mpfr_if_f union field.
16562 (FUNC_mpfr_if_f): New macro.
16563 (test_functions): Add jn and yn.
16564 (calc_generic_results): Assert type of second input for
16565 mpfr_ff_f. Handle mpfr_if_f.
16566 (output_for_one_input_case): Disable all checking for arguments
16567 fitting floating-point types in case of an integer argument.
16568 * sysdeps/i386/fpu/libm-test-ulps: Update.
16569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16570
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16572 Don't expect fegetround reference in libm.so.
16573
165742013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16575
16576 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16577 $(config-cflags-nofma).
16578
165792013-12-18 Joseph Myers <joseph@codesourcery.com>
16580
16581 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16582 * math/auto-libm-test-out: Regenerated.
16583
16584 [BZ #16338]
16585 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16586 to determine exponent and adjust argument to have exponent of -1.
16587 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16588 log2.
16589 * math/auto-libm-test-out: Regenerated.
16590 * sysdeps/i386/fpu/libm-test-ulps: Update.
16591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16592
165932013-12-18 Ondřej Bílka <neleai@seznam.cz>
16594
16595 * manual/probes.texi: Remove cases when per-thread arenas are
16596 disabled.
16597
165982013-12-18 Andreas Schwab <schwab@suse.de>
16599
16600 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16601 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16602 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16603 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16604 * sysdeps/i386/i686/multiarch/Makefile: Update.
16605 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16606
166072013-12-17 Joseph Myers <joseph@codesourcery.com>
16608
16609 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16610 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16611
166122013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16613
16614 [BZ #15968]
16615 Support TZ transition times < 00:00:00.
16616 This is needed for version-3 tz-format files; it supports time
16617 stamps past 2037 for America/Godthab (the only entry in the tz
16618 database for which this change is relevant).
16619 * manual/time.texi (TZ Variable): Document transition times
16620 from -167:59:59 through -00:00:01.
16621 * time/tzset.c (tz_rule): Time of day is now signed.
16622 (__tzset_parse_tz): Parse negative time of day.
16623
16624 Document TZ transition times >= 25:00:00.
16625 * manual/time.texi (TZ Variable): Document transition times from
16626 25:00:00 through 167:59:59. These are already supported, and this
16627 support will help with version-3 tz-format files.
16628
16629 * manual/time.texi (TZ Variable): Modernize North America example
16630 to reflect current (i.e., 2007-and-later) daylight saving rules.
16631
16632 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16633
166342013-12-17 Joseph Myers <joseph@codesourcery.com>
16635
16636 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16637 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16640 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16641 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16642 * sysdeps/unix/bsd/clock.c: Likewise.
16643 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16644 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16645 * sysdeps/unix/bsd/init-posix.c: Likewise.
16646 * sysdeps/unix/bsd/poll.c: Likewise.
16647 * sysdeps/unix/bsd/ptsname.c: Likewise.
16648 * sysdeps/unix/bsd/seekdir.c: Likewise.
16649 * sysdeps/unix/bsd/setegid.c: Likewise.
16650 * sysdeps/unix/bsd/seteuid.c: Likewise.
16651 * sysdeps/unix/bsd/setgid.c: Likewise.
16652 * sysdeps/unix/bsd/setrgid.c: Likewise.
16653 * sysdeps/unix/bsd/setruid.c: Likewise.
16654 * sysdeps/unix/bsd/setsid.c: Likewise.
16655 * sysdeps/unix/bsd/setuid.c: Likewise.
16656 * sysdeps/unix/bsd/sigaction.c: Likewise.
16657 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16658 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16659 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16660 * sysdeps/unix/bsd/telldir.c: Likewise.
16661 * sysdeps/unix/bsd/times.c: Likewise.
16662 * sysdeps/unix/bsd/usleep.c: Likewise.
16663
16664 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16665 ($(objpfx)libbsd-compat.a): Remove rule.
16666
16667 * include/features.h (__FAVOR_BSD): Do not define.
16668 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16669 features conflicting with POSIX.
16670 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16671 (_BSD_SOURCE): Remove description of not being a subset of other
16672 feature test macros.
16673 * manual/job.texi (getpgrp): Do not document BSD version.
16674 (getpgid): Do not document by reference to BSD getpgrp.
16675 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16676 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16677 * signal/signal.h [__FAVOR_BSD]: Likewise.
16678 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16679 instead of making contents conditional on [__FAVOR_BSD].
16680 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16681
166822013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16683
16684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16685
166862013-12-17 Joseph Myers <joseph@codesourcery.com>
16687
16688 [BZ #16314]
16689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16690 values below 2**-450, not 2**-500.
16691 * math/auto-libm-test-in: Don't allow spurious underflow from
16692 hypot.
16693 * math/auto-libm-test-out: Regenerated.
16694
16695 [BZ #16316]
16696 [BZ #16330]
16697 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16698 values of ha and hb and sort them after adjusting subnormal
16699 arguments.
16700 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16701 Likewise.
16702 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16703 values of ea and eb and sort them after adjusting subnormal
16704 arguments.
16705 * math/auto-libm-test-in: Do not expect some hypot tests of
16706 subnormals to fail. Add more hypot tests.
16707 * math/auto-libm-test-out: Regenerated.
16708
167092013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16710
16711 [BZ #13304]
16712 * sysdeps/sh/s_fma.c: New file.
16713 * sysdeps/sh/s_fmaf.c: New file.
16714 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16715 version.
16716 * sysdeps/sh/Implies: Add sh/soft-fp.
16717
167182013-12-16 Roland McGrath <roland@hack.frob.com>
16719
16720 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16721 level of indirection to members `objname', `errstring', `malloced'.
16722 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16723 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16724 it as the __longjmp argument (just pass 1 instead).
16725 (_dl_catch_error): Initialize C with argument pointers and address of
16726 volatile local ERRCODE rather than copying values out of C at return.
16727
167282013-12-16 Joseph Myers <joseph@codesourcery.com>
16729
16730 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16731 * math/auto-libm-test-out: Regenerated.
16732 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16733 (hypot_test_data): Likewise.
16734 (pow_test_data): Likewise.
16735 (pow_tonearest_test_data): Likewise.
16736 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16737 mpfr_ff_f.
16738 (func_calc_desc): Add mpfr_ff_f union field.
16739 (FUNC_mpfr_ff_f): New macro.
16740 (test_functions): Add atan2, hypot and pow.
16741 (special_fill_min): New function.
16742 (special_fill_minus_min): Likewise.
16743 (special_fill_min_subnorm): Likewise.
16744 (special_fill_minus_min_subnorm): Likewise.
16745 (special_real_inputs): Add min, -min, min_subnorm and
16746 -min_subnorm.
16747 (calc_generic_results): Handle mpfr_ff_f.
16748 * sysdeps/i386/fpu/libm-test-ulps: Update.
16749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16750
167512013-12-16 Will Newton <will.newton@linaro.org>
16752
16753 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16754 (Aligned Memory Blocks): Add documentation for aligned_alloc
16755 and suggest it as an alternative to posix_memalign.
16756 (Hooks for Malloc): Document __memalign_hook is also called
16757 for aligned_alloc. (Summary of Malloc): Add summary for
16758 aligned alloc. Document __memalign_hook is also called
16759 for aligned_alloc.
16760
167612013-12-16 Will Newton <will.newton@linaro.org>
16762
16763 * manual/memory.texi (Malloc Examples): Clarify default
16764 alignment documentation. Suggest posix_memalign rather
16765 than memalign or valloc.
16766 (Aligned Memory Blocks): Remove suggestion to use memalign
16767 or valloc. Remove obsolete comment about BSD.
16768 Document memalign errno values and mark the function obsolete.
16769 Document posix_memalign returned error codes. Mark valloc
16770 as obsolete. (Hooks for Malloc): __memalign_hook is also
16771 called for posix_memalign and valloc.
16772 (Summary of Malloc): Add posix_memalign to function summary.
16773 __memalign_hook is also called for posix_memalign and valloc.
16774
167752013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
16777 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16778 TAYLOR_SIN.
16779 (__sin): Adjust.
16780 (__cos): Likewise.
16781 (sloww): Use mynumber union. Expand ternary operator into
16782 if-else statements.
16783 (cslow): use mynumber union.
16784
167852013-12-16 Allan McRae <allan@archlinux.org>
16786
16787 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16788 * configure: Regenerated.
16789
16790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16791
16792 [BZ #14120]
16793 * configure.ac: Added --enable-maintainer-mode. Check for
16794 autoconf when enabled.
16795 * configure: Regenerated.
16796
16797 * nscd/nscd.service: New file.
16798 * nscd/nscd.tmpfiles: New file.
16799
168002013-12-14 Ondřej Bílka <neleai@seznam.cz>
16801
16802 [BZ #12100]
16803 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16804 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16805 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16806 (strstr): Add __strstr_sse2_unaligned ifunc.
16807 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16808 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16809 (strcasestr): Remove __strcasestr_sse42 ifunc.
16810 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16811 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16813
168142013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16815
16816 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16817 * sysdeps/sh/bits/fenv.h: ... here.
16818 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16819
168202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16821
16822 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16823
16824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16825 hypotf multiarch implementations.
16826 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16827 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16829 multiarch hypot for PPC64.
16830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16831 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16832 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16833 multiarch hypotf for PPC64.
16834
16835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16836 modff multiarch implementations.
16837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16840 multiarch modf for PPC64.
16841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16844 multiarch modff for PPC64.
16845
16846 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16847 and logl multiarch implementations.
16848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16851 multiarch logb for PPC64.
16852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16855 multiarch logb for PPC64.
16856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16859 multiarch logb for PPC64.
16860
16861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16862 isinff multiarch implementation.
16863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16864 file.
16865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16867 multiarch isinf for PPC64.
16868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16869 file.
16870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16871 multiarch isinff for PPC64.
16872
16873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16874 finitef multiarch implementation.
16875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16876 file.
16877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16879 multiarch finite for PPC64.
16880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16881 file.
16882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16883 multiarch finitef for PPC64.
16884
16885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16886 lrint multiarch implementation.
16887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16888 file.
16889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16891 multiarch llrint for PPC64.
16892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16893 multiarch lrint for PPC64.
16894
16895 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16896 copysignf multiarch implementation.
16897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16898 file.
16899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16900 file.
16901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16902 multiarch copysign for PPC64.
16903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16904 multiarch copysignf for PPC64.
16905
16906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16907 multiarch implementation.
16908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16909 file.
16910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16911 file.
16912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16913 file.
16914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16915 file.
16916 multiarch llround for PPC64.
16917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16918 multiarch trunc for PPC64.
16919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16920 multiarch truncf for PPC64.
16921
16922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16923 multiarch implementation.
16924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16925 file.
16926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16927 file.
16928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16929 file.
16930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16931 file.
16932 multiarch llround for PPC64.
16933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16934 multiarch round for PPC64.
16935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16936 multiarch roundf for PPC64.
16937
16938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16939 multiarch implementation.
16940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16941 file.
16942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16943 file.
16944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16945 file.
16946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16947 file.
16948 multiarch llround for PPC64.
16949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16950 multiarch floor for PPC64.
16951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16952 multiarch floorf for PPC64.
16953
16954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16955 multiarch implementation.
16956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16957 file.
16958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16959 file.
16960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16961 file.
16962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16963 file.
16964 multiarch llround for PPC64.
16965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16966 multiarch ceil for PPC64.
16967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16968 multiarch ceilf for PPC64.
16969
16970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16971 multiarch implementation.
16972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16973 file.
16974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16975 file.
16976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16977 file.
16978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16979 multiarch llround for PPC64.
16980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16981 multiarch lround for PPC64.
16982
16983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16984 multiarch implementation.
16985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16988 file.
16989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16992 multiarch isnan for PPC64.
16993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16994 multiarch isnanf for PPC64.
16995
16996 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16997 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16998 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16999 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17000 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17002
17003 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17007
17008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17009 multiarch implementations.
17010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17011 (__libc_ifunc_impl_list): Likewise.
17012 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17013 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17014 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17015 multiarch stpcpy for PPC64.
17016
17017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17018 multiarch implementations.
17019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17020 (__libc_ifunc_impl_list): Likewise.
17021 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17022 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17023 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17024 multiarch strcpy for PPC64.
17025
17026 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17027 redefine function name.
17028 (_wordcopy_fwd_dest_aligned): Likewise.
17029 (_wordcopy_bwd_aligned): Likewise.
17030 (_wordcopy_bwd_dest_aligned): Likewise.
17031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17032 multiarch implementations.
17033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17034 (__libc_ifunc_impl_list): Likewise.
17035 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17037 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17038 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17039 multiarch wcscpy for PPC64.
17040
17041 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17042 multiarch implementations.
17043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17044 (__libc_ifunc_impl_list): Likewise.
17045 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17046 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17047 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17049 multiarch wcscpy for PPC64.
17050
17051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17052 multiarch implementations.
17053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17054 (__libc_ifunc_impl_list): Likewise.
17055 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17056 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17057 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17058 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17059 multiarch wcsrchr for PPC64.
17060
17061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17062 multiarch implementations.
17063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17064 (__libc_ifunc_impl_list): Likewise.
17065 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17066 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17067 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17068 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17069 multiarch wcschr for PPC64.
17070
17071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17072 multiarch implementations.
17073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17074 (__libc_ifunc_impl_list): Likewise.
17075 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17076 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17077 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17078 multiarch strchrnul for PPC64.
17079
17080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17081 implementations.
17082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17083 (__libc_ifunc_impl_list): Likewise.
17084 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17085 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17086 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17087 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17088 strchr for PPC64.
17089
17090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17091 implementations.
17092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17093 (__libc_ifunc_impl_list): Likewise.
17094 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17095 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17096 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17097 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17098 strncmp for PPC64.
17099
17100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17101 multiarch implementations.
17102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17103 (__libc_ifunc_impl_list): Likewise.
17104 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17105 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17106 strncasecmp for PPC64.
17107 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17108 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17109 multiarch strncasecmp_l for PPC64.
17110
17111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17112 multiarch implementations.
17113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17114 (__libc_ifunc_impl_list): Likewise.
17115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17117 multiarch strcasecmp for PPC64.
17118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17119 file.
17120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17121 multiarch strcasecmp_l for PPC64.
17122
17123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17124 implementations.
17125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17126 (__libc_ifunc_impl_list): Likewise.
17127 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17128 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17129 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17130 strnlen for PPC64.
17131
17132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17133 implementations.
17134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17135 (__libc_ifunc_impl_list): Likewise.
17136 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17137 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17138 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17139 strlen for PPC64.
17140
17141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17142 implementations.
17143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17144 (__libc_ifunc_impl_list): Likewise.
17145 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17146 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17147 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17148 rawmemrchr for PPC64.
17149
17150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17151 implementation.
17152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17153 (__libc_ifunc_impl_list): Likewise.
17154 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17155 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17156 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17157 memrchr for PPC64.
17158
17159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17160 implementation.
17161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17162 (__libc_ifunc_impl_list): Likewise.
17163 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17164 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17165 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17166 memchr for PPC64.
17167
17168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17169 implementation.
17170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17171 (__libc_ifunc_impl_list): Likewise.
17172 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17173 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17174 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17175 mempcpy for PPC64.
17176
17177 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17178 avoid cretion of __bzero symbol.
17179 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17180 Likewise.
17181 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17182 Likewise.
17183 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17184 Likewise.
17185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17186 multiarch implementations.
17187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17188 (__libc_ifunc_impl_list): Likewise.
17189 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17190 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17191 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17192 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17193 bzero for PPC32.
17194 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17195 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17196 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17197 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17198 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17199 memset for PPC64.
17200 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17201
17202 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17204 implementations.
17205 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17206 (__libc_ifunc_impl_list): Likewise.
17207 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17208 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17209 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17210 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17211 memcmp for PPC64.
17212
17213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17214 multiarch for POWER/PPC64.
17215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17216 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17223 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17224 memcpy for PPC64.
17225
17226 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17227 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17228 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17229 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17230 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17231 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17232 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17233 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17234 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17235 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17236 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17237 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17238 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17239 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17240 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17248
172492013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17250
17251 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17252
172532013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17254
17255 * benchtests/Makefile (bench): Add exp2 and log2.
17256 (LDLIBS-bench-exp2): Add -lm.
17257 (LDLIBS-bench-log2): Likewise.
17258 * benchtests/exp2-inputs: New inputs file.
17259 * benchtests/log2-inputs: New inputs file.
17260 * benchtests/log-inputs: Add new inputs.
17261 * benchtests/tan-inputs: Likewise.
17262
172632013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17264
17265 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17266 definition...
17267 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17268 (csloww2): ... from here.
17269
17270 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17271 instead of structures.
17272 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17273 (POLYNOMIAL): Likewise.
17274 (TAYLOR_SLOW): Likewise.
17275 (__sin): Likewise.
17276 (__cos): Likewise.
17277 (slow1): Likewise.
17278 (slow2): Likewise.
17279 (sloww): Likewise.
17280 (sloww1); Likewise.
17281 (sloww2): Likewise.
17282 (bsloww1): Likewise.
17283 (bsloww2): Likewise.
17284 (cslow2): Likewise.
17285 (csloww): Likewise.
17286 (csloww1): Likewise.
17287 (csloww2): Likewise.
17288
172892013-12-10 Ondřej Bílka <neleai@seznam.cz>
17290
17291 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17292 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17293 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17294 * malloc/hooks.c (realloc_check): Likewise.
17295
17296 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17297 * malloc/arena.c: Remove PER_THREAD conditional.
17298 [!PER_THREAD]: Remove code.
17299 (ptmalloc_unlock_all2): Likewise.
17300 (ptmalloc_init): Likewise.
17301 (_int_new_arena): Likewise.
17302 (arena_get2): Likewise.
17303 * malloc/hooks.c (__malloc_get_state): Likewise.
17304 (__malloc_set_state): Likewise.
17305 * malloc/malloc.c: Likewise.
17306 (struct malloc_state): Likewise.
17307 (struct malloc_par): Likewise.
17308 (__libc_realloc): Likewise.
17309 (__libc_mallopt): Likewise.
17310
173112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17312
17313 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17314
173152013-12-09 Ondřej Bílka <neleai@seznam.cz>
17316
17317 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17318 macro to a function. Check for zero perturb_byte.
17319 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17320
17321 * malloc/malloc.c: (force_reg): Remove.
17322 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17323 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17324 force_reg by atomic_forced_read.
17325 * malloc/arena.c (ptmalloc_init): Likewise.
17326 * malloc/hooks.c (top_check): Likewise.
17327
173282013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17329
17330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17331
173322013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17333
17334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17335
173362013-12-08 Joseph Myers <joseph@codesourcery.com>
17337
17338 * math/auto-libm-test-in: Add tests of lgamma.
17339 * math/auto-libm-test-out: Regenerated.
17340 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17341 (M_LOG_2_SQRT_PIl): Likewise.
17342 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17343 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17344 mpfr_f_f1.
17345 (func_calc_desc): Add mpfr_f_f1 union field.
17346 (ARGS1): New macro.
17347 (ARGS2): Likewise.
17348 (ARGS3): Likewise.
17349 (ARGS4): Likewise.
17350 (RET1): Likewise.
17351 (RET2): Likewise.
17352 (CALC): Likewise.
17353 (FUNC): Likewise.
17354 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17355 (test_functions): Add lgamma.
17356 (calc_generic_results): Handle mpfr_f_f1.
17357 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359
173602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17361
17362 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17363 __mpn_add_n for PowerPC64/POWER7.
17364 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17365 __mpn_sub_n for PowerPC64/POWER7.
17366
17367 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17368 __mpn_addmul_1 for PowerPC64.
17369 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17370 __mpn_submul_1 for PowerPC64.
17371 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17372 for PowerPC64.
17373 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17374 for PowerPC64.
17375
173762013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17377
17378 [BZ #15089]
17379 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17380
173812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17382
17383 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17384
17385 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17386 add multiarch folders.
17387 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17388 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17389 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17390 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17391 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17392 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17393 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17394 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17395 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17396 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17397 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17404
17405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17406 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17408 New file.
17409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17410 New file.
17411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17412 multiarch __ieee754_hypot for PowerPC32.
17413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17414 New file.
17415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17416 New file.
17417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17418 multiarch __ieee754_hypotf for PowerPC32.
17419
17420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17421 long_double_symbol only if __logbl is defined.
17422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17423 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17425 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17427 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17429 path for implementation.
17430 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17431 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17433 logb, and logbl multiarch implementations for PowerPC32.
17434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17435 file.
17436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17437 file.
17438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17439 multiarch logb for PowerPC32.
17440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17441 file.
17442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17443 file.
17444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17445 multiarch logbf for PowerPC32.
17446 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17448 file.
17449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17450 multiarch logbl implementation for PowerPC32.
17451
17452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17453 and modff multiarch implementations.
17454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17455 New file.
17456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17457 New file.
17458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17459 multiarch modf for PowerPC32.
17460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17461 New file.
17462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17463 New file.
17464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17465 multiarch modff for PowerPC32.
17466
17467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17468 and lrintf multiarch implementations.
17469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17470 New file.
17471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17472 New file.
17473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17474 multiarch lrint for PowerPC32.
17475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17476 file: multiarch lrintf for PowerPC32.
17477
17478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17479 and lroundf multiarch implementations.
17480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17481 New file.
17482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17483 New file.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17485 New file.
17486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17487 multiarch lround for PowerPC32.
17488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17489 file: multiarch lroundf for PowerPC32.
17490
17491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17492 copysign and copysignf multiarch implementations.
17493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17494 New file.
17495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17496 New file.
17497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17498 file: multiarch copysign for PowerPC32.
17499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17500 file: multiarch copysignf for PowerPC32.
17501
17502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17503 and truncf multiarch implementations.
17504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17505 New file.
17506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17507 file.
17508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17509 multiarch trunc for PowerPC32.
17510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17511 New file.
17512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17513 New file.
17514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17515 multiarch truncf for PowerPC32.
17516
17517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17518 and roundf multiarch implementations.
17519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17520 New file.
17521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17522 file.
17523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17524 multiarch round for PowerPC32.
17525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17526 New file.
17527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17528 New file.
17529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17530 multiarch roundf for PowerPC32.
17531
17532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17533 and floorf multiarch implementations.
17534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17535 New file.
17536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17537 file.
17538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17539 multiarch floor for PowerPC32.
17540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17541 New file.
17542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17543 New file.
17544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17545 multiarch floorf for PowerPC32.
17546
17547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17548 and ceilf multiarch implementations.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17550 New file.
17551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17552 file.
17553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17554 multiarch ceil for PowerPC32.
17555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17556 New file.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17558 file.
17559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17560 multiarch ceilf for PowerPC32.
17561
17562 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17563 is defined.
17564 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17565 FINITEF is defined.
17566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17567 and finitef multiarch implementations.
17568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17569 New file.
17570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17571 file.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17573 multiarch finite for PowerPC32.
17574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17575 New file.
17576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17577 file: multiarch finitef for PowerPC32.
17578
17579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17580 and isinff multiarch implementations.
17581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17582 file.
17583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17584 file.
17585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17586 multiarch isinf for PowerPC32.
17587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17588 New file.
17589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17590 multiarch isinff for PowerPC32.
17591
17592 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17593 alias when __isnan is defined.
17594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17595 and isnanf multiarch implementations.
17596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17597 file.
17598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17599 file.
17600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17601 file.
17602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17603 file.
17604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17605 multiarch isnan for PowerPC32.
17606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17607 New file.
17608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17609 New file.
17610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17611 multiarch isnanf for PowerPC32.
17612
17613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17614 and sqrtf multiarch implementations.
17615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17616 file.
17617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17618 file.
17619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17620 multiarch sqrt for PowerPC32.
17621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17622 file.
17623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17624 file.
17625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17626 multiarch sqrtf for PowerPC32.
17627
17628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17629 and llroundf multiarch implementations.
17630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17631 New file.
17632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17633 New file.
17634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17635 New file.
17636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17637 file: multiarch llround for PowerPC32.
17638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17639 file: multiarch llroundf for PowerPC32.
17640
17641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17642 multiarch PowerPC32 fpu implementations.
17643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17644 New file.
17645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17646 New file.
17647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17648 multiarch llrint for PowerPC32.
17649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17650 New file.
17651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17652 New file.
17653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17654 file.
17655
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17657
17658 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17659 file.
17660 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17661 file.
17662 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17663 file.
17664 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17665 multiarch wordcopy for PPC32.
17666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17667 wordcopy objects.
17668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17669 (__libc_ifunc_impl_list): Likewise.
17670 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17671 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17673 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17674 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17675 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17676
17677 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17678 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17679 file.
17680 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17681 file.
17682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17683 file.
17684 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17685 multiarch wcscpy for PPC32.
17686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17687 multiarch objects.
17688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17689 (__libc_ifunc_impl_list): Likewise.
17690 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17691 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17692 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17693 sysdeps/powerpc/power6/wcscpy.c.
17694
17695 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17697 file.
17698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17699 file.
17700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17701 file.
17702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17703 multiarch wcsrchr for PPC32.
17704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17705 multiarch objects.
17706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17707 (__libc_ifunc_impl_list): Likewise.
17708 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17709 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17710 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17711 sysdeps/powerpc/power6/wcsrchr.c.
17712
17713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17714 file.
17715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17716 file.
17717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17719 multiarch wcschr for PPc32.
17720 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17721 multiarch objects.
17722 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17723 (__libc_ifunc_impl_list): Likewise.
17724 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17725 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17726 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17727 sysdeps/powerpc/power6/wcschr.c.
17728
17729 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17730 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17731 file.
17732 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17733 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17734 file: multiarch strchr for PPC32.
17735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17736 multiarch objects.
17737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17738 (__libc_ifunc_impl_list): Likewise.
17739
17740 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17741 name.
17742 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17743 file.
17744 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17745 file.
17746 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17747 multiarch strchrnul for PPC32.
17748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17749 multiarch objects.
17750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17751 (__libc_ifunc_impl_list): Likewise.
17752
17753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17754 file.
17755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17756 multiarch strncasecmp for PPC32.
17757 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17758 file.
17759 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17760 multiarch strncasecmp_l for PPC32.
17761 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17762 strncasecmp multiarch objects.
17763 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17764 (__libc_ifunc_impl_list): Likewise.
17765
17766 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17767 file.
17768 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17769 multiarch strncasecmp for PPC32.
17770 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17771 New file.
17772 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17773 multiarch strcasecmp_l for PPC32.
17774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17775 multiarch objects.
17776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17777 (__libc_ifunc_impl_list): Likewise.
17778
17779 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17780 file.
17781 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17782 file.
17783 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17784 multiarch strncmp for PPC32.
17785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17786 multiarch objects.
17787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17788 (__libc_ifunc_impl_list): Likewise.
17789
17790 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17791 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17792 file.
17793 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17794 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17796 multiarch objects.
17797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17798 (__libc_ifunc_impl_list): Likewise.
17799
17800 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17801 file.
17802 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17803 file.
17804 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17806 multiarch objects.
17807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17808 (__libc_ifunc_impl_list): Likewise.
17809
17810 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17811 file.
17812 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17813 file.
17814 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17815 multiarch rawmemchr for PPC32.
17816 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17817 multiarch objects.
17818 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17819 (__libc_ifunc_impl_list): Likewise.
17820
17821 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17822 file.
17823 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17824 file.
17825 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17826 file: memrchr multiarch for PPC32.
17827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17828 multiarch objects.
17829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17830 (__libc_ifunc_impl_list): Likewise.
17831
17832 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17833 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17834 file.
17835 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17836 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17837 multiarch memchr for PPC32.
17838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17839 multiarch objects.
17840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17841 (__libc_ifunc_impl_list): Likewise.
17842
17843 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17844 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17845 file.
17846 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17847 file.
17848 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17849 file: multiarch mempcpy for PPC32.
17850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17851 multiarch objects.
17852 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17853 (__libc_ifunc_impl_list): Likewise.
17854
17855 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17856 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17857 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17858 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17859 multiarch bzero for PPC32.
17860 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17861 file.
17862 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17863 file.
17864 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17865 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17866 file: multiarch memset for PPC32.
17867 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17869 memset multiarch objects.
17870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17871 (__libc_ifunc_impl_list): Likewise.
17872
17873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17874 file.
17875 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17877 memcmp for PPC32.
17878 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17880 multiarch objects.
17881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17882 (__libc_ifunc_impl_list): Likewise.
17883
17884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17885 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17887 file.
17888 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17889 file.
17890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17891 file.
17892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17893 multiarch memcpy for PPC32.
17894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17895 multiarch objects.
17896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17897 (__libc_ifunc_impl_list): Likewise.
17898
17899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17900 support multiarch for POWER/PPC32.
17901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17902 Likewise.
17903 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17905 Implies file to make multiarch folder appers before the fpu and
17906 default folder for power4 configuration.
17907
179082013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17909
17910 * scripts/bench.pl: Append volatile keyword to type.
17911
179122013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17913
17914 * sysdeps/sh/sotruss-lib.c: New file.
17915 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17916
179172013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17918
17919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17920
179212013-12-05 Joseph Myers <joseph@codesourcery.com>
17922
17923 [BZ #6810]
17924 * math/w_tgamma.c: Include <errno.h>.
17925 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17926 * math/w_tgammaf.c: Include <errno.h>.
17927 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17928 * math/w_tgammal.c: Include <errno.h>.
17929 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17930 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17931 underflow. Add more tgamma tests.
17932 * math/auto-libm-test-out: Regenerated.
17933 * sysdeps/i386/fpu/libm-test-ulps: Update.
17934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17935
17936 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17937 sin, sinh, tan, tanh, tgamma, y0 and y1.
17938 * math/auto-libm-test-out: Regenerated.
17939 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17940 (TEST_COND_x86): Likewise.
17941 (M_E2l): Remove macro.
17942 (M_E3l): Likewise.
17943 (M_2_SQRT_PIl): Likewise.
17944 (M_SQRT_PIl): Likewise.
17945 (M_1_DIV_El): Likewise.
17946 (log_test_data): Use AUTO_TESTS_f_f.
17947 (log10_test_data): Likewise.
17948 (log1p_test_data): Likewise.
17949 (log2_test_data): Likewise.
17950 (sin_test_data): Likewise.
17951 (sin_tonearest_test_data): Likewise.
17952 (sin_towardzero_test_data): Likewise.
17953 (sin_downward_test_data): Likewise.
17954 (sin_upward_test_data): Likewise.
17955 (sinh_test_data): Likewise.
17956 (sinh_tonearest_test_data): Likewise.
17957 (sinh_towardzero_test_data): Likewise.
17958 (sinh_downward_test_data): Likewise.
17959 (sinh_upward_test_data): Likewise.
17960 (tan_test_data): Likewise.
17961 (tan_tonearest_test_data): Likewise.
17962 (tan_towardzero_test_data): Likewise.
17963 (tan_downward_test_data): Likewise.
17964 (tan_upward_test_data): Likewise.
17965 (tanh_test_data): Likewise.
17966 (tgamma_test_data): Likewise.
17967 (y0_test_data): Likewise.
17968 (y1_test_data): Likewise.
17969 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17970 (special_real_inputs): Add pi/4.
17971 * sysdeps/i386/fpu/libm-test-ulps: Update.
17972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973
179742013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17975
17976 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17977 "longjmp_target" static probes.
17978 (__longjmp): Rename to __longjmp_symbol.
17979 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17980 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17981 on which longjmp to generate.
17982 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17984 probe.
17985 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17986 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17987 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17988 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17989 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17990 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17992 __longjmp_symbol based on which __longjmp to generate.
17993 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17994 probe.
17995 (setjmp): Rename to setjmp_symbol.
17996 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17997 (_setjmp): Rename to _setjmp_symbol.
17998 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17999 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18000 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18001 which setjmp to generate.
18002 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18003 "longjmp_target" static probes.
18004
180052013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18006
18007 * benchtests/README: Add note about output arguments.
18008 * benchtests/bench-sincos.c: Remove file.
18009 * benchtests/sincos-inputs: New file.
18010 * scripts/bench.pl: Identify output arguments and define
18011 static variables for them.
18012
18013 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18014
18015 [BZ #15941]
18016 * Makefile (INSTALL): Add install-plain.texi as the primary
18017 dependency.
18018 * manual/install-plain.texi: New file.
18019 * manual/install.texi: Include node directive only for
18020 non-plaintext output.
18021
180222013-12-04 Joseph Myers <joseph@codesourcery.com>
18023
18024 * stdlib/longlong.h: Update from GCC.
18025
18026 [BZ #6807]
18027 [BZ #15901]
18028 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18029 * math/w_j0f.c (y0f): Likewise.
18030 * math/w_j0l.c (__y0l): Likewise.
18031 * math/w_j1.c (y1): Likewise.
18032 * math/w_j1f.c (y1f): Likewise.
18033 * math/w_j1l.c (__y1l): Likewise
18034 * math/w_jn.c (yn): Likewise.
18035 * math/w_jnf.c (ynf): Likewise.
18036 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18037 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18038 value for Bessel function domain errors outside _SVID_ mode.
18039 Adjust sign of return value for yn (negative integer, 0).
18040 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18041 by zero in return for negative x and set sign appropriately for
18042 negative n.
18043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18045 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18046 expectations in error cases.
18047 (y1_test_data): Likewise.
18048 (yn_test_data): Likewise.
18049 * sysdeps/i386/fpu/libm-test-ulps: Update.
18050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18051
180522013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18053
18054 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18055 "64" to "64-v1". Add "64-v2".
18056 (abi-64-options): Rename to ...
18057 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18058 (abi-64-condition): Rename to ...
18059 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18060 (abi-64-ld-soname): Rename to ...
18061 (abi-64-v1-ld-soname): ... this.
18062 (abi-64-v2-options): Define.
18063 (abi-64-v2-condition): Likewise.
18064 (abi-64-v2-ld-soname): Likewise.
18065 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18066 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18070
180712013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18072 Alan Modra <amodra@gmail.com>
18073
18074 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18075 New versions for use with the ELFv2 ABI.
18076 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18077 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18078 declaration.
18079 (struct La_ppc64v2_retval): Likewise.
18080 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18081 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18082 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18083 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18084 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18085 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18086 Do not save or restore CR.
18087 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18088 (_dl_profile_resolve): Do no save or restore CR. Support extended
18089 return values for ELFv2 ABI. Fix location of FPR return registers.
18090 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18091 updated values for _CALL_ELF == 2.
18092 (La_regs, La_retval, int_retval): Likewise.
18093
180942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18095
18096 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18097 (FRAME_MIN_SIZE_PARM): Likewise.
18098 (FRAME_BACKCHAIN): Likewise.
18099 (FRAME_CR_SAVE): Likewise.
18100 (FRAME_LR_SAVE): Likewise.
18101 (FRAME_TOC_SAVE): Likewise.
18102 (FRAME_PARM_SAVE): Likewise.
18103 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18104 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18105 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18106 (call_mcount_parm_offset): New macro.
18107 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18108 (PROF): Use symbolic stack frame offsets.
18109 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18110 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18111 Redefine in terms of FRAME_MIN_SIZE.
18112 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18113 (_dl_profile_resolve): Likewise. Update comment.
18114 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18115 symbols stack frame offsets.
18116 (__sigsetjmp): Likewise.
18117 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18118 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18119 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18120 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18121
18122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18123 (FRAME_BACKCHAIN): Remove.
18124 (FRAME_CR_SAVE): Likewise.
18125 (FRAME_LR_SAVE): Likewise.
18126 (FRAME_COMPILER_DW): Likewise.
18127 (FRAME_LINKER_DW): Likewise.
18128 (FRAME_TOC_SAVE): Likewise.
18129 (FRAME_PARM_SAVE): Likewise.
18130 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18131 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18132 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18134 (CHECK_SP): Use symbolic stack frame offsets.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18136 zone" instead of caller's parameter save area for temp storage.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18138 Likewise. Also, use symbolic stack frame offsets.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18140 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18141 our own stack frame instead of the caller's.
18142 (__socket): Use symbolic stack frame offsets.
18143
181442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18145 Alan Modra <amodra@gmail.com>
18146
18147 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18148 Define.
18149 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18150 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18151 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18152 New function.
18153 (elf_machine_fixup_plt): Call it.
18154 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18155 reloc arguments.
18156 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18158 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18159 r2 before calling target.
18160
181612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18162 Alan Modra <amodra@gmail.com>
18163
18164 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18165 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18166 versions of macros to support ELFv2 ABI.
18167 (LOCALENTRY): New macro.
18168 (ENTRY, EALIGN): Use it.
18169 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18170 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18171 fall through into ENTRY entry point.
18172 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18173 Only define if _CALL_ELF != 2.
18174
18175 (elf_machine_matches_host): Verify ABI version matches.
18176 (RTLD_START): Use LOCALENTRY.
18177 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18178 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18179 (PLT_ENTRY_WORDS): New macro.
18180 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18181 (elf_machine_runtime_setup): Support ELFv2 ABI.
18182 (elf_machine_fixup_plt): Likewise.
18183 (elf_machine_plt_conflict): Likewise.
18184 (resolve_ifunc): Likewise.
18185 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18186 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18187 Likewise.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18189 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18191 (makecontext): Support ELFv2 ABI.
18192 * elf/elf.h (EF_PPC64_ABI): Define.
18193
181942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18195
18196 * sysdeps/powerpc/powerpc64/sysdep.h
18197 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18198 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18199 (ENTRY) [ASSEMBLER]: ... but instead here ...
18200 (EALIGN) [ASSEMBLER]: ... and here.
18201 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18202 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18203 (ENTRY_2) [!ASSEMBLER]: Use it.
18204 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18205 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18206 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18207 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18208 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18210 Use PPC64_LOAD_FUNCPTR.
18211
18212 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18213
182142013-12-04 Alan Modra <amodra@gmail.com>
18215
18216 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18217 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18218 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18219 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18220
18221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18222 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18223 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18224 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18225 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18226 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18227
182282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18229
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18231 (__makecontext): Fix incorrect CFI when backtracing out of
18232 context created via makecontext.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18234 (__setcontext): Fix incorrect CFI during switch to new context.
18235 (__novec_setcontext): Likewise.
18236
182372013-12-04 Ondřej Bílka <neleai@seznam.cz>
18238
18239 [BZ #4772]
18240 * time/strptime_l.c (__strptime_internal): Allow modifiers
18241 in strptime.
18242 * time/tst-strptime.c (day_tests): Add testcase.
18243
182442013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18245
18246 * scripts/bench.pl: Skip over blank lines.
18247
182482013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18249
18250 [BZ #926]
18251 * manual/time.texi (Calendar Time): Clarify what timezone functions
18252 use.
18253
182542013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18255
18256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18257
182582013-12-04 Ondřej Bílka <neleai@seznam.cz>
18259
18260 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18261 implementation.
18262 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18263 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18264 * debug/memset_chk.c (__memset_chk): Likewise.
18265 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18266 * debug/strncpy_chk.c: Likewise.
18267
182682013-12-03 Joseph Myers <joseph@codesourcery.com>
18269
18270 [BZ #15268]
18271 [BZ #15425]
18272 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18273 (__ieee754_exp): For possibly underflowing results, check size of
18274 result and force underflow exception if required.
18275 * math/auto-libm-test-in: Add more tests of exp.
18276 * math/auto-libm-test-out: Regenerated.
18277 * sysdeps/i386/fpu/libm-test-ulps: Update.
18278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18279
18280 [BZ #16283]
18281 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18282 * math/w_exp2f.c (__exp2f): Likewise.
18283 * math/w_exp2l.c (__exp2l): Likewise.
18284 * math/auto-libm-test-in: Do not allow missing errno on exp2
18285 underflow.
18286 * math/auto-libm-test-out: Regenerated.
18287
182882013-12-03 Ondřej Bílka <neleai@seznam.cz>
18289
18290 [BZ #16274]
18291 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18292 handle filename validation.
18293 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18294 (do_open): Delete.
18295
182962013-12-03 Joseph Myers <joseph@codesourcery.com>
18297
18298 [BZ #6786]
18299 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18300 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18301 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18302 <float.h>.
18303 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18304 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18305 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18306 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18307 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18308 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18309 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18310 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18311 Add more erfc tests.
18312 * math/auto-libm-test-out: Regenerated.
18313 * sysdeps/i386/fpu/libm-test-ulps: Update.
18314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18315
18316 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18317 exp2, expm1, j0 and j1.
18318 * math/auto-libm-test-out: Regenerated.
18319 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18320 (erfc_test_data): Likewise.
18321 (exp_test_data): Likewise.
18322 (exp_tonearest_test_data): Likewise.
18323 (exp_towardzero_test_data): Likewise.
18324 (exp_downward_test_data): Likewise.
18325 (exp_upward_test_data): Likewise.
18326 (exp10_test_data): Likewise.
18327 (exp2_test_data): Likewise.
18328 (expm1_test_data): Likewise.
18329 (j0_test_data): Likewise.
18330 (j1_test_data): Likewise.
18331 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18332 (input_flag_type): Add flag_xfail_rounding.
18333 (input_flags): Add xfail-rounding.
18334 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18335 (output_for_one_input_case): Handle flag_xfail_rounding.
18336 * sysdeps/i386/fpu/libm-test-ulps: Update.
18337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18338
183392013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18340
18341 [BZ #16289]
18342 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18343 division by 0.
18344
183452013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18346
18347 [BZ #16195]
18348 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18349 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18350 (STAP_PROBE0): New macro.
18351 (STAP_PROBE1): Likewise.
18352 (STAP_PROBE2): Likewise.
18353 (STAP_PROBE3): Likewise.
18354 (STAP_PROBE4): Likewise.
18355
183562013-12-02 Ondřej Bílka <neleai@seznam.cz>
18357
18358 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18359
183602013-12-02 Steve Ellcey <sellcey@mips.com>
18361
18362 * benchtests/Makefile (bench): Add sqrt.
18363 (LDLIBS-bench-sqrt): New.
18364 * benchtests/sqrt-input: New.
18365
183662013-12-02 Pavel Simerda <psimerda@redhat.com>
18367
18368 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18369 (GAIH_EAI): Likewise.
18370 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18371 (gaih_inet): Likewise.
18372 (getaddrinfo): Don't use GAIH_EAI.
18373
18374 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18375 (struct gaih): Remove definition.
18376
183772013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18378
18379 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18380 Use HERRNOP directly.
18381
183822013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18383
18384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18385
183862013-11-30 Joseph Myers <joseph@codesourcery.com>
18387
18388 * math/gen-auto-libm-tests.c (test_functions): Add more
18389 single-argument functions.
18390 (special_fill_pi_2): New function.
18391 (special_fill_minus_pi_2): Likewise.
18392 (special_fill_pi_6): Likewise.
18393 (special_fill_minus_pi_6): Likewise.
18394 (special_fill_pi_3): Likewise.
18395 (special_fill_2pi_3): Likewise.
18396 (special_fill_e): Likewise.
18397 (special_fill_1_e): Likewise.
18398 (special_fill_e_minus_1): Likewise.
18399 (special_real_inputs): Add more special inputs.
18400 (output_for_one_input_case): Do not require ERANGE on underflow to
18401 zero if round-to-nearest result does not underflow to zero, unless
18402 exact results required.
18403 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18404 atan, atanh, cbrt, cos and cosh.
18405 * math/auto-libm-test-out: Regenerated.
18406 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18407 (acos_tonearest_test_data): Likewise.
18408 (acos_towardzero_test_data): Likewise.
18409 (acos_downward_test_data): Likewise.
18410 (acos_upward_test_data): Likewise.
18411 (acosh_test_data): Likewise.
18412 (asin_test_data): Likewise.
18413 (asin_tonearest_test_data): Likewise.
18414 (asin_towardzero_test_data): Likewise.
18415 (asin_upward_test_data): Likewise.
18416 (asinh_test_data): Likewise.
18417 (atan_test_data): Likewise.
18418 (atanh_test_data): Likewise.
18419 (cbrt_test_data): Likewise.
18420 (cos_test_data): Likewise.
18421 (cos_tonearest_test_data): Likewise.
18422 (cos_towardzero_test_data): Likewise.
18423 (cos_downward_test_data): Likewise.
18424 (cos_upward_test_data): Likewise.
18425 (cosh_test_data): Likewise.
18426 (cosh_tonearest_test_data): Likewise.
18427 (cosh_towardzero_test_data): Likewise.
18428 (cosh_downward_test_data): Likewise.
18429 (cosh_upward_test_data): Likewise.
18430 * sysdeps/i386/fpu/libm-test-ulps: Update.
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18432
184332013-11-29 Joseph Myers <joseph@codesourcery.com>
18434
18435 [BZ #6787]
18436 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18437 * math/w_exp10f.c (__exp10f): Likewise.
18438 * math/w_exp10l.c (__exp10l): Likewise.
18439 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18440 errno settings in existing tests.
18441
18442 [BZ #14032]
18443 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18444 precision control set to double precision.
18445 * sysdeps/i386/fpu/w_sqrt.c: New file.
18446 * math/auto-libm-test-in: Add more tests.
18447 * math/auto-libm-test-out: Update.
18448
18449 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18450 (sqrt_test_tonearest): New function.
18451 (sqrt_towardzero_test_data): New variable.
18452 (sqrt_test_towardzero): New function.
18453 (sqrt_downward_test_data): New variable.
18454 (sqrt_test_downward): New function.
18455 (sqrt_upward_test_data): New variable.
18456 (sqrt_test_upward): New function.
18457 (main): Call the new functions.
18458
18459 * math/gen-auto-libm-tests.c: New file.
18460 * math/auto-libm-test-in: Likewise.
18461 * math/auto-libm-test-out: New generated file.
18462 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18463 variables.
18464 (%beautify): Add generated representations of zero.
18465 (top level): Set $auto_input and call parse_auto_input.
18466 (beautify): Remove trailing "f" from hex float constants.
18467 (parse_args): Handle XFAIL_TEST.
18468 (convert_condition): New function.
18469 (or_value): Likewise.
18470 (or_cond_value): Likewise.
18471 (generate_testfile): Handle AUTO_TESTS_* lines.
18472 (parse_auto_input): New function.
18473 * math/libm-test.inc (XFAIL_TEST): New macro.
18474 (ERRNO_UNCHANGED): Update value.
18475 (ERRNO_EDOM): Likewise.
18476 (ERRNO_ERANGE): Likewise.
18477 (IGNORE_RESULT): Likewise.
18478 (TEST_COND_flt_32): New macro.
18479 (TEST_COND_dbl_64): Likewise.
18480 (TEST_COND_ldbl_96_intel): Likewise.
18481 (TEST_COND_ldbl_96_m68k): Likewise.
18482 (TEST_COND_ldbl_128): Likewise.
18483 (TEST_COND_ldbl_128ibm): Likewise.
18484 (TEST_COND_long32): Likewise.
18485 (TEST_COND_long64): Likewise.
18486 (TEST_COND_before_rounding): Likewise.
18487 (TEST_COND_after_rounding): Likewise.
18488 (enable_test): Handle XFAIL_TEST flag.
18489 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18490 with finite results.
18491 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18492 auto-libm-test-out.
18493
184942013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18495 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18496
18497 [BZ #16214]
18498 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18499 __tls_get_addr_internal instead of __tls_get_offset in order to
18500 avoid GOT pointer dependency. Make rtld export
18501 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18502 __tls_get_addr since we are a __tls_get_offset platform.
18503 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18504 GOT pointer being set up before.
18505 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18506
185072013-11-28 Joseph Myers <joseph@codesourcery.com>
18508
18509 * manual/math.texi (Errors in Math Functions): Document accuracy
18510 goals.
18511
18512 [BZ #15004]
18513 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18514 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18515 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18516 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18517 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18518 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18519 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18520 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18521 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18522 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18523 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18524 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18525 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18526 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18527 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18528 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18529
18530 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18531 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18532 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18533 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18534 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18535 Likewise.
18536 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18537 Likewise.
18538 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18539 Likewise.
18540 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18541 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18542 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18543 atomic-feupdateenv and flt-rounds.
18544 * sysdeps/powerpc/nofpu/Versions (libc): Add
18545 __atomic_feholdexcept, __atomic_feclearexcept,
18546 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18547 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18548 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18549 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18550 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18551 here.
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18553 Update.
18554
18555 * manual/arith.texi (FP Exceptions): Document that exceptions may
18556 not be raised when matherr is used.
18557 (Math Error Reporting): Document overflow in directed rounding
18558 modes. Document that errno may not be set when finite values are
18559 returned on overflow. Document intent to set errno on underflow
18560 only for underflow to zero.
18561
18562 [BZ #16271]
18563 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18564 round-to-nearest then adjust result for other rounding modes.
18565 * include/fenv.h (fegetround): Use libm_hidden_proto.
18566 * math/fegetround.c (fegetround): Use libm_hidden_def.
18567 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18568 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18569 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18570 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18571 Likewise.
18572 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18573 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18574 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18575 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18576
185772013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18578
18579 [BZ #16077]
18580 * nss/Versions (libnss_files): Add
18581 _nss_files_gethostbyname3_r.
18582 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18583 New function.
18584 (HOST_DB_LOOKUP): Remove macro.
18585 (_nss_files_gethostbyname_r): Implement function without the
18586 HOST_DB_LOOKUP macro.
18587 (_nss_files_gethostbyname2_r): Likewise.
18588
185892013-11-28 Ondřej Bílka <neleai@seznam.cz>
18590
18591 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18592
185932013-11-26 Uros Bizjak <ubizjak@gmail.com>
18594
18595 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18596 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18597 warning.
18598
185992013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18600
18601 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18602 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18603 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18604 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18605 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18606 __fe_nomask_env_priv and attribute_hidden.
18607 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18608 (libc_feupdateenv_test_ppc): Likewise.
18609 (libc_feresetround_ppc): Likewise.
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18611 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18612 compat_symbol macro.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18614 (__fe_nomask_env): Likewise.
18615 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18616
186172013-11-26 Ondřej Bílka <neleai@seznam.cz>
18618
18619 * string/Makefile: Remove ifunc tests.
18620 * string/test-string.h: Define TEST_IFUNC.
18621 * string/test-bcopy-ifunc.c: Remove.
18622 * string/test-bzero-ifunc.c: Likewise.
18623 * string/test-memccpy-ifunc.c: Likewise.
18624 * string/test-memchr-ifunc.c: Likewise.
18625 * string/test-memcmp-ifunc.c: Likewise.
18626 * string/test-memcpy-ifunc.c: Likewise.
18627 * string/test-memmem-ifunc.c: Likewise.
18628 * string/test-memmove-ifunc.c: Likewise.
18629 * string/test-mempcpy-ifunc.c: Likewise.
18630 * string/test-memrchr-ifunc.c: Likewise.
18631 * string/test-memset-ifunc.c: Likewise.
18632 * string/test-rawmemchr-ifunc.c: Likewise.
18633 * string/test-stpcpy-ifunc.c: Likewise.
18634 * string/test-stpncpy-ifunc.c: Likewise.
18635 * string/test-strcasecmp-ifunc.c: Likewise.
18636 * string/test-strcasestr-ifunc.c: Likewise.
18637 * string/test-strcat-ifunc.c: Likewise.
18638 * string/test-strchr-ifunc.c: Likewise.
18639 * string/test-strchrnul-ifunc.c: Likewise.
18640 * string/test-strcmp-ifunc.c: Likewise.
18641 * string/test-strcpy-ifunc.c: Likewise.
18642 * string/test-strcspn-ifunc.c: Likewise.
18643 * string/test-strlen-ifunc.c: Likewise.
18644 * string/test-strncasecmp-ifunc.c: Likewise.
18645 * string/test-strncat-ifunc.c: Likewise.
18646 * string/test-strncmp-ifunc.c: Likewise.
18647 * string/test-strncpy-ifunc.c: Likewise.
18648 * string/test-strnlen-ifunc.c: Likewise.
18649 * string/test-strpbrk-ifunc.c: Likewise.
18650 * string/test-strrchr-ifunc.c: Likewise.
18651 * string/test-strspn-ifunc.c: Likewise.
18652 * string/test-strstr-ifunc.c: Likewise.
18653
186542013-11-26 Ondřej Bílka <neleai@seznam.cz>
18655
18656 * benchtests/Makefile: Remove ifunc tests.
18657 * benchtests/bench-string.h: Define TEST_IFUNC.
18658 * benchtests/bench-bcopy-ifunc.c: Remove.
18659 * benchtests/bench-bzero-ifunc.c: Likewise.
18660 * benchtests/bench-memccpy-ifunc.c: Likewise.
18661 * benchtests/bench-memchr-ifunc.c: Likewise.
18662 * benchtests/bench-memcmp-ifunc.c: Likewise.
18663 * benchtests/bench-memcpy-ifunc.c: Likewise.
18664 * benchtests/bench-memmem-ifunc.c: Likewise.
18665 * benchtests/bench-memmove-ifunc.c: Likewise.
18666 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18667 * benchtests/bench-memrchr-ifunc.c: Likewise.
18668 * benchtests/bench-memset-ifunc.c: Likewise.
18669 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18670 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18671 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18672 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18673 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18674 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18675 * benchtests/bench-strcat-ifunc.c: Likewise.
18676 * benchtests/bench-strchr-ifunc.c: Likewise.
18677 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18678 * benchtests/bench-strcmp-ifunc.c: Likewise.
18679 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18680 * benchtests/bench-strcpy-ifunc.c: Likewise.
18681 * benchtests/bench-strcspn-ifunc.c: Likewise.
18682 * benchtests/bench-strlen-ifunc.c: Likewise.
18683 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18684 * benchtests/bench-strncat-ifunc.c: Likewise.
18685 * benchtests/bench-strncmp-ifunc.c: Likewise.
18686 * benchtests/bench-strncpy-ifunc.c: Likewise.
18687 * benchtests/bench-strnlen-ifunc.c: Likewise.
18688 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18689 * benchtests/bench-strrchr-ifunc.c: Likewise.
18690 * benchtests/bench-strsep-ifunc.c: Likewise.
18691 * benchtests/bench-strspn-ifunc.c: Likewise.
18692 * benchtests/bench-strstr-ifunc.c: Likewise.
18693
186942013-11-26 Ondřej Bílka <neleai@seznam.cz>
18695
18696 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18697
186982013-11-26 Ondřej Bílka <neleai@seznam.cz>
18699
18700 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18701 * rt/aio.h: Likewise.
18702 * sysdeps/gnu/bits/utmp.h: Likewise.
18703 * sysdeps/gnu/bits/utmpx.h: Likewise.
18704 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18705 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18706 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18707 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18708 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18709 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18710 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18711 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18712 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18713 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18714 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18715 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18716 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18718 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18719 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18720 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18721 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18722 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18723 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18724 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18725 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18726 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18727 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18728 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18730 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18731 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18732 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18733 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18735 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18736 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18737 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18738 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18739 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18740 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18741 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18742 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18743 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18744 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18745 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18746
187472013-11-25 Carlos O'Donell <carlos@redhat.com>
18748
18749 [BZ #16245]
18750 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18751 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18752
187532013-11-25 Joseph Myers <joseph@codesourcery.com>
18754
18755 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18756 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18757 Likewise.
18758
187592013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18760
18761 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18762 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18763 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18764 (__fesetround): Remove define.
18765 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18766 rounding and exceptions handling.
18767 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18768 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18769 (__fe_nomask_env): Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18771 __fegetround instead of fegetround.
18772 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18774
187752013-11-21 Roland McGrath <roland@hack.frob.com>
18776
18777 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18778 it's there.
18779
18780 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18781
187822013-11-21 Meador Inge <meadori@codesourcery.com>
18783
18784 [BZ #11157]
18785 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18786 (encrypt_r): Likewise.
18787 * malloc/obstack.h (obstack_free): Likewise.
18788 * posix/unistd.h (encrypt): Likewise.
18789
187902013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18791
18792 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18793 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18794 DL_CALL_DT_FINI() that call the functions directly.
18795 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18796 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18797 * elf/dl-fini.c: Likewise.
18798
187992013-11-20 Ondřej Bílka <neleai@seznam.cz>
18800
18801 * malloc/hooks.c (memalign_check): Add alignment rounding.
18802 * malloc/malloc.c (_mid_memalign): New function.
18803 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18804 Implement by calling _mid_memalign.
18805 * manual/probes.texi (Memory Allocation Probes): Remove
18806 memory_valloc_retry and memory_pvalloc_retry.
18807
188082013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18809
18810 * locale/programs/locarchive.c (open_archive): Add const
18811 qualifier to ARCHIVEFNAME and copy default fname to
18812 DEFAULT_FNAME.
18813
18814 [BZ #15601]
18815 * libio/tst-widetext.input: Rename Oriya to Odia.
18816 * locale/iso-639.def: Likewise.
18817
18818 * manual/probes.texi (Mathematical Function Probes): Add
18819 documentation for sin, cos, asin and acos probes.
18820 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18821 (__sin32): Add slowasin probe.
18822 (__cos32): Add slowacos probe.
18823 (__mpsin): Add slowsin probe.
18824 (__mpcos): Add slowcos probe.
18825
188262013-11-19 Joseph Myers <joseph@codesourcery.com>
18827
18828 [BZ #15483]
18829 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18830 thread-local __sim_exceptions_thread and global
18831 __sim_exceptions_global.
18832 (__sim_disabled_exceptions): Change to thread-local
18833 __sim_disabled_exceptions_thread and global
18834 __sim_disabled_exceptions_global.
18835 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18836 and global __sim_round_mode_global.
18837 (__simulate_exceptions): Use thread-local floating-point state and
18838 set global state from it as needed.
18839 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18840 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18841 __sim_round_mode_thread.
18842 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18843 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18844 and global __sim_exceptions_global.
18845 (__sim_disabled_exceptions): Change to thread-local
18846 __sim_disabled_exceptions_thread and global
18847 __sim_disabled_exceptions_global.
18848 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18849 and global __sim_round_mode_global.
18850 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18851 (SIM_SET_GLOBAL): Likewise.
18852 * sysdeps/powerpc/soft-fp/sfp-machine.h
18853 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18854 __sim_round_mode_thread.
18855 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18856 __sim_disabled_exceptions_thread.
18857 (__sim_exceptions): Change to __sim_exceptions_thread.
18858 (__sim_disabled_exceptions): Change to
18859 __sim_disabled_exceptions_thread.
18860 (__sim_round_mode): Change to __sim_round_mode_thread.
18861 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18862 thread-local floating-point state and set global state from it as
18863 needed.
18864 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18865 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18866 (__sim_disabled_exceptions): Remove extern declaration.
18867 (feenableexcept): Use thread-local floating-point state and set
18868 global state from it as needed.
18869 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18870 extern declaration.
18871 (__sim_disabled_exceptions): Likewise.
18872 (__sim_round_mode): Likewise.
18873 (__fegetenv): Use thread-local floating-point state.
18874 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18875 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18876 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18877 floating-point state and set global state from it as needed.
18878 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18879 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18880 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18881 Likewise.
18882 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18883 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18884 Likewise.
18885 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18886 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18887 Use __sim_round_mode_thread.
18888 * math/test-fenv-tls.c: New file.
18889 * math/Makefile (tests): Add test-fenv-tls.
18890 ($(objpfx)test-fenv-tls): Depend on
18891 $(common-objpfx)nptl/libpthread.so.
18892
188932013-11-19 Andreas Schwab <schwab@suse.de>
18894
18895 * locale/programs/locale.c (show_info): Decode wordarray elements.
18896 * locale/categories.def (LC_MONETARY): Add element for
18897 _NL_MONETARY_CRNCYSTR.
18898 * locale/C-monetary.c (conversion_rate): New variable.
18899 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18900 element.
18901
189022013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18903
18904 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18905 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18906
189072013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18908
18909 * elf/Makefile (tst-auxv): New test.
18910 * elf/tst-auxv.c: New
18911 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18912
189132013-11-18 Joseph Myers <joseph@codesourcery.com>
18914
18915 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18916 (hidden_proto): Caller changed.
18917 (hidden_tls_proto): New macro.
18918 (libc_hidden_tls_proto): Likewise.
18919 (rtld_hidden_tls_proto): Likewise.
18920 (libm_hidden_tls_proto): Likewise.
18921 (libresolv_hidden_tls_proto): Likewise.
18922 (librt_hidden_tls_proto): Likewise.
18923 (libdl_hidden_tls_proto): Likewise.
18924 (libnss_files_hidden_tls_proto): Likewise.
18925 (libnsl_hidden_tls_proto): Likewise.
18926 (libnss_nisplus_hidden_tls_proto): Likewise.
18927 (libutil_hidden_tls_proto): Likewise.
18928
189292013-11-18 Ondřej Bílka <neleai@seznam.cz>
18930
18931 [BZ #10253]
18932 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18933 (decompose_rpath): Defer expansion to fillin_rpath.
18934 (_dl_init_paths): Pass linkmap to fillin_rpath.
18935
189362013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18937
18938 * benchtests/Makefile: Add strsep.
18939 * benchtests/bench-strsep.c: New file: strsep benchtest.
18940 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18941
189422013-11-18 Andreas Schwab <schwab@suse.de>
18943
18944 * locale/programs/locale.c (show_info) [case byte]: Check for
18945 '\377' instead of '\177'.
18946 * locale/C-monetary.c (not_available): Always use "\377".
18947 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18948 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18949 detect unavailable sign_posn locale elements.
18950 * locale/localeconv.c (__localeconv): For grouping and
18951 mon_grouping handle "\177" and "\377" like no grouping.
18952 (INT_ELEM): New macro. Use it to set all numeric members.
18953 * locale/programs/ld-monetary.c (monetary_read)
18954 <tok_mon_grouping>: Normalize single -1 to the empty string.
18955 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18956 Likewise.
18957
189582013-11-07 Ondřej Bílka <neleai@seznam.cz>
18959
18960 [BZ #16055]
18961 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18962 when we match (nil).
18963 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18964
189652013-11-16 Joseph Myers <joseph@codesourcery.com>
18966
18967 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18968 (NO_TEST_INLINE): Update value.
18969 (ERRNO_UNCHANGED): Likewise.
18970 (ERRNO_EDOM): Likewise.
18971 (ERRNO_ERANGE): Likewise.
18972 (IGNORE_RESULT): Likewise.
18973 (check_float_internal): Check signs of NaN results if
18974 TEST_NAN_SIGN used.
18975 (check_complex): Pass TEST_NAN_SIGN flag through to second
18976 check_float_internal call.
18977 (copysign_test_data): Add tests with quiet NaNs as second
18978 argument. Use TEST_NAN_SIGN.
18979 (fabs_test_data): Add test of negative quiet NaN argument. Use
18980 TEST_NAN_SIGN.
18981 (signbit_test_data): Add tests of quiet NaN argument.
18982 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18983
18984 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18985 $ignore_result.
18986 (parse_args): Handle function results specified as IGNORE.
18987 * math/libm-test.inc (IGNORE_RESULT): New macro.
18988 (check_float_internal): Do not check numerical result if flag
18989 IGNORE_RESULT set.
18990 (check_complex): Pass through IGNORE_RESULT to second
18991 check_float_internal call.
18992 (check_int): Do not check numerical result if flag IGNORE_RESULT
18993 set.
18994 (check_long): Likewise.
18995 (check_bool): Likewise.
18996 (check_longlong): Likewise.
18997 (lrint_test_data): Add tests of infinite and NaN arguments.
18998 (lrint_tonearest_test_data): Likewise.
18999 (lrint_towardzero_test_data): Likewise.
19000 (lrint_downward_test_data): Likewise.
19001 (lrint_upward_test_data): Likewise.
19002 (llrint_test_data): Likewise.
19003 (llrint_tonearest_test_data): Likewise.
19004 (llrint_towardzero_test_data): Likewise.
19005 (llrint_downward_test_data): Likewise.
19006 (llrint_upward_test_data): Likewise.
19007 (lround_test_data): Likewise.
19008 (llround_test_data): Likewise.
19009
19010 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19011 (ERRNO_UNCHANGED): Update value.
19012 (ERRNO_EDOM): Likewise.
19013 (ERRNO_ERANGE): Likewise.
19014 (NO_TEST_INLINE_FLOAT): New macro.
19015 (NO_TEST_INLINE_DOUBLE): Likewise.
19016 (enable_test): New function.
19017 (RUN_TEST_f_f): Check enable_test before running test.
19018 (RUN_TEST_2_f): Likewise.
19019 (RUN_TEST_fff_f): Likewise.
19020 (RUN_TEST_c_f): Likewise.
19021 (RUN_TEST_f_f1): Likewise.
19022 (RUN_TEST_fF_f1): Likewise.
19023 (RUN_TEST_fI_f1): Likewise.
19024 (RUN_TEST_ffI_f1): Likewise.
19025 (RUN_TEST_c_c): Likewise.
19026 (RUN_TEST_cc_c): Likewise.
19027 (RUN_TEST_f_i): Likewise.
19028 (RUN_TEST_f_i_tg): Likewise.
19029 (RUN_TEST_ff_i_tg): Likewise.
19030 (RUN_TEST_f_b): Likewise.
19031 (RUN_TEST_f_b_tg): Likewise.
19032 (RUN_TEST_f_l): Likewise.
19033 (RUN_TEST_f_L): Likewise.
19034 (RUN_TEST_fFF_11): Likewise.
19035 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19036 conditionals.
19037 (cosh_test_data): Likewise.
19038 (exp_test_data): Likewise.
19039 (expm1_test_data): Likewise.
19040 (hypot_test_data): Likewise.
19041 (pow_test_data): Likewise.
19042 (sinh_test_data): Likewise.
19043 (tanh_test_data): Likewise.
19044 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19045 flags argument.
19046
19047 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19048 tests with quiet NaN input and output.
19049 (acosh_test_data): Likewise.
19050 (asin_test_data): Likewise.
19051 (asinh_test_data): Likewise.
19052 (atan_test_data): Likewise.
19053 (atanh_test_data): Likewise.
19054 (atan2_test_data): Likewise.
19055 (cbrt_test_data): Likewise.
19056 (cos_test_data): Likewise.
19057 (cosh_test_data): Likewise.
19058 (erf_test_data): Likewise.
19059 (erfc_test_data): Likewise.
19060 (exp_test_data): Likewise.
19061 (exp10_test_data): Likewise.
19062 (exp2_test_data): Likewise.
19063 (expm1_test_data): Likewise.
19064 (hypot_test_data): Likewise.
19065 (j0_test_data): Likewise.
19066 (j1_test_data): Likewise.
19067 (jn_test_data): Likewise.
19068 (lgamma_test_data): Likewise.
19069 (log_test_data): Likewise.
19070 (log10_test_data): Likewise.
19071 (log1p_test_data): Likewise.
19072 (log2_test_data): Likewise.
19073 (pow_test_data): Likewise.
19074 (scalb_test_data): Likewise.
19075 (sin_test_data): Likewise.
19076 (sincos_test_data): Likewise.
19077 (sinh_test_data): Likewise.
19078 (tan_test_data): Likewise.
19079 (tanh_test_data): Likewise.
19080 (tgamma_test_data): Likewise.
19081 (y0_test_data): Likewise.
19082 (y1_test_data): Likewise.
19083 (yn_test_data): Likewise.
19084
19085 [BZ #16167]
19086 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19087 argument being NaN and avoid computations with second argument in
19088 that case.
19089 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19090 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19091 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19092
190932013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19094
19095 * locale/iso-639.def: Add Chitwani Tharu (the).
19096
190972013-11-14 Andreas Schwab <schwab@suse.de>
19098
19099 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19100 word instead of empty string.
19101
191022013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19103
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19105 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19107 (__fe_nomask_env): Likewise.
19108
191092013-11-13 Steve Ellcey <sellcey@mips.com>
19110
19111 * benchtests/bench-timing.h: Include time.h.
19112
191132013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19114
19115 [BZ #15997]
19116 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19117 to 3.4.0 for x32.
19118 * sysdeps/unix/sysv/linux/configure: Regenerated.
19119
191202013-11-13 Joseph Myers <joseph@codesourcery.com>
19121
19122 [BZ #16151]
19123 * stdlib/strtod_l.c (round_and_return): Do not consider
19124 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19125 exponent one less than half the least subnormal exponent.
19126 * stdlib/test-strtod-round-data: Add more tests.
19127 * stdlib/tst-strtod-round.c (tests): Regenerated.
19128
191292013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19130
19131 [BZ #14143]
19132 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19133 (__fe_mask_env): Likewise.
19134 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19135 libm_hidden_proto and add function prototype.
19136 (__fe_mask_env): Add function prototype.
19137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19138 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19140 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19142 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19143
191442013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19145
19146 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19147 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19148
191492013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19150
19151 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19152 of htab_find_slot().
19153
191542013-11-11 David S. Miller <davem@davemloft.net>
19155
19156 [BZ #16150]
19157 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19158 symbol in the non-vis3 case in static builds.
19159 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19160 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19161 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19162 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19163
191642013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19165
19166 [BZ #387]
19167 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19168 it is empty.
19169
191702013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19171
19172 * benchtests/Makefile: Add bench-strtod.
19173 * benchtests/bench-strtod.c: New file: strtod benchtest
19174
191752013-11-11 Andreas Schwab <schwab@suse.de>
19176
19177 [BZ #16153]
19178 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19179 terminating NUL in key length.
19180
191812013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19182
19183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19184 Add artificial ODP entry for vDSO symbol for PPC64.
19185 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19186 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19187
191882013-11-07 Ondřej Bílka <neleai@seznam.cz>
19189
19190 [BZ #15374]
19191 * nss/getent.c (services_keys): Recognize services starting with digit.
19192
191932013-11-06 David S. Miller <davem@davemloft.net>
19194
19195 [BZ #15985]
19196 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19197 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19198
191992013-11-06 Will Newton <will.newton@linaro.org>
19200
19201 * manual/memory.texi (Malloc Examples): Remove register
19202 keyword from examples.
19203
192042013-11-04 Chris Leonard <cjl@sugarlabs.org>
19205
19206 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19207
192082013-11-04 Joseph Myers <joseph@codesourcery.com>
19209
19210 [BZ #6981]
19211 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19212 depending on [__GCC_IEC_559 > 0].
19213 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19214 depending on [__GCC_IEC_559_COMPLEX > 0].
19215
192162013-11-03 Chris Leonard <cjl@sugarlabs.org>
19217
19218 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19219 to iso-639.def.
19220
192212013-11-03 Ondřej Bílka <neleai@seznam.cz>
19222
19223 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19224
192252013-11-01 Ondřej Bílka <neleai@seznam.cz>
19226
19227 [BZ #16112]
19228 * malloc/malloc (malloc_info): Do not handle first bin as
19229 special case.
19230
192312013-11-01 Chris Leonard <cjl@sugarlabs.org>
19232
19233 * locale/iso-639.def: Add Central Nahuatl (nhn).
19234
192352013-11-01 Bruno Haible <bruno@clisp.org>
19236
19237 [BZ #7003]
19238 * manual/math.texi (BSD Random): Specify range upper bound as
19239 in POSIX.
19240
192412013-10-31 Chris Leonard <cjl@sugarlabs.org>
19242
19243 * locale/iso-639.def: Add Meadow Mari (mhr).
19244
192452013-10-31 Ondřej Bílka <neleai@seznam.cz>
19246
19247 [BZ #14752], [BZ #15763]
19248 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19249 Validate name.
19250 * rt/tst_shm.c: Add test for escaping directory.
19251
192522013-10-31 Andreas Schwab <schwab@suse.de>
19253
19254 [BZ #15917]
19255 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19256 followed by 'x' as part of digit sequence.
19257 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19258
192592013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19260
19261 [BZ #16037]
19262 * configure.ac: allow GNU Make 4.0 and greater.
19263 * configure: Regenerated.
19264
192652013-10-30 Will Newton <will.newton@linaro.org>
19266
19267 [BZ #16038]
19268 * malloc/hooks.c (memalign_check): Limit alignment to the
19269 maximum representable power of two.
19270 * malloc/malloc.c (__libc_memalign): Likewise.
19271 * malloc/tst-memalign.c (do_test): Add test for very
19272 large alignment values.
19273 * malloc/tst-posix_memalign.c (do_test): Likewise.
19274
192752013-10-30 Ondřej Bílka <neleai@seznam.cz>
19276
19277 [BZ #11087]
19278 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19279 (munmap_chunk): Likewise.
19280 (mremap_chunk): Likewise.
19281
192822013-10-30 Ondřej Bílka <neleai@seznam.cz>
19283
19284 [BZ #15799]
19285 * stdlib/div.c (div): Remove obsolete code.
19286 * stdlib/ldiv.c (ldiv): Likewise.
19287 * stdlib/lldiv.c (lldiv): Likewise.
19288
192892013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19290
19291 [BZ #16071]
19292 * nss/nss_files/files-XXX.c (get_contents_ret): New
19293 enumerator.
19294 (get_contents): New function.
19295 (internal_getent): Use it. Expand size of LINEBUFLEN.
19296
192972013-10-30 Mike Frysinger <vapier@gentoo.org>
19298
19299 * configure.in: Moved to ...
19300 * configure.ac: ... here. Change reference to configure.in
19301 to configure.ac.
19302 * sysdeps/arm/preconfigure.ac: ... here.
19303 configure.in to configure.ac.
19304 * sysdeps/gnu/configure.in: Moved to ...
19305 * sysdeps/gnu/configure.ac: ... here.
19306 * sysdeps/i386/configure.in: Moved to ...
19307 * sysdeps/i386/configure.ac: ... here.
19308 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19309 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19310 * sysdeps/mach/configure.in: Moved to ...
19311 * sysdeps/mach/configure.ac: ... here.
19312 * sysdeps/mach/hurd/configure.in: Moved to ...
19313 * sysdeps/mach/hurd/configure.ac: ... here.
19314 * sysdeps/powerpc/configure.in: Moved to ...
19315 * sysdeps/powerpc/configure.ac: ... here.
19316 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19317 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19318 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19319 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19320 * sysdeps/s390/s390-32/configure.in: Moved to ...
19321 * sysdeps/s390/s390-32/configure.ac: ... here.
19322 * sysdeps/s390/s390-64/configure.in: Moved to ...
19323 * sysdeps/s390/s390-64/configure.ac: ... here.
19324 * sysdeps/sh/configure.in: Moved to ...
19325 * sysdeps/sh/configure.ac: ... here.
19326 * sysdeps/sparc/configure.in: Moved to ...
19327 * sysdeps/sparc/configure.ac: ... here.
19328 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19329 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19330 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19331 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19332 * sysdeps/x86_64/configure.in: Moved to ...
19333 * sysdeps/x86_64/configure.ac: ... here.
19334 * sysdeps/x86_64/preconfigure.in: Moved to ...
19335 * sysdeps/x86_64/preconfigure.ac: ... here.
19336 * aclocal.m4: Change reference to configure.in to configure.ac.
19337 * config.h.in: Likewise.
19338 * manual/install.texi: Likewise.
19339 * manual/maint.texi: Likewise.
19340 * Makefile: Likewise.
19341 * malloc/Makefile: Likewise.
19342 * nscd/Makefile: Likewise.
19343 * Makeconfig: Change reference to configure.in and
19344 preconfigure.in to configure.ac and preconfigure.ac
19345 respectively.
19346 * INSTALL: Regenerated.
19347 * configure: Likewise.
19348 * sysdeps/gnu/configure: Likewise.
19349 * sysdeps/i386/configure: Likewise.
19350 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19351 * sysdeps/mach/configure: Likewise.
19352 * sysdeps/mach/hurd/configure: Likewise.
19353 * sysdeps/powerpc/configure: Likewise.
19354 * sysdeps/powerpc/powerpc32/configure: Likewise.
19355 * sysdeps/powerpc/powerpc64/configure: Likewise.
19356 * sysdeps/s390/s390-32/configure: Likewise.
19357 * sysdeps/s390/s390-64/configure: Likewise.
19358 * sysdeps/sh/configure: Likewise.
19359 * sysdeps/sparc/configure: Likewise.
19360 * sysdeps/unix/sysv/linux/configure: Likewise.
19361 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19362 * sysdeps/x86_64/configure: Likewise.
19363 * sysdeps/x86_64/preconfigure: Likewise.
19364
193652013-10-29 Andreas Schwab <schwab@suse.de>
19366
19367 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19368
193692013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19370
19371 * benchtests/pow-inputs: Add new inputs.
19372
19373 * benchtests/exp-inputs: Add new inputs.
19374
19375 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19376 conditional check for return value.
19377 (__cos32): Likewise.
19378
193792013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19380
19381 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19382 to provide a boost for large inputs with word alignment.
19383 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19384 implementation based on optimized PPC64 strcpy.
19385 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19386 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19387 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19388 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19389
193902013-10-25 Ondřej Bílka <neleai@seznam.cz>
19391
19392 [BZ #2801]
19393 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19394
193952013-10-25 Ondřej Bílka <neleai@seznam.cz>
19396
19397 [BZ #14876]
19398 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19399 * time/tst-strptime.c (day_tests): Add testcase.
19400
194012013-10-25 Ondřej Bílka <neleai@seznam.cz>
19402
19403 [BZ #14029]
19404 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19405
194062013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19407
19408 [BZ #16074]
19409 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19410 MAP_FAILED on error.
19411
194122013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19413
19414 [BZ #16072]
19415 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19416 heap for large requests.
19417
194182013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19419
19420 [BZ #9954]
19421 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19422 result if the result has no associated interface.
19423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19424 interface for all 127.X.Y.Z addresses.
19425
194262013-10-24 Chris Leonard <cjl@sugarlabs.org>
19427
19428 * locale/iso-639.def: Add Ligurian (lij)
19429
194302013-10-21 Ondřej Bílka <neleai@seznam.cz>
19431
19432 [BZ #15825]
19433 * sunrpc/rpc_main.c: Document rpcgen -5.
19434
194352013-10-19 Michael Stahl <mstahl@redhat.com>
19436
19437 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19438
194392013-10-19 Ondřej Bílka <neleai@seznam.cz>
19440
19441 [BZ #10278]
19442 * posix/glob.c: Match only directories when trailing slash is present.
19443 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19444 (main): Add testcase.
19445
194462013-10-19 Ondřej Bílka <neleai@seznam.cz>
19447
19448 [BZ #15670]
19449 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19450
194512013-10-18 Carlos O'Donell <carlos@redhat.com>
19452
19453 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19454 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19455 AUTH_DES and cindex for FIPS 140-2.
19456 (DES Encryption): Add cindex FIPS 46-3.
19457
19458 * locale/locarchive.h (struct locarhandle): Add fname.
19459 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19460 if an optional argument was specified to --list-archive,
19461 otherwise NULL.
19462 * locale/programs/locarchive.c (show_archive_content): Take new
19463 argument fname and pass it via ah.fname to open_archive.
19464 * locale/programs/localedef.h: Update decl.
19465 (open_archive): If AH->fname is non-null, open that file
19466 rather than the default file name, and don't ignore ENOENT.
19467 (create_archive): Set AH.fname to NULL.
19468 (delete_locales_from_archive): Likewise.
19469 (add_locales_to_archive): Likewise.
19470 * locale/programs/locfile.c (write_all_categories): Likewise.
19471
194722013-10-18 Joseph Myers <joseph@codesourcery.com>
19473 Aldy Hernandez <aldyh@redhat.com>
19474
19475 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19476 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19477 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19478 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19479 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19480 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19481 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19482 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19483 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19484 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19485 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19486 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19487 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19488 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19489 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19490 Likewise.
19491 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19492 Likewise.
19493 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19494 Likewise.
19495 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19496 Likewise.
19497 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19498 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19499 Likewise.
19500 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19501 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19502 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19503 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19504 Likewise.
19505 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19506 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19507 * sysdeps/powerpc/preconfigure: Likewise.
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19509 Likewise.
19510 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19511 Replace contents of file by #include of <fenv_libc.h>.
19512 * sysdeps/powerpc/soft-fp/sfp-machine.h
19513 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19514 and <sys/prctl.h>.
19515 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19519 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19520 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19523 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19526 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19528 Allow copysignl PLT reference to be missing.
19529
195302013-10-18 Richard Sandiford <richard@codesourcery.com>
19531 Joseph Myers <joseph@codesourcery.com
19532
19533 [BZ #15948]
19534 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19535 single character.
19536 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19537
195382013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19539
19540 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19541 * elf/tst-tls1.c: Likewise.
19542 * elf/tst-tls10.h: Likewise.
19543 * elf/tst-tls14.c: Likewise.
19544 * elf/tst-tls2.c: Likewise.
19545 * elf/tst-tls3.c: Likewise.
19546 * elf/tst-tls4.c: Likewise.
19547 * elf/tst-tls5.c: Likewise.
19548 * elf/tst-tls6.c: Likewise.
19549 * elf/tst-tls7.c: Likewise.
19550 * elf/tst-tls8.c: Likewise.
19551 * elf/tst-tls9.c: Likewise.
19552 * elf/tst-tlsmod1.c: Likewise.
19553 * elf/tst-tlsmod13.c: Likewise.
19554 * elf/tst-tlsmod13a.c: Likewise.
19555 * elf/tst-tlsmod14a.c: Likewise.
19556 * elf/tst-tlsmod16a.c: Likewise.
19557 * elf/tst-tlsmod16b.c: Likewise.
19558 * elf/tst-tlsmod2.c: Likewise.
19559 * elf/tst-tlsmod3.c: Likewise.
19560 * elf/tst-tlsmod4.c: Likewise.
19561 * elf/tst-tlsmod5.c: Likewise.
19562 * elf/tst-tlsmod6.c: Likewise.
19563
195642013-10-18 Ondřej Bílka <neleai@seznam.cz>
19565
19566 [BZ #12486]
19567 * malloc/malloc.c: remove checks for statistics.
19568
195692013-10-17 Ondřej Bílka <neleai@seznam.cz>
19570
19571 [BZ #15277]
19572 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19573 * inet/tst-network.c: Add testcase.
19574
195752013-10-17 Andreas Schwab <schwab@suse.de>
19576
19577 [BZ #15218]
19578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19579 to determine canonical name.
19580
195812013-10-17 Ondřej Bílka <neleai@seznam.cz>
19582
19583 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19584 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19600 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19601 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19602 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19603 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19607 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19613 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19634 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19635 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19637 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19639 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19641
196422013-10-17 Joseph Myers <joseph@codesourcery.com>
19643
19644 [BZ #16041]
19645 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19646 make result into a quiet NaN.
19647
196482013-10-16 Joseph Myers <joseph@codesourcery.com>
19649
19650 * soft-fp/adddf3.c: Fix horizontal whitespace.
19651 * soft-fp/addsf3.c: Likewise.
19652 * soft-fp/addtf3.c: Likewise.
19653 * soft-fp/divdf3.c: Likewise.
19654 * soft-fp/divsf3.c: Likewise.
19655 * soft-fp/divtf3.c: Likewise.
19656 * soft-fp/double.h: Likewise.
19657 * soft-fp/eqdf2.c: Likewise.
19658 * soft-fp/eqsf2.c: Likewise.
19659 * soft-fp/eqtf2.c: Likewise.
19660 * soft-fp/extenddftf2.c: Likewise.
19661 * soft-fp/extended.h: Likewise.
19662 * soft-fp/extendsfdf2.c: Likewise.
19663 * soft-fp/extendsftf2.c: Likewise.
19664 * soft-fp/extendxftf2.c: Likewise.
19665 * soft-fp/fixdfdi.c: Likewise.
19666 * soft-fp/fixdfsi.c: Likewise.
19667 * soft-fp/fixdfti.c: Likewise.
19668 * soft-fp/fixsfdi.c: Likewise.
19669 * soft-fp/fixsfsi.c: Likewise.
19670 * soft-fp/fixsfti.c: Likewise.
19671 * soft-fp/fixtfdi.c: Likewise.
19672 * soft-fp/fixtfsi.c: Likewise.
19673 * soft-fp/fixtfti.c: Likewise.
19674 * soft-fp/fixunsdfdi.c: Likewise.
19675 * soft-fp/fixunsdfsi.c: Likewise.
19676 * soft-fp/fixunsdfti.c: Likewise.
19677 * soft-fp/fixunssfdi.c: Likewise.
19678 * soft-fp/fixunssfsi.c: Likewise.
19679 * soft-fp/fixunssfti.c: Likewise.
19680 * soft-fp/fixunstfdi.c: Likewise.
19681 * soft-fp/fixunstfsi.c: Likewise.
19682 * soft-fp/fixunstfti.c: Likewise.
19683 * soft-fp/floatdidf.c: Likewise.
19684 * soft-fp/floatdisf.c: Likewise.
19685 * soft-fp/floatditf.c: Likewise.
19686 * soft-fp/floatsidf.c: Likewise.
19687 * soft-fp/floatsisf.c: Likewise.
19688 * soft-fp/floatsitf.c: Likewise.
19689 * soft-fp/floattidf.c: Likewise.
19690 * soft-fp/floattisf.c: Likewise.
19691 * soft-fp/floattitf.c: Likewise.
19692 * soft-fp/floatundidf.c: Likewise.
19693 * soft-fp/floatundisf.c: Likewise.
19694 * soft-fp/floatunditf.c: Likewise.
19695 * soft-fp/floatunsidf.c: Likewise.
19696 * soft-fp/floatunsisf.c: Likewise.
19697 * soft-fp/floatunsitf.c: Likewise.
19698 * soft-fp/floatuntidf.c: Likewise.
19699 * soft-fp/floatuntisf.c: Likewise.
19700 * soft-fp/floatuntitf.c: Likewise.
19701 * soft-fp/fmadf4.c: Likewise.
19702 * soft-fp/fmasf4.c: Likewise.
19703 * soft-fp/fmatf4.c: Likewise.
19704 * soft-fp/gedf2.c: Likewise.
19705 * soft-fp/gesf2.c: Likewise.
19706 * soft-fp/getf2.c: Likewise.
19707 * soft-fp/ledf2.c: Likewise.
19708 * soft-fp/lesf2.c: Likewise.
19709 * soft-fp/letf2.c: Likewise.
19710 * soft-fp/muldf3.c: Likewise.
19711 * soft-fp/mulsf3.c: Likewise.
19712 * soft-fp/multf3.c: Likewise.
19713 * soft-fp/negdf2.c: Likewise.
19714 * soft-fp/negsf2.c: Likewise.
19715 * soft-fp/negtf2.c: Likewise.
19716 * soft-fp/op-1.h: Likewise.
19717 * soft-fp/op-2.h: Likewise.
19718 * soft-fp/op-4.h: Likewise.
19719 * soft-fp/op-8.h: Likewise.
19720 * soft-fp/op-common.h: Likewise.
19721 * soft-fp/quad.h: Likewise.
19722 * soft-fp/single.h: Likewise.
19723 * soft-fp/soft-fp.h: Likewise.
19724 * soft-fp/sqrtdf2.c: Likewise.
19725 * soft-fp/sqrtsf2.c: Likewise.
19726 * soft-fp/sqrttf2.c: Likewise.
19727 * soft-fp/subdf3.c: Likewise.
19728 * soft-fp/subsf3.c: Likewise.
19729 * soft-fp/subtf3.c: Likewise.
19730 * soft-fp/truncdfsf2.c: Likewise.
19731 * soft-fp/trunctfdf2.c: Likewise.
19732 * soft-fp/trunctfsf2.c: Likewise.
19733 * soft-fp/trunctfxf2.c: Likewise.
19734 * soft-fp/unorddf2.c: Likewise.
19735 * soft-fp/unordsf2.c: Likewise.
19736 * soft-fp/unordtf2.c: Likewise.
19737
197382013-10-15 Joseph Myers <joseph@codesourcery.com>
19739
19740 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19741 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19742
197432013-10-15 Ondřej Bílka <neleai@seznam.cz>
19744
19745 * elf/dl-libc.c: Clear initfini list after freeing.
19746
197472013-10-14 Joseph Myers <joseph@codesourcery.com>
19748
19749 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19750 * soft-fp/addsf3.c: Likewise.
19751 * soft-fp/addtf3.c: Likewise.
19752 * soft-fp/divdf3.c: Likewise.
19753 * soft-fp/divsf3.c: Likewise.
19754 * soft-fp/divtf3.c: Likewise.
19755 * soft-fp/double.h: Likewise.
19756 * soft-fp/eqdf2.c: Likewise.
19757 * soft-fp/eqsf2.c: Likewise.
19758 * soft-fp/eqtf2.c: Likewise.
19759 * soft-fp/extenddftf2.c: Likewise.
19760 * soft-fp/extended.h: Likewise.
19761 * soft-fp/extendsfdf2.c: Likewise.
19762 * soft-fp/extendsftf2.c: Likewise.
19763 * soft-fp/extendxftf2.c: Likewise.
19764 * soft-fp/fixdfdi.c: Likewise.
19765 * soft-fp/fixdfsi.c: Likewise.
19766 * soft-fp/fixdfti.c: Likewise.
19767 * soft-fp/fixsfdi.c: Likewise.
19768 * soft-fp/fixsfsi.c: Likewise.
19769 * soft-fp/fixsfti.c: Likewise.
19770 * soft-fp/fixtfdi.c: Likewise.
19771 * soft-fp/fixtfsi.c: Likewise.
19772 * soft-fp/fixtfti.c: Likewise.
19773 * soft-fp/fixunsdfdi.c: Likewise.
19774 * soft-fp/fixunsdfsi.c: Likewise.
19775 * soft-fp/fixunsdfti.c: Likewise.
19776 * soft-fp/fixunssfdi.c: Likewise.
19777 * soft-fp/fixunssfsi.c: Likewise.
19778 * soft-fp/fixunssfti.c: Likewise.
19779 * soft-fp/fixunstfdi.c: Likewise.
19780 * soft-fp/fixunstfsi.c: Likewise.
19781 * soft-fp/fixunstfti.c: Likewise.
19782 * soft-fp/floatdidf.c: Likewise.
19783 * soft-fp/floatdisf.c: Likewise.
19784 * soft-fp/floatditf.c: Likewise.
19785 * soft-fp/floatsidf.c: Likewise.
19786 * soft-fp/floatsisf.c: Likewise.
19787 * soft-fp/floatsitf.c: Likewise.
19788 * soft-fp/floattidf.c: Likewise.
19789 * soft-fp/floattisf.c: Likewise.
19790 * soft-fp/floattitf.c: Likewise.
19791 * soft-fp/floatundidf.c: Likewise.
19792 * soft-fp/floatundisf.c: Likewise.
19793 * soft-fp/floatunsidf.c: Likewise.
19794 * soft-fp/floatunsisf.c: Likewise.
19795 * soft-fp/floatuntidf.c: Likewise.
19796 * soft-fp/floatuntisf.c: Likewise.
19797 * soft-fp/floatuntitf.c: Likewise.
19798 * soft-fp/fmadf4.c: Likewise.
19799 * soft-fp/fmasf4.c: Likewise.
19800 * soft-fp/fmatf4.c: Likewise.
19801 * soft-fp/gedf2.c: Likewise.
19802 * soft-fp/gesf2.c: Likewise.
19803 * soft-fp/getf2.c: Likewise.
19804 * soft-fp/ledf2.c: Likewise.
19805 * soft-fp/lesf2.c: Likewise.
19806 * soft-fp/letf2.c: Likewise.
19807 * soft-fp/muldf3.c: Likewise.
19808 * soft-fp/mulsf3.c: Likewise.
19809 * soft-fp/multf3.c: Likewise.
19810 * soft-fp/negdf2.c: Likewise.
19811 * soft-fp/negsf2.c: Likewise.
19812 * soft-fp/negtf2.c: Likewise.
19813 * soft-fp/op-1.h: Likewise.
19814 * soft-fp/op-2.h: Likewise.
19815 * soft-fp/op-4.h: Likewise.
19816 * soft-fp/op-8.h: Likewise.
19817 * soft-fp/op-common.h: Likewise.
19818 * soft-fp/quad.h: Likewise.
19819 * soft-fp/single.h: Likewise.
19820 * soft-fp/soft-fp.h: Likewise.
19821 * soft-fp/sqrtdf2.c: Likewise.
19822 * soft-fp/sqrtsf2.c: Likewise.
19823 * soft-fp/sqrttf2.c: Likewise.
19824 * soft-fp/subdf3.c: Likewise.
19825 * soft-fp/subsf3.c: Likewise.
19826 * soft-fp/subtf3.c: Likewise.
19827 * soft-fp/truncdfsf2.c: Likewise.
19828 * soft-fp/trunctfdf2.c: Likewise.
19829 * soft-fp/trunctfsf2.c: Likewise.
19830 * soft-fp/trunctfxf2.c: Likewise.
19831 * soft-fp/unorddf2.c: Likewise.
19832 * soft-fp/unordsf2.c: Likewise.
19833 * soft-fp/unordtf2.c: Likewise.
19834
198352013-10-14 Ondřej Bílka <neleai@seznam.cz>
19836
19837 [BZ #15672]
19838 * misc/error.c (error_tail): Fix possible buffer overflow.
19839
198402013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19841
19842 [BZ #13028]
19843 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19844 address.
19845
198462013-10-14 P. J. McDermott <pj@pehjota.net>
19847
19848 [BZ #832]
19849 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19850 testing pipefail option.
19851
198522013-10-12 Joseph Myers <joseph@codesourcery.com>
19853
19854 * soft-fp/double.h: Indent preprocessor directives inside #if.
19855 * soft-fp/extended.h: Likewise.
19856 * soft-fp/op-2.h: Likewise.
19857 * soft-fp/op-4.h: Likewise.
19858 * soft-fp/op-common.h: Likewise.
19859 * soft-fp/quad.h: Likewise.
19860 * soft-fp/single.h: Likewise.
19861 * soft-fp/soft-fp.h: Likewise.
19862
198632013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19864
19865 * iconv/iconv_prog.c: Fix typos.
19866 * stdio-common/psiginfo-data.h: Likewise.
19867
198682013-10-12 Reuben Thomas <rrt@sc3d.org>
19869
19870 [BZ #15764]
19871 * locale/setlocale.c: Fix typo.
19872
198732013-10-12 Joseph Myers <joseph@codesourcery.com>
19874
19875 [BZ #16036]
19876 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19877 signaling NaN arguments.
19878 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19879 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19880
19881 [BZ #14910]
19882 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19883 unordered operands.
19884 * soft-fp/gesf2.c (__gesf2): Likewise.
19885 * soft-fp/getf2.c (__getf2): Likewise.
19886 * soft-fp/ledf2.c (__ledf2): Likewise.
19887 * soft-fp/lesf2.c (__lesf2): Likewise.
19888 * soft-fp/letf2.c (__letf2): Likewise.
19889
19890 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19891 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19892 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19893 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19894 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19895 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19896 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19897 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19898 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19899 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19900 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19901 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19902 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19903 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19904 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19905 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19906 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19907 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19908 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19909 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19910 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19911 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19912 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19913 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19914 * soft-fp/floattidf.c (__floattidf): Likewise.
19915 * soft-fp/floattisf.c (__floattisf): Likewise.
19916 * soft-fp/floattitf.c (__floattitf): Likewise.
19917 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19918 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19919 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19920 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19921 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19922 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19923 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19924 * soft-fp/gesf2.c (__gesf2): Likewise.
19925 * soft-fp/getf2.c (__getf2): Likewise.
19926 * soft-fp/ledf2.c (__ledf2): Likewise.
19927 * soft-fp/lesf2.c (__lesf2): Likewise.
19928 * soft-fp/letf2.c (__letf2): Likewise.
19929
19930 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19931 Undefine and redefine.
19932 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19933 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19934 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19935 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19936 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19937 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19938 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19939 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19940 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19941 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19942 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19943 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19944 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19945 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19946 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19947
19948 [BZ #16032]
19949 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19950 without decrementing exponent if mantissa >= that for the
19951 denominator, not >.
19952 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19953 denominator, not >. Decrement exponent in < case instead of
19954 incrementing in >= case.
19955 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19956 without decrementing exponent if mantissa >= that for the
19957 denominator, not >.
19958
19959 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19960 computing saturated result for unsigned overflow.
19961
199622013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19963 Jeff Law <law@redhat.com>
19964
19965 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19966 (atan2Mp): Add systemtap probe marker.
19967 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19968 (__ieee754_log): Add systemtap probe marker.
19969 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19970 (atanMp): Add systemtap probe marker.
19971 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19972 (tanMp): Add systemtap probe marker.
19973 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19974 (__slowexp): Add systemtap probe marker.
19975 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19976 (__slowpow): Add systemtap probe marker.
19977 * manual/probes.texi: Document probes.
19978
199792013-10-11 Eric Biggers <ebiggers3@gmail.com>
19980
19981 [BZ #15362]
19982 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19983 written.
19984 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19985 written.
19986 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19987 written to buffer but not flushed.
19988 * libio/iofwrite_u.c: Likewise.
19989 * libio/iopadn.c: Return bytes returned even if EOF was
19990 encountered.
19991 * libio/iowpadn.c: Likewise.
19992 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19993 if _IO_padn does not write the whole buffer.
19994 [!COMPILE_WPRINTF] (PAD): Likewise.
19995
199962013-10-10 David S. Miller <davem@davemloft.net>
19997
19998 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19999 directory block.
20000
200012013-10-10 Joseph Myers <joseph@codesourcery.com>
20002
20003 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20004 instead of FSF address.
20005 * soft-fp/fixdfti.c: Likewise.
20006 * soft-fp/fixsfti.c: Likewise.
20007 * soft-fp/fixtfti.c: Likewise.
20008 * soft-fp/fixunsdfti.c: Likewise.
20009 * soft-fp/fixunssfti.c: Likewise.
20010 * soft-fp/fixunstfti.c: Likewise.
20011 * soft-fp/floattidf.c: Likewise.
20012 * soft-fp/floattisf.c: Likewise.
20013 * soft-fp/floattitf.c: Likewise.
20014 * soft-fp/floatuntidf.c: Likewise.
20015 * soft-fp/floatuntisf.c: Likewise.
20016 * soft-fp/floatuntitf.c: Likewise.
20017 * soft-fp/trunctfxf2.c: Likewise.
20018
20019 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20020 * soft-fp/fixdfti.c: Likewise.
20021 * soft-fp/fixsfti.c: Likewise.
20022 * soft-fp/fixtfti.c: Likewise.
20023 * soft-fp/fixunsdfti.c: Likewise.
20024 * soft-fp/fixunssfti.c: Likewise.
20025 * soft-fp/fixunstfti.c: Likewise.
20026 * soft-fp/floattidf.c: Likewise.
20027 * soft-fp/floattisf.c: Likewise.
20028 * soft-fp/floattitf.c: Likewise.
20029 * soft-fp/floatuntidf.c: Likewise.
20030 * soft-fp/floatuntisf.c: Likewise.
20031 * soft-fp/floatuntitf.c: Likewise.
20032 * soft-fp/trunctfxf2.c: Likewise.
20033
200342013-10-10 David S. Miller <davem@davemloft.net>
20035
20036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20037
200382013-10-10 Joseph Myers <joseph@codsourcery.com>
20039
20040 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20041 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20042 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20043 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20047
20048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20049 for NaNs before doing comparisons on argument.
20050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20051 Likewise.
20052
200532013-10-10 Will Newton <will.newton@linaro.org>
20054
20055 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20056 passed to _int_memalign does not overflow.
20057
200582013-10-10 Torvald Riegel <triegel@redhat.com>
20059
20060 * scripts/bench.pl: Add include-sources directive.
20061 * benchtests/README: Update documentation.
20062
200632013-10-10 Joseph Myers <joseph@codesourcery.com>
20064
20065 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20066 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20067 instead of FP_INIT_ROUNDMODE.
20068 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20069 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20070
20071 [BZ #16034]
20072 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20073 copy class of input value.
20074 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20075 not handle exceptions.
20076 * soft-fp/negsf2.c (__negsf2): Likewise.
20077 * soft-fp/negtf2.c (__negtf2): Likewise.
20078 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20079
200802013-10-09 Joseph Myers <joseph@codesourcery.com>
20081
20082 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20083 semicolon. From Linux kernel.
20084
200852013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20086
20087 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20088
200892013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20090
20091 [BZ #156]
20092 * manual/socket.texi: Added statement about buffer
20093 for gethostbyname2_r.
20094
200952013-10-08 Ondřej Bílka <neleai@seznam.cz>
20096
20097 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20098 Use .p2align directive instead, throughout.
20099 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20100 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20101 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20103 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20104 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20105 * sysdeps/x86_64/strchr.S: Likewise.
20106 * sysdeps/x86_64/strrchr.S: Likewise.
20107
201082013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20109
20110 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20111
20112 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20113
20114 * sysdeps/generic/math_private.h (__mpsin1): Remove
20115 declaration.
20116 (__mpcos1): Likewise.
20117 (__mpsin): New argument __range_reduce.
20118 (__mpcos): Likewise.
20119 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20120 (slow): Use __mpsin and __mpcos.
20121 (slow1): Likewise.
20122 (slow2): Likewise.
20123 (sloww): Likewise.
20124 (sloww1): Likewise.
20125 (sloww2): Likewise.
20126 (bsloww): Likewise.
20127 (bsloww1): Likewise.
20128 (bsloww2): Likewise.
20129 (cslow2): Likewise.
20130 (csloww): Likewise.
20131 (csloww1): Likewise.
20132 (csloww2): Likewise.
20133 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20134 range_reduce. Merge in __mpsin1.
20135 (__mpcos): Likewise.
20136 (__mpsin1): Remove.
20137 (__mpcos1): Likewise.
20138
201392013-10-07 Joseph Myers <joseph@codesourcery.com>
20140
20141 * locale/loadlocale.c (_nl_intern_locale_data): Use
20142 LOCFILE_ALIGNED_P.
20143 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20144 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20145 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20146 obstack data is appropriately aligned.
20147 (obstack_int32_grow_fast): Likewise.
20148 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20149 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20150 (add_locale_uint32_array): Likewise.
20151
201522013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20153
20154 * benchtests/Makefile: Remove ARGLIST and RET variables.
20155 ($(objpfx)bench-%.c): Pass only function name to the script.
20156 * benchtests/README: Update documentation.
20157 * benchtests/acos-inputs: Add new directives.
20158 * benchtests/acosh-inputs: Likewise.
20159 * benchtests/asin-inputs: Likewise.
20160 * benchtests/asinh-inputs: Likewise.
20161 * benchtests/atan-inputs: Likewise.
20162 * benchtests/atanh-inputs: Likewise.
20163 * benchtests/cos-inputs: Likewise.
20164 * benchtests/cosh-inputs: Likewise.
20165 * benchtests/exp-inputs: Likewise.
20166 * benchtests/log-inputs: Likewise.
20167 * benchtests/pow-inputs: Likewise.
20168 * benchtests/rint-inputs: Likewise.
20169 * benchtests/sin-inputs: Likewise.
20170 * benchtests/sinh-inputs: Likewise.
20171 * benchtests/tan-inputs: Likewise.
20172 * benchtests/tanh-inputs: Likewise.
20173 * scripts/bench.pl: Add support for new directives.
20174
201752013-10-07 Alan Modra <amodra@gmail.com>
20176
20177 * README: Fix careless merge.
20178
201792013-10-05 Alan Modra <amodra@gmail.com>
20180
20181 * NEWS: Mention powerpc64le support and bugs fixed.
20182 * README: Both big-endian and little-endian powerpc64 supported.
20183
201842013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20185
20186 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20187 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20188 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20189 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20190
201912013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20192
20193 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20194 match prototype.
20195
201962013-10-04 Joseph Myers <joseph@codesourcery.com>
20197
20198 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20199 Move -mhard-float appending from
20200 ports/sysdeps/powerpc/powerpc32/Makefile.
20201 [$(with-fp) = yes] (ASFLAGS): Likewise.
20202 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20203 * sysdeps/powerpc/nofpu: Move directory from
20204 ports/sysdeps/powerpc/nofpu.
20205 * sysdeps/powerpc/soft-fp: Move directory from
20206 ports/sysdeps/powerpc/soft-fp.
20207 * sysdeps/powerpc/powerpc32/405: Move directory from
20208 ports/sysdeps/powerpc/powerpc32/405.
20209 * sysdeps/powerpc/powerpc32/440: Move directory from
20210 ports/sysdeps/powerpc/powerpc32/440.
20211 * sysdeps/powerpc/powerpc32/464: Move directory from
20212 ports/sysdeps/powerpc/powerpc32/464.
20213 * sysdeps/powerpc/powerpc32/476: Move directory from
20214 ports/sysdeps/powerpc/powerpc32/476.
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20218 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20220 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20222 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20224 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20225 * README: Update for powerpc-*-linux-gnu software floating point
20226 support in libc.
20227
20228 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20229 case to powerpc/powerpc32*.
20230 * sysdeps/unix/sysv/linux/configure: Regenerated.
20231
20232 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20233 (_FPU_MASK_OM): Define as 0x04.
20234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20236 0x00c10080.
20237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20238 0x0000003c.
20239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20240
20241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20242 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20243 getcontext_e500.
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20245 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20246 setcontext_e500.
20247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20248 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20249 and setcontext_e500.
20250
202512013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20252
20253 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20254
202552013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20256
20257 * manual/threads.texi (Default Thread Attributes): Fix typo.
20258
202592013-10-04 Will Newton <will.newton@linaro.org>
20260
20261 * malloc/Makefile: Add tst-memalign.
20262 * malloc/tst-memalign.c: New file.
20263
20264 * malloc/tst-posix_memalign.c: Add comments.
20265 (do_test): Add comments and call free on all potentially
20266 allocated pointers. Add space after cast.
20267
20268 * malloc/tst-pvalloc.c: Add comments.
20269 (do_test): Add comments and call free on all potentially
20270 allocated pointers. Remove duplicate check for NULL pointer.
20271 Add space after cast.
20272
20273 * malloc/tst-valloc.c: Add comments.
20274 (do_test): Add comments and call free on all potentially
20275 allocated pointers. Remove duplicate check for NULL pointer.
20276 Add space after cast.
20277
202782013-10-04 Alan Modra <amodra@gmail.com>
20279
20280 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20281 Use stdint types in rather than __attribute__((mode())).
20282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20283
202842013-10-04 Alan Modra <amodra@gmail.com>
20285
20286 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20287 Correct handling of unaligned relocs for little-endian.
20288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20289
202902013-10-04 Alan Modra <amodra@gmail.com>
20291
20292 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20293 * configure: Regenerate.
20294 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20295 * shlib-versions: Likewise.
20296
202972013-10-04 Alan Modra <amodra@gmail.com>
20298
20299 * string/tester.c (test_memrchr): Increment reported test cycle.
20300
203012013-10-04 Alan Modra <amodra@gmail.com>
20302
20303 * string/test-memcpy.c (do_one_test): When reporting errors, print
20304 string address and don't overrun end of string.
20305
203062013-10-04 Alan Modra <amodra@gmail.com>
20307
20308 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20309 insrdi. Make better use of reg selection to speed exit slightly.
20310 Schedule entry path a little better. Remove useless "are we done"
20311 checks on entry to main loop. Handle wrapping around zero address.
20312 Correct main loop count. Handle single left-over word from main
20313 loop inline rather than by using loop_small. Remove extra word
20314 case in loop_small caused by wrong loop count. Add little-endian
20315 support.
20316 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20317 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20318 cache hint.
20319 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20320 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20321 support. Avoid rlwimi.
20322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20323
203242013-10-04 Alan Modra <amodra@gmail.com>
20325
20326 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20327 insrdi. Formatting.
20328 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20329 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20330 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20331 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20332 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20333 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20334
203352013-10-04 Alan Modra <amodra@gmail.com>
20336
20337 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20339 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20341 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20342 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20343 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20344 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20345 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20346 use of regs. Use power7 mtocrf. Tidy function tails.
20347
203482013-10-04 Alan Modra <amodra@gmail.com>
20349
20350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20351 Formatting. Consistently use rXXX register defines or rN defines.
20352 Use early exit labels that avoid restoring unused non-volatile regs.
20353 Make cr field use more consistent with rWORDn compares. Rename
20354 regs used as shift registers for unaligned loop, using rN defines
20355 for short lifetime/multiple use regs.
20356 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20357 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20358 addi 1,1,64 to pop stack frame. Simplify return value code.
20359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20360
203612013-10-04 Alan Modra <amodra@gmail.com>
20362
20363 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20364 support. Correct typos, formatting. Optimize tail. Use insrdi
20365 rather than rlwimi.
20366 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20367 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20368 little-endian support. Correct typos.
20369 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20370 rather than rlwimi.
20371 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20372 in loop and entry code to keep "and." results.
20373 (strchr): Add little-endian support. Comment. Move cntlzd
20374 earlier in tail.
20375 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20376
203772013-10-04 Alan Modra <amodra@gmail.com>
20378
20379 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20380 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20381 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20382 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20383
203842013-10-04 Alan Modra <amodra@gmail.com>
20385
20386 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20387 (rTMP): Define as r11.
20388 (strcmp): Add little-endian support. Optimise tail.
20389 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20390 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20391 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20393 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20395 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20396
203972013-10-04 Alan Modra <amodra@gmail.com>
20398
20399 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20400 little-endian support. Remove unnecessary "are we done" tests.
20401 Handle "s" wrapping around zero and extremely large "size".
20402 Correct main loop count. Handle single left-over word from main
20403 loop inline rather than by using small_loop. Correct comments.
20404 Delete "zero" tail, use "end_max" instead.
20405 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20406
204072013-10-04 Alan Modra <amodra@gmail.com>
20408
20409 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20410 support. Don't branch over align.
20411 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20412 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20413 support. Rearrange tmp reg use to suit. Comment.
20414 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20415
204162013-10-04 Alan Modra <amodra@gmail.com>
20417
20418 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20419
204202013-10-04 Alan Modra <amodra@gmail.com>
20421
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20423 conditional form of branch and link when obtaining pc.
20424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20425
204262013-10-04 Alan Modra <amodra@gmail.com>
20427
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20429 HIWORD/LOWORD.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20432
204332013-10-04 Alan Modra <amodra@gmail.com>
20434
20435 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20436 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20437 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20438 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20439 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20440 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20441 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20442 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20443 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20444 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20445
204462013-10-04 Anton Blanchard <anton@au1.ibm.com>
20447 Alistair Popple <alistair@ozlabs.au.ibm.com>
20448 Alan Modra <amodra@gmail.com>
20449
20450 [BZ #15723]
20451 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20452 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20453 _dl_hwcap access for little-endian.
20454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20455 destroy vmx regs when saving unaligned.
20456 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20457 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20458 destroy vmx regs when saving unaligned.
20459
204602013-10-04 Alan Modra <amodra@gmail.com>
20461
20462 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20463 Don't use a union to pack hi/low value.
20464
204652013-10-04 Anton Blanchard <anton@au1.ibm.com>
20466
20467 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20468 for little-endian.
20469 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20470 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20471 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20472 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20473 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20474
204752013-10-04 Alan Modra <amodra@gmail.com>
20476
20477 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20478 constants to usual value for .cst8 section, and remove redundant
20479 high address load.
20480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20481 constant for 0x1p52. Load little-endian words of double from
20482 correct stack offsets.
20483
204842013-10-04 Alan Modra <amodra@gmail.com>
20485
20486 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20487 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20488 words of double from correct stack offsets.
20489 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20490 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20491 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20492 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20493 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20494 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20495 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20496 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20497 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20498 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20499 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20501 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20502 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20503 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20504 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20505 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20506
205072013-10-04 Alan Modra <amodra@gmail.com>
20508
20509 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20510 64-bit int/double union.
20511 (_FPU_SETCW): Likewise.
20512 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20513 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20514
205152013-10-04 Alan Modra <amodra@gmail.com>
20516
20517 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20518 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20519
205202013-10-04 Alan Modra <amodra@gmail.com>
20521
20522 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20523 use vector int constants.
20524 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20525
205262013-10-04 Anton Blanchard <anton@au1.ibm.com>
20527
20528 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20529 array with long long.
20530 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20531 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20532 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20533 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20534 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20535 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20536 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20537 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20538 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20539 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20540 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20541 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20542 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20543
205442013-10-04 Anton Blanchard <anton@au1.ibm.com>
20545
20546 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20547 (__signbit): Likewise. Correct for little-endian.
20548 (__signbitl): Call __signbit.
20549 (lrint): Correct for little-endian.
20550 (lrintf): Call lrint.
20551
205522013-10-04 Alan Modra <amodra@gmail.com>
20553
20554 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20555 union 32-bit int array member with 64-bit int array.
20556 (t515, tm256): Double rather than long double.
20557 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20558
205592013-10-04 Alan Modra <amodra@gmail.com>
20560
20561 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20562 Delete.
20563 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20564 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20565 version of math_ldbl.h.
20566
205672013-10-04 Alan Modra <amodra@gmail.com>
20568
20569 [BZ #15734], [BZ #15735]
20570 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20571 all uses of ieee875 long double macros and unions. Simplify test
20572 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20573 ldbl_extract_mantissa value for ix,iy exponents. Properly
20574 normalize after ldbl_extract_mantissa, and don't add hidden bit
20575 already handled. Don't treat low word of ieee854 mantissa like
20576 low word of IBM long double and mask off bit when testing for
20577 zero.
20578 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20579 all uses of ieee875 long double macros and unions. Simplify tests
20580 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20581 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20582 two1022, instead use their values. Recognise that tests for large
20583 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20584 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20585 Rewrite all uses of ieee875 long double macros and unions. Simplify
20586 test for 0.0L and nan. Correct negation.
20587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20588 ieee875 long double macros and unions. Correct output for large
20589 magnitude x. Correct absolute value calculation.
20590 (__erfcl): Likewise.
20591 * math/libm-test.inc: Add tests for errors discovered in IBM long
20592 double versions of fmodl, remainderl, erfl and erfcl.
20593
205942013-10-04 Alan Modra <amodra@gmail.com>
20595
20596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20597 all uses of ieee854 long double macros and unions. Simplify tests
20598 for long doubles that are fully specified by the high double.
20599 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20600 Likewise.
20601 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20602 Remove dead code too.
20603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20604 (__ieee754_ynl): Likewise.
20605 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20606 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20607 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20608 Remove dead code too.
20609 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20610 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20611 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20612 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20613 Simplify.
20614 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20615 Simplify.
20616 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20617 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20618 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20619 Comment on variable precision.
20620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20622 Likewise.
20623 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20624 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20625 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20626 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20627 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20628
206292013-10-04 Alan Modra <amodra@gmail.com>
20630
20631 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20632 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20633 all uses of ieee854 long double macros and unions.
20634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20636 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20637 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20639 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20640 Likewise.
20641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20642 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20643 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20644 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20645 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20646 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20647 Simplify sign and nan test too.
20648 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20649 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20650 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20651 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20652 Likewise.
20653 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20654 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20655 Likewise.
20656 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20657 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20658 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20659 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20660 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20662
206632013-10-04 Alan Modra <amodra@gmail.com>
20664
20665 * stdio-common/printf_size.c (__printf_size): Don't use
20666 union ieee854_long_double in fpnum union.
20667 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20668 signbit macro to retrieve sign from long double.
20669 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20670 retrieve sign from long double.
20671 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20672 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20673 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20674 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20675 * math/test-misc.c (main): Don't use union ieee854_long_double.
20676
206772013-10-04 Alan Modra <amodra@gmail.com>
20678
20679 [BZ #15680]
20680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20681 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20682 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20683 calculation. Remove unnecessary test for denormal exponent.
20684 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20685 Correct handling of denormals. Avoid undefined shift behaviour.
20686 Correct normalisation of low mantissa when low double is denormal.
20687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20688 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20689 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20690 Correct normalisation of low mantissa. Test for overflow of high
20691 mantissa and normalise.
20692 (ldbl_nearbyint): Use more readable constant for two52.
20693 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20694 (__mpn_construct_long_double): Fix test for overflow of high
20695 mantissa and correct normalisation. Avoid undefined shift.
20696
206972013-10-04 Alan Modra <amodra@gmail.com>
20698
20699 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20700 (union ibm_extended_long_double): Define as an array of ieee754_double.
20701 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20702 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20703 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20704 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20705 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20706 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20708 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20709 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20710 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20711 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20712
207132013-10-03 Joseph Myers <joseph@codesourcery.com>
20714
20715 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20716 page size instead of calling getpagesize.
20717
20718 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20719 (LOCFILE_ALIGN_MASK): Likewise.
20720 (LOCFILE_ALIGN_UP): Likewise.
20721 (LOCFILE_ALIGNED_P): Likewise.
20722 * locale/programs/ld-collate.c (collate_output): Use the new
20723 macros instead of __alignof__ (int32_t).
20724 * locale/weight.h (findidx): Likewise.
20725
207262013-10-03 Ondřej Bílka <neleai@seznam.cz>
20727
20728 [BZ #431]
20729 * manual/string.texi: Fix strncat and wcsncat.
20730
207312013-10-03 Brooks Moses <bmoses@google.com>
20732
20733 [BZ #15915]
20734 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20735 * Makerules: ...here, and adjust associated comments.
20736
207372013-10-02 Will Newton <will.newton@linaro.org>
20738
20739 * malloc/Makefile: Add tst-pvalloc.
20740 * malloc/tst-pvalloc.c: New file.
20741
207422013-10-02 Will Newton <will.newton@linaro.org>
20743
20744 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20745 improve test coverage.
20746
207472013-10-02 Will Newton <will.newton@linaro.org>
20748
20749 * malloc/Makefile: Add tst-posix_memalign.
20750 * malloc/tst-posix_memalign.c: New file.
20751
207522013-10-01 Eric Blake <eblake@redhat.com>
20753
20754 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20755 Use __THROWNL rather than __THROW on static functions.
20756
207572013-09-30 Petr Machata <pmachata@redhat.com>
20758
20759 * elf/elf.h (R_AARCH64_ABS16): New macro.
20760 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20761 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20762 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20763 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20764 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20765 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20766 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20767 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20768 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20769 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20770 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20771 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20772 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20773 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20774 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20775 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20776 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20777 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20778 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20779 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20780 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20781 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20782 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20783 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20784 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20785 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20786 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20787 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20788 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20789 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20790 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20791 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20792 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20793 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20794 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20795 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20796 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20797 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20798 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20799 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20800 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20801 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20802 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20803 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20804 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20805 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20806 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20807 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20808 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20809 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20810 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20811 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20812 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20813 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20814 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20815 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20816 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20817 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20818 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20819 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20820 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20821 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20822 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20823 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20824 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20825 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20826 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20827 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20828 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20829 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20830 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20831 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20832 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20833 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20834 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20835 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20836 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20837 (R_AARCH64_TLSDESC_LDR): Likewise.
20838 (R_AARCH64_TLSDESC_ADD): Likewise.
20839 (R_AARCH64_TLSDESC_CALL): Likewise.
20840
208412013-09-30 Andreas Schwab <schwab@suse.de>
20842
20843 [BZ #15048]
20844 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20845 the nss database lookup.
20846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20848
208492013-09-28 Mike Frysinger <vapier@gentoo.org>
20850
20851 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20852
208532013-09-28 P. J. McDermott <pj@pehjota.net>
20854
20855 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20856 ${Bash-specific parameter/pattern/string} parameter expansion.
20857 * sysdeps/unix/make-syscalls.sh: Likewise.
20858
208592013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20860
20861 * sysdeps/sh/stackguard-macros.h: New file.
20862
208632013-09-26 Ondřej Bílka <neleai@seznam.cz>
20864
20865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20867 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20868 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20869 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20870 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20871
208722013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20873
20874 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20875 Fix thread ID register.
20876
208772013-09-25 Joseph Myers <joseph@codesourcery.com>
20878
20879 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20880 [POSIX || UNIX98]: Require rather than permitting all symbols from
20881 <time.h>.
20882 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20883 element of struct sched_param.
20884 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20885 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20886 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20887 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20888 constant.
20889
208902013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20891
20892 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20893 argument calculation.
20894
208952013-09-24 Joseph Myers <joseph@codesourcery.com>
20896
20897 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20898 Expect macro.
20899 [POSIX] (pthread_attr_t): Do not require type.
20900 [POSIX] (pthread_cond_t): Likewise.
20901 [POSIX] (pthread_condattr_t): Likewise.
20902 [POSIX] (pthread_key_t): Likewise.
20903 [POSIX] (pthread_mutex_t): Likewise.
20904 [POSIX] (pthread_mutexattr_t): Likewise.
20905 [POSIX] (pthread_once_t): Likewise.
20906 [POSIX] (pthread_t): Likewise.
20907 [POSIX-based standards] (pthread_atfork): Expect function.
20908
209092013-09-24 Joseph Myers <joseph@codesourcery.com>
20910 Richard Sandiford <richard@codesourcery.com>
20911
20912 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20913 (swap_endianness_p): New extern variable.
20914 (set_big_endian): New inline function.
20915 (maybe_swap_uint32): Likewise.
20916 (maybe_swap_uint32_array): Likewise.
20917 (maybe_swap_uint32_obstack): Likewise.
20918 * locale/programs/locfile.c: Include <stdbool.h>.
20919 (swap_endianness_p): New variable.
20920 (add_locale_uint32): Call maybe_swap_uint32.
20921 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20922 (write_locale_data): Call maybe_swap_uint32_array.
20923 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20924 maybe_swap_uint32.
20925 (obstack_int32_grow_fast): Likewise.
20926 (output_weightwc): Call maybe_swap_uint32_obstack.
20927 (collate_output): Likewise.
20928 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20929 (OPT_LITTLE_ENDIAN): Likewise.
20930 (options): Add --little-endian and --big-endian options.
20931 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20932 * locale/programs/locarchive.c: Include "locfile.h".
20933 (GET): New macro.
20934 (SET): Likewise.
20935 (INC): Likewise.
20936 (create_archive): Use the new macros to access fields of
20937 structures directly mapped from or written to locale archives.
20938 (oldlocrecentcmp): Likewise.
20939 (enlarge_archive): Likewise.
20940 (insert_name): Likewise.
20941 (add_alias): Likewise.
20942 (add_locale): Likewise.
20943 (delete_locales_from_archive): Likewise.
20944 (show_archive_content): Likewise.
20945 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20946 locale data.
20947
209482013-09-24 Roland McGrath <roland@hack.frob.com>
20949
20950 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20951 http://www.gnu.org/doc/freemanuals.texi.
20952 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20953
209542013-09-24 Will Newton <will.newton@linaro.org>
20955
20956 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20957 macro.
20958
209592013-09-23 Joseph Myers <joseph@codesourcery.com>
20960
20961 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20962 unsigned char.
20963
209642013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20965
20966 * manual/threads.texi (POSIX Threads): Fix a typo.
20967
209682013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20969
20970 [BZ #14547]
20971 * string/tst-strcoll-overflow.c: New test case.
20972 * string/Makefile (xtests): Add tst-strcoll-overflow.
20973 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20974 cache if string sizes may cause integer overflow.
20975
20976 [BZ #14547]
20977 * string/strcoll_l.c (coll_seq): New members rule, idx,
20978 save_idx and back_us.
20979 (get_next_seq_nocache): New function.
20980 (do_compare_nocache): New function.
20981 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20982 when malloc fails.
20983
209842013-09-23 Carlos O'Donell <carlos@redhat.com>
20985
20986 [BZ #15754]
20987 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20988 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20989 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20990
20991 [BZ #15754]
20992 * elf/Makefile (tests): Add tst-ptrguard1.
20993 (tests-static): Add tst-ptrguard1-static.
20994 (tst-ptrguard1-ARGS): Define.
20995 (tst-ptrguard1-static-ARGS): Define.
20996 * elf/tst-ptrguard1.c: New file.
20997 * elf/tst-ptrguard1-static.c: New file.
20998 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20999 * sysdeps/i386/stackguard-macros.h: Likewise.
21000 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21001 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21002 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21003 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21004 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21005 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21006
210072013-09-23 Hector Marco <hecmargi@upv.es>
21008 Ismael Ripoll <iripoll@disca.upv.es>
21009 Carlos O'Donell <carlos@redhat.com>
21010
21011 [BZ #15754]
21012 * sysdeps/generic/stackguard-macros.h: Define
21013 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21014 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21015 Define __pointer_chk_guard_local.
21016 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21017 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21018
210192013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21020
21021 [BZ #15859]
21022 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21023
210242013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21025
21026 * include/string.h (__ffs): Declare as hidden.
21027 * string/ffs.c (__ffs): Define as hidden.
21028 * sysdeps/i386/ffs.c (__ffs): Likewise.
21029 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21030 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21031 * sysdeps/s390/ffs.c (__ffs): Likewise.
21032 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21033
210342013-09-20 Alexandre Oliva <aoliva@redhat.com>
21035
21036 * NEWS: Mention malloc probes.
21037
21038 * malloc/arena.c (new_heap): New memory_heap_new probe.
21039 (grow_heap): New memory_heap_more probe.
21040 (shrink_heap): New memory_heap_less probe.
21041 (heap_trim): New memory_heap_free probe.
21042 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21043 (systrim): New memory_sbrk_less probe.
21044 * manual/probes.texi: Document them.
21045
21046 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21047 * manual/probes.texi: Document it.
21048
21049 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21050 (__libc_realloc): Add memory_realloc_retry probe.
21051 (__libc_memalign): Add memory_memalign_retry probe.
21052 (__libc_valloc): Add memory_valloc_retry probe.
21053 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21054 (__libc_calloc): Add memory_calloc_retry probe.
21055 * manual/probes.texi: Document them.
21056
21057 * malloc/arena.c (get_free_list): Add probe
21058 memory_arena_reuse_free_list.
21059 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21060 and memory_arena_reuse.
21061 (arena_get2) [!PER_THREAD]: Likewise.
21062 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21063 memory_arena_reuse_realloc.
21064 * manual/probes.texi: Document them.
21065
21066 * malloc/malloc.c (__libc_free): Add
21067 memory_mallopt_free_dyn_thresholds probe.
21068 (__libc_mallopt): Add multiple memory_mallopt probes.
21069 * manual/probes.texi: Document them.
21070
21071 * malloc/malloc.c: Include stap-probe.h.
21072 (__libc_mallopt): Add memory_mallopt probe.
21073 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21074 * manual/probes.texi: New.
21075 * manual/Makefile (chapters): Add probes.
21076 * manual/threads.texi: Set next node.
21077
210782013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21079
21080 [BZ #15963, #13985]
21081 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21082 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21083 Add `Chinese' to `nan' entry name.
21084
210852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21086
21087 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21088 (POLYNOMIAL): Likewise.
21089 (TAYLOR_SINCOS): Likewise.
21090 (TAYLOR_SLOW): Likewise.
21091 (__sin): Use TAYLOR_SINCOS.
21092 (__cos): Likewise.
21093 (slow): Use TAYLOR_SLOW.
21094 (sloww): Likewise.
21095 (bsloww): Likewise.
21096 (csloww): Likewise.
21097
210982013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21099
21100 * stdlib/strtod_l.c: Fix buffer overrun.
21101
211022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21103
21104 * benchtests/Makefile (bench): Add sincos.
21105 * benchtests/bench-sincos.c: New file.
21106
21107 * math/libm-test.inc (cos_test_data): New test inputs.
21108 (sin_test_data): Likewise.
21109
21110 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21111 macro.
21112 (__sin): Use it.
21113 (__cos): Likewise.
21114 (slow1): Likewise.
21115 (slow2): Likewise.
21116 (sloww1): Likewise.
21117 (sloww2): Likewise.
21118 (bsloww1): Likewise.
21119 (bsloww2): Likewise.
21120 (cslow2): Likewise.
21121 (csloww1): Likewise.
21122 (csloww2): Likewise.
21123
21124 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21125 function.
21126 (__sin): Use it.
21127 (__cos): Likewise.
21128
21129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21130 gotos.
21131 (__cos): Likewise.
21132
211332013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21134
21135 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21136 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21137 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21138 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21139 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21140 * elf/cache.c (print_entry): Handle the new cache flags.
21141
211422013-09-18 Joseph Myers <joseph@codesourcery.com>
21143 Aldy Hernandez <aldyh@redhat.com>
21144
21145 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21146 Change condition to [_SOFT_FLOAT].
21147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21159 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21162 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21163 declaration.
21164
211652013-09-18 Joseph Myers <joseph@codesourcery.com>
21166
21167 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21168 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21169 (__longjmp): Use LOAD_GP to load saved GPRs.
21170 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21171 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21172 (__sigsetjmp): Use SAVE_GP to save GPRs.
21173
21174 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21175 Do not append -msoft-float.
21176 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21177
211782013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21179
21180 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21181
211822013-09-17 Joseph Myers <joseph@codesourcery.com>
21183
21184 [BZ #15966]
21185 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21186 (_FPU_GETCW): Use initial "__" on variable and field names but not
21187 on macro parameter name.
21188 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21189 parentheses around reference to macro parameter.
21190
211912013-09-13 Richard Sandiford <richard@codesourcery.com>
21192
21193 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21194 prototype.
21195 (ctype_startup): Use uint32_t in cast and sizeof for
21196 ctype->charnames.
21197
211982013-09-11 Jia Liu <proljc@gmail.com>
21199
21200 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21201 __daddr_t_defined.
21202 [__FreeBSD__]: Likewise.
21203
212042013-09-11 Ondřej Bílka <neleai@seznam.cz>
21205
21206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21207 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21208 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21209 (strchr): Remove __strchr_sse42 ifunc selection.
21210 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21211 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21212
212132013-09-11 Will Newton <will.newton@linaro.org>
21214
21215 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21216 parameter to RES. Remove hardcoded 1000 value.
21217 * benchtests/bench-skeleton.c (main): Pass RES parameter
21218 to TIMING_INIT and multiply result by 1000.
21219
212202013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21221
21222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21223
212242013-09-11 Andreas Schwab <schwab@suse.de>
21225
21226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21227 if not defined.
21228 (O_TMPFILE) [__USE_GNU]: Define.
21229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21230 Define.
21231
212322013-09-11 Will Newton <will.newton@linaro.org>
21233
21234 [BZ #15857]
21235 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21236 does not overflow.
21237
212382013-09-11 Will Newton <will.newton@linaro.org>
21239
21240 [BZ #15856]
21241 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21242 does not overflow.
21243
212442013-09-11 Will Newton <will.newton@linaro.org>
21245
21246 [BZ #15855]
21247 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21248 does not overflow.
21249
212502013-09-10 Ondřej Bílka <neleai@seznam.cz>
21251
21252 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21253 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21254 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21256 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21257
212582013-09-10 Allan McRae <allan@archlinux.org>
21259
21260 [BZ #15748]
21261 * manual/arith.texi (Parsing of Floats): Clarify
21262 cross-reference.
21263
21264 [BZ #15849]
21265 * manual/install.texi (Running make install): Mention
21266 --enable-pt-chown.
21267 * INSTALL: Regenerated.
21268
212692013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21270
21271 * csu/init-first.c (_init): Remove the !SHARED condition around
21272 FPU control word initialization.
21273 * elf/dl-support.c (_dl_fpu_control): New variable.
21274 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21275 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21276 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21277 * math/test-fpucw-static.c: New file.
21278 * math/test-fpucw-ieee.c: New file.
21279 * math/test-fpucw-ieee-static.c: New file.
21280 * math/Makefile (tests): Add `test-fpucw-ieee' and
21281 `$(tests-static)'.
21282 (tests-static): New variable.
21283 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21284 dependency to...
21285 [($(build-shared),yes)]
21286 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21287 ... this.
21288 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21289 New dependency.
21290
212912013-09-09 Allan McRae <allan@archlinux.org>
21292
21293 [BZ #15939]
21294 * manual/string.texi (Collation Functions): Fix typo in
21295 strcoll example.
21296 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21297
21298 [BZ #15893]
21299 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21300
21301 [BZ #15892]
21302 * libio/memstream.c (open_memstream): Fix memory leak.
21303 * libio/wmemstream.c (open_wmemstream): Likewise.
21304
21305 [BZ #15895]
21306 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21307
213082013-09-09 Will Newton <will.newton@linaro.org>
21309
21310 * malloc/Makefile: Add tst-realloc to tests.
21311 * malloc/tst-realloc.c: New file.
21312
213132013-09-09 Allan McRae <allan@archlinux.org>
21314
21315 [BZ #15844]
21316 * COPYING: Update from GNU website to fix FSF address.
21317 * COPYING.LIB: Likewise.
21318
213192013-09-06 David S. Miller <davem@davemloft.net>
21320
21321 * po/zh_TW.po: Update Chinese (traditional) translation from
21322 translation project.
21323
213242013-09-06 Richard Sandiford <richard@codesourcery.com>
21325 Joseph Myers <joseph@codesourcery.com>
21326
21327 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21328 "localeinfo.h".
21329 (obstack_chunk_alloc): New macro.
21330 (obstack_chunk_free): Likewise.
21331 (record_offset): New function.
21332 (init_locale_data): Likewise.
21333 (align_locale_data): Likewise.
21334 (add_locale_empty): Likewise.
21335 (add_locale_raw_data): Likewise.
21336 (add_locale_raw_obstack): Likewise.
21337 (add_locale_string): Likewise.
21338 (add_locale_wstring): Likewise.
21339 (add_locale_uint32): Likewise.
21340 (add_locale_uint32_array): Likewise.
21341 (add_locale_char): Likewise.
21342 (start_locale_structure): Likewise.
21343 (end_locale_structure): Likewise.
21344 (start_locale_prelude): Likewise.
21345 (end_locale_prelude): Likewise.
21346 (write_locale_data): Take locale_file structure rather than an
21347 iovec.
21348 * locale/programs/locfile.h: Include "obstack.h".
21349 (struct locale_file): Change to store locale file contents instead
21350 of header.
21351 (init_locale_data): New prototype.
21352 (align_locale_data): Likewise.
21353 (add_locale_empty): Likewise.
21354 (add_locale_raw_data): Likewise.
21355 (add_locale_raw_obstack): Likewise.
21356 (add_locale_string): Likewise.
21357 (add_locale_wstring): Likewise.
21358 (add_locale_uint32): Likewise.
21359 (add_locale_uint32_array): Likewise.
21360 (add_locale_char): Likewise.
21361 (start_locale_structure): Likewise.
21362 (end_locale_structure): Likewise.
21363 (start_locale_prelude): Likewise.
21364 (end_locale_prelude): Likewise.
21365 (write_locale_data): Update prototype.
21366 * locale/programs/3level.h (struct TABLE): Remove result field.
21367 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21368 Use new locale_file interface.
21369 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21370 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21371 * locale/programs/ld-address.c (address_output): Use new
21372 locale_file interface.
21373 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21374 NO_ADD_LOCALE.
21375 (collate_finish): Don't call collseq_table_finalize.
21376 (collate_output): Use new locale_file interface.
21377 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21378 in file.
21379 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21380 (TABLE): Move defines earlier in file.
21381 (ELEMENT): Likewise.
21382 (DEFAULT): Likewise.
21383 (wctrans_table_add): Move macro and inline function earlier in
21384 file.
21385 (struct wctype_table): Move type earlier in file.
21386 (add_locale_wctype_table): New static prototype.
21387 (struct locale_ctype_t): Use logical types instead of struct iovec
21388 pointers for members.
21389 (ctype_output): Use new locale_file interface.
21390 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21391 new locale_file interface.
21392 (allocate_arrays): Update for use of new locale_file interface.
21393 * locale/programs/ld-identification.c (identification_output): Use
21394 new locale_file interface.
21395 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21396 * locale/programs/ld-messages.c (messages_output): Likewise.
21397 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21398 * locale/programs/ld-name.c (name_output): Likewise.
21399 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21400 * locale/programs/ld-paper.c (paper_output): Likewise.
21401 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21402 * locale/programs/ld-time.c (time_output): Likewise.
21403
214042013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21405
21406 * benchtests/Makefile: Add memrchr benchmark.
21407 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21408 benchmark as memrchr.
21409 * benchtests/bench-memrchr-ifunc.c: New file.
21410 * benchtests/bench-memrchr.c: New file.
21411
214122013-09-06 Will Newton <will.newton@linaro.org>
21413
21414 * benchtests/Makefile (string-bench): Add memcpy.
21415
214162013-09-05 Carlos O'Donell <carlos@redhat.com>
21417 Cong Wang <amwang@redhat.com>
21418
21419 [BZ #15850]
21420 * sysdeps/unix/sysv/linux/bits/in.h
21421 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21422 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21423 before __USE_KERNEL_IPV6_DEFS uses.
21424 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21425 IPPROTO_BEETPH.
21426 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21427 sockaddr_in6, or ipv6_mreq.
21428
214292013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21430
21431 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21432 memory access for final bytes in some large inputs.
21433 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21434
214352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21436
21437 * string/test-memrchr.c: New file.
21438 * string/test-memrchr-ifunc.c: New file.
21439 * string/Makefile: Add new memrchr testcase.
21440
214412013-09-05 Mike Frysinger <vapier@gentoo.org>
21442
21443 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21444 fanotify_init returns EPERM.
21445
214462013-09-04 Joseph Myers <joseph@codesourcery.com>
21447
21448 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21449 errors.
21450 (top level): Treat second token from macro or constant entries for
21451 allowed headers as allowed.
21452 * include/complex.h: Condition internal declarations on
21453 [!_ISOMAC].
21454 * include/fenv.h: Condition include of <stdbool.h> and internal
21455 declarations on [!_ISOMAC].
21456
214572013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21458
21459 [BZ #15923]
21460 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21461
214622013-09-04 Joseph Myers <joseph@codesourcery.com>
21463
21464 * configure.in (--enable-versioning): Remove configure option.
21465 (libc_cv_asm_symver_directive): Remove configure test.
21466 (libc_cv_ld_version_script_option): Likewise.
21467 (VERSIONING): Remove variable and AC_SUBST.
21468 (DO_VERSIONING): Remove AC_DEFINE.
21469 * configure: Regenerated.
21470 * config.h.in (DO_VERSIONING): Remove macro.
21471 * Makerules [$(versioning) = yes]: Change conditionals to
21472 [$(build-shared) = yes].
21473 * config.make.in (versioning): Remove variable.
21474 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21475 [$(build-shared) = yes].
21476 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21477 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21478 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21479 [$(build-shared) = yes].
21480 * extra-lib.mk [$(versioning) = yes]: Likewise.
21481 * hurd/Makefile [$(versioning) = yes]: Likewise.
21482 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21483 [SHARED].
21484 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21485 [SHARED].
21486 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21487 [SHARED && !NO_HIDDEN].
21488 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21489 [SHARED].
21490 [SHARED && DO_VERSIONING]: Likewise..
21491 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21492 [$(build-shared) = yes].
21493 * manual/install.texi (--disable-versioning): Remove
21494 documentation.
21495 * INSTALL: Regenerated.
21496 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21497 to [SHARED].
21498 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21499 [$(build-shared) = yes].
21500 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21501 * sysdeps/i386/i686/multiarch/strstr-c.c
21502 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21503 [SHARED && !NO_HIDDEN].
21504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21505 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21506 * sysdeps/powerpc/powerpc32/dl-machine.c
21507 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21508 * sysdeps/powerpc/powerpc32/sysdep.h
21509 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21510 to [SHARED && PIC && !NO_HIDDEN].
21511 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21512 conditional to [SHARED].
21513
215142013-09-04 Will Newton <will.newton@linaro.org>
21515
21516 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21517 * benchtests/bench-string.h: Include bench-timing.h instead
21518 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21519 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21520 call to HP_TIMING_DIFF_INIT.
21521 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21522 instead of hp-timing.h macros.
21523 * benchtests/bench-memchr.c: Likewise.
21524 * benchtests/bench-memcmp.c: Likewise.
21525 * benchtests/bench-memcpy.c: Likewise.
21526 * benchtests/bench-memmem.c: Likewise.
21527 * benchtests/bench-memmove.c: Likewise.
21528 * benchtests/bench-memset.c: Likewise.
21529 * benchtests/bench-rawmemchr.c: Likewise.
21530 * benchtests/bench-strcasecmp.c: Likewise.
21531 * benchtests/bench-strcasestr.c: Likewise.
21532 * benchtests/bench-strcat.c: Likewise.
21533 * benchtests/bench-strchr.c: Likewise.
21534 * benchtests/bench-strcmp.c: Likewise.
21535 * benchtests/bench-strcpy.c: Likewise.
21536 * benchtests/bench-strcpy_chk.c: Likewise.
21537 * benchtests/bench-strlen.c: Likewise.
21538 * benchtests/bench-strncasecmp.c: Likewise.
21539 * benchtests/bench-strncat.c: Likewise.
21540 * benchtests/bench-strncmp.c: Likewise.
21541 * benchtests/bench-strncpy.c: Likewise.
21542 * benchtests/bench-strnlen.c: Likewise.
21543 * benchtests/bench-strpbrk.c: Likewise.
21544 * benchtests/bench-strrchr.c: Likewise.
21545 * benchtests/bench-strspn.c: Likewise.
21546 * benchtests/bench-strstr.c: Likewise.
21547
215482013-09-04 Will Newton <will.newton@linaro.org>
21549
21550 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21551
215522013-09-03 Joseph Myers <joseph@codesourcery.com>
21553
21554 [BZ #15427]
21555 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21556 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21557 * math/libm-test.inc (lgamma_test_data): Add more tests.
21558 * sysdeps/i386/fpu/libm-test-ulps: Update.
21559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21560
215612013-09-03 Ondřej Bílka <neleai@seznam.cz>
21562
21563 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21565 Add ifunc.
21566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21567 Add strcmp-sse2-unaligned
21568 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21569
215702013-09-02 Mike Frysinger <vapier@gentoo.org>
21571
21572 * Versions.def (libc): Add GLIBC_2.19.
21573
215742013-09-02 Mike Frysinger <vapier@gentoo.org>
21575
21576 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21577 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21578
215792013-09-02 Joseph Myers <joseph@codesourcery.com>
21580
21581 [BZ #14155]
21582 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21583 intermediate calculations in recurrence.
21584 (__ieee754_ynf): Likewise.
21585 * math/libm-test.inc (jn_test_data): Do not allow spurious
21586 underflow exception. Add more tests.
21587 (yn_test_data): Add more tests.
21588 * sysdeps/i386/fpu/libm-test-ulps: Update.
21589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590
215912013-09-02 Ondřej Bílka <neleai@seznam.cz>
21592
21593 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21594
215952013-08-30 Ondřej Bílka <neleai@seznam.cz>
21596
21597 * csu/init-first.c: Fix then/than typos.
21598 * locale/programs/ld-collate.c: Likewise.
21599 * locale/programs/linereader.h: Likewise.
21600 * manual/charset.texi: Likewise.
21601 * manual/filesys.texi: Likewise.
21602 * manual/stdio.texi: Likewise.
21603 * manual/string.texi: Likewise.
21604 * stdlib/fmtmsg.c: Likewise.
21605 * sysdeps/i386/stpncpy.S: Likewise.
21606 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21607 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21608 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21609 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21610
216112013-08-30 Ondřej Bílka <neleai@seznam.cz>
21612
21613 * elf/dl-open.c: Fix typos.
21614 * iconvdata/gbbig5.c: Likewise.
21615 * iconvdata/iso-2022-jp.c: Likewise.
21616 * iconv/gconv_int.h: Likewise.
21617 * iconv/loop.c: Likewise.
21618 * nis/rpcsvc/nis.h: Likewise.
21619 * resolv/ns_name.c: Likewise.
21620 * stdio-common/vfscanf.c: Likewise.
21621 * streams/stropts.h: Likewise.
21622 * sunrpc/rpc_thread.c: Likewise.
21623 * sysdeps/i386/strpbrk.S: Likewise.
21624 * sysdeps/ieee754/k_standard.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21627 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21628 * sysdeps/mach/hurd/profil.c: Likewise.
21629 * sysdeps/s390/dl-procinfo.h: Likewise.
21630 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21631 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21632 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21633 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21634 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21635
216362013-08-30 Ondřej Bílka <neleai@seznam.cz>
21637
21638 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21640
216412013-08-29 Ondřej Bílka <neleai@seznam.cz>
21642
21643 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21644 aix specific files.
21645 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21646 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21647 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21648 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21649 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21650 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21651 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21652 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21653
216542013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21655 Roland McGrath <roland@hack.frob.com>
21656
21657 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21658 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21659
216602013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21661
21662 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21663 __executable_start symbol instead of _start.
21664
216652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21666
21667 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21668 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21669 Move macros to...
21670 * sysdeps/gnu/ldsodefs.h: ... this new file.
21671
21672 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21673 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21674 instead of ELFOSABI_LINUX.
21675
21676 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21677 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21678 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21679 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21680 Likewise.
21681 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21682 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21683 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21684 Likewise.
21685 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21686 (ibm_extended_long_double): Add ieee_nan member.
21687 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21688 (do_test): New function.
21689
21690 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21691 TEST_TRUNC.
21692 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21693 functions, renamed from truncdfsf_test, trunctfsf_test,
21694 trunctfdf_test.
21695 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21696 functions.
21697 (do_test): Run all these.
21698
216992013-08-29 Ondřej Bílka <neleai@seznam.cz>
21700
21701 * argp/argp-help.c: Fix typos.
21702 * argp/argp-parse.c: Likewise.
21703 * debug/backtracesyms.c: Likewise.
21704 * elf/elf.h: Likewise.
21705 * malloc/malloc.c: Likewise.
21706 * nis/nis_print.c: Likewise.
21707 * resolv/res_comp.c: Likewise.
21708 * stdlib/stdlib.h: Likewise.
21709 * sunrpc/clnt_tcp.c: Likewise.
21710 * sunrpc/clnt_udp.c: Likewise.
21711 * sunrpc/clnt_unix.c: Likewise.
21712 * sysdeps/unix/bsd/ptsname.c: Likewise.
21713 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21714 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21716 Likewise.
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21718 Likewise.
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21720 Likewise.
21721 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21722
217232013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21724
21725 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21727
217282013-08-27 Mike Frysinger <vapier@gentoo.org>
21729
21730 [BZ #15897]
21731 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21732 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21733 ($(objpfx)bug-dl-leaf): New rule.
21734 ($(objpfx)bug-dl-leaf.so): Likewise.
21735 ($(objpfx)bug-dl-leaf.out): Likewise.
21736 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21737 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21738 * dlfcn/bug-dl-leaf.c: New test.
21739 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21740 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21741 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21742 (dlclose): Likewise.
21743 (dlmopen): Likewise.
21744
217452013-08-27 Roland McGrath <roland@hack.frob.com>
21746
21747 * include/netdb.h [!_ISOMAC]:
21748 Don't include <tls.h>.
21749 (h_errno, __libc_h_errno): Move declaration and macros out of
21750 [_LIBC_REENTRANT].
21751
21752 * include/resolv.h [_RESOLV_H_]:
21753 Don't include <tls.h>.
21754 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21755 * resolv/res_libc.c: Don't include <tls.h>.
21756 (_res): Use __attribute__ ((nocommon)) in place of
21757 __attribute__ ((section (".bss"))).
21758
21759 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21760 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21761
21762 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21763
21764 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21765 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21766
21767 * resolv/res_mkquery.c: Include <sys/time.h>.
21768
21769 * inet/ifreq.c: Moved to ...
21770 * sysdeps/unix/ifreq.c: ... here.
21771 * inet/ifreq.c: New file, true stub version.
21772
21773 * socket/sa_len.c: New file.
21774 * socket/Makefile (aux): Add it.
21775 * sysdeps/unix/sysv/linux/Makefile
21776 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21777 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21778 and #include <socket/sa_len.c>.
21779 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21780 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21781
21782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21783 * bits/socket.h: ... here.
21784
21785 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21786 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21787 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21788
217892013-08-27 Andreas Schwab <schwab@suse.de>
21790
21791 [BZ #15736]
21792 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21793 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21794 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21795 * string/test-strcasecmp.c (test_main): Run tests in several
21796 locales.
21797 * string/test-strncasecmp.c (test_main): Likewise.
21798
21799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21800 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21801 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21802 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21803 (__strncasecmp_ssse3) [PIC]: Likewise.
21804
218052013-08-26 Roland McGrath <roland@hack.frob.com>
21806
21807 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21808
21809 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21810 instead of explicitly declaring xdecrypt.
21811 * nis/nss_nis/nis-publickey.c: Likewise.
21812
218132013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21814
21815 [BZ #15890]
21816 * nscd/aicache.c: Include res_hconf.h.
21817 (addhstaiX): Initialize res_hconf.
21818
218192013-08-26 Andreas Schwab <schwab@suse.de>
21820
21821 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21822 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21823
218242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21825
21826 * nscd/aicache.c (addhstaiX): Fix indentation.
21827
218282013-08-25 Mike Frysinger <vapier@gentoo.org>
21829
21830 * configure.ac: Quote $build_pt_chown test.
21831 * configure: Regenerated.
21832
218332013-08-23 Joseph Myers <joseph@codesourcery.com>
21834
21835 [BZ #15532]
21836 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21837 * math/s_cexpf.c (__cexpf): Likewise.
21838 * math/s_cexpl.c (__cexpl): Likewise.
21839 * math/libm-test.inc (cexp_test_data): Correct expected return
21840 value for NaN + i0. Add another test.
21841
218422013-08-22 David S. Miller <davem@davemloft.net>
21843
21844 * po/ca.po: Update Catalan translation from translation project.
21845 * po/uk.po: Add Ukrainian translations from translation project.
21846
218472013-08-21 Joseph Myers <joseph@codesourcery.com>
21848
21849 [BZ #15797]
21850 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21851 is infinite, not alongside NaN test.
21852 * math/s_fdimf.c (__fdimf): Likewise.
21853 * math/s_fdiml.c (__fdiml): Likewise.
21854 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21855 errno is unchanged.
21856
218572013-08-21 Ondřej Bílka <neleai@seznam.cz>
21858
21859 * argp/argp-help.c: Fix typos.
21860 * crypt/speeds.c: Likewise.
21861 * csu/check_fds.c: Likewise.
21862 * elf/dl-load.c: Likewise.
21863 * elf/dl-open.c: Likewise.
21864 * elf/reldep3.c: Likewise.
21865 * elf/reldep.c: Likewise.
21866 * elf/sprof.c: Likewise.
21867 * iconv/iconv_charmap.c: Likewise.
21868 * iconv/skeleton.c: Likewise.
21869 * iconv/strtab.c: Likewise.
21870 * io/lockf64.c: Likewise.
21871 * libio/libioP.h: Likewise.
21872 * resolv/gai_notify.c: Likewise.
21873 * resolv/ns_name.c: Likewise.
21874 * resolv/ns_samedomain.c: Likewise.
21875 * resolv/res_send.c: Likewise.
21876 * stdlib/random.c: Likewise.
21877 * sunrpc/rpc/xdr.h: Likewise.
21878 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21880 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21881 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21883 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21885 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21886 * sysdeps/mach/hurd/check_fds.c: Likewise.
21887 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21888 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21891 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21892 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21893 * sysdeps/pthread/aio_notify.c: Likewise.
21894 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21895 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21898 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21899
219002013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21901
21902 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21903 version if bit_Slow_SSE4_2 is set.
21904 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21906
219072013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21908
21909 [BZ #15867]
21910 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21911 trampoline stack frame information.
21912 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21913 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21914 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21915 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21916 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21917 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21918 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21919 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21920 sa_flags value.
21921 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21922 interrupting a syscall and set with option SA_SIGINFO.
21923
219242013-08-20 Joseph Myers <joseph@codesourcery.com>
21925
21926 [BZ #15531]
21927 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21928 argument is infinite.
21929 * math/s_cprojf.c (__cprojf): Likewise.
21930 * math/s_cprojl.c (__cprojl): Likewise.
21931 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21932 * math/libm-test.inc (cproj_test_data): Add more tests.
21933
21934 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21935
21936 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21937 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21938 size. Use __ffs to determine corresponding shift.
21939
219402013-08-20 Joseph Myers <joseph@codesourcery.com>
21941 Roland McGrath <roland@hack.frob.com>
21942
21943 * Makefile (INSTALL): Remove trailing blank lines from output of
21944 makeinfo.
21945
219462013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21947
21948 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21949 Align 32 bit compat elf_greg to 8 bytes.
21950
219512013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21952
21953 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21954
219552013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21956
21957 * string/strcoll_l.c (coll_seq): New structure.
21958 (get_next_seq_cached): New function.
21959 (get_next_seq): New function.
21960 (do_compare): New function.
21961 (STRCOLL): Use GNU style definition. Simplify implementation
21962 by using get_next_seq, get_next_seq_cached and do_compare.
21963
219642013-08-16 Florian Weimer <fweimer@redhat.com>
21965
21966 [BZ #14699]
21967 CVE-2013-4237
21968 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21969 member.
21970 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21971 member.
21972 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21973 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21974 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21975 conditional.
21976 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21977 GETDENTS_64BIT_ALIGNED.
21978 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21979 * manual/filesys.texi (Reading/Closing Directory): Document
21980 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21981 strongly.
21982 * manual/conf.texi (Limits for Files): Add portability note to
21983 NAME_MAX, PATH_MAX.
21984 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21985
219862013-08-13 Andreas Schwab <schwab@suse.de>
21987
21988 [BZ #15749]
21989 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21990 of fabs.
21991 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21992 LDBL_MAX_EXP >= 16384]: Add tests for it.
21993
219942013-08-12 David S. Miller <davem@davemloft.net>
21995
21996 * version.h (RELEASE): Set to "development".
21997 (VERSION): Set to "2.18.90".
21998 * NEWS: Add 2.19 section.
21999
220002013-08-03 David S. Miller <davem@davemloft.net>
22001
22002 * po/ko.po: Update Korean translation from translation project.
22003
220042013-08-01 David S. Miller <davem@davemloft.net>
22005
22006 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22007 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22008 Bilka.
22009
220102013-07-30 David S. Miller <davem@davemloft.net>
22011
22012 * po/fr.po: Update French translation from translation project.
22013
220142013-07-28 David S. Miller <davem@davemloft.net>
22015
22016 * po/cs.po: Update Czech translation from translation project.
22017
22018 * po/sv.po: Update Swedish translation from translation project.
22019
220202013-07-27 David S. Miller <davem@davemloft.net>
22021
22022 * po/eo.po: Update Esperanto translation from translation project.
22023
22024 * po/vi.po: Update Vietnamese translation from translation project.
22025
22026 * po/de.po: Update German translation from translation project.
22027
220282013-07-26 David S. Miller <davem@davemloft.net>
22029
22030 * po/bg.po: Update Bulgarian translation from translation project.
22031
22032 * po/nl.po: Update Dutch translation from translation project.
22033 * po/pl.po: Update Polish translation from translation project.
22034 * po/ru.po: Update Russian translation from translation project.
22035
220362013-07-24 David S. Miller <davem@davemloft.net>
22037
22038 * po/libc.pot: Update.
22039
220402013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22041
22042 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22043 variable page size.
22044 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22045 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22046 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22047
220482013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22049
22050 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22051
220522013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22053 Andreas Schwab <schwab@suse.de>
22054 Roland McGrath <roland@hack.frob.com>
22055 Joseph Myers <joseph@codesourcery.com>
22056 Carlos O'Donell <carlos@redhat.com>
22057
22058 [BZ #15755]
22059 * config.h.in: Define HAVE_PT_CHOWN.
22060 * config.make.in (build-pt-chown): New variable.
22061 * configure.in (--enable-pt_chown): New configure option.
22062 * configure: Regenerate.
22063 * login/Makefile: Include Makeconfig. Build pt_chown only if
22064 build-pt-chown is enabled.
22065 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22066 pt_chown to fix pty ownership.
22067 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22068 CLOSE_ALL_FDS.
22069 * manual/install.texi (Configuring and compiling): Mention
22070 --enable-pt_chown. Add @findex for grantpt.
22071 * INSTALL: Regenerate.
22072
220732013-07-20 David S. Miller <davem@davemloft.net>
22074
22075 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22076 difference between 32-bit and 64-bit.
22077
220782013-07-15 Carlos O'Donell <carlos@redhat.com>
22079
22080 [BZ #15711]
22081 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22082 Avoid system header dependency with -ffreestanding.
22083 ($(objpfx)bits/syscall%d): Likewise.
22084
220852013-07-13 David S. Miller <davem@davemloft.net>
22086
22087 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22088 underflows from atanl/atan2l due to bug 15319.
22089 (casinh_test_data): Likewise.
22090
220912013-07-07 David S. Miller <davem@davemloft.net>
22092
22093 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22094
220952013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22096
22097 * sysdeps/i386/fpu/libm-test-ulps: Update.
22098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22099
221002013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22101
22102 * configure.in (--enable-lock-elision): Fix message text.
22103 * INSTALL: Regenerate.
22104 * configure: Regenerate.
22105
221062013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22107
22108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22109
221102013-07-03 Andreas Jaeger <aj@suse.de>
22111
22112 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22113 define.
22114 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22115 (ptrace_peeksiginfo_args): Add.
22116 (__ptrace_peeksiginfo_flags): Add.
22117 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22118 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22120
221212013-07-03 Allan McRae <allan@archlinux.org>
22122
22123 * sysdeps/i386/fpu/libm-test-ulps: Update.
22124
221252013-07-02 David S. Miller <davem@davemloft.net>
22126
22127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22128
221292013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22130
22131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22132
221332013-07-02 Joseph Myers <joseph@codesourcery.com>
22134
22135 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22137
221382013-07-02 Andi Kleen <ak@linux.intel.com>
22139
22140 * config.h.in (ENABLE_LOCK_ELISION): Add.
22141 * configure.in (--enable-lock-elision): Add option.
22142 * manual/install.texi: Document --enable lock elision.
22143 * configure: Regenerate
22144 * INSTALL: Regenerate.
22145
221462013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22147
22148 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22149 SSE4.2 strcasecmp for libc.a.
22150 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22151
221522013-07-02 Joseph Myers <joseph@codesourcery.com>
22153
22154 [BZ #13304]
22155 * soft-fp/op-common.h (_FP_FMA): New macro.
22156 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22157 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22158 (_FP_MUL_MEAT_1_imm): ... here.
22159 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22160 (_FP_MUL_MEAT_1_wide): ... here.
22161 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22162 (_FP_MUL_MEAT_1_hard): ... here.
22163 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22164 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22165 (_FP_MUL_MEAT_2_wide): ... here.
22166 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22167 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22168 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22169 (_FP_MUL_MEAT_2_gmp): ... here.
22170 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22171 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22172 (_FP_MUL_MEAT_4_wide): ... here.
22173 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22174 (_FP_MUL_MEAT_4_gmp): ... here.
22175 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22176 (_FP_WFRACBITS_DW_S): Likewise.
22177 (_FP_WFRACXBITS_DW_S): Likewise.
22178 (_FP_HIGHBIT_DW_S): Likewise.
22179 (FP_FMA_S): Likewise.
22180 (_FP_FRAC_HIGH_DW_S): Likewise.
22181 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22182 (_FP_WFRACBITS_DW_D): Likewise.
22183 (_FP_WFRACXBITS_DW_D): Likewise.
22184 (_FP_HIGHBIT_DW_D): Likewise.
22185 (FP_FMA_D): Likewise.
22186 (_FP_FRAC_HIGH_DW_D): Likewise.
22187 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22188 (_FP_WFRACBITS_DW_E): Likewise.
22189 (_FP_WFRACXBITS_DW_E): Likewise.
22190 (_FP_HIGHBIT_DW_E): Likewise.
22191 (FP_FMA_E): Likewise.
22192 (_FP_FRAC_HIGH_DW_E): Likewise.
22193 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22194 (_FP_WFRACBITS_DW_Q): Likewise.
22195 (_FP_WFRACXBITS_DW_Q): Likewise.
22196 (_FP_HIGHBIT_DW_Q): Likewise.
22197 (FP_FMA_Q): Likewise.
22198 (_FP_FRAC_HIGH_DW_Q): Likewise.
22199 * soft-fp/fmasf4.c: New file.
22200 * soft-fp/fmadf4.c: Likewise.
22201 * soft-fp/fmatf4.c: Likewise.
22202
222032013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22204
22205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22206 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22207 Silvermont.
22208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22209 macro.
22210 (index_Slow_SSE4_2): Likewise.
22211 (index_Prefer_PMINUB_for_stringop): Likewise.
22212 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22213 bit_Slow_SSE4_2 is set.
22214 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22215 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22216
222172013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22218
22219 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22220 rtld_global._dl_hwcap2.
22221 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22222 POWER8.
22223 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22224 POWER8 feature descriptions defined in _dl_hwcap2.
22225 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22226 string handling for POWER8 feature bits.
22227 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22228 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22229 _dl_powerpc_cap_flags.
22230 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22231 * sysdeps/powerpc/rtld-global-offsets.sym
22232 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22233 _dl_hwcap2 in the rtld_global_ro structure.
22234
222352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22236
22237 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22238 hardware capabilities in support of AT_HWCAP2.
22239 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22240 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22241 GLRO(dl_hwcap2).
22242 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22243 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22244 explicitly the unknown a_type display mechanism is used.
22245 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22246 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22247 struct member.
22248 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22249 to macro prototype for AT_HWCAP2 support.
22250 * sysdeps/i386/dl-procinfo.h: Likewise.
22251 * sysdeps/s390/dl-procinfo.h: Likewise.
22252 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22253 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22254 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22255 return -1 for unknown a_type display fallback.
22256 * sysdeps/sparc/dl-procinfo.h: Likewise.
22257 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22258 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22259
222602013-06-28 Joseph Myers <joseph@codesourcery.com>
22261
22262 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22263 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22264
222652013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22266
22267 [BZ #12492]
22268 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22269 mprotect making __stack_prot writable.
22270
222712013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22272 Joseph Myers <joseph@codesourcery.com>
22273
22274 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22275 as being properly aligned.
22276
222772013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22278
22279 * dlfcn/modstatic5.c: New file.
22280 * dlfcn/tststatic5.c: New file.
22281 * dlfcn/Makefile (tests): Add tststatic5.
22282 (tests-static): Likewise.
22283 (modules-names): Add modstatic5.
22284 (tststatic5-ENV): New variable.
22285 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22286
22287 [BZ #15022]
22288 * elf/dl-support.c (_dl_main_map): New variable.
22289 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22290 (_dl_nns, _dl_load_adds): Set to 1.
22291 (_dl_initial_searchlist): Refer to _dl_main_map.
22292 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22293 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22294 call to _dl_get_origin.
22295 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22296 around call_map.
22297 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22298 * dlfcn/modstatic3.c: New file.
22299 * dlfcn/tststatic3.c: New file.
22300 * dlfcn/tststatic4.c: New file.
22301 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22302 (tests-static): Likewise.
22303 (modules-names): Add modstatic3.
22304 (tststatic3-ENV, tststatic4-ENV): New variables.
22305 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22306 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22307
223082013-06-26 Joseph Myers <joseph@codesourcery.com>
22309
22310 * configure.in (CC): Require GCC version 4.4 or later.
22311 * configure: Regenerated.
22312 * manual/install.texi (Tools for Compilation): Update GCC version
22313 requirement.
22314 * INSTALL: Regenerated.
22315
223162013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22317
22318 [BZ #15674]
22319 * string/test-memcmp.c (check2): New.
22320 (main): Call check2.
22321
22322 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22323
223242013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22325
22326 [BZ #15022]
22327 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22328 over to...
22329 (dl_open_worker) [!SHARED]: ... here.
22330
223312013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22332
22333 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22334
223352013-06-25 Richard Henderson <rth@redhat.com>
22336
22337 * locale/programs/locarchive.c: Include <libc-internal.h>
22338
223392013-06-25 Joseph Myers <joseph@codesourcery.com>
22340
22341 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22342 trailing whitespace removed.
22343
223442013-06-24 Mike Frysinger <vapier@gentoo.org>
22345
22346 [BZ #10283]
22347 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22348 * locale/programs/locarchive.c: Include libc-mmap.h.
22349 (prepare_address_space): Take two new outputs (the mmap base and len).
22350 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22351 values.
22352 (create_archive): Declare new mmap base and len values for
22353 prepare_address_space, and store the result in ah.
22354 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22355 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22356 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22357 Declare new mmap base and len values for
22358 prepare_address_space, and store the result in new_ah.
22359 (open_archive): Declare new mmap base and len values for
22360 prepare_address_space, and store the result in ah.
22361 (close_archive): If ah->mmap_base is not NULL, use that and
22362 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22363 * sysdeps/generic/libc-mmap.h: New file.
22364
223652013-06-24 Mike Frysinger <vapier@gentoo.org>
22366
22367 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22368 (ALIGN_UP): Likewise.
22369 (PTR_ALIGN_DOWN): Likewise.
22370 (PTR_ALIGN_UP): Likewise.
22371
223722013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22373
22374 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22375 entry mapped to PPC_PLATFORM_POWER8.
22376 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22377 POWER8.
22378 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22379 (_dl_string_platform): Add case for exporting platform position for
22380 POWER8.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22382 search path to sysdeps/powerpc/powerpc32/power8 directory.
22383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22384 search path to sysdeps/powerpc/powerpc64/power8 directory.
22385 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22386 power7 directories.
22387 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22388 power7 directories.
22389
223902013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22391
22392 * INSTALL: Regenerate.
22393
22394 * nscd/connections.c (nscd_init): Fix comment.
22395
223962013-06-22 Joseph Myers <joseph@codesourcery.com>
22397
22398 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22399
22400 [BZ #15667]
22401 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22402 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22403
224042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22405
22406 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22407 DL_DST_REQ_STATIC.
22408 (DL_DST_REQ_STATIC): Remove macro.
22409
224102013-06-21 Joseph Myers <joseph@codesourcery.com>
22411
22412 [BZ #7006]
22413 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22414 with a shift of 0 bits.
22415
224162013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22417
22418 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22419 $(tststatic-ENV).
22420
224212013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22422
22423 [BZ #15655]
22424 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22425
224262013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22427
22428 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22429 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22430 accepts -fno-tree-loop-distribute-patterns.
22431 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22432 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22433 recursive call.
22434 * string/memset.c (memset): Likewise.
22435 * string/test-memmove.c (simple_memmove): Disable loop transformation
22436 to library calls.
22437 * string/test-memset.c (simple_memset): Likewise.
22438 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22439 * benchtests/bench-memset.c (simple_memset): Likewise.
22440 * configure: Regenerated.
22441
224422013-06-20 Joseph Myers <joseph@codesourcery.com>
22443
22444 * math/test-misc.c (main): Ignore fesetround failure when failures
22445 of subsequent rounding tests would be ignored.
22446
22447 [BZ #15654]
22448 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22449 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22450 * math/fegetenv.c (__fegetenv): Return 0.
22451 * math/fegetexcept.c (fegetexcept): Return 0.
22452 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22453 FE_TONEAREST.
22454 * math/feholdexcpt.c (feholdexcept): Return 0.
22455 * math/fesetenv.c (__fesetenv): Return 0.
22456 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22457 argument FE_TONEAREST.
22458 * math/feupdateenv.c (__feupdateenv): Return 0.
22459 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22460
224612013-06-18 Roland McGrath <roland@hack.frob.com>
22462
22463 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22464 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22465 ($(objpfx)rtld-%.os rules): Use them.
22466
224672013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22468
22469 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22470 fields.
22471
224722013-06-17 Roland McGrath <roland@hack.frob.com>
22473
22474 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22475 length of target pattern, then descending length of dependency pattern.
22476 * configure.in (AWK): Require gawk 3.1.2 or newer.
22477 * manual/install.texi (Tools for Compilation): Say that we do.
22478 * configure: Regenerated.
22479
22480 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22481 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22482 * scripts/sysd-rules.awk: ... this new script.
22483 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22484 than a glob-style pattern.
22485
224862013-06-17 Joseph Myers <joseph@codesourcery.com>
22487
22488 * math/test-misc.c (main): Do not treat incorrectly rounded
22489 conversions as failure unless ROUNDING_TESTS passes.
22490
224912013-06-15 Joseph Myers <joseph@codesourcery.com>
22492
22493 [BZ #15631]
22494 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22495 restore exception state around main square root computation, then
22496 check for inexactness explicitly.
22497
22498 * math/libm-test.inc (fma_test_data): Add another test.
22499
225002013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22501
22502 * manual/threads.texi (Non-POSIX Extensions): New document
22503 node. Document pthread_getattr_default_np and
22504 pthread_setattr_default_np.
22505
22506 * Versions.def (libpthread): Add GLIBC_2.18.
22507 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22509 Likewise.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22511 Likewise.
22512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22513 Likewise.
22514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22515 Likewise.
22516 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22517 Likewise.
22518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22519 Likewise.
22520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22521 Likewise.
22522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22523 Likewise.
22524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22525 Likewise.
22526
225272013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22528
22529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22530 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22531
225322013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22533 H.J. Lu <hjl.tools@gmail.com>
22534
22535 [BZ #15627]
22536 * sysdeps/x86_64/rtld-memset.c: Remove file.
22537 * sysdeps/x86_64/rtld-memset.S: New file.
22538
225392013-06-14 Joseph Myers <joseph@codesourcery.com>
22540
22541 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22542 (test_in_one_mode): Take arguments for whether the rounding mode
22543 is supported for each floating-point type.
22544 (do_test): Pass new arguments to test_in_one_mode using
22545 ROUNDING_TESTS.
22546
225472013-06-13 Roland McGrath <roland@hack.frob.com>
22548
22549 * posix/tst-waitid.c (do_test): Distinguish different instances of
22550 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22551 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22552 before entering the kernel for waitpid.
22553
225542013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22555
22556 * NEWS: Fix note on clock function precision. Text by Roland
22557 McGrath.
22558
225592013-06-13 Roland McGrath <roland@hack.frob.com>
22560
22561 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22562 it into place only when and if the sanity check passes.
22563
225642013-06-13 Joseph Myers <joseph@codesourcery.com>
22565
22566 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22567 output for whether conversion result is exact. Take argument
22568 indicating whether type is IBM long double.
22569 (round_for_all): Change need_exact field to ibm_ld.
22570 * stdlib/tst-strtod-round.c (struct exactness): New type.
22571 (struct test): Change bool ld_ok field to struct exactness exact.
22572 (TEST): Update all definitions for change to field.
22573 (tests): Regenerate array contents.
22574 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22575 field value. Check for IBM long double here.
22576 (do_test): Update calls to test_in_one_mode.
22577
225782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22579
22580 [BZ #12515]
22581 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22582 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22583
225842013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22585
22586 [BZ #15605]
22587 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22588 generated by the compiler on loop optimizations.
22589 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22590 general definitions.
22591
225922013-06-12 Joseph Myers <joseph@codesourcery.com>
22593
22594 * math/bug-nextafter.c: Include <math-tests.h>.
22595 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22596 the relevant type.
22597 * math/bug-nexttoward.c: Include <math-tests.h>.
22598 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22599 the relevant type.
22600 * math/test-misc.c: Include <math-tests.h>.
22601 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22602 the relevant type.
22603
226042013-06-12 Andreas Jaeger <aj@suse.de>
22605
22606 * po/ia.po: Update Interlingua translation from translation
22607 project.
22608
226092013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22610
22611 * include/fenv.h: Include stdbool.h.
22612 (struct rm_ctx): New structure.
22613 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22614 Define macro.
22615 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22616 (SET_RESTORE_ROUNDF): Likewise.
22617 (SET_RESTORE_ROUNDL): Likewise.
22618 (SET_RESTORE_ROUND_NOEX): Likewise.
22619 (SET_RESTORE_ROUND_NOEXF): Likewise.
22620 (SET_RESTORE_ROUND_NOEXL): Likewise.
22621 (SET_RESTORE_ROUND_53BIT): Likewise.
22622 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22623 (libc_feresetround_noexf_ctx): Likewise.
22624 (libc_feresetround_noexl_ctx): Likewise.
22625 (libc_feholdsetround_53bit_ctx): Likewise.
22626 (libc_feresetround_53bit_ctx): Likewise.
22627 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22628 (libc_feholdexcept_setround_sse_ctx): New function.
22629 (libc_fesetenv_sse_ctx): Likewise.
22630 (libc_feupdateenv_sse_ctx): Likewise.
22631 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22632 (libc_feholdexcept_setround_387_ctx): Likewise.
22633 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22634 (libc_feholdsetround_387_prec_ctx): Likewise.
22635 (libc_feholdsetround_387_ctx): Likewise.
22636 (libc_feholdsetround_387_53bit_ctx): Likewise.
22637 (libc_feholdsetround_sse_ctx): Likewise.
22638 (libc_feresetround_sse_ctx): Likewise.
22639 (libc_feresetround_387_ctx): Likewise.
22640 (libc_feupdateenv_387_ctx): Likewise.
22641 (libc_feholdexcept_setroundf_ctx): Define macro.
22642 (libc_fesetenvf_ctx): Likewise.
22643 (libc_feupdateenvf_ctx): Likewise.
22644 (libc_feholdsetroundf_ctx): Likewise.
22645 (libc_feresetroundf_ctx): Likewise.
22646 (libc_feholdexcept_setround_ctx): Likewise.
22647 (libc_fesetenv_ctx): Likewise.
22648 (libc_feupdateenv_ctx): Likewise.
22649 (libc_feholdsetround_ctx): Likewise.
22650 (libc_feresetround_ctx): Likewise.
22651 (libc_feholdexcept_setroundl_ctx): Likewise.
22652 (libc_feupdateenvl_ctx): Likewise.
22653 (libc_feholdsetroundl_ctx): Likewise.
22654 (libc_feresetroundl_ctx): Likewise.
22655 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22656 (libc_feresetround_53bit_ctx): Likewise.
22657
226582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22659
22660 * locale/iso-639.def: Convert to UTF-8.
22661
226622013-06-11 Joseph Myers <joseph@codesourcery.com>
22663
22664 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22665 (EXCEPTION_TESTS_double): Likewise.
22666 (EXCEPTION_TESTS_long_double): Likewise.
22667 (EXCEPTION_TESTS): Likewise.
22668 * math/libm-test.inc (test_exceptions): Only test exceptions if
22669 EXCEPTION_TESTS (FLOAT).
22670
226712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22672
22673 * benchtests/Makefile (string-bench): Add strcpy_chk and
22674 stpcpy_chk.
22675 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22676 * benchtests/bench-stpcpy_chk.c: New file.
22677 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22678 * benchtests/bench-strcpy_chk.c: New file.
22679 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22680 code.
22681 (do_test): Likewise.
22682
226832013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22684
22685 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22686 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22687 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22688 with tabs where appropriate.
22689 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22690 dl-procinfo.h.
22691 [PPC_PLATFORM_PPC440]: Likewise.
22692 [PPC_PLATFORM_PPC464]: Likewise.
22693 [PPC_PLATFORM_PPC476]: Likewise.
22694 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22695 ppc464, and ppc476 platform strings merging from ports/
22696 dl-procinfo.h.
22697
226982013-06-11 Andreas Schwab <schwab@suse.de>
22699
22700 [BZ #14991]
22701 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22702 (from_ucs4_idx): Regenerate.
22703 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22704 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22705 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22706 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22707 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22708 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22709 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22710 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22711 from FROM_LOOP and TO_LOOP specific macros.
22712 (BODY): Handle combining characters.
22713 * iconvdata/BIG5HKSCS.irreversible: Update.
22714 * iconvdata/BIG5HKSCS.precomposed: New file.
22715 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22716 characters.
22717 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22718
227192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22720
22721 * include/sys/time.h: Fix indentation and add copyright header.
22722
22723 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22724 (do_test): Likewise.
22725 * string/test-memchr.c (do_one_test): Likewise.
22726 (do_test): Likewise.
22727 * string/test-memcmp.c (do_one_test): Likewise.
22728 (do_test): Likewise.
22729 * string/test-memcpy.c (do_one_test): Likewise.
22730 (do_test): Likewise.
22731 * string/test-memmem.c (do_one_test): Likewise.
22732 (do_test): Likewise.
22733 (do_random_tests): Likewise.
22734 * string/test-memmove.c (do_one_test): Likewise.
22735 (do_test): Likewise.
22736 * string/test-memset.c (do_one_test): Likewise.
22737 (do_test): Likewise.
22738 * string/test-rawmemchr.c (do_one_test): Likewise.
22739 (do_test): Likewise.
22740 * string/test-strcasecmp.c (do_one_test): Likewise.
22741 (do_test): Likewise.
22742 * string/test-strcasestr.c (do_one_test): Likewise.
22743 (do_test): Likewise.
22744 * string/test-strcat.c (do_one_test): Likewise.
22745 (do_test): Likewise.
22746 * string/test-strchr.c (do_one_test): Likewise.
22747 (do_test): Likewise.
22748 * string/test-strcmp.c (do_one_test): Likewise.
22749 (do_test): Likewise.
22750 * string/test-strcpy.c (do_one_test): Likewise.
22751 (do_test): Likewise.
22752 * string/test-string.h: Likewise.
22753 (test_init): Likewise.
22754 * string/test-strlen.c (do_one_test): Likewise.
22755 (do_test): Likewise.
22756 * string/test-strncasecmp.c (do_one_test): Likewise.
22757 (do_test): Likewise.
22758 * string/test-strncat.c (do_one_test): Likewise.
22759 (do_test): Likewise.
22760 * string/test-strncmp.c (do_one_test): Likewise.
22761 (do_test_limit): Likewise.
22762 (do_test): Likewise.
22763 * string/test-strncpy.c (do_one_test): Likewise.
22764 (do_test): Likewise.
22765 * string/test-strnlen.c (do_one_test): Likewise.
22766 (do_test): Likewise.
22767 * string/test-strpbrk.c (do_one_test): Likewise.
22768 (do_test): Likewise.
22769 * string/test-strrchr.c (do_one_test): Likewise.
22770 (do_test): Likewise.
22771 * string/test-strspn.c (do_one_test): Likewise.
22772 (do_test): Likewise.
22773 * string/test-strstr.c (do_one_test): Likewise.
22774 (do_test): Likewise.
22775
22776 * benchtests/Makefile (string-bench): Add string benchmarks.
22777 * benchtests/bench-bcopy-ifunc.c: New file.
22778 * benchtests/bench-bcopy.c: New file.
22779 * benchtests/bench-bzero-ifunc.c: New file.
22780 * benchtests/bench-bzero.c: New file.
22781 * benchtests/bench-memccpy-ifunc.c: New file.
22782 * benchtests/bench-memccpy.c: New file.
22783 * benchtests/bench-memchr-ifunc.c: New file.
22784 * benchtests/bench-memchr.c: New file.
22785 * benchtests/bench-memcmp-ifunc.c: New file.
22786 * benchtests/bench-memcmp.c: New file.
22787 * benchtests/bench-memmem-ifunc.c: New file.
22788 * benchtests/bench-memmem.c: New file.
22789 * benchtests/bench-memmove-ifunc.c: New file.
22790 * benchtests/bench-memmove.c: New file.
22791 * benchtests/bench-mempcpy-ifunc.c: New file.
22792 * benchtests/bench-mempcpy.c: New file.
22793 * benchtests/bench-memset-ifunc.c: New file.
22794 * benchtests/bench-memset.c: New file.
22795 * benchtests/bench-rawmemchr-ifunc.c: New file.
22796 * benchtests/bench-rawmemchr.c: New file.
22797 * benchtests/bench-stpcpy-ifunc.c: New file.
22798 * benchtests/bench-stpcpy.c: New file.
22799 * benchtests/bench-stpncpy-ifunc.c: New file.
22800 * benchtests/bench-stpncpy.c: New file.
22801 * benchtests/bench-strcasecmp-ifunc.c: New file.
22802 * benchtests/bench-strcasecmp.c: New file.
22803 * benchtests/bench-strcasestr-ifunc.c: New file.
22804 * benchtests/bench-strcasestr.c: New file.
22805 * benchtests/bench-strcat-ifunc.c: New file.
22806 * benchtests/bench-strcat.c: New file.
22807 * benchtests/bench-strchr-ifunc.c: New file.
22808 * benchtests/bench-strchr.c: New file.
22809 * benchtests/bench-strchrnul-ifunc.c: New file.
22810 * benchtests/bench-strchrnul.c: New file.
22811 * benchtests/bench-strcmp-ifunc.c: New file.
22812 * benchtests/bench-strcmp.c: New file.
22813 * benchtests/bench-strcpy-ifunc.c: New file.
22814 * benchtests/bench-strcpy.c: New file.
22815 * benchtests/bench-strcspn-ifunc.c: New file.
22816 * benchtests/bench-strcspn.c: New file.
22817 * benchtests/bench-strlen-ifunc.c: New file.
22818 * benchtests/bench-strlen.c: New file.
22819 * benchtests/bench-strncasecmp-ifunc.c: New file.
22820 * benchtests/bench-strncasecmp.c: New file.
22821 * benchtests/bench-strncat-ifunc.c: New file.
22822 * benchtests/bench-strncat.c: New file.
22823 * benchtests/bench-strncmp-ifunc.c: New file.
22824 * benchtests/bench-strncmp.c: New file.
22825 * benchtests/bench-strncpy-ifunc.c: New file.
22826 * benchtests/bench-strncpy.c: New file.
22827 * benchtests/bench-strnlen-ifunc.c: New file.
22828 * benchtests/bench-strnlen.c: New file.
22829 * benchtests/bench-strpbrk-ifunc.c: New file.
22830 * benchtests/bench-strpbrk.c: New file.
22831 * benchtests/bench-strrchr-ifunc.c: New file.
22832 * benchtests/bench-strrchr.c: New file.
22833 * benchtests/bench-strspn-ifunc.c: New file.
22834 * benchtests/bench-strspn.c: New file.
22835 * benchtests/bench-strstr-ifunc.c: New file.
22836 * benchtests/bench-strstr.c: New file.
22837
22838 * benchtests/Makefile: Disable parallel execution of targets.
22839 (string-bench): Add memcpy.
22840 (benchset): New variable to store a list of benchmark sets.
22841 (bench-func): Renamed from bench.
22842 (bench-set): New target.
22843 (bench): Depend on bench-func and bench-set.
22844 * benchtests/README: Add section on benchmark sets.
22845 * benchtests/bench-memcpy-ifunc.c: New file.
22846 * benchtests/bench-memcpy.c: New file.
22847 * benchtests/bench-string.h: New file.
22848
228492013-06-11 Andreas Schwab <schwab@suse.de>
22850
22851 [BZ #15577]
22852 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22853 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22854 values in the triple.
22855 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22856 terminator in the group key.
22857
228582013-06-11 Andreas Jaeger <aj@suse.de>
22859
22860 * po/zh_TW.po: Update Chinese (traditional) translation from
22861 translation project.
22862
228632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22864
22865 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22866 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22867 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22868 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22869 (clock_getcpuclockid): Likewise.
22870 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22871 Add weak_alias and libc_hidden_def.
22872 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22873 * rt/clock_gettime.c (clock_gettime): Rename to
22874 __clock_gettime. Add weak_alias and libc_hidden_def.
22875 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22876 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22877 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22878 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22879 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22880 Likewise.
22881 * rt/clock_settime.c (clock_settime): Rename to
22882 __clock_settime. Add weak_alias and libc_hidden_def.
22883 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22884
228852013-06-10 Joseph Myers <joseph@codesourcery.com>
22886
22887 * mach/err_boot.sub: Remove trailing whitespace.
22888 * mach/err_ipc.sub: Likewise.
22889 * mach/err_mach.sub: Likewise.
22890
22891 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22892 (ROUNDING_TESTS_double): Likewise.
22893 (ROUNDING_TESTS_long_double): Likewise.
22894 (ROUNDING_TESTS): Likewise.
22895 * math/libm-test.inc: Include <math-tests.h>.
22896 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22897 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22898 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22899 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22900
229012013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22902
22903 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22904 of assigning.
22905
229062013-06-08 Joseph Myers <joseph@codesourcery.com>
22907
22908 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22909 otherwise empty TRANS lines.
22910 * sysdeps/gnu/errlist.c: Regenerated.
22911
22912 * catgets/gencat.c (error_print): Use (void) in function
22913 definition.
22914 * crypt/crypt_util.c (__init_des): Likewise.
22915 * crypt/speeds.c (Stop): Likewise.
22916 (main): Likewise.
22917 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22918 * inet/ruserpass.c (token): Likewise.
22919 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22920 * intl/localealias.c (extend_alias_table): Likewise.
22921 * intl/plural-exp.c (init_germanic_plural): Likewise.
22922 * libio/fcloseall.c (__fcloseall): Likewise.
22923 * libio/genops.c (_IO_flush_all): Likewise.
22924 (_IO_flush_all_linebuffered): Likewise.
22925 (_IO_cleanup): Likewise.
22926 (_IO_iter_begin): Likewise.
22927 (_IO_iter_end): Likewise.
22928 (_IO_list_lock): Likewise.
22929 (_IO_list_unlock): Likewise.
22930 (_IO_list_resetlock): Likewise.
22931 * libio/getchar.c (getchar): Likewise.
22932 * libio/getchar_u.c (getchar_unlocked): Likewise.
22933 * libio/getwchar.c (getwchar): Likewise.
22934 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22935 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22936 * login/getpt.c (__getpt): Likewise.
22937 * login/tst-utmp.c (main): Likewise.
22938 * malloc/hooks.c (__malloc_check_init): Likewise.
22939 * malloc/malloc.c (__malloc_stats): Likewise.
22940 * malloc/mtrace.c (tr_break): Likewise.
22941 (mtrace): Likewise.
22942 (muntrace): Likewise.
22943 * misc/fstab.c (endfsent): Likewise.
22944 * misc/getclktck.c (__getclktck): Likewise.
22945 * misc/getdtsz.c (__getdtablesize): Likewise.
22946 * misc/gethostid.c (gethostid): Likewise.
22947 * misc/getpagesize.c (__getpagesize): Likewise.
22948 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22949 (__get_nprocs): Likewise.
22950 (__get_phys_pages): Likewise.
22951 (__get_avphys_pages): Likewise.
22952 * misc/getttyent.c (getttyent): Likewise.
22953 (setttyent): Likewise.
22954 (endttyent): Likewise.
22955 * misc/getusershell.c (getusershell): Likewise.
22956 (endusershell): Likewise.
22957 (setusershell): Likewise.
22958 (initshells): Likewise.
22959 * misc/hsearch.c (__hdestroy): Likewise.
22960 * misc/sync.c (sync): Likewise.
22961 * misc/syslog.c (closelog_internal): Likewise.
22962 (closelog): Likewise.
22963 * misc/ttyslot.c (ttyslot): Likewise.
22964 * misc/vhangup.c (vhangup): Likewise.
22965 * posix/fork.c (__fork): Likewise.
22966 * posix/getegid.c (__getegid): Likewise.
22967 * posix/geteuid.c (__geteuid): Likewise.
22968 * posix/getgid.c (__getgid): Likewise.
22969 * posix/getpid.c (__getpid): Likewise.
22970 * posix/getppid.c (__getppid): Likewise.
22971 * posix/getuid.c (__getuid): Likewise.
22972 * posix/pause.c (pause): Likewise.
22973 * posix/setpgrp.c (setpgrp): Likewise.
22974 * posix/setsid.c (__setsid): Likewise.
22975 * posix/test-vfork.c (noop): Likewise.
22976 * resolv/gethnamaddr.c (_endhtent): Likewise.
22977 (_gethtent): Likewise.
22978 (ht_endhostent): Likewise.
22979 (gethostent): Likewise.
22980 (dns_service): Likewise.
22981 * stdlib/drand48.c (drand48): Likewise.
22982 * stdlib/lrand48.c (lrand48): Likewise.
22983 * stdlib/mrand48.c (mrand48): Likewise.
22984 * stdlib/rand.c (rand): Likewise.
22985 * stdlib/random.c (__random): Likewise.
22986 * stdlib/setenv.c (clearenv): Likewise.
22987 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22988 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22989 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22990 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22991 (__get_nprocs): Likewise.
22992 (__get_phys_pages): Likewise.
22993 (__get_avphys_pages): Likewise.
22994 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22995 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22996 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22997 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22998 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22999 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23000 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23001 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23002 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23003 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23004 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23005 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23006 * sysdeps/posix/clock.c (clock): Likewise.
23007 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23008 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23009 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23010 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23011 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23013 (__get_nprocs_conf): Likewise.
23014 (__get_phys_pages): Likewise.
23015 (__get_avphys_pages): Likewise.
23016 * time/clock.c (clock): Likewise.
23017 * time/tzset.c (__tzname_max): Likewise.
23018
230192013-06-07 Joseph Myers <joseph@codesourcery.com>
23020
23021 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23022 (__bswap_32): Do not use "register".
23023 * crypt/crypt.c (_ufc_doit_r): Likewise.
23024 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23025 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23026 * gmon/gmon.c (__monstartup): Likewise.
23027 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23028 * hurd/hurdmalloc.c (more_memory): Likewise.
23029 (malloc): Likewise.
23030 (free): Likewise.
23031 (realloc): Likewise.
23032 (malloc_fork_prepare): Likewise.
23033 (malloc_fork_parent): Likewise.
23034 (malloc_fork_child): Likewise.
23035 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23036 (_svcauth_des): Likewise.
23037 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23038 * inet/inet_net.c (inet_network): Likewise.
23039 * inet/inet_netof.c (inet_netof): Likewise.
23040 * inet/rcmd.c (__validuser2_sa): Likewise.
23041 * io/fts.c (fts_open): Likewise.
23042 (fts_load): Likewise.
23043 (fts_close): Likewise.
23044 (fts_read): Likewise.
23045 (fts_children): Likewise.
23046 (fts_build): Likewise.
23047 (fts_stat): Likewise.
23048 (fts_sort): Likewise.
23049 (fts_alloc): Likewise.
23050 (fts_lfree): Likewise.
23051 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23052 (_IO_file_xsgetn): Likewise.
23053 (_IO_file_xsgetn_mmap): Likewise.
23054 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23055 (_IO_cookie_write): Likewise.
23056 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23057 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23058 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23059 * malloc/obstack.c (_obstack_begin): Likewise.
23060 (_obstack_begin_1): Likewise.
23061 (_obstack_newchunk): Likewise.
23062 (_obstack_allocated_p): Likewise.
23063 (obstack_free): Likewise.
23064 (_obstack_memory_used): Likewise.
23065 * misc/getttyent.c (getttynam): Likewise.
23066 (getttyent): Likewise.
23067 (skip): Likewise.
23068 (value): Likewise.
23069 * misc/getusershell.c (initshells): Likewise.
23070 * misc/syslog.c (__vsyslog_chk): Likewise.
23071 * misc/ttyslot.c (ttyslot): Likewise.
23072 * nis/nis_hash.c (__nis_hash): Likewise.
23073 * posix/fnmatch_loop.c (FCT): Likewise.
23074 * posix/getconf.c (print_all): Likewise.
23075 (main): Likewise.
23076 * posix/getopt.c (exchange): Likewise.
23077 * posix/glob.c (globfree): Likewise.
23078 (prefix_array): Likewise.
23079 (__glob_pattern_type): Likewise.
23080 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23081 (NS_GET32): Likewise.
23082 (NS_PUT16): Likewise.
23083 (NS_PUT32): Likewise.
23084 * resolv/gethnamaddr.c (getanswer): Likewise.
23085 (gethostbyname2): Likewise.
23086 (gethostbyaddr): Likewise.
23087 (_gethtent): Likewise.
23088 (_gethtbyname2): Likewise.
23089 (_gethtbyaddr): Likewise.
23090 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23091 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23092 * resolv/res_init.c (__res_vinit): Likewise.
23093 (net_mask): Likewise.
23094 * resolv/res_mkquery.c (outchar): Likewise.
23095 (PRINT): Likewise.
23096 * stdio-common/printf_fp.c (outchar): Likewise.
23097 (PRINT): Likewise.
23098 * stdio-common/printf_fphex.c (outchar): Likewise.
23099 (PRINT): Likewise.
23100 * stdio-common/printf_size.c (outchar): Likewise.
23101 (PRINT): Likewise.
23102 * stdio-common/test_rdwr.c (main): Likewise.
23103 * stdio-common/tfformat.c (matches): Likewise.
23104 * stdio-common/vfprintf.c (outchar): Likewise.
23105 (printf_unknown): Likewise.
23106 (buffered_vfprintf): Likewise.
23107 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23108 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23109 (ReadFile): Likewise.
23110 * stdlib/qsort.c (SWAP): Likewise.
23111 (_quicksort): Likewise.
23112 * stdlib/setenv.c (__add_to_environ): Likewise.
23113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23114 * stdlib/strtol_l.c (__strtol_l): Likewise.
23115 * stdlib/tst-strtod.c (main): Likewise.
23116 * stdlib/tst-strtol.c (main): Likewise.
23117 * stdlib/tst-strtoll.c (main): Likewise.
23118 * string/bits/string2.h (__strcmp_cc): Likewise.
23119 (__strcmp_cg): Likewise.
23120 (__strcspn_c1): Likewise.
23121 (__strcspn_c2): Likewise.
23122 (__strcspn_c3): Likewise.
23123 (__strspn_c1): Likewise.
23124 (__strspn_c2): Likewise.
23125 (__strspn_c3): Likewise.
23126 (__strsep_1c): Likewise.
23127 (__strsep_2c): Likewise.
23128 (__strsep_3c): Likewise.
23129 * string/memccpy.c (__memccpy): Likewise.
23130 * string/stpcpy.c (__stpcpy): Likewise.
23131 * string/strcmp.c (strcmp): Likewise.
23132 * string/strrchr.c (strrchr): Likewise.
23133 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23134 Likewise.
23135 * sysdeps/mach/hurd/getcwd.c
23136 (_hurd_canonicalize_directory_name_internal): Likewise.
23137 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23138 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23139 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23140 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23141 Likewise, in both definitions.
23142 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23143 definitions.
23144 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23145 64] (__bswap_64): Likewise.
23146 * time/test_time.c (main): Likewise.
23147 * time/tzfile.c (__tzfile_read): Likewise.
23148 (__tzfile_compute): Likewise.
23149 * time/tzset.c (__tzset_parse_tz): Likewise.
23150 (tzset_internal): Likewise.
23151 (compute_change): Likewise.
23152 * wcsmbs/wcscat.c (__wcscat): Likewise.
23153 * wcsmbs/wcschr.c (wcschr): Likewise.
23154 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23155 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23156 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23157 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23158 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23159 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23160 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23161 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23162 * wcsmbs/wmemset.c (wmemset): Likewise.
23163
231642013-06-06 Joseph Myers <joseph@codesourcery.com>
23165
23166 * scripts/config.guess: Update to version 2013-05-16.
23167 * scripts/config.sub: Update to version 2013-04-24.
23168 * scripts/install-sh: Update to version 2011-11-20.07.
23169 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23170 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23171
231722013-06-06 Ondřej Bílka <neleai@seznam.cz>
23173
23174 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23175 * elf/sln.c: Likewise.
23176 * hurd/hurd/ioctl.h: Likewise.
23177 * hurd/hurdmalloc.c: Likewise.
23178 * hurd/xattr.c: Likewise.
23179 * include/shlib-compat.h: Likewise.
23180 * inet/ruserpass.c: Likewise.
23181 * libio/iofgets_u.c: Likewise.
23182 * libio/iofgetws_u.c: Likewise.
23183 * locale/programs/ld-identification.c: Likewise.
23184 * locale/programs/ld-time.c: Likewise.
23185 * mach/msg-destroy.c: Likewise.
23186 * nss/nss_files/files-netgrp.c: Likewise.
23187 * resolv/res_data.c: Likewise.
23188 * soft-fp/op-1.h: Likewise.
23189 * soft-fp/op-2.h: Likewise.
23190 * soft-fp/op-4.h: Likewise.
23191 * soft-fp/op-common.h: Likewise.
23192 * stdio-common/printf_fphex.c: Likewise.
23193 * stdlib/strtod_l.c: Likewise.
23194 * sunrpc/rpc/clnt.h: Likewise.
23195 * sysdeps/generic/framestate.c: Likewise.
23196 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23197 * sysdeps/i386/bsd-setjmp.S: Likewise.
23198 * sysdeps/i386/__longjmp.S: Likewise.
23199 * sysdeps/i386/setjmp.S: Likewise.
23200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23201 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23203 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23213 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23214 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23215 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23216 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23218 * sysdeps/ieee754/support.c: Likewise.
23219 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23220 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23221 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23222 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23223 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23224 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23225 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23226 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23227 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23228 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23229 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23230 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23231 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23232 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23233 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23234 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23235 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23237
232382013-06-05 Ondřej Bílka <neleai@seznam.cz>
23239
23240 * posix/transbug.c: Remove executable mode.
23241
232422013-06-05 Joseph Myers <joseph@codesourcery.com>
23243
23244 * crypt/speeds.c: Remove trailing whitespace.
23245 * dlfcn/default.c: Likewise.
23246 * elf/ifuncdep2.c: Likewise.
23247 * elf/ifuncmain1.c: Likewise.
23248 * elf/ifuncmain1vis.c: Likewise.
23249 * elf/testobj.h: Likewise.
23250 * elf/tst-stackguard1.c: Likewise.
23251 * gmon/sys/gmon.h: Likewise.
23252 * hurd/hurdmsg.c: Likewise.
23253 * hurd/new-fd.c: Likewise.
23254 * hurd/ports-get.c: Likewise.
23255 * iconvdata/ibm1008_420.c: Likewise.
23256 * inet/tst-getni1.c: Likewise.
23257 * inet/tst-getni2.c: Likewise.
23258 * libio/ioungetc.c: Likewise.
23259 * libio/wfiledoalloc.c: Likewise.
23260 * manual/libm-err-tab.pl: Likewise.
23261 * math/w_dremf.c: Likewise.
23262 * misc/ftruncate.c: Likewise.
23263 * posix/bug-glob2.c: Likewise.
23264 * posix/tst-pcre.c: Likewise.
23265 * posix/wait4.c: Likewise.
23266 * resolv/README: Likewise.
23267 * resolv/res_debug.h: Likewise.
23268 * resolv/tst-inet_ntop.c: Likewise.
23269 * setjmp/bug269-setjmp.c: Likewise.
23270 * soft-fp/extended.h: Likewise.
23271 * soft-fp/op-1.h: Likewise.
23272 * soft-fp/op-2.h: Likewise.
23273 * soft-fp/op-4.h: Likewise.
23274 * soft-fp/op-8.h: Likewise.
23275 * soft-fp/testit.c: Likewise.
23276 * stdio-common/bug16.c: Likewise.
23277 * stdlib/random.c: Likewise.
23278 * sunrpc/rpcsvc/rquota.x: Likewise.
23279 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23280 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23281 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23282 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23283 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23284 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23285 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23286 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23287 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23288 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23289 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23290 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23291 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23292 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23294 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23297 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23300 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23306 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23308 * sysdeps/ieee754/s_lib_version.c: Likewise.
23309 * sysdeps/mach/hurd/check_fds.c: Likewise.
23310 * sysdeps/mach/hurd/getsockname.c: Likewise.
23311 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23312 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23313 * sysdeps/powerpc/bits/link.h: Likewise.
23314 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23315 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23316 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23317 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23318 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23319 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23320 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23321 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23322 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23323 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23324 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23325 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23326 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23327 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23328 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23329 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23331 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23332 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23333 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23334 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23335 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23337 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23338 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23339 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23340 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23341 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23342 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23343 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23344 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23345 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23347 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23348 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23349 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23350 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23351 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23352 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23353 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23354 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23355 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23356 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23357 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23358 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23359 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23361 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23362 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23363 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23366 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23367 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23368 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23369 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23370 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23371 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23372 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23373 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23374 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23375 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23376 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23377 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23378 * sysdeps/powerpc/sysdep.h: Likewise.
23379 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23380 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23381 * sysdeps/sh/dl-trampoline.S: Likewise.
23382 * sysdeps/sh/memset.S: Likewise.
23383 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23384 * sysdeps/sh/strlen.S: Likewise.
23385 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23386 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23387 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23388 * sysdeps/sparc/sparc32/rem.S: Likewise.
23389 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23390 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23391 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23392 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23393 * sysdeps/sparc/sparc32/urem.S: Likewise.
23394 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23395 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23396 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23397 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23398 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23399 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23400 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23401 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23402 * sysdeps/unix/bsd/times.c: Likewise.
23403 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23404 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23408 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23409 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23410 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23411 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23412 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23413 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23414 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23415 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23416 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23417 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23418 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23419 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23420 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23421 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23422 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23423 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23424 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23425 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23426 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23427 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23428 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23429 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23430 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23431 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23432 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23433 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23434 * sysdeps/x86_64/strcspn.S: Likewise.
23435
234362013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23437
23438 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23439 generated file. Regenerate properly from gen-translit.pl.
23440 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23441 locale/C-translit.h.
23442
234432013-06-05 Andreas Schwab <schwab@suse.de>
23444
23445 [BZ #15100]
23446 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23447 week as 6 instead of -1.
23448 * time/tst-strptime.c (day_tests): Add test case.
23449
234502013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23451
23452 * sysdeps/generic/math_private.h
23453 (libc_feholdexcept_setround_53bit): Replace with
23454 libc_feholdsetround_53bit.
23455 (libc_feupdateenv_53bit): Replace with
23456 libc_feresetround_53bit.
23457 (SET_RESTORE_ROUND_53BIT): Adjust.
23458
234592013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23460
23461 * string/test-strchrnul.c: Add copyright header.
23462
23463 * posix/tst-getaddrinfo4.c: Increase test timeout.
23464
234652013-06-03 Carlos O'Donell <carlos@redhat.com>
23466
23467 [BZ #15536]
23468 * math/libm-test.inc (MAX_EXP): Remove
23469 (MIN_EXP): Define.
23470 (ulp): Use MIN_EXP - MANT_DIG.
23471 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23472
234732013-05-31 Carlos O'Donell <carlos@redhat.com>
23474
23475 * po/be.po: Revert last change.
23476 * po/zh_CN.po: Likewise.
23477 * po/header.pot: Likewise.
23478
234792013-05-31 Joseph Myers <joseph@codesourcery.com>
23480
23481 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23482 link-libc-deps to empty as target-specific variable.
23483 * Makerules (link-libc-args): New variable.
23484 (libc-for-link): Likewise.
23485 (link-libc-deps): Likewise.
23486 (lib%.so): Depend on $(link-libc-deps). Link with
23487 $(link-libc-args).
23488 (build-module): Link with $(link-libc-args).
23489 (build-module-asneeded): Likewise.
23490 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23491 list of objects.
23492 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23493 target-specific variable.
23494 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23495 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23496 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23497 libc.
23498 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23499 libc and ld.so.
23500 ($(objpfx)libpcprofile.so): Likewise.
23501 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23502 libc_nonshared.a.
23503 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23504 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23505 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23506 $(link-libc-deps).
23507 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23508 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23509 * login/Makefile ($(objpfx)libutil.so): Likewise.
23510 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23511 * math/Makefile ($(objpfx)libm.so): Likewise.
23512 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23513 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23514 variable instead of depending directly on libc.
23515 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23516 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23517 $(link-libc-deps).
23518 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23519 libc.
23520 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23521 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23522 ($(objpfx)libanl.so): Likewise.
23523 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23524 ld.so.
23525 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23526 $(link-libc-deps).
23527 * sysdeps/i386/fpu/Makefile: Remove file.
23528 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23529 ($(objpfx)libm.so): Remove dependency on ld.so.
23530
235312013-05-30 Patsy Franklin <pfrankli@redhat.com>
23532
23533 [BZ # 15553]
23534 * nis/yp_xdr.c (XDRMAXNAME): Define.
23535 (XDRMAXRECORD): Define.
23536 (xdr_domainname): Use XDRMAXNAME.
23537 (xdr_mapname): Likewise.
23538 (xdr_peername): Likewise.
23539 (xdr_keydat): Use XDRMAXRECORD.
23540 (xdr_valdat): Likewise.
23541
235422013-05-30 Jeff Law <law@redhat.com>
23543
23544 [BZ #14256]
23545 * manual/errno.texi (ESTALE): Update to account for more than
23546 just NFS file systems.
23547 * sysdeps/gnu/errlist.c: Regenerated.
23548
235492013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23550
23551 [BZ #15465]
23552 * elf/Makefile (tests): Add tst-null-argv.
23553 (modules-names): Add tst-null-argv-lib.
23554 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23555 (tst-null-argv-ENV): Set environment for tst-null-argv.
23556 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23557 (RTLD_PROGNAME): New macro.
23558 * elf/tst-null-argv.c: New test case.
23559 * elf/tst-null-argv-lib.c: Library for test case.
23560 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23561 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23562 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23563 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23564 * elf/dl-init.c (call_init): Likewise.
23565 (_dl_init): Likewise.
23566 * elf/dl-load.c (print_search_path): Likewise.
23567 (_dl_map_object): Likewise.
23568 * elf/dl-lookup.c (do_lookup_x): Likewise.
23569 (add_dependency): Likewise.
23570 (_dl_lookup_symbol_x): Likewise.
23571 (_dl_debug_bindings): Likewise.
23572 * elf/dl-open.c (_dl_show_scope): Likewise.
23573 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23574 * elf/dl-version.c (match_symbol): Likewise.
23575 (_dl_check_map_versions): Likewise.
23576 * elf/rtld.c (dl_main): Likewise.
23577 (print_unresolved): Use RTLD_PROGNAME.
23578 (print_missing_version): Likewise.
23579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23580 (elf_machine_rela): Likewise.
23581 * sysdeps/powerpc/powerpc32/dl-machine.c
23582 (__process_machine_rela): Likewise.
23583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23584 Likewise.
23585 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23586 Likewise.
23587 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23588 Likewise.
23589 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23591 Likewise.
23592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23593 Likewise.
23594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23595
235962013-05-28 Carlos O'Donell <carlos@redhat.com>
23597
23598 * po/be.po: Add descriptive title.
23599 * po/zh_CN.po: Likewise.
23600 * po/header.pot: Likewise.
23601
236022013-05-28 Mike Frysinger <vapier@gentoo.org>
23603
23604 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23605 error message.
23606 (enlarge_archive): Likewise.
23607
236082013-05-28 Ben North <ben@redfrontdoor.org>
23609
23610 * manual/arith.texi (frexp): It is the magnitude of the return
23611 value which lies in [0.5, 1), not the return value itself.
23612
236132013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23614
23615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23616
236172013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23618
23619 * stdio-common/bug26.c (main): Correct fscanf template.
23620
23621 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23622 declare _dl_skip_args.
23623
23624 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23625 Don't declare.
23626
23627 * manual/platform.texi: Add missing @end deftypefun.
23628
236292013-05-24 Joseph Myers <joseph@codesourcery.com>
23630
23631 [BZ #15529]
23632 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23633 bit of mantissa of 2^16382.
23634 * math/libm-test.inc (hypot_test_data): Add more tests.
23635
23636 * math/libm-test.inc: Add drem and pow10 to list of tested
23637 functions.
23638 (pow10_test): New function.
23639 (drem_test): Likewise.
23640 (drem_test_tonearest): Likewise.
23641 (drem_test_towardzero): Likewise.
23642 (drem_test_downward): Likewise.
23643 (drem_test_upward): Likewise.
23644 (main): Call the new functions.
23645
23646 * math/libm-test.inc (finite_test_data): Remove.
23647 (finite_test): Run tests from isfinite_test_data.
23648 (gamma_test_data): Remove.
23649 (gamma_test): Run tests from lgamma_test_data.
23650 * sysdeps/i386/fpu/libm-test-ulps: Update.
23651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23652
236532013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23654
23655 * manual/platform.texi: Add PowerPC PPR function set documentation.
23656 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23657 implementation.
23658
236592013-05-24 Carlos O'Donell <carlos@redhat.com>
23660
23661 * math/libm-test.inc (MAX_EXP): Define.
23662 (ULPDIFF): Define.
23663 (ulp): New function.
23664 (check_float_internal): Use ULPDIFF.
23665 (cpow_test): Disable failing test.
23666 (check_ulp): Test ulp() implemetnation.
23667 (main): Call check_ulp before starting tests.
23668
236692013-05-24 Joseph Myers <joseph@codesourcery.com>
23670
23671 * math/gen-libm-test.pl (generate_testfile): Do not handle
23672 START_DATA and END_DATA.
23673 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23674 END_DATA.
23675 (acos_tonearest_test_data): Likewise.
23676 (acos_towardzero_test_data): Likewise.
23677 (acos_downward_test_data): Likewise.
23678 (acos_upward_test_data): Likewise.
23679 (acosh_test_data): Likewise.
23680 (asin_test_data): Likewise.
23681 (asin_tonearest_test_data): Likewise.
23682 (asin_towardzero_test_data): Likewise.
23683 (asin_downward_test_data): Likewise.
23684 (asin_upward_test_data): Likewise.
23685 (asinh_test_data): Likewise.
23686 (atan_test_data): Likewise.
23687 (atanh_test_data): Likewise.
23688 (atan2_test_data): Likewise.
23689 (cabs_test_data): Likewise.
23690 (cacos_test_data): Likewise.
23691 (cacosh_test_data): Likewise.
23692 (carg_test_data): Likewise.
23693 (casin_test_data): Likewise.
23694 (casinh_test_data): Likewise.
23695 (catan_test_data): Likewise.
23696 (catanh_test_data): Likewise.
23697 (cbrt_test_data): Likewise.
23698 (ccos_test_data): Likewise.
23699 (ccosh_test_data): Likewise.
23700 (ceil_test_data): Likewise.
23701 (cexp_test_data): Likewise.
23702 (cimag_test_data): Likewise.
23703 (clog_test_data): Likewise.
23704 (clog10_test_data): Likewise.
23705 (conj_test_data): Likewise.
23706 (copysign_test_data): Likewise.
23707 (cos_test_data): Likewise.
23708 (cos_tonearest_test_data): Likewise.
23709 (cos_towardzero_test_data): Likewise.
23710 (cos_downward_test_data): Likewise.
23711 (cos_upward_test_data): Likewise.
23712 (cosh_test_data): Likewise.
23713 (cosh_tonearest_test_data): Likewise.
23714 (cosh_towardzero_test_data): Likewise.
23715 (cosh_downward_test_data): Likewise.
23716 (cosh_upward_test_data): Likewise.
23717 (cpow_test_data): Likewise.
23718 (cproj_test_data): Likewise.
23719 (creal_test_data): Likewise.
23720 (csin_test_data): Likewise.
23721 (csinh_test_data): Likewise.
23722 (csqrt_test_data): Likewise.
23723 (ctan_test_data): Likewise.
23724 (ctan_tonearest_test_data): Likewise.
23725 (ctan_towardzero_test_data): Likewise.
23726 (ctan_downward_test_data): Likewise.
23727 (ctan_upward_test_data): Likewise.
23728 (ctanh_test_data): Likewise.
23729 (ctanh_tonearest_test_data): Likewise.
23730 (ctanh_towardzero_test_data): Likewise.
23731 (ctanh_downward_test_data): Likewise.
23732 (ctanh_upward_test_data): Likewise.
23733 (erf_test_data): Likewise.
23734 (erfc_test_data): Likewise.
23735 (exp_test_data): Likewise.
23736 (exp_tonearest_test_data): Likewise.
23737 (exp_towardzero_test_data): Likewise.
23738 (exp_downward_test_data): Likewise.
23739 (exp_upward_test_data): Likewise.
23740 (exp10_test_data): Likewise.
23741 (exp2_test_data): Likewise.
23742 (expm1_test_data): Likewise.
23743 (fabs_test_data): Likewise.
23744 (fdim_test_data): Likewise.
23745 (finite_test_data): Likewise.
23746 (floor_test_data): Likewise.
23747 (fma_test_data): Likewise.
23748 (fma_towardzero_test_data): Likewise.
23749 (fma_downward_test_data): Likewise.
23750 (fma_upward_test_data): Likewise.
23751 (fmax_test_data): Likewise.
23752 (fmin_test_data): Likewise.
23753 (fmod_test_data): Likewise.
23754 (fpclassify_test_data): Likewise.
23755 (frexp_test_data): Likewise.
23756 (gamma_test_data): Likewise.
23757 (hypot_test_data): Likewise.
23758 (ilogb_test_data): Likewise.
23759 (isfinite_test_data): Likewise.
23760 (isgreater_test_data): Likewise.
23761 (isgreaterequal_test_data): Likewise.
23762 (isinf_test_data): Likewise.
23763 (isless_test_data): Likewise.
23764 (islessequal_test_data): Likewise.
23765 (islessgreater_test_data): Likewise.
23766 (isnan_test_data): Likewise.
23767 (isnormal_test_data): Likewise.
23768 (issignaling_test_data): Likewise.
23769 (isunordered_test_data): Likewise.
23770 (j0_test_data): Likewise.
23771 (j1_test_data): Likewise.
23772 (jn_test_data): Likewise.
23773 (ldexp_test_data): Likewise.
23774 (lgamma_test_data): Likewise.
23775 (lrint_test_data): Likewise.
23776 (lrint_tonearest_test_data): Likewise.
23777 (lrint_towardzero_test_data): Likewise.
23778 (lrint_downward_test_data): Likewise.
23779 (lrint_upward_test_data): Likewise.
23780 (llrint_test_data): Likewise.
23781 (llrint_tonearest_test_data): Likewise.
23782 (llrint_towardzero_test_data): Likewise.
23783 (llrint_downward_test_data): Likewise.
23784 (llrint_upward_test_data): Likewise.
23785 (log_test_data): Likewise.
23786 (log10_test_data): Likewise.
23787 (log1p_test_data): Likewise.
23788 (log2_test_data): Likewise.
23789 (logb_test_data): Likewise.
23790 (logb_downward_test_data): Likewise.
23791 (lround_test_data): Likewise.
23792 (llround_test_data): Likewise.
23793 (modf_test_data): Likewise.
23794 (nearbyint_test_data): Likewise.
23795 (nextafter_test_data): Likewise.
23796 (nexttoward_test_data): Likewise.
23797 (pow_test_data): Likewise.
23798 (pow_tonearest_test_data): Likewise.
23799 (pow_towardzero_test_data): Likewise.
23800 (pow_downward_test_data): Likewise.
23801 (pow_upward_test_data): Likewise.
23802 (remainder_test_data): Likewise.
23803 (remainder_tonearest_test_data): Likewise.
23804 (remainder_towardzero_test_data): Likewise.
23805 (remainder_downward_test_data): Likewise.
23806 (remainder_upward_test_data): Likewise.
23807 (remquo_test_data): Likewise.
23808 (rint_test_data): Likewise.
23809 (rint_tonearest_test_data): Likewise.
23810 (rint_towardzero_test_data): Likewise.
23811 (rint_downward_test_data): Likewise.
23812 (rint_upward_test_data): Likewise.
23813 (round_test_data): Likewise.
23814 (scalb_test_data): Likewise.
23815 (scalbn_test_data): Likewise.
23816 (scalbln_test_data): Likewise.
23817 (signbit_test_data): Likewise.
23818 (sin_test_data): Likewise.
23819 (sin_tonearest_test_data): Likewise.
23820 (sin_towardzero_test_data): Likewise.
23821 (sin_downward_test_data): Likewise.
23822 (sin_upward_test_data): Likewise.
23823 (sincos_test_data): Likewise.
23824 (sinh_test_data): Likewise.
23825 (sinh_tonearest_test_data): Likewise.
23826 (sinh_towardzero_test_data): Likewise.
23827 (sinh_downward_test_data): Likewise.
23828 (sinh_upward_test_data): Likewise.
23829 (sqrt_test_data): Likewise.
23830 (tan_test_data): Likewise.
23831 (tan_tonearest_test_data): Likewise.
23832 (tan_towardzero_test_data): Likewise.
23833 (tan_downward_test_data): Likewise.
23834 (tan_upward_test_data): Likewise.
23835 (tanh_test_data): Likewise.
23836 (tgamma_test_data): Likewise.
23837 (trunc_test_data): Likewise.
23838 (y0_test_data): Likewise.
23839 (y1_test_data): Likewise.
23840 (yn_test_data): Likewise.
23841 (significand_test_data): Likewise.
23842
23843 * math/gen-libm-test.pl (@functions): Remove variable.
23844 (generate_testfile): Don't handle START and END lines.
23845 * math/libm-test.inc (START): New macro.
23846 (END): Likewise.
23847 (END_COMPLEX): Likewise.
23848 (acos_test): Use END macro without arguments.
23849 (acos_test_tonearest): Likewise.
23850 (acos_test_towardzero): Likewise.
23851 (acos_test_downward): Likewise.
23852 (acos_test_upward): Likewise.
23853 (acosh_test): Likewise.
23854 (asin_test): Likewise.
23855 (asin_test_tonearest): Likewise.
23856 (asin_test_towardzero): Likewise.
23857 (asin_test_downward): Likewise.
23858 (asin_test_upward): Likewise.
23859 (asinh_test): Likewise.
23860 (atan_test): Likewise.
23861 (atanh_test): Likewise.
23862 (atan2_test): Likewise.
23863 (cabs_test): Likewise.
23864 (cacos_test): Use END_COMPLEX macro without arguments.
23865 (cacosh_test): Likewise.
23866 (carg_test): Use END macro without arguments.
23867 (casin_test): Use END_COMPLEX macro without arguments.
23868 (casinh_test): Likewise.
23869 (catan_test): Likewise.
23870 (catanh_test): Likewise.
23871 (cbrt_test): Use END macro without arguments.
23872 (ccos_test): Use END_COMPLEX macro without arguments.
23873 (ccosh_test): Likewise.
23874 (ceil_test): Use END macro without arguments.
23875 (cexp_test): Use END_COMPLEX macro without arguments.
23876 (cimag_test): Use END macro without arguments.
23877 (clog_test): Use END_COMPLEX macro without arguments.
23878 (clog10_test): Likewise.
23879 (conj_test): Likewise.
23880 (copysign_test): Use END macro without arguments.
23881 (cos_test): Likewise.
23882 (cos_test_tonearest): Likewise.
23883 (cos_test_towardzero): Likewise.
23884 (cos_test_downward): Likewise.
23885 (cos_test_upward): Likewise.
23886 (cosh_test): Likewise.
23887 (cosh_test_tonearest): Likewise.
23888 (cosh_test_towardzero): Likewise.
23889 (cosh_test_downward): Likewise.
23890 (cosh_test_upward): Likewise.
23891 (cpow_test): Use END_COMPLEX macro without arguments.
23892 (cproj_test): Likewise.
23893 (creal_test): Use END macro without arguments.
23894 (csin_test): Use END_COMPLEX macro without arguments.
23895 (csinh_test): Likewise.
23896 (csqrt_test): Likewise.
23897 (ctan_test): Likewise.
23898 (ctan_test_tonearest): Likewise.
23899 (ctan_test_towardzero): Likewise.
23900 (ctan_test_downward): Likewise.
23901 (ctan_test_upward): Likewise.
23902 (ctanh_test): Likewise.
23903 (ctanh_test_tonearest): Likewise.
23904 (ctanh_test_towardzero): Likewise.
23905 (ctanh_test_downward): Likewise.
23906 (ctanh_test_upward): Likewise.
23907 (erf_test): Use END macro without arguments.
23908 (erfc_test): Likewise.
23909 (exp_test): Likewise.
23910 (exp_test_tonearest): Likewise.
23911 (exp_test_towardzero): Likewise.
23912 (exp_test_downward): Likewise.
23913 (exp_test_upward): Likewise.
23914 (exp10_test): Likewise.
23915 (exp2_test): Likewise.
23916 (expm1_test): Likewise.
23917 (fabs_test): Likewise.
23918 (fdim_test): Likewise.
23919 (finite_test): Likewise.
23920 (floor_test): Likewise.
23921 (fma_test): Likewise.
23922 (fma_test_towardzero): Likewise.
23923 (fma_test_downward): Likewise.
23924 (fma_test_upward): Likewise.
23925 (fmax_test): Likewise.
23926 (fmin_test): Likewise.
23927 (fmod_test): Likewise.
23928 (fpclassify_test): Likewise.
23929 (frexp_test): Likewise.
23930 (gamma_test): Likewise.
23931 (hypot_test): Likewise.
23932 (ilogb_test): Likewise.
23933 (isfinite_test): Likewise.
23934 (isgreater_test): Likewise.
23935 (isgreaterequal_test): Likewise.
23936 (isinf_test): Likewise.
23937 (isless_test): Likewise.
23938 (islessequal_test): Likewise.
23939 (islessgreater_test): Likewise.
23940 (isnan_test): Likewise.
23941 (isnormal_test): Likewise.
23942 (issignaling_test): Likewise.
23943 (isunordered_test): Likewise.
23944 (j0_test): Likewise.
23945 (j1_test): Likewise.
23946 (jn_test): Likewise.
23947 (ldexp_test): Likewise.
23948 (lgamma_test): Likewise.
23949 (lrint_test): Likewise.
23950 (lrint_test_tonearest): Likewise.
23951 (lrint_test_towardzero): Likewise.
23952 (lrint_test_downward): Likewise.
23953 (lrint_test_upward): Likewise.
23954 (llrint_test): Likewise.
23955 (llrint_test_tonearest): Likewise.
23956 (llrint_test_towardzero): Likewise.
23957 (llrint_test_downward): Likewise.
23958 (llrint_test_upward): Likewise.
23959 (log_test): Likewise.
23960 (log10_test): Likewise.
23961 (log1p_test): Likewise.
23962 (log2_test): Likewise.
23963 (logb_test): Likewise.
23964 (logb_test_downward): Likewise.
23965 (lround_test): Likewise.
23966 (llround_test): Likewise.
23967 (modf_test): Likewise.
23968 (nearbyint_test): Likewise.
23969 (nextafter_test): Likewise.
23970 (nexttoward_test): Likewise.
23971 (pow_test): Likewise.
23972 (pow_test_tonearest): Likewise.
23973 (pow_test_towardzero): Likewise.
23974 (pow_test_downward): Likewise.
23975 (pow_test_upward): Likewise.
23976 (remainder_test): Likewise.
23977 (remainder_test_tonearest): Likewise.
23978 (remainder_test_towardzero): Likewise.
23979 (remainder_test_downward): Likewise.
23980 (remainder_test_upward): Likewise.
23981 (remquo_test): Likewise.
23982 (rint_test): Likewise.
23983 (rint_test_tonearest): Likewise.
23984 (rint_test_towardzero): Likewise.
23985 (rint_test_downward): Likewise.
23986 (rint_test_upward): Likewise.
23987 (round_test): Likewise.
23988 (scalb_test): Likewise.
23989 (scalbn_test): Likewise.
23990 (scalbln_test): Likewise.
23991 (signbit_test): Likewise.
23992 (sin_test): Likewise.
23993 (sin_test_tonearest): Likewise.
23994 (sin_test_towardzero): Likewise.
23995 (sin_test_downward): Likewise.
23996 (sin_test_upward): Likewise.
23997 (sincos_test): Likewise.
23998 (sinh_test): Likewise.
23999 (sinh_test_tonearest): Likewise.
24000 (sinh_test_towardzero): Likewise.
24001 (sinh_test_downward): Likewise.
24002 (sinh_test_upward): Likewise.
24003 (sqrt_test): Likewise.
24004 (tan_test): Likewise.
24005 (tan_test_tonearest): Likewise.
24006 (tan_test_towardzero): Likewise.
24007 (tan_test_downward): Likewise.
24008 (tan_test_upward): Likewise.
24009 (tanh_test): Likewise.
24010 (tgamma_test): Likewise.
24011 (trunc_test): Likewise.
24012 (y0_test): Likewise.
24013 (y1_test): Likewise.
24014 (yn_test): Likewise.
24015 (significand_test): Likewise.
24016
240172013-05-24 Ondřej Bílka <neleai@seznam.cz>
24018
24019 [BZ #15381]
24020 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24021
240222013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24023
24024 [BZ #14894]
24025 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24026 __ppc_mdoio and __ppc_mdoom.
24027 * manual/platform.texi: Document new functions __ppc_yield,
24028 __ppc_mdoio and __ppc_mdoom.
24029
240302013-05-22 Carlos O'Donell <carlos@redhat.com>
24031
24032 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24033 (main): Mention "tls" pseudo-hwcap is legacy.
24034 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24035
240362013-05-22 Joseph Myers <joseph@codesourcery.com>
24037
24038 * math/gen-libm-test.pl (parse_args): Output only string of
24039 arguments as text for test name, not full call or descriptions of
24040 tests for extra outputs.
24041 (generate_testfile): Do not pass function name to parse_args.
24042 Generate this_func variable from START.
24043 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24044 field to arg_str.
24045 (struct test_ff_f_data): Likewise.
24046 (test_ff_f_data_nexttoward): Likewise.
24047 (struct test_fi_f_data): Likewise.
24048 (struct test_fl_f_data): Likewise.
24049 (struct test_if_f_data): Likewise.
24050 (struct test_fff_f_data): Likewise.
24051 (struct test_c_f_data): Likewise.
24052 (struct test_f_f1_data): Likewise. Remove field extra_name.
24053 (struct test_fF_f1_data): Likewise.
24054 (struct test_ffI_f1_data): Likewise.
24055 (struct test_c_c_data): Rename test_name field to arg_str.
24056 (struct test_cc_c_data): Likewise.
24057 (struct test_f_i_data): Likewise.
24058 (struct test_ff_i_data): Likewise.
24059 (struct test_f_l_data): Likewise.
24060 (struct test_f_L_data): Likewise.
24061 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24062 and extra2_name.
24063 (COMMON_TEST_SETUP): New macro.
24064 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24065 (COMMON_TEST_CLEANUP): Likewise.
24066 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24067 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24068 macros.
24069 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24070 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24071 macros.
24072 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24073 (RUN_TEST_fff_f): Take argument string. Call new setup and
24074 cleanup macros.
24075 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24076 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24077 macros.
24078 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24079 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24080 macros.
24081 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24082 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24083 cleanup macros.
24084 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24085 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24086 cleanup macros.
24087 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24088 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24089 cleanup macros.
24090 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24091 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24092 macros.
24093 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24094 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24095 macros.
24096 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24097 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24098 macros.
24099 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24100 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24101 cleanup macros.
24102 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24103 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24104 cleanup macros.
24105 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24106 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24107 macros.
24108 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24109 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24110 cleanup macros.
24111 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24112 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24113 macros.
24114 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24115 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24116 macros.
24117 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24118 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24119 cleanup macros.
24120 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24121
241222013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24123
24124 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24125 to _sifields.sigfault.
24126 (si_addr_lsb): Define new macro.
24127 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24128 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24129 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24130
241312013-05-03 Carlos O'Donell <carlos at redhat.com>
24132
24133 [BZ #15441]
24134 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24135 returns -1.
24136 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24137 null return -1.
24138 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24139 loading the domain.
24140
241412013-05-22 Joseph Myers <joseph@codesourcery.com>
24142
24143 * math/gen-libm-test.pl (parse_args): Do not include expected
24144 result in test name.
24145 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24146 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24147 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24148 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24149 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24151
241522013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24153
24154 * benchtests/Makefile: Sort function entries.
24155
24156 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24157 tanh, asinh, acosh, atanh.
24158 * benchtests/acos-inputs: New file.
24159 * benchtests/acosh-inputs: New file.
24160 * benchtests/asin-inputs: New file.
24161 * benchtests/asinh-inputs: New file.
24162 * benchtests/atanh-inputs: New file.
24163 * benchtests/cosh-inputs: New file.
24164 * benchtests/log-inputs: New file.
24165 * benchtests/sinh-inputs: New file.
24166 * benchtests/tanh-inputs: New file.
24167
241682013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24169
24170 [BZ #15339]
24171 * posix/tst-getaddrinfo4.c: New test.
24172 * posix/Makefile (tests): Add it.
24173
241742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24175
24176 [BZ #15339]
24177 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24178 when no services were used.
24179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24180 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24181
241822013-05-21 Andreas Schwab <schwab@suse.de>
24183
24184 [BZ #15014]
24185 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24186 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24187 successful.
24188 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24189 redundant variable declarations and reallocation of buffer when
24190 parsing as IPv6 address. Always set NSS status when called from
24191 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24192 buffer too small. Correct computation of needed size.
24193 * nss/Makefile (tests): Add test-digits-dots.
24194 * nss/test-digits-dots.c: New test.
24195
241962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24197
24198 * benchtests/Makefile: Remove instructions for adding
24199 benchmark tests.
24200 * benchtests/README: New file to explain how to execute and
24201 enhance the benchmark tests.
24202
242032013-05-21 Andreas Schwab <schwab@suse.de>
24204
24205 [BZ #15493]
24206 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24207 * setjmp/tst-sigsetjmp.c: New test.
24208
242092013-05-20 Ondřej Bílka <neleai@seznam.cz>
24210
24211 * sysdeps/x86_64/memset.S (memset): New implementation.
24212 (__bzero): Likewise.
24213 (__memset_tail): New function.
24214
242152013-05-20 Ondřej Bílka <neleai@seznam.cz>
24216
24217 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24218 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24219 __memcpy_sse2_unaligned ifunc selection.
24220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24221 Add memcpy-sse2-unaligned.S.
24222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24223 Add: __memcpy_sse2_unaligned.
24224
242252013-05-19 Joseph Myers <joseph@codesourcery.com>
24226
24227 [BZ #15490]
24228 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24229 math_force_eval before restoring floating-point envrionment.
24230 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24232 Likewise.
24233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24234 <math_private.h>.
24235 (__nearbyintl): Use math_force_eval before restoring
24236 floating-point environment.
24237 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24238
24239 * math/gen-libm-test.pl (special_functions): Remove.
24240 (parse_args): Don't handle TEST_extra. Handle functions with no
24241 return value.
24242 * math/libm-test.inc (struct test_sincos_data): Replace with
24243 struct test_fFF_11_data.
24244 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24245 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24246 (sincos_test_data): Change element type to struct
24247 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24248 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24249 RUN_TEST_LOOP_sincos.
24250 * math/README.libm-test: Don't mention special handling of
24251 individual functions.
24252 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24254 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24255 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24256 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24258
24259 * math/gen-libm-test.pl (get_variable): Remove function.
24260 (parse_args): Don't show pointer parameters to call in test
24261 names. Use "extra output N" in test names for extra outputs
24262 rather than naming variables.
24263
242642013-05-18 Joseph Myers <joseph@codesourcery.com>
24265
24266 [BZ #15488]
24267 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24268 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24269 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24270 double tests.
24271 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24272 disable.
24273 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24274 check_long_double.
24275
24276 * math/gen-libm-test.pl (@tests): Remove variable.
24277 ($count): Likewise.
24278 (new_test): Remove function.
24279 (show_exceptions): New function.
24280 (special_functions): Use show_exceptions instead of new_test.
24281 (parse_args): Likewise.
24282 (generate_testfile): Pass only function name in generated call to
24283 print_max_error or print_complex_max_error.
24284 (get_ulps): Do not handle complex tests specially.
24285 (output_test): Rename to ...
24286 (get_all_ulps_for_test): ... this. Return a string rather than
24287 printing to a file. Require ulps to be present.
24288 (output_ulps): Generate arrays rather than #defines.
24289 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24290 (struct ulp_data): New type.
24291 (BUILD_COMPLEX_ULP): Remove macro.
24292 (compare_ulp_data): New function.
24293 (find_ulps): Likewise.
24294 (find_test_ulps): Likewise.
24295 (find_function_ulps): Likewise.
24296 (find_complex_function_ulps): Likewise.
24297 (print_max_error): Determine allowed ulps using
24298 find_function_ulps.
24299 (print_complex_max_error): Determine allowed ulps using
24300 find_complex_function_ulps.
24301 (check_float_internal): Determine max ulps using find_test_ulps.
24302 (check_float): Do not take max_ulp parameter. Update call to
24303 check_float_internal.
24304 (check_complex): Likewise.
24305 (check_int): Do not take max_ulp parameter.
24306 (check_long): Likewise.
24307 (check_bool): Likewise.
24308 (check_longlong): Likewise.
24309 (struct test_f_f_data): Remove max_ulp field.
24310 (struct test_ff_f_data): Likewise.
24311 (struct test_ff_f_data_nexttoward): Likewise.
24312 (struct test_fi_f_data): Likewise.
24313 (struct test_fl_f_data): Likewise.
24314 (struct test_if_f_data): Likewise.
24315 (struct test_fff_f_data): Likewise.
24316 (struct test_c_f_data): Likewise.
24317 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24318 (struct test_fF_f1_data): Likewise.
24319 (struct test_ffI_f1_data): Likewise.
24320 (struct test_c_c_data): Remove max_ulp field.
24321 (struct test_cc_c_data): Likewise.
24322 (struct test_f_i_data): Likewise.
24323 (struct test_ff_i_data): Likewise.
24324 (struct test_f_l_data): Likewise.
24325 (struct test_f_L_data): Likewise.
24326 (struct test_sincos_data): Likewise.
24327 (RUN_TEST_f_f): Do not handle ulps.
24328 (RUN_TEST_LOOP_f_f): Likewise.
24329 (RUN_TEST_2_f): Likewise.
24330 (RUN_TEST_LOOP_2_f): Likewise.
24331 (RUN_TEST_fff_f): Likewise.
24332 (RUN_TEST_LOOP_fff_f): Likewise.
24333 (RUN_TEST_c_f): Likewise.
24334 (RUN_TEST_LOOP_c_f): Likewise.
24335 (RUN_TEST_f_f1): Likewise.
24336 (RUN_TEST_LOOP_f_f1): Likewise.
24337 (RUN_TEST_fF_f1): Likewise.
24338 (RUN_TEST_LOOP_fF_f1): Likewise.
24339 (RUN_TEST_fI_f1): Likewise.
24340 (RUN_TEST_LOOP_fI_f1): Likewise.
24341 (RUN_TEST_ffI_f1): Likewise.
24342 (RUN_TEST_LOOP_ffI_f1): Likewise.
24343 (RUN_TEST_c_c): Likewise.
24344 (RUN_TEST_LOOP_c_c): Likewise.
24345 (RUN_TEST_cc_c): Likewise.
24346 (RUN_TEST_LOOP_cc_c): Likewise.
24347 (RUN_TEST_f_i): Likewise.
24348 (RUN_TEST_LOOP_f_i): Likewise.
24349 (RUN_TEST_f_i_tg): Likewise.
24350 (RUN_TEST_LOOP_f_i_tg): Likewise.
24351 (RUN_TEST_ff_i_tg): Likewise.
24352 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24353 (RUN_TEST_f_b): Likewise.
24354 (RUN_TEST_LOOP_f_b): Likewise.
24355 (RUN_TEST_f_b_tg): Likewise.
24356 (RUN_TEST_LOOP_f_b_tg): Likewise.
24357 (RUN_TEST_f_l): Likewise.
24358 (RUN_TEST_LOOP_f_l): Likewise.
24359 (RUN_TEST_f_L): Likewise.
24360 (RUN_TEST_LOOP_f_L): Likewise.
24361 (RUN_TEST_sincos): Likewise.
24362 (RUN_TEST_LOOP_sincos): Likewise.
24363
243642013-05-17 Joseph Myers <joseph@codesourcery.com>
24365
24366 [BZ #15480]
24367 [BZ #15485]
24368 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24369 main case of finite arguments, set rounding mode to FE_TONEAREST
24370 and discard exceptions.
24371 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24372 exceptions.
24373 (remainder_tonearest_test_data): New variable.
24374 (remainder_test_tonearest): New function.
24375 (remainder_towardzero_test_data): New variable.
24376 (remainder_test_towardzero): New function.
24377 (remainder_downward_test_data): New variable.
24378 (remainder_test_downward): New function.
24379 (remainder_upward_test_data): New variable.
24380 (remainder_test_upward): New function.
24381 (main): Call the new test functions.
24382
24383 * math/libm-test.inc (struct test_f_f1_data): Remove field
24384 extra_init.
24385 (struct test_fF_f1_data): Likewise.
24386 (struct test_ffI_f1_data): Likewise.
24387 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24388 based on value of EXTRA_EXPECTED.
24389 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24390 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24391 EXTRA_VAR based on value of EXTRA_EXPECTED.
24392 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24393 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24394 EXTRA_VAR based on value of EXTRA_EXPECTED.
24395 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24396 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24397 EXTRA_VAR based on value of EXTRA_EXPECTED.
24398 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24399 * math/gen-libm-test.pl (parse_args): Don't output initializers
24400 for extra output values.
24401
24402 * math/libm-test.inc (check_int): Expect result to be exactly
24403 equal to expected value and do not handle ulps.
24404 (check_long): Likewise.
24405 (check_longlong): Likewise.
24406
24407 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24408 exceptions.
24409 (cimag_test_data): Likewise.
24410 (conj_test_data): Likewise.
24411 (copysign_test_data): Likewise.
24412 (cproj_test_data): Likewise.
24413 (creal_test_data): Likewise.
24414 (fabs_test_data): Likewise.
24415 (fdim_test_data): Likewise.
24416 (finite_test_data): Likewise.
24417 (floor_test_data): Likewise.
24418 (fmax_test_data): Likewise.
24419 (fmin_test_data): Likewise.
24420 (fmod_test_data): Likewise.
24421 (fpclassify_test_data): Likewise.
24422 (frexp_test_data): Likewise.
24423 (ilogb_test_data): Likewise.
24424 (isfinite_test_data): Likewise.
24425 (isgreater_test_data): Likewise.
24426 (isgreaterequal_test_data): Likewise.
24427 (isinf_test_data): Likewise.
24428 (isless_test_data): Likewise.
24429 (islessequal_test_data): Likewise.
24430 (islessgreater_test_data): Likewise.
24431 (isnan_test_data): Likewise.
24432 (isnormal_test_data): Likewise.
24433 (issignaling_test_data): Likewise.
24434 (isunordered_test_data): Likewise.
24435 (ldexp_test_data): Likewise.
24436 (lrint_test_data): Likewise.
24437 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24438 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24439 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24440 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24441 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24442 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24443 test input.
24444 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24445 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24446 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24447 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24448 that test input.
24449 (lrint_downward_test_data): Test for "inexact" exceptions.
24450 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24451 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24452 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24453 test input.
24454 (lrint_upward_test_data): Test for "inexact" exceptions.
24455 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24456 test input.
24457 (llrint_test_data): Test for "inexact" exceptions.
24458 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24459 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24460 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24461 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24462 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24463 (llrint_downward_test_data): Test for "inexact" exceptions.
24464 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24465 (llrint_upward_test_data): Test for "inexact" exceptions.
24466 (logb_test_data): Likewise.
24467 (logb_downward_test_data): Likewise.
24468 (nextafter_test_data): Likewise.
24469 (nexttoward_test_data): Likewise.
24470 (remainder_test_data): Likewise.
24471 (remquo_test_data): Likewise.
24472 (scalbn_test_data): Likewise.
24473 (scalbln_test_data): Likewise.
24474 (signbit_test_data): Likewise.
24475 (sqrt_test_data): Likewise.
24476 (significand_test_data): Likewise.
24477
244782013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24479
24480 [BZ #15424]
24481 * benchtests/bench-modf.c (struct args): Mark arg0 as
24482 volatile.
24483 * scripts/bench.pl: Mark members of struct args as volatile.
24484
244852013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24486
24487 [BZ # 15497]
24488 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24489 negative infinity on POWER6 or lower.
24490 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24491
244922013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24493
24494 [BZ #15442]
24495 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24496 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24497 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24498 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24499 (_FP_SETQNAN): New macro.
24500 (_FP_SETQNAN_SEMIRAW): Likewise.
24501 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24502 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24503 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24504 (FP_EXTEND): Use _FP_FRAC_SNANP.
24505 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24506 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24507 into account.
24508 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24509 New macro.
24510 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24511 Likewise.
24512
245132013-05-16 Joseph Myers <joseph@codesourcery.com>
24514
24515 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24516 with DIVIDE_BY_ZERO_EXCEPTION.
24517 (gamma_test_data): Likewise.
24518 (lgamma_test_data): Likewise.
24519 (log_test_data): Likewise.
24520 (log10_test_data): Likewise.
24521 (log2_test_data): Likewise.
24522 (tgamma_test_data): Likewise.
24523
24524 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24525 (acos_test_tonearest): Likewise.
24526 (acos_test_towardzero): Likewise.
24527 (acos_test_downward): Likewise.
24528 (acos_test_upward): Likewise.
24529 (acosh_test): Likewise.
24530 (asin_test): Likewise.
24531 (asin_test_tonearest): Likewise.
24532 (asin_test_towardzero): Likewise.
24533 (asin_test_downward): Likewise.
24534 (asin_test_upward): Likewise.
24535 (asinh_test): Likewise.
24536 (atan_test): Likewise.
24537 (atanh_test): Likewise.
24538 (atan2_test): Likewise.
24539 (cabs_test): Likewise.
24540 (cacos_test): Likewise.
24541 (cacosh_test): Likewise.
24542 (casin_test): Likewise.
24543 (casinh_test): Likewise.
24544 (catan_test): Likewise.
24545 (catanh_test): Likewise.
24546 (cbrt_test): Likewise.
24547 (ccos_test): Likewise.
24548 (ccosh_test): Likewise.
24549 (cexp_test): Likewise.
24550 (clog_test): Likewise.
24551 (clog10_test): Likewise.
24552 (cos_test): Likewise.
24553 (cos_test_tonearest): Likewise.
24554 (cos_test_towardzero): Likewise.
24555 (cos_test_downward): Likewise.
24556 (cos_test_upward): Likewise.
24557 (cosh_test): Likewise.
24558 (cosh_test_tonearest): Likewise.
24559 (cosh_test_towardzero): Likewise.
24560 (cosh_test_downward): Likewise.
24561 (cosh_test_upward): Likewise.
24562 (cpow_test): Likewise.
24563 (csin_test): Likewise.
24564 (csinh_test): Likewise.
24565 (csqrt_test): Likewise.
24566 (ctan_test): Likewise.
24567 (ctan_test_tonearest): Likewise.
24568 (ctan_test_towardzero): Likewise.
24569 (ctan_test_downward): Likewise.
24570 (ctan_test_upward): Likewise.
24571 (ctanh_test): Likewise.
24572 (ctanh_test_tonearest): Likewise.
24573 (ctanh_test_towardzero): Likewise.
24574 (ctanh_test_downward): Likewise.
24575 (ctanh_test_upward): Likewise.
24576 (erf_test): Likewise.
24577 (erfc_test): Likewise.
24578 (exp_test): Likewise.
24579 (exp_test_tonearest): Likewise.
24580 (exp_test_towardzero): Likewise.
24581 (exp_test_downward): Likewise.
24582 (exp_test_upward): Likewise.
24583 (exp10_test): Likewise.
24584 (exp2_test): Likewise.
24585 (expm1_test): Likewise.
24586 (fmod_test): Likewise.
24587 (gamma_test): Likewise.
24588 (hypot_test): Likewise.
24589 (j0_test): Likewise.
24590 (j1_test): Likewise.
24591 (jn_test): Likewise.
24592 (lgamma_test): Likewise.
24593 (log_test): Likewise.
24594 (log10_test): Likewise.
24595 (log1p_test): Likewise.
24596 (log2_test): Likewise.
24597 (logb_test_downward): Likewise.
24598 (pow_test): Likewise.
24599 (pow_test_tonearest): Likewise.
24600 (pow_test_towardzero): Likewise.
24601 (pow_test_downward): Likewise.
24602 (pow_test_upward): Likewise.
24603 (remainder_test): Likewise.
24604 (remquo_test): Likewise.
24605 (sin_test): Likewise.
24606 (sin_test_tonearest): Likewise.
24607 (sin_test_towardzero): Likewise.
24608 (sin_test_downward): Likewise.
24609 (sin_test_upward): Likewise.
24610 (sincos_test): Likewise.
24611 (sinh_test): Likewise.
24612 (sinh_test_tonearest): Likewise.
24613 (sinh_test_towardzero): Likewise.
24614 (sinh_test_downward): Likewise.
24615 (sinh_test_upward): Likewise.
24616 (sqrt_test): Likewise.
24617 (tan_test): Likewise.
24618 (tan_test_tonearest): Likewise.
24619 (tan_test_towardzero): Likewise.
24620 (tan_test_downward): Likewise.
24621 (tan_test_upward): Likewise.
24622 (tanh_test): Likewise.
24623 (tgamma_test): Likewise.
24624 (y0_test): Likewise.
24625 (y1_test): Likewise.
24626 (yn_test): Likewise.
24627
24628 * math/gen-libm-test.pl (adjust_arg): Remove function.
24629 (special_function): Remove argument $in_func. Only handle
24630 generating output for tables of tests, not inside functions.
24631 (parse_args): Likewise.
24632 (generate_testfile): Remove variable $in_func. Update call to
24633 parse_args.
24634 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24635 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24636 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24637 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24638 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24639 (MAX_VALUE_INIT): Rename macro to max_value.
24640 (MIN_VALUE_INIT): Rename macro to min_value.
24641 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24642 (plus_zero): Remove variable.
24643 (minus_zero): Likewise.
24644 (plus_infty): Likewise.
24645 (minus_infty): Likewise.
24646 (qnan_value): Likewise.
24647 (max_value): Likewise.
24648 (min_value): Likewise.
24649 (min_subnorm_value): Likewise.
24650
246512013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24652
24653 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24654 uint64_t or uint32_t usage.
24655 * crypt/sha256-block.c: Likewise.
24656 * crypt/sha256-crypt.c: Likewise.
24657 * crypt/sha256.c: Likewise.
24658 * crypt/sha512-block.c: Likewise.
24659 * crypt/sha512-crypt.c: Likewise.
24660 * crypt/sha512.c: Likewise.
24661 * debug/backtrace-tst.c: Likewise.
24662 * debug/pcprofiledump.c: Likewise.
24663 * elf/cache.c: Likewise.
24664 * elf/dl-cache.c: Likewise.
24665 * elf/dl-misc.c: Likewise.
24666 * elf/dl-profile.c: Likewise.
24667 * elf/dl-support.c: Likewise.
24668 * elf/ldconfig.c: Likewise.
24669 * elf/sprof.c: Likewise.
24670 * iconv/dummy-repertoire.c: Likewise.
24671 * iconv/iconv_charmap.c: Likewise.
24672 * iconv/skeleton.c: Likewise.
24673 * iconvdata/8bit-generic.c: Likewise.
24674 * iconvdata/cp737.h: Likewise.
24675 * iconvdata/cp775.h: Likewise.
24676 * iconvdata/ibm1008.h: Likewise.
24677 * iconvdata/ibm1025.h: Likewise.
24678 * iconvdata/ibm1046.h: Likewise.
24679 * iconvdata/ibm1097.h: Likewise.
24680 * iconvdata/ibm1112.h: Likewise.
24681 * iconvdata/ibm1122.h: Likewise.
24682 * iconvdata/ibm1123.h: Likewise.
24683 * iconvdata/ibm1124.h: Likewise.
24684 * iconvdata/ibm1129.h: Likewise.
24685 * iconvdata/ibm1130.h: Likewise.
24686 * iconvdata/ibm1132.h: Likewise.
24687 * iconvdata/ibm1133.h: Likewise.
24688 * iconvdata/ibm1137.h: Likewise.
24689 * iconvdata/ibm1140.h: Likewise.
24690 * iconvdata/ibm1141.h: Likewise.
24691 * iconvdata/ibm1142.h: Likewise.
24692 * iconvdata/ibm1143.h: Likewise.
24693 * iconvdata/ibm1144.h: Likewise.
24694 * iconvdata/ibm1145.h: Likewise.
24695 * iconvdata/ibm1146.h: Likewise.
24696 * iconvdata/ibm1147.h: Likewise.
24697 * iconvdata/ibm1148.h: Likewise.
24698 * iconvdata/ibm1149.h: Likewise.
24699 * iconvdata/ibm1153.h: Likewise.
24700 * iconvdata/ibm1154.h: Likewise.
24701 * iconvdata/ibm1155.h: Likewise.
24702 * iconvdata/ibm1156.h: Likewise.
24703 * iconvdata/ibm1157.h: Likewise.
24704 * iconvdata/ibm1158.h: Likewise.
24705 * iconvdata/ibm1160.h: Likewise.
24706 * iconvdata/ibm1161.h: Likewise.
24707 * iconvdata/ibm1162.h: Likewise.
24708 * iconvdata/ibm1163.h: Likewise.
24709 * iconvdata/ibm1164.h: Likewise.
24710 * iconvdata/ibm1166.h: Likewise.
24711 * iconvdata/ibm1167.h: Likewise.
24712 * iconvdata/ibm12712.h: Likewise.
24713 * iconvdata/ibm1390.h: Likewise.
24714 * iconvdata/ibm1399.h: Likewise.
24715 * iconvdata/ibm16804.h: Likewise.
24716 * iconvdata/ibm4517.h: Likewise.
24717 * iconvdata/ibm4899.h: Likewise.
24718 * iconvdata/ibm4909.h: Likewise.
24719 * iconvdata/ibm4971.h: Likewise.
24720 * iconvdata/ibm5347.h: Likewise.
24721 * iconvdata/ibm803.h: Likewise.
24722 * iconvdata/ibm856.h: Likewise.
24723 * iconvdata/ibm901.h: Likewise.
24724 * iconvdata/ibm902.h: Likewise.
24725 * iconvdata/ibm9030.h: Likewise.
24726 * iconvdata/ibm9066.h: Likewise.
24727 * iconvdata/ibm921.h: Likewise.
24728 * iconvdata/ibm922.h: Likewise.
24729 * iconvdata/ibm9448.h: Likewise.
24730 * iconvdata/isiri-3342.h: Likewise.
24731 * iconvdata/jis0201.h: Likewise.
24732 * include/link.h: Likewise.
24733 * include/netdb.h: Likewise.
24734 * inet/check_native.c: Likewise.
24735 * inet/check_pf.c: Likewise.
24736 * inet/getipv4sourcefilter.c: Likewise.
24737 * inet/getnameinfo.c: Likewise.
24738 * inet/getsourcefilter.c: Likewise.
24739 * inet/htonl.c: Likewise.
24740 * inet/setipv4sourcefilter.c: Likewise.
24741 * inet/setsourcefilter.c: Likewise.
24742 * inet/test-inet6_opt.c: Likewise.
24743 * inet/tst-network.c: Likewise.
24744 * locale/C-collate.c: Likewise.
24745 * locale/C-ctype.c: Likewise.
24746 * locale/C-time.c: Likewise.
24747 * locale/C-translit.h: Likewise.
24748 * locale/loadarchive.c: Likewise.
24749 * locale/programs/3level.h: Likewise.
24750 * locale/programs/charmap.c: Likewise.
24751 * locale/programs/charmap.h: Likewise.
24752 * locale/programs/ld-address.c: Likewise.
24753 * locale/programs/ld-collate.c: Likewise.
24754 * locale/programs/ld-ctype.c: Likewise.
24755 * locale/programs/ld-identification.c: Likewise.
24756 * locale/programs/ld-measurement.c: Likewise.
24757 * locale/programs/ld-messages.c: Likewise.
24758 * locale/programs/ld-monetary.c: Likewise.
24759 * locale/programs/ld-name.c: Likewise.
24760 * locale/programs/ld-numeric.c: Likewise.
24761 * locale/programs/ld-paper.c: Likewise.
24762 * locale/programs/ld-telephone.c: Likewise.
24763 * locale/programs/ld-time.c: Likewise.
24764 * locale/programs/linereader.c: Likewise.
24765 * locale/programs/locale.c: Likewise.
24766 * locale/programs/locarchive.c: Likewise.
24767 * locale/programs/locfile.h: Likewise.
24768 * locale/programs/repertoire.c: Likewise.
24769 * locale/programs/simple-hash.c: Likewise.
24770 * locale/programs/simple-hash.h: Likewise.
24771 * malloc/memusage.c: Likewise.
24772 * malloc/memusagestat.c: Likewise.
24773 * nis/nis_defaults.c: Likewise.
24774 * nis/nis_hash.c: Likewise.
24775 * nis/nis_print.c: Likewise.
24776 * nis/nis_xdr.c: Likewise.
24777 * nscd/connections.c: Likewise.
24778 * nscd/hstcache.c: Likewise.
24779 * nscd/nscd_gethst_r.c: Likewise.
24780 * nscd/nscd_getserv_r.c: Likewise.
24781 * nscd/nscd_helper.c: Likewise.
24782 * nscd/servicescache.c: Likewise.
24783 * nss/makedb.c: Likewise.
24784 * nss/nss_db/db-XXX.c: Likewise.
24785 * nss/nss_db/db-initgroups.c: Likewise.
24786 * nss/nss_db/db-netgrp.c: Likewise.
24787 * nss/nss_files/files-network.c: Likewise.
24788 * nss/nss_files/files-parse.c: Likewise.
24789 * posix/bug-regex5.c: Likewise.
24790 * posix/fnmatch_loop.c: Likewise.
24791 * posix/regcomp.c: Likewise.
24792 * posix/regexec.c: Likewise.
24793 * posix/tst-rfc3484-2.c: Likewise.
24794 * posix/tst-rfc3484-3.c: Likewise.
24795 * posix/tst-rfc3484.c: Likewise.
24796 * resolv/nss_dns/dns-canon.c: Likewise.
24797 * resolv/nss_dns/dns-network.c: Likewise.
24798 * resolv/res_init.c: Likewise.
24799 * resolv/res_mkquery.c: Likewise.
24800 * resolv/tst-aton.c: Likewise.
24801 * stdlib/cxa_atexit.c: Likewise.
24802 * stdlib/cxa_finalize.c: Likewise.
24803 * stdlib/gen-fpioconst.c: Likewise.
24804 * stdlib/strtol_l.c: Likewise.
24805 * string/tst-endian.c: Likewise.
24806 * sunrpc/auth_des.c: Likewise.
24807 * sunrpc/clnt_udp.c: Likewise.
24808 * sunrpc/rtime.c: Likewise.
24809 * sunrpc/svcauth_des.c: Likewise.
24810 * sunrpc/xdr.c: Likewise.
24811 * sunrpc/xdr_intXX_t.c: Likewise.
24812 * sunrpc/xdr_rec.c: Likewise.
24813 * sysdeps/generic/ldconfig.h: Likewise.
24814 * sysdeps/generic/ldsodefs.h: Likewise.
24815 * sysdeps/generic/memusage.h: Likewise.
24816 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24818 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24819 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24821 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24822 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24823 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24824 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24826 * sysdeps/posix/getaddrinfo.c: Likewise.
24827 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24828 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24829 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24830 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24831 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24832 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24833 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24834 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24835 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24836 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24837 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24838 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24839 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24840 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24841 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24842 * sysdeps/x86_64/dl-tls.h: Likewise.
24843 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24844 * time/alt_digit.c: Likewise.
24845 * time/era.c: Likewise.
24846 * wcsmbs/tst-c16c32-1.c: Likewise.
24847
248482013-05-16 Joseph Myers <joseph@codesourcery.com>
24849
24850 * math/libm-test.inc (struct test_sincos_data): New type.
24851 (RUN_TEST_LOOP_sincos): New macro.
24852 (sincos_test_data): New variable.
24853 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24854
248552013-05-16 Richard Henderson <rth@redhat.com>
24856
24857 * math/atest-exp2.c (LIMB64): New macro.
24858 (CONSTSZ): New macro.
24859 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24860 (hexdig): Move ...
24861 (print_mpn_fp): ... to function scope.
24862 (read_mpn_hex): Remove.
24863 (get_log2): Remove.
24864 (exp2_mpn): Use mp_log2.
24865 (main): Use mp_exp1.
24866
248672013-05-16 Joseph Myers <joseph@codesourcery.com>
24868
24869 * math/libm-test.inc: Remove comment about not testing "inexact"
24870 exceptions.
24871 (INEXACT_EXCEPTION): New macro.
24872 (NO_INEXACT_EXCEPTION): Likewise.
24873 (INVALID_EXCEPTION_OK): Update value.
24874 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24875 (OVERFLOW_EXCEPTION_OK): Likewise.
24876 (UNDERFLOW_EXCEPTION_OK): Likewise.
24877 (IGNORE_ZERO_INF_SIGN): Likewise.
24878 (ERRNO_UNCHANGED): Likewise.
24879 (ERRNO_EDOM): Likewise.
24880 (ERRNO_ERANGE): Likewise.
24881 (test_exceptions): Handle testing "inexact" exceptions.
24882 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24883 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24884 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24885 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24886 INEXACT_EXCEPTION.
24887 (rint_towardzero_test_data): Likewise.
24888 (rint_downward_test_data): Likewise.
24889 (rint_upward_test_data): Likewise.
24890
24891 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24892 with OVERFLOW_EXCEPTION.
24893 (exp10_test_data): Likewise.
24894 (exp2_test_data): Likewise.
24895 (expm1_test_data): Likewise.
24896 (lgamma_test_data): Likewise.
24897 (pow_test_data): Likewise.
24898 (tgamma_test_data): Likewise.
24899 (yn_test_data): Remove duplicate test of overflow.
24900
24901 * math/libm-test.inc (struct test_cc_c_data): New type.
24902 (RUN_TEST_LOOP_cc_c): New macro.
24903 (cpow_test_data): New variable.
24904 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24905
24906 * math/libm-test.inc (struct test_f_L_data): New type.
24907 (RUN_TEST_LOOP_f_L): New macro.
24908 (llrint_test_data): New variable.
24909 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24910 (llrint_tonearest_test_data): New variable.
24911 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24912 (llrint_towardzero_test_data): New variable.
24913 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24914 (llrint_downward_test_data): New variable.
24915 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24916 (llrint_upward_test_data): New variable.
24917 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24918 (llround_test_data): New variable.
24919 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24920
249212013-05-13 Peter Collingbourne <pcc@google.com>
24922
24923 * math/atest-exp2.c (get_log2): Remove const attribute.
24924
249252013-05-15 Joseph Myers <joseph@codesourcery.com>
24926
24927 * math/libm-test.inc (struct test_f_l_data): New type.
24928 (RUN_TEST_LOOP_f_l): New macro.
24929 (lrint_test_data): New variable.
24930 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24931 (lrint_tonearest_test_data): New variable.
24932 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24933 (lrint_towardzero_test_data): New variable.
24934 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24935 (lrint_downward_test_data): New variable.
24936 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24937 (lrint_upward_test_data): New variable.
24938 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24939 (lround_test_data): New variable.
24940 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24941
249422013-05-15 Peter Collingbourne <pcc@google.com>
24943
24944 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24945 (EXTRACT_WORDS64) Use where appropriate.
24946 (INSERT_WORDS64) Likewise.
24947
24948 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24949 constraints with x constraints.
24950 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24951
24952 * malloc/obstack.c (_obstack_compat): Add initializer.
24953
249542013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24955
24956 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24957 si_trapno and add si_addr_lsb to _sifields.sigfault.
24958 (si_trapno): Remove macro.
24959 (si_addr_lsb): Define new macro.
24960 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24961
249622013-05-15 Joseph Myers <joseph@codesourcery.com>
24963
24964 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24965 instead of TEST_f_l.
24966 (llrint_test_tonearest): Likewise.
24967 (llrint_test_towardzero): Likewise.
24968 (llrint_test_downward): Likewise.
24969 (llrint_test_upward): Likewise.
24970 (llround_test): Likewise.
24971
24972 * math/libm-test.inc (struct test_f_i_data): Add comment.
24973 (RUN_TEST_LOOP_f_b): New macro.
24974 (RUN_TEST_LOOP_f_b_tg): Likewise.
24975 (finite_test_data): New variable.
24976 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24977 (isfinite_test_data): New variable.
24978 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24979 (isinf_test_data): New variable.
24980 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24981 (isnan_test_data): New variable.
24982 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24983 (isnormal_test_data): New variable.
24984 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24985 (issignaling_test_data): New variable.
24986 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24987 (signbit_test_data): New variable.
24988 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24989
24990 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24991 with INVALID_EXCEPTION.
24992 (acosh_test_data): Likewise.
24993 (asin_test_data): Likewise.
24994 (atanh_test_data): Likewise.
24995 (fmod_test_data): Likewise.
24996 (log_test_data): Likewise.
24997 (log10_test_data): Likewise.
24998 (log2_test_data): Likewise.
24999 (pow_test_data): Likewise.
25000 (sqrt_test_data): Likewise.
25001 (y0_test_data): Likewise.
25002 (y1_test_data): Likewise.
25003 (yn_test_data): Likewise.
25004
25005 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25006 function contents.
25007
25008 * math/libm-test.inc (struct test_ff_i_data): New type.
25009 (RUN_TEST_LOOP_ff_i_tg): New macro.
25010 (isgreater_test_data): New variable.
25011 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25012 (isgreaterequal_test_data): New variable.
25013 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25014 (isless_test_data): New variable.
25015 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25016 (islessequal_test_data): New variable.
25017 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25018 (islessgreater_test_data): New variable.
25019 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25020 (isunordered_test_data): New variable.
25021 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25022
250232013-05-14 David S. Miller <davem@davemloft.net>
25024
25025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25026
250272013-05-14 Joseph Myers <joseph@codesourcery.com>
25028
25029 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25030
25031 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25032 extra_test to int.
25033 (struct test_f_i_data): Change type of max_ulp to int.
25034
25035 * math/libm-test.inc (test_ffI_f1_data): New type.
25036 (RUN_TEST_LOOP_ffI_f1): New macro.
25037 (remquo_test_data): New variable.
25038 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25039
25040 * setjmp/tst-setjmp-fp.c: New file.
25041 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25042 (link-libm): New variable.
25043 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25044
25045 * math/libm-test.inc (struct test_f_i_data): New type.
25046 (RUN_TEST_LOOP_f_i): New macro.
25047 (RUN_TEST_LOOP_f_i_tg): Likewise.
25048 (fpclassify_test_data): New variable.
25049 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25050 (ilogb_test_data): New variable.
25051 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25052
25053 * math/libm-test.inc (scalbln_test): Correct function name in END
25054 call.
25055
25056 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25057 (RUN_TEST_LOOP_fI_f1): New macro.
25058 (frexp_test_data): New variable.
25059 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25060
25061 * math/libm-test.inc (struct test_fF_f1_data): New type.
25062 (RUN_TEST_LOOP_fF_f1): New macro.
25063 (modf_test_data): New variable.
25064 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25065
25066 * math/libm-test.inc (struct test_f_f1_data): New type.
25067 (RUN_TEST_LOOP_f_f1): New macro.
25068 (gamma_test_data): New variable.
25069 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25070 (lgamma_test_data): New variable.
25071 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25072
250732013-05-13 Carlos O'Donell <carlos@redhat.com>
25074
25075 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25076 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25077 (main): Comment "tls" pseudo-hwcap.
25078
250792013-05-13 Joseph Myers <joseph@codesourcery.com>
25080
25081 * math/libm-test.inc (struct test_fl_f_data): New type.
25082 (RUN_TEST_LOOP_fl_f): New variable.
25083 (scalbln_test_data): New variable.
25084 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25085
25086 * math/libm-test.inc (struct test_fi_f_data): New type.
25087 (RUN_TEST_LOOP_fi_f): New macro.
25088 (ldexp_test_data): New variable.
25089 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25090 (scalbn_test_data): New variable.
25091 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25092
25093 * math/libm-test.inc (struct test_c_f_data): New type.
25094 (RUN_TEST_LOOP_c_f): New macro.
25095 (cabs_test_data): New variable.
25096 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25097 (carg_test_data): New variable.
25098 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25099 (cimag_test_data): New variable.
25100 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25101 (creal_test_data): New variable.
25102 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25103
25104 * math/libm-test.inc (struct test_if_f_data): New type.
25105 (RUN_TEST_LOOP_if_f): New macro.
25106 (jn_test_data): New variable.
25107 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25108 (yn_test_data): New variable.
25109 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25110
25111 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25112
251132013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25114
25115 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25116 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25117
251182013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25119
25120 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25121 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25122 (bench-deps): Add bench-timing.h.
25123 * benchtests-bench-skeleton.c: Include bench-timing.h.
25124 (main): Use TIMING_* macros instead of clock_gettime.
25125 * benchtests/bench-timing.h: New file.
25126
25127 [BZ #14582]
25128 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25129 Renamed from _LIB_VERSION.
25130 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25131
251322013-05-12 Joseph Myers <joseph@codesourcery.com>
25133
25134 * math/libm-test.inc (struct test_fff_f_data): New type.
25135 (RUN_TEST_LOOP_fff_f): New macro.
25136 (fma_test_data): New variable.
25137 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25138 (fma_towardzero_test_data): New variable.
25139 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25140 (fma_downward_test_data): New variable.
25141 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25142 (fma_upward_test_data): New variable.
25143 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25144
25145 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25146 (struct test_c_c_data): New type.
25147 (RUN_TEST_LOOP_c_c): New macro.
25148 (cacos_test_data): New variable.
25149 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25150 (cacosh_test_data): New variable.
25151 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25152 (casin_test_data): New variable.
25153 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25154 (casinh_test_data): New variable.
25155 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25156 (catan_test_data): New variable.
25157 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25158 (catanh_test_data): New variable.
25159 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25160 (ccos_test_data): New variable.
25161 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25162 (ccosh_test_data): New variable.
25163 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25164 (cexp_test_data): New variable.
25165 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25166 (clog_test_data): New variable.
25167 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25168 (clog10_test_data): New variable.
25169 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25170 (conj_test_data): New variable.
25171 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25172 (cproj_test_data): New variable.
25173 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25174 (csin_test_data): New variable.
25175 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25176 (csinh_test_data): New variable.
25177 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25178 (csqrt_test_data): New variable.
25179 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25180 (ctan_test_data): New variable.
25181 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25182 (ctan_tonearest_test_data): New variable.
25183 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25184 (ctan_towardzero_test_data): New variable.
25185 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25186 (ctan_downward_test_data): New variable.
25187 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25188 (ctan_upward_test_data): New variable.
25189 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25190 (ctanh_test_data): New variable.
25191 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25192 (ctanh_tonearest_test_data): New variable.
25193 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25194 (ctanh_towardzero_test_data): New variable.
25195 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25196 (ctanh_downward_test_data): New variable.
25197 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25198 (ctanh_upward_test_data): New variable.
25199 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25200 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25201 of BUILD_COMPLEX.
25202
25203 * math/libm-test.inc (struct test_ff_f_data): New type.
25204 (struct test_ff_f_data_nexttoward): Likewise.
25205 (RUN_TEST_LOOP_2_f): New macro.
25206 (RUN_TEST_LOOP_ff_f): Likewise.
25207 (atan2_test_data): New variable.
25208 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25209 (copysign_test_data): New variable.
25210 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25211 (fdim_test_data): New variable.
25212 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25213 (fmax_test_data): New variable.
25214 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25215 (fmin_test_data): New variable.
25216 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25217 (fmod_test_data): New variable.
25218 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25219 (hypot_test_data): New variable.
25220 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25221 (nextafter_test_data): New variable.
25222 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25223 (nexttoward_test_data): New variable.
25224 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25225 (pow_test_data): New variable.
25226 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25227 (pow_tonearest_test_data): New variable.
25228 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25229 (pow_towardzero_test_data): New variable.
25230 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25231 (pow_downward_test_data): New variable.
25232 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25233 (pow_upward_test_data): New variable.
25234 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25235 (remainder_test_data): New variable.
25236 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25237 (scalb_test_data): New variable.
25238 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25239 * sysdeps/i386/fpu/libm-test-ulps: Update.
25240
252412013-05-11 Joseph Myers <joseph@codesourcery.com>
25242
25243 * math/libm-test.inc (fma_test): Use max_value instead of local
25244 variable fltmax.
25245 (nextafter_test): Likewise.
25246
25247 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25248 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25249 (acos_downward_test_data): New variable.
25250 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25251 (acos_upward_test_data): New variable.
25252 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25253 (acosh_test_data): New variable.
25254 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25255 (asin_test_data): New variable.
25256 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25257 (asin_tonearest_test_data): New variable.
25258 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25259 (asin_towardzero_test_data): New variable.
25260 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25261 (asin_downward_test_data): New variable.
25262 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25263 (asin_upward_test_data): New variable.
25264 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25265 (asinh_test_data): New variable.
25266 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25267 (atan_test_data): New variable.
25268 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25269 (atanh_test_data): New variable.
25270 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25271 (cbrt_test_data): New variable.
25272 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25273 (ceil_test_data): New variable.
25274 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25275 (cos_test_data): New variable.
25276 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25277 (cos_tonearest_test_data): New variable.
25278 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25279 (cos_towardzero_test_data): New variable.
25280 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25281 (cos_downward_test_data): New variable.
25282 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25283 (cos_upward_test_data): New variable.
25284 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25285 (cosh_test_data): New variable.
25286 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25287 (cosh_tonearest_test_data): New variable.
25288 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25289 (cosh_towardzero_test_data): New variable.
25290 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25291 (cosh_downward_test_data): New variable.
25292 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25293 (cosh_upward_test_data): New variable.
25294 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25295 (erf_test_data): New variable.
25296 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25297 (erfc_test_data): New variable.
25298 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25299 (exp_test_data): New variable.
25300 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25301 (exp_tonearest_test_data): New variable.
25302 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25303 (exp_towardzero_test_data): New variable.
25304 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25305 (exp_downward_test_data): New variable.
25306 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25307 (exp_upward_test_data): New variable.
25308 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25309 (exp10_test_data): New variable.
25310 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25311 (exp2_test_data): New variable.
25312 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25313 (expm1_test_data): New variable.
25314 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25315 (fabs_test_data): New variable.
25316 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25317 (floor_test_data): New variable.
25318 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25319 (j0_test_data): New variable.
25320 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25321 (j1_test_data): New variable.
25322 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25323 (log_test_data): New variable.
25324 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25325 (log10_test_data): New variable.
25326 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25327 (log1p_test_data): New variable.
25328 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25329 (log2_test_data): New variable.
25330 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25331 (logb_test_data): New variable.
25332 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25333 (logb_downward_test_data): New variable.
25334 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25335 (nearbyint_test_data): New variable.
25336 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25337 (rint_test_data): New variable.
25338 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25339 (rint_tonearest_test_data): New variable.
25340 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25341 (rint_towardzero_test_data): New variable.
25342 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25343 (rint_downward_test_data): New variable.
25344 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25345 (rint_upward_test_data): New variable.
25346 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25347 (round_test_data): New variable.
25348 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25349 (sin_test_data): New variable.
25350 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25351 (sin_tonearest_test_data): New variable.
25352 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25353 (sin_towardzero_test_data): New variable.
25354 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25355 (sin_downward_test_data): New variable.
25356 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25357 (sin_upward_test_data): New variable.
25358 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25359 (sinh_test_data): New variable.
25360 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25361 (sinh_tonearest_test_data): New variable.
25362 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25363 (sinh_towardzero_test_data): New variable.
25364 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25365 (sinh_downward_test_data): New variable.
25366 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25367 (sinh_upward_test_data): New variable.
25368 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25369 (sqrt_test_data): New variable.
25370 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25371 (tan_test_data): New variable.
25372 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25373 (tan_tonearest_test_data): New variable.
25374 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25375 (tan_towardzero_test_data): New variable.
25376 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25377 (tan_downward_test_data): New variable.
25378 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25379 (tan_upward_test_data): New variable.
25380 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25381 (tanh_test_data): New variable.
25382 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25383 (tgamma_test_data): New variable.
25384 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25385 (trunc_test_data): New variable.
25386 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25387 (y0_test_data): New variable.
25388 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25389 (y1_test_data): New variable.
25390 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25391 (significand_test_data): New variable.
25392 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25393
253942013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25395
25396 [BZ #12387]
25397 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25398
253992013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25400
25401 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25402
254032013-05-10 Andreas Jaeger <aj@suse.de>
25404
25405 [BZ #15448]
25406 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25407 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25408
254092013-05-10 Joseph Myers <joseph@codesourcery.com>
25410
25411 * math/gen-libm-test.pl (adjust_arg): New function.
25412 (special_functions): Handle generating output in both functions
25413 and arrays.
25414 (parse_args): Likewise.
25415 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25416 $in_func argument to parse_args.
25417 * math/libm-test.inc (struct test_f_f_data): New type.
25418 (IF_ROUND_INIT_): New macro.
25419 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25420 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25421 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25422 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25423 (ROUND_RESTORE_): Likewise.
25424 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25425 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25426 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25427 (ROUND_RESTORE_FE_UPWARD): Likewise.
25428 (RUN_TEST_LOOP_f_f): New macro.
25429 (acos_test_data): New variable.
25430 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25431 (acos_tonearest_test_data): New variable.
25432 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25433
254342013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25435
25436 * benchtests/bench-skeleton.c (startup): Fix coding style.
25437
254382013-05-10 Joseph Myers <joseph@codesourcery.com>
25439
25440 [BZ #6809]
25441 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25442 negative infinity argument.
25443 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25444 negative infinity argument.
25445 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25446 negative infinity argument.
25447 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25448 domain errors.
25449
254502013-05-10 Florian Weimer <fweimer@redhat.com>
25451
25452 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25453 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25454 * iconv/iconv_prog.c (main): Likewise.
25455 * locale/programs/charmap-dir.c (charmap_readdir)
25456 (fopen_uncompressed): Likewise.
25457 * locale/programs/locfile.c (siblings_uncached)
25458 (write_locale_data): Use lstat64 instead of lstat.
25459 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25460 stat.
25461
254622013-05-10 Andreas Jaeger <aj@suse.de>
25463
25464 [BZ #15395]
25465 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25466 localization.
25467 Include <locale.h>.
25468
254692013-05-09 Carlos O'Donell <carlos@redhat.com>
25470
25471 * elf/dl-close.c (_dl_close_worker): Add comments.
25472
254732013-05-09 Joseph Myers <joseph@codesourcery.com>
25474
25475 [BZ #15359]
25476 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25477 high part of pi/2.
25478 (__ieee754_rem_pio2l): Update comments.
25479
25480 [BZ #15429]
25481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25482 high part of pi/2.
25483 (__ieee754_rem_pio2l): Update comments.
25484
25485 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25486 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25487
25488 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25489 M_PI_4l.
25490
25491 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25492 (M_PI_34_LOG10El): Likewise.
25493 (M_PI2_LOG10El): Likewise.
25494 (M_PI4_LOG10El): Likewise.
25495 (M_PI_LOG10El): Likewise.
25496
254972013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25498
25499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25500
255012013-05-08 Joseph Myers <joseph@codesourcery.com>
25502
25503 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25504 (MINUS_ZERO_INIT): Likewise.
25505 (PLUS_INFTY_INIT): Likewise.
25506 (MINUS_INFTY_INIT): Likewise.
25507 (QNAN_VALUE_INIT): Likewise.
25508 (MAX_VALUE_INIT): Likewise.
25509 (MIN_VALUE_INIT): Likewise.
25510 (MIN_SUBNORM_VALUE_INIT): Likewise.
25511 (plus_zero): Initialize with PLUS_ZERO_INIT.
25512 (minus_zero): Initialize with MINUS_ZERO_INIT.
25513 (plus_infty): Initialize with PLUS_INFTY_INIT.
25514 (minus_infty): Initialize with MINUS_INFTY_INIT.
25515 (qnan_value): Initialize with QNAN_VALUE_INIT.
25516 (max_value): Initialize with MAX_VALUE_INIT.
25517 (min_value): Initialize with MIN_VALUE_INIT.
25518 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25519
25520 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25521 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25522 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25523 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25524
25525 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25526 (RUN_TEST_2_f): Likewise.
25527 (RUN_TEST_ff_f): Likewise.
25528 (RUN_TEST_fi_f): Likewise.
25529 (RUN_TEST_fl_f): Likewise.
25530 (RUN_TEST_fff_f): Likewise.
25531 (RUN_TEST_c_f): Likewise.
25532 (RUN_TEST_f_f1): Likewise.
25533 (RUN_TEST_fF_f1): Likewise.
25534 (RUN_TEST_fI_f1): Likewise.
25535 (RUN_TEST_ffI_f1): Likewise.
25536 (RUN_TEST_c_c): Likewise.
25537 (RUN_TEST_cc_c): Likewise.
25538 (RUN_TEST_f_i): Likewise.
25539 (RUN_TEST_f_i_tg): Likewise.
25540 (RUN_TEST_ff_i_tg): Likewise.
25541 (RUN_TEST_f_b): Likewise.
25542 (RUN_TEST_f_b_tg): Likewise.
25543 (RUN_TEST_f_l): Likewise.
25544 (RUN_TEST_f_L): Likewise.
25545 (RUN_TEST_sincos): Likewise.
25546 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25547 whether to show exceptions. Do not include ");\n" in return
25548 value.
25549 (special_functions): Output call to RUN_TEST_sincos instead of
25550 check_float calls. Update calls to new_test.
25551 (parse_args): Output call to single RUN_TEST_* macro instead of
25552 check_* calls and other assignments. Update calls to new_test.
25553
25554 [BZ #2546]
25555 [BZ #2560]
25556 [BZ #5159]
25557 [BZ #15426]
25558 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25559 input to result for tgamma overflow.
25560 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25561 (gamma_coeff): New variable.
25562 (NCOEFF): New macro.
25563 (gamma_positive): New function.
25564 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25565 underflow here. Use gamma_positive instead of exp (lgamma) for
25566 other arguments.
25567 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25568 (gamma_coeff): New variable.
25569 (NCOEFF): New macro.
25570 (gammaf_positive): New function.
25571 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25572 underflow here. Use gamma_positive instead of exp (lgamma) for
25573 other arguments.
25574 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25575 (gamma_coeff): New variable.
25576 (NCOEFF): New macro.
25577 (gammal_positive): New function.
25578 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25579 underflow here. Use gamma_positive instead of exp (lgamma) for
25580 other arguments.
25581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25582 (gamma_coeff): New variable.
25583 (NCOEFF): New macro.
25584 (gammal_positive): New function.
25585 (__ieee754_gammal_r): Handle positive infinity, overflow and
25586 underflow here. Handle NaN the same as positive infinity. Remove
25587 check x < 0xffffffff for negative integers. Use gamma_positive
25588 instead of exp (lgamma) for other arguments.
25589 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25590 (gamma_coeff): New variable.
25591 (NCOEFF): New macro.
25592 (gammal_positive): New function.
25593 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25594 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25599 * sysdeps/generic/math_private.h (__gamma_productf): New
25600 prototype.
25601 (__gamma_product): Likewise.
25602 (__gamma_productl): Likewise.
25603 * math/Makefile (libm-calls): Add gamma_product.
25604 * math/libm-test.inc (tgamma_test): Add more tests.
25605 * sysdeps/i386/fpu/libm-test-ulps: Update.
25606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25607
256082013-05-08 Ondřej Bílka <neleai@seznam.cz>
25609
25610 * benchtests/bench-skeleton.c (main): Preheat CPU.
25611
256122013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25613
25614 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25615
256162013-05-07 Roland McGrath <roland@hack.frob.com>
25617
25618 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25619 and _dl_skip_args_internal.
25620
256212013-05-07 Carlos O'Donell <carlos@redhat.com>
25622
25623 * manual/message.texi (Message Translation): Talk about users.
25624 Message to key mapping impacts design.
25625
256262013-05-06 Roland McGrath <roland@hack.frob.com>
25627
25628 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25629
25630 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25631
25632 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25633 * sysdeps/wordsize-64/glob64.c: ... here.
25634
25635 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25636 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25637 New macros.
25638
25639 * debug/getlogin_r_chk.c: Moved to ...
25640 * login/getlogin_r_chk.c: ... here.
25641 * debug/Makefile (routines): Move getlogin_r_chk to ...
25642 * login/Makefile (routines): ... here.
25643 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25644 * login/Versions (libc: GLIBC_2.4): ... here.
25645
25646 * io/poll.c (__poll): Renamed from poll.
25647 Add libc_hidden_def.
25648 (poll): Define as weak alias.
25649
25650 * debug/ptsname_r_chk.c: Moved to ...
25651 * login/ptsname_r_chk.c: ... here.
25652 * debug/Makefile (routines): Move ptsname_r_chk to ...
25653 * login/Makefile (routines): ... here.
25654 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25655 * login/Versions (libc: GLIBC_2.4): ... here.
25656
25657 * posix/getlogin.c: Moved to ...
25658 * login/getlogin.c: ... here.
25659 * posix/getlogin_r.c: Moved to ...
25660 * login/getlogin_r.c: ... here.
25661 * posix/getlogin_r.c: Moved to ...
25662 * login/getlogin_r.c: ... here.
25663 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25664 * login/Makefile (routines): ... here.
25665 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25666 * login/Versions (libc: GLIBC_2.0): ... here.
25667
25668 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25669 (setrlimit): Define as weak alias.
25670
25671 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25672 Call __ names for open, ftruncate, and close.
25673 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25674 (truncate): Define as weak alias.
25675
256762013-05-06 Joseph Myers <joseph@codesourcery.com>
25677
25678 * math/gen-libm-test.pl (parse_args): Initialize x before each
25679 test of frexp, modf and remquo.
25680
25681 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25682 test signgam value.
25683
256842013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25685
25686 [BZ #15418]
25687 [BZ #15419]
25688 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25689 internal tests.
25690 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25691
256922013-05-06 Roland McGrath <roland@hack.frob.com>
25693
25694 * elf/dl-writev.h: New file.
25695 * elf/dl-misc.c: Include it.
25696 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25697 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25698
256992013-05-04 Joseph Myers <joseph@codesourcery.com>
25700
25701 * math/libm-test.inc (noXFails): Remove variable.
25702 (noXPasses): Likewise.
25703 (BUILD_COMPLEX_INT): Remove macro.
25704 (print_screen): Remove xfail argument.
25705 (print_screen_max_error): Likewise.
25706 (update_stats): Likewise.
25707 (print_max_error): Likewise. Update calls to other affected
25708 functions.
25709 (print_complex_max_error): Likewise.
25710 (test_single_exception): Update calls to print_screen.
25711 (test_single_errno): Likewise.
25712 (check_float_internal): Remove xfail argument. Update calls to
25713 other affected functions.
25714 (check_float): Likewise.
25715 (check_complex): Likewise.
25716 (check_int): Likewise.
25717 (check_long): Likewise.
25718 (check_bool): Likewise.
25719 (check_longlong): Likewise.
25720 (main): Don't print noXFails and noXPasses.
25721 * math/gen-libm-test.pl (top level): Don't mention expected
25722 failure handling in comment.
25723 (new_test): Don't handle expected failures.
25724 (parse_args): Don't mention expected failure handling in comment.
25725 (generate_testfile): Don't handle expected failures.
25726 (parse_ulps): Likewise.
25727 (print_ulps_file): Likewise.
25728 (get_failure): Remove function.
25729 (output_test): Don't handle expected failures.
25730 * make/README.libm-test: Don't mention expected failure handling.
25731
25732 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25733 (minus_zero): Likewise.
25734 (plus_infty): Likewise.
25735 (minus_infty): Likewise.
25736 (qnan_value): Likewise.
25737 (max_value): Likewise.
25738 (min_value): Likewise.
25739 (min_subnorm_value): Likewise.
25740 (initialize): Do not initialize those variables dynamically.
25741
257422013-05-03 Roland McGrath <roland@hack.frob.com>
25743
25744 * io/open.c (__open_2): Moved to ...
25745 * io/open_2.c: ... this new file.
25746 * io/open64.c (__open64_2): Moved to ...
25747 * io/open64_2.c: ... this new file.
25748 * io/openat.c (__openat_2): Moved to ...
25749 * io/openat_2.c: ... this new file.
25750 * io/openat64.c (__openat64_2): Moved to ...
25751 * io/openat64_2.c: ... this new file.
25752 * io/Makefile (routines): Add them.
25753 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25754 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25755 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25756 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25757 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25758 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25759 (__openat64): Add hidden_ver.
25760 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25761 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25762
25763 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25764 Separately conditionalize setting of GLRO(dl_sysinfo) so
25765 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25766 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25767
257682013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25769
25770 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25771 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25772 definition.
25773 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25774 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25775 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25776 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25777 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25778
257792013-05-03 Joseph Myers <joseph@codesourcery.com>
25780
25781 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25782 test signgam value.
25783
25784 * math/libm-test.inc (hypot_test): Do not use
25785 IGNORE_ZERO_INF_SIGN.
25786
257872013-05-03 Andreas Jaeger <aj@suse.de>
25788
25789 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25790 Linux 3.9.
25791 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25792 (PF_MAX): Adjust for VSOCK change.
25793
257942013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25795
25796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25797
257982013-05-02 Carlos O'Donell <carlos@redhat.com>
25799
25800 [BZ #15264]
25801 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25802 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25803 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25804
258052013-05-02 David S. Miller <davem@davemloft.net>
25806
25807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25808
258092013-05-01 Ondřej Bílka <neleai@seznam.cz>
25810
25811 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25812
258132013-05-01 Roland McGrath <roland@hack.frob.com>
25814
25815 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25816
258172013-05-01 Richard Smith <richard@metafoo.co.uk>
25818
25819 [BZ #14952]
25820 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25821 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25822 Use __attribute__ ((__gnu_inline__)).
25823 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25824 Don't use __attribute__ ((__gnu_inline__)).
25825
258262013-05-01 Joseph Myers <joseph@codesourcery.com>
25827
25828 [BZ #15423]
25829 * math/s_catan.c (__catan): Handle small real or imaginary part of
25830 input specially to avoid spurious underflow.
25831 * math/s_catanf.c (__catanf): Likewise.
25832 * math/s_catanh.c (__catanh): Likewise.
25833 * math/s_catanhf.c (__catanhf): Likewise.
25834 * math/s_catanhl.c (__catanhl): Likewise.
25835 * math/s_catanl.c (__catanl): Likewise.
25836 * math/libm-test.inc (catan_test): Add more tests.
25837 (catanh_test): Likewise.
25838 * sysdeps/i386/fpu/libm-test-ulps: Update.
25839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25840
258412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25842
25843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25844
258452013-04-30 Joseph Myers <joseph@codesourcery.com>
25846
25847 [BZ #15416]
25848 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25849 accurately for denominator in atan2.
25850 * math/s_catanf.c (__catanf): Likewise.
25851 * math/s_catanh.c (__catanh): Likewise.
25852 * math/s_catanhf.c (__catanhf): Likewise.
25853 * math/s_catanhl.c (__catanhl): Likewise.
25854 * math/s_catanl.c (__catanl): Likewise.
25855 * math/libm-test.inc (catan_test): Add more tests.
25856 (catanh_test): Likewise.
25857 * sysdeps/i386/fpu/libm-test-ulps: Update.
25858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25859
258602013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25861
25862 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25863
25864 * benchtests/Makefile (bench): Remove slow benchmarks.
25865 * benchtests/atan-inputs: Add slow benchmark inputs.
25866 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25867 (BENCH_FUNC): Accept variant offset.
25868 (VARIANT): Define.
25869 * benchtests/bench-skeleton.c (main): Run benchmark for each
25870 variant.
25871 * benchtests/cos-inputs: Add slow benchmark inputs.
25872 * benchtests/exp-inputs: Likewise.
25873 * benchtests/pow-inputs: Likewise.
25874 * benchtests/sin-inputs: Likewise.
25875 * benchtests/slowatan-inputs: Remove.
25876 * benchtests/slowatan.c: Remove.
25877 * benchtests/slowcos-inputs: Remove.
25878 * benchtests/slowcos.c: Remove.
25879 * benchtests/slowexp-inputs: Remove.
25880 * benchtests/slowexp.c: Remove.
25881 * benchtests/slowpow-inputs: Remove.
25882 * benchtests/slowpow.c: Remove.
25883 * benchtests/slowsin-inputs: Remove.
25884 * benchtests/slowsin.c: Remove.
25885 * benchtests/slowtan-inputs: Remove.
25886 * benchtests/slowtan.c: Remove.
25887 * benchtests/tan-inputs: Add slow benchmark inputs.
25888 * scripts/bench.pl: Parse comments and directives.
25889
25890 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25891 in CPPFLAGS.
25892 ($(objpfx)bench-%.c): Remove *-ITER.
25893 * benchtests/bench-modf.c: Remove definition of ITER.
25894 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25895 (main): Loop for DURATION seconds instead of fixed number of
25896 iterations.
25897 * scripts/bench.pl: Don't expect iterations in parameters.
25898
258992013-04-29 Roland McGrath <roland@hack.frob.com>
25900
25901 * io/fchdir.c (__fchdir): Renamed from fchdir.
25902 (fchdir): Define as weak alias.
25903
259042013-04-29 Joseph Myers <joseph@codesourcery.com>
25905
25906 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25907 (ERRNO_EDOM): Likewise.
25908 (ERRNO_ERANGE): Likewise.
25909 (noErrnoTests): New variable.
25910 (init_max_error): Set errno to 0.
25911 (test_single_errno): New function.
25912 (test_errno): Likewise.
25913 (check_float_internal): Call test_errno. Set errno to 0.
25914 (check_complex): Refer to errno tests in comment.
25915 (check_int): Call test_errno. Set errno to 0.
25916 (check_long): Likewise.
25917 (check_bool): Likewise.
25918 (check_longlong): Likewise.
25919 (cos_test): Use ERRNO_* flags for errno tests instead of
25920 check_int.
25921 (expm1_test): Likewise.
25922 (fmod_test): Likewise.
25923 (ilogb_test): Likewise.
25924 (lgamma_test): Likewise.
25925 (pow_test): Likewise.
25926 (remainder_test): Likewise.
25927 (sin_test): Likewise.
25928 (tan_test): Likewise.
25929 (yn_test): Likewise.
25930 (initialize): Set errno to 0.
25931 (main): Print number of errno tests.
25932 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25933
259342013-04-29 Andreas Jaeger <aj@suse.de>
25935
25936 [BZ #15084]
25937 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25938 and RES_USEVC.
25939
25940 [BZ #15085]
25941 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25942 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25943 unimplemented.
25944
25945 [BZ #15380]
25946 * stdlib/random.c (__initstate): Return NULL if
25947 __initstate fails.
25948
25949 [BZ #15086]
25950 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25951 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25952 RES_SNGLKUPREOP.
25953
259542013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25955
25956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25957
259582013-04-29 Joseph Myers <joseph@codesourcery.com>
25959
25960 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25961 of individual tests.
25962 (casin_test): Likewise.
25963 (casinh_test): Likewise.
25964
259652013-04-27 Joseph Myers <joseph@codesourcery.com>
25966
25967 [BZ #15409]
25968 * math/s_catan.c (__catan): Handle arguments with large real or
25969 imaginary part separately without squaring.
25970 * math/s_catanf.c (__catanf): Likewise.
25971 * math/s_catanh.c (__catanh): Likewise.
25972 * math/s_catanhf.c (__catanhf): Likewise.
25973 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25974 and redefine.
25975 (__catanhl): Handle arguments with large real or imaginary part
25976 separately without squaring.
25977 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25978 and redefine.
25979 (__catanl): Handle arguments with large real or imaginary part
25980 separately without squaring.
25981 * math/libm-test.inc (catan_test): Add more tests.
25982 (catanh_test): Likewise.
25983 * sysdeps/i386/fpu/libm-test-ulps: Update.
25984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25985
259862013-04-27 Andreas Jaeger <aj@suse.de>
25987
25988 [BZ #15007]
25989 * stdlib/stdlib.h: Update guards for qecvt.
25990 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25991 <stdlib.h>.
25992
259932013-04-27 Allan McRae <allan@archlinux.org>
25994
25995 * sysdeps/i386/fpu/libm-test-ulps: Update.
25996
259972013-04-26 Joseph Myers <joseph@codesourcery.com>
25998
25999 [BZ #15406]
26000 * math/s_catan.c: Include <float.h>.
26001 (__catan): Ensure underflow exception occurs for underflowed
26002 result.
26003 * math/s_catanf.c: Include <float.h>.
26004 (__catanf): Ensure underflow exception occurs for underflowed
26005 result.
26006 * math/s_catanh.c: Include <float.h>.
26007 (__catanh): Ensure underflow exception occurs for underflowed
26008 result.
26009 * math/s_catanhf.c: Include <float.h>.
26010 (__catanhf): Ensure underflow exception occurs for underflowed
26011 result.
26012 * math/s_catanhl.c: Include <float.h>.
26013 (__catanhl): Ensure underflow exception occurs for underflowed
26014 result.
26015 * math/s_catanl.c: Include <float.h>.
26016 (__catanl): Ensure underflow exception occurs for underflowed
26017 result.
26018 * math/libm-test.inc (catan_test): Add more tests.
26019 (catanh_test): Likewise.
26020
26021 [BZ #15405]
26022 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26023 underflowed result.
26024 * math/s_ccoshf.c (__ccoshf): Likewise.
26025 * math/s_ccoshl.c (__ccoshl): Likewise.
26026 * math/s_csin.c (__csin): Likewise.
26027 * math/s_csinf.c (__csinf): Likewise.
26028 * math/s_csinh.c (__csinh): Likewise.
26029 * math/s_csinhf.c (__csinhf): Likewise.
26030 * math/s_csinhl.c (__csinhl): Likewise.
26031 * math/s_csinl.c (__csinl): Likewise.
26032 * math/libm-test.inc (ccos_test): Add more tests.
26033 (ccosh_test): Likewise.
26034 (csin_test): Likewise.
26035 (csinh_test): Likewise.
26036
260372013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26038
26039 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26040 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26041 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26042 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26043 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26044 powerpc/power5+/fpu folders.
26045 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26046
26047
260482013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26049
26050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26051
260522013-04-25 Joseph Myers <joseph@codesourcery.com>
26053
26054 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26055 additions to variable.
26056 [$(config-machine) = x86_64] (modules-names): Likewise.
26057 ($(objpfx)tst-audit3): Remove dependency.
26058 ($(objpfx)tst-audit3.out): Likewise.
26059 ($(objpfx)tst-audit4): Likewise.
26060 ($(objpfx)tst-audit4.out): Likewise.
26061 ($(objpfx)tst-audit5): Likewise.
26062 ($(objpfx)tst-audit5.out): Likewise.
26063 ($(objpfx)tst-audit6): Likewise.
26064 ($(objpfx)tst-audit6.out): Likewise.
26065 ($(objpfx)tst-audit7): Likewise.
26066 ($(objpfx)tst-audit7.out): Likewise.
26067 (tst-audit3-ENV): Remove variable.
26068 (tst-audit4-ENV): Likewise.
26069 (tst-audit5-ENV): Likewise.
26070 (tst-audit6-ENV): Likewise.
26071 (tst-audit7-ENV): Likewise.
26072 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26073 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26074 addition to variable.
26075 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26076 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26077 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26078 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26079 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26080 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26081 tst-audit3, tst-audit4 and tst-audit5.
26082 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26083 tst-audit6 and tst-audit7.
26084 [$(subdir) = elf] (modules-names): Add audit modules for those
26085 tests.
26086 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26087 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26088 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26089 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26090 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26091 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26092 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26093 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26094 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26095 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26096 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26097 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26098 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26099 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26100 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26101 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26102 Likewise.
26103 [$(subdir) = elf && $(config-cflags-avx) = yes]
26104 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26105 [$(subdir) = elf && $(config-cflags-avx) = yes]
26106 (CFLAGS-tst-auditmod4a.c): Likewise.
26107 [$(subdir) = elf && $(config-cflags-avx) = yes]
26108 (CFLAGS-tst-auditmod4b.c): Likewise.
26109 [$(subdir) = elf && $(config-cflags-avx) = yes]
26110 (CFLAGS-tst-auditmod6b.c): Likewise.
26111 [$(subdir) = elf && $(config-cflags-avx) = yes]
26112 (CFLAGS-tst-auditmod6c.c): Likewise.
26113 [$(subdir) = elf && $(config-cflags-avx) = yes]
26114 (CFLAGS-tst-auditmod7b.c): Likewise.
26115 * elf/tst-audit3.c: Move to ...
26116 * sysdeps/x86_64/tst-audit3.c: ... here.
26117 * elf/tst-audit4.c: Move to ...
26118 * sysdeps/x86_64/tst-audit4.c: ... here.
26119 * elf/tst-audit5.c: Move to ...
26120 * sysdeps/x86_64/tst-audit5.c: ... here.
26121 * elf/tst-audit6.c: Move to ...
26122 * sysdeps/x86_64/tst-audit6.c: ... here.
26123 * elf/tst-audit7.c: Move to ...
26124 * sysdeps/x86_64/tst-audit7.c: ... here.
26125 * elf/tst-auditmod3a.c: Move to ...
26126 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26127 * elf/tst-auditmod3b.c: Move to ...
26128 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26129 * elf/tst-auditmod4a.c: Move to ...
26130 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26131 * elf/tst-auditmod4b.c: Move to ...
26132 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26133 * elf/tst-auditmod5a.c: Move to ...
26134 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26135 * elf/tst-auditmod5b.c: Move to ...
26136 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26137 * elf/tst-auditmod6a.c: Move to ...
26138 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26139 * elf/tst-auditmod6b.c: Move to ...
26140 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26141 * elf/tst-auditmod6c.c: Move to ...
26142 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26143 * elf/tst-auditmod7a.c: Move to ...
26144 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26145 * elf/tst-auditmod7b.c: Move to ...
26146 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26147
261482013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26149
26150 [BZ #15366]
26151 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26152 define unconditionally.
26153 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26154 define unconditionally.
26155 (INT8_C, INT16_C, etc.): Likewise.
26156
261572013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26158
26159 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26160 __ehdr_start with hidden visibility.
26161
26162 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26163
261642013-04-24 Carlos O'Donell <carlos@redhat.com>
26165
26166 * math/libm-test.inc (cos_test): Use accurate hex constants.
26167 (sincost_test): Likewise.
26168
261692013-04-24 Joseph Myers <joseph@codesourcery.com>
26170
26171 * math/libm-test.inc (catan_test): Add more tests.
26172 (catanh_test): Likewise.
26173
26174 * math/s_catanf.c (__catanf): Use suffixed floating-point
26175 constants.
26176 * math/s_catanhf.c (__catanhf): Likewise.
26177 * math/s_catanhl.c (__catanhl): Likewise.
26178 * math/s_catanl.c (__catanl): Likewise.
26179
26180 [BZ #15394]
26181 * math/s_catan.c (__catan): Calculate imaginary part of result
26182 with log1p not log unless computing log of number close to 0.
26183 * math/s_catanf.c (__catanf): Likewise.
26184 * math/s_catanl.c (__catanl): Likewise.
26185 * math/s_catanh.c (__catanh): Calculate real part of result with
26186 log1p not log unless computing log of number close to 0.
26187 * math/s_catanhf.c (__catanhf): Likewise.
26188 * math/s_catanhl.c (__catanhl): Likewise.
26189 * math/libm-test.inc (catan_test): Add more tests.
26190 (catanh_test): Likewise.
26191 * sysdeps/i386/fpu/libm-test-ulps: Update.
26192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26193
261942013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26195
26196 * benchtests/Makefile: Mention files in which fast and slow
26197 paths of math functions are implemented.
26198
261992013-04-23 Roland McGrath <roland@hack.frob.com>
26200
26201 * sysdeps/posix/timespec_get.c: New file.
26202
262032013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26204
26205 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26206 POWER.
26207 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26208 for POWER.
26209 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26210 powerpc/power5/fpu folders.
26211 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26212 * benchtests/Makefile: Add modf testcase.
26213 * benchtests/bench-modf.c: New file: Benchmark test for mo
26214
262152013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26216
26217 [BZ #14888]
26218 * time/Makefile (tests): Add tst-strptime-whitespace.
26219 * time/strptime_l.c (get_number): Use ISSPACE.
26220 (__strptime_internal): Likewise.
26221 * time/tst-strptime-whitespace.c: New test case.
26222
262232013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26224
26225 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26226 member.
26227 (_nss_files_init): Set it here.
26228
262292013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26230
26231 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26232 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26233 unsigned.
26234
262352013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26236
26237 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26238
262392013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26240
26241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26242 size just once.
26243
262442013-04-21 David S. Miller <davem@davemloft.net>
26245
26246 * po/ru.po: Update Russion translation from translation project.
26247
262482013-04-17 Adam Conrad <adconrad@0c3.net>
26249
26250 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26251 and setfsgid.
26252
262532013-04-17 Carlos O'Donell <carlos@redhat.com>
26254
26255 * configure.in: Remove i386 configure warning. Remove i386 case.
26256 * configure: Regenerate.
26257 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26258 Add example to error message.
26259 * sysdeps/i386/configure: Regenerate.
26260
262612013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26262
26263 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26264 slowtan.
26265 * benchtests/cos-inputs: New file.
26266 * benchtests/slowcos-inputs: New file.
26267 * benchtests/slowcos.c: New file.
26268 * benchtests/slowtan-inputs: New file.
26269 * benchtests/slowtan.c: New file.
26270 * benchtests/tan-inputs: New file.
26271
262722013-04-16 Roland McGrath <roland@hack.frob.com>
26273
26274 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26275 considered kosher.
26276
262772013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26278
26279 * benchtests/Makefile: Include cppflags-iterator.mk to add
26280 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26281
26282 * Makefile.in (bench-clean): New target.
26283 * benchtests/Makefile (bench-clean): Likewise.
26284
262852013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26286
26287 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26288
262892013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26290
26291 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26292
262932013-04-15 Andreas Schwab <schwab@suse.de>
26294
26295 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26297 * nscd/pwdcache.c (cache_addpw): Likewise.
26298 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26299 more than recsize.
26300
263012013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26302
26303 * benchtests/Makefile (bench): Write all output to
26304 bench-out.tmp together.
26305
263062013-04-15 Andreas Schwab <schwab@suse.de>
26307
26308 * nscd/nscd.c (main): Don't fork again after closing files.
26309
263102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26311
26312 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26313
26314 * benchtests/Rules (bench-deps): Collect dependencies into a
26315 single variable. Add Makefile to dependencies.
26316 ($(objpfx)bench-%.c): Depend on bench-deps.
26317
263182013-04-12 Roland McGrath <roland@hack.frob.com>
26319 Xavier Roche <roche+kml2@exalead.com>
26320
26321 [BZ #15361]
26322 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26323 just that it's a file descriptor.
26324 * manual/llio.texi (Synchronizing AIO Operations): Update description
26325 for EBADF error from aio_fsync.
26326
263272013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26328
26329 * Rules (bench): Move target definition...
26330 * benchtests/Makefile: ... here.
26331
263322013-04-11 Carlos O'Donell <carlos@redhat.com>
26333
26334 * math/libm-test.inc (cos_test): Fix PI/2 test.
26335 (sincos_test): Likewise.
26336 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26337 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26338
263392013-04-11 Andreas Schwab <schwab@suse.de>
26340
26341 [BZ #13988]
26342 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26343 accept exponent character only when digits were seen.
26344 * stdio-common/Makefile (tests): Add bug26.
26345 * stdio-common/bug26.c: New file.
26346
26347 [BZ #14293]
26348 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26349 non-freeable.
26350
263512013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26352
26353 * Makeconfig (rtld-prefix): Define built linker prefix.
26354 * Rules (run-bench): Use it.
26355 * math/Makefile (run-regen-ulps): Likewise.
26356
26357 * Rules (bench): Remove eval.
26358
263592013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26360 Roland McGrath <roland@hack.frob.com>
26361 Ondrej Bilka <neleai@seznam.cz>
26362
26363 [BZ #15346]
26364 * time/getdate.c: Include ctype.h and alloca.h.
26365 (__getdate_r): Trim leading and trailing spaces of input.
26366 * time/tst-getdate.c (tests): Add tests with leading and
26367 trailing spaces.
26368
263692013-04-08 Roland McGrath <roland@hack.frob.com>
26370
26371 [BZ #14280]
26372 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26373 when computing value.
26374
263752013-04-06 Carlos O'Donell <carlos@redhat.com>
26376
26377 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26378 Use testrun.sh to run libm tests.
26379
26380 [BZ #15309]
26381 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26382
263832013-04-06 Marko Myllynen <myllynen@redhat.com>
26384
26385 [BZ #15264]
26386 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26387
263882013-04-06 Carlos O'Donell <carlos@redhat.com>
26389
26390 * Makefile.in (regen-ulps): New target.
26391 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26392 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26393 [ifneq (no,$(PERL)] (regen-ulps): New target.
26394 [ifeq (no,$(PERL)] (regen-ulps): New target.
26395 * math/libm-test.inc (ulps_file_name): Define.
26396 (output_dir): New variable.
26397 (options): Add "output-dir" option.
26398 (parse_opt): Handle 'o' case.
26399 (main): If output_dir is non-NULL use it as a prefix
26400 otherwise use "".
26401 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26402
264032013-04-06 Carlos O'Donell <carlos@redhat.com>
26404
26405 [BZ #10060, #10062]
26406 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26407 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26408 fail configure if __sync_val_compare_and_swap is not inlined.
26409 * sysdeps/i386/configure: Regenerate.
26410 * configure.in: Build for i686 when configured for i386.
26411 * configure: Regenerate.
26412 * README: Remove i386 reference.
26413
264142013-04-06 Carlos O'Donell <carlos@redhat.com>
26415
26416 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26418
264192013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26420
26421 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26422 (lmsnanval): New variables.
26423 (F): Add conversion tests.
26424 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26425 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26426
26427 * stdio-common/tstdiomisc.c (F): Properly collect individual
26428 tests' results.
26429
26430 [BZ #14686, #15336]
26431 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26432 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26433 Instead, use input NaN values or generate a qNaN by arithmetic
26434 operation. Also fix bugs to comply with the standard.
26435 * math/libm-test.inc (remainder_test): Add more tests.
26436
26437 [BZ #15335, #15342]
26438 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26440 input NaN values or generate a qNaN by arithmetic operation.
26441
26442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26443 unreachable code.
26444
26445 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26446 definitions.
26447
264482013-04-03 Joseph Myers <joseph@codesourcery.com>
26449
26450 [BZ #14478]
26451 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26452 underflowed result.
26453 * math/s_cexpf.c (__cexpf): Likewise.
26454 * math/s_cexpl.c (__cexpl): Likewise.
26455 * math/libm-test.inc (cexp_test): Add more tests.
26456
264572013-04-03 Andreas Schwab <schwab@suse.de>
26458
26459 [BZ #15330]
26460 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26461 order arrays from heap if bigger than alloca cutoff.
26462
264632013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26464
26465 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26466 (SNAN_TESTS_double): Refer to GCC PR56831.
26467 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26468 GCC PR56828.
26469
264702013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26471
26472 * Rules (bench): Move bench.out after the run is complete.
26473
26474 * Rules (bench): Echo currently running benchmark.
26475
26476 * benchtests/Makefile (bench): Add atan and slowatan.
26477 * benchtests/atan-inputs: New file.
26478 * benchtests/slowatan-inputs: New file.
26479 * benchtests/slowatan.c: New file.
26480
26481 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26482 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26483 its value.
26484
26485 [BZ #15305]
26486 * sysdeps/unix/sysv/linux/kernel-features.h
26487 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26488 __ASSUME_XFS_RESTRICTED_CHOWN.
26489 * sysdeps/unix/sysv/linux/pathconf.c
26490 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26491 Save and restore errno.
26492
264932013-04-02 Joseph Myers <joseph@codesourcery.com>
26494
26495 [BZ #15327]
26496 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26497 arguments using __kernel_casinh.
26498 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26499 arguments using __kernel_casinhf.
26500 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26501 arguments using __kernel_casinhl.
26502 * math/libm-test.inc (cacosh_test): Add more tests.
26503 * sysdeps/i386/fpu/libm-test-ulps: Update.
26504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26505
265062013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26507
26508 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26509 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26510
26511 * bench/Makefile (bench): Add sin and slowsin.
26512 * benchtests/sin-inputs: New file.
26513 * benchtests/slowsin-inputs: New file.
26514 * benchtests/slowsin.c: New file.
26515
26516 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26517 (bench): Add slowexp and slowpow.
26518 (exp-ITER): Increase iterations.
26519 (pow-ITER): Likewise.
26520 * benchtests/exp-inputs: Change input.
26521 * benchtests/pow-inputs: Likewise.
26522 * benchtests/slowexp-inputs: New file.
26523 * benchtests/slowexp.c: New file.
26524 * benchtests/slowpow-inputs: New file.
26525 * benchtests/slowpow.c: New file.
26526
265272013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26528
26529 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26530 instructions.
26531 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26532 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26533 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26534 * benchtests/Makefile: Add rint benchtest.
26535 * benchtests/rint-inputs: Input for rint benchtest.
26536
265372013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26538
26539 * Versions.def (libm): Add GLIBC_2.18.
26540 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26541 hidden libm prototypes.
26542 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26543 * math/Makefile (libm-calls): Add s_issignaling.
26544 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26545 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26546 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26547 declaration.
26548 * math/math.h [__USE_GNU] (issignaling): New macro.
26549 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26550 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26552 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26555 * manual/arith.texi (issignaling): New section.
26556 * manual/libm-err-tab.pl (@all_functions): Update comment.
26557 * math/gen-libm-test.pl (parse_args): Apply special handling for
26558 issignaling.
26559 * math/libm-test.inc (print_float, issignaling_test): New
26560 functions.
26561 (check_float_internal): Add issignaling checks.
26562 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26563 default definition.
26564 * sysdeps/powerpc/math-tests.h: New file.
26565 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26566 tests.
26567 * math/test-snan.c (TEST_FUNC): Likewise.
26568
265692013-03-30 David S. Miller <davem@davemloft.net>
26570
26571 * po/de.po: Update from translation team.
26572
265732013-03-30 Joseph Myers <joseph@codesourcery.com>
26574
26575 [BZ #10357]
26576 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26577 imaginary part less than 1.0 and real part less than 0.5
26578 specially.
26579 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26580 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26581 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26582 (cacos_test): Add more tests.
26583 (casin_test): Likewise.
26584 (casinh_test): Likewise.
26585 * sysdeps/i386/fpu/libm-test-ulps: Update.
26586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26587
265882013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26589
26590 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26591 ONE with its value.
26592
26593 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26594 (__pow_mp): Replace ONE and MONE with their values.
26595 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26596 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26597 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26598 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26599 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26600 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26601
26602 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26603
26604 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26605 (__pow_mp): Replace ZERO and MZERO with their values.
26606 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26607 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26608 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26609 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26610 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26611 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26612 (__sqr): Likewise.
26613
26614 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26615
26616 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26617
266182013-03-28 Roland McGrath <roland@hack.frob.com>
26619
26620 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26621 Declare with __attribute__ ((weak)).
26622 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26623 Call __call_tls_dtors only if it's not NULL.
26624
266252013-03-28 Roland McGrath <roland@hack.frob.com>
26626
26627 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26628 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26629 magic __ehdr_start linker symbol if it's defined.
26630 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26631 them up here if it was already done.
26632
26633 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26634 (_dl_aux_init): Use const in cast when setting it.
26635 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26636 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26637 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26638
26639 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26640 Declare them here.
26641 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26642 * csu/libc-tls.c: Nor here.
26643 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26644
26645 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26646 (__libc_message): Never call vsyslog.
26647
266482013-03-28 Alan Modra <amodra@gmail.com>
26649
26650 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26651 Define as empty.
26652 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26653 Likewise.
26654
266552013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26656
26657 [BZ #15214]
26658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26659 underflow.
26660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26661
266622013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26663
26664 [BZ #15304]
26665 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26666 Don't add gid passed as argument.
26667
26668 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26669
266702013-03-27 Joseph Myers <joseph@codesourcery.com>
26671
26672 [BZ #15307]
26673 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26674 imaginary part between 1.0 and 1.5 and real part less than 0.5
26675 specially.
26676 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26677 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26678 * math/libm-test.inc (cacos_test): Add more tests.
26679 (casin_test): Likewise.
26680 (casinh_test): Likewise.
26681 * sysdeps/i386/fpu/libm-test-ulps: Update.
26682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26683
266842013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26685
26686 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26687 constants.
26688 (norm): Likewise.
26689 (denorm): Likewise.
26690 (__dbl_mp): Likewise.
26691 (add_magnitudes): Likewise.
26692 (sub_magnitudes): Likewise.
26693 (__add): Likewise.
26694 (__sub): Likewise.
26695 (__mul): Likewise.
26696 (__sqr): Likewise.
26697 (__inv): Likewise.
26698 (__dvd): Likewise.
26699
26700 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26701 commented code.
26702 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26703 (__dubcos): Likewise.
26704 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26705 (__ieee754_acos): Likewise.
26706 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26707 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26708 (__exp1): Likewise.
26709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26711 (log1): Likewise.
26712 (my_log2): Likewise.
26713 (checkint): Likewise.
26714 * sysdeps/ieee754/dbl-64/e_remainder.c
26715 (__ieee754_remainder): Likewise.
26716 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26718 (bsloww): Likewise.
26719 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26720
26721 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26722 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26723 MANTISSA_STORE_T to store computations on mantissa. Use
26724 macros for rounding and division.
26725 (denorm): Likewise.
26726 (__dbl_mp): Likewise.
26727 (add_magnitudes): Likewise.
26728 (sub_magnitudes): Likewise.
26729 (__mul): Likewise.
26730 (__sqr): Likewise.
26731 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26732 powers of two in terms of TWOPOW macro.
26733 (mp_no): Make type of mantissa as MANTISSA_T.
26734 [!RADIXI]: Define RADIXI.
26735 [!TWO52]: Define TWO52.
26736 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26737
267382013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26739
26740 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26741 llroundl symbol when building for PPC32.
26742
267432013-03-24 Mark H Weaver <mhw@netris.org>
26744
26745 * manual/arith.texi (Normalization Functions): Fix prototypes for
26746 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26747
267482013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26749
26750 [BZ #13889]
26751 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26752 high value to check if expl overflow.
26753 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26754 to check for underflow and overflow.
26755 * math/libm-test.inc: Add exp test.
26756
267572013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26758
26759 [BZ #11120]
26760 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26761 with NOT_IN_libc.
26762
267632013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26764
26765 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26766 symbol.
26767
267682013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26769
26770 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26771 wrap blocks consisting of several statements.
26772
26773 * sysdeps/generic/math-tests.h: New file.
26774 * sysdeps/i386/fpu/math-tests.h: Likewise.
26775 * math/test-snan.c: Include it.
26776 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26777
267782013-03-21 Joseph Myers <joseph@codesourcery.com>
26779
26780 [BZ #15285]
26781 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26782 (__ieee754_j0l): Do not improve calculations using cos of twice
26783 input for inputs above LDBL_MAX / 2.0L.
26784 (__ieee754_y0l): Likewise.
26785 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26786 (__ieee754_j1l): Do not improve calculations using cos of twice
26787 input for inputs above LDBL_MAX / 2.0L.
26788 (__ieee754_y1l): Likewise.
26789 * math/libm-test.inc (j0_test): Add another test.
26790 (j1_test): Likewise.
26791 (y0_test): Likewise.
26792 (y1_test): Likewise.
26793 * sysdeps/i386/fpu/libm-test-ulps: Update.
26794
267952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26796
26797 * Rules ($(objpfx)bench-%.c): Include code from a C source
26798 file.
26799
268002013-03-21 Joseph Myers <joseph@codesourcery.com>
26801
26802 [BZ #15287]
26803 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26804 imaginary part 1.0 and real part less than 0.5 specially.
26805 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26806 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26807 * math/libm-test.inc (cacos_test): Add more tests.
26808 (casin_test): Likewise.
26809 (casinh_test): Likewise.
26810 * sysdeps/i386/fpu/libm-test-ulps: Update.
26811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26812
268132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26814
26815 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26816 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26817
268182013-03-20 Joseph Myers <joseph@codesourcery.com>
26819
26820 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26821 * config.make.in (config-cflags-sse4): Remove variable.
26822 (config-cflags-avx): Likewise.
26823 (config-cflags-sse2avx): Likewise.
26824 (config-cflags-novzeroupper): Likewise.
26825 (config-asflags-i686): Likewise.
26826 (have-mfma4): Likewise.
26827 (have-as-vis3): Likewise.
26828 (MIG): Likewise.
26829 * configure.in (MIG): Do not AC_SUBST.
26830 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26831 (libc_cv_cc_sse4): Do not AC_SUBST.
26832 (libc_cv_cc_avx): Likewise.
26833 (libc_cv_cc_sse2avx): Likewise.
26834 (libc_cv_cc_novzeroupper): Likewise.
26835 (libc_cv_cc_fma4): Likewise.
26836 (libc_cv_as_i686): Likewise.
26837 (libc_cv_sparc_as_vis3): Likewise.
26838 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26839 LIBC_CONFIG_VAR.
26840 (config-asflags-i686): Likewise.
26841 (config-cflags-avx): Likewise.
26842 (config-cflags-sse2avx): Likewise.
26843 (have-mfma4): Likewise.
26844 (config-cflags-novzeroupper): Likewise.
26845 * sysdeps/mach/configure.in (MIG): Likewise.
26846 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26847 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26848 LIBC_CONFIG_VAR.
26849 (config-cflags-avx): Likewise.
26850 (config-cflags-sse2avx): Likewise.
26851 (have-mfma4): Likewise.
26852 (config-cflags-novzeroupper): Likewise.
26853 * configure: Regenerated.
26854 * sysdeps/i386/configure: Likewise.
26855 * sysdeps/mach/configure: Likewise.
26856 * sysdeps/sparc/configure: Likewise.
26857 * sysdeps/x86_64/configure: Likewise.
26858
268592013-03-20 Roland McGrath <roland@hack.frob.com>
26860
26861 [BZ #14812]
26862 * locale/programs/localedef.c (options): Put N_ translation marker
26863 on argument names, not just descriptions.
26864
268652013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26866
26867 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26868
268692013-03-20 Ondřej Bílka <neleai@seznam.cz>
26870
26871 [BZ #14176]
26872 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26873
268742013-03-19 Roland McGrath <roland@hack.frob.com>
26875
26876 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26877 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26878 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26879 [!BEFORE_ABORT] (before_abort): New function.
26880 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26881 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26882 (writev_for_fatal): New function.
26883 (WRITEV_FOR_FATAL): New macro; call that.
26884 (backtrace_and_maps): New function.
26885 (BEFORE_ABORT): New macro; call that.
26886 (struct str_list): Type removed.
26887 (__libc_message, __libc_fatal): Functions removed.
26888 Include <sysdeps/posix/libc_fatal.c> instead.
26889
268902013-03-19 Joseph Myers <joseph@codesourcery.com>
26891
26892 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26893 constants.
26894 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26895 double constants.
26896
268972013-03-19 Andreas Schwab <schwab@suse.de>
26898
26899 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26900 * sysdeps/gnu/configure: Regenerate.
26901
26902 * configure.in: Substitute libc_cv_rtlddir.
26903 * configure: Regenerate.
26904 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26905 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26906 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26907 * elf/Makefile (install-others, CFLAGS-interp.c)
26908 (ldso_install, common-ldd-rewrite): Likewise.
26909 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26910 $(inst_slibdir)/$(rtld-installed-name).
26911 * scripts/rellns-sh: Add -p option.
26912 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26913 for source.
26914
269152013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26916
26917 * manual/nptl.texi: Renamed to ...
26918 * manual/threads.texi: ... this.
26919 * manual/Makefile (chapters): Update.
26920
269212013-03-18 Roland McGrath <roland@hack.frob.com>
26922
26923 [BZ #14812]
26924 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26925 on argument names, not just descriptions.
26926 * malloc/memusagestat.c (options): Likewise.
26927 * nss/getent.c (options): Likewise.
26928
269292013-03-18 Benno Schulenberg <bensberg@justemail.net>
26930
26931 [BZ #14812]
26932 * iconv/iconv_prog.c (options): Put N_ translation marker
26933 on argument names, not just descriptions.
26934 * iconv/iconvconfig.c (options): Likewise.
26935
269362013-03-18 Ondrej Bilka <neleai@seznam.cz>
26937
26938 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26939 implementation which is faster on all x86_64 architectures.
26940 Tested on AMD, Intel Nehalem, SNB, IVB.
26941 * sysdeps/x86_64/strnlen.S: Likewise.
26942
26943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26944 Remove all multiarch strlen and strnlen versions.
26945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26946 Remove strlen and strnlen related parts.
26947
26948 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26949 Inline strlen part.
26950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26951
26952 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26953 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26954 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26955 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26956 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26957 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26958
269592013-03-17 Carlos O'Donell <carlos@redhat.com>
26960
26961 * manual/memory.texi (Malloc Tunable Parameters):
26962 Sort parameters alphabetically. Add comments for missing entries.
26963
269642013-03-17 David S. Miller <davem@davemloft.net>
26965
26966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26967
269682013-03-16 Joseph Myers <joseph@codesourcery.com>
26969
26970 [BZ #15283]
26971 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26972 for arguments at most half maximum finite value.
26973 * math/libm-test.inc (j0_test): Add more tests.
26974 (j1_test): Likewise.
26975 (y0_test): Likewise.
26976 (y1_test): Likewise.
26977 * sysdeps/i386/fpu/libm-test-ulps: Update.
26978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26979
26980 [BZ #14155]
26981 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26982 1 / x and functions P and Q for arguments above 0x1p256L.
26983 (__ieee754_y0l): Likewise.
26984 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26985 (__ieee754_y1l): Likewise.
26986 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26987 (j1_test): Likewise.
26988 (y0_test): Likewise.
26989 (y1_test): Likewise.
26990
269912013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26992
26993 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26994 variable.
26995
269962013-03-15 Roland McGrath <roland@hack.frob.com>
26997
26998 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26999 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27000 zero since it's initialized to EXEC_PAGESIZE.
27001
27002 * sysdeps/unix/sysv/linux/ldsodefs.h
27003 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27004 * sysdeps/generic/ldsodefs.h: ... here.
27005
270062013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27007
27008 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27009
27010 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27011 math/test-snan.c.
27012 * math/test-snan.c: Renamed from
27013 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27014 * math/Makefile (tests): Add test-snan.
27015 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27016 test-powerpc-snan.
27017
27018 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27019 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27020 functions.
27021 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27022 __builtin_nan family of functions.
27023 * math/libm-test.inc (initialize): Initialize qnan_value with
27024 __builtin_nan family of functions.
27025 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27026 Remove variables.
27027 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27028 Remove functions.
27029 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27030 storage class. Initialize qNaN_var and sNaN_var with
27031 __builtin_nan and __builtin_nans families of functions,
27032 respectively.
27033
27034 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27035 (sqrt_test): Remove duplicate test with qNaN input.
27036 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27037 (round_test, signbit_test, significand_test): Note missing +/-Inf
27038 as well as qNaN tests.
27039
27040 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27041 qNaN_var. Fix a few strings, too.
27042 * math/libm-test.inc (nan_value): Rename to qnan_value.
27043 * math/gen-libm-test.pl (%beautify): Adjust to that.
27044 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27045 * math/test-misc.c (main): Likewise.
27046 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27047 to __qnan_bytes, and __qnan_union, respectively.
27048 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27049 Likewise.
27050 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27051 and lqnanval, respectively.
27052 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27053 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27054 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27055 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27056
27057 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27058 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27059 doubles.
27060
27061 * math/test-misc.c (main): Fix copy'n'pastos.
27062 * misc/tst-efgcvt.c (special): Likewise.
27063
27064 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27065 Remove declarations.
27066
270672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27068
27069 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27070 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27071 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27072 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27073
270742013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27075
27076 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27077 macro to return vdso values correctly in IFUNC implementations.
27078 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27079 Optimization by using IFUNC.
27080
270812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27082 Richard Henderson <rth@redhat.com>
27083 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27084
27085 * Makefile.in (bench): New target.
27086 * NEWS: Mention the benchmark framework.
27087 * Rules (bench): Likewise.
27088 (binaries-bench): Generate binaries for functions to
27089 benchmark.
27090 * benchtests/Makefile: New makefile for benchmark tests.
27091 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27092 programs.
27093 * benchtests/exp-inputs: New input file for EXP function.
27094 * benchtests/pow-inputs: New input file for POW function.
27095 * scripts/bench.pl: New script to generate source files for
27096 benchmark programs.
27097
270982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27099
27100 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27102 computations on mantissa. Use macros for rounding and
27103 division.
27104 (denorm): Likewise.
27105 (__dbl_mp): Likewise.
27106 (add_magnitudes): Likewise.
27107 (sub_magnitudes): Likewise.
27108 (__mul): Likewise.
27109 (__sqr): Likewise.
27110 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27111 powers of two in terms of TWOPOW macro.
27112 (mp_no): Make type of mantissa as MANTISSA_T.
27113 [!RADIXI]: Define RADIXI.
27114 [!TWO52]: Define TWO52.
27115 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27116
27117 * manual/nptl.texi (cindex): Modify threads to pthreads.
27118
271192013-03-15 Joseph Myers <joseph@codesourcery.com>
27120
27121 * sysdeps/x86_64/preconfigure: Regenerated.
27122
271232013-03-14 Joseph Myers <joseph@codesourcery.com>
27124
27125 [BZ #14155]
27126 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27127 0x1p28 and above.
27128 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27129 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27130 0x1p28 and above.
27131 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27132 * math/libm-test.inc (j0_test): Do not allow one spurious
27133 underflow exception.
27134 (y1_test): Likewise.
27135
271362013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27137
27138 * manual/Makefile (chapters): Add nptl.
27139 * manual/debug.texi (Debugging Support): Add link to Threads
27140 chapter.
27141 * manual/nptl.texi: New file.
27142
27143 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27144
271452013-03-14 Petr Baudis <pasky@ucw.cz>
27146
27147 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27148 for non-NULL pointer before the memory validity test. Pointed
27149 out by Holger Brunck <holger.brunck@keymile.com>.
27150
271512013-03-13 Andreas Schwab <schwab@suse.de>
27152
27153 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27154 instead of .os.
27155
271562013-03-13 Joseph Myers <joseph@codesourcery.com>
27157
27158 * timezone/zic.c: Update from tzcode 2013b.
27159
271602013-03-12 Carlos O'Donell <carlos@redhat.com>
27161
27162 * manual/install.texi (Configuring and compiling):
27163 Mention i686 and i586.
27164 * INSTALL: Regenerate.
27165
271662013-03-12 Roland McGrath <roland@hack.frob.com>
27167
27168 * sysdeps/init_array/elf-init.c: New file.
27169 * csu/elf-init.c
27170 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27171 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27172
27173 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27174 __gmon_start__ as global, but as static with a .preinit_array pointer.
27175 * sysdeps/init_array/gmon-start.c: New file. Use that.
27176 * sysdeps/init_array/crti.S: New file, empty except for comments.
27177 * sysdeps/init_array/crtn.S: Likewise.
27178
271792013-03-11 Ondřej Bílka <neleai@seznam.cz>
27180
27181 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27182 definining bcopy.
27183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27184 Remove Prefer_SSE_for_memop.
27185 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27186 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27187 HAS_PREFER_SSE_FOR_MEMOP.
27188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27189 memset-x86-64.
27190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27191 Remove bzero, memset ifunc support.
27192 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27193 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27194 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27195 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27196
271972013-03-11 Andreas Schwab <schwab@suse.de>
27198
27199 [BZ #15234]
27200 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27201 by SHLIB_COMPAT.
27202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27203 (GLIBC_2.16): Remove pthread_atfork.
27204
272052013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27206
27207 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27208 (ptestcases.h): Likewise.
27209
272102013-03-08 Roland McGrath <roland@hack.frob.com>
27211
27212 * Makeconfig ($(common-objpfx)config.status): Depend on
27213 sysdeps/*/preconfigure{,.in} too.
27214
272152013-03-08 Joseph Myers <joseph@codesourcery.com>
27216
27217 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27218 (__free_hook): Use void * instead of __malloc_ptr_t.
27219 (__malloc_hook): Likewise.
27220 (__realloc_hook): Likewise.
27221 (__memalign_hook): Likewise.
27222 (__after_morecore_hook): Likewise.
27223 * malloc/arena.c (save_malloc_hook): Likewise.
27224 (save_free_hook): Likewise.
27225 * malloc/hooks.c (malloc_hook_ini): Likewise.
27226 (realloc_hook_ini): Likewise.
27227 (memalign_hook_ini): Likewise.
27228 * malloc/malloc.c (malloc_hook_ini): Likewise.
27229 (realloc_hook_ini): Likewise.
27230 (memalign_hook_ini): Likewise.
27231 (__free_hook): Likewise.
27232 (__malloc_hook): Likewise.
27233 (__realloc_hook): Likewise.
27234 (__memalign_hook): Likewise.
27235 (__libc_malloc): Likewise.
27236 (__libc_free): Likewise.
27237 (__libc_realloc): Likewise.
27238 (__libc_memalign): Likewise.
27239 (__libc_valloc): Likewise.
27240 (__libc_pvalloc): Likewise.
27241 (__libc_calloc): Likewise.
27242 (__posix_memalign): Likewise.
27243 * malloc/morecore.c (__sbrk): Likewise.
27244 (__default_morecore): Likewise.
27245
27246 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27247
27248 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27249 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27250 __malloc_ptrdiff_t.
27251
27252 * malloc/malloc.h (__malloc_size_t): Remove macro.
27253 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27254 __malloc_size_t.
27255 (old_memalign_hook): Likewise.
27256 (old_realloc_hook): Likewise.
27257 (struct hdr): Likewise.
27258 (flood): Likewise.
27259 (mallochook): Likewise.
27260 (memalignhook): Likewise.
27261 (reallochook): Likewise.
27262 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27263 (tr_old_realloc_hook): Likewise.
27264 (tr_old_memalign_hook): Likewise.
27265 (tr_mallochook): Likewise.
27266 (tr_reallochook): Likewise.
27267 (tr_memalignhook): Likewise.
27268
272692013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27270
27271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27272 default_ldbl_pack and using as default implementation.
27273 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27274 implementation.
27275 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27276 redundant definition.
27277 (ldbl_insert_mantissa): Likewise.
27278 (ldbl_canonicalize): Likewise.
27279 (ldbl_nearbyint): Likewise.
27280 (ldbl_pack): Rename to ldbl_pack_ppc.
27281 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27282 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27283 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27284
272852013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27286
27287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27288 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27289 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27290 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27292 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27293 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27294 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27295
272962013-03-07 Andreas Jaeger <aj@suse.de>
27297
27298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27299 bits/mman-linux.h.
27300
273012013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27302
27303 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27304 Include mpa.h and declare __MPEXP.
27305 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27306 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27307 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27308 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27309 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27310 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27311 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27312
27313 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27314 (__slowpow): Use long double EXPL and LOGL functions to
27315 compute POW.
27316 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27317 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27318 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27319 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27320 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27322
27323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27324 intermediate variable to calculate exponent.
27325 (__sqr): Likewise.
27326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27327 Likewise.
27328 (__sqr): Likewise.
27329
27330 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27331 [!NO__SQR]: Define __sqr.
27332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27333 and NO__SQR. Remove all code except __mul and __sqr. Include
27334 sysdeps/ieee754/dbl-64/mpa.c.
27335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27336
27337 [BZ #12723]
27338 * posix/Makefile (tests): Add tst-pathconf.
27339 * posix/tst-pathconf.c: New test case.
27340 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27341 _PC_PIPE_BUF.
27342 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27343
273442013-03-06 Patsy Franklin <pfrankli@redhat.com>
27345
27346 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27347
273482013-03-06 Andreas Jaeger <aj@suse.de>
27349
27350 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27351 definition via __MAP_ANONYMOUS.
27352
27353 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27354 it's not part of Linux headers.
27355
27356 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27357 (MAP_HUGE_MASK): Define.
27358
27359 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27360 Define.
27361 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27363 Define.
27364 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27365 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27366 Define.
27367 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27368 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27369 Define.
27370 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27371
27372 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27373 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27374 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27375 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27376 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27377 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27378
27379 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27380 Handle f2fs.
27381
27382 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27383 Handle f2fs and efivarfs.
27384
27385 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27386 f2fs.
27387
27388 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27389 (EFIVARFS_MAGIC): Add.
27390 (F2FS_LINK_MAX): Add.
27391
273922013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27393
27394 * stdio-common/vfprintf.c: Replace __builtin_expect with
27395 __glibc_unlikely.
27396
273972013-03-06 Joseph Myers <joseph@codesourcery.com>
27398
27399 [BZ #13550]
27400 * sysdeps/generic/bp-sym.h: Remove file.
27401 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27402 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27403 <bp-sym.h> and <bp-asm.h>.
27404 (__longjmp): Don't use BP_SYM.
27405 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27406 and <bp-asm.h>.
27407 (memcpy): Don't use BP_SYM.
27408 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27409 <bp-sym.h> and <bp-asm.h>.
27410 (memcpy): Don't use BP_SYM.
27411 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27412 <bp-asm.h>.
27413 (memcpy): Don't use BP_SYM.
27414 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27415 <bp-asm.h>.
27416 (memset): Don't use BP_SYM.
27417 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27418 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27419 (__bzero): Don't use BP_SYM.
27420 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27421 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27422 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27423 <bp-sym.h> and <bp-asm.h>.
27424 (memcmp): Don't use BP_SYM. Remove comment about bounded
27425 pointers.
27426 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27427 <bp-sym.h> and <bp-asm.h>.
27428 (memcpy): Don't use BP_SYM.
27429 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27430 <bp-sym.h> and <bp-asm.h>.
27431 (memset): Don't use BP_SYM.
27432 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27433 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27434 (__bzero): Don't use BP_SYM.
27435 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27436 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27437 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27438 <bp-sym.h> and <bp-asm.h>.
27439 (strncmp): Don't use BP_SYM. Remove comment about bounded
27440 pointers.
27441 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27442 <bp-sym.h> and <bp-asm.h>.
27443 (memcpy): Don't use BP_SYM.
27444 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27445 <bp-sym.h> and <bp-asm.h>.
27446 (memset): Don't use BP_SYM.
27447 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27448 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27449 (__bzero): Don't use BP_SYM.
27450 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27451 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27453 <bp-sym.h> and <bp-asm.h>.
27454 (__memchr): Don't use BP_SYM.
27455 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27456 <bp-sym.h> and <bp-asm.h>.
27457 (memcmp): Don't use BP_SYM. Remove comment about bounded
27458 pointers.
27459 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27460 <bp-sym.h> and <bp-asm.h>.
27461 (memcpy): Don't use BP_SYM.
27462 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27463 <bp-sym.h> and <bp-asm.h>.
27464 (__mempcpy): Don't use BP_SYM.
27465 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27466 <bp-sym.h> and <bp-asm.h>.
27467 (__memrchr): Don't use BP_SYM.
27468 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27469 <bp-sym.h> and <bp-asm.h>.
27470 (memset): Don't use BP_SYM.
27471 (__bzero): Likewise.
27472 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27473 <bp-sym.h> and <bp-asm.h>.
27474 (__rawmemchr): Don't use BP_SYM.
27475 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27476 <bp-sym.h> and <bp-asm.h>.
27477 (__STRCMP): Don't use BP_SYM.
27478 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27479 <bp-sym.h> and <bp-asm.h>.
27480 (strchr): Don't use BP_SYM.
27481 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27482 <bp-sym.h> and <bp-asm.h>.
27483 (__strchrnul): Don't use BP_SYM.
27484 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27485 <bp-sym.h> and <bp-asm.h>.
27486 (strlen): Don't use BP_SYM.
27487 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27488 <bp-sym.h> and <bp-asm.h>.
27489 (strncmp): Don't use BP_SYM. Remove comment about bounded
27490 pointers.
27491 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27492 <bp-sym.h> and <bp-asm.h>.
27493 (__strnlen): Don't use BP_SYM.
27494 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27495 <bp-sym.h> and <bp-asm.h>.
27496 (__GI__setjmp): Don't use BP_SYM.
27497 (_setjmp): Likewise.
27498 (__sigsetjmp): Likewise.
27499 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27500 (L(start_addresses)): Don't use BP_SYM.
27501 (_start): Likewise.
27502 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27503 <bp-asm.h>.
27504 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27505 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27506 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27507 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27508 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27509 <bp-asm.h>.
27510 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27511 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27512 about bounded pointers.
27513 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27514 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27515 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27516 <bp-asm.h>.
27517 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27518 about bounded pointers. Remove GKM FIXME comments.
27519 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27520 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27521 <bp-asm.h>.
27522 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27523 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27524 Remove GKM FIXME comments.
27525 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27526 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27527 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27528 <bp-asm.h>.
27529 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27530 about bounded pointers. Remove GKM FIXME comment.
27531 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27532 and <bp-asm.h>.
27533 (strncmp): Don't use BP_SYM. Remove comment about bounded
27534 pointers.
27535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27536 <bp-sym.h> and <bp-asm.h>.
27537 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27539 <bp-sym.h> and <bp-asm.h>.
27540 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27541 comment.
27542
275432013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27544
27545 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27546 call free(NULL).
27547
275482013-03-05 David S. Miller <davem@davemloft.net>
27549
27550 * po/es.po: Update from translation team.
27551
275522013-03-05 Andreas Jaeger <aj@suse.de>
27553
27554 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27555 <bits/mman-linux.h>.
27556 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27557 is fine.
27558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27559 <bits/mman-linux.h> to end of file.
27560 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27561 is fine.
27562 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27563 <bits/mman-linux.h> to end of file.
27564 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27565 is fine.
27566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27567 <bits/mman-linux.h> to end of file.
27568
27569 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27570 (MCL_CURRENT, MCL_FUTURE): Define here.
27571
275722013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27573
27574 [BZ #15232]
27575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27576 attribute_hidden.
27577 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27578
275792013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27580
27581 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27582 fourth parameter needed for rt_sigprocmask syscall.
27583 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27584 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27585 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27586 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27587 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27588 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27589
275902013-03-04 Joseph Myers <joseph@codesourcery.com>
27591
27592 [BZ #13550]
27593 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27594 comment about bounded pointers.
27595 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27596 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27597
275982013-03-04 Andreas Jaeger <aj@suse.de>
27599
27600 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27601 common definitions.
27602
27603 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27604 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27605 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27606 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27607 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27608 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27609
276102013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27611
27612 [BZ #15055]
27613 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27614 __ieee754_sqrl instead of __sqrl.
27615
276162013-03-01 Joseph Myers <joseph@codesourcery.com>
27617
27618 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27619 * sysdeps/powerpc/fpu_control.h: ... here.
27620 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27621 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27622 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27623 * sysdeps/powerpc/bits/mathinline.h: ... here.
27624
276252013-03-01 Roland McGrath <roland@hack.frob.com>
27626
27627 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27628 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27629 to just [NEED_DL_SYSINFO_DSO].
27630 * elf/dl-support.c: Likewise.
27631 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27632 * elf/rtld.c (dl_main): Likewise.
27633 * elf/setup-vdso.h (setup_vdso): Likewise.
27634 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27635 * sysdeps/unix/sysv/linux/dl-sysdep.c
27636 (_dl_discover_osversion): Likewise.
27637
276382013-03-01 Carlos O'Donell <carlos@redhat.com>
27639
27640 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27641 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27642
276432013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27644
27645 * NEWS: Mention libm performance improvements and non-x86 PI
27646 futex support.
27647
27648 * csu/libc-start.c (__pthread_initialize_minimal): Change
27649 function arguments.
27650 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27651
276522013-02-28 Joseph Myers <joseph@codesourcery.com>
27653
27654 [BZ #13550]
27655 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27656 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27657 <bp-sym.h> and <bp-asm.h>.
27658 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27659 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27660 and <bp-asm.h>.
27661 (memcpy): Don't use BP_SYM.
27662 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27663 <bp-asm.h>.
27664 (__mpn_add_n): Don't use BP_SYM.
27665 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27666 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27667 and <bp-asm.h>.
27668 (__mpn_addmul_1): Don't use BP_SYM.
27669 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27670 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27671 <bp-sym.h>.
27672 (_setjmp): Don't use BP_SYM.
27673 (__novmx_setjmp): Likewise.
27674 (__GI__setjmp): Likewise.
27675 (__vmx_setjmp): Likewise.
27676 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27677 <bp-sym.h>.
27678 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27679 (__bzero): Don't use BP_SYM.
27680 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27681 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27682 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27683 <bp-sym.h> and <bp-asm.h>.
27684 (memcpy): Don't use BP_SYM.
27685 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27686 <bp-sym.h> and <bp-asm.h>.
27687 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27688 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27689 <bp-sym.h> and <bp-asm.h>.
27690 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27691 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27692 <bp-asm.h>.
27693 (__mpn_lshift): Don't use BP_SYM.
27694 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27695 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27696 <bp-asm.h>.
27697 (memset): Don't use BP_SYM.
27698 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27699 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27700 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27701 <bp-asm.h>.
27702 (__mpn_mul_1): Don't use BP_SYM.
27703 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27705 <bp-sym.h> and <bp-asm.h>.
27706 (memcmp): Don't use BP_SYM.
27707 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27708 <bp-sym.h> and <bp-asm.h>.
27709 (memcpy): Don't use BP_SYM.
27710 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27711 <bp-sym.h> and <bp-asm.h>.
27712 (memset): Don't use BP_SYM.
27713 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27714 <bp-sym.h> and <bp-asm.h>.
27715 (strncmp): Don't use BP_SYM.
27716 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27717 <bp-sym.h> and <bp-asm.h>.
27718 (memcpy): Don't use BP_SYM.
27719 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27720 <bp-sym.h> and <bp-asm.h>.
27721 (memset): Don't use BP_SYM.
27722 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27723 <bp-sym.h> and <bp-asm.h>.
27724 (__memchr): Don't use BP_SYM.
27725 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27726 <bp-sym.h> and <bp-asm.h>.
27727 (memcmp): Don't use BP_SYM.
27728 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27729 <bp-sym.h> and <bp-asm.h>.
27730 (memcpy): Don't use BP_SYM.
27731 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27732 <bp-sym.h> and <bp-asm.h>.
27733 (__mempcpy): Don't use BP_SYM.
27734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27735 <bp-sym.h> and <bp-asm.h>.
27736 (__memrchr): Don't use BP_SYM.
27737 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27738 <bp-sym.h> and <bp-asm.h>.
27739 (memset): Don't use BP_SYM.
27740 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27741 <bp-sym.h> and <bp-asm.h>.
27742 (__rawmemchr): Don't use BP_SYM.
27743 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27744 <bp-sym.h> and <bp-asm.h>.
27745 (__STRCMP): Don't use BP_SYM.
27746 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27747 <bp-sym.h> and <bp-asm.h>.
27748 (strchr): Don't use BP_SYM.
27749 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27750 <bp-sym.h> and <bp-asm.h>.
27751 (__strchrnul): Don't use BP_SYM.
27752 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27753 <bp-sym.h> and <bp-asm.h>.
27754 (strlen): Don't use BP_SYM.
27755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27756 <bp-sym.h> and <bp-asm.h>.
27757 (strncmp): Don't use BP_SYM.
27758 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27759 <bp-sym.h> and <bp-asm.h>.
27760 (__strnlen): Don't use BP_SYM.
27761 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27762 <bp-asm.h>.
27763 (__mpn_rshift): Don't use BP_SYM.
27764 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27765 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27766 <bp-sym.h> and <bp-asm.h>.
27767 (__sigsetjmp): Don't use BP_SYM.
27768 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27769 (L(start_addresses)): Don't use BP_SYM.
27770 (_start): Likewise.
27771 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27772 <bp-asm.h>.
27773 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27774 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27775 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27776 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27777 <bp-asm.h>.
27778 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27779 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27780 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27781 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27782 <bp-asm.h>.
27783 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27784 comments.
27785 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27786 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27787 <bp-asm.h>.
27788 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27789 FIXME comments.
27790 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27791 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27792 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27793 <bp-asm.h>.
27794 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27795 comment.
27796 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27797 and <bp-asm.h>.
27798 (strncmp): Don't use BP_SYM,
27799 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27800 <bp-asm.h>.
27801 (__mpn_sub_n): Don't use BP_SYM.
27802 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27803 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27804 and <bp-asm.h>.
27805 (__mpn_submul_1): Don't use BP_SYM.
27806 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27808 <bp-sym.h> and <bp-asm.h>.
27809 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27811 <bp-sym.h> and <bp-asm.h>.
27812 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27813 comment.
27814
278152013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27816
27817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27818 Use ZK to minimize writes to Z.
27819 (sub_magnitudes): Simplify code a bit.
27820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27821 Use ZK to minimize writes to Z.
27822 (sub_magnitudes): Simplify code a bit.
27823
278242013-02-27 Roland McGrath <roland@hack.frob.com>
27825
27826 * csu/gmon-start.c: Add special exception to license text.
27827
278282013-02-27 Richard Henderson <rth@redhat.com>
27829
27830 * scripts/config.guess: Update from config.git.
27831 * scripts/config.sub: Likewise.
27832
278332013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27834
27835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27836
27837 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27838
27839 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27840
27841 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27842
27843 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27844
278452013-02-26 Roland McGrath <roland@hack.frob.com>
27846
27847 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27848 [$(build-shared = yes].
27849
278502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27851
27852 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27853 (__mul): Reduce iterations for calculating mantissa.
27854
27855 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27856 MPTWO.
27857 (__mpranred): Likewise.
27858
27859 [BZ #15160]
27860 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27861 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27862
278632013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27864
27865 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27866 Define __attribute__.
27867
278682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27869
27870 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27871 unused.
27872 * posix/regex_internal.h (__attribute): Remove.
27873 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27874 (re_string_context_at): Likewise.
27875 (bitset_not): Use __attribute__ and mark function as possibly
27876 unused.
27877 (bitset_merge): Likewise.
27878 (bitset_mask): Likewise.
27879 (re_string_char_size_at): Likewise.
27880 (re_string_wchar_at): Likewise.
27881 (re_string_elem_size_at): Likewise.
27882
278832013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27884
27885 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27886 code.
27887 (cc32): Likewise.
27888
27889 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27890 (__acr): Likewise.
27891 (__cpy): Likewise.
27892 (norm): Likewise.
27893 (denorm): Likewise.
27894 (__dbl_mp): Likewise.
27895 (add_magnitudes): Likewise.
27896 (sub_magnitudes): Likewise.
27897 (__mul): Likewise.
27898 (__inv): Likewise.
27899
27900 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27901 style.
27902
27903 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27904 style.
27905
27906 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27907 code.
27908
27909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27910 up changes with default code.
27911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27912 Likewise.
27913
279142013-02-24 Allan McRae <allan@archlinux.org>
27915
27916 * manual/socket.texi (The Internet Namespace): Order menu items
27917 to match that in the file.
27918
27919 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27920 node listing of the info page menu.
27921
279222013-02-21 Joseph Myers <joseph@codesourcery.com>
27923
27924 [BZ #13550]
27925 * sysdeps/i386/bp-asm.h: Remove file.
27926 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27927 (PARMS): Do not use macros from bp-asm.h.
27928 (S1): Likewise.
27929 (S2): Likewise.
27930 (SIZE): Likewise.
27931 (__mpn_add_n): Do not use BP_SYM
27932 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27933 "bp-asm.h".
27934 (PARMS): Do not use macros from bp-asm.h.
27935 (S1): Likewise.
27936 (SIZE): Likewise.
27937 (__mpn_addmul_1): Do not use BP_SYM
27938 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27939 "bp-asm.h".
27940 (PARMS): Do not use macros from bp-asm.h.
27941 (SIGMSK): Likewise.
27942 (_setjmp): Likewise. Do not use BP_SYM.
27943 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27944 "bp-asm.h".
27945 (PARMS): Do not use macros from bp-asm.h.
27946 (SIGMSK): Likewise.
27947 (setjmp): Likewise. Do not use BP_SYM.
27948 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27949 "bp-asm.h".
27950 (PARMS): Do not use macros from bp-asm.h.
27951 (__frexp): Do not use BP_SYM.
27952 (frexp): Likewise.
27953 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27954 "bp-asm.h".
27955 (PARMS): Do not use macros from bp-asm.h.
27956 (__frexpf): Do not use BP_SYM.
27957 (frexpf): Likewise.
27958 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27959 "bp-asm.h".
27960 (PARMS): Do not use macros from bp-asm.h.
27961 (__frexpl): Do not use BP_SYM.
27962 (frexpl): Likewise.
27963 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27964 "bp-asm.h".
27965 (PARMS): Do not use macros from bp-asm.h.
27966 (__remquo): Do not use BP_SYM.
27967 (remquo): Likewise.
27968 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27969 "bp-asm.h".
27970 (PARMS): Do not use macros from bp-asm.h.
27971 (__remquof): Do not use BP_SYM.
27972 (remquof): Likewise.
27973 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27974 "bp-asm.h".
27975 (PARMS): Do not use macros from bp-asm.h.
27976 (__remquol): Do not use BP_SYM.
27977 (remquol): Likewise.
27978 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27979 "bp-asm.h".
27980 (PARMS): Do not use macros from bp-asm.h.
27981 (DEST): Likewise.
27982 (SRC): Likewise.
27983 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27984 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27985 "bp-asm.h".
27986 (PARMS): Do not use macros from bp-asm.h.
27987 (strlen): Do not use BP_SYM.
27988 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27989 "bp-asm.h".
27990 (PARMS): Do not use macros from bp-asm.h.
27991 (S1): Likewise.
27992 (S2): Likewise.
27993 (SIZE): Likewise.
27994 (__mpn_add_n): Do not use BP_SYM.
27995 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27996 "bp-asm.h".
27997 (PARMS): Do not use macros from bp-asm.h.
27998 (S1): Likewise.
27999 (SIZE): Likewise.
28000 (__mpn_addmul_1): Do not use BP_SYM.
28001 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28002 weak_alias.
28003 (bzero): Likewise.
28004 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28005 "bp-asm.h".
28006 (PARMS): Do not use macros from bp-asm.h.
28007 (S): Likewise.
28008 (SIZE): Likewise.
28009 (__mpn_lshift): Do not use BP_SYM.
28010 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28011 "bp-asm.h".
28012 (PARMS): Do not use macros from bp-asm.h.
28013 (DEST): Likewise.
28014 (SRC): Likewise.
28015 (LEN): Likewise.
28016 (memcpy): Likewise. Do not use BP_SYM.
28017 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28018 libc_hidden_def and weak_alias.
28019 (mempcpy): Do not use BP_SYM in weak_alias.
28020 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28021 "bp-asm.h".
28022 (PARMS): Do not use macros from bp-asm.h.
28023 (DEST): Likewise.
28024 (LEN): Likewise.
28025 [!BZERO_P] (CHR): Likewise.
28026 (memset): Likewise. Do not use BP_SYM.
28027 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28028 "bp-asm.h".
28029 (PARMS): Do not use macros from bp-asm.h.
28030 (S1): Likewise.
28031 (SIZE): Likewise.
28032 (__mpn_mul_1): Do not use BP_SYM.
28033 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28034 "bp-asm.h".
28035 (PARMS): Do not use macros from bp-asm.h.
28036 (S): Likewise.
28037 (SIZE): Likewise.
28038 (__mpn_rshift): Do not use BP_SYM.
28039 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28040 "bp-asm.h".
28041 (PARMS): Do not use macros from bp-asm.h.
28042 (STR): Likewise.
28043 (CHR): Likewise.
28044 (strchr): Likewise. Do not use BP_SYM.
28045 (index): Do not use BP_SYM in weak_alias.
28046 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28047 "bp-asm.h".
28048 (PARMS): Do not use macros from bp-asm.h.
28049 (DEST): Likewise.
28050 (SRC): Likewise.
28051 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28052 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28053 "bp-asm.h".
28054 (PARMS): Do not use macros from bp-asm.h.
28055 (strlen): Do not use BP_SYM.
28056 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28057 "bp-asm.h".
28058 (PARMS): Do not use macros from bp-asm.h.
28059 (S1): Likewise.
28060 (S2): Likewise.
28061 (SIZE): Likewise.
28062 (__mpn_sub_n): Do not use BP_SYM.
28063 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28064 "bp-asm.h".
28065 (PARMS): Do not use macros from bp-asm.h.
28066 (S1): Likewise.
28067 (SIZE): Likewise.
28068 (__mpn_submul_1): Do not use BP_SYM.
28069 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28070 "bp-asm.h".
28071 (PARMS): Do not use macros from bp-asm.h.
28072 (S1): Likewise.
28073 (S2): Likewise.
28074 (SIZE): Likewise.
28075 (__mpn_add_n): Do not use BP_SYM.
28076 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28077 weak_alias.
28078 (bzero): Likewise.
28079 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28080 "bp-asm.h".
28081 (PARMS): Do not use macros from bp-asm.h.
28082 (BLK2): Likewise.
28083 (LEN): Likewise.
28084 (memcmp): Do not use BP_SYM.
28085 (bcmp): Do not use BP_SYM in weak_alias.
28086 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28087 "bp-asm.h".
28088 (PARMS): Do not use macros from bp-asm.h.
28089 (DEST): Likewise.
28090 (SRC): Likewise.
28091 (LEN): Likewise.
28092 (memcpy): Likewise. Do not use BP_SYM.
28093 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28094 "bp-asm.h".
28095 (PARMS): Do not use macros from bp-asm.h.
28096 (DEST): Likewise.
28097 (SRC): Likewise.
28098 (LEN): Likewise.
28099 (memmove): Likewise. Do not use BP_SYM.
28100 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28101 "bp-asm.h".
28102 (PARMS): Do not use macros from bp-asm.h.
28103 (DEST): Likewise.
28104 (SRC): Likewise.
28105 (LEN): Likewise.
28106 (__mempcpy): Likewise. Do not use BP_SYM.
28107 (mempcpy): Do not use BP_SYM in weak_alias.
28108 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28109 "bp-asm.h".
28110 (PARMS): Do not use macros from bp-asm.h.
28111 (DEST): Likewise.
28112 (LEN): Likewise.
28113 [!BZERO_P] (CHR): Likewise.
28114 (memset): Likewise. Do not use BP_SYM.
28115 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28116 "bp-asm.h".
28117 (PARMS): Do not use macros from bp-asm.h.
28118 (STR2): Likewise.
28119 (strcmp): Do not use BP_SYM.
28120 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28121 "bp-asm.h".
28122 (PARMS): Do not use macros from bp-asm.h.
28123 (STR): Likewise.
28124 (DELIM): Likewise.
28125 [USE_AS_STRTOK_R] (SAVE): Likewise.
28126 (FUNCTION): Likewise. Do not use BP_SYM.
28127 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28128 aliases.
28129 (strtok_r): Likewise.
28130 (__GI___strtok_r): Likewise.
28131 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28132 (PARMS): Do not use macros from bp-asm.h.
28133 (S): Likewise.
28134 (SIZE): Likewise.
28135 (__mpn_lshift): Do not use BP_SYM.
28136 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28137 (PARMS): Do not use macros from bp-asm.h.
28138 (STR): Likewise.
28139 (CHR): Likewise.
28140 (__memchr): Do not use BP_SYM.
28141 (memchr): Do not use BP_SYM in weak_alias.
28142 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28143 (PARMS): Do not use macros from bp-asm.h.
28144 (BLK2): Likewise.
28145 (LEN): Likewise.
28146 (memcmp): Do not use BP_SYM.
28147 (bcmp): Do not use BP_SYM in weak_alias.
28148 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28149 (PARMS): Do not use macros from bp-asm.h.
28150 (S1): Likewise.
28151 (SIZE): Likewise.
28152 (__mpn_mul_1): Do not use BP_SYM.
28153 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28154 "bp-asm.h".
28155 (PARMS): Do not use macros from bp-asm.h.
28156 (STR): Likewise.
28157 (CHR): Likewise.
28158 (__rawmemchr): Do not use BP_SYM.
28159 (rawmemchr): Do not use BP_SYM in weak_alias.
28160 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28161 (PARMS): Do not use macros from bp-asm.h.
28162 (S): Likewise.
28163 (SIZE): Likewise.
28164 (__mpn_rshift): Do not use BP_SYM.
28165 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28166 (PARMS): Do not use macros from bp-asm.h.
28167 (SIGMSK): Likewise.
28168 (__sigsetjmp): Likewise. Do not use BP_SYM.
28169 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28170 (_start): Do not use BP_SYM.
28171 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28172 (PARMS): Do not use macros from bp-asm.h.
28173 (DEST): Likewise.
28174 (SRC): Likewise.
28175 (__stpcpy): Likewise. Do not use BP_SYM.
28176 (stpcpy): Do not use BP_SYM in weak_alias.
28177 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28178 "bp-asm.h".
28179 (PARMS): Do not use macros from bp-asm.h.
28180 (DEST): Likewise.
28181 (SRC): Likewise.
28182 (LEN): Likewise.
28183 (__stpncpy): Likewise. Do not use BP_SYM.
28184 (stpncpy): Do not use BP_SYM in weak_alias.
28185 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28186 (PARMS): Do not use macros from bp-asm.h.
28187 (STR): Likewise.
28188 (CHR): Likewise.
28189 (strchr): Likewise. Do not use BP_SYM.
28190 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28191 "bp-asm.h".
28192 (PARMS): Do not use macros from bp-asm.h.
28193 (STR): Likewise.
28194 (CHR): Likewise.
28195 (__strchrnul): Likewise. Do not use BP_SYM.
28196 (strchrnul): Do not use BP_SYM in weak_alias.
28197 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28198 "bp-asm.h".
28199 (PARMS): Do not use macros from bp-asm.h.
28200 (STOP): Likewise.
28201 (strcspn): Do not use BP_SYM.
28202 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28203 "bp-asm.h".
28204 (PARMS): Do not use macros from bp-asm.h.
28205 (STR): Likewise.
28206 (STOP): Likewise.
28207 (strpbrk): Likewise. Do not use BP_SYM.
28208 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28209 "bp-asm.h".
28210 (PARMS): Do not use macros from bp-asm.h.
28211 (STR): Likewise.
28212 (CHR): Likewise.
28213 (strrchr): Likewise. Do not use BP_SYM.
28214 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28215 (PARMS): Do not use macros from bp-asm.h.
28216 (SKIP): Likewise.
28217 (strspn): Do not use BP_SYM.
28218 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28219 (PARMS): Do not use macros from bp-asm.h.
28220 (STR): Likewise.
28221 (DELIM): Likewise.
28222 (SAVE): Likewise.
28223 (FUNCTION): Likewise. Do not use BP_SYM.
28224 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28225 aliases.
28226 (strtok_r): Likewise.
28227 (__GI___strtok_r): Likewise.
28228 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28229 (PARMS): Do not use macros from bp-asm.h.
28230 (S1): Likewise.
28231 (S2): Likewise.
28232 (SIZE): Likewise.
28233 (__mpn_sub_n): Do not use BP_SYM.
28234 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28235 "bp-asm.h".
28236 (PARMS): Do not use macros from bp-asm.h.
28237 (S1): Likewise.
28238 (SIZE): Likewise.
28239 (__mpn_submul_1): Do not use BP_SYM.
28240 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28241 <bp-sym.h>.
28242 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28243 and <bp-asm.h>.
28244 (PARMS): Do not use macros from bp-asm.h.
28245 (FLAGS): Likewise.
28246 (PTID): Likewise.
28247 (TLS): Likewise.
28248 (CTID): Likewise.
28249 (__clone): Do not use BP_SYM.
28250 (clone): Do not use BP_SYM in weak_alias.
28251 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28252 and <bp-asm.h>.
28253 (PARMS): Do not use macros from bp-asm.h.
28254 (LEN): Likewise.
28255 (__mmap64): Do not use BP_SYM.
28256 (mmap64): Do not use BP_SYM in weak_alias.
28257 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28258 <bp-sym.h> and <bp-asm.h>.
28259 (PARMS): Do not use macros from bp-asm.h.
28260 (__posix_fadvise64_l64): Do not use BP_SYM.
28261 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28262 (PARMS): Do not use macros from bp-asm.h.
28263 (NSOPS): Likewise.
28264 (semtimedop): Do not use BP_SYM.
28265 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28266 and <bp-asm.h>.
28267
282682013-02-21 Allan McRae <allan@archlinux.org>
28269
28270 * manual/message.texi (Charset conversion in gettext):
28271 Move @end statement to beginning of line.
28272
282732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28274
28275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28276 static.
28277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28278 Likewise.
28279
28280 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28281 (denorm): Likewise.
28282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28284
282852013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28286
28287 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28288 tail-call to the resolved function if pltexit isn't needed.
28289
282902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28291
28292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28293 or Y being zero as being unlikely.
28294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28295 Likewise.
28296
282972013-02-20 Carlos O'Donell <carlos@redhat.com>
28298
28299 * manual/nss.texi (System Databases and Name Service Switch):
28300 Remove frobnicate @pxref.
28301
283022013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28303
28304 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28305 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28306
283072013-02-20 Petr Machata <pmachata@redhat.com>
28308
28309 * elf/elf.h (R_ARM_TARGET1): New macro.
28310 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28311 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28312 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28313 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28314 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28315 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28316 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28317 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28318 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28319 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28320 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28321 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28322 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28323 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28324 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28325 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28326 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28327 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28328 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28329 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28330 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28331 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28332 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28333 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28334 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28335 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28336 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28337 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28338 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28339 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28340 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28341 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28342 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28343 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28344 (R_ARM_THM_GOT_BREL12): Likewise.
28345 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28346 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28347 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28348 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28349 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28350 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28351 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28352 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28353 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28354
283552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28356
28357 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28358 __attribute_used__ to __attribute__ ((unused)).
28359
283602013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28361
28362 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28363 powerpc mpa.c.
28364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28365 comment formatting.
28366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28367
283682013-02-19 Joseph Myers <joseph@codesourcery.com>
28369
28370 [BZ #13550]
28371 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28372 Remove macro.
28373 (ENTER): Remove both macro definitions.
28374 (LEAVE): Likewise.
28375 (CHECK_BOUNDS_LOW): Likewise.
28376 (CHECK_BOUNDS_HIGH): Likewise.
28377 (CHECK_BOUNDS_BOTH): Likewise.
28378 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28379 (RETURN_BOUNDED_POINTER): Likewise.
28380 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28381 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28382 (POP_ERRNO_LOCATION_RETURN): Likewise.
28383 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28384 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28385 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28386 macros.
28387 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28388 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28389 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28390 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28391 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28392 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28393 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28394 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28395 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28396 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28397 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28398 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28399 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28400 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28401 removed macros.
28402 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28403 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28404 macros.
28405 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28406 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28407 * sysdeps/i386/i586/memset.S (memset): Likewise.
28408 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28409 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28410 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28411 macros.
28412 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28413 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28414 Change uses of L(2) to L(out).
28415 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28416 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28417 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28418 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28419 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28420 removed macros.
28421 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28422 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28423 macros.
28424 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28425 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28426 (RETURN): Do not use macro LEAVE.
28427 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28428 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28429 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28430 * sysdeps/i386/i686/memset.S (memset): Likewise.
28431 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28432 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28433 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28434 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28435 Likewise.
28436 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28437 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28438 L(1_2) and L(1_3) into L(1).
28439 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28440 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28441 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28442 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28443 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28444 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28445 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28446 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28447 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28448 macros.
28449 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28450 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28451 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28452 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28453 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28454 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28455 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28456 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28457 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28458 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28459 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28460 * sysdeps/i386/strspn.S (strspn): Likewise.
28461 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28462 conditional code.
28463 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28464 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28465 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28466 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28467 L(1_3) into L(1_1).
28468 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28469 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28470 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28471 macros.
28472 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28473
284742013-02-19 Jakub Jelinek <jakub@redhat.com>
28475
28476 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28477 macro.
28478
284792013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28480
28481 * math/atest-exp.c (exp_mpn): Remove ROUND.
28482 * math/atest-exp2.c (exp_mpn): Likewise.
28483 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28484
28485 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28486 * stdlib/tst-tls-atexit-lib.c: Likewise.
28487 * stdlib/tst-tls-atexit.c: Likewise.
28488
284892013-02-18 Mike Frysinger <vapier@gentoo.org>
28490
28491 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28492 and __attribute_alloc_size__.
28493
284942013-02-18 Mike Frysinger <vapier@gentoo.org>
28495
28496 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28497 __attribute_alloc_size__.
28498 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28499 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28500
285012013-02-18 Mike Frysinger <vapier@gentoo.org>
28502
28503 * include/programs/xmalloc.h: New file.
28504 * catgets/gencat.c: Include it.
28505 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28506 * elf/pldd.c: Likewise.
28507 * iconv/iconv_charmap.c: Likewise.
28508 * iconv/iconvconfig.c: Likewise.
28509 * iconv/strtab.c: Likewise.
28510 * locale/programs/locale.c: Likewise.
28511 * locale/programs/localedef.h: Likewise.
28512 * locale/programs/simple-hash.c: Likewise.
28513 * nscd/nscd.h: Likewise.
28514 * nss/makedb.c: Likewise.
28515 * sysdeps/generic/ldconfig.h: Likewise.
28516
285172013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28518
28519 * Versions.def: Add GLIBC_2.18.
28520 * include/link.h (struct link_map): New member l_tls_dtor_count.
28521 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28522 (__call_tls_dtors): Likewise.
28523 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28524 __cxa_thread_atexit_impl.
28525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28526 Likewise.
28527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28528 Likewise.
28529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28530 Likewise.
28531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28532 Likewise.
28533 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28535 Likewise.
28536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28537 Likewise.
28538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28540 Likewise.
28541 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28542 (tests): Add test case tst-tls-atexit.
28543 (modules-names): Add shared library for tst-tls-atexit.
28544 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28545 (GLIBC_PRIVATE): Add __call_tls_dtors.
28546 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28547 for libstdc++.
28548 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28549 * stdlib/tst-tls-atexit.c: New test case.
28550 * stdlib/tst-tls-atexit-lib.c: New test case.
28551
28552 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28553
28554 * elf/Versions (ld): Add _dl_find_dso_for_object.
28555 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28556 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28557 (dl_open_worker): Use _dl_find_dso_for_object.
28558 * elf/dl-sym.c (do_sym): Likewise.
28559 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28560
285612013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28562
28563 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28564 Syntactic changes only.
28565 (_dl_runtime_profile): Do a tail-call to the resolved function.
28566
285672013-02-17 Joseph Myers <joseph@codesourcery.com>
28568
28569 [BZ #13550]
28570 * sysdeps/x86_64/bp-asm.h: Remove file.
28571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28572 <bp-sym.h> and <bp-asm.h>.
28573 (__clone): Do not use BP_SYM.
28574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28575 <bp-sym.h> and <bp-asm.h>.
28576 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28577 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28578 "bp-asm.h".
28579 (_setjmp): Do not use BP_SYM.
28580 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28581 "bp-asm.h".
28582 (setjmp): Do not use BP_SYM.
28583 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28584 libc_hidden_def.
28585 (mempcpy): Do not use BP_SYM in weak_alias.
28586 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28587 "bp-asm.h".
28588 (strchr): Do not use BP_SYM.
28589 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28590 "bp-asm.h".
28591 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28592 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28593 (_start): Do not use BP_SYM.
28594 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28595 "bp-asm.h".
28596 (strcat): Do not use BP_SYM.
28597 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28598 "bp-asm.h".
28599 (STRCMP): Do not use BP_SYM.
28600 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28601 "bp-asm.h".
28602 (STRCPY): Do not use BP_SYM.
28603 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28604 "bp-asm.h".
28605 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28606 "bp-asm.h".
28607 (FUNCTION): Do not use BP_SYM.
28608 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28609 weak_alias.
28610 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28611
286122013-02-17 Andreas Jaeger <aj@suse.de>
28613
28614 * time/Versions: Sort entries.
28615 * string/Versions: Likewise.
28616 * resolv/Versions: Likewise.
28617 * posix/Versions: Likewise.
28618 * iconv/Versions: Likewise.
28619 * elf/Versions: Likewise.
28620 * wcsmbs/Versions: Likewise.
28621
286222013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28623
28624 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28625 loop termination condition.
28626
28627 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28628 variable to calculate EZ.
28629 (__sqr): Likewise.
28630
28631 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28632 the lower precision input.
28633
286342013-02-15 Joseph Myers <joseph@codesourcery.com>
28635
28636 [BZ #13550]
28637 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28638 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28639 (run-via-rtld-prefix): Do not handle %-bp tests.
28640 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28641 (all-object-suffixes): Remove .ob.
28642 (bppfx): Remove variable.
28643 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28644 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28645 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28646 [$(build-bounded) = yes] (libtype.ob): Likewise.
28647 * Makerules (elide-routines.ob): Remove variable.
28648 (do-tests-clean): Do not handle *-bp.out.
28649 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28650 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28651 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28652 (tests): Do not include $(tests-bp.out).
28653 (xtests): Do not include $(xtests-bp.out).
28654 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28655 [$(build-bounded) = yes] ($(addprefix
28656 $(objpfx),$(binaries-bounded))): Remove rule.
28657 ($(objpfx)%-bp.out): Remove rule.
28658 * config.make.in (build-bounded): Remove variable.
28659 * crypt/Makefile [$(build-bounded) = yes]
28660 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28661 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28662 append to variable.
28663 [$(build-bounded) = yes] (install-lib): Likewise.
28664 [$(build-bounded) = yes] (generated): Likewise.
28665 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28666 Remove rule.
28667 * intl/Makefile [$(build-bounded) = yes]
28668 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28669 * math/Makefile [$(build-bounded) = yes]
28670 ($(tests:%=$(objpfx)%-bp): Likewise.
28671 * misc/Makefile [$(build-bounded) = yes]
28672 ($(objpfx)tst-tsearch-bp): Likewise.
28673 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28674 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28675 Remove dependency.
28676 * string/Makefile (o-objects.ob): Remove variable.
28677 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28678 (CFLAGS-.ob): Remove variable.
28679 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28680 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28681 both definitions of variable.
28682 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28683 (ASFLAGS-.ob): Remove variable.
28684
286852013-02-14 Joseph Myers <joseph@codesourcery.com>
28686
28687 [BZ #13550]
28688 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28689 Remove __BOUNDED_POINTERS__ from condition.
28690 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28691 * string/bits/string2.h [!__NO_STRING_INLINES &&
28692 !__BOUNDED_POINTERS__]: Likewise.
28693 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28694 Likewise.
28695 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28696 Remove conditional code.
28697 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28698 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28699 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28700 condition.
28701
28702 [BZ #13550]
28703 * csu/libc-start.c: Do not include <bp-sym.h>.
28704 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28705 * elf/dl-open.c: Do not include <bp-sym.h>.
28706 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28707 * math/fegetenv.c: Do not include <bp-sym.h>.
28708 (fegetenv): Do not use BP_SYM in versioned symbols.
28709 * nptl/sysdeps/pthread/bits/libc-lockP.h
28710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28711 <bp-sym.h>.
28712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28713 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28715 (__pthread_mutex_destroy): Likewise.
28716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28717 (__pthread_mutex_lock): Likewise.
28718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28719 (__pthread_mutex_trylock): Likewise.
28720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28721 (__pthread_mutex_unlock): Likewise.
28722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28723 (__pthread_mutexattr_init): Likewise.
28724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28725 (__pthread_mutexattr_destroy): Likewise.
28726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28727 (__pthread_mutexattr_settype): Likewise.
28728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28729 (__pthread_rwlock_init): Likewise.
28730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28731 (__pthread_rwlock_destroy): Likewise.
28732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28733 (__pthread_rwlock_rdlock): Likewise.
28734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28735 (__pthread_rwlock_tryrdlock): Likewise.
28736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28737 (__pthread_rwlock_wrlock): Likewise.
28738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28739 (__pthread_rwlock_trywrlock): Likewise.
28740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28741 (__pthread_rwlock_unlock): Likewise.
28742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28743 (__pthread_key_create): Likewise.
28744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28745 (__pthread_setspecific): Likewise.
28746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28747 (__pthread_getspecific): Likewise.
28748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28749 Likewise.
28750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28751 (_pthread_cleanup_push_defer): Likewise.
28752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28753 (_pthread_cleanup_pop_restore): Likewise.
28754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28755 (pthread_setcancelstate): Likewise.
28756 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28757 <bp-sym.h>.
28758 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28759 (memchr): Do not use BP_SYM in weak_alias.
28760 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28761 (fegetenv): Do not use BP_SYM in versioned symbols.
28762 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28763 (fesetenv): Do not use BP_SYM in versioned symbols.
28764 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28765 (feupdateenv): Do not use BP_SYM in versioned symbols.
28766 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28767 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28768 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28769 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28770 (open64): Do not use BP_SYM in weak_alias.
28771 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28772 (fegetenv): Do not use BP_SYM in versioned symbols.
28773 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28774 (fesetenv): Do not use BP_SYM in versioned symbols.
28775 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28776 (feupdateenv): Do not use BP_SYM in versioned symbols.
28777 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28778 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28779 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28780 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28781 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28782 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28783 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28784 <bp-sym.h>.
28785 (__libc_start_main): Do not use BP_SYM.
28786
287872013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28788
28789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28790 redundant return line.
28791 (norm): Likewise.
28792 (denorm): Likewise.
28793 (dbl_mp): Likewise.
28794 (sub_magnitudes): Likewise.
28795 (__add): Likewise.
28796 (__sub): Likewise.
28797 (__mul): Likewise.
28798 (__inv): Likewise.
28799 (__dvd): Likewise.
28800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28801 (norm): Likewise.
28802 (denorm): Likewise.
28803 (dbl_mp): Likewise.
28804 (sub_magnitudes): Likewise.
28805 (__add): Likewise.
28806 (__sub): Likewise.
28807 (__mul): Likewise.
28808 (__inv): Likewise.
28809 (__dvd): Likewise.
28810
28811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28812 instead of __mul.
28813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28814 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28815 (cc32): Likewise.
28816
28817 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28818 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28820 of __mul for squares.
28821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28822 function
28823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28824 Likewise.
28825 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28826 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28827
288282013-02-13 Joseph Myers <joseph@codesourcery.com>
28829
28830 [BZ #13550]
28831 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28832 code.
28833 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28834 prototype or function definition. Rename ubp_* variables and
28835 parameters. Remove argv definitions conditional on
28836 [__BOUNDED_POINTERS__].
28837 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28838 * elf/dl-runtime.c (_dl_fixup): Likewise.
28839 * include/set-hooks.h (RUN_HOOK): Likewise.
28840 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28841 definition.
28842 * string/strcpy.c (strcpy): Do not use __unbounded.
28843 * sysdeps/generic/frame.h (struct layout): Likewise.
28844 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28845 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28846 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28847 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28848 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28849 (__backtrace): Likewise.
28850 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28851 use __ptrvalue.
28852 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28853 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28854 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28855 Likewise.
28856 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28857 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28858 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28859 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28860 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28861 Do not use __unbounded.
28862 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28863 Rename __unboundedrlimits parameter to rlimits in prototype.
28864 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28865 Do not use __unbounded.
28866 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28867 not use __ptrvalue.
28868 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28869 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28870 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28871 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28872 __ptrvalue or __unbounded.
28873 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28874 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28875 use __unbounded.
28876 (__new_msgctl): Do not use __ptrvalue.
28877 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28878 __unbounded.
28879 (__libc_msgrcv): Do not use __ptrvalue.
28880 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28881 startup_info): Do not use __unbounded.
28882 (__libc_start_main): Likewise. Rename ubp_* variables and
28883 parameters. Remove argv definitions conditional on
28884 [__BOUNDED_POINTERS__].
28885 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28886 __ptrvalue.
28887 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28888 use __unbounded.
28889 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28890 or __ptrvalue.
28891 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28892 use __unbounded.
28893 (__new_shmctl): Do not use __ptrvalue.
28894 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28895 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28896 Likewise.
28897 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28898 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28899 (__libc_sigaction): Likewise.
28900 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28901 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28902 Likewise.
28903 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28904
289052013-02-13 Ondřej Bílka <neleai@seznam.cz>
28906
28907 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28908
28909 * string/mempcpy.c: Implement by calling memcpy.
28910
289112013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28912
28913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28914
28915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28916 evaluation.
28917
28918 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28919 values in the mantissa.
28920
28921 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28922 minimize writes to Z.
28923 (sub_magnitudes): Simplify code a bit.
28924
289252013-02-12 Roland McGrath <roland@hack.frob.com>
28926
28927 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28928 from the message. The linker prefixes all warnings with that already.
28929
289302013-02-12 Andreas Schwab <schwab@suse.de>
28931
28932 [BZ #15078]
28933 * posix/regexec.c (extend_buffers): Add parameter min_len.
28934 (check_matching): Pass minimum needed length.
28935 (clean_state_log_if_needed): Likewise.
28936 (get_subexp): Likewise.
28937 * posix/Makefile (tests): Add bug-regex34.
28938 (bug-regex34-ENV): Define.
28939 * posix/bug-regex34.c: New file.
28940
28941 [BZ #11561]
28942 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28943 elements compare against the byte sequence of it, not its name.
28944 * posix/Makefile (tests): Add bug-regex35.
28945 (bug-regex35-ENV): Define.
28946 * posix/bug-regex35.c: New file.
28947
289482013-02-11 Tom de Vries <tom@codesourcery.com>
28949
28950 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28951 comment.
28952 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28953 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28954 (CHECK_EOL): Add undef.
28955
289562013-02-11 Ondřej Bílka <neleai@seznam.cz>
28957
28958 * bits/stdlib-bsearch.h: New file.
28959 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28960 * stdlib/stdlib.h: Likewise.
28961
289622013-02-11 Roland McGrath <roland@hack.frob.com>
28963
28964 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28965 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28966 declaration.
28967 * manual/search.texi (Array Search Function): Add missing const in
28968 lfind prototype.
28969 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28970 declaration to use rlim_t.
28971 (Basic Scheduling Functions): Remove erroneous const from
28972 sched_getparam prototype. Remove erroneous * from
28973 sched_get_priority_max and sched_get_priority_min prototypes.
28974 (Resource Usage): Fix summary @comment on vtimes to refer to
28975 sys/vtimes.h rather than vtimes.h.
28976 Add missing *s in vtimes prototype.
28977 (Limits on Resources): Fix ulimit prototype to return long int.
28978 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28979 prototypes to use long int rather than double.
28980 (BSD Random): Fix initstate and setstate to use char *, not void *.
28981 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28982 prototype to make second argument 'struct aiocb64 *const[]'.
28983 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28984 (Status of AIO Operations): Remove erroneous const in aio_return and
28985 aio_return64 prototypes.
28986 (Synchronizing I/O): Fix sync prototype to return void.
28987 * manual/startup.texi (Suboptions): Remove an erroneous const in
28988 getsubopt prototype.
28989 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28990 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28991 use size_t rather than int.
28992 (Scanning All Users): Likewise for getpwent_r.
28993 (Setting Groups): Add missing const to setgroups prototype.
28994 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28995 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28996 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28997 'const void *' rather than 'const char *'.
28998 (Host Address Functions): Likewise for inet_ntop.
28999 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29000 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29001 ssize_t for return value.
29002 (Sending Data): Likewise for send, sendto, sendmsg.
29003 (Socket Option Functions): Add a missing const in setsockopt prototype.
29004 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29005 use wchar_t for the argument.
29006 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29007 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29008 take no arguments.
29009 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29010 double/float/long double for second argument.
29011 Fix return types of significand, significandf, significandl.
29012 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29013 argument in fchmod prototype.
29014 (File Owner): Use uid_t and gid_t in fchown prototype.
29015 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29016 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29017 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29018 use 'const struct dirent **' as argument types to CMP function pointer
29019 argument.
29020 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29021 (File Times): Fix summary magic @comment for struct utimbuf and utime
29022 to refer to utime.h, not time.h.
29023 * manual/string.texi (Argz Functions): Add missing const in
29024 argz_extract and argz_next prototypes.
29025 (Finding Tokens in a String): Likewise for basename.
29026 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29027 (Copying and Concatenation): Fix typo in wmemmove prototype.
29028 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29029 (Signal Stack): Remove erroneous const in sigstack prototype.
29030 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29031 prototype.
29032 (Simple Calendar Time): Likewise for stime.
29033 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29034 prototype.
29035 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29036 say sys/sysctl.h instead.
29037 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29038 and vsyslog prototypes.
29039
290402013-02-11 Tom de Vries <tom@codesourcery.com>
29041
29042 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29043 Remove.
29044
290452013-02-11 Roland McGrath <roland@hack.frob.com>
29046
29047 * misc/sys/mman.h: Fix typo in mremap comment.
29048
290492013-02-08 Roland McGrath <roland@hack.frob.com>
29050
29051 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29052 the '\0' terminator.
29053
290542013-02-08 Joseph Myers <joseph@codesourcery.com>
29055
29056 [BZ #13550]
29057 * debug/segfault.c: Don't include <bp-checks.h>.
29058 * sysdeps/generic/bp-checks.h: Remove file.
29059 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29060 (__GETDENTS): Don't use CHECK_N.
29061 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29062 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29063 (__getgroups): Don't use CHECK_N.
29064 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29065 (setgroups): Don't use CHECK_N.
29066 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29067 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29068 (__libc_msgrcv): Don't use CHECK_N.
29069 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29070 (__libc_msgsnd): Don't use CHECK_N.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29072 <bp-checks.h>.
29073 (__libc_pread): Don't use CHECK_N.
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29075 include <bp-checks.h>.
29076 (__libc_pread64): Don't use CHECK_N.
29077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29078 include <bp-checks.h>.
29079 (__libc_pwrite): Don't use CHECK_N.
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29081 include <bp-checks.h>.
29082 (__libc_pwrite64): Don't use CHECK_N.
29083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29084 <bp-checks.h>.
29085 (__libc_pread): Don't use CHECK_N.
29086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29087 include <bp-checks.h>.
29088 (__libc_pread64): Don't use CHECK_N.
29089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29090 include <bp-checks.h>.
29091 (__libc_pwrite): Don't use CHECK_N.
29092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29093 include <bp-checks.h>.
29094 (__libc_pwrite64): Don't use CHECK_N.
29095 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29096 (do_pread): Don't use CHECK_N.
29097 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29098 (do_pread64): Don't use CHECK_N.
29099 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29100 (do_pwrite): Don't use CHECK_N.
29101 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29102 (do_pwrite64): Don't use CHECK_N.
29103 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29104 (__libc_readv): Don't use CHECK_N.
29105 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29106 (semop): Don't use CHECK_N.
29107 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29108 <bp-checks.h>.
29109 (semtimedop): Don't use CHECK_N.
29110 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29111 (__libc_pread): Don't use CHECK_N.
29112 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29113 <bp-checks.h>.
29114 (__libc_pread64): Don't use CHECK_N.
29115 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29116 <bp-checks.h>.
29117 (__libc_pwrite): Don't use CHECK_N.
29118 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29119 <bp-checks.h>.
29120 (__libc_pwrite64): Don't use CHECK_N.
29121 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29122 <bp-checks.h>.
29123 (__libc_msgrcv): Don't use CHECK_N.
29124 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29125 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29126 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29127 (__libc_writev): Don't use CHECK_N.
29128
291292013-02-08 Roland McGrath <roland@hack.frob.com>
29130
29131 * string/strcpy.c: Removed unused variable.
29132
29133 * Makeconfig (+sysdep-includes): Define with := rather than =.
29134 Use an existing include/ subdir of each sysdeps dir before it.
29135
291362013-02-08 Carlos O'Donell <carlos@redhat.com>
29137
29138 * nscd/connection.c (register_traced_file): Comment function.
29139 [HAVE_INOTIFY] (union __inev): Define.
29140 [HAVE_INOTIFY] (inotify_check_files): New function.
29141 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29142 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29143 clear_db_cache.
29144 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29145
291462013-02-08 Carlos O'Donell <carlos@redhat.com>
29147
29148 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29149 loaded if not already and that a failure is permanent.
29150
291512013-02-08 Carlos O'Donell <carlos@redhat.com>
29152
29153 [BZ #15006]
29154 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29155 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29156
291572013-02-08 Joseph Myers <joseph@codesourcery.com>
29158
29159 [BZ #13550]
29160 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29161 (CHECK_1_NULL_OK): Likewise.
29162 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29163 (__fxstat): Do not use CHECK_1.
29164 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29165 <bp-checks.h>.
29166 (___fxstat64): Do not use CHECK_1.
29167 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29168 <bp-checks.h>.
29169 (__fxstatat): Do not use CHECK_1.
29170 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29171 <bp-checks.h>.
29172 (__fxstatat64): Do not use CHECK_1.
29173 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29174 <bp-checks.h>.
29175 (__fxstat): Do not use CHECK_1.
29176 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29177 <bp-checks.h>.
29178 (__fxstatat): Do not use CHECK_1.
29179 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29180 <bp-checks.h>.
29181 (__getresgid): Do not use CHECK_1.
29182 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29183 <bp-checks.h>.
29184 (__getresuid): Do not use CHECK_1.
29185 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29186 <bp-checks.h>.
29187 (__lxstat): Do not use CHECK_1.
29188 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29189 <bp-checks.h>.
29190 (__old_msgctl): Do not use CHECK_1.
29191 (__new_msgctl): Likewise.
29192 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29193 <bp-checks.h>.
29194 (__new_setrlimit): Do not use CHECK_1.
29195 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29196 <bp-checks.h>.
29197 (__old_shmctl): Do not use CHECK_1.
29198 (__new_shmctl): Likewise.
29199 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29200 <bp-checks.h>.
29201 (__xstat): Do not use CHECK_1.
29202 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29203 (__lxstat): Do not use CHECK_1.
29204 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29205 <bp-checks.h>.
29206 (___lxstat64): Do not use CHECK_1.
29207 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29208 (__old_msgctl): Do not use CHECK_1.
29209 (__new_msgctl): Likewise.
29210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29211 <bp-checks.h>.
29212 (__gettimeofday): Do not use CHECK_1.
29213 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29214 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29215 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29216 <bp-checks.h>.
29217 (__gettimeofday): Do not use CHECK_1.
29218 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29219 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29220 (__new_shmctl): Do not use CHECK_1.
29221 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29222 <bp-checks.h>.
29223 (do_sigtimedwait): Do not use CHECK_1.
29224 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29225 <bp-checks.h>.
29226 (do_sigwaitinfo): Do not use CHECK_1.
29227 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29228 <bp-checks.h>.
29229 (msgctl): Do not use CHECK_1.
29230 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29231 <bp-checks.h>.
29232 (shmctl): Do not use CHECK_1.
29233 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29234 (ustat): Do not use CHECK_1.
29235 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29236 <bp-checks.h>.
29237 (__fxstat): Do not use CHECK_1.
29238 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29239 <bp-checks.h>.
29240 (__fxstatat): Do not use CHECK_1.
29241 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29242 <bp-checks.h>.
29243 (__lxstat): Do not use CHECK_1.
29244 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29245 <bp-checks.h>.
29246 (__xstat): Do not use CHECK_1.
29247 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29248 (__xstat): Do not use CHECK_1.
29249 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29250 (___xstat64): Do not use CHECK_1.
29251
29252 [BZ #13550]
29253 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29254 definitions.
29255 (CHECK_BOUNDS_HIGH): Likewise.
29256 * string/strcpy.c: Do not include <bp-checks.h>.
29257 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29258
292592013-02-07 Roland McGrath <roland@hack.frob.com>
29260
29261 * nscd/nscd-client.h (__nscd_drop_map_ref):
29262 Add __attribute__ ((unused)).
29263 * nis/nss-nisplus.h (niserr2nss): Likewise.
29264
29265 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29266 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29267
29268 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29269 Remove inline keyword.
29270 * include/rounding-mode.h (round_away): Likewise.
29271 * libio/wfileops.c (adjust_wide_data): Likewise.
29272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29273 (__m128i_strloadu_tolower): Likewise.
29274 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29275 (__m128i_strloadu_tolower): Likewise.
29276 * time/mktime.c (ydhms_diff): Likewise.
29277 * locale/elem-hash.h (elem_hash): Likewise.
29278 * locale/setlocale.c (setdata): Likewise.
29279 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29280 (re_string_wchar_at): Likewise.
29281 (bitset_not, bitset_merge, bitset_mask): Likewise.
29282 [!(__GNUC__ > 3)] (inline): Remove macro.
29283 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29284 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29285 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29286 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29287 * string/memcmp.c (memcmp_bytes): Likewise.
29288 * locale/programs/locarchive.c (compute_hashval): Likewise.
29289 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29290 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29291 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29292 * nss/getent.c (print_rpc, print_protocols): Likewise.
29293 (print_passwd, print_group, print_aliases): Likewise.
29294 * nis/nss-nisplus.h (niserr2nss): Likewise.
29295 * nscd/connections.c (restart_p): Likewise.
29296 Change return type to bool.
29297
292982013-02-05 Roland McGrath <roland@hack.frob.com>
29299
29300 * Makeconfig (all-Depend-files): Add existing
29301 $(sorted-subdirs:=/Depend) files.
29302 (all-subdirs): Remove nss.
29303 * sysdeps/unix/inet/Subdirs: Add it here instead.
29304 * hesiod/Depend: New file.
29305
29306 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29307 instead of calling alloca.
29308
29309 * io/lseek.c (__lseek): Rename to __libc_lseek.
29310 Define __lseek as an alias.
29311
29312 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29313
293142013-02-04 Carlos O'Donell <carlos@redhat.com>
29315
29316 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29317 else clause and remove check for non-standard endianness.
29318
293192013-02-04 David S. Miller <davem@davemloft.net>
29320
29321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29322
293232013-02-04 Joseph Myers <joseph@codesourcery.com>
29324
29325 [BZ #13550]
29326 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29327 (__ubp_memchr): Remove prototype.
29328 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29329 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29330 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29331 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29332 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29333 Remove alias.
29334 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29335 (__ubp_memchr): Likewise.
29336 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29337 (__ubp_memchr): Likewise.
29338 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29339 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29340 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29341 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29342 CHECK_STRING.
29343 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29344 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29345 (__getcwd): Do not use CHECK_STRING.
29346 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29347 <bp-checks.h>.
29348 (__real_chown): Do not use CHECK_STRING.
29349 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29350 <bp-checks.h>.
29351 (fchownat): Do not use CHECK_STRING.
29352 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29353 CHECK_STRING.
29354 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29355 <bp-checks.h>.
29356 (__lchown): Do not use CHECK_STRING.
29357 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29358 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29359 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29360 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29362 include <bp-checks.h>.
29363 (truncate64): Do not use CHECK_STRING.
29364 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29365 <bp-checks.h>.
29366 (__real_chown): Do not use CHECK_STRING.
29367 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29368 <bp-checks.h>.
29369 (__lchown): Do not use CHECK_STRING.
29370 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29371 <bp-checks.h>.
29372 (__chown): Do not use CHECK_STRING.
29373 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29374 <bp-checks.h>.
29375 (truncate64): Do not use CHECK_STRING.
29376 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29377 Likewise.
29378 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29379 (__xmknod): Do not use CHECK_STRING.
29380 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29381 <bp-checks.h>.
29382 (__xmknodat): Do not use CHECK_STRING.
29383 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29384 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29385
293862013-02-04 Andreas Schwab <schwab@suse.de>
29387
29388 [BZ #14142]
29389 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29390 * include/netdb.h: Likewise for h_errno.
29391 * elf/tst-stackguard1.c: Include <tls.h>.
29392
293932013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29394
29395 * elf/link.h (struct link_map): Extend the l_addr comment.
29396 * include/link.h (struct link_map): Likewise.
29397
293982013-02-01 Joseph Myers <joseph@codesourcery.com>
29399
29400 [BZ #13550]
29401 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29402 (BOUNDED_1): Remove macro.
29403 * debug/backtrace.c: Don't include <bp-checks.h>.
29404 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29405 (__backtrace): Likewise.
29406 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29407 <bp-checks.h>.
29408 (__backtrace): Don't use BOUNDED_1.
29409 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29410 <bp-checks.h>.
29411 (__backtrace): Don't use BOUNDED_1.
29412 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29413 (__backtrace): Don't use BOUNDED_1.
29414 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29415 (shmat): Don't use BOUNDED_N.
29416
294172013-01-31 Joseph Myers <joseph@codesourcery.com>
29418
29419 [BZ #13550]
29420 * sysdeps/generic/bp-start.h: Remove file.
29421 * csu/libc-start.c: Don't include <bp-start.h>.
29422 (LIBC_START_MAIN): Set up __environ directly instead of using
29423 INIT_ARGV_and_ENVIRON.
29424 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29425 <bp-start.h>.
29426
29427 [BZ #13550]
29428 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29429 definitions.
29430 (CHECK_FCNTL): Likewise.
29431 (CHECK_N_PAGES): Likewise.
29432
29433 [BZ #13550]
29434 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29435 definitions.
29436 (CHECK_SIGSET_NULL_OK): Likewise.
29437 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29438 <bp-checks.h>.
29439 (sigpending): Don't use CHECK_SIGSET.
29440 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29441 <bp-checks.h>.
29442 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29443 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29444 <bp-checks.h>.
29445 (do_sigsuspend): Don't use CHECK_SIGSET.
29446 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29447 use CHECK_SIGSET.
29448 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29449 (do_sigwait): Don't use CHECK_SIGSET.
29450 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29451 use CHECK_SIGSET.
29452 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29453 include <bp-checks.h>.
29454 (sigpending): Don't use CHECK_SIGSET.
29455 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29456 include <bp-checks.h>.
29457 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29458 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29459 <bp-checks.h>.
29460 (sigpending): Don't use CHECK_SIGSET.
29461 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29462 <bp-checks.h>.
29463 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29464
29465 [BZ #13550]
29466 * sysdeps/generic/bp-semctl.h: Remove file.
29467 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29468 <bp-checks.h> and <bp-semctl.h>.
29469 (__old_semctl): Don't use CHECK_SEMCTL.
29470 (__new_semctl): Likewise.
29471 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29472 and <bp-semctl.h>.
29473 (__old_semctl): Don't use CHECK_SEMCTL.
29474 (__new_semctl): Likewise.
29475 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29476 <bp-checks.h> and <bp-semctl.h>.
29477 (__old_semctl): Don't use CHECK_SEMCTL.
29478 (__new_semctl): Likewise.
29479 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29480 <bp-checks.h> and <bp-semctl.h>.
29481 (semctl): Don't use CHECK_SEMCTL.
29482
29483 [BZ #13550]
29484 * Makerules (elide-bp-thunks): Remove variable.
29485 (elide-routines.oS): Don't use $(elide-bp-thunks).
29486 (elide-routines.os): Likewise.
29487 (elide-routines.o): Likewise.
29488 (elide-routines.op): Likewise.
29489 (elide-routines.og): Likewise.
29490 (objects): Don't use $(bp-thunks).
29491 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29492 include.
29493 (common-generated): Do not add s-proto-bp.d.
29494 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29495 (int): Likewise.
29496 (typ): Likewise.
29497 Do not generate makefile rules for bounded-pointer thunks.
29498 * sysdeps/generic/bp-thunks.h: Remove file.
29499 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29500 * sysdeps/unix/s-proto-bp.S: Likewise.
29501
29502 [BZ #15062]
29503 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29504 parts of result separately when argument is not close to line from
29505 -i to i and one part of argument is small.
29506 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29507 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29508 * math/libm-test.inc (cacos_test): Add more tests.
29509 (casin_test): Likewise.
29510 (casinh_test): Likewise.
29511 * sysdeps/i386/fpu/libm-test-ulps: Update.
29512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29513
295142013-01-31 David S. Miller <davem@davemloft.net>
29515
29516 * po/de.po: Update from translation team.
29517
295182013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29519
29520 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29521
295222013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29523
29524 * configure.in (_AC_PROG_CC_C89): New definition.
29525 * configure: Regenerate.
29526
29527 * configure.in (AC_PROG_CPP): New definition.
29528 * configure: Regenerate.
29529
295302013-01-23 Joseph Myers <joseph@codesourcery.com>
29531
29532 * debug/tst-backtrace.h: New file.
29533 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29534 (ret): Remove variable.
29535 (x): Likewise.
29536 (FAIL): Remove macro.
29537 (NO_INLINE): Likewise.
29538 (fn1): Use match function instead of strstr.
29539 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29540 (ret): Remove variable.
29541 (x): Likewise.
29542 (FAIL): Remove macro.
29543 (NO_INLINE): Likewise.
29544 (fn): Use match function instead of strstr.
29545 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29546 (ret): Remove variable.
29547 (x): Likewise.
29548 (FAIL): Remove macro.
29549 (NO_INLINE): Likewise.
29550 (handle_signal): Use match function instead of strstr.
29551 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29552 (ret): Remove variable.
29553 (x): Likewise.
29554 (FAIL): Remove macro.
29555 (NO_INLINE): Likewise.
29556 (handle_signal): Use match function instead of strstr.
29557
295582013-01-23 Roland McGrath <roland@hack.frob.com>
29559
29560 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29561
295622013-01-23 David S. Miller <davem@davemloft.net>
29563
29564 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29565 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29566 argument of CAS if possible.
29567 * sysdeps/sparc/sparc64/bits/atomic.h
29568 (__arch_compare_and_exchange_val_32_acq): Likewise.
29569 (__arch_compare_and_exchange_val_64_acq): Likewise.
29570
295712013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29572
29573 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29574 * sysdeps/posix/ulimit.c: ... this.
29575 Include <limits.h>.
29576 * sysdeps/unix/bsd/ulimit.c: Remove file.
29577
295782013-01-23 Adam Conrad <adconrad@0c3.net>
29579
29580 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29581 (LDFLAGS-tst-array5): Likewise.
29582
295832013-01-23 Joseph Myers <joseph@codesourcery.com>
29584
29585 [BZ #15036]
29586 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29587 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29588 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29589 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29590
295912013-01-21 David S. Miller <davem@davemloft.net>
29592
29593 * sysdeps/sparc/backtrace.c: New file.
29594 * sysdeps/sparc/sparc32/backtrace.h: New file.
29595 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29596 * sysdeps/sparc/sparc64/backtrace.h: New file.
29597 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29598 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29599 -funwind-tables.
29600
296012013-01-21 Andreas Schwab <schwab@suse.de>
29602
29603 [BZ #15020]
29604 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29605 closed its stdout.
29606
296072013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29608
29609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29610 "mpa2.h".
29611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29612
296132013-01-18 Joseph Myers <joseph@codesourcery.com>
29614 Mark Mitchell <mark@codesourcery.com>
29615 Tom de Vries <tom@codesourcery.com>
29616 Paul Pluzhnikov <ppluzhnikov@google.com>
29617
29618 * debug/tst-backtrace2.c: New file.
29619 * debug/tst-backtrace3.c: Likewise.
29620 * debug/tst-backtrace4.c: Likewise.
29621 * debug/tst-backtrace5.c: Likewise.
29622 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29623 (CFLAGS-tst-backtrace3.c): Likewise.
29624 (CFLAGS-tst-backtrace4.c): Likewise.
29625 (CFLAGS-tst-backtrace5.c): Likewise.
29626 (LDFLAGS-tst-backtrace2): Likewise.
29627 (LDFLAGS-tst-backtrace3): Likewise.
29628 (LDFLAGS-tst-backtrace4): Likewise.
29629 (LDFLAGS-tst-backtrace5): Likewise.
29630 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29631 tst-backtrace4 and tst-backtrace5.
29632
296332013-01-18 Anton Blanchard <anton@samba.org>
29634 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29635
29636 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29637 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29639 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29641 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29642 "+r" and remove output regs list as redundant. Add explicit inline
29643 asm to specify register of return val to work around compiler codegen
29644 bug. Remove (int) cast on return value. Add return type parameter to
29645 use in macro so that this macro does not truncate return value for
29646 64-bit values.
29647 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29648 pass to INTERNAL_VSYSCALL_NCS.
29649 (INLINE_VSYSCALL): Add 'long int' as return type to
29650 INTERNAL_VSYSCALL_NCS macro invocation.
29651 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29652 INTERNAL_VSYSCALL_NCS macro invocation.
29653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29654
296552013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29656
29657 [BZ #14496]
29658 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29659 Fix application of SIMD FP exception mask.
29660
29661 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29662 mp_no from a power of two.
29663 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29664 __mpexp_twomm1. Use __pow_mp.
29665
29666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29667 multiplication.
29668
296692013-01-17 David S. Miller <davem@davemloft.net>
29670
29671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29672
296732013-01-17 Joseph Myers <joseph@codesourcery.com>
29674
29675 [BZ #15023]
29676 * include/complex.h: Condition contents on [!_COMPLEX_H].
29677 (__kernel_casinhf): New prototype.
29678 (__kernel_casinh): Likewise.
29679 (__kernel_casinhl): Likewise.
29680 * math/Makefile (libm_calls): Add k_casinh.
29681 * math/k_casinh.c: New file.
29682 * math/k_casinhf.c: Likewise.
29683 * math/k_casinhl.c: Likewise.
29684 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29685 finite nonzero arguments.
29686 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29687 finite nonzero arguments.
29688 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29689 finite nonzero arguments.
29690 * math/s_casinh.c: Do not include <float.h>.
29691 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29692 * math/s_casinhf.c: Do not include <float.h>.
29693 (__casinhf): Move code for finite nonzero arguments to
29694 k_casinhf.c.
29695 * math/s_casinhl.c: Do not include <float.h>.
29696 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29697 redefine.
29698 (__casinhl): Move code for finite nonzero arguments to
29699 k_casinhl.c.
29700 * math/libm-test.inc (cacos_test): Add more tests.
29701 * sysdeps/i386/fpu/libm-test-ulps: Update.
29702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29703
297042013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29705
29706 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29707 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29708 [!HAVE_MREMAP]: Remove [defined linux] case.
29709 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29710
297112013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29712
29713 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29714
297152013-01-17 H.J. Lu <hongjiu.lu@intel.com>
29716
29717 * elf/elf.h (R_386_SIZE32): New relocation.
29718 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29719 R_386_SIZE32.
29720 (elf_machine_rela): Likewise.
29721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29722 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29723
297242013-01-17 Joseph Myers <joseph@codesourcery.com>
29725
29726 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29727 (FP_FAST_FMA): Do not define.
29728 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29729 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29730 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29731 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29732 !_SOFT_FLOAT]: Likewise.
29733 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29734 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29735 value.
29736 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29737 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29738 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29739 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29740 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29741 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29742 file.
29743
297442013-01-16 Andreas Schwab <schwab@suse.de>
29745
29746 [BZ #14327]
29747 * include/stdlib.h (__mktemp): Add declaration.
29748 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29749 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29750
297512013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29752
29753 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29754 definitions.
29755 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29756 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29757 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29758 definitions here.
29759 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29760 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29761 definitions.
29762 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29763 and ONE.
29764 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29765 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29766 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29767 definitions.
29768 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29769 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29770 definitions.
29771 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29772
29773 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29774
297752013-01-15 David S. Miller <davem@davemloft.net>
29776
29777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29778 trunc{,f} to libm-sysdep_routes.
29779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29781 file.
29782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29784 file.
29785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29786 file.
29787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29789 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29790 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29791 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29792 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29793 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29794 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29795
29796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29797 nearbyint{,f} to libm-sysdep_routes.
29798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29800 New file.
29801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29802 file.
29803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29804 New file.
29805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29806 file.
29807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29810 file.
29811 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29812 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29813 file.
29814 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29815 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29816 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29817
29818 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29819 libc_feholdexcept and libc_fesetenv.
29820
298212013-01-15 Mike Frysinger <vapier@gentoo.org>
29822
29823 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29824
298252013-01-14 David S. Miller <davem@davemloft.net>
29826
29827 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29828 (SPARC_ASM_VIS2_IFUNC): Likewise.
29829 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29831 use of 'siam' instruction.
29832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29833 Likewise.
29834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29835 Likewise.
29836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29837 Likewise.
29838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29843 file.
29844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29845 file.
29846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29847 file.
29848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29849 file.
29850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29855 new VIS2 routines.
29856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29859 Likewise.
29860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29865 routines to libm-sysdep_routines.
29866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29867
29868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29869 fdim/fdimf to libm-sysdep_routines.
29870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29871 file.
29872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29874 file.
29875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29878 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29879 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29881 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29882
298832013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29884
29885 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29886 to optimize copies.
29887
29888 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29891
29892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29893 local variable MPTWO.
29894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29895 Likewise.
29896
298972013-01-13 Mike Frysinger <vapier@gentoo.org>
29898
29899 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29900 GLOB_NOESCAPE.
29901
299022013-01-13 Mike Frysinger <vapier@gentoo.org>
29903
29904 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29905
299062013-01-13 Mike Frysinger <vapier@gentoo.org>
29907
29908 * manual/pattern.texi (glob_t): Document gl_flags.
29909 (glob64_t): Likewise.
29910
299112013-01-11 David S. Miller <davem@davemloft.net>
29912
29913 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29914 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29915 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29916 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29917 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29918 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29919 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29920 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29921 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29922 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29923 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29924 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29925 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29926
29927 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29928 sparc V9 rather than using V8 code.
29929 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29930 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29931
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29933 Move to...
29934 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29935 Here.
29936
299372013-01-11 Roland McGrath <roland@hack.frob.com>
29938
29939 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29940 not in the main loop.
29941 * configure: Regenerated.
29942
299432013-01-11 Joseph Myers <joseph@codesourcery.com>
29944
29945 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29946 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29947 to just #else.
29948 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29949 [!__GLIBC_HAVE_LONG_LONG] case.
29950 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29951 condition to just #else.
29952 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29953 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29954 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29955 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29956 unconditional.
29957 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29958 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29959 #elif condition to just #else.
29960 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29961 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29962 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29963 #elif condition to just #else.
29964
299652013-01-11 Steve Ellcey <sellcey@mips.com>
29966
29967 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29968 (EF_MIPS_ARCH_64): Fix value.
29969 (EF_MIPS_ARCH_32R2): New.
29970 (EF_MIPS_ARCH_64R2): New.
29971
299722013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29973
29974 * Makeconfig (+link-pie-before-libc): New.
29975 (+link-pie-after-libc): Likewise.
29976 (+link-pie-tests): Likewise.
29977 (+link-pie): Rewritten.
29978 (link-before-libc): Remove $(config-LDFLAGS).
29979 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29980 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29981 (config-LDFLAGS): Renamed to ...
29982 (rtld-LDFLAGS): This.
29983 (rtld-tests-LDFLAGS): New macro.
29984 (link-libc-rpath-link): Likewise.
29985 (link-libc-tests-rpath-link): Likewise.
29986 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29987 (link-libc): Prepand $(link-libc-rpath-link).
29988 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29989 (test-program-prefix): New macro.
29990 (test-via-rtld-prefix): Likewise.
29991 (test-program-cmd): Likewise.
29992 (host-test-program-cmd): Likewise.
29993 * Makefile ($(common-objpfx)testrun.sh): Replace
29994 $(run-program-prefix) with $(test-program-prefix).
29995 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29996 $(rtld-LDFLAGS).
29997 ($(common-objpfx)shlib.lds): Likewise.
29998 (build-module-helper): Likewise.
29999 ($(common-objpfx)format.lds): Likewise.
30000 * Rules (binaries-pie-tests): New.
30001 (binaries-pie-notests): Likewise.
30002 (binaries-pie): Rewritten.
30003 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30004 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30005 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30006 (make-test-out): Replace $(host-built-program-cmd) with
30007 $(host-test-program-cmd).
30008 * config.make.in (build-hardcoded-path-in-tests): New variable.
30009 * configure.in (--enable-hardcoded-path-in-tests): New configure
30010 option.
30011 (hardcoded_path_in_tests): New AC_SUBST.
30012 * configure: Regenerated.
30013 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30014 $(built-program-cmd) with $(test-program-cmd).
30015 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30016 (test_program_cmd): This.
30017 * elf/Makefile ($(objpfx)order.out): Run test with
30018 $(test-program-prefix).
30019 ($(objpfx)order2.out): Likewise.
30020 ($(objpfx)tst-initorder.out): Likewise.
30021 ($(objpfx)tst-initorder2.out): Likewise.
30022 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30023 $(test-program-cmd).
30024 ($(objpfx)tst-array1-static.out): Likewise.
30025 ($(objpfx)tst-array2.out): Likewise.
30026 ($(objpfx)tst-array3.out): Likewise.
30027 ($(objpfx)tst-array4.out): Likewise.
30028 ($(objpfx)tst-array5.out): Likewise.
30029 ($(objpfx)tst-array5-static.out): Likewise.
30030 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30031 $(test-program-cmd).
30032 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30033 $(run-program-prefix) with $(test-program-prefix).
30034 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30035 (test_program_prefix): This.
30036 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30037 $(run-program-prefix) with $(test-program-prefix).
30038 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30039 (test_program_prefix): This.
30040 * iconvdata/tst-tables.sh: Likewise.
30041 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30042 $(run-program-prefix) with $(test-program-prefix).
30043 ($(objpfx)tst-translit.out): Likewise.
30044 ($(objpfx)tst-gettext2.out): Likewise.
30045 ($(objpfx)tst-gettext4.out): Likewise.
30046 ($(objpfx)tst-gettext6.out): Likewise.
30047 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30048 (test_program_prefix): This.
30049 * intl/tst-gettext2.sh: Likewise.
30050 * intl/tst-gettext4.sh Likewise.
30051 * intl/tst-gettext6.sh: Likewise.
30052 * intl/tst-translit.sh: Likewise.
30053 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30054 with $(test-program-cmd).
30055 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30056 $(run-program-prefix) with $(test-program-prefix).
30057 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30058 (test_program_prefix): This.
30059 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30060 $(run-program-prefix) with $(test-program-prefix).
30061 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30062 (test_program_prefix): This.
30063 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30064 * posix/Makefile ($(objpfx)globtest.out): Replace
30065 $(run-via-rtld-prefix) and $(test-wrapper) with
30066 $(test-program-prefix) and $(test-via-rtld-prefix).
30067 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30068 $(test-program-prefix).
30069 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30070 $(host-test-program-cmd).
30071 (tst-spawn-ARGS): Likewise.
30072 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30073 $(test-program-prefix).
30074 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30075 (test_via_rtld_prefix): This.
30076 (test_wrapper): Renamed to ...
30077 (test_program_prefix): This.
30078 (run_program_prefix): Replaced by test_program_prefix.
30079 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30080 (test_program_prefix): This.
30081 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30082 with $(host-test-program-cmd).
30083 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30084 $(run-program-prefix) with $(test-program-prefix).
30085 ($(objpfx)tst-printf.out): Likewise.
30086 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30087 $(test-program-cmd).
30088 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30089 (test_program_prefix): This.
30090 * stdio-common/tst-unbputc.sh: Likewise.
30091 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30092 $(run-program-prefix) with $(test-program-prefix).
30093 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30094 (test_program_prefix): This.
30095 * string/Makefile ($(objpfx)tst-svc.out): Replace
30096 $(built-program-cmd) with $(test-program-cmd).
30097
300982013-01-11 Andreas Jaeger <aj@suse.de>
30099
30100 [BZ #15003]
30101 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30102 value. Sync with Linux 3.7.
30103
301042013-01-10 David S. Miller <davem@davemloft.net>
30105
30106 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30107 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30108 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30109
301102013-01-10 Roland McGrath <roland@hack.frob.com>
30111
30112 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30113 never set.
30114 * configure: Regenerated.
30115
301162013-01-10 David S. Miller <davem@davemloft.net>
30117
30118 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30119 sparc V9 rather than using V8 code.
30120 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30121 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30122
301232013-01-10 Roland McGrath <roland@hack.frob.com>
30124
30125 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30126 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30127 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30128 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30129 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30130 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30131 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30132 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30133 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30134 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30135 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30136 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30137 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30138 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30139 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30140 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30141 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30142 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30143 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30144 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30145 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30146 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30147 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30148 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30149 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30150 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30151 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30152
301532013-01-10 David S. Miller <davem@davemloft.net>
30154
30155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30156
301572013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30158
30159 * posix/Makefile (tests-static): New variable.
30160 (tests): Add $(tests-static).
30161 (tst-exec-static-ARGS): New variable.
30162 (tst-spawn-static-ARGS): Likewise.
30163 * posix/tst-exec-static.c: New file.
30164 * posix/tst-spawn-static.c: Likewise.
30165 * posix/tst-exec.c: Support run directly.
30166 * posix/tst-spawn.c: Likewise.
30167
301682013-01-10 Joseph Myers <joseph@codesourcery.com>
30169
30170 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30171 long.
30172 * math/bits/mathcalls.h (llrint): Likewise.
30173 (llround): Likewise.
30174 * stdlib/stdlib.h (struct drand48_data): Likewise.
30175 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30176 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30177 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30178 Likewise.
30179 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30180 Likewise.
30181 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30182 (elf_greg_t): Likewise.
30183 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30184 (__jmp_buf): Likewise.
30185 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30186 definitions.
30187 (llrint): Likewise, for all definitions.
30188 (llrintl): Likewise.
30189
30190 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30191 Remove [__GNUC__] condition.
30192 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30193 condition to just [__USE_ISOC99].
30194 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30195
301962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30197
30198 [BZ #14200]
30199 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30200 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30201 defined.
30202 (_POSIX_V6_ILP32_OFF32): Likewise.
30203 (_XBS5_ILP32_OFF32): Likewise.
30204 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30205 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30206
302072013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30208
30209 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30210
30211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30212 doubles __mpexp_twomm1. Adjust usage.
30213 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30214 Remove.
30215
302162013-01-10 Andreas Schwab <schwab@suse.de>
30217
30218 [BZ #14964]
30219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30220 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30221
302222013-01-09 David S. Miller <davem@davemloft.net>
30223
30224 [BZ #15003]
30225 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30226 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30227 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30228 (TCP_FASTOPEN): Define.
30229 (tcp_repair_opt): New structure.
30230 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30231 enum values.
30232 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30233 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30234 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30235 (tcp_cookie_transactions): New structure.
30236
302372013-01-09 Anton Blanchard <anton@samba.org>
30238
30239 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30240 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30241 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30242 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30243
302442013-01-09 Joseph Myers <joseph@codesourcery.com>
30245
30246 * include/features.h (__USE_ANSI): Remove.
30247
302482013-01-09 Roland McGrath <roland@hack.frob.com>
30249
30250 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30251
30252 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30253
302542013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30255
30256 * sysdeps/s390/fpu/libm-test-ulps: Update.
30257
30258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30259
30260 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30261 (__acr): Likewise.
30262 (__cpy): Likewise.
30263 (norm): Likewise.
30264 (denorm): Likewise.
30265 (__mp_dbl): Likewise.
30266 (__dbl_mp): Likewise.
30267 (add_magnitudes): Likewise.
30268 (sub_magnitudes): Likewise.
30269 (__add): Likewise.
30270 (__sub): Likewise.
30271 (__mul): Likewise.
30272 (__inv): Likewise.
30273 (__dvd): Likewise.
30274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30275 (__acr): Likewise.
30276 (__cpy): Likewise.
30277 (norm): Likewise.
30278 (denorm): Likewise.
30279 (__mp_dbl): Likewise.
30280 (__dbl_mp): Likewise.
30281 (add_magnitudes): Likewise.
30282 (sub_magnitudes): Likewise.
30283 (__add): Likewise.
30284 (__sub): Likewise.
30285 (__mul): Likewise.
30286 (__inv): Likewise.
30287 (__dvd): Likewise.
30288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30289 (__acr): Likewise.
30290 (__cpy): Likewise.
30291 (norm): Likewise.
30292 (denorm): Likewise.
30293 (__mp_dbl): Likewise.
30294 (__dbl_mp): Likewise.
30295 (add_magnitudes): Likewise.
30296 (sub_magnitudes): Likewise.
30297 (__add): Likewise.
30298 (__sub): Likewise.
30299 (__mul): Likewise.
30300 (__inv): Likewise.
30301 (__dvd): Likewise.
30302
303032013-01-08 Joseph Myers <joseph@codesourcery.com>
30304
30305 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30306 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30307 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30308 2 && __USE_EXTERN_INLINES]: Likewise.
30309
303102013-01-08 Andreas Jaeger <aj@suse.de>
30311
30312 [BZ# 14985]
30313 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30314 Remove.
30315 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30316 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30317
303182013-01-07 Anton Blanchard <anton@samba.org>
30319
30320 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30321 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30322 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30323 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30324 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30325 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30326 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30327 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30330 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30331 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30332 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30333 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30334 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30335 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30336 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30337 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30338 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30339 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30340 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30341 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30342 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30343 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30344 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30345 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30346 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30347 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30348 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30349 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30350 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30352 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30353 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30354 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30355 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30356 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30357 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30358 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30359 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30360 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30362 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30363
303642013-01-07 Joseph Myers <joseph@codesourcery.com>
30365
30366 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30367 (__MALLOC_PMT): Likewise.
30368 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30369 [__GNUC__], only on [_LIBC].
30370 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30371 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30372 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30373 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30374 forward declaration.
30375 (realloc_hook_ini): Likewise.
30376 (memalign_hook_ini): Likewise.
30377 (__libc_memalign): Do not use __MALLOC_PMT in variable
30378 declaration.
30379 (__libc_valloc): Likewise.
30380 (__libc_pvalloc): Likewise.
30381 (__libc_calloc): Likewise.
30382 (__posix_memalign): Likewise.
30383
30384 [BZ #14996]
30385 * math/s_casinh.c: Include <float.h>.
30386 (__casinh): Do not do computation with squaring and square root
30387 for large arguments.
30388 * math/s_casinhf.c: Include <float.h>.
30389 (__casinhf): Do not do computation with squaring and square root
30390 for large arguments.
30391 * math/s_casinhl.c: Include <float.h>.
30392 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30393 (__casinhl): Do not do computation with squaring and square root
30394 for large arguments.
30395 * math/libm-test.inc (casin_test): Add more tests.
30396 (casinh_test): Likewise.
30397 * sysdeps/i386/fpu/libm-test-ulps: Update.
30398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30399
304002013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30401
30402 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30403 (__x86_64_raw_data_cache_size): Likewise.
30404 (__x86_64_data_cache_size_half): Likewise.
30405 (__x86_64_raw_data_cache_size_half): Likewise.
30406 (__x86_64_shared_cache_size): Likewise.
30407 (__x86_64_raw_shared_cache_size): Likewise.
30408 (__x86_64_shared_cache_size_half): Likewise.
30409 (__x86_64_raw_shared_cache_size_half): Likewise.
30410 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30411 to ...
30412 (__x86_data_cache_size): This.
30413 (__x86_64_raw_data_cache_size): Renamed to ...
30414 (__x86_raw_data_cache_size): This.
30415 (__x86_64_data_cache_size_half): Renamed to ...
30416 (__x86_data_cache_size_half): This.
30417 (__x86_64_raw_data_cache_size_half): Renamed to ...
30418 (__x86_raw_data_cache_size_half): This.
30419 (__x86_64_shared_cache_size): Renamed to ...
30420 (__x86_shared_cache_size): This.
30421 (__x86_64_raw_shared_cache_size): Renamed to ...
30422 (__x86_raw_shared_cache_size): This.
30423 (__x86_64_shared_cache_size_half): Renamed to ...
30424 (__x86_shared_cache_size_half): This.
30425 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30426 (__x86_raw_shared_cache_size_half): This.
30427 * sysdeps/x86_64/memcpy.S: Updated.
30428 * sysdeps/x86_64/memset.S: Likewise.
30429 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30432
304332013-01-04 David S. Miller <davem@davemloft.net>
30434
30435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30436
304372013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30438
30439 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30440 1 to avoid redefinition warning.
30441 (__USE_GNU): Don't define.
30442 (init_signaling_nan): Protoize.
30443
30444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30445
304462013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30447
30448 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30450 (__cpymn): Likewise.
30451 (norm): Remove commented code.
30452 (denorm): Likewise.
30453 (__mp_dbl): Likewise.
30454 (__inv): Likewise.
30455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30456 (__cpymn): Likewise.
30457 (norm): Remove commented code.
30458 (denorm): Likewise.
30459 (__mp_dbl): Likewise.
30460 (__inv): Likewise.
30461
30462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30463 mp_no value for 1.0 and 2.0.
30464 (norm): Use RADIXI instead of radixi.d.
30465 (denorm): Likewise.
30466 (__mul): Use 0.0 instead of zero.d.
30467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30468 mp_no value for 1.0 and 2.0.
30469 (norm): Use RADIXI instead of radixi.d.
30470 (denorm): Likewise.
30471 (__mul): Use 0.0 instead of zero.d.
30472
304732013-01-04 Joseph Myers <joseph@codesourcery.com>
30474
30475 [BZ #14994]
30476 * math/s_casinh.c (__casinh): Reduce finite argument to first
30477 quadrant then set signs of results at the end.
30478 * math/s_casinhf.c (__casinhf): Likewise.
30479 * math/s_casinhl.c (__casinhl): Likewise.
30480 * math/libm-test.inc (casin_test): Add more tests.
30481 (casinh_test): Likewise.
30482 * sysdeps/i386/fpu/libm-test-ulps: Update.
30483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30484
304852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30486
30487 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30488
30489 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30490
30491 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30492 declarations.
30493 (denorm): Likewise.
30494 (__mp_dbl): Likewise.
30495 (__inv): Likewise.
30496
30497 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30498 and adjust the header comment.
30499
30500 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30501 variable name from declaration.
30502
305032013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30504
30505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30506 Initialize COMMON_CPUID_INDEX_7 element.
30507 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30508 (CPUID_RTM): Likewise.
30509 (HAS_RTM): Likewise.
30510 (COMMON_CPUID_INDEX_7): New enum.
30511
305122013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30513
30514 [BZ #14981]
30515 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30516 size is zero, record memory as freed.
30517
305182013-01-03 Andreas Jaeger <aj@suse.de>
30519
30520 * po/ia.po: Add new Interlingua translation.
30521
305222012-01-03 Allan McRae <allan@archlinux.org>
30523
30524 * locale/programs/localedef.c: Fix description of '--posix' flag.
30525
305262013-01-02 Joseph Myers <joseph@codesourcery.com>
30527
30528 * NEWS: Update dates in second copyright notice.
30529 * README: Update copyright dates in example.
30530 * manual/libc.texinfo: Update copyright dates.
30531 * scripts/test-installation.pl: Update copyright date in --version
30532 output.
30533
30534 * hurd/ctty-input.c: Fix copyright notice formatting.
30535 * hurd/ctty-output.c: Likewise.
30536 * hurd/dtable.c: Likewise.
30537 * hurd/hurd-raise.c: Likewise.
30538 * hurd/hurdprio.c: Likewise.
30539 * hurd/msgportdemux.c: Likewise.
30540 * misc/sys/file.h: Likewise.
30541 * misc/sys/ioctl.h: Likewise.
30542 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30543 * sysdeps/mach/hurd/chdir.c: Likewise.
30544 * sysdeps/mach/hurd/fchdir.c: Likewise.
30545 * sysdeps/mach/hurd/rename.c: Likewise.
30546 * sysdeps/mach/hurd/rmdir.c: Likewise.
30547 * sysdeps/mach/hurd/seekdir.c: Likewise.
30548 * sysdeps/mach/hurd/setsid.c: Likewise.
30549 * sysdeps/posix/wait3.c: Likewise.
30550
30551 * All files with FSF copyright notices: Update copyright dates
30552 using scripts/update-copyrights.
30553 * intl/plural.c: Regenerated.
30554 * locale/programs/charmap-kw.h: Likewise.
30555 * locale/programs/locfile-kw.h: Likewise.
30556
305572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30558
30559 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30560 four values.
30561
30562 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30563 calculation loop and add branch prediction.
30564
30565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30566 check access beyond bounds of m1np.
30567
30568 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30569 MPTWO.
30570 (__inv): Remove local variable MPTWO to use the global
30571 constant.
30572 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30573 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30574 variable MPTWO.
30575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30576 MP3HALFS static const.
30577
305782013-01-01 David S. Miller <davem@davemloft.net>
30579
30580 * po/ca.po: Update from translation team.
30581
305822013-01-01 Joseph Myers <joseph@codesourcery.com>
30583
30584 * scripts/update-copyrights: New file.
30585 * Makeconfig: Reformat copyright notice.
30586 * ctype/ctype.h: Likewise.
30587 * debug/swprintf_chk.c: Likewise.
30588 * elf/dl-cache.c: Likewise.
30589 * elf/dl-debug.c: Likewise.
30590 * elf/dl-object.c: Likewise.
30591 * grp/initgroups.c: Likewise.
30592 * hurd/Makefile: Likewise.
30593 * hurd/hurd/signal.h: Likewise.
30594 * hurd/hurdfault.c: Likewise.
30595 * hurd/hurdioctl.c: Likewise.
30596 * hurd/hurdlookup.c: Likewise.
30597 * hurd/intr-msg.c: Likewise.
30598 * iconv/gconv_open.c: Likewise.
30599 * libio/swprintf.c: Likewise.
30600 * locale/lc-ctype.c: Likewise.
30601 * locale/nl_langinfo.c: Likewise.
30602 * mach/Machrules: Likewise.
30603 * mach/Makefile: Likewise.
30604 * malloc/obstack.h: Likewise.
30605 * manual/Makefile: Likewise.
30606 * manual/tsort.awk: Likewise.
30607 * misc/bits/stab.def: Likewise.
30608 * nis/nis_print_group_entry.c: Likewise.
30609 * nis/nis_table.c: Likewise.
30610 * nis/nss_compat/compat-pwd.c: Likewise.
30611 * nis/nss_compat/compat-spwd.c: Likewise.
30612 * po/Makefile: Likewise.
30613 * posix/fnmatch.c: Likewise.
30614 * posix/regex.h: Likewise.
30615 * resolv/Makefile: Likewise.
30616 * resolv/nss_dns/dns-network.c: Likewise.
30617 * resolv/res_hconf.c: Likewise.
30618 * scripts/gen-sorted.awk: Likewise.
30619 * soft-fp/soft-fp.h: Likewise.
30620 * stdio-common/printf.h: Likewise.
30621 * stdlib/monetary.h: Likewise.
30622 * stdlib/random.c: Likewise.
30623 * stdlib/random_r.c: Likewise.
30624 * sysdeps/generic/Makefile: Likewise.
30625 * sysdeps/gnu/Makefile: Likewise.
30626 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30644 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30645 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30654 * sysdeps/mach/hurd/errnos.awk: Likewise.
30655 * sysdeps/mach/hurd/fork.c: Likewise.
30656 * sysdeps/mach/hurd/getcwd.c: Likewise.
30657 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30658 * sysdeps/mach/hurd/mmap.c: Likewise.
30659 * sysdeps/mach/hurd/utimes.c: Likewise.
30660 * sysdeps/mach/hurd/xmknod.c: Likewise.
30661 * sysdeps/posix/profil.c: Likewise.
30662 * sysdeps/posix/readdir_r.c: Likewise.
30663 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30664 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30665 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30666 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30668 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30669 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30670 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30672 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30673 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30674 * sysdeps/pthread/lio_listio.c: Likewise.
30675 * sysdeps/sparc/dl-procinfo.h: Likewise.
30676 * sysdeps/unix/i386/sysdep.S: Likewise.
30677 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30678 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30679 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30680 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30682 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30683 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30684 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30685 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30686 * sysdeps/wordsize-32/divdi3.c: Likewise.
30687 * time/sys/time.h: Likewise.
30688 * wcsmbs/Makefile: Likewise.
30689
306902013-01-01 David S. Miller <davem@davemloft.net>
30691
30692 * po/fr.po: Update from translation team.
30693
30694 * catgets/gencat.c: Update copyright year.
30695 * csu/version.c: Likewise.
30696 * debug/catchsegv.sh: Likewise.
30697 * debug/pcprofiledump.c: Likewise.
30698 * debug/xtrace.sh: Likewise.
30699 * elf/ldconfig.c: Likewise.
30700 * elf/ldd.bash.in: Likewise.
30701 * elf/pldd.c: Likewise.
30702 * elf/sotruss.ksh: Likewise.
30703 * elf/sprof.c: Likewise.
30704 * iconv/iconv_prog.c: Likewise.
30705 * iconv/iconvconfig.c: Likewise.
30706 * locale/programs/locale.c: Likewise.
30707 * locale/programs/localedef.c: Likewise.
30708 * login/programs/pt_chown.c: Likewise.
30709 * malloc/memusage.sh: Likewise.
30710 * malloc/memusagestat.c: Likewise.
30711 * malloc/mtrace.pl: Likewise.
30712 * nscd/nscd.c: Likewise.
30713 * nss/getent.c: Likewise.
30714 * nss/makedb.c: Likewise.
30715 * posix/getconf.c: Likewise.
30716
307172012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30718
30719 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30720 numbers.
30721
307222012-12-30 Mike Frysinger <vapier@gentoo.org>
30723
30724 * math/bits/mathcalls.h (modf): Use __nonnull.
30725
307262012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30727
30728 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30729 (split): Use macro CN instead of the bare value.
30730 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30731 could be used.
30732 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30733 instead of the bare value.
30734 (power1): Likewise.
30735
307362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30737
30738 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30739 __ATAN_TWOM.
30740 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30741
30742 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30743 their values.
30744 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30745 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30746 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30747 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30748
307492012-12-28 Andreas Jaeger <aj@suse.de>
30750
30751 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30752 values are from Linux 3.7.
30753
30754 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30755 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30756
307572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30758
30759 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30760 TRUE case.
30761
30762 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30763 (norm): Likewise.
30764 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30765 variables with preprocessor constants.
30766 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30767 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30768 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30769
307702012-12-27 Bruno Haible <bruno@clisp.org>
30771
30772 [BZ #14317]
30773 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30774 only if needed.
30775
307762012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30777
30778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30779 and use variable directly.
30780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30781
30782 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30783 MPONE.
30784 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30786 variable MPONE.
30787 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30789 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30790 include directive. Remove local variable MPONE.
30791 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30792 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30793 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30794
307952012-12-25 David S. Miller <davem@davemloft.net>
30796
30797 * version.h (RELEASE): Set to "development".
30798 (VERSION): Set to "2.17.90".
30799 * NEWS: Add 2.18 section.
30800
308012012-12-21 David S. Miller <davem@davemloft.net>
30802
30803 * po/hr.po: Update from translation team.
30804
308052012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30806
30807 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30808
308092012-12-19 Steve Ellcey <sellcey@mips.com>
30810
30811 * NEWS: Mention new memcpy for MIPS.
30812
308132012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30814
30815 * manual/contrib.texi (Contributors): Spelling correction.
30816
308172012-12-15 David S. Miller <davem@davemloft.net>
30818
30819 * po/ru.po: Update from translation team.
30820
308212012-12-13 David S. Miller <davem@davemloft.net>
30822
30823 * NEWS: Mention IFUNC testsuite enhancements.
30824
30825 * po/pl.po: Update from translation team.
30826 * po/bg.po: Likewise.
30827
30828 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30829 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30830
308312012-12-11 David S. Miller <davem@davemloft.net>
30832
30833 * po/sv.po: Update from translation team.
30834
30835 * po/vi.po: Update from translation team.
30836
30837 * po/cs.po: Update from translation team.
30838
30839 * po/de.po: Update from translation team.
30840 * po/eo.po: Likewise.
30841 * po/nl.po: Likewise.
30842
308432012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30844
30845 [BZ #14246]
30846 * manual/argp.texi (Argp Helper Functions): Move node to follow
30847 Argp Parsing State.
30848
30849 [BZ #14872]
30850 * manual/conf.texi (Limits on File System Capacity): Mention if
30851 terminating null is included in the max size.
30852
308532012-12-10 Andreas Jaeger <aj@suse.de>
30854
30855 * po/cs.po: Update from translation team.
30856
308572012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30858
30859 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30860 void pointer and cast to uintptr_t.
30861 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30862 path.
30863 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30864 * sysdeps/s390/s390-64/memset.S: Likewise.
30865
308662012-12-08 Benno Schulenberg <bensberg@justemail.net>
30867
30868 [BZ #14833]
30869 * menual/message.texi (Message Translation): Fix typos.
30870 (Helper programs for gettext): Likewise.
30871
308722012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30873
30874 [BZ #14898]
30875 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30876 Change to -1.
30877
308782012-12-07 David S. Miller <davem@davemloft.net>
30879
30880 * po/libc.pot: Update.
30881
308822012-12-07 Richard Henderson <rth@redhat.com>
30883
30884 [BZ #10114]
30885 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30886 normal/normal case to before the switch.
30887 (_FP_DIV): Likewise.
30888
308892012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30890 Mike Frysinger <vapier@gentoo.org>
30891
30892 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30893 check for __NR_fadvise64_64.
30894
308952012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30896
30897 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30898 0, not just to plain "0" as a statement.
30899 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30900 with cw.
30901
309022012-12-06 Joseph Myers <joseph@codesourcery.com>
30903
30904 * NEWS: Use sourceware.org in Bugzilla URL.
30905
309062012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30907
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30909 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30910
30911 * stdio-common/tst-put-error.c (do_test): Add newline to the
30912 padded test to ensure flush.
30913
309142012-12-05 Jeff Law <law@redhat.com>
30915
30916 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30917
309182012-12-05 Joseph Myers <joseph@codesourcery.com>
30919
30920 * README: Don't refer to ports add-on as distributed separately.
30921 Mention AArch64 in list of systems supported in the ports add-on.
30922
30923 * LICENSES: Add more non-FSF copyright and license notices.
30924
30925 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30926 ((unused)).
30927
30928 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30929
30930 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30931 10000 as width of padded output.
30932
309332012-12-04 Joseph Myers <joseph@codesourcery.com>
30934
30935 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30936
30937 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30938 variable LX with __attribute__ ((unused)).
30939 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30940 Likewise.
30941 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30944 with __attribute__ ((unused)).
30945
309462012-12-04 David S. Miller <davem@abraco.davemloft.net>
30947
30948 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30949
309502012-12-04 Joseph Myers <joseph@codesourcery.com>
30951
30952 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30953 (CFLAGS-nldbl-acos.c): New variable.
30954 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30955 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30956 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30957 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30958 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30959 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30960 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30961 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30962 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30963 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30964 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30965 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30966 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30967 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30968 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30969 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30970 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30971 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30972 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30973 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30974 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30975 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30976 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30977 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30978 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30979 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30980 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30981 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30982 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30983 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30984 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30985 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30986 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30987 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30988 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30989 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30990 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30991 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30992 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30993 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30994 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30995 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30996 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30997 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30998 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30999 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31000 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31001 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31002 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31003 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31004 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31005 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31006 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31007 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31008 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31009 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31010 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31011 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31012 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31013 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31014 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31015 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31016 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31017 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31018 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31019 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31020 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31021 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31022 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31023 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31024 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31025 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31026 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31027 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31028 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31029 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31030 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31031 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31032 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31033 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31034 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31035 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31036 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31037 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31038 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31039 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31040 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31041 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31042 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31043 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31044 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31045 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31046 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31047 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31048 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31049 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31050 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31051
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31053 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31054
31055 [BZ #14914]
31056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31057 whole low double instead of just low 47 bits when splitting values
31058 into two parts.
31059
310602012-12-03 Allan McRae <allan@archlinux.org>
31061
31062 * manual/stdio.texi (Predefined Printf Handlers): Remove
31063 @hsep and @vsep usage.
31064
310652012-12-03 Mike Frysinger <vapier@gentoo.org>
31066
31067 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31068 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31069
310702012-12-03 Jeff Law <law@redhat.com>
31071
31072 * time/sys/time.h (settimeofday): Do not mark TV argument
31073 as __nonnull.
31074
310752012-12-01 Mike Frysinger <vapier@gentoo.org>
31076
31077 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31078 when currently writing and seek to current position when not.
31079 * libio/Makefile (tests): Remove bug-fclose1.
31080 * libio/bug-fclose1.c: Delete.
31081
310822012-12-01 Joseph Myers <joseph@codesourcery.com>
31083
31084 * manual/arith.texi (feenableexcept): Fix typo.
31085 (fedisableexcept): Likewise.
31086
310872012-11-30 Roland McGrath <roland@hack.frob.com>
31088
31089 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31090 second, differently-typed declaration, rather than a cast.
31091
310922012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31093
31094 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31095 * include/rpc/svc.h: ... here.
31096
310972012-11-30 Aurelien Jarno <aurel32@debian.org>
31098
31099 [BZ #13013]
31100 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31101 depending n and resplen2 to catch cases where answer
31102 equals answerp2.
31103
311042012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31105
31106 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31107 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31108
311092012-11-29 Mike Frysinger <vapier@gentoo.org>
31110
31111 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31112
311132012-11-29 Roland McGrath <roland@hack.frob.com>
31114
31115 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31116
311172012-11-28 Jeff Law <law@redhat.com>
31118
31119 [BZ #13761]
31120 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31121 dataset_temporary. Track alloca usage into alloca_used.
31122 If dataset is large allocate and release it via malloc/free.
31123
311242012-06-04 Florian Weimer <fweimer@redhat.com>
31125
31126 [BZ #14197]
31127 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31128
311292012-11-28 David S. Miller <davem@davemloft.net>
31130
31131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31132
311332012-11-28 Joseph Myers <joseph@codesourcery.com>
31134
31135 [BZ #14803]
31136 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31137 of pi/2 rounded to nearest to 64 bits.
31138 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31139 nearest to 64 bits.
31140 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31141 bits.
31142
311432012-11-28 Jeff Law <law@redhat.com>
31144 Martin Osvald <mosvald@redhat.com>
31145
31146 [BZ #14889]
31147 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31148 * sunrpc/svc.c: Include time.h.
31149 (__svc_accept_failed): New function.
31150 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31151 any reason other than EINTR, call __svc_accept_failed.
31152 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31153 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31154
311552012-11-28 Andreas Schwab <schwab@suse.de>
31156
31157 * scripts/abilist.awk: Also handle indirect functions in .opd
31158 section.
31159
311602012-11-28 Joseph Myers <joseph@codesourcery.com>
31161
31162 [BZ #13881]
31163 * sysdeps/x86/fpu/powl_helper.c: New file.
31164 * sysdeps/x86/fpu/Makefile: Likewise.
31165 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31166 (p3): New object.
31167 (__ieee754_powl): Use __powl_helper for finite arguments except
31168 integer exponents below 8.
31169 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31170 (p3): New object.
31171 (__ieee754_powl): Use __powl_helper for finite arguments except
31172 integer exponents below 8.
31173 * math/libm-test.inc (pow_test): Add more tests and enable some
31174 previously disabled tests.
31175 * sysdeps/i386/fpu/libm-test-ulps: Update.
31176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31177
311782012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31179 Carlos O'Donell <carlos_odonell@mentor.com>
31180
31181 * nss/makedb.c (is_prime): Assert that input is odd and greater
31182 than 4. Note that fact in a comment too.
31183 (next_prime): Add 4 to input.
31184
311852012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31186
31187 [BZ #11741]
31188 * libio/Makefile (tests): Add test case tst-fwrite-error.
31189 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31190 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31191 * libio/tst-fwrite-error.c: New test case.
31192
311932012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31194
31195 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31196 before casting to void *.
31197 * include/libc-internal.h (__pointer_type): New macro.
31198 (__integer_if_pointer_type_sub): Likewise.
31199 (__integer_if_pointer_type): Likewise.
31200 (cast_to_integer): Likewise.
31201 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31202 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31203 before casting to atomic64_t.
31204 (atomic_exchange_acq): Likewise.
31205 (__arch_exchange_and_add_body): Likewise.
31206 (__arch_add_body): Likewise.
31207 (atomic_add_negative): Likewise.
31208 (atomic_add_zero): Likewise.
31209
312102012-11-26 Joseph Myers <joseph@codesourcery.com>
31211
31212 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31213 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31214 (add_fdes): Likewise.
31215 (linear_search_fdes): Likewise.
31216 (binary_search_unencoded_fdes): Likewise.
31217
312182012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31219
31220 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31221
312222012-11-24 Adam Conrad <adconrad@0c3.net>
31223
31224 * configure.in: Autodetect C++ header directories.
31225 * configure: Regenerated.
31226
312272012-11-23 Mike Frysinger <vapier@gentoo.org>
31228
31229 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31230
312312012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31232
31233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31234
312352012-11-22 Joseph Myers <joseph@codesourcery.com>
31236
31237 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31238 LDBL_MANT_DIG == 106]: Disable some tests.
31239 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31240 Likewise.
31241 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31242 Likewise.
31243
31244 [BZ #14871]
31245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31246 input for small inputs. Return +/- pi/2 for large inputs.
31247 * math/libm-test.inc (atan_test): Add more tests.
31248
31249 * sysdeps/generic/unwind-dw2-fde-glibc.c
31250 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31251 __attribute__ ((unused)).
31252
31253 [BZ #14645]
31254 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31255 x * y if x and y are nonzero and z is zero.
31256
31257 [BZ #14811]
31258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31259 nonzero exponents with absolute value below 0x1p-117 to +/-
31260 0x1p-117.
31261
31262 [BZ #14869]
31263 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31264 up arguments below 2**-450, not just those below 2**-500.
31265 * math/libm-test.inc (hypot_test): Add another test.
31266
31267 [BZ #14868]
31268 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31269 Return a+b for ratio over 2**120, not 2**60.
31270 * math/libm-test.inc (hypot_test): Add another test.
31271
31272 * math/libm-test.inc (clog_test): Use
31273 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31274 (clog10_test): Likewise.
31275
31276 [BZ #6778]
31277 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31278
312792012-11-22 Andreas Schwab <schwab@suse.de>
31280
31281 * sysdeps/i386/fpu/libm-test-ulps: Update.
31282
312832012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31284
31285 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31286 printf output with newline.
31287
312882012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31289
31290 [BZ #14865]
31291 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31292 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31293 -z nodlopen, -z initfirst and -z execstack support.
31294 * configure: Regenerated.
31295
31296 * elf/elf.h (DF_1_NODIRECT): New macro.
31297 (DF_1_IGNMULDEF): Likewise.
31298 (DF_1_NOKSYMS): Likewise.
31299 (DF_1_NOHDR): Likewise.
31300 (DF_1_EDITED): Likewise.
31301 (DF_1_NORELOC): Likewise.
31302 (DF_1_SYMINTPOSE): Likewise.
31303 (DF_1_GLOBAUDIT): Likewise.
31304 (DF_1_SINGLETON): Likewise.
31305 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31306 DT_1_SUPPORTED_MASK bits.
31307 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31308
313092012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31310
31311 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31312
313132012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31314
31315 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31316 macro.
31317
31318 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31319 (sendmmsg): Move declarations...
31320 * socket/sys/socket.h: ... here.
31321 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31322 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31323 include it from...
31324 * socket/recvmmsg.c: ... this new file.
31325 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31326 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31327 definition of __sendmmsg hidden.
31328 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31329 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31330 Move ENOSYS stub into and include it from...
31331 * socket/sendmmsg.c: ... this new file.
31332 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31333 (sysdep_routines): Move recvmmsg and sendmmsg...
31334 * socket/Makefile (routines): ... here.
31335 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31336 (GLIBC_PRIVATE): Add __sendmmsg.
31337 * include/sys/socket.h (__sendmmsg): Add declarations.
31338 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31339 sendmmsg.
31340
313412012-11-20 Joseph Myers <joseph@codesourcery.com>
31342
31343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31344 variable I1 with __attribute__ ((unused)).
31345 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31346
313472012-11-19 Joseph Myers <joseph@codesourcery.com>
31348
31349 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31350 DUMMY variables with __attribute__ ((unused)).
31351
31352 * bits/byteswap.h: Include <bits/types.h>.
31353 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31354
313552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31356
31357 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31358 string_t. Do not manually set errno.
31359 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31360 length with __strnlen. Make sure to both set errno and return it on
31361 failure.
31362
313632012-11-19 David S. Miller <davem@davemloft.net>
31364
31365 With help from Joseph Myers.
31366 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31367 very large arguments properly.
31368 * math/libm-test.inc (atan_test): New tests.
31369 (atan2_test): New tests.
31370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31372
313732012-11-19 Joseph Myers <joseph@codesourcery.com>
31374
31375 [BZ #14856]
31376 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31377 Define to 3.
31378
31379 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31380 [POSIX] (EADDRNOTAVAIL): Likewise.
31381 [POSIX] (EAFNOSUPPORT): Likewise.
31382 [POSIX] (EALREADY): Likewise.
31383 [POSIX] (ECONNABORTED): Likewise.
31384 [POSIX] (ECONNREFUSED): Likewise.
31385 [POSIX] (ECONNRESET): Likewise.
31386 [POSIX] (EDESTADDRREQ): Likewise.
31387 [POSIX] (EDQUOT): Likewise.
31388 [POSIX] (EHOSTUNREACH): Likewise.
31389 [POSIX] (EIDRM): Likewise.
31390 [POSIX] (EISCONN): Likewise.
31391 [POSIX] (ELOOP): Likewise.
31392 [POSIX] (EMULTIHOP): Likewise.
31393 [POSIX] (ENETDOWN): Likewise.
31394 [POSIX] (ENETUNREACH): Likewise.
31395 [POSIX] (ENOBUFS): Likewise.
31396 [POSIX] (ENODATA): Likewise.
31397 [POSIX] (ENOLINK): Likewise.
31398 [POSIX] (ENOMSG): Likewise.
31399 [POSIX] (ENOPROTOOPT): Likewise.
31400 [POSIX] (ENOSR): Likewise.
31401 [POSIX] (ENOSTR): Likewise.
31402 [POSIX] (ENOTCONN): Likewise.
31403 [POSIX] (ENOTSOCK): Likewise.
31404 [POSIX] (EOPNOTSUPP): Likewise.
31405 [POSIX] (EOVERFLOW): Likewise.
31406 [POSIX] (EPROTO): Likewise.
31407 [POSIX] (EPROTONOSUPPORT): Likewise.
31408 [POSIX] (EPROTOTYPE): Likewise.
31409 [POSIX] (ESTALE): Likewise.
31410 [POSIX] (ETIME): Likewise.
31411 [POSIX] (ETXTBSY): Likewise.
31412 [POSIX] (EWOULDBLOCK): Likewise.
31413 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31414 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31415 [POSIX] (SEEK_CUR): Likewise.
31416 [POSIX] (SEEK_END): Likewise.
31417 [POSIX || UNIX98] (mode_t): Do not require.
31418 [POSIX] (off_t): Likewise.
31419 [POSIX] (pid_t): Likewise.
31420 [POSIX] (sys/stat.h): Do not allow header.
31421 [POSIX] (unistd.h): Likewise.
31422 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31423 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31424 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31425 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31426 require.
31427 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31428 sigevent): Specify elements.
31429 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31430 entry.
31431 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31432 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31433
31434 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31435 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31436 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31437 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31438 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31439 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31440 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31441 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31442 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31443 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31444 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31445 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31446 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31447 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31448 Likewise.
31449 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31450 Likewise.
31451 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31452 Likewise.
31453 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31454 Likewise.
31455 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31456 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31457 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31458 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31459 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31460 Specify lower bound on value.
31461 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31462 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31463 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31464 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31465 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31466 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31467 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31468 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31469 value.
31470 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31471 as optional.
31472 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31473 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31474 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31475 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31476 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31477 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31478 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31479 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31480 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31481 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31482 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31483 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31484 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31485 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31486 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31487 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31488 entry.
31489 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31490 optional.
31491 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31492 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31493 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31494 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31495 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31496 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31497 Likewise.
31498 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31499 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31500 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31501 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31502 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31503 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31504 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31505 as optional.
31506 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31507 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31508 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31509 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31510 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31511 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31512 specify as optional.
31513 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31514 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31515 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31516 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31517 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31518 [XPG3] (NL_LANGMAX): Likewise.
31519 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31520 [POSIX || XPG3] (NL_NMAX): Likewise.
31521 [POSIX || XPG3] (NL_SETMAX): Likewise.
31522 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31523 [XPG3] (NZERO): Likewise.
31524 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31525 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31526 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31527 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31528 (REG_ERANGE): Expect.
31529 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31530 optional-constant.
31531 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31532 Use (void) in prototype.
31533 [POSIX] (*_t): Allow.
31534 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31535 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31536 (WRDE_BADVAL): Expect.
31537
31538 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31539 expect.
31540 [XPG3 || XPG4] (O_RSYNC): Likewise.
31541 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31542 Likewise.
31543 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31544 [XPG3 || XPG4] (sigqueue): Likewise.
31545 [XPG3 || XPG4] (sigtimedwait): Likewise.
31546 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31547 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31548 [XPG3 || XPG4] (vsnprintf): Likewise.
31549 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31550 Likewise.
31551 [XPG3 || XPG4] (blksize_t): Likewise.
31552 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31553 Likewise.
31554 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31555 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31556 [XPG3 || XPG4] (struct itimerspec): Likewise.
31557 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31558 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31559 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31560 [XPG3 || XPG4] (clockid_t): Likewise.
31561 [XPG3 || XPG4] (timer_t): Likewise.
31562 [XPG3 || XPG4] (clock_getres): Likewise.
31563 [XPG3 || XPG4] (clock_gettime): Likewise.
31564 [XPG3 || XPG4] (clock_settime): Likewise.
31565 [XPG3 || XPG4] (nanosleep): Likewise.
31566 [XPG3 || XPG4] (timer_create): Likewise.
31567 [XPG3 || XPG4] (timer_delete): Likewise.
31568 [XPG3 || XPG4] (timer_gettime): Likewise.
31569 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31570 [XPG3 || XPG4] (timer_settime): Likewise.
31571 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31572 [XPG3 || XPG4] (getlogin_r): Likewise.
31573 [XPG3 || XPG4] (pread): Likewise.
31574 [XPG3 || XPG4] (pthread_atfork): Likewise.
31575 [XPG3 || XPG4] (pwrite): Likewise.
31576
31577 [BZ #14835]
31578 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31579 <bits/siginfo.h>.
31580
315812012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31582
31583 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31584 finalizing MALLSTREAM.
31585
31586 * sysdeps/mach/hurd/syncfs.c: New file.
31587
315882012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31589
31590 [BZ #14719]
31591 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31592 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31593 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31594 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31595 (_nss_dns_gethostbyname4_r): Likewise.
31596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31597 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31598
315992012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31600
31601 [BZ #13763]
31602 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31603
316042012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31605
31606 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31607 * elf/cache.c (print_entry): Print ",AArch64" for
31608 FLAG_AARCH64_LIB64
31609
31610 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31611 * elf/cache.c (print_entry): Print ",hard-float" for
31612 FLAG_ARM_LIBHF.
31613
316142012-11-18 David S. Miller <davem@davemloft.net>
31615
31616 With help from Joseph Myers.
31617 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31618 cutoff to 2**-13.
31619 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31620 cutoff to 2**-25.
31621 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31622 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31623 small.
31624 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31625 * math/libm-test.inc (y0_test): New tests.
31626 (y1_test): New tests.
31627 * sysdeps/i386/fpu/libm-test-ulps: Update.
31628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31630
316312012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31632
31633 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31634 64-bit targets.
31635 * configure: Regenerated.
31636
316372012-11-17 David S. Miller <davem@davemloft.net>
31638
31639 [BZ #14811]
31640 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31641 nonzero exponents with absolute value below 0x1p-128 to +/-
31642 0x1p-128.
31643
316442012-11-17 Joseph Myers <joseph@codesourcery.com>
31645
31646 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31647
31648 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31649
31650 * posix/getconf-speclist.c: New file.
31651 * posix/posix-envs.def: Likewise.
31652 * posix/confstr.c (START_ENV_GROUP): New macro.
31653 (END_ENV_GROUP): Likewise.
31654 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31655 (KNOWN_PRESENT_ENV_STRING): Likewise.
31656 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31657 (UNKNOWN_ENVIRONMENT): Likewise.
31658 (confstr): Include posix-envs.def instead of handling
31659 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31660 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31661 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31662 (END_ENV_GROUP): Likewise.
31663 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31664 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31665 (UNKNOWN_ENVIRONMENT): Likewise.
31666 (__sysconf): Include posix-envs.def instead of handling associated
31667 cases directly here.
31668 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31669 preprocessing getconf-speclist.c rather than running getconf or
31670 generating empty file.
31671
316722012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31673
31674 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31675
316762012-11-16 Andrej Lajovic <natrij@gmail.com>
31677
31678 [BZ #14672]
31679 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31680
316812012-11-16 David S. Miller <davem@davemloft.net>
31682
31683 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31684 smaller than LDBL_EPSILON/2.0L, just return xm1.
31685
316862012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31687
31688 * elf/tst-array1.c (init): Set constructor priority to 1000.
31689 (fini): Set destructor priority to 1000.
31690 * elf/tst-array2dep.c: Likewise.
31691
316922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31693
31694 [BZ #11741]
31695 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31696 (_IO_new_file_xsputn): Also return EOF if none of the input
31697 data was written when overflow failed.
31698 * libio/iopadn.c (_IO_padn): Likewise.
31699 * libio/iowpadn.c (_IO_wpadn): Likewise.
31700 * stdio-common/tst-put-error.c: Add copyright notice.
31701 (do_test): Add case for printing padded string.
31702 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31703 _IO_padn returned error.
31704 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31705 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31706 return EOF.
31707
317082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31709
31710 * libio/libioP.h: Add comment note that the references to C++
31711 bits are now obsolete.
31712
317132012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31714
31715 * math/libm-test.inc (check_complex): Use asprintf.
31716
317172012-11-14 Joseph Myers <joseph@codesourcery.com>
31718
31719 * debug/pcprofiledump.c (print_version): Update copyright year.
31720 * malloc/memusagestat.c (print_version): Likewise.
31721
317222012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31723
31724 [BZ #14831]
31725 * elf/Makefile (tests): Add tst-audit8.
31726 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31727 ($(objpfx)tst-audit8.out): New target.
31728 (tst-audit8-ENV): New variable.
31729 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31730 audit if l_reloc_result is NULL.
31731 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31732 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31733 * elf/tst-audit8.c: New file.
31734
317352012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31736
31737 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31738 * misc/Makefile (CFLAGS-select.c): Define.
31739 * posix/Makefile (CFLAGS-pause.c): Define.
31740
317412012-11-13 David S. Miller <davem@davemloft.net>
31742
31743 * crypt/Makefile: Move test targets after toplevel Rules
31744 inclusion. Grab any necessary sysdep routines when linking.
31745 * crypt/md5.c (md5_process_block): Remove define, we will always
31746 name it __md5_process_block.
31747 (md5_finish_ctx): Update md5_process_block call.
31748 (md5_stream): Likewise.
31749 (md5_process_bytes): Likewise.
31750 (md5_process_block): Rename to __md5_process_block and move to ...
31751 * crypt/md5-block.c: ... here.
31752 * crypt/sha256.c (sha256_process_block): Move to ...
31753 * crypt/sha256-block.c: ... here.
31754 * crypt/sha512.c (sha512_process_block): Move to ...
31755 * crypt/sha512-block.c: ... here.
31756 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31757 path.
31758 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31759 * sysdeps/sparc/sparc64/multiarch/Makefile
31760 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31761 crypt subdir.
31762 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31763 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31764 multiarch changes.
31765 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31766 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31767 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31768 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31769 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31770 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31771 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31772 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31774 file.
31775 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31776 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31777 file.
31778 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31779
317802012-11-13 Joseph Myers <joseph@codesourcery.com>
31781
31782 * timezone/tzselect.ksh: Update from tzcode git revision
31783 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31784 * timezone/zdump.c: Likewise.
31785 * timezone/zic.c: Likewise.
31786 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31787 in TZVERSION setting, not $(PKGVERSION).
31788 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31789 REPORT_BUGS_TO settings.
31790
31791 [BZ #14838]
31792 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31793 macro.
31794
317952012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31796
31797 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31798 detection to immediately after _FP_ROUND().
31799 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31800 bits are 0.
31801
318022012-11-11 David S. Miller <davem@davemloft.net>
31803
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31805 inttypes.h
31806 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31807 __close rather than their public counterparts.
31808
318092012-11-10 Joseph Myers <joseph@codesourcery.com>
31810
31811 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31812 file.
31813 [UNIX98] (sem_timedwait): Do not expect.
31814 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31815 [XPG4 || UNIX98] (sockatmark): Do not expect.
31816 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31817 (clock_getcpuclockid): Do not expect.
31818 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31819 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31820 Do not expect.
31821 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31822 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31823 [UNIX98] (vwscanf): Likewise.
31824 [UNIX98] (vswscanf): Likewise.
31825
318262012-11-09 Joseph Myers <joseph@codesourcery.com>
31827
31828 * timezone/version.h: Remove file.
31829 * timezone/README: Do not refer to version.h.
31830 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31831 $(objpfx)version.h.
31832 ($(objpfx)zdump.o): Likewise.
31833 ($(objpfx)version.h): New target.
31834
31835 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31836 2012i.
31837 * timezone/README: Don't mention modification to tzselect.ksh.
31838 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31839 work on unmodified tzselect.ksh. Substitute version numbers in
31840 tzselect.ksh.
31841
31842 * Makefile (format-me): Remove.
31843 (INSTALL): Adjust indentation. Use commands directly instead of
31844 using $(format-me).
31845
31846 * aclocal.m4 (ACX_PKGVERSION): New macro.
31847 (ACX_BUGURL): Likewise.
31848 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31849 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31850 (REPORT_BUGS_TO): Likewise.
31851 * configure: Regenerated.
31852 * config.h.in (PKGVERSION): New macro.
31853 (REPORT_BUGS_TO): Likewise.
31854 * config.make.in (PKGVERSION): New variable.
31855 (PKGVERSION_TEXI): Likewise.
31856 (REPORT_BUGS_TO): Likewise.
31857 (REPORT_BUGS_TEXI): Likewise.
31858 * Makefile (format-me): Use -I$(common-objpfx)manual.
31859 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31860 ($(common-objpfx)manual/%): New target.
31861 (manual/%): Remove target.
31862 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31863 (print_version): Use PKGVERSION.
31864 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31865 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31866 and REPORT_BUGS_TO.
31867 ($(objpfx)xtrace): Likewise.
31868 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31869 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31870 (print_version): Use PKGVERSION.
31871 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31872 (do_version): Use PKGVERSION.
31873 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31874 REPORT_BUGS_TO.
31875 (common-ldd-rewrite): Likewise.
31876 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31877 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31878 (print_version): Use PKGVERSION.
31879 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31880 * elf/pldd.c (argp_program_bug_address): Remove variable.
31881 (more_help): New function.
31882 (argp): Use more_help.
31883 (print_version): Use PKGVERSION.
31884 * elf/sln.c (main): Use PKGVERSION.
31885 (usage): Use REPORT_BUGS_TO.
31886 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31887 (top level): Use PKGVERSION.
31888 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31889 (print_version): Use PKGVERSION.
31890 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31891 (print_version): Use PKGVERSION.
31892 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31893 (print_version): Use PKGVERSION.
31894 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31895 (print_version): Use PKGVERSION.
31896 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31897 (print_version): Use PKGVERSION.
31898 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31899 (print_version): Use PKGVERSION.
31900 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31901 and BUGURL.
31902 ($(objpfx)memusage): Likewise.
31903 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31904 (do_version): Use PKGVERSION.
31905 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31906 (print_version): Use PKGVERSION.
31907 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31908 ($PKGVERSION): New variable.
31909 ($REPORT_BUGS_TO): Likewise.
31910 (usage): Use $REPORT_BUGS_TO.
31911 (top level): Use $PKGVERSION.
31912 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31913 ($(objpfx)pkgvers.texi): New rule.
31914 ($(objpfx)stamp-pkgvers): Likewise.
31915 * manual/install.texi: Include pkgvers.texi.
31916 (--with-pkgversion): Document new configure option.
31917 (--with-bugurl): Likewise.
31918 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31919 than necessarily for this particular distribution. Use
31920 REPORT_BUGS_TO for where to report bugs.
31921 * INSTALL: Regenerated.
31922 * manual/libc.texinfo: Include pkgvers.texi.
31923 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31924 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31925 (print_version): Use PKGVERSION.
31926 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31927 (print_version): Use PKGVERSION.
31928 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31929 (print_version): Use PKGVERSION.
31930 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31931 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31932 macro.
31933 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31934 (print_version): Use PKGVERSION.
31935 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31936 (print_version): Use PKGVERSION.
31937 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31938 and PKGVERSION.
31939
31940 * timezone/checktab.awk: Update from tzcode 2012i.
31941 * timezone/ialloc.c: Likewise.
31942 * timezone/private.h: Likewise.
31943 * timezone/scheck.c: Likewise.
31944 * timezone/tzfile.h: Likewise.
31945 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31946 (TZVERSION): Hardcode tzcode version number.
31947 * timezone/zdump.c: Update from tzcode 2012i.
31948 * timezone/zic.c: Likewise.
31949 * timezone/version.h: New file.
31950 * timezone/README: Describe version.h. Update upstream location.
31951
31952 [BZ #14824]
31953 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31954 (mktemp): Enable declaration.
31955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31959 Likewise.
31960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31961 Likewise.
31962 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31963 Likewise.
31964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31965 Likewise.
31966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31967 Likewise.
31968 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31969 Likewise.
31970
31971 [BZ #14821]
31972 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31973 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31974 for copies of such integer values.
31975 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31976 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31977
319782012-11-09 Andreas Jaeger <aj@suse.de>
31979
31980 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31981 definitions and declarations that are provided by
31982 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31983
319842012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31985
31986 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31987 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31988 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31989 definition.
31990
319912012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31992
31993 * elf/elf.h: Update comment before AArch64 relocations.
31994
319952012-11-07 David S. Miller <davem@davemloft.net>
31996
31997 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31998 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31999 (__start_context): Declare.
32000 (__makecontext_ret): Delete.
32001 (__makecontext): Hook up __start_context instead of
32002 __makecontext_ret.
32003 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32004 (sysdep_routines): Add __start_context when in stdlib.
32005
320062012-11-07 Joseph Myers <joseph@codesourcery.com>
32007
32008 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32009 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32010 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32011 hardcoded "nm".
32012 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32013 (READELF): New variable. Use it instead of hardcoded "readelf".
32014
320152012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32016
32017 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32018 * sysdeps/x86/Makefile: Here.
32019 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32020 * sysdeps/x86/tst-xmmymm.sh: This.
32021
320222012-11-07 Joseph Myers <joseph@codesourcery.com>
32023
32024 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32025 expectations.
32026 [UNIX98] (pthread_barrier_t): Do not expect.
32027 [UNIX98] (pthread_barrierattr_t): Likewise.
32028 [UNIX98] (pthread_spinlock_t): Likewise.
32029 [UNIX98] (pthread_barrier_destroy): Likewise.
32030 [UNIX98] (pthread_barrier_init): Likewise.
32031 [UNIX98] (pthread_barrier_wait): Likewise.
32032 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32033 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32034 [UNIX98] (pthread_barrierattr_init): Likewise.
32035 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32036 [UNIX98] (pthread_getcpuclockid): Likewise.
32037 [UNIX98] (pthread_mutex_timedlock): Likewise.
32038 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32039 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32040 [UNIX98] (pthread_sigmask): Likewise.
32041 [UNIX98] (pthread_spin_destroy): Likewise.
32042 [UNIX98] (pthread_spin_init): Likewise.
32043 [UNIX98] (pthread_spin_lock): Likewise.
32044 [UNIX98] (pthread_spin_trylock): Likewise.
32045 [UNIX98] (pthread_spin_unlock): Likewise.
32046 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32047 Do not expect.
32048 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32049 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32050 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32051 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32052 [XPG3 || XPG4] (pthread_key_t): Likewise.
32053 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32054 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32055 [XPG3 || XPG4] (pthread_once_t): Likewise.
32056 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32057 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32058 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32059 [XPG3 || XPG4] (pthread_t): Likewise.
32060
32061 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32062 not expect.
32063 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32064
32065 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32066 Change function return type to int.
32067
32068 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32069 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32070 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32071 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32072 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32073 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32074 [!POSIX] (posix_madvise): Likewise.
32075 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32076 && !UNIX98].
32077 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32078 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32079 (mode_t): Likewise.
32080 (posix_mem_offset): Likewise.
32081 (posix_typed_mem_get_info): Likewise.
32082 (posix_typed_mem_open): Likewise.
32083
32084 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32085 Change condition to [XOPEN2K8].
32086
32087 * conform/conformtest.pl: Preprocess allow-header data with -x c
32088 instead of from stdin.
32089 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32090 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32091 [C99-based standards] (cerfc): Likewise.
32092 [C99-based standards] (cexp2): Likewise.
32093 [C99-based standards] (cexpm1): Likewise.
32094 [C99-based standards] (clog10): Likewise.
32095 [C99-based standards] (clog1p): Likewise.
32096 [C99-based standards] (clog2): Likewise.
32097 [C99-based standards] (clgamma): Likewise.
32098 [C99-based standards] (ctgamma): Likewise.
32099 [C99-based standards] (cerff): Likewise.
32100 [C99-based standards] (cerfcf): Likewise.
32101 [C99-based standards] (cexp2f): Likewise.
32102 [C99-based standards] (cexpm1f): Likewise.
32103 [C99-based standards] (clog10f): Likewise.
32104 [C99-based standards] (clog1pf): Likewise.
32105 [C99-based standards] (clog2f): Likewise.
32106 [C99-based standards] (clgammaf): Likewise.
32107 [C99-based standards] (ctgammaf): Likewise.
32108 [C99-based standards] (cerfl): Likewise.
32109 [C99-based standards] (cerfcl): Likewise.
32110 [C99-based standards] (cexp2l): Likewise.
32111 [C99-based standards] (cexpm1l): Likewise.
32112 [C99-based standards] (clog10l): Likewise.
32113 [C99-based standards] (clog1pl): Likewise.
32114 [C99-based standards] (clog2l): Likewise.
32115 [C99-based standards] (clgammal): Likewise.
32116 [C99-based standards] (ctgammal): Likewise.
32117 * conform/data/inttypes.h-data [C99-based standards]: Include
32118 stdint.h-data. Remove all expectations for stdint.h contents.
32119 [C99-based standards] (PRI*): Do not allow.
32120 [C99-based standards] (SCN*): Likewise.
32121 [C99-based standards] (*_t): Likewise.
32122 [C99-based-standards] (PRId8): Expect macro.
32123 [C99-based-standards] (PRIi8): Likewise.
32124 [C99-based-standards] (PRIo8): Likewise.
32125 [C99-based-standards] (PRIu8): Likewise.
32126 [C99-based-standards] (PRIx8): Likewise.
32127 [C99-based-standards] (PRIX8): Likewise.
32128 [C99-based-standards] (SCNd8): Likewise.
32129 [C99-based-standards] (SCNi8): Likewise.
32130 [C99-based-standards] (SCNo8): Likewise.
32131 [C99-based-standards] (SCNu8): Likewise.
32132 [C99-based-standards] (SCNx8): Likewise.
32133 [C99-based-standards] (PRIdLEAST8): Likewise.
32134 [C99-based-standards] (PRIiLEAST8): Likewise.
32135 [C99-based-standards] (PRIoLEAST8): Likewise.
32136 [C99-based-standards] (PRIuLEAST8): Likewise.
32137 [C99-based-standards] (PRIxLEAST8): Likewise.
32138 [C99-based-standards] (PRIXLEAST8): Likewise.
32139 [C99-based-standards] (SCNdLEAST8): Likewise.
32140 [C99-based-standards] (SCNiLEAST8): Likewise.
32141 [C99-based-standards] (SCNoLEAST8): Likewise.
32142 [C99-based-standards] (SCNuLEAST8): Likewise.
32143 [C99-based-standards] (SCNxLEAST8): Likewise.
32144 [C99-based-standards] (PRIdFAST8): Likewise.
32145 [C99-based-standards] (PRIiFAST8): Likewise.
32146 [C99-based-standards] (PRIoFAST8): Likewise.
32147 [C99-based-standards] (PRIuFAST8): Likewise.
32148 [C99-based-standards] (PRIxFAST8): Likewise.
32149 [C99-based-standards] (PRIXFAST8): Likewise.
32150 [C99-based-standards] (SCNdFAST8): Likewise.
32151 [C99-based-standards] (SCNiFAST8): Likewise.
32152 [C99-based-standards] (SCNoFAST8): Likewise.
32153 [C99-based-standards] (SCNuFAST8): Likewise.
32154 [C99-based-standards] (SCNxFAST8): Likewise.
32155 [C99-based-standards] (PRId16): Likewise.
32156 [C99-based-standards] (PRIi16): Likewise.
32157 [C99-based-standards] (PRIo16): Likewise.
32158 [C99-based-standards] (PRIu16): Likewise.
32159 [C99-based-standards] (PRIx16): Likewise.
32160 [C99-based-standards] (PRIX16): Likewise.
32161 [C99-based-standards] (SCNd16): Likewise.
32162 [C99-based-standards] (SCNi16): Likewise.
32163 [C99-based-standards] (SCNo16): Likewise.
32164 [C99-based-standards] (SCNu16): Likewise.
32165 [C99-based-standards] (SCNx16): Likewise.
32166 [C99-based-standards] (PRIdLEAST16): Likewise.
32167 [C99-based-standards] (PRIiLEAST16): Likewise.
32168 [C99-based-standards] (PRIoLEAST16): Likewise.
32169 [C99-based-standards] (PRIuLEAST16): Likewise.
32170 [C99-based-standards] (PRIxLEAST16): Likewise.
32171 [C99-based-standards] (PRIXLEAST16): Likewise.
32172 [C99-based-standards] (SCNdLEAST16): Likewise.
32173 [C99-based-standards] (SCNiLEAST16): Likewise.
32174 [C99-based-standards] (SCNoLEAST16): Likewise.
32175 [C99-based-standards] (SCNuLEAST16): Likewise.
32176 [C99-based-standards] (SCNxLEAST16): Likewise.
32177 [C99-based-standards] (PRIdFAST16): Likewise.
32178 [C99-based-standards] (PRIiFAST16): Likewise.
32179 [C99-based-standards] (PRIoFAST16): Likewise.
32180 [C99-based-standards] (PRIuFAST16): Likewise.
32181 [C99-based-standards] (PRIxFAST16): Likewise.
32182 [C99-based-standards] (PRIXFAST16): Likewise.
32183 [C99-based-standards] (SCNdFAST16): Likewise.
32184 [C99-based-standards] (SCNiFAST16): Likewise.
32185 [C99-based-standards] (SCNoFAST16): Likewise.
32186 [C99-based-standards] (SCNuFAST16): Likewise.
32187 [C99-based-standards] (SCNxFAST16): Likewise.
32188 [C99-based-standards] (PRId32): Likewise.
32189 [C99-based-standards] (PRIi32): Likewise.
32190 [C99-based-standards] (PRIo32): Likewise.
32191 [C99-based-standards] (PRIu32): Likewise.
32192 [C99-based-standards] (PRIx32): Likewise.
32193 [C99-based-standards] (PRIX32): Likewise.
32194 [C99-based-standards] (SCNd32): Likewise.
32195 [C99-based-standards] (SCNi32): Likewise.
32196 [C99-based-standards] (SCNo32): Likewise.
32197 [C99-based-standards] (SCNu32): Likewise.
32198 [C99-based-standards] (SCNx32): Likewise.
32199 [C99-based-standards] (PRIdLEAST32): Likewise.
32200 [C99-based-standards] (PRIiLEAST32): Likewise.
32201 [C99-based-standards] (PRIoLEAST32): Likewise.
32202 [C99-based-standards] (PRIuLEAST32): Likewise.
32203 [C99-based-standards] (PRIxLEAST32): Likewise.
32204 [C99-based-standards] (PRIXLEAST32): Likewise.
32205 [C99-based-standards] (SCNdLEAST32): Likewise.
32206 [C99-based-standards] (SCNiLEAST32): Likewise.
32207 [C99-based-standards] (SCNoLEAST32): Likewise.
32208 [C99-based-standards] (SCNuLEAST32): Likewise.
32209 [C99-based-standards] (SCNxLEAST32): Likewise.
32210 [C99-based-standards] (PRIdFAST32): Likewise.
32211 [C99-based-standards] (PRIiFAST32): Likewise.
32212 [C99-based-standards] (PRIoFAST32): Likewise.
32213 [C99-based-standards] (PRIuFAST32): Likewise.
32214 [C99-based-standards] (PRIxFAST32): Likewise.
32215 [C99-based-standards] (PRIXFAST32): Likewise.
32216 [C99-based-standards] (SCNdFAST32): Likewise.
32217 [C99-based-standards] (SCNiFAST32): Likewise.
32218 [C99-based-standards] (SCNoFAST32): Likewise.
32219 [C99-based-standards] (SCNuFAST32): Likewise.
32220 [C99-based-standards] (SCNxFAST32): Likewise.
32221 [C99-based-standards] (PRId64): Likewise.
32222 [C99-based-standards] (PRIi64): Likewise.
32223 [C99-based-standards] (PRIo64): Likewise.
32224 [C99-based-standards] (PRIu64): Likewise.
32225 [C99-based-standards] (PRIx64): Likewise.
32226 [C99-based-standards] (PRIX64): Likewise.
32227 [C99-based-standards] (SCNd64): Likewise.
32228 [C99-based-standards] (SCNi64): Likewise.
32229 [C99-based-standards] (SCNo64): Likewise.
32230 [C99-based-standards] (SCNu64): Likewise.
32231 [C99-based-standards] (SCNx64): Likewise.
32232 [C99-based-standards] (PRIdLEAST64): Likewise.
32233 [C99-based-standards] (PRIiLEAST64): Likewise.
32234 [C99-based-standards] (PRIoLEAST64): Likewise.
32235 [C99-based-standards] (PRIuLEAST64): Likewise.
32236 [C99-based-standards] (PRIxLEAST64): Likewise.
32237 [C99-based-standards] (PRIXLEAST64): Likewise.
32238 [C99-based-standards] (SCNdLEAST64): Likewise.
32239 [C99-based-standards] (SCNiLEAST64): Likewise.
32240 [C99-based-standards] (SCNoLEAST64): Likewise.
32241 [C99-based-standards] (SCNuLEAST64): Likewise.
32242 [C99-based-standards] (SCNxLEAST64): Likewise.
32243 [C99-based-standards] (PRIdFAST64): Likewise.
32244 [C99-based-standards] (PRIiFAST64): Likewise.
32245 [C99-based-standards] (PRIoFAST64): Likewise.
32246 [C99-based-standards] (PRIuFAST64): Likewise.
32247 [C99-based-standards] (PRIxFAST64): Likewise.
32248 [C99-based-standards] (PRIXFAST64): Likewise.
32249 [C99-based-standards] (SCNdFAST64): Likewise.
32250 [C99-based-standards] (SCNiFAST64): Likewise.
32251 [C99-based-standards] (SCNoFAST64): Likewise.
32252 [C99-based-standards] (SCNuFAST64): Likewise.
32253 [C99-based-standards] (SCNxFAST64): Likewise.
32254 [C99-based-standards] (PRIdMAX): Likewise.
32255 [C99-based-standards] (PRIiMAX): Likewise.
32256 [C99-based-standards] (PRIoMAX): Likewise.
32257 [C99-based-standards] (PRIuMAX): Likewise.
32258 [C99-based-standards] (PRIxMAX): Likewise.
32259 [C99-based-standards] (PRIXMAX): Likewise.
32260 [C99-based-standards] (SCNdMAX): Likewise.
32261 [C99-based-standards] (SCNiMAX): Likewise.
32262 [C99-based-standards] (SCNoMAX): Likewise.
32263 [C99-based-standards] (SCNuMAX): Likewise.
32264 [C99-based-standards] (SCNxMAX): Likewise.
32265 [C99-based-standards] (PRIdPTR): Likewise.
32266 [C99-based-standards] (PRIiPTR): Likewise.
32267 [C99-based-standards] (PRIoPTR): Likewise.
32268 [C99-based-standards] (PRIuPTR): Likewise.
32269 [C99-based-standards] (PRIxPTR): Likewise.
32270 [C99-based-standards] (PRIXPTR): Likewise.
32271 [C99-based-standards] (SCNdPTR): Likewise.
32272 [C99-based-standards] (SCNiPTR): Likewise.
32273 [C99-based-standards] (SCNoPTR): Likewise.
32274 [C99-based-standards] (SCNuPTR): Likewise.
32275 [C99-based-standards] (SCNxPTR): Likewise.
32276 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32277 allow.
32278 * conform/data/stdint.h-data: Update comments to clarify
32279 requirements.
32280 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32281 type.
32282 [C99-based standards] (INT8_MAX): Likewise.
32283 [C99-based standards] (INT16_MIN): Likewise.
32284 [C99-based standards] (INT16_MAX): Likewise.
32285 [C99-based standards] (INT32_MIN): Likewise.
32286 [C99-based standards] (INT32_MAX): Likewise.
32287 [C99-based standards] (INT64_MIN): Likewise.
32288 [C99-based standards] (INT64_MAX): Likewise.
32289 [C99-based standards] (UINT8_MAX): Likewise.
32290 [C99-based standards] (UINT16_MAX): Likewise.
32291 [C99-based standards] (UINT32_MAX): Likewise.
32292 [C99-based standards] (UINT64_MAX): Likewise.
32293 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32294 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32295 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32296 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32297 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32298 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32299 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32300 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32301 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32302 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32303 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32304 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32305 [C99-based standards] (INT_FAST8_MIN): Likewise.
32306 [C99-based standards] (INT_FAST8_MAX): Likewise.
32307 [C99-based standards] (INT_FAST16_MIN): Likewise.
32308 [C99-based standards] (INT_FAST16_MAX): Likewise.
32309 [C99-based standards] (INT_FAST32_MIN): Likewise.
32310 [C99-based standards] (INT_FAST32_MAX): Likewise.
32311 [C99-based standards] (INT_FAST64_MIN): Likewise.
32312 [C99-based standards] (INT_FAST64_MAX): Likewise.
32313 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32314 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32315 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32316 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32317 [C99-based standards] (INTPTR_MIN): Likewise.
32318 [C99-based standards] (INTPTR_MAX): Likewise.
32319 [C99-based standards] (UINTPTR_MAX): Likewise.
32320 [C99-based standards] (INTMAX_MIN): Likewise.
32321 [C99-based standards] (INTMAX_MAX): Likewise.
32322 [C99-based standards] (UINTMAX_MAX): Likewise.
32323 [C99-based standards] (PTRDIFF_MIN): Likewise.
32324 [C99-based standards] (PTRDIFF_MAX): Likewise.
32325 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32326 [C99-based standards] (SIZE_MAX): Likewise.
32327 [C99-based standards] (WCHAR_MAX): Likewise.
32328 [C99-based standards] (WINT_MAX): Likewise.
32329 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32330 constraint on value.
32331 [C99-based standards] (WCHAR_MIN): Likewise.
32332 [C99-based standards] (WINT_MIN): Likewise.
32333 [C99-based standards] (*_t): Allow.
32334 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32335 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32336 Include math.h-data and complex.h-data. Remove all expectations
32337 of math.h and complex.h contents.
32338 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32339 at end of line.
32340 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32341 (struct tm): Expect tag.
32342 [C99-based-standards] (wcstof): Expect function.
32343 [C99-based-standards] (wcstold): Likewise.
32344 [C99-based-standards] (wcstoll): Likewise.
32345 [C99-based-standards] (wcstoull): Likewise.
32346 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32347 macro-int-constant. Specify type.
32348 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32349 constraint on value.
32350 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32351 Specify type.
32352 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32353 Specify value.
32354 [ISO C standards]: Do not allow headers.
32355 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32356 wcs[abcdefghijklmnopqrstuvwxyz]*.
32357 [ISO C standards] (*_t): Do not allow.
32358 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32359 Expect function.
32360 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32361 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32362 Specify type.
32363 [ISO C standards]: Do not allow headers.
32364 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32365 is[abcdefghijklmnopqrstuvwxyz]*.
32366 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32367 to[abcdefghijklmnopqrstuvwxyz]*.
32368 [ISO C standards] (*_t): Do not allow.
32369 * conform/data/stdalign.h-data: New file.
32370 * conform/data/stdbool.h-data: Likewise.
32371 * conform/data/stdnoreturn.h-data: Likewise.
32372
323732012-11-07 Roland McGrath <roland@hack.frob.com>
32374
32375 [BZ #14815]
32376 * manual/filesys.texi (Directory Entries): Typo fix.
32377 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32378
323792012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32380
32381 * elf/elf.h (EM_AARCH64): New macro.
32382 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32383 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32384 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32385 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32386 (R_AARCH64_TLSDESC): Likewise.
32387 (NT_ARM_TLS): Likewise.
32388 (NT_ARM_HW_BREAK): Likewise.
32389 (NT_ARM_HW_WATCH): Likewise.
32390
323912012-11-07 Joseph Myers <joseph@codesourcery.com>
32392
32393 [BZ #14811]
32394 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32395 (__ieee754_powl): Saturate nonzero exponents with absolute value
32396 below 0x1p-79 to +/- 0x1p-79.
32397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32398 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32399 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32400 nonzero exponents with absolute value below 0x1p-32 to +/-
32401 0x1p-32.
32402 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32403 (__ieee754_powl): Saturate nonzero exponents with absolute value
32404 below 0x1p-79 to +/- 0x1p-79.
32405 * math/libm-test.inc (pow_test): Add more tests.
32406
324072012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32408
32409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32410 _dl_s390_cap_flags with kernel. Increase string length.
32411 (_dl_s390_platforms): Add z196 and zEC12.
32412
324132012-11-07 Joseph Myers <joseph@codesourcery.com>
32414
32415 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32416 Change XOPEN21K to XOPEN2K.
32417
324182012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32419
32420 * string/memmove.c: Use memcpy when possible.
32421
324222012-11-06 Andreas Jaeger <aj@suse.de>
32423
32424 * po/eo.po: Update from translation team.
32425
324262012-11-06 Joseph Myers <joseph@codesourcery.com>
32427
32428 [BZ #14793]
32429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32430 exponent and small x and y exponents, scale x or y up. Increase
32431 by 2 the exponent used in scaling up.
32432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32433 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32434 * math/libm-test.inc (fma_test): Add more tests.
32435 (fma_test_towardzero): Likewise.
32436 (fma_test_downward): Likewise.
32437 (fma_test_upward): Likewise.
32438
324392012-11-05 Joseph Myers <joseph@codesourcery.com>
32440
32441 [BZ #14805]
32442 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32443 fenv_t *.
32444
32445 [BZ #14801]
32446 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32447 namespace for names of struct fields.
32448 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32449 fenv_t fields.
32450 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32451 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32452
324532012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32454
32455 [BZ #3665]
32456 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32457
324582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32459
32460 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32461 PTR_DEMANGLE.
32462
32463 [BZ #5246]
32464 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32465 PTR_DEMANGLE.
32466
324672012-11-04 Joseph Myers <joseph@codesourcery.com>
32468
32469 [BZ #14797]
32470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32471 definitely overflow as x * y not x * y + z.
32472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32474 * math/libm-test.inc (fma_test): Add more tests.
32475 (fma_test_towardzero): Likewise.
32476 (fma_test_downward): Likewise.
32477 (fma_test_upward): Likewise.
32478
324792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32480
32481 [BZ #157]
32482
32483 * include/stub-tag.h: Remove file.
32484 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32485 '#include' of it.
32486 * manual/maint.texi (Porting): Don't reference it.
32487 * Makerules ($(objpfx)stubs): Likewise.
32488 * dirent/closedir.c: Don't include <stub-tag.h>.
32489 * dirent/dirfd.c: Likewise.
32490 * dirent/fdopendir.c: Likewise.
32491 * dirent/getdents.c: Likewise.
32492 * dirent/getdents64.c: Likewise.
32493 * dirent/opendir.c: Likewise.
32494 * dirent/readdir.c: Likewise.
32495 * dirent/readdir64.c: Likewise.
32496 * dirent/readdir64_r.c: Likewise.
32497 * dirent/readdir_r.c: Likewise.
32498 * dirent/rewinddir.c: Likewise.
32499 * dirent/seekdir.c: Likewise.
32500 * dirent/telldir.c: Likewise.
32501 * gmon/profil.c: Likewise.
32502 * grp/setgroups.c: Likewise.
32503 * inet/if_index.c: Likewise.
32504 * io/access.c: Likewise.
32505 * io/chdir.c: Likewise.
32506 * io/chmod.c: Likewise.
32507 * io/chown.c: Likewise.
32508 * io/close.c: Likewise.
32509 * io/dup.c: Likewise.
32510 * io/dup2.c: Likewise.
32511 * io/dup3.c: Likewise.
32512 * io/euidaccess.c: Likewise.
32513 * io/faccessat.c: Likewise.
32514 * io/fchdir.c: Likewise.
32515 * io/fchmod.c: Likewise.
32516 * io/fchmodat.c: Likewise.
32517 * io/fchown.c: Likewise.
32518 * io/fchownat.c: Likewise.
32519 * io/fcntl.c: Likewise.
32520 * io/flock.c: Likewise.
32521 * io/fstatfs.c: Likewise.
32522 * io/fstatfs64.c: Likewise.
32523 * io/fstatvfs.c: Likewise.
32524 * io/fstatvfs64.c: Likewise.
32525 * io/futimens.c: Likewise.
32526 * io/fxstat.c: Likewise.
32527 * io/fxstat64.c: Likewise.
32528 * io/fxstatat.c: Likewise.
32529 * io/fxstatat64.c: Likewise.
32530 * io/getcwd.c: Likewise.
32531 * io/isatty.c: Likewise.
32532 * io/lchmod.c: Likewise.
32533 * io/lchown.c: Likewise.
32534 * io/link.c: Likewise.
32535 * io/linkat.c: Likewise.
32536 * io/lseek.c: Likewise.
32537 * io/lseek64.c: Likewise.
32538 * io/lxstat64.c: Likewise.
32539 * io/mkdir.c: Likewise.
32540 * io/mkdirat.c: Likewise.
32541 * io/mkfifo.c: Likewise.
32542 * io/mkfifoat.c: Likewise.
32543 * io/open.c: Likewise.
32544 * io/open64.c: Likewise.
32545 * io/openat.c: Likewise.
32546 * io/openat64.c: Likewise.
32547 * io/pipe.c: Likewise.
32548 * io/pipe2.c: Likewise.
32549 * io/poll.c: Likewise.
32550 * io/posix_fadvise.c: Likewise.
32551 * io/posix_fadvise64.c: Likewise.
32552 * io/posix_fallocate.c: Likewise.
32553 * io/posix_fallocate64.c: Likewise.
32554 * io/read.c: Likewise.
32555 * io/readlink.c: Likewise.
32556 * io/readlinkat.c: Likewise.
32557 * io/rmdir.c: Likewise.
32558 * io/sendfile.c: Likewise.
32559 * io/sendfile64.c: Likewise.
32560 * io/statfs.c: Likewise.
32561 * io/statfs64.c: Likewise.
32562 * io/statvfs.c: Likewise.
32563 * io/statvfs64.c: Likewise.
32564 * io/symlink.c: Likewise.
32565 * io/symlinkat.c: Likewise.
32566 * io/ttyname.c: Likewise.
32567 * io/ttyname_r.c: Likewise.
32568 * io/umask.c: Likewise.
32569 * io/unlink.c: Likewise.
32570 * io/unlinkat.c: Likewise.
32571 * io/utime.c: Likewise.
32572 * io/utimensat.c: Likewise.
32573 * io/write.c: Likewise.
32574 * io/xmknod.c: Likewise.
32575 * io/xmknodat.c: Likewise.
32576 * io/xstat.c: Likewise.
32577 * io/xstat64.c: Likewise.
32578 * login/getpt.c: Likewise.
32579 * login/grantpt.c: Likewise.
32580 * login/unlockpt.c: Likewise.
32581 * math/e_acoshl.c: Likewise.
32582 * math/e_acosl.c: Likewise.
32583 * math/e_asinl.c: Likewise.
32584 * math/e_atan2l.c: Likewise.
32585 * math/e_atanhl.c: Likewise.
32586 * math/e_coshl.c: Likewise.
32587 * math/e_expl.c: Likewise.
32588 * math/e_fmodl.c: Likewise.
32589 * math/e_gammal_r.c: Likewise.
32590 * math/e_hypotl.c: Likewise.
32591 * math/e_j0l.c: Likewise.
32592 * math/e_j1l.c: Likewise.
32593 * math/e_jnl.c: Likewise.
32594 * math/e_lgammal_r.c: Likewise.
32595 * math/e_log10l.c: Likewise.
32596 * math/e_log2l.c: Likewise.
32597 * math/e_logl.c: Likewise.
32598 * math/e_powl.c: Likewise.
32599 * math/e_rem_pio2l.c: Likewise.
32600 * math/e_sinhl.c: Likewise.
32601 * math/e_sqrtl.c: Likewise.
32602 * math/fclrexcpt.c: Likewise.
32603 * math/fedisblxcpt.c: Likewise.
32604 * math/feenablxcpt.c: Likewise.
32605 * math/fegetenv.c: Likewise.
32606 * math/fegetexcept.c: Likewise.
32607 * math/fegetround.c: Likewise.
32608 * math/feholdexcpt.c: Likewise.
32609 * math/fesetenv.c: Likewise.
32610 * math/fesetround.c: Likewise.
32611 * math/feupdateenv.c: Likewise.
32612 * math/fgetexcptflg.c: Likewise.
32613 * math/fraiseexcpt.c: Likewise.
32614 * math/fsetexcptflg.c: Likewise.
32615 * math/ftestexcept.c: Likewise.
32616 * math/k_cosl.c: Likewise.
32617 * math/k_rem_pio2l.c: Likewise.
32618 * math/k_sinl.c: Likewise.
32619 * math/k_tanl.c: Likewise.
32620 * math/s_asinhl.c: Likewise.
32621 * math/s_atanl.c: Likewise.
32622 * math/s_cbrtl.c: Likewise.
32623 * math/s_erfl.c: Likewise.
32624 * math/s_expm1l.c: Likewise.
32625 * math/s_log1pl.c: Likewise.
32626 * math/s_tanhl.c: Likewise.
32627 * misc/acct.c: Likewise.
32628 * misc/brk.c: Likewise.
32629 * misc/chflags.c: Likewise.
32630 * misc/chroot.c: Likewise.
32631 * misc/fchflags.c: Likewise.
32632 * misc/fgetxattr.c: Likewise.
32633 * misc/flistxattr.c: Likewise.
32634 * misc/fremovexattr.c: Likewise.
32635 * misc/fsetxattr.c: Likewise.
32636 * misc/fsync.c: Likewise.
32637 * misc/ftruncate.c: Likewise.
32638 * misc/futimes.c: Likewise.
32639 * misc/futimesat.c: Likewise.
32640 * misc/getdomain.c: Likewise.
32641 * misc/getdtsz.c: Likewise.
32642 * misc/gethostid.c: Likewise.
32643 * misc/gethostname.c: Likewise.
32644 * misc/getloadavg.c: Likewise.
32645 * misc/getpagesize.c: Likewise.
32646 * misc/getsysstats.c: Likewise.
32647 * misc/getxattr.c: Likewise.
32648 * misc/gtty.c: Likewise.
32649 * misc/ioctl.c: Likewise.
32650 * misc/lgetxattr.c: Likewise.
32651 * misc/listxattr.c: Likewise.
32652 * misc/llistxattr.c: Likewise.
32653 * misc/lremovexattr.c: Likewise.
32654 * misc/lsetxattr.c: Likewise.
32655 * misc/lutimes.c: Likewise.
32656 * misc/madvise.c: Likewise.
32657 * misc/mincore.c: Likewise.
32658 * misc/mlock.c: Likewise.
32659 * misc/mlockall.c: Likewise.
32660 * misc/mmap.c: Likewise.
32661 * misc/mprotect.c: Likewise.
32662 * misc/msync.c: Likewise.
32663 * misc/munlock.c: Likewise.
32664 * misc/munlockall.c: Likewise.
32665 * misc/munmap.c: Likewise.
32666 * misc/preadv.c: Likewise.
32667 * misc/preadv64.c: Likewise.
32668 * misc/ptrace.c: Likewise.
32669 * misc/pwritev.c: Likewise.
32670 * misc/pwritev64.c: Likewise.
32671 * misc/readv.c: Likewise.
32672 * misc/reboot.c: Likewise.
32673 * misc/remap_file_pages.c: Likewise.
32674 * misc/removexattr.c: Likewise.
32675 * misc/revoke.c: Likewise.
32676 * misc/select.c: Likewise.
32677 * misc/setdomain.c: Likewise.
32678 * misc/setegid.c: Likewise.
32679 * misc/seteuid.c: Likewise.
32680 * misc/sethostid.c: Likewise.
32681 * misc/sethostname.c: Likewise.
32682 * misc/setregid.c: Likewise.
32683 * misc/setreuid.c: Likewise.
32684 * misc/setxattr.c: Likewise.
32685 * misc/sstk.c: Likewise.
32686 * misc/stty.c: Likewise.
32687 * misc/swapoff.c: Likewise.
32688 * misc/swapon.c: Likewise.
32689 * misc/sync.c: Likewise.
32690 * misc/syncfs.c: Likewise.
32691 * misc/syscall.c: Likewise.
32692 * misc/truncate.c: Likewise.
32693 * misc/ualarm.c: Likewise.
32694 * misc/usleep.c: Likewise.
32695 * misc/ustat.c: Likewise.
32696 * misc/utimes.c: Likewise.
32697 * misc/vhangup.c: Likewise.
32698 * misc/writev.c: Likewise.
32699 * posix/_exit.c: Likewise.
32700 * posix/alarm.c: Likewise.
32701 * posix/execve.c: Likewise.
32702 * posix/fexecve.c: Likewise.
32703 * posix/fork.c: Likewise.
32704 * posix/fpathconf.c: Likewise.
32705 * posix/getaddrinfo.c: Likewise.
32706 * posix/getegid.c: Likewise.
32707 * posix/geteuid.c: Likewise.
32708 * posix/getgid.c: Likewise.
32709 * posix/getgroups.c: Likewise.
32710 * posix/getlogin.c: Likewise.
32711 * posix/getlogin_r.c: Likewise.
32712 * posix/getpgid.c: Likewise.
32713 * posix/getpid.c: Likewise.
32714 * posix/getppid.c: Likewise.
32715 * posix/getresgid.c: Likewise.
32716 * posix/getresuid.c: Likewise.
32717 * posix/getsid.c: Likewise.
32718 * posix/getuid.c: Likewise.
32719 * posix/glob64.c: Likewise.
32720 * posix/nanosleep.c: Likewise.
32721 * posix/pathconf.c: Likewise.
32722 * posix/pause.c: Likewise.
32723 * posix/posix_madvise.c: Likewise.
32724 * posix/pread.c: Likewise.
32725 * posix/pread64.c: Likewise.
32726 * posix/pwrite.c: Likewise.
32727 * posix/pwrite64.c: Likewise.
32728 * posix/sched_getaffinity.c: Likewise.
32729 * posix/sched_getp.c: Likewise.
32730 * posix/sched_gets.c: Likewise.
32731 * posix/sched_primax.c: Likewise.
32732 * posix/sched_primin.c: Likewise.
32733 * posix/sched_rr_gi.c: Likewise.
32734 * posix/sched_setaffinity.c: Likewise.
32735 * posix/sched_setp.c: Likewise.
32736 * posix/sched_sets.c: Likewise.
32737 * posix/sched_yield.c: Likewise.
32738 * posix/setgid.c: Likewise.
32739 * posix/setlogin.c: Likewise.
32740 * posix/setpgid.c: Likewise.
32741 * posix/setresgid.c: Likewise.
32742 * posix/setresuid.c: Likewise.
32743 * posix/setsid.c: Likewise.
32744 * posix/setuid.c: Likewise.
32745 * posix/sleep.c: Likewise.
32746 * posix/spawni.c: Likewise.
32747 * posix/sysconf.c: Likewise.
32748 * posix/times.c: Likewise.
32749 * posix/wait.c: Likewise.
32750 * posix/wait3.c: Likewise.
32751 * posix/wait4.c: Likewise.
32752 * posix/waitpid.c: Likewise.
32753 * resolv/gai_sigqueue.c: Likewise.
32754 * resource/getpriority.c: Likewise.
32755 * resource/getrlimit.c: Likewise.
32756 * resource/getrusage.c: Likewise.
32757 * resource/nice.c: Likewise.
32758 * resource/setpriority.c: Likewise.
32759 * resource/setrlimit.c: Likewise.
32760 * resource/ulimit.c: Likewise.
32761 * rt/aio_cancel.c: Likewise.
32762 * rt/aio_fsync.c: Likewise.
32763 * rt/aio_read.c: Likewise.
32764 * rt/aio_sigqueue.c: Likewise.
32765 * rt/aio_suspend.c: Likewise.
32766 * rt/aio_write.c: Likewise.
32767 * rt/clock_getres.c: Likewise.
32768 * rt/clock_gettime.c: Likewise.
32769 * rt/clock_nanosleep.c: Likewise.
32770 * rt/clock_settime.c: Likewise.
32771 * rt/lio_listio.c: Likewise.
32772 * rt/mq_close.c: Likewise.
32773 * rt/mq_getattr.c: Likewise.
32774 * rt/mq_notify.c: Likewise.
32775 * rt/mq_open.c: Likewise.
32776 * rt/mq_receive.c: Likewise.
32777 * rt/mq_send.c: Likewise.
32778 * rt/mq_setattr.c: Likewise.
32779 * rt/mq_timedreceive.c: Likewise.
32780 * rt/mq_timedsend.c: Likewise.
32781 * rt/mq_unlink.c: Likewise.
32782 * rt/shm_open.c: Likewise.
32783 * rt/shm_unlink.c: Likewise.
32784 * rt/timer_create.c: Likewise.
32785 * rt/timer_delete.c: Likewise.
32786 * rt/timer_getoverr.c: Likewise.
32787 * rt/timer_gettime.c: Likewise.
32788 * rt/timer_settime.c: Likewise.
32789 * setjmp/__longjmp.c: Likewise.
32790 * setjmp/setjmp.c: Likewise.
32791 * signal/kill.c: Likewise.
32792 * signal/killpg.c: Likewise.
32793 * signal/raise.c: Likewise.
32794 * signal/sigaction.c: Likewise.
32795 * signal/sigaltstack.c: Likewise.
32796 * signal/sigblock.c: Likewise.
32797 * signal/sigignore.c: Likewise.
32798 * signal/sigintr.c: Likewise.
32799 * signal/signal.c: Likewise.
32800 * signal/sigpause.c: Likewise.
32801 * signal/sigpending.c: Likewise.
32802 * signal/sigqueue.c: Likewise.
32803 * signal/sigreturn.c: Likewise.
32804 * signal/sigset.c: Likewise.
32805 * signal/sigsetmask.c: Likewise.
32806 * signal/sigstack.c: Likewise.
32807 * signal/sigsuspend.c: Likewise.
32808 * signal/sigtimedwait.c: Likewise.
32809 * signal/sigvec.c: Likewise.
32810 * signal/sigwait.c: Likewise.
32811 * signal/sigwaitinfo.c: Likewise.
32812 * signal/sysv_signal.c: Likewise.
32813 * socket/accept.c: Likewise.
32814 * socket/accept4.c: Likewise.
32815 * socket/bind.c: Likewise.
32816 * socket/connect.c: Likewise.
32817 * socket/getpeername.c: Likewise.
32818 * socket/getsockname.c: Likewise.
32819 * socket/getsockopt.c: Likewise.
32820 * socket/isfdtype.c: Likewise.
32821 * socket/listen.c: Likewise.
32822 * socket/recv.c: Likewise.
32823 * socket/recvfrom.c: Likewise.
32824 * socket/recvmsg.c: Likewise.
32825 * socket/send.c: Likewise.
32826 * socket/sendmsg.c: Likewise.
32827 * socket/sendto.c: Likewise.
32828 * socket/setsockopt.c: Likewise.
32829 * socket/shutdown.c: Likewise.
32830 * socket/sockatmark.c: Likewise.
32831 * socket/socket.c: Likewise.
32832 * socket/socketpair.c: Likewise.
32833 * stdio-common/ctermid.c: Likewise.
32834 * stdio-common/cuserid.c: Likewise.
32835 * stdio-common/remove.c: Likewise.
32836 * stdio-common/rename.c: Likewise.
32837 * stdio-common/renameat.c: Likewise.
32838 * stdio-common/tempname.c: Likewise.
32839 * stdlib/getcontext.c: Likewise.
32840 * stdlib/makecontext.c: Likewise.
32841 * stdlib/setcontext.c: Likewise.
32842 * stdlib/swapcontext.c: Likewise.
32843 * stdlib/system.c: Likewise.
32844 * streams/fattach.c: Likewise.
32845 * streams/fdetach.c: Likewise.
32846 * streams/getmsg.c: Likewise.
32847 * streams/getpmsg.c: Likewise.
32848 * streams/putmsg.c: Likewise.
32849 * streams/putpmsg.c: Likewise.
32850 * sysdeps/unix/bsd/getpt.c: Likewise.
32851 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32852 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32853 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32855 Likewise.
32856 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32857 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32858 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32859 * sysvipc/msgctl.c: Likewise.
32860 * sysvipc/msgget.c: Likewise.
32861 * sysvipc/msgrcv.c: Likewise.
32862 * sysvipc/msgsnd.c: Likewise.
32863 * sysvipc/semctl.c: Likewise.
32864 * sysvipc/semget.c: Likewise.
32865 * sysvipc/semop.c: Likewise.
32866 * sysvipc/semtimedop.c: Likewise.
32867 * sysvipc/shmat.c: Likewise.
32868 * sysvipc/shmctl.c: Likewise.
32869 * sysvipc/shmdt.c: Likewise.
32870 * sysvipc/shmget.c: Likewise.
32871 * termios/tcdrain.c: Likewise.
32872 * termios/tcflow.c: Likewise.
32873 * termios/tcflush.c: Likewise.
32874 * termios/tcgetattr.c: Likewise.
32875 * termios/tcgetpgrp.c: Likewise.
32876 * termios/tcsendbrk.c: Likewise.
32877 * termios/tcsetattr.c: Likewise.
32878 * termios/tcsetpgrp.c: Likewise.
32879 * time/adjtime.c: Likewise.
32880 * time/clock.c: Likewise.
32881 * time/getitimer.c: Likewise.
32882 * time/gettimeofday.c: Likewise.
32883 * time/setitimer.c: Likewise.
32884 * time/settimeofday.c: Likewise.
32885 * time/stime.c: Likewise.
32886 * time/time.c: Likewise.
32887
328882012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32889
32890 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32891 /usr/old/bin.
32892
32893 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32894 instead of spaces.
32895 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32896
328972012-11-03 Joseph Myers <joseph@codesourcery.com>
32898
32899 [BZ #14796]
32900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32901 FE_TONEAREST before applying Dekker multiplication and Knuth
32902 addition. Clear inexact exceptions and check for exact zero
32903 results afterwards.
32904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32905 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32906 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32907 * math/libm-test.inc (fma_test): Add more tests.
32908 (fma_test_towardzero): Likewise.
32909 (fma_test_downward): Likewise.
32910 (fma_test_upward): Likewise.
32911 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32912 function.
32913 (libc_fesetround): New macro.
32914 (libc_fesetroundf): Likewise.
32915 (libc_fesetroundl): Likewise.
32916 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32917 function.
32918 (libc_fesetround_387): Likewise.
32919 (libc_fesetroundf): New macro.
32920 (libc_fesetround): Likewise.
32921 (libc_fesetroundl): Likewise.
32922 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32923 function.
32924 (libc_fesetroundf): New macro.
32925 (libc_fesetround): Likewise.
32926 (libc_fesetroundl): Likewise.
32927 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32928 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32929 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32930 libm_hidden_ver.
32931 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32932 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32933 libm_hidden_def.
32934 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32935 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32936 libm_hidden_ver.
32937 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32938 libm_hidden_def.
32939
32940 [BZ #3439]
32941 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32942 integer constant usable in #if and use that to give value to enum
32943 constant.
32944 (FE_DIVBYZERO): Likewise.
32945 (FE_UNDERFLOW): Likewise.
32946 (FE_OVERFLOW): Likewise.
32947 (FE_INVALID): Likewise.
32948 (FE_INVALID_SNAN): Likewise.
32949 (FE_INVALID_ISI): Likewise.
32950 (FE_INVALID_IDI): Likewise.
32951 (FE_INVALID_ZDZ): Likewise.
32952 (FE_INVALID_IMZ): Likewise.
32953 (FE_INVALID_COMPARE): Likewise.
32954 (FE_INVALID_SOFTWARE): Likewise.
32955 (FE_INVALID_SQRT): Likewise.
32956 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32957 (FE_TONEAREST): Likewise.
32958 (FE_TOWARDZERO): Likewise.
32959 (FE_UPWARD): Likewise.
32960 (FE_DOWNWARD): Likewise.
32961 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32962 (FE_DIVBYZERO): Likewise.
32963 (FE_OVERFLOW): Likewise.
32964 (FE_UNDERFLOW): Likewise.
32965 (FE_INEXACT): Likewise.
32966 (FE_TONEAREST): Likewise.
32967 (FE_DOWNWARD): Likewise.
32968 (FE_UPWARD): Likewise.
32969 (FE_TOWARDZERO): Likewise.
32970 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32971 (FE_UNDERFLOW): Likewise.
32972 (FE_OVERFLOW): Likewise.
32973 (FE_DIVBYZERO): Likewise.
32974 (FE_INVALID): Likewise.
32975 (FE_TONEAREST): Likewise.
32976 (FE_TOWARDZERO): Likewise.
32977 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32978 (FE_OVERFLOW): Likewise.
32979 (FE_UNDERFLOW): Likewise.
32980 (FE_DIVBYZERO): Likewise.
32981 (FE_INEXACT): Likewise.
32982 (FE_TONEAREST): Likewise.
32983 (FE_TOWARDZERO): Likewise.
32984 (FE_UPWARD): Likewise.
32985 (FE_DOWNWARD): Likewise.
32986 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32987 (FE_DIVBYZERO): Likewise.
32988 (FE_OVERFLOW): Likewise.
32989 (FE_UNDERFLOW): Likewise.
32990 (FE_INEXACT): Likewise.
32991 (FE_TONEAREST): Likewise.
32992 (FE_DOWNWARD): Likewise.
32993 (FE_UPWARD): Likewise.
32994 (FE_TOWARDZERO): Likewise.
32995
329962012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32997
32998 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32999
330002012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33001
33002 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33003 commands. Quote $PWD.
33004 (blacklist_exports): Don't use remove_newlines. Replace "declare
33005 -x" by "export".
33006 (remove_newlines): Remove.
33007
330082012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33009
33010 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33011 * stdlib/stdlib.h (atof): Moved to ...
33012 * include/bits/stdlib-float.h: Here. New file.
33013 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33014 * stdlib/bits/stdlib-float.h: New file.
33015 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33016 -mno-sse -mno-mmx.
33017 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33018 <xmmintrin.h>.
33019
330202012-11-02 Joseph Myers <joseph@codesourcery.com>
33021
33022 * conform/conformtest.pl (@headers): Add fenv.h.
33023 * conform/data/fenv.h-data: New file.
33024 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33025 include of <math/fenv.h>.
33026
33027 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33028 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33029 && !UNIX98]. Enables tests for XOPEN2K8.
33030 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33031 POSIX2008]: Likewise.
33032
33033 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33034 (struct rusage): Do not expect type or its members.
33035
33036 [BZ #3439]
33037 * math/math.h (FP_NAN): Define macro to integer constant usable in
33038 #if and use that to give value to enum constant.
33039 (FP_INFINITE): Likewise.
33040 (FP_ZERO): Likewise.
33041 (FP_SUBNORMAL): Likewise.
33042 (FP_NORMAL): Likewise.
33043
330442012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33045
33046 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33047 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33048 arguments.
33049
330502012-11-02 Roland McGrath <roland@hack.frob.com>
33051
33052 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33053 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33054 autoconf-time if not.
33055 * configure.in: Remove AC_PREREQ.
33056
330572012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33058
33059 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33060 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33061 of the internal implementation.
33062
330632012-11-02 Joseph Myers <joseph@codesourcery.com>
33064
33065 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33066 except include of <misc/sys/syslog.h>.
33067
330682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33069
33070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33071 function returns with a NULL context exit with zero.
33072
330732012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33074
33075 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33076
330772012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33078
33079 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33080 (run_program_cmd): This.
33081 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33082 (tst_langinfo): New variable. Use it.
33083
330842012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33085
33086 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33087 floating point opcodes.
33088
330892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33090
33091 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33092 variable.
33093
33094 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33095
33096 * sysdeps/mach/hurd/powerpc: Remove directory.
33097 * sysdeps/mach/powerpc: Likewise.
33098
330992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33100
33101 * scripts/check-local-headers.sh: Ignore c++ headers.
33102
331032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33104
33105 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33106 __libc_cleanup_region_start argument.
33107
331082012-11-01 Joseph Myers <joseph@codesourcery.com>
33109
33110 [BZ #14784]
33111 [BZ #14785]
33112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33113 x * y using scaling, not as x * y + z.
33114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33116 * math/libm-test.inc (fma_test): Add more tests.
33117 (fma_test_towardzero): Likewise.
33118 (fma_test_downward): Likewise.
33119 (fma_test_upward): Likewise.
33120
331212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33122
33123 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33124
331252012-10-31 Joseph Myers <joseph@codesourcery.com>
33126
33127 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33128 New variable.
33129
331302012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33131
33132 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33133
331342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33135
33136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33137 Fix sort order.
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33139 Likewise.
33140
331412012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33142
33143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33144 Fix the order of the list for glibc 2.17.
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33146 Likewise.
33147
331482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33149
33150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33151
331522012-10-31 Joseph Myers <joseph@codesourcery.com>
33153
33154 [BZ #14610]
33155 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33156 for low part of x being zero before using __atanl (y).
33157 * math/libm-test.inc (atan2_test): Add another test.
33158
33159 * manual/install.texi (Configuring and compiling): Document
33160 general use of test-wrapper and test-wrapper-env.
33161 * INSTALL: Regenerated.
33162
33163 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33164 (__fma): Do not extract and scale down low bits on after-rounding
33165 systems when result rounded to normal precision would have normal
33166 exponent.
33167 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33168 (__fmal): Do not extract and scale down low bits on after-rounding
33169 systems when result rounded to normal precision would have normal
33170 exponent.
33171 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33172 (__fmal): Do not extract and scale down low bits on after-rounding
33173 systems when result rounded to normal precision would have normal
33174 exponent.
33175 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33176 macro.
33177 (fma_test): Add more tests.
33178 (fma_test_towardzero): Likewise.
33179 (fma_test_downward): Likewise.
33180 (fma_test_upward): Likewise.
33181
331822012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 * sysdeps/i386/tininess.h: Renamed to ...
33185 * sysdeps/x86/tininess.h: This.
33186 * sysdeps/x86_64/tininess.h: Removed.
33187
331882012-10-30 Joseph Myers <joseph@codesourcery.com>
33189
33190 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33191 input. Use $(build-program-cmd).
33192 ($(objpfx)tst-array1-static.out): Likewise.
33193 ($(objpfx)tst-array2.out): Likewise.
33194 ($(objpfx)tst-array3.out): Likewise.
33195 ($(objpfx)tst-array4.out): Likewise.
33196 ($(objpfx)tst-array5.out): Likewise.
33197 ($(objpfx)tst-array5-static.out): Likewise.
33198
331992012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33200
33201 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33202 if defined.
33203
33204 * nss/nsswitch.h (nss_interface_function): Provide new
33205 macro for use with NSS functions.
33206 * grp/initgroups.c: Use new macro.
33207 * nss/getXXbyYY.c: Likewise.
33208 * nss/getXXbyYY_r.c: Likewise.
33209 * nss/getXXent.c: Likewise.
33210 * nss/getXXent_r.c: Likewise.
33211 * sysdeps/posix/getaddrinfo.c: Likewise.
33212
332132012-10-30 Andreas Jaeger <aj@suse.de>
33214
33215 * po/ru.po: Update Russion translation from translation project.
33216
332172012-10-30 Joseph Myers <joseph@codesourcery.com>
33218
33219 [BZ #14152]
33220 [BZ #14783]
33221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33222 result and shift together with sticky bit instead of replicating
33223 round-to-nearest rounding.
33224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33226 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33227 missing underflow exceptions.
33228 (fma_test_towardzero): Add more tests.
33229 (fma_test_downward): Likewise.
33230 (fma_test_upward): Likewise.
33231
33232 [BZ #14047]
33233 * sysdeps/generic/tininess.h: New file.
33234 * sysdeps/i386/tininess.h: Likewise.
33235 * sysdeps/sh/tininess.h: Likewise.
33236 * sysdeps/x86_64/tininess.h: Likewise.
33237 * stdlib/tst-strtod-underflow.c: Likewise.
33238 * stdlib/tst-tininess.c: Likewise.
33239 * stdlib/strtod_l.c: Include <tininess.h>.
33240 (round_and_return): Do not set errno for exact underflow cases.
33241 Force an underflow exception when setting errno for underflow.
33242 Determine underflow based on rounding to normal precision if
33243 TININESS_AFTER_ROUNDING.
33244 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33245 ERANGE for exact underflow cases.
33246 * stdlib/Makefile (tests): Add tst-tininess and
33247 tst-strtod-underflow.
33248 ($(objpfx)tst-tininess): Use $(link-libm).
33249 ($(objpfx)tst-strtod-underflow): Likewise.
33250
332512012-10-30 Andreas Jaeger <aj@suse.de>
33252
33253 [BZ#14767]
33254 * elf/Makefile (tests): Remove conditional for have-initfini-array
33255 since this is now always required and the variable does not exist
33256 anymore.
33257 (tests-static): Likewise.
33258 (modules-names): Likewise.
33259
33260 * po/eo.po: Add Esperanto translation from translation project.
33261
33262 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33263 merged with constructor/destructor.
33264 (init_array): Likewise.
33265 * elf/tst-array2dep.c (fini_array): Likewise.
33266 (init_array): Likewise.
33267
332682012-10-29 Mike Frysinger <vapier@gentoo.org>
33269
33270 * manual/message.texi: Delete @cartouche tags.
33271
332722012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33273
33274 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33275 EOPNOTSUPP.
33276 * sysdeps/mach/hurd/fsync.c: Likewise.
33277
33278 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33279 [_POSIX_REALTIME_SIGNALS]: Change condition to
33280 [_POSIX_REALTIME_SIGNALS > 0].
33281
332822012-10-27 Andreas Jaeger <aj@suse.de>
33283
33284 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33285 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33287 [__WORDSIZE != 64]: Likewise.
33288
332892012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33290
33291 * iconvdata/tst-table.sh: Remove ${SHELL}.
33292 * iconvdata/tst-tables.sh: Likewise.
33293
332942012-10-25 David S. Miller <davem@davemloft.net>
33295
33296 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33297 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33298 of strtoull.
33299
33300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33301 ifunc-impl-list.c
33302 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33303 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33304 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33305 file.
33306
333072012-10-25 Roland McGrath <roland@hack.frob.com>
33308
33309 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33310 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33311 __getdirentries.
33312
333132012-10-25 Joseph Myers <joseph@codesourcery.com>
33314 Jim Blandy <jimb@codesourcery.com>
33315
33316 * scripts/cross-test-ssh.sh: New file.
33317 * manual/install.texi (Configuring and compiling): Document use of
33318 cross-test-ssh.sh.
33319 * INSTALL: Regenerated.
33320
333212012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33322
33323 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33324 EOPNOTSUPP.
33325
333262012-10-25 Joseph Myers <joseph@codesourcery.com>
33327
33328 * Makeconfig (run-program-prefix): Fix comment.
33329
333302012-10-24 Joseph Myers <joseph@codesourcery.com>
33331 Jim Blandy <jimb@codesourcery.com>
33332
33333 * Makeconfig (test-wrapper): New variable,
33334 (test-wrapper-env): Likewise.
33335 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33336 (run-built-tests): Define to yes.
33337 (run-program-prefix): Use $(test-wrapper).
33338 (built-program-cmd): Likewise.
33339 * Rules (make-test-out): Use $(test-wrapper-env) and
33340 $(host-built-program-cmd).
33341 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33342 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33343 tst-pathopt.sh.
33344 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33345 $(test-wrapper-env) to tst-rtld-load-self.sh.
33346 ($(objpfx)order2.out): Use $(test-wrapper).
33347 ($(objpfx)tst-initorder.out): Likewise.
33348 ($(objpfx)tst-initorder2.out): Likewise.
33349 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33350 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33351 (test_wrapper_env): New variable. Use it to run ld.so.
33352 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33353 Use it to run ld.so.
33354 (test_wrapper_env): Likewise.
33355 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33356 $(test-wrapper) to run-iconv-test.sh.
33357 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33358 (ICONV): Use $test_wrapper.
33359 * posix/Makefile ($(objpfx)globtest.out): Pass
33360 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33361 globtest.sh, not $(run-program-prefix).
33362 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33363 (test_wrapper): Likewise.
33364 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33365 set together with run_via_rtld_prefix.
33366 (run_program_prefix): Define in terms of test_wrapper and
33367 run_via_rtld_prefix.
33368
333692012-10-24 Roland McGrath <roland@hack.frob.com>
33370
33371 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33372 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33373 Targets removed.
33374
33375 [BZ #14743]
33376 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33377 Declare __clock_getres, __clock_gettime, __clock_settime,
33378 __clock_nanosleep, and __clock_getcpuclockid.
33379 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33380 Remove librt_hidden_def (clock_gettime).
33381 * sysdeps/unix/clock_gettime.c: Likewise.
33382 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33383 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33384 * rt/clock_getres.c: Define __clock_getres as an alias.
33385 * sysdeps/posix/clock_getres.c: Likewise.
33386 * rt/clock_settime.c: Define __clock_settime as an alias.
33387 * sysdeps/unix/clock_settime.c: Likewise.
33388 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33389 * sysdeps/unix/clock_nanosleep.c: Likewise.
33390 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33391 * rt/clock-compat.c: New file.
33392 * rt/Makefile (librt-routines): Add clock-compat and move
33393 $(clock-routines) to ...
33394 (routines): ... here, new variable.
33395 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33396 Don't add get_clockfreq here.
33397 * rt/Versions (libc: GLIBC_2.17): New version set.
33398 Add clock_* symbols here.
33399 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33401 (GLIBC_2.17): Add clock_* symbols.
33402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33404 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33406 Likewise.
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33408 Likewise.
33409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33413 * NEWS: Mention the move.
33414
33415 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33416 Use __open, __read, __close rather than their public counterparts.
33417 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33418 (__get_clockfreq_via_cpuinfo): Likewise.
33419 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33420 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33421
33422 * config.h.in (HAVE_IFUNC): New #undef.
33423 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33424 was successful.
33425 * configure: Regenerated.
33426
334272012-10-24 Mike Frysinger <vapier@gentoo.org>
33428
33429 * configure.in: Move READELF check to start of file.
33430 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33431 libc_cv_asm_gnu_indirect_function in the process.
33432 * configure: Regenerated.
33433
334342012-10-24 Mike Frysinger <vapier@gentoo.org>
33435
33436 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33437 send the output to /dev/null.
33438 (libc_cv_cc_with_libunwind): Likewise.
33439 (libc_cv_as_noexecstack): Likewise.
33440 * configure: Regenerate.
33441
334422012-10-24 Joseph Myers <joseph@codesourcery.com>
33443
33444 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33445
33446 * posix/globtest.sh (TMPDIR): Do not set.
33447 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33448 (testout): Likewise.
33449
334502012-10-24 Andreas Jaeger <aj@suse.de>
33451
33452 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33453 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33454 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33455 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33456 posix_fadvise64, posix_fallocate64.
33457
33458 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33459 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33460 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33461 Likewise.
33462 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33463 Likewise.
33464 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33465
33466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33467 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33468 <bits/fcntl-linux.h>.
33469 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33470
33471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33472 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33473 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33474 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33475 [__WORDSIZE != 64]: Likewise.
33476
334772012-10-23 Joseph Myers <joseph@codesourcery.com>
33478
33479 * Makeconfig (run-built-tests): New variable.
33480 * Rules [$(cross-compiling) = yes]: Change condition to
33481 [$(run-built-tests) = no].
33482 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33483 to [$(run-built-tests) = yes].
33484 * elf/Makefile [$(cross-compiling) = no]: Likewise
33485 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33486 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33487 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33488 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33489 * io/Makefile [$(cross-compiling) = no]: Likewise.
33490 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33491 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33492 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33493 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33494 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33495 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33496 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33497 * string/Makefile [$(cross-compiling) = no]: Likewise.
33498
33499 * posix/Makefile ($(objpfx)globtest.out): Pass
33500 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33501 $(rtld-installed-name).
33502 * posix/globtest.sh (elf_objpfx): Remove variable.
33503 (rtld_installed_name): Likewise.
33504 (library_path): Likewise.
33505 (run_program_prefix): New variable. Use for running globtest
33506 binary.
33507
335082012-10-23 Jim Blandy <jimb@codesourcery.com>
33509 Joseph Myers <joseph@codesourcery.com>
33510
33511 * Makeconfig (host-built-program-cmd): New variable.
33512 * elf/Makefile (tst-stackguard1-ARGS): Use
33513 $(host-built-program-cmd).
33514 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33515 (tst-spawn-ARGS): Likewise.
33516 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33517
335182012-10-23 Joseph Myers <joseph@codesourcery.com>
33519 Jim Blandy <jimb@codesourcery.com>
33520
33521 * Makeconfig (run-via-rtld-prefix): New variable.
33522 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33523 (built-program-cmd): Likewise.
33524
335252012-10-22 Andreas Jaeger <aj@suse.de>
33526
33527 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33528 __O_RSYNC if it exists, otherwise to O_SYNC.
33529
335302012-10-22 Jim Blandy <jimb@codesourcery.com>
33531 Joseph Myers <joseph@codesourcery.com>
33532
33533 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33534 /dev/null.
33535 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33536 from /dev/null
33537 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33538 /dev/null.
33539
335402012-10-22 Andreas Jaeger <aj@suse.de>
33541
33542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33543 Define always.
33544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33545
33546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33547 bits/fcntl-linux.h.
33548
33549 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33550 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33551
33552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33553 to __O_LARGEFILE.
33554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33555 to __O_LARGEFILE.
33556
335572012-10-21 Jim Blandy <jimb@codesourcery.com>
33558 Joseph Myers <joseph@codesourcery.com>
33559
33560 * config.make.in (NM): New variable.
33561
335622012-10-21 Andreas Jaeger <aj@suse.de>
33563
33564 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33565 definitions and declarations that are provided by
33566 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33567
335682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33569
33570 [BZ #14683]
33571 * elf/Makefile (tests-static): Add tst-leaks1-static.
33572 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33573 ($(objpfx)tst-leaks1-static): New rule.
33574 ($(objpfx)tst-leaks1-static-mem): Likewise.
33575 (tst-leaks1-static-ENV): New macro.
33576 * elf/dl-open.c (dl_open_worker): Check the main application
33577 only if SHARED is defined.
33578 * elf/tst-leaks1-static.c: New file.
33579
335802012-10-20 Andreas Jaeger <aj@suse.de>
33581
33582 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33583 generic values for Linux.
33584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33585 and declarations that are provided by <bits/fcntl-linux.h> and
33586 include <bits/fcntl-linux.h>.
33587 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33589
335902012-10-20 Roland McGrath <roland@hack.frob.com>
33591
33592 * io/fcntl.h: Move include of <bits/types.h> to the top and
33593 include it unconditionally.
33594
335952012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33596
33597 * wcsmbs/Makefile (tests-ifunc): New variable.
33598 (tests): Add $(tests-ifunc).
33599 * wcsmbs/test-wcschr-ifunc.c: New file.
33600 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33601 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33602 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33603 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33604 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33605
33606 * string/Makefile (tests-ifunc): New variable.
33607 (tests): Add $(tests-ifunc).
33608 * string/test-memccpy.c (TEST_NAME): New macro.
33609 * string/test-memchr.c (TEST_NAME): Likewise.
33610 * string/test-memcmp.c (TEST_NAME): Likewise.
33611 * string/test-memcpy.c (TEST_NAME): Likewise.
33612 * string/test-memmem.c (TEST_NAME): Likewise.
33613 * string/test-memmove.c (TEST_NAME): Likewise.
33614 * string/test-memset.c (TEST_NAME): Likewise.
33615 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33616 * string/test-stpcpy.c (TEST_NAME): Likewise.
33617 * string/test-stpncpy.c (TEST_NAME): Likewise.
33618 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33619 * string/test-strcasestr.c (TEST_NAME): Likewise.
33620 * string/test-strcat.c (TEST_NAME): Likewise.
33621 * string/test-strchr.c (TEST_NAME): Likewise.
33622 * string/test-strcmp.c(TEST_NAME): Likewise.
33623 * string/test-strcpy.c (TEST_NAME): Likewise.
33624 * string/test-strcspn.c (TEST_NAME): Likewise.
33625 * string/test-strlen.c (TEST_NAME): Likewise.
33626 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33627 * string/test-strncmp.c (TEST_NAME): Likewise.
33628 * string/test-strncpy.c (TEST_NAME): Likewise.
33629 * string/test-strnlen.c (TEST_NAME): Likewise.
33630 * string/test-strpbrk.c (TEST_NAME): Likewise.
33631 * string/test-strrchr.c (TEST_NAME): Likewise.
33632 * string/test-strspn.c (TEST_NAME): Likewise.
33633 * string/test-strstr.c (TEST_NAME): Likewise.
33634 * string/test-bcopy-ifunc.c: New file.
33635 * string/test-bzero-ifunc.c: Likewise.
33636 * string/test-memccpy-ifunc.c: Likewise.
33637 * string/test-memchr-ifunc.c: Likewise.
33638 * string/test-memcmp-ifunc.c: Likewise.
33639 * string/test-memcpy-ifunc.c: Likewise.
33640 * string/test-memmem-ifunc.c: Likewise.
33641 * string/test-memmove-ifunc.c: Likewise.
33642 * string/test-mempcpy-ifunc.c: Likewise.
33643 * string/test-memset-ifunc.c: Likewise.
33644 * string/test-rawmemchr-ifunc.c: Likewise.
33645 * string/test-stpcpy-ifunc.c: Likewise.
33646 * string/test-stpncpy-ifunc.c: Likewise.
33647 * string/test-strcasecmp-ifunc.c: Likewise.
33648 * string/test-strcasestr-ifunc.c: Likewise.
33649 * string/test-strcat-ifunc.c: Likewise.
33650 * string/test-strchr-ifunc.c: Likewise.
33651 * string/test-strchrnul-ifunc.c: Likewise.
33652 * string/test-strcmp-ifunc.c: Likewise.
33653 * string/test-strcpy-ifunc.c: Likewise.
33654 * string/test-strcspn-ifunc.c: Likewise.
33655 * string/test-strlen-ifunc.c: Likewise.
33656 * string/test-strncasecmp-ifunc.c: Likewise.
33657 * string/test-strncat-ifunc.c: Likewise.
33658 * string/test-strncmp-ifunc.c: Likewise.
33659 * string/test-strncpy-ifunc.c: Likewise.
33660 * string/test-strnlen-ifunc.c: Likewise.
33661 * string/test-strpbrk-ifunc.c: Likewise.
33662 * string/test-strrchr-ifunc.c: Likewise.
33663 * string/test-strspn-ifunc.c: Likewise.
33664 * string/test-strstr-ifunc.c: Likewise.
33665
33666 * debug/Makefile (tests-ifunc): New variable.
33667 (tests): Add $(tests-ifunc).
33668 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33669 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33670 * debug/test-stpcpy_chk-ifunc.c: New file.
33671 * debug/test-strcpy_chk-ifunc.c: Likewise.
33672
336732012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33674
33675 [BZ #13601]
33676 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33677 header is not read in.
33678
336792012-10-19 Joseph Myers <joseph@codesourcery.com>
33680
33681 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33682 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33683 directly. Pass built executable to script as
33684 $(built-program-cmd).
33685 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33686 $testprogram without using LD_LIBRARY_PATH and $ldso.
33687
33688 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33689 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33690 $(rtld-installed-name).
33691 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33692 (rtld_installed_name): Likewise.
33693 (library_path): Likewise.
33694 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33695 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33696 $(run-program-prefix) to tst-tables.sh.
33697 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33698 it to run tst-table-from and tst-table-to.
33699 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33700 Pass it to tst-table.sh.
33701 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33702 $(run-program-prefix) to tst-gettext.sh.
33703 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33704 tst-translit.sh.
33705 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33706 tst-gettext2.sh.
33707 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33708 to run tst-gettext.
33709 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33710 to run tst-gettext2.
33711 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33712 to run tst-translit.
33713 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33714 $(run-program-prefix) to tst-mtrace.sh.
33715 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33716 to run tst-mtrace.
33717 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33718 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33719 $(rtld-installed-name).
33720 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33721 (rtld_installed_name): Likewise.
33722 (run_program_prefix): New variable. Use it to run wordexp-test.
33723
33724 * Makeconfig (ARCH): Remove all definitions.
33725 (machine): Likewise.
33726 [ARCH]: Remove conditional code.
33727 [!objdir]: Give error.
33728 [!objdir] (objpfx): Remove.
33729 [!objdir] (common-objpfx): Likewise.
33730 [!objdir] (common-objdir): Likewise.
33731 * configure.in (config_makefile): Remove. Hardcode Makefile in
33732 AC_CONFIG_FILES call.
33733 * configure: Regenerated.
33734
33735 [BZ #13888]
33736 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33737 or TMPDIR.
33738 (testout): Likewise.
33739
33740 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33741 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33742 $(rtld-installed-name).
33743 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33744 (rtld_installed_name): Likwise.
33745 (runit): Remove function.
33746 (run_getconf): New variable, Use it for running getconf binary.
33747
337482012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33749
33750 [BZ #14716]
33751 * string/test-memmem.c (check_result): New function.
33752 (do_one_test): Use it.
33753 (check1): New function.
33754 (test_main): Use it.
33755
337562012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33757
33758 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33759
337602012-10-18 Joseph Myers <joseph@codesourcery.com>
33761
33762 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33763 (_G_LSEEK64): Likewise.
33764 (_G_MMAP64): Likewise.
33765 (_G_FSTAT64): Likewise.
33766 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33767 (_G_LSEEK64): Likewise.
33768 (_G_MMAP64): Likewise.
33769 (_G_FSTAT64): Likewise.
33770 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33771 unconditional. Call __mmap64 directly.
33772 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33773 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33774 __lseek64 directly.
33775 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33776 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33777 __mmap64 directly.
33778 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33779 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33780 __lseek64 directly.
33781 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33782 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33783 __lseek64 directly.
33784 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33785 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33786 __lseek64 directly.
33787 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33788 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33789 __fxstat64 directly.
33790 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33791 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33792 unconditional.
33793 (freopen64) [!_G_OPEN64]: Remove conditional code.
33794 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33795 unconditional.
33796 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33797 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33798 unconditional.
33799 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33800 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33801 unconditional.
33802 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33803 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33804 unconditional.
33805 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33806 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33807 unconditional.
33808 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33809 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33810 unconditional.
33811 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33812 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33813 unconditional.
33814 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33815
338162012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33817
33818 [BZ #12140]
33819 * manual/memory.texi (Malloc Tunable Parameters): Add note
33820 about free list pointers overwriting some perturb bytes.
33821 Wording suggested by Roland McGrath.
33822
338232012-10-17 Joseph Myers <joseph@codesourcery.com>
33824
33825 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33826 (lgamma_test): Likewise.
33827 (tgamma_test): Likewise.
33828
338292012-10-16 Florian Weimer <fweimer@redhat.com>
33830
33831 [BZ #14700]
33832 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33833 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33834
338352012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33836
33837 * NEWS: Mention BZ #14716.
33838 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33839 when removing AVAILABLE1_USES_J macro.
33840
338412012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33842
33843 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33844 (__bswap_64): __uint64_t for unsigned 64-bit int.
33845
338462012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33847
33848 * include/string.h (memmem): Declare libc hidden alias.
33849 * string/memmem.c (memmem): Define libc hidden alias.
33850 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33851 __read, __close instead of open, read, close.
33852
338532012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33854
33855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33856 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33857 global and hidden.
33858 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33859 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33860 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33861 Likewise.
33862 (__rawmemchr_sse2): Likewise.
33863 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33864 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33865 (__strchr_sse2): Likewise.
33866 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33867 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33868 (__strcasecmp_sse2): Likewise.
33869 (__strncasecmp_sse2): Likewise.
33870 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33871 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33872 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33873 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33874 (__strrchr_sse2): Likewise.
33875 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33876 ifunc-impl-list.c.
33877 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33878 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33879 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33880 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33881 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33882 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33883 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33884 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33885 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33886 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33887 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33889 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33890 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33891 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33892 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33893 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33894 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33895 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33896 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33897 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33898 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33899 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33900 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33901 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33902 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33903 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33904 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33905 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33906 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33907
33908 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33909 global and hidden.
33910 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33911 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33912 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33913 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33914 Likewise.
33915 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33916 Likewise.
33917 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33918 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33919 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33920 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33921 ifunc-impl-list.c.
33922 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33923 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33924 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33925 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33926 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33927 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33928 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33929 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33930 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33931 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33932 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33933 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33934 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33935 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33936 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33938 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33939 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33940 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33941 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33942 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33943 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33944 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33945 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33946 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33947 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33948 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33949 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33950 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33951 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33952 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33953 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33954 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33955 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33956 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33957 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33958 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33959 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33960 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33961 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33962 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33963
33964 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33965 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33966 * include/ifunc-impl-list.h: New file.
33967 * misc/ifunc-impl-list.c: Likewise.
33968 * misc/Makefile (routines): Add ifunc-impl-list.
33969 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33970 * string/test-string.h: Include <ifunc-impl-list.h>.
33971 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33972 TEST_NAME]: New variables.
33973 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33974 are defined.
33975 (test_init): Call __libc_ifunc_impl_list to initialize
33976 func_list if TEST_IFUNC and TEST_NAME are defined.
33977
33978 * string/Makefile (strop-tests): Add bcopy and bzero.
33979 * string/test-bcopy.c: New file.
33980 * string/test-bzero.c: Likewise.
33981 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33982 defined.
33983 * string/test-memset.c: Support bzero test if TEST_BZERO is
33984 defined.
33985 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33986 __libc_memmove.
33987 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33988 __libc_memset.
33989 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33990 of memset.
33991
339922012-10-10 Joseph Myers <joseph@codesourcery.com>
33993
33994 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33995 * configure: Regenerated.
33996
33997 * Makeconfig (+link-static-before-libc): Don't include
33998 $(link-static-libc).
33999
34000 * libio/libio.h (_IO_pos_t): Remove.
34001
340022012-10-10 Alexandre Oliva <aoliva@redhat.com>
34003
34004 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34005 McGrath.
34006
340072012-10-10 Alexandre Oliva <aoliva@redhat.com>
34008
34009 * crypt/crypt-entry.c: Include fips-private.h.
34010 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34011 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34012 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34013 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34014
340152012-10-10 Alexandre Oliva <aoliva@redhat.com>
34016
34017 * crypt/crypt-private.h: Include stdbool.h.
34018 (_ufc_setup_salt_r): Return bool.
34019 * crypt/crypt-entry.c: Include errno.h.
34020 (__crypt_r): Return NULL with EINVAL for bad salt.
34021 * crypt/crypt_util.c (bad_for_salt): New.
34022 (_ufc_setup_salt_r): Check that salt is long enough and within
34023 the specified alphabet.
34024 * crypt/badsalttest.c: New file.
34025 * crypt/Makefile (tests): Add it.
34026 ($(objpfx)badsalttest): New.
34027
340282012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34029
34030 * NEWS: Add entry for BZ #14602.
34031
340322012-10-09 Joseph Myers <joseph@codesourcery.com>
34033
34034 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34035 type-generic.
34036 * math/libm-test.inc: Update comment listing what functions and
34037 macros are tested.
34038 (isgreater_test): New function.
34039 (isgreaterequal_test): Likewise.
34040 (isless_test): Likewise.
34041 (islessequal_test): Likewise.
34042 (islessgreater_test): Likewise.
34043 (isunordered_test): Likewise.
34044 (main): Call the new functions.
34045
340462012-10-09 Roland McGrath <roland@hack.frob.com>
34047
34048 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34049 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34050 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34051 * sysdeps/i386/configure: Regenerated.
34052 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34053 * sysdeps/mach/configure: Regenerated.
34054 * sysdeps/mach/hurd/configure: Regenerated.
34055 * sysdeps/powerpc/configure: Regenerated.
34056 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34057 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34058 * sysdeps/s390/s390-32/configure: Regenerated.
34059 * sysdeps/s390/s390-64/configure: Regenerated.
34060 * sysdeps/sh/configure: Regenerated.
34061 * sysdeps/sparc/configure: Regenerated.
34062 * sysdeps/unix/sysv/linux/configure: Regenerated.
34063 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34064 * sysdeps/x86_64/configure: Regenerated.
34065
34066 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34067 defined. Don't check if MAP is NULL.
34068
340692012-10-09 Joseph Myers <joseph@codesourcery.com>
34070
34071 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34072 (_G_stat64): Likewise.
34073 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34074 (_G_stat64): Likewise.
34075 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34076 instead of struct _G_stat64.
34077 * libio/fileops.c (mmap_remap_check): Likewise.
34078 (decide_maybe_mmap): Likewise.
34079 (_IO_new_file_seekoff): Likewise.
34080 (_IO_file_stat): Likewise.
34081 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34082 _G_off64_t.
34083 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34084 instead of struct _G_stat64.
34085 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34086
340872012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34088
34089 [BZ #14602]
34090 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34091 Replace with ...
34092 (CHECK_EOL): New macro.
34093 (two_way_short_needle): Check beginning of haystack for EOL. Use
34094 CHECK_EOL.
34095 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34096 Replace with CHECK_EOL.
34097 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34098 Replace with CHECK_EOL.
34099
341002012-10-08 Joseph Myers <joseph@codesourcery.com>
34101
34102 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34103 type-generic.
34104 * math/libm-test.inc: Update comment listing what functions and
34105 macros are tested.
34106 (finite_test): New function.
34107 (isinf_test): Likewise.
34108 (isnan_test): Likewise.
34109 (fpclassify_test): Test subnormal input.
34110 (isfinite_test): Likewise.
34111 (isnormal_test): Likewise.
34112 (main): Call the new functions.
34113
341142012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34115
34116 [BZ #14660]
34117 * Makerules (%.dynsym): Force C locale when running
34118 $(OBJDUMP) --dynamic-syms.
34119
341202012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34121
34122 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34123 <stdint.h>.
34124
341252012-10-06 David S. Miller <davem@davemloft.net>
34126
34127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34128 upper 32-bits of the length value in %o2 since we use branch-on-register
34129 tests which consider the entire 64-bit register.
34130
341312012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34132
34133 * string/test-strstr.c (check2): Add a test for page boundary.
34134
341352012-10-05 David S. Miller <davem@davemloft.net>
34136
34137 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34138 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34139 file.
34140 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34141 sysdep_routines.
34142 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34143 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34144 and bzero when HWCAP_SPARC_CRYPTO is present.
34145
341462012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34147
34148 [BZ #14602]
34149 * string/test-strstr.c (check2): New function.
34150 (test_main): Call check2.
34151
34152 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34153 and bug-strchr1.
34154 * string/bug-strcasestr1.c (do_test): Moved to ...
34155 * string/test-strcasestr.c (check1): Here. New function.
34156 (do_one_test): Break out result checking code into ...
34157 (check_result): This. New function.
34158 (do_one_test): Call check_result.
34159 (test_main): Call check1.
34160 * string/bug-strchr1.c (do_test): Moved to ...
34161 * string/test-strchr.c (check1): Here. New function.
34162 (do_one_test): Break out result checking code into ...
34163 (check_result): This. New function.
34164 (do_one_test): Call check_result.
34165 (test_main): Call check1.
34166 * string/bug-strstr1.c (main): Moved to ...
34167 * string/test-strstr.c (check1): Here. New function.
34168 (do_one_test): Break out result checking code into ...
34169 (check_result): This. New function.
34170 (do_one_test): Call check_result.
34171 (test_main): Call check1.
34172 * string/bug-strcasestr1.c: Removed.
34173 * string/bug-strchr1.c: Likewise.
34174 * string/bug-strstr1.c: Likewise.
34175
34176 * elf/Makefile (dl-routines): Add hwcaps.
34177 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34178 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34179 (_dl_important_hwcaps): Moved to ...
34180 * elf/dl-hwcaps.c: Here. New file.
34181 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34182
34183 [BZ #14557]
34184 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34185 if IS_IN_rtld isn't defined.
34186
34187 * elf/dl-support.c (_dl_sysinfo_map): New.
34188 Include "get-dynamic-info.h" and "setup-vdso.h".
34189 (_dl_non_dynamic_init): Call setup_vdso.
34190 * elf/dynamic-link.h: Don't include <assert.h>.
34191 (elf_get_dynamic_info): Moved to ...
34192 * elf/get-dynamic-info.h: Here. New file.
34193 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34194 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34195 * elf/setup-vdso.h: Here. New file.
34196 * elf/rtld.c: Include "setup-vdso.h".
34197 (dl_main): Call setup_vdso.
34198
341992012-10-05 Joseph Myers <joseph@codesourcery.com>
34200
34201 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34202 creal in comment listing functions tested. List finite, isinf,
34203 isnan, isless, islessequal, isgreater, isgreaterequal,
34204 islessgreater, isunordered, lgamma_r and pow10 as functions and
34205 macros not tested. Mention which functions not tested are aliases
34206 for other functions. Fix typo. Note that signs of NaNs are not
34207 tested.
34208
34209 * scripts/config.guess: Update from config.git.
34210 * scripts/config.sub: Likewise.
34211
342122012-10-04 Roland McGrath <roland@hack.frob.com>
34213
34214 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34215 * misc/madvise.c (madvise): Renamed to __madvise.
34216 Make madvise a weak alias.
34217 * include/sys/mman.h: Declare __madvise.
34218 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34219 * sysdeps/unix/syscalls.list
34220 (madvise): Make __madvise the strong name, and madvise a weak alias.
34221 * sysdeps/unix/sysv/linux/syscalls.list
34222 (madvise, mmap): Remove redundant entries.
34223 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34224 * malloc/malloc.c (mtrim): Likewise.
34225 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34226
342272012-10-03 Roland McGrath <roland@hack.frob.com>
34228
34229 * sysdeps/mach/hurd/dl-cache.c: File removed.
34230 * config.h.in (USE_LDCONFIG): New #undef.
34231 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34232 * configure: Regenerated.
34233 * elf/Makefile (dl-routines): Add dl-cache only under
34234 [$(use-ldconfig) = yes].
34235 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34236 cache on [USE_LDCONFIG].
34237 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34238 [USE_LDCONFIG].
34239 * elf/rtld.c (dl_main): Likewise.
34240
342412012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34242
34243 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34244 _SC_LEVEL4_CACHE_LINESIZE.
34245
342462012-10-03 Roland McGrath <roland@hack.frob.com>
34247
34248 * sysdeps/unix/bsd/confstr.h: File removed.
34249
342502012-10-02 Alexandre Oliva <aoliva@redhat.com>
34251
34252 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34253 sys/sdt-config.h.
34254
342552012-10-02 Roland McGrath <roland@hack.frob.com>
34256
34257 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34258 Make 'mapoff' field ElfW(Off) rather than off_t.
34259
342602012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34261
34262 * nscd/Makefile: Remove nscd-cflags and all its users.
34263 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34264 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34265
34266 [BZ #10631]
34267 * malloc.c (malloc_printerr): Clarify error message.
34268
342692012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34270
34271 [BZ #14648]
34272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34273 Set bit_FMA_Usable if FMA is supported.
34274 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34275 macro.
34276 (bit_FMA4_Usable): Updated.
34277 (index_FMA_Usable): New macro.
34278 (CPUID_FMA): Likewise
34279 (HAS_FMA): Defined with bit_FMA_Usable.
34280
342812012-10-01 Roland McGrath <roland@hack.frob.com>
34282
34283 * bits/types.h (__swblk_t): Type removed.
34284 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34285 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34286 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34287 (__SWBLK_T_TYPE): Likewise.
34288 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34289 (__SWBLK_T_TYPE): Likewise.
34290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34291 (__SWBLK_T_TYPE): Likewise.
34292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34293 (__SWBLK_T_TYPE): Likewise.
34294
342952012-10-01 Patsy Franklin <pfrankli@redhat.com>
34296 Honza Horak <hhorak@redhat.com>
34297
34298 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34299 (xdr_mapname): Use YPMAXMAP as maxsize.
34300 (xdr_peername): Use YPMAXPEER as maxsize.
34301 (xdr_keydat): Use YPAXRECORD as maxsize.
34302 (xdr_valdat): Use YPMAXRECORD as maxsize.
34303
343042012-10-01 Roland McGrath <roland@hack.frob.com>
34305
34306 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34307
34308 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34309 * csu/init-first.c: ... here.
34310 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34311 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34312 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34313 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34314 * sysdeps/i386/init-first.c: File removed.
34315 * sysdeps/sh/init-first.c: File removed.
34316
343172012-10-01 Joseph Myers <joseph@codesourcery.com>
34318
34319 [BZ #14645]
34320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34321 if x * y might underflow to zero and z is zero.
34322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34324 * math/libm-test.inc (min_subnorm_value): New variable.
34325 (fma_test): Add more tests.
34326 (fma_test_towardzero): Likewise.
34327 (fma_test_downward): Likewise
34328 (fma_test_upward): Likewise.
34329 (initialize): Set min_subnorm_value.
34330
343312012-09-29 Joseph Myers <joseph@codesourcery.com>
34332
34333 [BZ #14638]
34334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34335 0 + 0.
34336 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34337 mode for addition resulting in exact zero.
34338 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34339 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34340 exact 0 + 0.
34341 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34343 * math/libm-test.inc (fma_test): Add more tests.
34344 (fma_test_towardzero): New function.
34345 (fma_test_downward): Likewise.
34346 (fma_test_upward): Likewise.
34347 (main): Call the new functions.
34348
343492012-09-28 David S. Miller <davem@davemloft.net>
34350
34351 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34352
343532012-09-28 Roland McGrath <roland@hack.frob.com>
34354
34355 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34356 instead of SIGALRM.
34357
34358 * sysdeps/gnu/_G_config.h: Moved to ...
34359 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34360 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34361 * sysdeps/generic/_G_config.h: ... here.
34362
34363 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34364
34365 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34366
34367 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34368 Conditionalize target on [libnss_test1.so-version].
34369
34370 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34371
34372 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34373 (elfobjdir): Move out of conditionals.
34374
34375 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34376 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34377 (__nss_lookup_function): Conditionalize label remove_from_tree on
34378 [!DO_STATIC_NSS || SHARED], matching its only use.
34379
343802012-09-28 David S. Miller <davem@davemloft.net>
34381
34382 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34383 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34384 file.
34385 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34386 sysdep_routines.
34387 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34389 when HWCAP_SPARC_CRYPTO is present.
34390
343912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34392
34393 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34394
343952012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34396
34397 [BZ #6530]
34398 * stdio-common/vfprintf.c (process_string_arg): Revert
34399 2000-07-22 change.
34400
344012011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34402
34403 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34404 for testcase.
34405 * stdio-common/tst-sprintf.c: Include <locale.h>
34406 (main): Test sprintf's handling of incomplete multibyte
34407 characters.
34408
344092012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34410
34411 * elf/dl-runtime.c (VERSYMIDX): Removed.
34412 * elf/dl-version.c (VERSYMIDX): Likewise.
34413 * elf/do-rel.h (VERSYMIDX): Likewise.
34414 (VALIDX): Likewise.
34415 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34416 * elf/rtld.c (VALIDX): Likewise.
34417 (ADDRIDX): Likewise.
34418 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34419 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34420 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34421 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34422 (VALIDX): Likewise.
34423 (ADDRIDX): Likewise.
34424
344252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34426
34427 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34428
344292012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34430
34431 [BZ #11438]
34432 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34433 to global scope.
34434 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34435 addresses are in the same scope as 192.0.2/24.
34436 * posix/gai.conf: Document new scope table defaults.
34437
344382012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34439
34440 [BZ #5298]
34441 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34442 for ftell. Compute offsets from write pointers instead.
34443 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34444
344452012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34446
34447 [BZ #14543]
34448 * libio/Makefile (tests): New test case tst-fseek.
34449 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34450 combination works in wide mode.
34451 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34452 state when the external buffer state changes.
34453
344542012-09-27 David S. Miller <davem@davemloft.net>
34455
34456 [BZ #14376]
34457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34458 pass reloc->r_addend in as the 'high' argument to
34459 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34460
34461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34462
344632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34464
34465 * rt/tst-aio2.c: Include <pthread.h>.
34466 * rt/tst-aio3.c: Likewise.
34467
344682012-09-27 Steve Ellcey <sellcey@mips.com>
34469
34470 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34471
344722012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34473
34474 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34475 contents on [SHARED].
34476
344772012-09-26 Marek Polacek <polacek@redhat.com>
34478
34479 [BZ #14530]
34480 [BZ #13741]
34481 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34482 for C++ and GCC <4.3 as well as for non GCC compilers.
34483
344842012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34485
34486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34487
344882012-09-25 Roland McGrath <roland@hack.frob.com>
34489
34490 * Makefile.in (all, install): Declare with .PHONY.
34491 Reported by Michael Hope <michael.hope@linaro.org>.
34492
344932012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34494
34495 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34496 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34497 system header.
34498 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34499 Likewise.
34500 (sydep_routines): Add the new and the internal functions.
34501 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34502 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34504 (GLIBC_2.17): Add the new function.
34505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34506 (GLIBC_2.17): Likewise.
34507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34508 (GLIBC_2.17): Likewise.
34509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34510 (GLIBC_2.17): Likewise.
34511 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34512
345132012-09-25 Alan Modra <amodra@gmail.com>
34514
34515 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34516 Add release barrier before setting once_control to say
34517 initialisation is done. Add hints on lwarx. Use macro in
34518 place of isync.
34519 (clear_once_control): Add release barrier.
34520
345212012-09-25 Joseph Myers <joseph@codesourcery.com>
34522
34523 [BZ #13629]
34524 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34525 specially.
34526 * math/s_clog10.c (__clog10): Likewise.
34527 * math/s_clog10f.c (__clog10f): Likewise.
34528 * math/s_clog10l.c (__clog10l): Likewise.
34529 * math/s_clogf.c (__clogf): Likewise.
34530 * math/s_clogl.c (__clogl): Likewise.
34531 * math/Makefile (libm-calls): Add x2y2m1.
34532 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34533 (__x2y2m1): Likewise.
34534 (__x2y2m1l): Likewise.
34535 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34536 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34537 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34538 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34539 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34540 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34541 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34542 * sysdeps/i386/fpu/libm-test-ulps: Update.
34543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34544
34545 [BZ #14621]
34546 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34547 int as type of variable DEPTH.
34548 (glob): Use size_t instead of int as type of variables NEWCOUNT
34549 and OLD_PATHC.
34550
345512012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34552
34553 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34554 Add s_sincosf-sse2.
34555 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34556 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34557 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34558 macros for using routine as __sincosf_ia32.
34559 Use macro for function declaration and weak_alias.
34560 * sysdeps/i386/fpu/libm-test-ulps: Update.
34561
34562 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34564
34565 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34566 subnormal argument.
34567 * math/s_cexpf.c (__cexpf): Likewise.
34568 * math/s_csinf.c (__csinf): Likewise.
34569 * math/s_csinhf.c (__csinhf): Likewise.
34570 * math/s_ctanf.c (__ctanf): Likewise.
34571 * math/s_ctanhf.c (__ctanhf): Likewise.
34572 * math/s_ccosh.c (__ccoshf): Likewise.
34573 * math/s_cexp.c (__cexpl): Likewise.
34574 * math/s_csin.c (__csin): Likewise.
34575 * math/s_csinh.c (__csinh): Likewise.
34576 * math/s_ctan.c (__ctan): Likewise.
34577 * math/s_ctanh.c (ctanh): Likewise.
34578 * math/s_ccoshl.c (__ccoshl): Likewise.
34579 * math/s_cexpl.c (__cexpl): Likewise.
34580 * math/s_csinl.c (__csinl): Likewise.
34581 * math/s_csinhl.c (__csinhl): Likewise.
34582 * math/s_ctanl.c (__ctanl): Likewise.
34583 * math/s_ctanhl.c (__ctanhl): Likewise.
34584
345852012-09-25 Joseph Myers <joseph@codesourcery.com>
34586
34587 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34588 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34589 (_IO_off_t): Define to __off_t, not _G_off_t.
34590 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34591 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34592 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34593 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34594 type of __dummy and __dummy2 fields.
34595 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34596 (_G_ssize_t): Likewise.
34597 (_G_off_t): Likewise.
34598 (_G_pid_t): Likewise.
34599 (_G_uid_t): Likewise.
34600 (_G_wchar_t): Likewise.
34601 (_G_wint_t): Likewise.
34602 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34603 (_G_ssize_t): Likewise.
34604 (_G_off_t): Likewise.
34605 (_G_pid_t): Likewise.
34606 (_G_uid_t): Likewise.
34607 (_G_wchar_t): Likewise.
34608 (_G_wint_t): Likewise.
34609 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34610 (_G_ssize_t): Likewise.
34611 (_G_off_t): Likewise.
34612 (_G_pid_t): Likewise.
34613 (_G_uid_t): Likewise.
34614 (_G_wchar_t): Likewise.
34615 (_G_wint_t): Likewise.
34616
346172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34618
34619 * malloc/arena.c: Include malloc-sysdep.h.
34620 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34621 is sufficient to shrink the heap or an unmap is needed.
34622 * sysdeps/generic/malloc-sysdep.h: New file. Define
34623 new function check_may_shrink_heap.
34624 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34625 new function check_may_shrink_heap.
34626
346272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34628
34629 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34630 comments.
34631
346322012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34633
34634 * catgets/test-gencat.sh: Add "set -e".
34635 * elf/tst-pathopt.sh: Likewise.
34636 * grp/tst_fgetgrent.sh: Likewise.
34637 * iconvdata/run-iconv-test.sh: Likewise.
34638 * intl/tst-gettext.sh: Likewise.
34639 * intl/tst-gettext2.sh: Likewise.
34640 * intl/tst-gettext4.sh: Likewise.
34641 * intl/tst-gettext6.sh: Likewise.
34642 * intl/tst-translit.sh: Likewise.
34643 * io/ftwtest-sh: Likewise.
34644 * libio/test-freopen.sh: Likewise.
34645 * malloc/tst-mtrace.sh: Likewise.
34646 * posix/globtest.sh: Likewise.
34647 * posix/tst-getconf.sh: Likewise.
34648 * posix/wordexp-tst.sh: Likewise.
34649 * stdio-common/tst-printf.sh: Likewise.
34650 * stdio-common/tst-unbputc.sh: Likewise.
34651 * stdlib/tst-fmtmsg.sh: Likewise.
34652 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34653 * catgets/Makefile: Do not specify -e option when running
34654 testsuite shell scripts.
34655 * elf/Makefile: Likewise.
34656 * grp/Makefile: Likewise.
34657 * iconvdata/Makefile: Likewise.
34658 * intl/Makefile: Likewise.
34659 * io/Makefile: Likewise.
34660 * libio/Makefile: Likewise.
34661 * malloc/Makefile: Likewise.
34662 * posix/Makefile: Likewise.
34663 * stdio-common/Makefile: Likewise.
34664 * stdlib/Makefile: Likewise.
34665 * sysdeps/x86_64/Makefile: Likewise.
34666
34667 * io/ftwtest-sh: Add copyright header.
34668 * posix/globtest.sh: Likewise.
34669 * posix/tst-getconf.sh: Likewise.
34670 * posix/wordexp-tst.sh: Likewise.
34671 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34672
346732012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34674
34675 [BZ #13679]
34676 * Makeconfig (+link): Defined as $(+link-static) if
34677 $(build-shared) isn't yes.
34678 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34679 isn't yes.
34680 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34681
34682 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34683
34684 [BZ #14562]
34685 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34686 new chunk size with MALLOC_ALIGN_MASK.
34687
346882012-09-24 Joseph Myers <joseph@codesourcery.com>
34689
34690 [BZ #5044]
34691 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34692 <rounding-mode.h>.
34693 (__printf_fphex): Determine rounding using get_rounding_mode and
34694 round_away.
34695 * stdio-common/tst-printf-round.c (struct hex_test): New
34696 structure.
34697 (hex_tests): New variable.
34698 (test_hex_in_one_mode): New function.
34699 (do_test): Also run tests for hex float output.
34700
347012012-09-21 Joseph Myers <joseph@codesourcery.com>
34702
34703 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34704 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34705 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34706 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34707 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34708 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34709 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34710 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34711
347122012-09-20 Joseph Myers <joseph@codesourcery.com>
34713
34714 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34715 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34716 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34717 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34718
347192012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34720
34721 [BZ #14579]
34722 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34723 mode only.
34724 * elf/tst-rtld-load-self.sh: New test.
34725 * elf/Makefile: Run it.
34726
347272012-09-18 Joseph Myers <joseph@codesourcery.com>
34728
34729 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34730 (tst-writev-ENV): Remove.
34731 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34732
347332012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34734
34735 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34736
347372012-09-17 Joseph Myers <joseph@codesourcery.com>
34738
34739 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34740 unconditional.
34741 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34742 Likewise.
34743 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34744 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34745 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34746 Likewise.
34747
347482012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34749
34750 [BZ #14587]
34751 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34752 * config.make.in (have-cpp-asm-debuginfo): Removed.
34753 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34754 * configure: Regenerated.
34755
347562012-09-14 Joseph Myers <joseph@codesourcery.com>
34757
34758 [BZ #5044]
34759 * stdio-common/printf_fp.c: Include <stdbool.h> and
34760 <rounding-mode.h>.
34761 (___printf_fp): Determine rounding using get_rounding_mode and
34762 round_away.
34763 * stdio-common/tst-printf-round.c: New file.
34764 * stdio-common/Makefile (tests): Add tst-printf-round.
34765 (link-libm): New variable.
34766 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34767
347682012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34769
34770 [BZ #14576]
34771 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34772 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34773 Likewise.
34774 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34775 Likewise.
34776
347772012-09-13 Joseph Myers <joseph@codesourcery.com>
34778
34779 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34780 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34781 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34782 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34783
347842012-09-12 Joseph Myers <joseph@codesourcery.com>
34785
34786 [BZ #14518]
34787 * include/rounding-mode.h: New file.
34788 * sysdeps/generic/get-rounding-mode.h: Likewise.
34789 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34790 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34791 (MAX_VALUE): New macro.
34792 (MIN_VALUE): Likewise.
34793 (overflow_value): New function.
34794 (underflow_value): Likewise.
34795 (round_and_return): Use overflow_value and underflow_value to
34796 determine return values in overflow and underflow cases. Use
34797 round_away to determine rounding depending on rounding mode.
34798 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34799 determine return values in overflow and underflow cases.
34800 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34801 (struct test_results): New structure.
34802 (struct test): Use struct test_results to store expected results
34803 for all rounding modes.
34804 (TEST): Include expected results for all rounding modes.
34805 (test_in_one_mode): New function.
34806 (do_test): Use test_in_one_mode to compute and check results.
34807 Check results for all rounding modes.
34808 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34809 $(link-libm).
34810
348112012-12-09 Allan McRae <allan@archlinux.org>
34812
34813 * sysdeps/i386/fpu/libm-test-ulps: Update
34814
348152012-09-11 Joseph Myers <joseph@codesourcery.com>
34816
34817 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34818 (_G_int32_t): Likewise.
34819 (_G_uint16_t): Likewise.
34820 (_G_uint32_t): Likewise.
34821 (_G_HAVE_BOOL): Likewise.
34822 (_G_HAVE_ATEXIT): Likewise.
34823 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34824 (_G_HAVE_IO_FILE_OPEN): Likewise.
34825 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34826 (_G_int32_t): Likewise.
34827 (_G_uint16_t): Likewise.
34828 (_G_uint32_t): Likewise.
34829 (_G_HAVE_BOOL): Likewise.
34830 (_G_HAVE_ATEXIT): Likewise.
34831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34832 (_G_HAVE_IO_FILE_OPEN): Likewise.
34833 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34834 (_G_int32_t): Likewise.
34835 (_G_uint16_t): Likewise.
34836 (_G_uint32_t): Likewise.
34837 (_G_HAVE_BOOL): Likewise.
34838 (_G_HAVE_ATEXIT): Likewise.
34839 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34840 (_G_HAVE_IO_FILE_OPEN): Likewise.
34841
348422012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34843
34844 * csu/libc-tls.c: Update copyright years.
34845
348462012-09-10 Joseph Myers <joseph@codesourcery.com>
34847
34848 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34849 [!_G_USING_THUNKS]: Remove conditional code.
34850 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34851 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34852
34853 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34854 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34855 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34856 (_G_VTABLE_LABEL_PREFIX): Likewise.
34857 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34858 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34859 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34860 (_G_VTABLE_LABEL_PREFIX): Likewise.
34861 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34862 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34863 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34864 (_G_VTABLE_LABEL_PREFIX): Likewise.
34865 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34866
348672012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34868
34869 * libio/Makefile: Include ../Makeconfig before tests.
34870 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34871 only if $(build-shared) is yes.
34872
34873 * iconv/gconv_db.c: Update copyright years.
34874
348752012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34876
34877 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34878 unwind info if defined PIC. Fix special cases description.
34879 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34880
34881 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34882 DP_HI_MASK entry.
34883 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34884
348852012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34886
34887 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34888
34889 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34890 is NULL.
34891
34892 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34893 (LDLIBS-tst-chk4): This.
34894 (LDFLAGS-tst-chk5): Renamed to ...
34895 (LDLIBS-tst-chk5): This.
34896 (LDFLAGS-tst-chk6): Renamed to ...
34897 (LDLIBS-tst-chk6): This.
34898 (LDFLAGS-tst-lfschk4): Renamed to ...
34899 (LDLIBS-tst-lfschk4): This.
34900 (LDFLAGS-tst-lfschk5): Renamed to ...
34901 (LDLIBS-tst-lfschk5): This.
34902 (LDFLAGS-tst-lfschk6): Renamed to ...
34903 (LDLIBS-tst-lfschk6): This.
34904
34905 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34906 on $(common-objpfx)soversions.mk.
34907
349082012-09-07 Joseph Myers <joseph@codesourcery.com>
34909
34910 [BZ #10014]
34911 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34912 example host name.
34913
349142012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34915
34916 * malloc/arena.c (arena_get_retry): New function that gets
34917 another arena for the caller to try its request on.
34918 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34919 current arena cannot fulfill the request.
34920 (__libc_memalign): Likewise.
34921 (__libc_memalign): Likewise.
34922 (__libc_pvalloc): Likewise.
34923 (__libc_calloc): Likewise.
34924
349252012-09-05 John Tobey <john.tobey@gmail.com>
34926
34927 [BZ #13542]
34928 * manual/arith.texi (Operations on Complex): Fix description
34929 of carg branch cut.
34930
349312012-09-06 Joseph Myers <joseph@codesourcery.com>
34932
34933 [BZ #10014]
34934 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34935 host name.
34936
34937 [BZ #10038]
34938 * manual/memory.texi (Memory): Make order of menu items match
34939 order of sections.
34940
349412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34942
34943 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34944 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34945 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34946
349472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34948
34949 * csu/libc-tls.c (static_dtv): Renamed to ...
34950 (_dl_static_dtv): This. Make it global.
34951 (_dl_initial_dtv): Removed.
34952 (__libc_setup_tls): Updated.
34953 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34954 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34955 DL_INITIAL_DTV.
34956
349572012-09-06 Petr Machata <pmachata@redhat.com>
34958
34959 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34960 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34961 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34962 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34963
349642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34965
34966 [BZ #14545]
34967 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34968 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34969 freeing dtv[-1].
34970
349712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34972
34973 [BZ #14544]
34974 * Makeconfig (link-static-before-libc): Replace $(+prector)
34975 with $(+prectorT).
34976 (link-static-after-libc): Replace $(+postctor) with
34977 $(+postctorT).
34978 (link-bounded): Replace $(+prector)/$(+postctor) with
34979 $(+prectorT)/$(+postctorT).
34980 (+prectorT): New macro.
34981 (+postctorT): Likewise.
34982
349832012-09-06 Joseph Myers <joseph@codesourcery.com>
34984
34985 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34986 (round_str): Handle values above the maximum for IBM long double
34987 as inexact.
34988 * stdlib/tst-strtod-round.c (tests): Regenerated.
34989
349902012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34991
34992 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34993 assembler flag.
34994 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34995 zarch_nohighgprs around the zarch optimized routines.
34996 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34997 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34999 for zarch.
35000
350012012-09-05 David S. Miller <davem@davemloft.net>
35002
35003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35004
35005 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35006 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35007 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35008 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35009 entries.
35010
350112012-09-05 Alexandre Oliva <aoliva@redhat.com>
35012
35013 * malloc/arena.c: Fold copyright years.
35014 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35015
350162012-09-05 Alexandre Oliva <aoliva@redhat.com>
35017
35018 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35019
350202012-09-05 Alexandre Oliva <aoliva@redhat.com>
35021
35022 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35023
350242012-09-05 Alexandre Oliva <aoliva@redhat.com>
35025
35026 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35027 change internal state upon failure.
35028
350292012-09-05 Alexandre Oliva <aoliva@redhat.com>
35030
35031 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35032 * malloc/memusage.c (mmap): Likewise.
35033 (mmap64, mremap): Likewise. Adjust name in comment.
35034
350352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35036
35037 * libio/fileops.c: Fix typos in comments.
35038 * libio/oldfileops.c: Likewise.
35039 * libio/wfileops.c: Likewise.
35040
350412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35042
35043 [BZ #1349]
35044 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35045 (tst-malloc-usable-ENV): Set environment for test case.
35046 * malloc/hooks.c (malloc_check_get_size): New function to get
35047 requested size.
35048 * malloc/malloc.c (musable): Use malloc_check_get_size.
35049 * malloc/tst-malloc-usable.c: New test case.
35050
350512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35052
35053 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35054
350552012-09-05 Allan McRae <allan@archlinux.org>
35056
35057 [BZ #13966]
35058 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35059 determine header location.
35060 * configure: Regenerated.
35061
350622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35063
35064 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35065 float format.
35066 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35067 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35068 format.
35069 (test): Regenerate.
35070
350712012-09-04 David S. Miller <davem@davemloft.net>
35072
35073 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35074 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35075 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35076
350772012-09-04 Florian Weimer <fweimer@redhat.com>
35078
35079 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35080 failures.
35081
35082 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35083
350842012-09-04 Joseph Myers <joseph@codesourcery.com>
35085
35086 [BZ #9914]
35087 * libio/iogetdelim.c: Include <limits.h>.
35088 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35089 + len + 1 would overflow.
35090
350912012-09-03 Andreas Jaeger <aj@suse.de>
35092
35093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35094 * sysdeps/i386/fpu/libm-test-ulps: Update.
35095
350962012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35097
35098 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35099 Add s_sinf-sse2, s_conf-sse2.
35100
35101 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35102 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35103 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35104 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35105
35106 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35107 for using routine as __sinf_ia32.
35108 Use macro for function declaration and weak_alias.
35109 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35110 for using routine as __cosf_ia32.
35111 Use macro for function declaration and weak_alias.
35112
35113 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35114 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35115
35116 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35117 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35119
35120 * math/libm-test.inc (cos_test): Add more test cases.
35121 (sin_test): Likewise.
35122 (sincos_test): Likewise.
35123
351242012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35125
35126 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35127 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35128 hidden.
35129 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35130
351312012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35132
35133 [BZ #14538]
35134 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35135 first element of the GOT.
35136 (elf_machine_load_address): Return the difference between
35137 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35138
351392012-09-01 Allan McRae <allan@archlinux.org>
35140
35141 [BZ #13412]
35142 * configure.in (AWK): Require gawk version 3.0 or later.
35143 * configure: Regenerated.
35144
351452012-09-01 Joseph Myers <joseph@codesourcery.com>
35146
35147 * sysdeps/unix/sysv/linux/kernel-features.h
35148 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35149 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35150 [__NR_clock_getres]: Make code unconditional.
35151 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35152 (clock_getcpuclockid): Remove code left unreachable by removal of
35153 conditionals.
35154 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35155 code unconditional.
35156 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35157 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35158 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35159 Make code unconditional.
35160 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35161 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35162 * sysdeps/unix/sysv/linux/clock_settime.c
35163 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35164 conditional code.
35165 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35166 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35167
351682012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35169
35170 [BZ #14476]
35171 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35172 scripts/test-installation.pl.
35173
35174 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35175 and $ld_so_version if it is set.
35176
351772012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35178
35179 [BZ #14516]
35180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35181 failure if reading from procfs failed.
35182 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35183
351842012-08-27 Joseph Myers <joseph@codesourcery.com>
35185
35186 * sysdeps/unix/sysv/linux/kernel-features.h
35187 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35188 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35189 Remove conditional code.
35190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35191 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35192 Remove conditional code.
35193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35194 * sysdeps/unix/sysv/linux/i386/fxstat.c
35195 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35197 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35198 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35199 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35200 * sysdeps/unix/sysv/linux/i386/lxstat.c
35201 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35202 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35203 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35204 Remove conditional code.
35205 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35206 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35207 Remove conditional code.
35208 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35209 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35210 <kernel-features.h>.
35211 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35212 Remove.
35213 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35214 Remove conditional code.
35215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35216 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35217 Remove conditional.
35218
352192012-08-27 Mike Frysinger <vapier@gentoo.org>
35220
35221 [BZ #5400]
35222 * NEWS: Add fixed bug number.
35223
352242012-08-27 Joseph Myers <joseph@codesourcery.com>
35225
35226 [BZ #14519]
35227 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35228 underflowing exponent in case of negative sign.
35229 * stdlib/tst-strtod-round-data: Add more tests.
35230 * stdlib/tst-strtod-round.c (tests): Regenerated.
35231
35232 [BZ #3479]
35233 * stdlib/strtod_l.c (NDIG): Remove.
35234 (HEXNDIG): Likewise.
35235 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35236 smallest representable value.
35237 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35238 lie within an exact representation of 1/2 ulp of the result.
35239 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35240 unconditionally.
35241 (TENS_P9_IDX): Define unconditionally.
35242 (TENS_P9_SIZE): Likewise.
35243 (TENS_P10_IDX): Likewise.
35244 (TENS_P10_SIZE): Likewise.
35245 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35246 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35247 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35248 entries for 10^2^13 and 10^2^14.
35249 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35250 (TENS_P13_IDX): Define.
35251 (TENS_P13_SIZE): Likewise.
35252 (TENS_P14_IDX): Likewise.
35253 (TENS_P14_SIZE): Likewise.
35254 (_fpioconst_pow10): Change array size to
35255 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35256 unconditional.
35257 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35258 1024]: Add entries for 10^2^13 and 10^2^14.
35259 [LAST_POW10 > _LAST_POW10]: Remove #error.
35260 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35261 (_fpioconst_pow10): Change array size to
35262 FPIOCONST_POW10_ARRAY_SIZE.
35263 * stdlib/gen-fpioconst.c: New file.
35264 * stdlib/gen-tst-strtod-round.c: Likewise.
35265 * stdlib/tst-strtod-round-data: Likewise.
35266 * stdlib/tst-strtod-round.c: Likewise.
35267 * stdlib/Makefile (tests): Add tst-strtod-round.
35268
35269 [BZ #14459]
35270 * stdlib/strtod_l.c: Include <stdint.h>.
35271 (NDEBUG): Do not define.
35272 (round_and_return): Change EXPONENT parameter to type intmax_t.
35273 Rearrange calculations to avoid internal overflow possibilities.
35274 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35275 Rearrange calculations to avoid internal overflow possibilities.
35276 Assert that number fits inside MPNSIZE limbs.
35277 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35278 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35279 calculations and add assertions to avoid internal overflow
35280 possibilities. Add casts to avoid signed/unsigned operations.
35281 * stdlib/tst-strtod-overflow.c: New file.
35282 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35283
352842012-08-25 Marek Polacek <polacek@redhat.com>
35285
35286 * time/time.h: Fix some typos in comments.
35287
352882012-08-23 Roland McGrath <roland@hack.frob.com>
35289
35290 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35291 * posix/tst-rfc3484-2.c: Likewise.
35292 * posix/tst-rfc3484-3.c: Likewise.
35293
352942012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35295
35296 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35297 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35298
352992012-08-23 Joseph Myers <joseph@codesourcery.com>
35300
35301 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35302 #include of fxstatat64.c.
35303
353042012-08-22 Roland McGrath <roland@hack.frob.com>
35305
35306 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35307 * shadow/getspent_r.c: Likewise.
35308 * shadow/getspnam.c: Likewise.
35309 * shadow/getspnam_r.c: Likewise.
35310 * gshadow/getsgent.c: Likewise.
35311 * gshadow/getsgent_r.c: Likewise.
35312 * gshadow/getsgnam.c: Likewise.
35313 * gshadow/getsgnam_r.c: Likewise.
35314 * inet/getnetbyad.c: Likewise.
35315 * inet/getnetbyad_r.c: Likewise.
35316 * inet/getnetbynm.c: Likewise.
35317 * inet/getnetbynm_r.c: Likewise.
35318 * inet/getnetent.c: Likewise.
35319 * inet/getnetent_r.c: Likewise.
35320 * inet/getproto.c: Likewise.
35321 * inet/getproto_r.c: Likewise.
35322 * inet/getprtent.c: Likewise.
35323 * inet/getprtent_r.c: Likewise.
35324 * inet/getprtname.c: Likewise.
35325 * inet/getprtname_r.c: Likewise.
35326 * inet/getrpcbyname.c: Likewise.
35327 * inet/getrpcbyname_r.c: Likewise.
35328 * inet/getrpcbynumber.c: Likewise.
35329 * inet/getrpcbynumber_r.c: Likewise.
35330 * inet/getrpcent.c: Likewise.
35331 * inet/getrpcent_r.c: Likewise.
35332 * inet/getaliasent.c: Likewise.
35333 * inet/getaliasent_r.c: Likewise.
35334 * inet/getaliasname.c: Likewise.
35335 * inet/getaliasname_r.c: Likewise.
35336 * nscd/getgrgid_r.c: Likewise.
35337 * nscd/getgrnam_r.c: Likewise.
35338 * nscd/gethstbyad_r.c: Likewise.
35339 * nscd/gethstbynm3_r.c: Likewise.
35340 * nscd/getpwnam_r.c: Likewise.
35341 * nscd/getpwuid_r.c: Likewise.
35342 * nscd/getsrvbynm_r.c: Likewise.
35343 * nscd/getsrvbypt_r.c: Likewise.
35344 * nscd/gai.c: Likewise.
35345
35346 * configure.in (build_nscd): New substituted variable, set
35347 by --disable-build-nscd and defaults to $use_nscd.
35348 * configure: Regenerated.
35349 * config.make.in (build-nscd): New substituted variable.
35350 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35351 Change conditional to require [$(build-nscd) = yes] as well.
35352 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35353
35354 [BZ# 13696]
35355 * configure.in (use_nscd): New substituted variable, set by
35356 --disable-nscd. If enabled, define USE_NSCD.
35357 * configure: Regenerated.
35358 * config.h.in: Add USE_NSCD.
35359 * config.make.in (use-nscd): New substituted variable.
35360 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35361 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35362 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35363 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35364 (CFLAGS-getgrnam_r.c): Likewise.
35365 (CFLAGS-initgroups.c): Likewise.
35366 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35367 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35368 Variables removed.
35369 * inet/getnetgrent_r.c
35370 (nscd_setnetgrent): New function, broken out of ...
35371 (setnetgrent): ... here. Call it.
35372 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35373 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35374 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35375 * nscd/Makefile (routines, aux): Move definitions after include of
35376 Makeconfig. Conditionalize on [$(use-nscd) != no].
35377 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35378 Conditionalize on [USE_NSCD].
35379 (is_nscd, nscd_init_cb): Likewise.
35380 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35381 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35382 * nss/nss_db/db-init.c: Likewise.
35383 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35384 [USE_NSCD].
35385 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35386 (make_request): Use it.
35387 (cache_valid_p): New function.
35388 (__check_pf): Use it.
35389 * NEWS: Add item for --disable-nscd.
35390
353912012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35392
35393 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35394 to support sed >= 4.2.1-20-ga9bf076.
35395 * configure: Regenerated.
35396
353972012-08-22 Roland McGrath <roland@hack.frob.com>
35398
35399 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35400 Conditionalize whole body on [IREL].
35401
354022012-08-22 Jeff Law <law@redhat.com>
35403
35404 [BZ #14505]
35405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35406 if the family is PF_UNSPEC.
35407
354082012-08-22 Mike Frysinger <vapier@gentoo.org>
35409
35410 * Makerules (lib-version): Rename from V.
35411 (install-lib-nosubdir): Change V to lib-version.
35412
354132012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35414
35415 [BZ #14252]
35416 * powerpc32/power6/wcschr.c: New file.
35417 * powerpc32/power6/wcscpy.c: New file.
35418 * powerpc32/power6/wcsrchr.c: New file.
35419 * powerpc64/power6/wcschr.c: New file.
35420 * powerpc64/power6/wcscpy.c: New file.
35421 * powerpc64/power6/wcsrchr.c: New file.
35422
354232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35424
35425 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35426 (two_way_short_needle): Use it.
35427 * string/strstr.c (AVAILABLE1_USES_J): Define.
35428 * string/strcasestr.c: Likewise.
35429
35430 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35431 array references.
35432 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35433
35434 [BZ #11607]
35435 * NEWS: Add an entry.
35436 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35437 define their defaults.
35438 (two_way_short_needle): Detect end-of-string on-the-fly.
35439 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35440 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35441 * string/bug-strcasestr1.c: New test.
35442 * string/Makefile: Run it.
35443
354442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35445
35446 [BZ #11607]
35447 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35448 the first character.
35449
354502012-08-21 Roland McGrath <roland@hack.frob.com>
35451
35452 * csu/elf-init.c (__libc_csu_irel): Function removed.
35453 * csu/libc-start.c (apply_irel): New function.
35454 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35455
354562012-08-21 Joseph Myers <joseph@codesourcery.com>
35457
35458 * sysdeps/unix/sysv/linux/kernel-features.h
35459 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35460 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35461 <kernel-features.h>.
35462 [__NR_fadvise64_64]: Make code unconditional.
35463 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35464 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35465 !__NR_fadvise64_64)]: Likewise.
35466 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35467 !__NR_fadvise64_64))]: Likewise.
35468 [__NR_fadvise64]: Make code unconditional.
35469 [!__NR_fadvise64]: Remove conditional code.
35470 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35471 <kernel-features.h>.
35472 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35473 unconditional.
35474 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35475 conditional code.
35476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35477 not include <kernel-features.h>.
35478 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35479 unconditional.
35480 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35481 conditional code.
35482 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35483 include <kernel-features.h>.
35484 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35485 unconditional.
35486 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35487 conditional code.
35488
354892012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35490
35491 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35492 slight instruction rearrangements per scrollpipe analysis.
35493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35494
354952012-08-20 Roland McGrath <roland@hack.frob.com>
35496
35497 * manual/syslog.texi (syslog; vsyslog, closelog):
35498 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35499 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35500
35501 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35502 DSOCAPS to match condition on defining it.
35503
355042012-08-20 Joseph Myers <joseph@codesourcery.com>
35505
35506 * sysdeps/unix/sysv/linux/kernel-features.h
35507 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35509 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35510 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35512 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35513 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35515 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35516 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35517
35518 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35519 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35520
35521 * sysdeps/unix/sysv/linux/kernel-features.h
35522 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35523 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35524 unconditional.
35525 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35526 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35527 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35528 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35529 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35530 Make code unconditional.
35531 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35532 (__mmap64) [!__NR_mmap2]: Likewise.
35533 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35534 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35535 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35536 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35537 [__NR_mmap2]: Make code unconditional.
35538 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35539 (__mmap64) [!__NR_mmap2]: Likewise.
35540
355412012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35542
35543 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35544
355452012-08-18 Andreas Jaeger <aj@suse.de>
35546
35547 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35548
355492012-08-18 Mike Frysinger <vapier@gentoo.org>
35550
35551 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35552 * include/unistd.h (__have_sock_cloexec): Likewise.
35553 (__have_pipe2): Likewise.
35554 (__have_dup3): Likewise.
35555
355562012-08-18 Mike Frysinger <vapier@gentoo.org>
35557
35558 [BZ #9685]
35559 * include/unistd.h (__have_pipe2): Change define into an extern int.
35560 (__have_dup3): Likewise.
35561 * socket/have_sock_cloexec.c: Include fcntl.h.
35562 (__have_pipe2): New variable.
35563 (__have_dup3): Likewise.
35564
355652012-08-17 Mike Frysinger <vapier@gentoo.org>
35566
35567 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35568
355692012-08-17 Marek Polacek <polacek@redhat.com>
35570
35571 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35572 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35573
355742012-08-17 Roland McGrath <roland@hack.frob.com>
35575
35576 * configure.in: Add AC_SUBST for sysheaders.
35577 * configure: Regenerated.
35578 * config.make.in (sysheaders): New substituted variable.
35579
35580 * sysdeps/unix/mkfifo.c: Moved ...
35581 * sysdeps/posix/mkfifo.c: ... here.
35582 * sysdeps/unix/mkfifoat.c: Moved ...
35583 * sysdeps/posix/mkfifoat.c: ... here.
35584
35585 * sysdeps/unix/utime.c: Moved ...
35586 * sysdeps/posix/utime.c: ... here.
35587
35588 * sysdeps/unix/time.c: Moved ...
35589 * sysdeps/posix/time.c: ... here.
35590 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35591 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35592
35593 * sysdeps/unix/nice.c: Moved ...
35594 * sysdeps/posix/nice.c: ... here.
35595
35596 * sysdeps/unix/alarm.c: Moved ...
35597 * sysdeps/posix/alarm.c: ... here.
35598
35599 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35600
356012012-08-17 Jeff Law <law@redhat.com>
35602
35603 * intl/Makefile (codeset_mo): New variable.
35604 ($(codeset_mo)): New target.
35605 (tst-codeset.out): Depend on that. Remove explicit rule.
35606 (tst-gettext3.out, tst-gettext5.out): Likewise.
35607 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35608 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35609 * intl/tst-codeset.sh: Remove.
35610 * intl/tst-gettext3.sh: Likewise.
35611 * intl/tst-gettext5.sh: Likewise.
35612
356132012-08-17 Roland McGrath <roland@hack.frob.com>
35614
35615 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35616 * sysdeps/unix/syscalls.list: ... here.
35617
35618 * sysdeps/posix/getaddrinfo.c
35619 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35620 (gaiconf_init, gaiconf_reload): Use them.
35621 [!_STATBUF_ST_NSEC]
35622 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35623 Define using time_t rather than struct timespec.
35624
35625 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35626 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35627 Macros removed.
35628 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35629 [!NO_THREADS].
35630 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35631 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35632 Likewise.
35633
35634 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35635 __libc_cleanup_push argument.
35636
35637 * bits/param.h: New file.
35638 * misc/sys/param.h: New file.
35639 * include/sys/param.h: New file.
35640 * misc/Makefile (headers): Add bits/param.h.
35641 * sysdeps/generic/sys/param.h: File removed.
35642 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35643 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35644 * sysdeps/mach/hurd/bits/param.h: New file.
35645 * sysdeps/mach/hurd/sys/param.h: File removed.
35646
35647 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35648 last change.
35649
35650 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35651 [_IO_MTSAFE_IO].
35652 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35653 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35654 New macros.
35655
35656 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35657 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35658 rather than -D_IO_MTSAFE_IO conditionally.
35659 * stdio-common/Makefile (CPPFLAGS): Likewise.
35660 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35661 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35662 Use $(libio-mtsafe).
35663 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35664 of -D_IO_MTSAFE_IO.
35665 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35666 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35667 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35668 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35669 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35670 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35671 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35672 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35673 (CFLAGS-fread_u_chk.c): Likewise.
35674 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35675 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35676 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35677 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35678 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35679 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35680 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35681 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35682 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35683
35684 * libio/Makefile: Test [$(libc-reentrant) = yes]
35685 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35686
35687 * Makeconfig
35688 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35689 * sysdeps/pthread/configure: File removed.
35690 * sysdeps/pthread/Makeconfig: New file.
35691 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35692 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35693
356942012-08-16 Gary Benson <gbenson@redhat.com>
35695
35696 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35697 unmapping the first object in a namespace.
35698
356992012-08-16 Roland McGrath <roland@hack.frob.com>
35700
35701 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35702 (__internal_setnetgrent): ... this. Add internal_function to
35703 definition. Add libc_hidden_def.
35704 (setnetgrent): Update caller.
35705 (internal_endnetgrent): Renamed to ...
35706 (__internal_endnetgrent): ... this. Add internal_function to
35707 definition. Add libc_hidden_def.
35708 (endnetgrent): Update caller.
35709 (internal_getnetgrent_r): Renamed to ...
35710 (__internal_getnetgrent_r): ... this. Add internal_function to
35711 definition. Add libc_hidden_def.
35712 (__getnetgrent_r): Update caller.
35713 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35714
357152012-08-16 Joseph Myers <joseph@codesourcery.com>
35716
35717 * stdlib/longlong.h: Update from GCC.
35718
357192012-08-16 Roland McGrath <roland@hack.frob.com>
35720
35721 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35722 on _QL, which is set by umul_ppmm but never used.
35723 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35724 variables, which are set by GMP macros but never used.
35725 * stdio-common/_itowa.c (_itowa): Likewise.
35726 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35727 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35728
357292012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35730
35731 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35732 struct La_sh_regs is not constant.
35733 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35734 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35735 and struct La_sparc64_regs are not constant.
35736
357372012-08-16 Joseph Myers <joseph@codesourcery.com>
35738
35739 * sysdeps/unix/sysv/linux/kernel-features.h
35740 (__ASSUME_POSIX_TIMERS): Remove.
35741 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35743 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35744 Make code unconditional.
35745 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35746 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35747 Make code unconditional.
35748 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35749 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35750 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35751 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35752 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35753 Make code unconditional.
35754 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35755 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35756 (__libc_missing_posix_timers): Remove.
35757
357582012-08-15 Roland McGrath <roland@hack.frob.com>
35759
35760 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35761 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35762
35763 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35764
35765 * elf/dl-sym.c: Include <stdlib.h>.
35766
35767 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35768 constants, which avoids warnings in 32-bit builds.
35769
35770 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35771 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35772
35773 * misc/lseek.c: File moved to ...
35774 * io/lseek.c: ... here.
35775
35776 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35777
35778 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35779 shifting LEN more than 31 bits at once.
35780
357812012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35782
35783 [BZ #14195]
35784 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35785 segmentation fault for a case of two empty input strings.
35786 * string/test-strncasecmp.c (check1): Renamed to...
35787 (bz12205): ...this.
35788 (bz14195): Add new testcase for two empty input strings and N > 0.
35789 (test_main): Call new testcase, adapt for renamed function.
35790
357912012-08-15 Andreas Jaeger <aj@suse.de>
35792
35793 [BZ #14090]
35794 * crypt/md5test2.c: New test, based on test supplied by Serge
35795 Belyshev <belyshev@depni.sinp.msu.ru>.
35796 * crypt/Makefile (xtests): Add md5test-giant..
35797 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35798
357992012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35800
35801 [BZ #14090]
35802 * crypt/md5.c (md5_process_block): Don't assume the buffer
35803 length is less than 2**32.
35804 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35805 length is less than 2**64.
35806
358072012-08-15 Roland McGrath <roland@hack.frob.com>
35808
35809 * string/str-two-way.h: Include <sys/param.h>.
35810 (MAX): Macro removed.
35811
35812 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35813 Move #define and #undef of memmove to just before and after
35814 including <string.h>.
35815
35816 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35817 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35818 and after including <string.h>. Move declarations of
35819 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35820 to before #include "string/memmove.c".
35821
35822 * include/dirent.h: Declare __getdirentries.
35823
35824 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35825 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35826
358272012-08-14 Mike Frysinger <vapier@gentoo.org>
35828
35829 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35830 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35831 * sysdeps/i386/configure: Regenerated.
35832 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35833 STABS_CURRENT_FILE, and STABS_FUN.
35834 (END): Remove call to STABS_FUN_END.
35835 (STABS_CURRENT_FILE1): Delete.
35836 (STABS_CURRENT_FILE): Likewise.
35837 (STABS_FUN): Likewise.
35838 (STABS_FUN_END): Likewise.
35839 (STABS_FUN2): Likewise.
35840 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35841 * sysdeps/x86_64/configure: Regenerated.
35842
358432012-08-14 Roland McGrath <roland@hack.frob.com>
35844
35845 * elf/dl-open.c: Include <atomic.h>.
35846 * elf/dl-lookup.c: Likewise.
35847
358482012-08-14 Joseph Myers <joseph@codesourcery.com>
35849
35850 * sysdeps/unix/sysv/linux/kernel-features.h
35851 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35852 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35853 unconditionally.
35854 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35855 unconditionally.
35856 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35857 condition on __ASSUME_CLONE_THREAD_FLAGS.
35858
358592012-08-14 Andreas Jaeger <aj@suse.de>
35860
35861 * sysdeps/i386/fpu/libm-test-ulps: Update.
35862
358632012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35864
35865 * include/atomic.h (atomic_exchange_and_add): Split into ...
35866 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35867 New atomic macros.
35868
358692012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35870
35871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35872
358732012-08-13 Jeff Law <law@redhat.com>
35874
35875 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35876 null byte in the output string.
35877
358782012-08-10 Joseph Myers <joseph@codesourcery.com>
35879
35880 * sysdeps/unix/sysv/linux/kernel-features.h
35881 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35882 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35883 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35884 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35885 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35886 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35887 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35888
358892012-08-09 Jeff Law <law@redhat.com>
35890
35891 [BZ #13939]
35892 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35893 When avoid_arena is set, don't retry in the that arena. Pick the
35894 next one, whatever it might be.
35895 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35896 (arena_lock): Pass in new parameter to arena_get2.
35897 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35898 arena_get2.
35899 (__libc_malloc): Unify retrying after main arena failure with
35900 __libc_memalign version.
35901 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35902
359032012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35904
35905 [BZ #14166]
35906 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35907 to __redirect_strstr.
35908 (__strstr_sse42): Use typeof __redirect_strstr.
35909 (__strstr_ia32): Likewise.
35910 (__libc_strstr): New prototype.
35911 (strstr): Renamed to ...
35912 (__libc_strstr): This.
35913 (strstr): New strong alias of __libc_strstr.
35914 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35915 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35916 __redirect_time.
35917 Include <time.h>.
35918 (__libc_time): New prototype.
35919 (time_ifunc): Replace time with __libc_time.
35920 (time): New strong alias and hidden definition of __libc_time.
35921 (__GI_time): Remove strong alias.
35922 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35923 Include <stddef.h>.
35924 (memmove): Redefined to __redirect_memmove.
35925 (__memmove_sse2): Use typeof __redirect_memmove.
35926 (__memmove_ssse3): Likewise.
35927 (__memmove_ssse3_back): Likewise.
35928 (__libc_memmove): New prototype.
35929 (memmove): Renamed to ...
35930 (__libc_memmove): This.
35931 (memmove): New strong alias of __libc_memmove.
35932
359332012-08-08 Mark Salter <msalter@redhat.com>
35934
35935 * elf/elf.h
35936 (R_MN10300_TLS_GD): Define.
35937 (R_MN10300_TLS_LD): Likewise.
35938 (R_MN10300_TLS_LDO): Likewise.
35939 (R_MN10300_TLS_GOTIE): Likewise.
35940 (R_MN10300_TLS_IE): Likewise.
35941 (R_MN10300_TLS_LE): Likewise.
35942 (R_MN10300_TLS_DTPMOD): Likewise.
35943 (R_MN10300_TLS_DTPOFF): Likewise.
35944 (R_MN10300_TLS_TPOFF): Likewise.
35945 (R_MN10300_SYM_DIFF): Likewise.
35946 (R_MN10300_ALIGN): Likewise.
35947 (R_MN10300_NUM): Update.
35948
359492012-08-08 Joseph Myers <joseph@codesourcery.com>
35950
35951 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35952 Remove.
35953
359542012-08-08 Roland McGrath <roland@hack.frob.com>
35955
35956 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35957
35958 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35959 sysdeps/unix -> sysdeps/posix move.
35960 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35961
359622012-08-07 Allan McRae <allan@archlinux.org>
35963
35964 [BZ #14303]
35965 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35966 (SUNOS_CPP): Likewise.
35967 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35968 not found.
35969 (open_input): Call CPP using execvp.
35970
359712012-08-07 Joseph Myers <joseph@codesourcery.com>
35972
35973 * sysdeps/unix/sysv/linux/kernel-features.h
35974 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35975 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35976 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35977 (__ASSUME_WAITID_SYSCALL): Likewise.
35978 * sysdeps/unix/sysv/linux/dl-execstack.c
35979 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35980 code unconditional.
35981 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35982 conditional code.
35983 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35984 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35985 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35986 code.
35987 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35988 unconditional.
35989 [__ASSUME_WAITID_SYSCALL]: Likewise.
35990 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35991
359922012-08-07 Roland McGrath <roland@hack.frob.com>
35993
35994 * sysdeps/unix/closedir.c: Renamed to ...
35995 * sysdeps/posix/closedir.c: ... here.
35996 * sysdeps/unix/dirfd.c: Renamed to ...
35997 * sysdeps/posix/dirfd.c: ... here.
35998 * sysdeps/unix/dirstream.h: Renamed to ...
35999 * sysdeps/posix/dirstream.h: ... here.
36000 * sysdeps/unix/fdopendir.c: Renamed to ...
36001 * sysdeps/posix/fdopendir.c: ... here.
36002 * sysdeps/unix/opendir.c: Renamed to ...
36003 * sysdeps/posix/opendir.c: ... here.
36004 * sysdeps/unix/readdir.c: Renamed to ...
36005 * sysdeps/posix/readdir.c: ... here.
36006 * sysdeps/unix/readdir_r.c: Renamed to ...
36007 * sysdeps/posix/readdir_r.c: ... here.
36008 * sysdeps/unix/rewinddir.c: Renamed to ...
36009 * sysdeps/posix/rewinddir.c: ... here.
36010 * sysdeps/unix/seekdir.c: Renamed to ...
36011 * sysdeps/posix/seekdir.c: ... here.
36012 * sysdeps/unix/telldir.c: Renamed to ...
36013 * sysdeps/posix/telldir.c: ... here.
36014 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36015 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36016 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36017 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36018
36019 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36020 * bits/fcntl.h: ... here.
36021
36022 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36023 not 0.
36024 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36025 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36026 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36027 (struct flock): Move l_start, l_len to the beginning.
36028 Use __pid_t for l_pid.
36029 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36030 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36031 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36032 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36033 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36034 [__USE_LARGEFILE64] (struct flock64): New type.
36035 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36036
36037 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36038 * bits/dirent.h: ... here.
36039
36040 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36041 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36042
360432012-08-07 Joseph Myers <joseph@codesourcery.com>
36044
36045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36046 Change from 2.6.0 to 2.6.16.
36047 * sysdeps/unix/sysv/linux/configure: Regenerated.
36048 * sysdeps/unix/sysv/linux/kernel-features.h
36049 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36050 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36051 version.
36052 (__ASSUME_UTIMES): Likewise.
36053 (__ASSUME_CLONE_STOPPED): Remove.
36054 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36055 architectures, not kernel version.
36056 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36057 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36058 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36059 (__ASSUME_WAITID_SYSCALL): Likewise.
36060 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36061 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36062 * README: State 2.6.16 as minimum Linux kernel version. Do not
36063 refer to older versions.
36064
360652012-08-06 Roland McGrath <roland@hack.frob.com>
36066
36067 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36068 Define alphasort64 as an alias.
36069 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36070 Define versionsort64 as an alias.
36071 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36072 Define scandir64 as an alias.
36073 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36074 Define scandirat64 as an alias.
36075 * dirent/alphasort64.c (alphasort64):
36076 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36077 * dirent/versionsort64.c: Likewise.
36078 * dirent/scandir64.c: Likewise.
36079 * dirent/scandirat64.c: Likewise.
36080 * sysdeps/wordsize-64/alphasort.c: File removed.
36081 * sysdeps/wordsize-64/alphasort64.c: File removed.
36082 * sysdeps/wordsize-64/scandir.c: File removed.
36083 * sysdeps/wordsize-64/scandir64.c: File removed.
36084 * sysdeps/wordsize-64/scandirat.c: File removed.
36085 * sysdeps/wordsize-64/scandirat64.c: File removed.
36086 * sysdeps/wordsize-64/versionsort.c: File removed.
36087 * sysdeps/wordsize-64/versionsort64.c: File removed.
36088 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36089 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36090 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36091 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36092 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36093 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36094 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36095 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36096
36097 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36099 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36101 [defined __arch64__ || defined __sparcv9]
36102 (__INO_T_MATCHES_INO64_T): New macro.
36103 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36104 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36105 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36106 * sysdeps/unix/sysv/linux/bits/dirent.h
36107 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36108 (_DIRENT_MATCHES_DIRENT64): New macro.
36109
36110 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36111 Define lockf64 as an alias.
36112 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36113 Define fseeko64 as an alias.
36114 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36115 Define ftello64 as an alias.
36116 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36117 Define _IO_fgetpos64 and fgetpos64 as aliases.
36118 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36119 Define _IO_fsetpos64 and fsetpos64 as aliases.
36120 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36121 Conditionalize body on this.
36122 * libio/fseeko64.c: Likewise.
36123 * libio/ftello64.c: Likewise.
36124 * libio/iofgetpos64.c: Likewise.
36125 * libio/iofsetpos64.c: Likewise.
36126 * sysdeps/wordsize-64/lockf.c: File removed.
36127 * sysdeps/wordsize-64/lockf64.c: File removed.
36128 * sysdeps/wordsize-64/fseeko.c: File removed.
36129 * sysdeps/wordsize-64/fseeko64.c: File removed.
36130 * sysdeps/wordsize-64/ftello.c: File removed.
36131 * sysdeps/wordsize-64/ftello64.c: File removed.
36132 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36133 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36134 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36135 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36136 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36137 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36138 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36139 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36140 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36141 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36142 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36143 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36144 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36145 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36146
36147 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36148 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36149 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36151 [defined __arch64__ || defined __sparcv9]
36152 (__OFF_T_MATCHES_OFF64_T): New macro.
36153 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36154 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36156 (__OFF_T_MATCHES_OFF64_T): New macro.
36157
361582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36159
36160 * stdlib/secure-getenv.c (__secure_getenv): Replace
36161 GLIBC_2_16 with GLIBC_2_17.
36162
361632012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36164
36165 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36166 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36167
361682012-08-03 David S. Miller <davem@davemloft.net>
36169
36170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36171
361722012-08-03 Joseph Myers <joseph@codesourcery.com>
36173
36174 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36175 Remove.
36176 (__ASSUME_CORRECT_SI_PID): Likewise.
36177 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36178 (__ASSUME_TMPFS_NAME): Likewise.
36179 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36180 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36181 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36182 (HAVE_AUX_SECURE): Make definition unconditional.
36183 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36184 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36185
361862012-08-03 Roland McGrath <roland@hack.frob.com>
36187
36188 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36189 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36190 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36191 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36192 __eloop_threshold instead of SYMLOOP_MAX.
36193
36194 * sysdeps/generic/eloop-threshold.h: New file.
36195 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36196 of MAXSYMLINKS.
36197 * elf/chroot_canon.c (chroot_canon): Likewise.
36198
361992012-08-03 Joseph Myers <joseph@codesourcery.com>
36200
36201 [BZ #13717]
36202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36203 Change to 2.6.0 everywhere.
36204 * sysdeps/unix/sysv/linux/configure: Regenerated.
36205 * sysdeps/unix/sysv/linux/kernel-features.h
36206 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36207 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36208 kernel versions.
36209 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36210 (__ASSUME_FUTEX_REQUEUE): Remove.
36211 (__ASSUME_STATFS64): Define unconditionally.
36212 (__ASSUME_AT_SECURE): Likewise.
36213 (__ASSUME_CORRECT_SI_PID): Likewise.
36214 (__ASSUME_TGKILL): Define without depending on kernel version for
36215 i386.
36216 (__ASSUME_UTIMES): Likewise.
36217 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36218 kernel version.
36219 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36220 (__ASSUME_TMPFS_NAME): Likewise.
36221 * README: Update reference to Linux kernel versions.
36222
362232012-08-02 Marek Polacek <polacek@redhat.com>
36224
36225 [BZ# 14150]
36226 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36227 libc_cv_asm_type_prefix with %.
36228 * configure: Regenerated.
36229 * include/libc-symbols.h: Remove comment about
36230 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36231 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36232 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36233 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36234 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36235 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36236 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36237 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36238 * elf/tst-unique2mod1.c: Likewise.
36239 * elf/tst-unique1mod2.c: Likewise.
36240 * elf/tst-unique1mod1.c: Likewise.
36241 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36242 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36243 Replace ASM_TYPE_DIRECTIVE with .type.
36244 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36245 * sysdeps/i386/sysdep.h: Likewise.
36246 * sysdeps/x86_64/sysdep.h: Likewise.
36247 * sysdeps/sh/sysdep.h: Likewise.
36248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36249 Do not define ASM_TYPE_DIRECTIVE.
36250 * sysdeps/powerpc/sysdep.h: Likewise.
36251 * sysdeps/powerpc/powerpc32/sysdep.h:
36252 Replace ASM_TYPE_DIRECTIVE with .type.
36253 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36254 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36255 * sysdeps/i386/fpu/e_powf.S: Likewise.
36256 * sysdeps/i386/fpu/e_expl.S: Likewise.
36257 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36259 * sysdeps/i386/fpu/e_pow.S: Likewise.
36260 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36261 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36262 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36263 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36264 * sysdeps/i386/fpu/e_log2.S: Likewise.
36265 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36266 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36267 * sysdeps/i386/fpu/e_powl.S: Likewise.
36268 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36269 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36270 * sysdeps/i386/fpu/e_logl.S: Likewise.
36271 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36272 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36273 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36274 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36275 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36276 * sysdeps/i386/fpu/e_log.S: Likewise.
36277 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36278 * sysdeps/i386/fpu/e_logf.S: Likewise.
36279 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36280 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36281 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36282 * sysdeps/i386/fpu/e_log10.S: Likewise.
36283 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36284 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36285 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36286 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36287 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36288 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36289 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36290 * sysdeps/i386/i686/strtok.S: Likewise.
36291 * sysdeps/i386/i386-mcount.S: Likewise.
36292 * sysdeps/i386/strtok.S: Likewise.
36293 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36294 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36295 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36296 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36297 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36298 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36299 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36300 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36301 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36302 * sysdeps/x86_64/_mcount.S: Likewise.
36303 * sysdeps/x86_64/strtok.S: Likewise.
36304 * sysdeps/sh/_mcount.S: Likewise.
36305
363062012-08-01 Roland McGrath <roland@hack.frob.com>
36307
36308 * libio/iofopen.c: Include <fcntl.h>.
36309 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36310 (_IO_fopen64, fopen64): Define as aliases.
36311 * libio/iofopen64.c: Include <fcntl.h>.
36312 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36313 Conditionalize body on this.
36314 * sysdeps/wordsize-64/iofopen.c: File removed.
36315 * sysdeps/wordsize-64/iofopen64.c: File removed.
36316
363172012-08-01 Marek Polacek <polacek@redhat.com>
36318
36319 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36320 Use dlfcn directly instead of a variable.
36321 (binfmt-subdir): Do not define.
36322 (dlfcn): Likewise.
36323
363242012-08-01 Joseph Myers <joseph@codesourcery.com>
36325
36326 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36327 Remove all definitions.
36328 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36329 <kernel-features.h>.
36330 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36331 (miss_F_GETOWN_EX): Remove all definitions.
36332 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36333 macro definition.
36334 [!__ASSUME_FCNTL64]: Remove conditional code.
36335 [__ASSUME_FCNTL64]: Make code unconditional.
36336 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36337 <kernel-features.h>.
36338 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36339 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36340 (lockf64) [__NR_fcntl64]: Make code unconditional.
36341 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36342
36343 * sysdeps/unix/sysv/linux/kernel-features.h
36344 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36345 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36346 Make code unconditional.
36347 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36348 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36350 [__NR_vfork]: Make code unconditional.
36351 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36352 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36354 [__NR_vfork]: Make code unconditional.
36355 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36356 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36357
363582012-08-01 Roland McGrath <roland@hack.frob.com>
36359
36360 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36361 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36362
36363 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36364 Define mkstemp64 as an alias.
36365 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36366 Define mkstemps64 as an alias.
36367 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36368 Define mkostemp64 as an alias.
36369 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36370 Define mkostemps64 as an alias.
36371 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36372 Conditionalize body on this.
36373 * misc/mkostemp64.c: Likewise.
36374 * misc/mkostemps64.c: Likewise.
36375 * misc/mkstemps64.c: Likewise.
36376 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36377 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36378 * sysdeps/wordsize-64/mkostemp.c: File removed.
36379 * sysdeps/wordsize-64/mkstemp.c: File removed.
36380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36381 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36382 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36383 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36384
36385 [BZ #14138]
36386 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36387 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36388 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36389 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36390
36391 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36392 compat_symbol macros from <shlib-compat.h> rather than the underlying
36393 default_symbol_version and symbol_version macros, so that DEFAULT
36394 lines in shlib-versions are respected.
36395 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36396
363972012-08-01 Florian Weimer <fweimer@redhat.com>
36398
36399 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36400 Declare with warn_unused_result.
36401 (setgid, setregid, setegid, setresgid): Likewise.
36402 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36403 Likewise.
36404 * WUR-REPORT: Remove set*id functions.
36405
364062012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36407
36408 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36409
364102012-07-31 Roland McGrath <roland@hack.frob.com>
36411
36412 [BZ #10191]
36413 * include/sys/socket.h (__libc_accept, __libc_accept4):
36414 Add attribute_hidden.
36415 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36416
36417 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36418 use of PTR_MANGLE.
36419 * inet/getnetgrent_r.c (setup): Likewise.
36420
36421 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36422
364232012-07-31 David S. Miller <davem@davemloft.net>
36424
36425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36426
364272012-07-31 Joseph Myers <joseph@codesourcery.com>
36428
36429 [BZ #13629]
36430 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36431 value between 1.0 and 2.0 and smaller part has absolute value less
36432 than 1.0.
36433 * math/s_clog10.c (__clog10): Likewise.
36434 * math/s_clog10f.c (__clog10f): Likewise.
36435 * math/s_clog10l.c (__clog10l): Likewise.
36436 * math/s_clogf.c (__clogf): Likewise.
36437 * math/s_clogl.c (__clogl): Likewise.
36438 * math/libm-test.inc (clog_test): Add more tests.
36439 (clog10_test): Likewise.
36440 * sysdeps/i386/fpu/libm-test-ulps: Update.
36441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36442
364432012-07-31 Florian Weimer <fweimer@redhat.com>
36444
36445 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36446 Exit with zero in case no suitable GID is found, and write a
36447 message to standard error.
36448
364492012-07-30 Roland McGrath <roland@hack.frob.com>
36450
36451 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36452 rather than to 1.
36453 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36454 (MAXPATHLEN): Removed.
36455 (NOGROUP, NODEV): New macros.
36456 (setbit, clrbit, isset, isclr): New macros.
36457 (howmany, roundup, powerof2): New macros.
36458 (DEV_BSIZE): New macro.
36459
36460 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36461 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36462
36463 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36464 definition on [!__NO_LONG_DOUBLE_MATH].
36465
36466 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36467 PTR_MANGLE and PTR_DEMANGLE.
36468
36469 * socket/accept4.c (accept4): Rename to __libc_accept4.
36470 Define accept4 as a weak alias.
36471
36472 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36473 on [_DIRENT_HAVE_D_TYPE].
36474 * io/ftw.c (ftw_dir): Likewise.
36475
36476 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36477
36478 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36479
36480 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36481 Use the BSD numbers rather than the arbitrary ones we had.
36482 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36483 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36484 (SIGXCPU, SIGXFSZ): New macros.
36485 (_NSIG): Now 32.
36486
36487 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36488 initializer on [_LIBC_REENTRANT].
36489
36490 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36491 definitions inside [_POSIX_MAPPED_FILES].
36492
36493 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36494
36495 * dirent/opendir.c: Include <fcntl.h>.
36496
36497 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36498 (__libc_getspecific): Likewise.
36499 (__libc_key_create): Likewise.
36500
36501 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36502 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36503 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36504 (tmpfile64): Define as alias.
36505 * sysdeps/wordsize-64/tmpfile.c: File removed.
36506 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36507 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36508 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36509
36510 * stdio-common/vfscanf.c: Include <stdbool.h>.
36511 * nss/makedb.c: Likewise.
36512 * stdio-common/_i18n_number.h: Likewise.
36513 * argp/argp-help.c: Likewise.
36514 * posix/wordexp.c: Likewise.
36515 * sysdeps/posix/spawni.c: Likewise.
36516 * nss/nss_files/files-initgroups.c: Likewise.
36517 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36518 * nss/nss_files/files-initgroups.c: Likewise.
36519 * nss/nss_db/db-netgrp.c: Likewise.
36520 * nss/nss_db/db-initgroups.c: Likewise.
36521 * io/fchmodat.c: Include <sys/stat.h>.
36522
36523 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36524 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36525
36526 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36527 [HAVE_MMAP].
36528
36529 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36530 Add multiple inclusion protection.
36531
365322012-07-27 David S. Miller <davem@davemloft.net>
36533
36534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36535
365362012-07-27 Gary Benson <gbenson@redhat.com>
36537
36538 [BZ #14298]
36539 * elf/rtld.c: Include <stap-probe.h>.
36540 (dl_main): Added static probes "init_start" and "init_complete".
36541 * elf/dl-load.c: Include <stap-probe.h>.
36542 (lose): Take new parameter "nsid".
36543 Added static probe "map_failed".
36544 (_dl_map_object_from_fd): Pass namespace id to lose.
36545 Added static probe "map_start".
36546 (open_verify): Pass namespace id to lose.
36547 * elf/dl-open.c: Include <stap-probe.h>.
36548 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36549 and "reloc_complete".
36550 * elf/dl-close.c: Include <stap-probe.h>.
36551 (_dl_close_worker): Added static probes "unmap_start" and
36552 "unmap_complete".
36553 * elf/rtld-debugger-interface.txt: New file documenting the above.
36554
365552012-07-26 Roland McGrath <roland@hack.frob.com>
36556
36557 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36558 rather than a string variable.
36559 * sunrpc/rpc_main.c (h_output): Likewise.
36560 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36561
365622012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36563
36564 * inet/check_native.c: New file.
36565
365662012-07-26 Joseph Myers <joseph@codesourcery.com>
36567
36568 [BZ #13629]
36569 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36570 if larger part has absolute value 1.0.
36571 * math/s_clog10.c (__clog10): Likewise.
36572 * math/s_clog10f.c (__clog10f): Likewise.
36573 * math/s_clog10l.c (__clog10l): Likewise.
36574 * math/s_clogf.c (__clogf): Likewise.
36575 * math/s_clogl.c (__clogl): Likewise.
36576 * math/libm-test.inc (clog_test): Add more tests.
36577 (clog10_test): Likewise.
36578 * sysdeps/i386/fpu/libm-test-ulps: Update.
36579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36580
36581 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36582 (pltexit): Likewise.
36583 (La_regs): Likewise.
36584 (La_retval): Likewise.
36585 (int_retval): Likewise.
36586 Update #error for removed macros to refer only to definitions in
36587 tst-audit.h.
36588 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36589 macro.
36590 (pltexit): Likewise.
36591 (La_regs): Likewise.
36592 (La_retval): Likewise.
36593 (int_retval): Likewise.
36594 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36595 macro.
36596 (pltexit): Likewise.
36597 (La_regs): Likewise.
36598 (La_retval): Likewise.
36599 (int_retval): Likewise.
36600 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36601 macro.
36602 (pltexit): Likewise.
36603 (La_regs): Likewise.
36604 (La_retval): Likewise.
36605 (int_retval): Likewise.
36606 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36607 macro.
36608 (pltexit): Likewise.
36609 (La_regs): Likewise.
36610 (La_retval): Likewise.
36611 (int_retval): Likewise.
36612 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36613 macro.
36614 (pltexit): Likewise.
36615 (La_regs): Likewise.
36616 (La_retval): Likewise.
36617 (int_retval): Likewise.
36618 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36619 macro.
36620 (pltexit): Likewise.
36621 (La_regs): Likewise.
36622 (La_retval): Likewise.
36623 (int_retval): Likewise.
36624 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36625 macro definitions in tst-audit.h.
36626 * sysdeps/i386/tst-audit.h: New file.
36627 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36628 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36629 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36630 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36631 * sysdeps/sh/tst-audit.h: Likewise.
36632 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36633 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36634 * sysdeps/x86_64/tst-audit.h: Likewise.
36635
366362012-07-26 Andreas Jaeger <aj@suse.de>
36637
36638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36639 ptrace.
36640
36641 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36642 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36643 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36644 PTRACE_O_MASK.
36645 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36646 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36647 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36648
36649 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36650 value.
36651
36652 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36653 _sigsys.
36654 (si_call_addr, si_syscall, si_arch): Define new macro.
36655 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36656 _sigsys.
36657 (si_call_addr, si_syscall, si_arch): Define new marcro.
36658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36659 _sigsys.
36660 (si_call_addr, si_syscall, si_arch): Define new macro.
36661 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36662 _sigsys.
36663 (si_call_addr, si_syscall, si_arch): Define new macro.
36664
366652012-07-25 Joseph Myers <joseph@codesourcery.com>
36666
36667 [BZ #13717]
36668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36669 Change to 2.4.21 where previously 2.4.1.
36670 * sysdeps/unix/sysv/linux/configure: Regenerated.
36671 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36672 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36673 Linux kernel version.
36674 (__ASSUME_STD_AUXV): Remove.
36675 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36676 kernel version.
36677 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36678 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36679 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36680 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36681 (__ASSUME_NETLINK_SUPPORT): Likewise.
36682 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36683 (__no_netlink_support): Remove conditional definition.
36684 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36685 Remove.
36686 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36687 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36688 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36689 (if_nameindex_ioctl): Remove.
36690 (if_nameindex_netlink): Do not handle __no_netlink_support.
36691 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36692 code.
36693 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36694 Remove conditional code.
36695 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36696 code.
36697 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36698 unconditional.
36699 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36700 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36701 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36702 Remove.
36703 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36704 [!__ASSUME_STD_AUXV]: Remove conditional code.
36705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36706 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36707 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36709 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36710 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36711 code.
36712 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36714 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36715 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36716 conditional code.
36717 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36719 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36720 code.
36721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36722 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36723 conditional code.
36724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36725 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36726 code unconditional.
36727 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36728 conditional code.
36729 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36730 unconditional.
36731 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36732 conditional code.
36733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36734 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36735 unconditional.
36736 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36737 conditional code.
36738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36739 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36740 code unconditional.
36741 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36742 conditional code.
36743 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36744 unconditional.
36745 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36746 conditional code.
36747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36748 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36749 code unconditional.
36750 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36751 conditional code.
36752 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36753 unconditional.
36754 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36755 conditional code.
36756
367572012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36758
36759 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36760 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36761 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36762 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36763 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36764 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36765 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36766 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36767 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36768 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36769 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36770 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36771 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36772 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36773 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36774 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36775 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36777 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36779 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36780 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36782
367832012-07-25 Florian Weimer <fweimer@redhat.com>
36784
36785 * Versions.def: Add GLIBC_2.17.
36786 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36787 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36788 Introduce __libc_secure_getenv.
36789 * stdlib/Versions (2.17): Add secure_getenv
36790 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36791 * stdlib/secure-getenv.c: Rename __secure_getenv to
36792 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36793 symbol __secure_getenv for GLIBC_2.0.
36794 * stdlib/tst-secure-getenv.c: New.
36795 * stdlib/Makefile (tests): Add testcase.
36796 * manual/startup.texi (Environment Access): Document
36797 secure_getenv.
36798 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36799 __libc_secure_getenv.
36800 * inet/ruserpass.c (ruserpass): Likewise.
36801 * malloc/mtrace.c (mtrace): Likewise.
36802 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36803 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36804 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36805 * sysdeps/posix/tempname.c: Likewise. Evaluate
36806 HAVE_SECURE_GETENV.
36807 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36808 __secure_getenv to __libc_secure_getenv.
36809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36811 Likewise.
36812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36813 Likewise.
36814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36821
368222012-07-25 Joseph Myers <joseph@codesourcery.com>
36823
36824 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36825 (struct La_i86_retval): Likewise.
36826 (struct La_x86_64_regs): Likewise.
36827 (struct La_x86_64_retval): Likewise.
36828 (struct La_x32_regs): Likewise.
36829 (struct La_x32_retval): Likewise.
36830 (struct La_ppc32_regs): Likewise.
36831 (struct La_ppc32_retval): Likewise.
36832 (struct La_ppc64_regs): Likewise.
36833 (struct La_ppc64_retval): Likewise.
36834 (struct La_sh_regs): Likewise.
36835 (struct La_sh_retval): Likewise.
36836 (struct La_s390_32_regs): Likewise.
36837 (struct La_s390_32_retval): Likewise.
36838 (struct La_s390_64_regs): Likewise.
36839 (struct La_s390_64_retval): Likewise.
36840 (struct La_sparc32_regs): Likewise.
36841 (struct La_sparc32_retval): Likewise.
36842 (struct La_sparc64_regs): Likewise.
36843 (struct La_sparc64_retval): Likewise.
36844 (struct audit_ifaces): Remove architecture-specific pltenter and
36845 pltexit members.
36846 * sysdeps/i386/ldsodefs.h: New file.
36847 * sysdeps/powerpc/ldsodefs.h: Likewise.
36848 * sysdeps/s390/ldsodefs.h: Likewise.
36849 * sysdeps/sh/ldsodefs.h: Likewise.
36850 * sysdeps/sparc/ldsodefs.h: Likewise.
36851 * sysdeps/x86_64/ldsodefs.h: Likewise.
36852
368532012-07-25 Marek Polacek <polacek@redhat.com>
36854
36855 [BZ #6808]
36856 * math/libm-test.inc (yn_test): Add another test.
36857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36858 to ERANGE when the result is +-Inf.
36859 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36860 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36861 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36862 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36863
368642012-07-24 Joseph Myers <joseph@codesourcery.com>
36865
36866 * conform/data/time.h-data (NULL): Use macro-constant. Require
36867 equal to 0.
36868 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36869 clock_t.
36870 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36871
368722012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36873
36874 * configure.in <sysdeps resolving>: Correct printing
36875 Implies_before.
36876 * configure: Regenerate.
36877
368782012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36879
36880 * math/w_ilogb.c: Include <limits.h>.
36881 * math/w_ilogbl.c: Likewise.
36882
368832012-07-20 Joseph Myers <joseph@codesourcery.com>
36884
36885 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36886 va_copy. Document allowing for unavailable va_copy only as
36887 pre-C99 compatibility.
36888 * manual/string.texi (Copying and Concatenation): Use va_copy
36889 instead of __va_copy in concat example.
36890
368912012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36892
36893 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36894 (__sendto): Use create_address_port. Initialize APORT and deallocate
36895 it if not null.
36896
36897 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36898 with O_NOLINK passed to __file_name_lookup.
36899
36900 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36901 with O_NOLINK passed to __file_name_lookup.
36902
36903 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36904 negative N or less than NGIDS.
36905
36906 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36907 type to string_t. Set ERANGE as errno and return it if NAME is not big
36908 enough. Use memcpy instead of strncpy.
36909
369102012-07-20 Joseph Myers <joseph@codesourcery.com>
36911
36912 * elf/Makefile (check-data): Remove.
36913 (localplt.data): New vpath directive.
36914 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36915 instead of $(check-data).
36916 * scripts/data/localplt-generic.data: Move to ...
36917 * sysdeps/generic/localplt.data: ... here.
36918 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36919 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36920 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36922 ... here.
36923 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36925 ... here.
36926 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36928 ... here.
36929 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36931 ... here.
36932 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36934 ... here.
36935 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36937 ... here.
36938
369392012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36940
36941 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36942 PPC32 and PPC64 files.
36943 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36944 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36945
369462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36947
36948 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36949 __makecontext_ret to ...
36950 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36951 ... here and call exit if uc_link is NULL. New file.
36952 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36953 __makecontext_ret.S.
36954 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36955 __makecontext_ret to ...
36956 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36957 ... here and call exit if uc_link is NULL. New file.
36958 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36959 __makecontext_ret.S.
36960
369612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36962
36963 * elf/elf.h (R_390_IRELATIVE): New definition.
36964 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36965 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36966 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36967 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36968 (elf_machine_lazy_rel): Likewise.
36969 * sysdeps/s390/dl-irel.h: New file.
36970 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36971 * sysdeps/s390/s390-64/memset.S: New asm code.
36972 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36973 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36974 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36975 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36976 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36977 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36978 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36979 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36980 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36981 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36982 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36983 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36984 * sysdeps/s390/s390-32/memset.S: New asm code.
36985 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36986
369872012-07-17 Marek Polacek <polacek@redhat.com>
36988
36989 [BZ #14349]
36990 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36991 * sysdeps/s390/s390-64/configure.in: Likewise.
36992 * sysdeps/sparc/configure.in: Likewise.
36993 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36994 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36995 * sysdeps/i386/configure.in: Likewise.
36996 * sysdeps/x86_64/configure.in: Likewise.
36997 * sysdeps/sh/configure.in: Likewise.
36998 * sysdeps/s390/s390-32/configure: Regenerated.
36999 * sysdeps/s390/s390-64/configure: Likewise.
37000 * sysdeps/x86_64/configure: Likewise.
37001 * sysdeps/sh/configure: Likewise.
37002 * sysdeps/powerpc/powerpc64/configure: Likewise.
37003 * sysdeps/powerpc/powerpc32/configure: Likewise.
37004 * sysdeps/sparc/configure: Likwise.
37005 * sysdeps/i386/configure: Likewise.
37006
37007 * elf/dl-open.c: Comment fixes.
37008
370092012-07-17 Joseph Myers <joseph@codesourcery.com>
37010
37011 * Makefile [CXX] (check-data): Remove.
37012 [CXX] (c++-types.data): New vpath directive.
37013 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37014 vpath. Do not allow for C++ type data being missing.
37015 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37016 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37017 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37018 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37019 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37020 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37021 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37023 ... here.
37024 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37026 ... here.
37027 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37029 ... here.
37030 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37032 ... here.
37033 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37035 ... here.
37036 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37038 ... here.
37039 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37041 ... here.
37042 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37044
37045 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37046 definitions to architecture-specific files.
37047 (TLS_IE): Likewise.
37048 (TLS_LD): Likewise.
37049 (TLS_GD): Likewise.
37050 * sysdeps/i386/tls-macros.h: New file.
37051 * sysdeps/powerpc/tls-macros.h: Likewise.
37052 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37053 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37054 * sysdeps/sh/tls-macros.h: Likewise.
37055 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37056 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37057 * sysdeps/x86_64/tls-macros.h: Likewise.
37058
370592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37060
37061 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37062 zero value for regular exit case.
37063
37064 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37065 (__start_context): Preserve zero value for regular exit case.
37066
370672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37068 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37069
37070 * manual/setjmp.texi (setcontext): Clarify normal process
37071 termination when uc_link is the null pointer.
37072 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37073 exit call.
37074
370752012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37076
37077 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37078 preprocessor. Test for each exception mask separately.
37079
370802012-07-16 Andreas Jaeger <aj@suse.de>
37081
37082 * po/ru.po: Update from translation team.
37083
370842012-07-15 Joseph Myers <joseph@codesourcery.com>
37085
37086 * conform/data/string.h-data (NULL): Use macro-constant. Require
37087 equal to 0.
37088 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37089 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37090 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37091 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37092 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37093
370942012-07-13 Andreas Jaeger <aj@suse.de>
37095
37096 * po/fr.po: Update from translation team.
37097
370982012-07-12 Marek Polacek <polacek@redhat.com>
37099
37100 [BZ #14173]
37101 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37102 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37103 loop condition.
37104
371052012-07-12 Joseph Myers <joseph@codesourcery.com>
37106
37107 [BZ #13717]
37108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37109 Change to 2.4.1 where previously 2.4.0.
37110 * sysdeps/unix/sysv/linux/configure: Regenerated.
37111 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37112 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37113 version.
37114 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37115 (__ASSUME_AT_CLKTCK): Remove.
37116 (__ASSUME_AT_PAGESIZE): Likewise.
37117 (__ASSUME_AT_XID): Likewise.
37118 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37119 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37120 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37121 unconditionally.
37122 (HAVE_AUX_PAGESIZE): Likewise.
37123 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37124 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37125 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37126
371272012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37128
37129 [BZ #14307]
37130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37131 the temporary buffer used to invoke __gethostbyname2_r,
37132 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37133 host_data / struct gaih_addrtuple.
37134 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37135 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37136 header file nss/nsswitch.h.
37137 * nss/nsswitch.h (global scope): Add definition of implementation
37138 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37139 resolv/nss_dns/dns-host.c).
37140
371412012-07-11 Andreas Jaeger <aj@suse.de>
37142
37143 * po/fr.po: Update from translation team.
37144
37145 * po/sv.po: Update from translation team
37146 * po/fr.po: Another update from translation team.
37147
371482012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37149
37150 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37151 for subnormals or multiply small sinh result by itself.
37152 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37154
371552012-07-11 David S. Miller <davem@davemloft.net>
37156
37157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37158
371592012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37160
37161 [BZ #14347]
37162 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37163 (INTERNAL_MARK): Shift it here.
37164
371652012-07-10 Marek Polacek <polacek@redhat.com>
37166
37167 [BZ #14151]
37168 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37169 libc_cv_asm_global_directive with .globl.
37170 * configure: Regenerated.
37171 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37172 with .globl.
37173 * sysdeps/i386/configure: Regenerated.
37174 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37175 with .globl.
37176 * sysdeps/x86_64/configure: Regenerated.
37177 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37178 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37179 * elf/tst-unique2mod2.c: Likewise.
37180 * elf/tst-unique2mod1.c: Likewise.
37181 * elf/tst-unique1mod2.c: Likewise.
37182 * elf/tst-unique1mod1.c: Likewise.
37183 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37184 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37185 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37186 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37187 * sysdeps/mach/sysdep.h: Likewise.
37188 * sysdeps/i386/sysdep.h: Likewise.
37189 * sysdeps/i386/i386-mcount.S: Likewise.
37190 * sysdeps/x86_64/_mcount.S: Likewise.
37191 * sysdeps/x86_64/sysdep.h: Likewise.
37192 * sysdeps/sh/_mcount.S: Likewise.
37193 * sysdeps/sh/sysdep.h: Likewise.
37194 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37195 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37196 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37197 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37198 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37199 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37200 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37201 * locale/localeinfo.h: Likewise.
37202 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37203 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37204
372052012-07-09 Roland McGrath <roland@hack.frob.com>
37206
37207 [BZ #14336]
37208 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37209 system".
37210 * manual/message.texi (The Uniforum approach): Likewise.
37211 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37212 (glibc iconv Implementation): Likewise.
37213
372142012-07-09 Joseph Myers <joseph@codesourcery.com>
37215
37216 [BZ #14337]
37217 * math/s_clog.c (__clog): Avoid scaling a value down where that
37218 could result in underflow.
37219 * math/s_clog10.c (__clog10): Likewise.
37220 * math/s_clog10f.c (__clog10f): Likewise.
37221 * math/s_clog10l.c (__clog10l): Likewise.
37222 * math/s_clogf.c (__clogf): Likewise.
37223 * math/s_clogl.c (__clogl): Likewise.
37224 * math/libm-test.inc (clog_test): Add more tests.
37225 (clog10_test): Likewise.
37226 * sysdeps/i386/fpu/libm-test-ulps: Update.
37227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37228
372292012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37230
37231 [BZ #14283]
37232 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37233 by 7 not 8 to examine high bit of fractional part.
37234
37235 [BZ #14042]
37236 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37237 for call to __mcount_internal.
37238 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37239 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37240 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37241
372422012-07-06 Joseph Myers <joseph@codesourcery.com>
37243
37244 [BZ #14154]
37245 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37246 approximation for values within 0x1p-13f of an odd multiple of
37247 pi/4.
37248 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37249 exception. Add more tests.
37250 * sysdeps/i386/fpu/libm-test-ulps: Update.
37251
37252 [BZ #6778]
37253 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37254 inputs and return -1 for them. Do not check for +Inf in case not
37255 reachable for +Inf.
37256 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37257 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37258 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37259 and return -1 for them. Do not check for +Inf in case not
37260 reachable for +Inf.
37261 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37262 define.
37263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37264 and return -1 for them. Do not check for +Inf in case not
37265 reachable for +Inf.
37266 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37267 spurious underflow.
37268 * sysdeps/i386/fpu/libm-test-ulps: Update.
37269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37270
372712012-07-06 Mike Frysinger <vapier@gentoo.org>
37272
37273 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37274
372752012-07-05 Joseph Myers <joseph@codesourcery.com>
37276
37277 [BZ #14157]
37278 [BZ #14331]
37279 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37280 could result in spurious underflow. Scale down values above
37281 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37282 * math/s_csqrtf.c (__csqrtf): Likewise.
37283 * math/s_csqrtl.c (__csqrtl): Likewise.
37284 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37285 spurious underflow.
37286 * sysdeps/i386/fpu/libm-test-ulps: Update.
37287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37288
372892012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37290
37291 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37292 xopen-msg.sed.
37293 * catgets/xopen-msg.awk: New file.
37294 * catgets/xopen-msg.sed: Removed.
37295
37296 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37297 po2text.sed.
37298 * intl/po2test.awk: New file.
37299 * intl/po2test.sed: Removed.
37300
373012012-07-04 Joseph Myers <joseph@codesourcery.com>
37302
37303 [BZ #14328]
37304 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37305 or multiply small sinh result by itself.
37306 * math/s_ctanf.c (__ctanf): Likewise.
37307 * math/s_ctanh.c (__ctanh): Likewise.
37308 * math/s_ctanhf.c (__ctanhf): Likewise.
37309 * math/s_ctanhl.c (__ctanhl): Likewise.
37310 * math/s_ctanl.c (__ctanl): Likewise.
37311 * math/libm-test.inc (ctan_test_tonearest): New function.
37312 (ctan_test_towardzero): Likewise.
37313 (ctan_test_downward): Likewise.
37314 (ctan_test_upward): Likewise.
37315 (ctanh_test_tonearest): Likewise.
37316 (ctanh_test_towardzero): Likewise.
37317 (ctanh_test_downward): Likewise.
37318 (ctanh_test_upward): Likewise.
37319 (main): Call these new functions.
37320 * sysdeps/i386/fpu/libm-test-ulps: Update.
37321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37322
373232012-07-03 Mike Frysinger <vapier@gentoo.org>
37324
37325 * .gitignore: Delete /ports entry.
37326
373272012-07-03 Andreas Jaeger <aj@suse.de>
37328
37329 * po/bg.po: Update from translation team.
37330 * po/cs.po: Likewise.
37331 * po/de.po: Likewise.
37332 * po/hr.po: Likewise.
37333 * po/nl.pl: Likewise.
37334 * po/pl.po: Likewise.
37335 * po/vi.po: Likewise.
37336
373372012-07-03 Joseph Myers <joseph@codesourcery.com>
37338
37339 * Makeconfig [!+link] (+link-before-libc): New variable.
37340 [!+link] (+link-after-libc): Likewise.
37341 [!+link] (+link-tests): Likewise.
37342 [!+link] (+link): Define in terms of $(+link-before-libc) and
37343 $(+link-after-libc).
37344 [!+link-static] (+link-static-before-libc): New variable.
37345 [!+link-static] (+link-static-after-libc): Likewise.
37346 [!+link-static] (+link-static-tests): Likewise.
37347 [!+link-static] (+link-static): Define in terms of
37348 $(+link-static-before-libc) and $(+link-static-after-libc).
37349 [build-shared] (link-libc-before-gnulib): New variable.
37350 [build-shared] (link-libc-tests): Likewise.
37351 [build-shared] (link-libc): Define in terms of
37352 $(link-libc-before-gnulib).
37353 [!build-shared] (link-libc-tests): New variable.
37354 (link-libc-static-tests): New variable.
37355 [!gnulib] (gnulib-arch): New variable.
37356 [!gnulib] (gnulib-tests): Likewise.
37357 [!gnulib] (static-gnulib-arch): Likewise.
37358 [!gnulib] (static-gnulib-tests): Likewise.
37359 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37360 Define with "=" instead of ":=".
37361 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37362 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37363 * Rules (binaries-all-notests): New variable.
37364 (binaries-all-tests): Likewise.
37365 (binaries-static-notests): Likewise.
37366 (binaries-static-tests): Likewise.
37367 (binaries-all): Define using $(binaries-all-notests) and
37368 $(binaries-all-tests).
37369 (binaries-static): Define using $(binaries-static-notests) and
37370 $(binaries-static-tests).
37371 (binaries-shared-tests): New variable.
37372 (binaries-shared-notests): Likewise.
37373 (binaries-shared): Remove variable.
37374 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37375 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37376 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37377 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37378 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37379 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37380 * elf/Makefile (sln-modules): New variable.
37381 (extra-objs): Add $(sln-modules:=.o).
37382 (ldconfig-modules): Add static-stubs.
37383 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37384 * elf/static-stubs.c: New file.
37385
37386 [BZ #14283]
37387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37388 by 7 not 8 to examine high bit of fractional part. Use volatile
37389 variables when splitting into final array of floats if
37390 __FLT_EVAL_METHOD__ != 0.
37391 * math/libm-test.inc (cos_test): Add another test.
37392 (sin_test): Likewise.
37393 * sysdeps/i386/fpu/libm-test-ulps: Update.
37394
37395 [BZ #14273]
37396 * math/libm-test.inc (cosh_test): Add more tests.
37397
37398 * version.h (RELEASE): Set to "development".
37399 (VERSION): Set to "2.16.90".
37400
374012012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37402
37403 * NEWS: Update copyright. Remove last-updated date.
37404 Mention math library bug fixes and timezone data changes.
37405 * README: Mention GNU/Hurd, x32, and HPPA support status.
37406
374072012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37408
37409 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37410
374112012-06-27 Andreas Jaeger <aj@suse.de>
37412
37413 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37414
374152012-06-25 Andreas Jaeger <aj@suse.de>
37416
37417 * sysdeps/s390/fpu/libm-test-ulps: Update.
37418
374192012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37420 Thomas Schwinge <thomas@codesourcery.com>
37421
37422 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37423 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37424 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37425 fanotify_mark.
37426
374272012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37428
37429 * sysdeps/mach/start.c: Remove file.
37430 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37431 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37432 * sysdeps/sh/init-first.c: Likewise.
37433
37434 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37435 registers for frame unwinding purposes, add CFI directives.
37436 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37437 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37438 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37439 Likewise.
37440
37441 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37442 __fortify_fail returning.
37443 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37444
37445 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37446 sysdeps/sh/____longjmp_chk.S.
37447 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37448 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37449 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37450 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37451
37452 * sysdeps/sh/abort-instr.h: New file.
37453 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37454 process in case exit returns.
37455
37456 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37457 initialize the GOT register before use.
37458
37459 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37460 calculation of ARGC > 4.
37461
37462 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37463 meaningful names to some local labels.
37464
374652012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37466 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37467
37468 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37469 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37470 (__arch_compare_and_exchange_val_16_acq): Likewise.
37471 (__arch_compare_and_exchange_val_32_acq): Likewise.
37472 (atomic_exchange_and_add): Fix gUSA sequence.
37473 (atomic_add): Likewise.
37474 (atomic_add_negative): Likewise.
37475 (atomic_add_zero): Likewise.
37476 (atomic_bit_test_set): Likewise.
37477
374782012-06-22 Andreas Schwab <schwab@redhat.com>
37479
37480 [BZ #13579]
37481 * include/link.h (struct link_map): Add l_free_initfini.
37482 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37483 l_initfini.
37484 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37485 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37486 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37487 set.
37488
374892012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37490
37491 * configure.in: Use AC_LANG_SOURCE.
37492 * configure: Regenerate.
37493
374942012-06-22 Roland McGrath <roland@hack.frob.com>
37495
37496 * configure.in (libc_cv_localstatedir): New substituted variable.
37497 * configure: Regenerated.
37498 * config.make.in (localstatedir): New variable, substituted from
37499 libc_cv_localstatedir.
37500 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37501 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37502 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37503 * sysdeps/gnu/configure: Regenerated.
37504
375052012-06-21 Jeff Law <law@redhat.com>
37506
37507 [BZ #14277]
37508 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37509 free. Simplify list management for _LIBC case.
37510
375112012-06-21 Joseph Myers <joseph@codesourcery.com>
37512
37513 [BZ #14273]
37514 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37515 Clear sign bit of 64-bit integer value before comparing against
37516 overflow value.
37517
37518 * sysdeps/mach/configure: Regenerated.
37519
375202012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37521
37522 [BZ #14278]
37523 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37524
375252012-06-21 Jeff Law <law@redhat.com>
37526
37527 [BZ #13882]
37528 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37529 uint16_t for elements in the "seen" array to avoid char overflows.
37530 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37531 * elf/dl-open.c (dl_open_worker): Likewise.
37532
375332012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37534
37535 * scripts/list-sources.sh: Scan PORTS for translations.
37536 * po/libc.pot: Regenerated.
37537
375382012-06-21 Andreas Jaeger <aj@suse.de>
37539
37540 [BZ #12194]
37541 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37542 warning.
37543 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37544 * bits/byteswap-16.h (__bswap_16): Likewise.
37545 * bits/byteswap.h (__bswap_constant_16): Likewise.
37546
375472012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37548
37549 [BZ #14117]
37550 * sysdeps/i386/fpu_control.h: Removed.
37551 * sysdeps/x86_64/fpu_control.h: Moved to ...
37552 * sysdeps/x86/fpu_control.h: Here.
37553
37554 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37555 (_FPU_SETCW): Likewise.
37556
375572012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37558
37559 [BZ #14117]
37560 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37561 * sysdeps/x86/fpu/bits/mathinline.h: This.
37562 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37563
37564 [BZ #14050]
37565 [BZ #14117]
37566 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37567 functions if __x86_64__ is defined.
37568
375692012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37570
37571 * string/endian.h: Add !__ASSEMBLER__ condition for including
37572 conversion interfaces.
37573
375742012-06-15 Joseph Myers <joseph@codesourcery.com>
37575
37576 [BZ #14241]
37577 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37578 of ABS(x) in calculating zero to negative powers other than odd
37579 integers.
37580 * math/libm-test.inc (pow_test): Add more tests.
37581
375822012-06-15 Andreas Jaeger <aj@suse.de>
37583
37584 * manual/contrib.texi (Contributors): Update entry of Liubov
37585 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37586 Machado Filho.
37587
375882012-06-15 Cyril Hrubis <metan@ucw.cz>
37589
37590 * string/string.h: Add __wur to GNU version of strerror_r.
37591
375922012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37593
37594 [BZ #14229]
37595 * string/Makefile (tests): Add tst-strtok_r.
37596 * string/tst-strtok_r.c: New file.
37597 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37598 RAX_LP/RDX_LP on SAVE_PTR.
37599
376002012-06-14 Roland McGrath <roland@hack.frob.com>
37601
37602 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37603
376042012-06-14 Joseph Myers <joseph@codesourcery.com>
37605
37606 * libm_test.inc (csqrt_test): Allow more spurious underflow
37607 exceptions.
37608 (j0_test): Likewise.
37609 (j1_test): Likewise.
37610 (y0_test): Likewise.
37611 (y1_test): Likewise.
37612
376132012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37614
37615 * po/Makefile (libc.pot): Use UTF-8 charset.
37616
376172012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37618
37619 [BZ #14210]
37620 Suppress sign-conversion warning from FD_SET.
37621 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37622 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37623 not unsigned long int.
37624 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37625
376262012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37627
37628 [BZ #14050]
37629 [BZ #14117]
37630 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37631 __extern_always_inline instead of __extern_inline.
37632 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37633 (__signbit): Likewise.
37634 (__signbitl): Support C++ namespace.
37635 (lrintf): New inline function.
37636 (lrint): Likewise.
37637 (llrintf): Likewise.
37638 (llrint): Likewise.
37639 (fmaxf): Likewise.
37640 (fmax): Likewise.
37641 (fminf): Likewise.
37642 (fmin): Likewise.
37643 (rint): Likewise.
37644 (rintf): Likewise.
37645 (ceil): Likewise.
37646 (ceilf): Likewise.
37647 (floor): Likewise.
37648 (floorf): Likewise.
37649 (nearbyint): Likewise.
37650 (nearbyintf): Likewise.
37651
376522012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37653
37654 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37655 non-default versions.
37656
376572012-06-11 Roland McGrath <roland@hack.frob.com>
37658
37659 [BZ #14218]
37660 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37661
376622012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37663
37664 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37665 (FE_UPWARD, FE_DOWNWARD): Don't define.
37666 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37667 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37668
37669 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37670 reading it.
37671 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37672 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37673
376742012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37675
37676 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37678 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37679 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37680
376812012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37682
37683 [BZ #14117]
37684 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37685 * sysdeps/i386/fpu/Implies: New file.
37686 * sysdeps/x86_64/fpu/Implies: Likewise.
37687 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37688 * sysdeps/x86/fpu/bits/fenv.h: This.
37689
37690 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37691 __SSE_MATH__.
37692
376932012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37694
37695 [BZ #14134]
37696 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37697 character 0xffff that matches the last element of the
37698 conversion table.
37699
377002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37701
37702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37703 fmodl commit.
37704
377052012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37706
37707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37708 values higher than 25.6283.
37709
377102012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37711
37712 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37713 subnormal exponent extraction and add some __builtin_expect.
37714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37715 Fix for subnormal mantissa calculation.
37716
377172012-06-04 Mike Frysinger <vapier@gentoo.org>
37718
37719 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37720 cpu2 is -1 and errno is not ENOSYS.
37721
377222012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37723
37724 [BZ #14117]
37725 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37726 * sysdeps/x86/bits/string.h: This.
37727 * sysdeps/x86_64/bits/string.h: Removed.
37728
37729 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37730 if not compiling for x86-64, but compiling for >= i486.
37731
37732 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37733 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37734
37735 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37736 New macro from Linux kernel 3.4.0.
37737 (FP_XSTATE_MAGIC2): Likewise.
37738 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37739 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37740 (struct _fpx_sw_bytes): New struct.
37741 (struct _xsave_hdr): Likewise.
37742 (struct _ymmh_state): Likewise.
37743 (struct _xstate): Likewise.
37744
37745 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37746 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37748 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37749 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37750 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37751
37752 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37753 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37754 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37755 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37756 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37757 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37758
377592012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37760
37761 [BZ #13743]
37762 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37763 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37764 (sysdep_headers): Include sys/platform/ppc.h.
37765 * sysdeps/powerpc/test-gettimebase.c: Test for
37766 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37767 * manual/Makefile (appendices): Include platform.texi.
37768 * manual/contrib.texi (Contributors): Update @node pointers.
37769 * manual/maint.texi (Maintenance): Likewise.
37770 (Platform): New node.
37771 * manual/platform.texi: New file. Document the new features.
37772
377732012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37774 Jakub Jelinek <jakub@redhat.com>
37775
37776 [BZ #14188]
37777 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37778 where __builtin_expect is unavailable.
37779
377802012-06-03 David S. Miller <davem@davemloft.net>
37781
37782 * stdlib/longlong.h: Updated from GCC.
37783
377842012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37785
37786 [BZ #14042]
37787 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37788 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37789 __mcount_internal.
37790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37791 (GLIBC_2.16): Likewise.
37792
377932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37794
37795 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37796
377972012-06-01 Joseph Myers <joseph@codesourcery.com>
37798
37799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37800 (default-abi): New variable.
37801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37802 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37803 variable.
37804 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37805 Likewise.
37806 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37807 Likewise.
37808 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37809 Likewise.
37810
37811 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37812 definition. Document in comment.
37813
378142012-06-01 David S. Miller <davem@davemloft.net>
37815
37816 * stdlib/longlong.h: Updated from GCC.
37817
378182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37819
37820 [BZ #14117]
37821 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37822 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37823 sys/debugreg.h sys/io.h here.
37824 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37825 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37826 sys/io.h.
37827 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37828 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37829 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37830 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37831 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37832 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37833
37834 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37835 Define only if __x86_64__ is defined.
37836
378372012-06-01 Joseph Myers <joseph@codesourcery.com>
37838
37839 [BZ #14048]
37840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37841 Use int64_t for variable i.
37842 * math/libm-test.inc (fmod_test): Add more tests.
37843
37844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37845 z computation is not scheduled after fetestexcept.
37846 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37847 Use math_force_eval instead of asm to ensure calculation scheduled
37848 before exception test.
37849 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37850 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37851
378522012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37853
37854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37855 computation is not scheduled after fetestexcept.
37856
378572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37858
37859 [BZ #14117]
37860 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37861 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37862
378632012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37864
37865 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37866 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37867
378682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37869
37870 [BZ #14117]
37871 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37872 <bits/wordsize.h>.
37873 (__WCHAR_MIN): Support __WORDSIZE == 64.
37874 (__WCHAR_MAX): Likewise.
37875
37876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37877 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37878
37879 [BZ #14183]
37880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37881 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37882
37883 [BZ #14117]
37884 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37886
37887 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37888 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37889
37890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37891 Defined to 1 if __x86_64__ isn't defined.
37892 (_STAT_VER_LINUX_OLD): New.
37893 (st_atime): Remove duplicate.
37894 (st_mtime): Likewise.
37895 (st_ctime): Likewise.
37896
378972012-05-31 David S. Miller <davem@davemloft.net>
37898
37899 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37900 entries.
37901
379022012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37903
37904 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37905 gen-libm-test.pl.
37906
37907 [BZ #14132]
37908 * elf/dl-reloc.c: Include <_itoa.h>.
37909 (_dl_reloc_bad_type): Remove use of INTUSE.
37910 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37911 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37912 * stdio-common/psiginfo.c (psiginfo): Likewise.
37913 * stdio-common/psignal.c (psignal): Likewise.
37914 * string/strsignal.c (strsignal): Likewise.
37915 * include/signal.h (_sys_siglist): Declare hidden proto.
37916 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37917 INTVARDEF with libc_hidden_data_def.
37918 * stdio-common/itoa-udigits.c: Likewise.
37919 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37920 (_itoa_lower_digits_internal): Remove declaration.
37921 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37922 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37923 (_sys_sigabbrev_internal): Remove aliases.
37924 (_sys_siglist): Define hidden alias.
37925
379262012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37927
37928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37929 bits/sysctl.h.
37930
379312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37932
37933 [BZ #14117]
37934 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37935 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37936
37937 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37938 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37939 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37940 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37942 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37943
37944 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37945 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37946 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37947
37948 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37949 with __addr.
37950 (insw): Likewise.
37951 (insl): Likewise.
37952 (outsb): Likewise.
37953 (outsw): Likewise.
37954 (outsl): Likewise.
37955
37956 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37957 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37958 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37959
37960 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37961 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37962 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37963 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37964 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37965 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37966
37967 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37968 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37969
37970 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37971 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37972
37973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37975 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37976
37977 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37978 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37979 to ...
37980 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37981
37982 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37983 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37984 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37985
37986 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37987 for x86-64.
37988 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37989
379902012-05-31 Joseph Myers <joseph@codesourcery.com>
37991
37992 * math/math.h (M_El): Use two more decimal places.
37993 (M_LOG2El): Likewise.
37994 (M_LOG10El): Likewise.
37995 (M_LN2l): Likewise.
37996 (M_LN10l): Likewise.
37997 (M_PIl): Likewise.
37998 (M_PI_2l): Likewise.
37999 (M_PI_4l): Likewise.
38000 (M_1_PIl): Likewise.
38001 (M_2_PIl): Likewise.
38002 (M_2_SQRTPIl): Likewise.
38003 (M_SQRT2l): Likewise.
38004 (M_SQRT1_2l): Likewise.
38005
380062012-05-31 David S. Miller <davem@davemloft.net>
38007
38008 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38009 values between float registers.
38010 * sysdeps/sparc/sparc64/memset.S: Likewise.
38011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38012
380132012-05-31 Mike Frysinger <vapier@gentoo.org>
38014
38015 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38016 -D_FORTIFY_SOURCE=1.
38017 (CPPFLAGS-tst-longjmp_chk.c): Define.
38018 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38019 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38020 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38021 CFLAGS-tst-wchar-h.c.
38022
380232012-05-31 Marek Polacek <polacek@redhat.com>
38024
38025 [BZ #14132]
38026 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38027 __endmntent_internal): Remove declaration.
38028 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38029 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38030 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38031
380322012-05-30 David S. Miller <davem@davemloft.net>
38033
38034 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38035 (___Q_simulate_exceptions): Use real FP ops rather than writing
38036 into the %fsr.
38037 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38038 Likewise.
38039
380402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38041
38042 [BZ #14117]
38043 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38044 * sysdeps/x86/bits/xtitypes.h: This.
38045
38046 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38047 * sysdeps/x86/bits/wordsize.h: This.
38048
38049 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38050 * sysdeps/x86/bits/huge_vall.h: This.
38051
38052 * sysdeps/i386/bits/select.h: Removed.
38053 * sysdeps/x86_64/bits/select.h: Renamed to ...
38054 * sysdeps/x86/bits/select.h: This.
38055
38056 * sysdeps/i386/bits/setjmp.h: Removed.
38057 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38058 * sysdeps/x86/bits/setjmp.h: This.
38059
38060 * sysdeps/i386/bits/mathdef.h: Removed.
38061 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38062 * sysdeps/x86/bits/mathdef.h: This.
38063
380642012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38065
38066 [BZ #14132]
38067 * include/sys/socket.h (__connect_internal)
38068 (__libc_sa_len_internal): Remove declaration.
38069 (__connect, __libc_sa_len): Declare hidden_proto.
38070 (SA_LEN): Remove use of INTUSE.
38071 * socket/connect.c: Add libc_hidden_def.
38072 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38073 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38074 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38075 alias.
38076 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38077 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38078 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38079 of adding _internal alias.
38080
380812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38082
38083 [BZ #14117]
38084 * sysdeps/i386/bits/link.h: Removed.
38085 * sysdeps/i386/bits/linkmap.h: Likewise.
38086 * sysdeps/x86_64/bits/link.h: Renamed to ...
38087 * sysdeps/x86/bits/link.h: This.
38088 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38089 * sysdeps/x86/bits/linkmap.h: This.
38090
38091 * sysdeps/i386/bits/endian.h: Removed.
38092 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38093 * sysdeps/x86/bits/endian.h: This.
38094
38095 * sysdeps/i386/bits/byteswap.h: Removed.
38096 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38097 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38098 * sysdeps/x86/bits/byteswap.h: This.
38099 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38100 * sysdeps/x86/bits/byteswap-16.h: This.
38101 * sysdeps/i386/Implies: Add x86.
38102 * sysdeps/x86_64/Implies: Likewise.
38103
381042012-05-30 David S. Miller <davem@davemloft.net>
38105
38106 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38107 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38108 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38109 (FP_TRAPPING_EXCEPTIONS): Define.
38110 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38111 (FP_TRAPPING_EXCEPTIONS): Define.
38112 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38113 subnormals only when inexact has been signalled or underflow
38114 exceptions are enabled.
38115 (_FP_PACK_CANONICAL): Likewise.
38116
381172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38118
38119 [BZ #14183]
38120 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38121 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38122
381232012-05-30 Richard Henderson <rth@twiddle.net>
38124
38125 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38126 with #ifndef NOT_IN_libc.
38127
38128 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38129 marked to avoid plt entry.
38130
381312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38132
38133 [BZ #14112]
38134 * Makeconfig (default-abi): New macro.
38135 (abi-includes): Likewise.
38136 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38137 $(abi-$(default-abi)-lib-soname) for soname if defined.
38138 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38139 abi-variants.
38140 * Makefile (installed-stubs): Likewise.
38141 * include/stubs-biarch.h: Removed.
38142 * scripts/lib-names.awk: Only handle one library at a time.
38143 * scripts/soversions.awk: Remove WORDSIZE support.
38144 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38145 entries.
38146 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38147 Removed.
38148 (syscall-list-default-condition): Likewise.
38149 (syscall-list-default-condition): Likewise.
38150 (syscall-list-includes): Likewise.
38151 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38152 syscall-list-* with abi-*. Handle undefined abi-variants.
38153 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38154 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38155 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38156 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38157 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38158 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38159 Removed.
38160 (syscall-list-32-options): Likewise.
38161 (syscall-list-32-condition): Likewise.
38162 (syscall-list-64-options): Likewise.
38163 (syscall-list-64-condition): Likewise.
38164 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38165 macro.
38166 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38167 Renamed to ...
38168 (abi-*): This.
38169 (abi-64-ld-soname): New macro.
38170 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38172 Renamed to ...
38173 (abi-*): This.
38174 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38175 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38176
381772012-05-30 Joseph Myers <joseph@codesourcery.com>
38178
38179 * sysdeps/unix/sysv/linux/kernel-features.h
38180 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38181 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38182 include <kernel-features.h>.
38183 [!__NR_ftruncate64]: Remove conditional code.
38184 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38185 [__NR_ftruncate64]: Make code unconditional.
38186 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38187 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38188 include <kernel-features.h>.
38189 [!__NR_ftruncate64]: Remove conditional code.
38190 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38191 [__NR_ftruncate64]: Make code unconditional.
38192 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38194 include <kernel-features.h>.
38195 [!__NR_ftruncate64]: Remove conditional code.
38196 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38197 [__NR_ftruncate64]: Make code unconditional.
38198 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38200 include <kernel-features.h>.
38201 [!__NR_ftruncate64]: Remove conditional code.
38202 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38203 [__NR_ftruncate64]: Make code unconditional.
38204 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38205
38206 * configure.in (libc_cv_fpie): Weaken to a compile test using
38207 LIBC_TRY_CC_OPTION.
38208 * configure: Regenerated.
38209
382102012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38211
38212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38216 Refreshed.
38217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38223 Refreshed.
38224
382252012-05-27 David S. Miller <davem@davemloft.net>
38226
38227 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38228 (___Q_zero): New.
38229 (__Q_simulate_exceptions): Return void. Change to simulate
38230 exceptions by writing into the %fsr.
38231 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38232 (__Qp_handle_exceptions): Likewise.
38233 (numbers): Delete.
38234 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38235 __Qp_handle_exceptions.
38236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38237 __Qp_handle_exceptions.
38238 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38239 as unused and give dummy FP_RND_NEAREST initializer.
38240 (FP_INHIBIT_RESULTS): Define.
38241 (___Q_simulate_exceptions): Update declaration.
38242 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38243 formatting.
38244 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38245 as unused and give dummy FP_RND_NEAREST initializer.
38246 (__Qp_handle_exceptions): Update declaration.
38247 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38248 formatting.
38249
382502012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38251
38252 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38253 the temporary FPU control word.
38254 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38255 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38256 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38257 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38258 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38259 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38260 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38261 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38262 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38263 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38264 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38265
382662012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38267
38268 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38269 fields.
38270
382712012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38272
38273 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38274 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38275 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38276 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38277 Likewise.
38278 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38279 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38280 Likewise.
38281
382822012-05-27 Ulrich Drepper <drepper@gmail.com>
38283
38284 * po/h.po: Update from translation team.
38285
382862012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38287
38288 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38289
38290 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38291 handling of denormals.
38292 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38293 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38294 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38295 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38298 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38299 Likewise.
38300
383012012-05-26 Marek Polacek <polacek@redhat.com>
38302
38303 [BZ #14152]
38304 * math/libm-test.inc (fma_test): Don't always expect underflow
38305 exception.
38306
383072012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38308
38309 [BZ #12416]
38310 * elf/tst-execstack.c: Include stackinfo.h.
38311 (do_test): Adjust test case to ensure that pthread_getattr_np
38312 behaviour remains the same after marking stack executable.
38313
383142012-05-25 Joseph Myers <joseph@codesourcery.com>
38315
38316 * sysdeps/unix/sysv/linux/kernel-features.h
38317 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38318 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38319 kernel-features.h.
38320 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38321 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38322 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38323 kernel-features.h.
38324 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38325 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38326
383272012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38328
38329 * configure.in: Define the default includes to being none.
38330 * configure: Regenerated.
38331
383322012-05-25 Roland McGrath <roland@hack.frob.com>
38333
38334 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38335 * sysdeps/x86_64/setjmp.S: Likewise.
38336 * sysdeps/i386/bsd-setjmp.S: Likewise.
38337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38338 * sysdeps/i386/setjmp.S: Likewise.
38339 * sysdeps/i386/__longjmp.S: Likewise.
38340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38341 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38342
38343 * include/stap-probe.h: New file.
38344 * configure.in: Handle --enable-systemtap.
38345 * configure: Regenerated.
38346 * config.h.in (USE_STAP_PROBE): New #undef.
38347 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38348 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38349 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38350
383512012-05-25 Joseph Myers <joseph@codesourcery.com>
38352
38353 [BZ #13717]
38354 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38355 to 2.4.0 where earlier.
38356 * sysdeps/unix/sysv/linux/configure: Regenerated.
38357 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38358 <kernel-features.h>.
38359 [__ASSUME_32BITUIDS]: Make code unconditional.
38360 [!__ASSUME_32BITUIDS]: Remove conditional code.
38361 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38362 <kernel-features.h>.
38363 [__ASSUME_32BITUIDS]: Make code unconditional.
38364 [!__ASSUME_32BITUIDS]: Remove conditional code.
38365 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38366 [__ASSUME_32BITUIDS]: Make code unconditional.
38367 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38368 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38369 <kernel-features.h>.
38370 [__ASSUME_32BITUIDS]: Make code unconditional.
38371 [!__ASSUME_32BITUIDS]: Remove conditional code.
38372 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38373 <kernel-features.h>.
38374 [__ASSUME_32BITUIDS]: Make code unconditional.
38375 [!__ASSUME_32BITUIDS]: Remove conditional code.
38376 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38377 <kernel-features.h>.
38378 [__ASSUME_32BITUIDS]: Make code unconditional.
38379 [!__ASSUME_32BITUIDS]: Remove conditional code.
38380 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38381 <kernel-features.h>.
38382 [__ASSUME_32BITUIDS]: Make code unconditional.
38383 [!__ASSUME_32BITUIDS]: Remove conditional code.
38384 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38385 <kernel-features.h>.
38386 [__ASSUME_32BITUIDS]: Make code unconditional.
38387 [!__ASSUME_32BITUIDS]: Remove conditional code.
38388 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38389 <kernel-features.h>.
38390 [__ASSUME_32BITUIDS]: Make code unconditional.
38391 [!__ASSUME_32BITUIDS]: Remove conditional code.
38392 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38393 <kernel-features.h>.
38394 [__ASSUME_32BITUIDS]: Make code unconditional.
38395 [!__ASSUME_32BITUIDS]: Remove conditional code.
38396 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38397 <kernel-features.h>.
38398 [__ASSUME_32BITUIDS]: Make code unconditional.
38399 [!__ASSUME_32BITUIDS]: Remove conditional code.
38400 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38401 <kernel-features.h>.
38402 [__ASSUME_32BITUIDS]: Make code unconditional.
38403 [!__ASSUME_32BITUIDS]: Remove conditional code.
38404 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38405 <kernel-features.h>.
38406 [__ASSUME_32BITUIDS]: Make code unconditional.
38407 [!__ASSUME_32BITUIDS]: Remove conditional code.
38408 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38409 <kernel-features.h>.
38410 [__NR_setresgid] (__setresgid): Do not declare.
38411 [__ASSUME_32BITUIDS]: Make code unconditional.
38412 [!__ASSUME_32BITUIDS]: Remove conditional code.
38413 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38414 <kernel-features.h>.
38415 [__NR_setresuid] (__setresuid): Do not declare.
38416 [__ASSUME_32BITUIDS]: Make code unconditional.
38417 [!__ASSUME_32BITUIDS]: Remove conditional code.
38418 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38419 <kernel-features.h>.
38420 [__ASSUME_32BITUIDS]: Make code unconditional.
38421 [!__ASSUME_32BITUIDS]: Remove conditional code.
38422 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38423 <kernel-features.h>.
38424 [__ASSUME_32BITUIDS]: Make code unconditional.
38425 [!__ASSUME_32BITUIDS]: Remove conditional code.
38426 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38427 <kernel-features.h>.
38428 [__ASSUME_32BITUIDS]: Make code unconditional.
38429 [!__ASSUME_32BITUIDS]: Remove conditional code.
38430 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38431 <kernel-features.h>.
38432 [__ASSUME_32BITUIDS]: Make code unconditional.
38433 [!__ASSUME_32BITUIDS]: Remove conditional code.
38434 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38435 <kernel-features.h>.
38436 [__ASSUME_32BITUIDS]: Make code unconditional.
38437 [!__ASSUME_32BITUIDS]: Remove conditional code.
38438 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38439 <kernel-features.h>.
38440 [__ASSUME_32BITUIDS]: Make code unconditional.
38441 [!__ASSUME_32BITUIDS]: Remove conditional code.
38442 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38443 <kernel-features.h>.
38444 [__ASSUME_32BITUIDS]: Make code unconditional.
38445 [!__ASSUME_32BITUIDS]: Remove conditional code.
38446 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38447 <kernel-features.h>.
38448 [__ASSUME_32BITUIDS]: Make code unconditional.
38449 [!__ASSUME_32BITUIDS]: Remove conditional code.
38450 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38451 <kernel-features.h>.
38452 [__ASSUME_32BITUIDS]: Make code unconditional.
38453 [!__ASSUME_32BITUIDS]: Remove conditional code.
38454 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38455 <kernel-features.h>.
38456 [__ASSUME_32BITUIDS]: Make code unconditional.
38457 [!__ASSUME_32BITUIDS]: Remove conditional code.
38458 * sysdeps/unix/sysv/linux/kernel-features.h
38459 (__ASSUME_SETRESUID_SYSCALL): Remove.
38460 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38461 (__ASSUME_32BITUIDS): Likewise.
38462 (__ASSUME_LDT_WORKS): Likewise.
38463 (__ASSUME_O_DIRECTORY): Likewise.
38464 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38465 architecture but not kernel version.
38466 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38467 (__ASSUME_MMAP2_SYSCALL): Likewise.
38468 (__ASSUME_STAT64_SYSCALL): Likewise.
38469 (__ASSUME_IPC64): Likewise.
38470 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38471 <kernel-features.h>.
38472 [__ASSUME_32BITUIDS]: Make code unconditional.
38473 [!__ASSUME_32BITUIDS]: Remove conditional code.
38474 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38475 <kernel-features.h>.
38476 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38477 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38478 132096]: Remove conditional code.
38479 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38480 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38481 <kernel-features.h>.
38482 [__ASSUME_32BITUIDS]: Make code unconditional.
38483 [!__ASSUME_32BITUIDS]: Remove conditional code.
38484 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38485 <kernel-features.h>.
38486 [__ASSUME_32BITUIDS]: Make code unconditional.
38487 [!__ASSUME_32BITUIDS]: Remove conditional code.
38488 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38489 <kernel-features.h>.
38490 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38491 unconditional.
38492 (__setresgid): Do not declare.
38493 [__ASSUME_32BITUIDS]: Make code unconditional.
38494 [!__ASSUME_32BITUIDS]: Remove conditional code.
38495 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38496 <kernel-features.h>.
38497 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38498 unconditional.
38499 (__setresuid): Do not declare.
38500 [__ASSUME_32BITUIDS]: Make code unconditional.
38501 [!__ASSUME_32BITUIDS]: Remove conditional code.
38502 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38503 <kernel-features.h>.
38504 [__ASSUME_32BITUIDS]: Make code unconditional.
38505 [!__ASSUME_32BITUIDS]: Remove conditional code.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38507 <kernel-features.h>.
38508 [__ASSUME_32BITUIDS]: Make code unconditional.
38509 [!__ASSUME_32BITUIDS]: Remove conditional code.
38510
385112012-05-25 Richard Henderson <rth@twiddle.net>
38512
38513 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38514 dl_hwcap to ifunc resolver.
38515 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38516 elf_ifunc_invoke.
38517 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38518 dl_hwcap to ifunc resolver.
38519 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38520
385212012-05-24 Joseph Myers <joseph@codesourcery.com>
38522
38523 [BZ #14153]
38524 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38525 for |x| <= 2**-26, not 2**-57.
38526 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38527 exception.
38528
385292012-05-24 Jeff Law <law@redhat.com>
38530
38531 * stdio-common/Makefile (tests): Add bug25.
38532 * stdio-common/bug25.c: New test.
38533
385342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38535
38536 [BZ #13576]
38537 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38538 multiple of MALLOC_ALIGNMENT in size.
38539 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38540
385412012-05-24 Joseph Myers <joseph@codesourcery.com>
38542
38543 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38544 Require >= 256.
38545 (FILENAME_MAX): Use macro-int-constant.
38546 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38547 (_IOFBF): Use macro-int-constant.
38548 (_IOLBF): Likewise.
38549 (_IONBF): Likewise.
38550 (SEEK_CUR): Likewise.
38551 (SEEK_END): Likewise.
38552 (SEEK_SET): Likewise.
38553 (TMP_MAX): Likewise.
38554 (EOF): Use macro-int-constant. Require < 0.
38555 (NULL): Use macro-constant. Require == 0.
38556 (stdin): Require type to be FILE *.
38557 (stdout): Likewise.
38558 (stderr): Likewise.
38559 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38560 macro-int-constant.
38561 (EXIT_SUCCESS): Likewise.
38562 (NULL): Use macro-constant. Require == 0.
38563 (RAND_MAX): Use macro-int-constant.
38564 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38565 [C99-based standards] (strtof): Require function.
38566 [C99-based standards] (strtold): Likewise.
38567 [C99-based standards] (strtoll): Likewise.
38568 [C99-based standards] (strtoull): Likewise.
38569 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38570 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38571 [ISO || ISO99 || ISO11] (math.h): Likewise.
38572 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38573 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38574 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38575
385762012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38577
38578 [BZ #14132]
38579 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38580 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38581 * intl/dgettext.c (DCGETTEXT): Likewise.
38582 * intl/gettext.c (DCGETTEXT): Likewise.
38583 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38584 * posix/regex_internal.h (gettext): Likewise.
38585 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38586 Remove declaration.
38587 * include/argz.h (__argz_count_internal)
38588 (__argz_stringify_internal): Remove declaration.
38589 (__argz_count, __argz_stringify): Declare hidden proto.
38590 * intl/dcgettext.c: Remove use of INTDEF.
38591 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38592 * string/argz-stringify.c: Likewise.
38593 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38594 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38595 Declare hidden proto.
38596 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38597 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38598 Declare hidden proto.
38599 * include/stdio.h (__asprintf_internal): Don't declare.
38600 (__asprintf): Don't define as macro. Declare hidden proto.
38601 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38602 (__fsetlocking): Declare hidden proto.
38603 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38604 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38605 hidden proto.
38606 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38607 (_IO_setlinebuf): Remove use of INTUSE.
38608 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38609 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38610 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38611 Remove declaration.
38612 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38613 (_IO_do_flush): Remove use of INTUSE.
38614 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38615 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38616 (_IO_adjust_column, _IO_least_wmarker)
38617 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38618 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38619 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38620 (_IO_default_doallocate, _IO_wdefault_doallocate)
38621 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38622 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38623 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38624 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38625 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38626 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38627 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38628 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38629 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38630 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38631 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38632 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38633 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38634 proto.
38635 (_IO_flush_all_internal, _IO_adjust_column_internal)
38636 (_IO_default_uflow_internal, _IO_default_finish_internal)
38637 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38638 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38639 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38640 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38641 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38642 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38643 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38644 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38645 (_IO_file_close_internal, _IO_file_close_it_internal)
38646 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38647 (_IO_file_init_internal, _IO_file_attach_internal)
38648 (_IO_file_fopen_internal, _IO_file_read_internal)
38649 (_IO_file_sync_internal, _IO_file_seek_internal)
38650 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38651 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38652 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38653 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38654 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38655 (_IO_list_all_internal, _IO_link_in_internal)
38656 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38657 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38658 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38659 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38660 (_IO_do_write_internal, _IO_padn_internal)
38661 (_IO_getline_info_internal, _IO_getline_internal)
38662 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38663 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38664 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38665 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38666 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38667 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38668 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38669 with libc_hidden_ver, remove use of INTUSE.
38670 * libio/genops.c: Likewise.
38671 * libio/freopen.c: Likewise.
38672 * libio/freopen64.c: Likewise.
38673 * libio/iofclose.c: Likewise.
38674 * libio/iofdopen.c: Likewise.
38675 * libio/iofflush.c: Likewise.
38676 * libio/iofflush_u.c: Likewise.
38677 * libio/iofgets.c: Likewise.
38678 * libio/iofgets_u.c: Likewise.
38679 * libio/iofopen.c: Likewise.
38680 * libio/iofopncook.c: Likewise.
38681 * libio/iofread.c: Likewise.
38682 * libio/iofread_u.c: Likewise.
38683 * libio/ioftell.c: Likewise.
38684 * libio/iofwrite.c: Likewise.
38685 * libio/iogetline.c: Likewise.
38686 * libio/iogets.c: Likewise.
38687 * libio/iogetwline.c: Likewise.
38688 * libio/iopadn.c: Likewise.
38689 * libio/iopopen.c: Likewise.
38690 * libio/ioseekoff.c: Likewise.
38691 * libio/ioseekpos.c: Likewise.
38692 * libio/iosetbuffer.c: Likewise.
38693 * libio/iosetvbuf.c: Likewise.
38694 * libio/ioungetc.c: Likewise.
38695 * libio/ioungetwc.c: Likewise.
38696 * libio/iovdprintf.c: Likewise.
38697 * libio/iovsprintf.c: Likewise.
38698 * libio/iovsscanf.c: Likewise.
38699 * libio/memstream.c: Likewise.
38700 * libio/obprintf.c: Likewise.
38701 * libio/oldfileops.c: Likewise.
38702 * libio/oldiofclose.c: Likewise.
38703 * libio/oldiofdopen.c: Likewise.
38704 * libio/oldiofopen.c: Likewise.
38705 * libio/oldiopopen.c: Likewise.
38706 * libio/oldstdfiles.c: Likewise.
38707 * libio/putc.c: Likewise.
38708 * libio/setbuf.c: Likewise.
38709 * libio/setlinebuf.c: Likewise.
38710 * libio/stdfiles.c: Likewise.
38711 * libio/strops.c: Likewise.
38712 * libio/vasprintf.c: Likewise.
38713 * libio/vscanf.c: Likewise.
38714 * libio/vsnprintf.c: Likewise.
38715 * libio/vswprintf.c: Likewise.
38716 * libio/wfiledoalloc.c: Likewise.
38717 * libio/wfileops.c: Likewise.
38718 * libio/wgenops.c: Likewise.
38719 * libio/wmemstream.c: Likewise.
38720 * libio/wstrops.c: Likewise.
38721 * libio/__fpurge.c: Likewise.
38722 * libio/__fsetlocking.c: Likewise.
38723 * assert/assert.c: Likewise.
38724 * debug/fgets_chk.c: Likewise.
38725 * debug/fgets_u_chk.c: Likewise.
38726 * debug/fread_chk.c: Likewise.
38727 * debug/fread_u_chk.c: Likewise.
38728 * debug/gets_chk.c: Likewise.
38729 * debug/obprintf_chk.c: Likewise.
38730 * debug/vasprintf_chk.c: Likewise.
38731 * debug/vdprintf_chk.c: Likewise.
38732 * debug/vsnprintf_chk.c: Likewise.
38733 * debug/vsprintf_chk.c: Likewise.
38734 * malloc/mtrace.c: Likewise.
38735 * misc/error.c: Likewise.
38736 * misc/syslog.c: Likewise.
38737 * stdio-common/asprintf.c: Likewise.
38738 * stdio-common/fxprintf.c: Likewise.
38739 * stdio-common/getw.c: Likewise.
38740 * stdio-common/isoc99_fscanf.c: Likewise.
38741 * stdio-common/isoc99_scanf.c: Likewise.
38742 * stdio-common/isoc99_vfscanf.c: Likewise.
38743 * stdio-common/isoc99_vscanf.c: Likewise.
38744 * stdio-common/isoc99_vsscanf.c: Likewise.
38745 * stdio-common/printf-prs.c: Likewise.
38746 * stdio-common/printf_fp.c: Likewise.
38747 * stdio-common/printf_fphex.c: Likewise.
38748 * stdio-common/printf_size.c: Likewise.
38749 * stdio-common/putw.c: Likewise.
38750 * stdio-common/scanf.c: Likewise.
38751 * stdio-common/sprintf.c: Likewise.
38752 * stdio-common/tmpfile.c: Likewise.
38753 * stdio-common/vfprintf.c: Likewise.
38754 * stdio-common/vfscanf.c: Likewise.
38755 * stdlib/strfmon_l.c: Likewise.
38756 * sunrpc/openchild.c: Likewise.
38757 * sunrpc/xdr_stdio.c: Likewise.
38758 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38759 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38760
387612012-05-24 Roland McGrath <roland@hack.frob.com>
38762
38763 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38764
38765 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38766 in the third column, to generate for the shared library an IFUNC
38767 that uses _dl_vdso_vsym.
38768 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38769 * Makeconfig (object-suffixes-noshared): New variable.
38770
38771 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38772 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38773 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38774 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38775
38776 [BZ #14132]
38777 * include/sys/time.h (__gettimeofday): Remove macro.
38778 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38779 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38780 Remove INTDEF.
38781 (__gettimeofday): Add libc_hidden_def.
38782 (gettimeofday): Add libc_hidden_weak.
38783 * sysdeps/mach/gettimeofday.c: Likewise.
38784 * sysdeps/posix/gettimeofday.c: Likewise.
38785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38786 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38788 (__gettimeofday_internal): Remove strong_alias.
38789 (__gettimeofday): Add libc_hidden_def.
38790 (gettimeofday): Add libc_hidden_weak.
38791 * sysdeps/unix/syscalls.list (gettimeofday):
38792 Remove __gettimeofday_internal alias.
38793
387942012-05-24 Daniel Jacobowitz <drow@false.org>
38795 H.J. Lu <hongjiu.lu@intel.com>
38796
38797 [BZ #12495]
38798 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38799 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38800 (largebin_index_32_big): New.
38801 (largebin_index): Use it for 16-byte alignment.
38802 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38803 correction with front_misalign.
38804
388052012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38806
38807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38809 Likewise.
38810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38811 Likewise.
38812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38813 Likewise.
38814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38815 Likewise.
38816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38817 Likewise.
38818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38819 Likewise.
38820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38821 Likewise.
38822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38823 Likewise.
38824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38825 Likewise.
38826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38827 Likewise.
38828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38829 Likewise.
38830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38831 Likewise.
38832
38833 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38834 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38835
388362012-05-24 Joseph Myers <joseph@codesourcery.com>
38837
38838 [BZ #10846]
38839 [BZ #14036]
38840 * math/libm-test.inc (exp_test): Add test from bug 14036.
38841 (pow_test): Add test from bug 10846.
38842
38843 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38844 and other flags.
38845 (special_function): Do not include flags in test name.
38846 (parse_args): Likewise.
38847 * sysdeps/i386/fpu/libm-test-ulps: Update.
38848 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38849 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38850 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38852
38853 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38854 exceptions.
38855 * math/libm-test.inc ("Philosophy"): Update comment about
38856 exception testing.
38857 (UNDERFLOW_EXCEPTION): New macro.
38858 (UNDERFLOW_EXCEPTION_OK): Likewise.
38859 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38860 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38861 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38862 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38863 (INVALID_EXCEPTION_OK): Update value.
38864 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38865 (OVERFLOW_EXCEPTION_OK): Likewise.
38866 (IGNORE_ZERO_INF_SIGN): Likewise.
38867 (test_exceptions): Handle underflow exceptions.
38868 (acos_test): Update for underflow exception expectations.
38869 (cexp_test): Likewise.
38870 (clog_test): Likewise.
38871 (clog10_test): Likewise.
38872 (csqrt_test): Likewise.
38873 (ctan_test): Likewise.
38874 (ctanh_test): Likewise.
38875 (exp_test): Likewise.
38876 (exp10_test): Likewise.
38877 (exp2_test): Likewise.
38878 (expm1_test): Likewise.
38879 (fma_test): Likewise.
38880 (j0_test): Likewise.
38881 (jn_test): Likewise.
38882 (nexttoward_test): Likewise.
38883 (pow_test): Likewise.
38884 (scalbn_test): Likewise.
38885 (scalbln_test): Likewise.
38886 (tan_test): Likewise.
38887 (y1_test): Likewise.
38888 * sysdeps/i386/fpu/libm-test-ulps: Update.
38889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38890
388912012-05-23 David S. Miller <davem@davemloft.net>
38892
38893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38894 (__libc_sigaction): Remove unused local variables.
38895
388962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38897
38898 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38899
389002012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38901
38902 mktime: avoid signed integer overflow
38903 * time/mktime.c (__mktime_internal): Do not mishandle the case
38904 where diff == INT_MIN.
38905
38906 mktime: simplify computation of average
38907 * time/mktime.c (ranged_convert): Use new time_t_avg function
38908 instead of rolling our own (probably-slower) code.
38909
38910 mktime: do not assume signed right shift propagates sign bit
38911 * time/mktime.c (isdst_differ): New static function.
38912 (__mktime_internal): No need to normalize tm_isdst now.
38913 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38914 tm_isdst values.
38915
38916 mktime: merge another wrapv change from gnulib
38917 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38918 from some compilers.
38919
38920 mktime: remove incorrect attempt at unusual arithmetics
38921 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38922 The code didn't really work on such machines anyway.
38923 (TYPE_MINIMUM): Assume two's complement.
38924 (twos_complement_arithmetic): Verify that long_int and time_t
38925 are two's complement (or unsigned, in the latter case).
38926
38927 mktime: check signed shifts on long_int and time_t, too
38928 * time/mktime.c (SHR): Check that shifts work as desired
38929 on the types long_int and time_t too, as SHR is used on
38930 such types.
38931
38932 mktime: do not assume 'long' is wide enough
38933 * time/mktime.c (verify): Move decl up.
38934 (long_int): New type.
38935 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38936 to remove assumption in the code that 'long' is wide enough to
38937 store year values. This assumption is not true on x32 and on
38938 some non-glibc platforms.
38939
38940 mktime: merge wrapv change from gnulib
38941 * time/mktime.c (WRAPV): New macro.
38942 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38943 (guess_time_tm, __mktime_internal): Do not assume that signed
38944 integer overflow wraps around; modern compilers generate code
38945 where this assumption is no longer valid.
38946
389472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38948
38949 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38950 Replace "jmp L(pseudo_end)" with "ret".
38951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38952 Likewise.
38953
389542012-05-23 Andreas Jaeger <aj@suse.de>
38955
38956 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38957 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38958
389592012-05-23 Andreas Jaeger <aj@suse.de>
38960 Maximilian Attems <max@stro.at>
38961
38962 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38963 New macros.
38964
389652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38966
38967 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38968 code so that pseudo_end is just ret and the stack pointer is
38969 correct also for static library in error case.
38970
389712012-05-23 Joseph Myers <joseph@codesourcery.com>
38972
38973 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38974 move to syscalls.list.
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38979
38980 * manual/install.texi (Running make install): Do not mention Linux
38981 kernel version for which pt_chown is not needed.
38982 (Linux): Do not mention problems with nscd with 2.0 kernels.
38983 * INSTALL: Regenerated.
38984
389852012-05-23 Andreas Jaeger <aj@suse.de>
38986
38987 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38988 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38989 macro.
38990 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38992 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38993 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38994 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38995 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38997 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38998 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38999 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39000 * sysdeps/unix/sysv/linux/bits/in.h
39001 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39002
390032012-05-22 Roland McGrath <roland@hack.frob.com>
39004
39005 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39006 (PREPARE_VERSION): Just use assert instead, it will be elided
39007 under [NDEBUG] anyway.
39008
390092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39010
39011 * sysdeps/unix/sysv/linux/Makefile: Include
39012 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39013 (sysdep_routines): Remove sysctl.
39014 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39015 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39016 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39017 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39018 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39019
390202012-05-22 Andreas Jaeger <aj@suse.de>
39021
39022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39023 that pseudo_end is just ret and the stack pointer is correct also
39024 for static library in error case.
39025
390262012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39027
39028 [BZ #14122]
39029 * nss/nsswitch.c (defconfig_entries): New variable.
39030 (__nss_database_lookup): Don't leak defconfig entries.
39031 (nss_parse_service_list): Don't leak on error paths.
39032 (free_database_entries): New function.
39033 (free_defconfig): New function.
39034 (free_mem): Move common code to free_database_entries.
39035
390362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39037
39038 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39039 Add arch_prctl.
39040 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39041
39042 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39043 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39045 New macro.
39046 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39047 (INTERNAL_SYSCALL_TYPES): Likewise.
39048 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39049 (LOAD_REGS_TYPES_[1-6]): Likewise.
39050 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39051 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39052
390532012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39054
39055 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39056 copysignl for GLIBC_2_0.
39057 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39058 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39060 logbl for GLIBC_2_0.
39061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39062 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39063
390642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39065
39066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39068
39069 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39070 Use "neg %eax".
39071
39072 * time/mktime.c: Update copyright years.
39073
390742012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39075
39076 mktime: merge comment-quoting-style change from gnulib
39077 * time/mktime.c: Quote 'like this' in comments.
39078 The GNU coding standards suggest that we no longer quote `like this',
39079 as "`" and "'" are typically rendered asymmetrically nowadays.
39080 The typical gnulib style is to quote 'like this' when quoting
39081 code, and "like this" when quoting English.
39082
39083 * time/mktime.c (compile-command): Add "-I.".
39084
39085 mktime: merge mktime-internal.h change from gnulib
39086 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39087
39088 mktime: merge time_r change from gnulib
39089 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39090
39091 mktime: merge DEBUG change from gnulib
39092 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39093 case system <time.h> has a #define.
39094
39095 mktime: merge <sys/types.h> change from gnulib
39096 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39097 since <time.t> is now guaranteed to define time_t.
39098
39099 mktime: merge HAVE_CONFIG_H change from gnulib
39100 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39101
391022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39103
39104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39105 Use "neg %eax".
39106
39107 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39108 __rlim_t cast.
39109 (struct rusage): Use anonymous union to pad each field to
39110 __syscall_slong_t.
39111
391122012-05-21 David S. Miller <davem@davemloft.net>
39113
39114 * Makefules (o-iterator): Remove .s cases.
39115 (compile-command.s): Delete.
39116 (COMPILE.s): Delete.
39117 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39118
391192012-05-21 Joseph Myers <joseph@codesourcery.com>
39120
39121 * configure.in (libc_cv_predef_stack_protector): Only consider
39122 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39123 * configure: Regenerated.
39124
391252012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39126
39127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39128 New macro. Use R*LP on int and pointer.
39129 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39130 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39131 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39132 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39133
39134 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39135 [__WORDSIZE_TIME64_COMPAT32] instead of
39136 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39137 (struct utmp): Likewise.
39138 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39139 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39140 Renamed to ...
39141 (__WORDSIZE_TIME64_COMPAT32): This.
39142 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39143 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39144 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39145 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39146 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39147 (__WORDSIZE_TIME64_COMPAT32): New macro.
39148
391492012-05-21 Andreas Jaeger <aj@suse.de>
39150
39151 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39152 only if [SHARED]. Add prototype for __wcschr_ia32.
39153
391542012-05-21 Roland McGrath <roland@hack.frob.com>
39155
39156 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39157 of %rbp unmolested in the jmp_buf while mangling the low bits.
39158 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39159 unmolested high bits of %rbp while demangling the low bits.
39160 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39161
391622012-05-21 Andreas Jaeger <aj@suse.de>
39163
39164 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39165 * sunrpc/svc_simple.c: Use it for registerrpc.
39166 * sunrpc/xcrypt.c: Use it for passwd2des.
39167
39168 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39169
391702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39171
39172 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39173 Don't define if [__SYSCALL_WORDSIZE != 32].
39174 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39175 New macro.
39176
391772012-05-21 Bruno Haible <bruno@clisp.org>
39178 Andreas Jaeger <aj@suse.de>
39179
39180 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39181 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39182 inptr and inend for must_buffer_ch.
39183 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39184 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39185 * stdio-common/Makefile (tests): Remove bug15.
39186 (bug15-ENV): Remove macro.
39187 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39188 anymore.
39189
391902012-05-19 Andreas Jaeger <aj@suse.de>
39191 Roland McGrath <roland@hack.frob.com>
39192
39193 * manual/contrib.texi: Completely rewritten. It contains now an
39194 alphabetical list of contributors and their contributions.
39195
391962012-05-21 Richard Henderson <rth@twiddle.net>
39197
39198 * misc/getauxval.c (__getauxval): Use unsigned long int.
39199 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39200 (getauxval): Use unsigned long int.
39201
392022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39203
39204 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39205
392062012-05-21 Roland McGrath <roland@hack.frob.com>
39207
39208 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39209 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39210 __alignof__ (long double).
39211
392122012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39213
39214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39215
392162012-05-20 Richard Henderson <rth@twiddle.net>
39217
39218 * misc/getauxval.c: New file.
39219 * misc/sys/auxv.h: New file.
39220 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39221 (routines): Add getauxval.
39222 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39223 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39224 * elf/dl-sysdep.c (_dl_auxv): Remove.
39225 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39226 * elf/dl-support.c (_dl_auxv): New variable.
39227 (_dl_aux_init): Initialize it.
39228 * manual/startup.texi (Auxiliary Vector): New node.
39229 * sysdeps/generic/bits/hwcap.h: New file.
39230 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39231 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39232 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39233 * sysdeps/sparc/sysdep.h: ... here. Include it.
39234 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39237 Update.
39238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39246
392472012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39248
39249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39250
392512012-05-19 David S. Miller <davem@davemloft.net>
39252
39253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39254
392552012-05-19 Joseph Myers <joseph@codesourcery.com>
39256
39257 [BZ #14123]
39258 * math/s_ccosh.c: Include <float.h>
39259 (__ccosh): Avoid internal overflow calculating sinh and cosh
39260 values before multiplying by sin and cos values.
39261 * math/s_ccoshf.c: Likewise.
39262 * math/s_ccoshl.c: Likewise.
39263 * math/s_csin.c: Likewise.
39264 * math/s_csinf.c: Likewise.
39265 * math/s_csinl.c: Likewise.
39266 * math/s_csinh.c: Likewise.
39267 * math/s_csinhf.c: Likewise.
39268 * math/s_csinhl.c: Likewise.
39269 * math/libm-test.inc (ccos_test): Add more tests.
39270 (ccosh_test): Likewise.
39271 (csin_test): Likewise.
39272 (csinh_test): Likewise.
39273 * sysdeps/i386/fpu/libm-test-ulps: Update.
39274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39275
392762012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39277
39278 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39279 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39280
39281 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39282
392832012-05-19 Joseph Myers <joseph@codesourcery.com>
39284
39285 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39286 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39287 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39288 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39289 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39290 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39291 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39292 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39293 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39294 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39295 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39296 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39297 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39298 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39299 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39300 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39301 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39302 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39303 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39304 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39305 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39306 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39307 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39308 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39309 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39310 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39311 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39312 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39313 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39314 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39315 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39316
393172012-05-18 Andreas Jaeger <aj@suse.de>
39318
39319 * csu/.gitignore: Delete.
39320
393212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39322
39323 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39324 (timex): Use __syscall_slong_t.
39325
393262012-05-18 Andreas Jaeger <aj@suse.de>
39327 Carlos O'Donell <carlos_odonell@mentor.com>
39328
39329 * manual/install.texi (Configuring and compiling): Update
39330 description about files modified in the source directory.
39331 * INSTALL: Regenerated.
39332
393332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39334
39335 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39336 value. Use "or" to set return value to -1.
39337 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39338 negate return value.
39339
393402012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39341
39342 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39343 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39344 failure if the compiler has Graphite support disabled.
39345 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39346 Likewise.
39347 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39348 (CFLAGS-memmove.c): Likewise.
39349 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39350 Likewise.
39351
393522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39353
39354 * sysdeps/x86_64/x32/_itoa.h: New file.
39355
39356 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39357 getdents system call only if kernel and user dirents have the
39358 same d_ino and d_off.
39359
39360 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39361 LLONG_MAX != LONG_MAX.
39362 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39363 (_fitoa_word): Likewise.
39364
39365 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39366 years.
39367 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39368 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39369 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39370
39371 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39372 include <bits/wordsize.h>. Check __x86_64__ instead of
39373 __WORDSIZE.
39374 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39375 if __x86_64__ is defined. Use anonymous union on fpstate.
39376
39377 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39378 anonymous union.
39379
393802012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39381
39382 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39383 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39384 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39385 Refer to _rtld_local_ro instead of _rtld_global_ro.
39386 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39387 Likewise.
39388 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39389 Likewise.
39390 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39391 Likewise.
39392 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39393 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39394 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39395
39396 * sysdeps/powerpc/powerpc32/dl-machine.c
39397 (__elf_machine_runtime_setup) [PROF]: Don't reference
39398 _dl_prof_resolve.
39399
394002012-05-18 Andreas Jaeger <aj@suse.de>
39401
39402 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39403 function only available for GCCs before 3.4 since GCC 3.4
39404 introduced a builtin.
39405 (lrint): Likewise.
39406 (llrintf): Likewise.
39407 (llrint): Likewise.
39408 (fmaxf): Likewise.
39409 (fmax): Likewise.
39410 (fminf): Likewise.
39411 (fmin): Likewise.
39412 (rint): Likewise.
39413 (rintf): Likewise.
39414 (nearbyint): Likewise.
39415 (nearbyintf): Likewise.
39416 (ceil): Likewise.
39417 (ceilf): Likewise.
39418 (floor): Likewise.
39419 (floorf): Likewise.
39420
394212012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39422
39423 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39424 on both fields and cast pointer to __syscall_ulong_t.
39425
39426 * bits/types.h (__fsword_t): New type.
39427 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39428 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39429 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39430 (__FSWORD_T_TYPE): Likewise.
39431 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39432 (__FSWORD_T_TYPE): Likewise.
39433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39434 (__FSWORD_T_TYPE): Likewise.
39435 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39436 (__FSWORD_T_TYPE): Likewise.
39437 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39438 __SWORD_TYPE with __fsword_t.
39439 (statfs64): Likewise.
39440
394412012-05-17 David S. Miller <davem@davemloft.net>
39442
39443 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39444
394452012-05-17 Andreas Jaeger <aj@suse.de>
39446
39447 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39448 warning.
39449
394502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39451
39452 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39453
394542012-05-17 Andreas Jaeger <aj@suse.de>
39455
39456 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39457 when it is used.
39458
394592012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39460
39461 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39462
394632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39464
39465 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39466 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39467
394682012-05-17 Andreas Jaeger <aj@suse.de>
39469 Carlos O'Donell <carlos_odonell@mentor.com>
39470
39471 [BZ #14059]
39472 * sysdeps/x86_64/multiarch/init-arch.h
39473 (bit_YMM_Usable): Rename to...
39474 (bit_AVX_Usable): ... this.
39475 (bit_FMA4_Usable): New macro.
39476 (bit_XMM_state): New macro.
39477 (bit_YMM_state): New macro.
39478 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39479 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39480 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39481 (CPUID_OSXSAVE): New macro.
39482 (CPUID_AVX): New macro.
39483 (CPUID_FMA4): New macro.
39484 (index_YMM_Usable): Rename to...
39485 (index_AVX_Usable): ... this.
39486 (HAS_AVX): Use HAS_ARCH_FEATURE.
39487 (HAS_FMA4): Likewise.
39488 (HAS_YMM_USABLE): Remove.
39489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39490 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39491 are present.
39492 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39493 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39494 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39495 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39496 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39497
394982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39499
39500 * math/libm-test.c: Support platforms without multiple rounding modes.
39501 * math/bug-nextafter.c: Support platforms without FP exceptions.
39502 * math/bug-nexttoward.c: Likewise.
39503 * math/test-fenv.c: Likewise.
39504 * math/test-misc.c: Likewise.
39505 * stdlib/bug-getcontext.c: Likewise.
39506
395072012-05-17 Andreas Jaeger <aj@suse.de>
39508
39509 * manual/examples/search.c (critter_cmp): Change signature to
39510 avoid warnings.
39511 * manual/string.texi (Collation Functions): Likewise.
39512
395132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39514
39515 * bits/types.h: Fold copyright years.
39516 * bits/typesizes.h: Likewise.
39517 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39521 * time/time.h: Likewise.
39522
395232012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39524
39525 [BZ #208]
39526 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39527 in instead of returning them. Return void.
39528 (__libc_mallinfo): Accumulate over all arenas.
39529 (__malloc_stats): Adjust for change in int_mallinfo interface.
39530
395312012-05-16 Roland McGrath <roland@hack.frob.com>
39532
39533 [BZ #10375]
39534 * configure.in (NM): Add AC_CHECK_TOOL for it.
39535 (libc_extra_cflags): New substituted variable.
39536 Check for -fstack-protector being used implicitly.
39537 * configure: Regenerated.
39538 * config.make.in (config-extra-cflags): New variable,
39539 gets @libc_extra_cflags@.
39540 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39541
39542 [BZ #10375]
39543 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39544 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39545 * configure: Regenerated.
39546 * config.make.in (CPPUNDEFS): New substituted variable.
39547 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39548 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39549 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39550
395512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39552
39553 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39554 (mq_attr): Use __syscall_slong_t.
39555
395562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39557
39558 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39559 Check __x86_64__ instead of __WORDSIZE.
39560 (_STAT_VER_LINUX): Likewise.
39561 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39562 __syscall_ulong_t and __syscall_slong_t.
39563 (stat64): Likewise.
39564
395652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39566
39567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39568
395692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39570
39571 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39572
395732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39574
39575 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39576 __syscall_ulong_t.
39577
39578 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39579 include <bits/wordsize.h>. Check __x86_64__ instead of
39580 __WORDSIZE.
39581 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39582 defined.
39583 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39584
39585 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39586 include <bits/wordsize.h>. Check __x86_64__ instead of
39587 __WORDSIZE.
39588 (user_regs_struct): Use "__extension__ unsigned long long"
39589 instead of "unsigned long" if __x86_64__ is defined.
39590 (user): Likewise. Pad after pointer field if __ILP32__ is
39591 defined.
39592
395932012-05-16 Joseph Myers <joseph@codesourcery.com>
39594
39595 * configure.in (makeinfo): Require version 4.5 or later. Allow
39596 versions 5 to 9.
39597 * configure: Regenerated.
39598 * manual/install.texi (texinfo): Increase version requirement to
39599 4.5 or later.
39600 * INSTALL: Regenerated.
39601
39602 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39603
396042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39605
39606 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39607
39608 * sysdeps/x86_64/x32/ffs.c: New file.
39609
39610 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39611 __syscall_ulong_t.
39612 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39613 defined. Use __syscall_ulong_t.
39614 (shminfo): Use __syscall_ulong_t.
39615 (shm_info): Likewise.
39616
39617 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39618 __syscall_ulong_t.
39619
39620 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39621 <bits/wordsize.h>.
39622 (msgqnum_t): Use __syscall_ulong_t.
39623 (msglen_t): Likewise.
39624 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39625 __syscall_ulong_t.
39626
39627 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39628 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39629
39630 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39631
39632 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39633 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39634
39635 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39636 __syscall_slong_t.
39637
39638 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39639 include <bits/wordsize.h>. Check __x86_64__ instead of
39640 __WORDSIZE.
39641
39642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39643 "unsigned long long int" if __x86_64__ is defined.
39644 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39645
39646 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39647 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39648 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39649
39650 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39651 <stdint.h>.
39652 (GET_PC): Cast to uintptr_t first.
39653 (GET_FRAME): Likewise.
39654 (GET_STACK): Likewise.
39655
39656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39657 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39659 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39661 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39662 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39663 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39664 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39666 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39667 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39668 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39669 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39670 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39671 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39672 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39673 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39674 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39675 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39676 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39677 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39678 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39679 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39680 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39681 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39682 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39683 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39684 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39685
396862012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39687
39688 * Makerules (+depfiles): Also collect depfiles from .oS in
39689 $(extra-objs).
39690 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39691 .oS, $(libnldbl-routines)).
39692
39693 * Makerules (native-compile-mkdep-flags): Define.
39694 * sunrpc/Makefile (extra-objs): Add $(addprefix
39695 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39696 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39697 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39698 calling $(make-target-directory).
39699
397002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39701
39702 * bits/types.h (__snseconds_t): Removed.
39703 * time/time.h (struct timespec): Replace __snseconds_t with
39704 __syscall_slong_t.
39705 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39706 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39707 Likewise.
39708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39709 (__SNSECONDS_T_TYPE): Likewise.
39710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39711 (__SNSECONDS_T_TYPE): Likewise.
39712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39713 (__SNSECONDS_T_TYPE): Likewise.
39714
397152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39716
39717 * sysdeps/mach/hurd/bits/typesizes.h
39718 (__SYSCALL_SLONG_TYPE): New macro.
39719 (__SYSCALL_ULONG_TYPE): Likewise.
39720
397212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39722
39723 * bits/types.h (__syscall_slong_t): New type.
39724 (__syscall_ulong_t): Likewise.
39725
39726 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39727 (__SYSCALL_ULONG_TYPE): Likewise.
39728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39729 (__SYSCALL_SLONG_TYPE): Likewise.
39730 (__SYSCALL_ULONG_TYPE): Likewise.
39731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39732 (__SYSCALL_SLONG_TYPE): Likewise.
39733 (__SYSCALL_ULONG_TYPE): Likewise.
39734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39735 (__SYSCALL_SLONG_TYPE): Likewise.
39736 (__SYSCALL_ULONG_TYPE): Likewise.
39737
397382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39739
39740 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39741 Add sigaltstack-offsets.sym.
39742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39743 <sigaltstack-offsets.h>.
39744 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39745 longjmp_msg pointer.
39746 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39747 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39748 signal stack.
39749 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39750
397512012-05-15 Joseph Myers <joseph@codesourcery.com>
39752
39753 * elf/stackguard-macros.h: Remove file.
39754 * sysdeps/generic/stackguard-macros.h: New file.
39755 * sysdeps/i386/stackguard-macros.h: Likewise.
39756 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39757 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39758 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39759 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39760 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39761 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39762 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39763 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39764 <elf/stackguard-macros.h>.
39765
39766 [BZ #14109]
39767 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39768 __aligned__ in attribute.
39769 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39770 (gregset_t): Likewise.
39771
397722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39773
39774 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39775 * sysdeps/x86_64/64/Implies-after: Here. New file.
39776 * sysdeps/x86_64/x32/Implies-after: New file.
39777
397782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39779
39780 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39781 and access return value for _dl_profile_fixup. Use R10_LP to
39782 load frame size.
39783
397842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39785
39786 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39787
397882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39789
39790 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39791 * sysdeps/x86_64/x32/sysdep.h: New file.
39792
397932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39794
39795 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39796 * sysdeps/x86_64/setjmp.S: Likewise.
39797
397982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39799
39800 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39801 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39802 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39803 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39804 remove unused global constant.
39805
398062012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39807
39808 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39809 include of <not-cancel.h>.
39810
398112012-05-15 Roland McGrath <roland@hack.frob.com>
39812
39813 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39814
398152012-05-15 Jeff Law <law@redhat.com>
39816 Andreas Jaeger <aj@suse.de>
39817
39818 [BZ #13594]
39819 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39820 out from...
39821 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39822 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39823 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39824 code changing __hst_map_handle.map.
39825
398262012-05-15 Roland McGrath <roland@hack.frob.com>
39827
39828 * configure.in (sysnames): Look for Implies-before and Implies-after
39829 files.
39830 * configure: Regenerated.
39831
398322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39833
39834 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39835 8-byte data alignment with LP_SIZE alignment.
39836
398372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39838
39839 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39840 into R10_LP.
39841
398422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39843
39844 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39845
398462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39847
39848 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39849 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39850 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39851 Likewise.
39852 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39853
398542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39855
39856 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39857 (stackinfo_sub_sp): Likewise.
39858
398592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39860
39861 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39862 RAX_LP.
39863
398642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39865
39866 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39867 into R*_LP.
39868
398692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39870
39871 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39872 sizes into R*_LP.
39873
398742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39875
39876 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39877
398782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39879
39880 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39881 into R11_LP and load __x86_64_shared_cache_size_half into
39882 R8_LP.
39883
398842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39885
39886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39887 R8_LP.
39888
398892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39890
39891 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39892 logb for POWER7.
39893 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39894 logbf for POWER7.
39895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39896 logbl for POWER7.
39897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39898 powerpc32/power7/fpu/s_logb.c via #include.
39899 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39900 powerpc32/power7/fpu/s_logbf.c via #include.
39901 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39902 powerpc32/power7/fpu/s_logbl.c via #include.
39903
399042012-05-15 Joseph Myers <joseph@codesourcery.com>
39905
39906 * README.libm: Remove file.
39907
399082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39909
39910 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39911 count for x32. Use R*_LP and omit operand-size suffix.
39912
399132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39914
39915 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39916 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39917 * sysdeps/x86_64/x32/shlib-versions: New file.
39918
399192012-05-14 Roland McGrath <roland@hack.frob.com>
39920
39921 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39922 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39923 Use _dl_fatal_printf instead.
39924
399252012-05-14 Joseph Myers <joseph@codesourcery.com>
39926
39927 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39928 set if not set by the user. Do not allow for being unset.
39929 * sysdeps/unix/sysv/linux/configure: Regenerated.
39930
399312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39932
39933 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39934 the `q' suffix from lea and replace .quad with ASM_ADDR.
39935
399362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39937
39938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39939 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39940 instead of $17.
39941 (PTR_DEMANGLE): Likewise.
39942
399432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39944
39945 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39946 (LP_OP): Likewise.
39947 (ASM_ADDR): Likewise.
39948 (RAX_LP): Likewise.
39949 (RBP_LP): Likewise.
39950 (RBX_LP): Likewise.
39951 (RCX_LP): Likewise.
39952 (RDI_LP): Likewise.
39953 (RSI_LP): Likewise.
39954 (RSP_LP): Likewise.
39955 (R8_LP): Likewise.
39956 (R9_LP): Likewise.
39957 (R10_LP): Likewise.
39958 (R10_LP): Likewise.
39959 (R11_LP): Likewise.
39960 (R12_LP): Likewise.
39961 (R13_LP): Likewise.
39962 (R14_LP): Likewise.
39963 (R15_LP): Likewise.
39964
399652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39966
39967 * sysdeps/x86_64/x32/dl-machine.h: New file.
39968
399692012-05-14 Andreas Jaeger <aj@suse.de>
39970
39971 * manual/Makefile (subdir): Remove export of subdir.
39972 (all): Remove target.
39973 (.PHONY): Remove all from list.
39974 (mkinstalldirs): Remove.
39975 (.PHONY): Remove installdirs from list.
39976 ($(inst_infodir)/libc.info): Use make-target-directory.
39977 (installdirs): Remove.
39978 (subdir_%): Remove.
39979 (glibc-targets): Remove.
39980 (lib): Remove.
39981 (stubs): Remove.
39982 ($(objpfx)stubs ../po/manual.pot): Remove.
39983 ($(objpfx)stamp%): Remove.
39984 (make-target-directory): Remove.
39985 (subdir_install): Remove.
39986 (routines): Remove.
39987 (aux): Remove.
39988 (sources): Remove.
39989 (objects): Remove.
39990 (headers): Remove.
39991
39992 [BZ #13750]
39993 * manual/.gitignore: Remove, it's not needed anymore.
39994 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39995 all files in it.
39996 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39997 directory.
39998 (texis): Renamed to $(objpfx)texis.
39999 (texis-path): New, contains path to generated files.
40000 (chapters.%): Use texis-path for complete path, add extra argument
40001 libc-texinfo.sh.
40002 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40003 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40004 (summary,texi, stamp-summary): Use complete path of
40005 files. Generate files in build dir.
40006 (dir-add.texi): Build in build dir.
40007 (libm-err.texi,stamp-libm-err): Likewise.
40008 (version.texi, stamp-version): Likewise.
40009 (.%c.texi): Likewise.
40010 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40011 (mostlyclean): Remove target.
40012 (realclean): Remove target.
40013 (generated): Add new variable with contents from mostlyclean and
40014 realclean, remove entries duplicated in common-mostlyclean, add
40015 stamp-libm-err and stamp-version.
40016 (generated-dirs): Add libc directory.
40017 ($(inst_infodir)/libc.info): Install files from build dir.
40018
40019 * manual/install.texi (Configuring and compiling): Adjust since
40020 the info files are not part of the tar ball anymore.
40021
400222012-05-14 Andreas Jaeger <aj@suse.de>
40023
40024 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40025 variable.
40026
400272012-05-14 Joseph Myers <joseph@codesourcery.com>
40028
40029 [BZ #13717]
40030 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40031 to 2.2.0 where earlier.
40032 * sysdeps/unix/sysv/linux/configure: Regenerated.
40033 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40034 Remove conditional code.
40035 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40036 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40037 Remove conditional code.
40038 [!__NR_lchown]: Likewise.
40039 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40040 [__NR_lchown]: Likewise.
40041 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40042 comment referencing __ASSUME_LCHOWN_SYSCALL.
40043 * sysdeps/unix/sysv/linux/i386/sigaction.c
40044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40046 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40047 Remove conditional code.
40048 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40049 (__protocol_available): Remove #if 0 code.
40050 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40051 conditional code.
40052 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40053 * sysdeps/unix/sysv/linux/kernel-features.h
40054 (__ASSUME_GETCWD_SYSCALL): Don't define.
40055 (__ASSUME_REALTIME_SIGNALS): Likewise.
40056 (__ASSUME_PREAD_SYSCALL): Likewise.
40057 (__ASSUME_PWRITE_SYSCALL): Likewise.
40058 (__ASSUME_POLL_SYSCALL): Likewise.
40059 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40060 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40061 non-SPARC.
40062 (__ASSUME_SIOCGIFNAME): Don't define.
40063 (__ASSUME_MSG_NOSIGNAL): Likewise.
40064 (__ASSUME_SENDFILE): Define unconditionally.
40065 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40066 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40067 conditional code.
40068 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40069 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40070 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40071 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40072 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40073 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40074 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40076 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40079 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40082 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40085 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40088 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40089 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40091 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40094 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40095 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40097 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40098 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40099 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40100 Remove conditional code.
40101 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40102 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40103 Remove conditional code.
40104 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40105 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40106 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40107 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40108 Remove conditional code.
40109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40110 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40111 Remove conditional code.
40112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40113 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40114 Remove conditional code.
40115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40116 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40117 Remove conditional code.
40118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40119 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40120 Remove conditional code.
40121 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40122 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40125 * sysdeps/unix/sysv/linux/sigaction.c
40126 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40127 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40128 * sysdeps/unix/sysv/linux/sigpending.c
40129 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40130 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40131 * sysdeps/unix/sysv/linux/sigprocmask.c
40132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40134 * sysdeps/unix/sysv/linux/sigsuspend.c
40135 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40136 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40137 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40138 (__libc_missing_rt_sigs): Remove.
40139 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40140 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40141 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40142 Remove conditional code.
40143 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40144 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40145 return 1.
40146 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40147 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40148 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40149 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40150
401512012-05-14 Andreas Jaeger <aj@suse.de>
40152
40153 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40154 it's not used in glibc.
40155 (__coshm1): Likewise.
40156 (__acosh1p): Likewise.
40157 (__sgn): Likewise.
40158
40159 * manual/string.texi (Copying and Concatenation): Add missing
40160 variable in concat example.
40161 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40162
401632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40164
40165 [BZ #14103]
40166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40167 __builtin_clzl with __builtin_clzll.
40168
401692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40170
40171 [BZ #14104]
40172 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40173 libc_freeres_ptr.
40174
401752012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40176
40177 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40178 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40179 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40180 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40181
401822012-05-14 Mike Frysinger <vapier@gentoo.org>
40183
40184 * NEWS: Update ia64 info.
40185
401862012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40187
40188 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40189 used as bcopy.
40190
401912012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40192
40193 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40194 * sysdeps/unix/syscalls.list (dup3): Likewise.
40195 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40196 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40197
401982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40199
40200 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40201 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40202
402032012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40204
40205 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40206 thread pointer.
40207 (TLS_IE): Use mov/add instead of movq/addq to load thread
40208 pointer.
40209 (TLS_GD_PREFIX): New.
40210 (TLS_GD): Use it.
40211
402122012-05-11 David S. Miller <davem@davemloft.net>
40213
40214 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40215 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40216 (_FPU_SETCW): Likewise.
40217
402182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40219
40220 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40221 is 32-byte aligned.
40222
402232012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40224
40225 [BZ #11837]
40226 * iconvdata/gb18030.c: Update tables.
40227 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40228 characters specially.
40229 (BODY for TO_LOOP): Add encoding of missing ranges.
40230
402312012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40232
40233 [BZ #13673]
40234 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40235 * sysdeps/mach/hurd/dup3.c: Likewise.
40236 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40237 * sysdeps/powerpc/memmove.c:: Likewise.
40238
402392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40240
40241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40242 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40243
402442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40245
40246 * elf/elf.h (R_X86_64_RELATIVE64): New.
40247 (R_X86_64_NUM): Updated.
40248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40249 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40250 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40251 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40252 tst-quad1pie tst-quad2pie
40253 (modules-names): Add tst-quadmod1 tst-quadmod2.
40254 ($(objpfx)tst-quad1): New dependency.
40255 ($(objpfx)tst-quad2): Likewise.
40256 ($(objpfx)tst-quad1pie): Likewise.
40257 ($(objpfx)tst-quad2pie): Likewise.
40258 * sysdeps/x86_64/tst-quad1.c: New file.
40259 * sysdeps/x86_64/tst-quad1pie.c: New file.
40260 * sysdeps/x86_64/tst-quad2.c: Likewise.
40261 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40262 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40263 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40264 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40265 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40266
402672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40268
40269 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40270 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40271 * streams/stropts.h (t_scalar_t): Define type.
40272
40273 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40274 (_PATH_PRESERVE): Set to "/var/lib".
40275 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40276
40277 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40278 instead of int.
40279
40280 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40281 if __dir_mkfile succeeded.
40282
40283 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40284 checking for _hurd_dtablesize. Unlock it right after having
40285 finished _hurd_dtable allocation.
40286
402872012-05-10 Thomas Schwinge <thomas@schwinge.name>
40288
40289 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40290 * sysdeps/mach/hurd/configure: Regenerated.
40291 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40292 special-casing to...
40293 * sysdeps/gnu/configure.in: ... this new file.
40294 * sysdeps/unix/sysv/linux/configure: Regenerated.
40295 * sysdeps/gnu/configure: New generated file.
40296
40297 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40298 for Linux: use nsec instead of usec, as well as:
40299 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40300 members of type struct timespec.
40301 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40302 New macros.
40303 (struct stat64): Likewise.
40304 (_STATBUF_ST_NSEC): New macro.
40305 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40306
40307 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40308 __strtoul_internal rather than strtoul.
40309
403102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40311
40312 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40313 and reject them.
40314
403152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40316
40317 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40318 which preserves existing values.
40319 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40320
403212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40322
40323 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40324 TIMEOUT values. Return EINVAL for NFDS values either negative or
40325 greater than FD_SETSIZE.
40326
403272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40328
40329 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40330 allocated, call __vm_protect to finish enabling the existing space, and
40331 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40332 allocate the remainder.
40333
403342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40335
40336 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40337 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40338
403392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40340
40341 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40342 sysdeps/mach/hurd/readlink.c.
40343
40344 * posix/tst-sysconf.c (posix_options): Only use
40345 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40346 _POSIX_SYNCHRONIZED_IO when they are defined
40347 * sysdeps/mach/hurd/bits/posix_opt.h:
40348 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40349 (_XOPEN_REALTIME): Undefine macro.
40350 (_XOPEN_REALTIME_THREADS): Undefine macro.
40351 (_XOPEN_SHM): Undefine macro.
40352 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40353 macro to -1.
40354 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40355 macro to -1.
40356 (_POSIX_ASYNC_IO): Undefine macro.
40357 (_POSIX_PRIORITIZED_IO): Undefine macro.
40358 (_POSIX_SPIN_LOCKS): Define macro to -1.
40359
40360 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40361 SA_NODEFER, SA_RESETHAND.
40362 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40363 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40364 F_DUPFD_CLOEXEC.
40365
403662012-05-10 Thomas Schwinge <thomas@schwinge.name>
40367
40368 * elf/Makefile (pldd-modules): Define unconditionally.
40369
403702012-05-10 Thomas Schwinge <thomas@schwinge.name>
40371
40372 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40373
403742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40375
40376 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40377 Return ENOENT when name is empty.
40378 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40379
403802012-05-10 Thomas Schwinge <thomas@schwinge.name>
40381
40382 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40383
40384 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40385
403862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40387
40388 Fix mlock in all cases except non-readable pages.
40389 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40390 instead of VM_PROT_ALL as parameter to __vm_wire function.
40391
40392 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40393 (__mkdir): When path is `/', just fail with EEXIST.
40394 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40395
403962012-05-10 Thomas Schwinge <thomas@schwinge.name>
40397
40398 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40399 <sys/uio.h> (for writev).
40400 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40401 and <sys/param.h> (for MIN).
40402
404032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40404
40405 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40406 REQUESTED_TIME. Properly set the remaining time and return EINTR
40407 if interrupted.
40408
404092012-05-10 Thomas Schwinge <thomas@schwinge.name>
40410
40411 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40412 Depend on against $(link-rpcuserlibs).
40413
404142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40415
40416 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40417 (__libc_stack_end): Do not use attribute_relro.
40418 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40419 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40420 to libthread-provided value.
40421 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40422 attribute_relro.
40423
404242012-05-10 Thomas Schwinge <thomas@schwinge.name>
40425
40426 [BZ #3748]
40427 * bits/libc-lock.h (__libc_once_get): New macro.
40428 * sysdeps/mach/bits/libc-lock.h: Likewise.
40429 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40431 instead of using implementation details.
40432
40433 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40434 * libio/freopen.c: Likewise.
40435 * libio/freopen64.c: Likewise.
40436 * misc/syslog.c: Likewise.
40437 * nscd/connections.c: Likewise.
40438 * nscd/netgroupcache.c: Likewise.
40439 * sysdeps/posix/getcwd.c: Likewise.
40440
404412012-05-10 Roland McGrath <roland@hack.frob.com>
40442
40443 * math/w_ilogbf.c: Add #include <limits.h>.
40444
404452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40446
40447 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40448 path instead of returning without unlocking.
40449
40450 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40451 immediate-write ioctls.
40452 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40453
404542012-05-10 Thomas Schwinge <thomas@schwinge.name>
40455
40456 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40457 __builtin_frame_address instead of making assumptions about the
40458 location of the return address relative to DATA. Force early load of
40459 the return address.
40460 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40461 __builtin_frame_address.
40462
40463 dup3 for GNU Hurd.
40464 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40465 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40466 implement dup3 and do some further code clean-ups.
40467 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40468 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40469
404702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40471
40472 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40473
40474 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40475 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40476 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40477 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40478 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40479 d->port.lock.
40480
40481 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40482 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40483 when handler == SIG_ERR, not when handler != SIG_ERR.
40484
404852012-05-10 Thomas Schwinge <thomas@schwinge.name>
40486
40487 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40488 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40489 definitions.
40490
40491 accept4 for GNU Hurd.
40492 * include/sys/socket.h (__libc_accept4): New prototype.
40493 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40494 to implement __libc_accept4.
40495 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40496 __libc_accept4.
40497 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40498
40499 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40500 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40501 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40502 signal-defines.sym.
40503
405042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40505
40506 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40507
405082012-05-10 Thomas Schwinge <thomas@schwinge.name>
40509
40510 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40511 assertion on O_CLOEXEC flag.
40512 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40513 * hurd/intern-fd.c: Likewise.
40514 * hurd/port2fd.c: Likewise.
40515
405162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40517
40518 [BZ #3906]
40519 * bits/in.h (IPV6_PKTINFO): Define new macro.
40520 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40521
405222012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40523
40524 [BZ #13954]
40525 [BZ #13955]
40526 [BZ #13956]
40527 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40529 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40530 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40531 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40532 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40533 * math/libm-test.inc (logb_test) : Additional logb tests.
40534
405352012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40536 Andreas Jaeger <aj@suse.de>
40537
40538 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40539 * configure: Regenerated.
40540 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40541 * config.make.in (link-obsolete-rpc): New substituted variable.
40542 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40543 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40544 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40545 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40546 so that libc.a contains the symbols.
40547 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40548 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40549 * sunrpc/auth_none.c: Likewise.
40550 * sunrpc/auth_unix.c: Likewise.
40551 * sunrpc/authdes_prot.c: Likewise.
40552 * sunrpc/authuxprot.c: Likewise.
40553 * sunrpc/clnt_gen.c: Likewise.
40554 * sunrpc/clnt_perr.c: Likewise.
40555 * sunrpc/clnt_raw.c: Likewise.
40556 * sunrpc/clnt_simp.c: Likewise.
40557 * sunrpc/clnt_tcp.c: Likewise.
40558 * sunrpc/clnt_udp.c: Likewise.
40559 * sunrpc/clnt_unix.c: Likewise.
40560 * sunrpc/des_crypt.c: Likewise.
40561 * sunrpc/des_soft.c: Likewise.
40562 * sunrpc/get_myaddr.c: Likewise.
40563 * sunrpc/key_call.c: Likewise.
40564 * sunrpc/key_prot.c: Likewise.
40565 * sunrpc/netname.c: Likewise.
40566 * sunrpc/pm_getmaps.c: Likewise.
40567 * sunrpc/pm_getport.c: Likewise.
40568 * sunrpc/pmap_clnt.c: Likewise.
40569 * sunrpc/pmap_prot.c: Likewise.
40570 * sunrpc/pmap_prot2.c: Likewise.
40571 * sunrpc/pmap_rmt.c: Likewise.
40572 * sunrpc/publickey.c: Likewise.
40573 * sunrpc/rpc_cmsg.c: Likewise.
40574 * sunrpc/rpc_common.c: Likewise.
40575 * sunrpc/rpc_dtable.c: Likewise.
40576 * sunrpc/rpc_prot.c: Likewise.
40577 * sunrpc/rpc_thread.c: Likewise.
40578 * sunrpc/rtime.c: Likewise.
40579 * sunrpc/svc.c: Likewise.
40580 * sunrpc/svc_auth.c: Likewise.
40581 * sunrpc/svc_raw.c: Likewise.
40582 * sunrpc/svc_run.c: Likewise.
40583 * sunrpc/svc_tcp.c: Likewise.
40584 * sunrpc/svc_udp.c: Likewise.
40585 * sunrpc/svc_unix.c: Likewise.
40586 * sunrpc/svcauth_des.c: Likewise.
40587 * sunrpc/xcrypt.c: Likewise.
40588 * sunrpc/xdr.c: Likewise.
40589 * sunrpc/xdr_array.c: Likewise.
40590 * sunrpc/xdr_float.c: Likewise.
40591 * sunrpc/xdr_intXX_t.c: Likewise.
40592 * sunrpc/xdr_mem.c: Likewise.
40593 * sunrpc/xdr_rec.c: Likewise.
40594 * sunrpc/xdr_ref.c: Likewise.
40595 * sunrpc/xdr_sizeof.c: Likewise.
40596 * sunrpc/xdr_stdio.c: Likewise.
40597
405982012-05-10 Roland McGrath <roland@hack.frob.com>
40599
40600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40601 change. Update copyright years.
40602
406032012-05-10 Joseph Myers <joseph@codesourcery.com>
40604
40605 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40606
406072012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40608 Joseph Myers <joseph@codesourcery.com>
40609 Paul Pluzhnikov <ppluzhnikov@google.com>
40610
40611 [BZ #14012]
40612 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40613 requiring rpcgen.
40614 [cross-compiling] (extra-libs): Likewise.
40615 [cross-compiling] (extra-libs-others): Likewise.
40616 [cross-compiling] (librpcsvc-routines): Likewise.
40617 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40618 [cross-compiling] (omit-deps): Likewise.
40619 (sunrpc-CPPFLAGS): New variable.
40620 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40621 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40622 (cross-rpcgen-objs): New variable.
40623 (extra-objs): Append $(cross-rpcgen-objs).
40624 ($(cross-rpcgen-objs)): New rule.
40625 ($(objpfx)cross-rpcgen): Likewise.
40626 (rpcgen-cmd): Define to use $(built-program-file). Expand
40627 comment.
40628 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40629 ($(objpfx)x%.stmp): Likewise.
40630 * sunrpc/proto.h [IS_IN_build] (_): Define.
40631 [IS_IN_build] (_libc_intl_domainname): Likewise.
40632
406332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40634
40635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40636 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40637 and R_X86_64_TPOFF64.
40638
406392012-05-10 Joseph Myers <joseph@codesourcery.com>
40640
40641 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40642 sysdeps/unix/sysv/syscalls.list.
40643 (stime): Likewise.
40644 (utime): Likewise.
40645 * sysdeps/unix/sysv/syscalls.list: Remove file.
40646
406472012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40648
40649 [BZ #3440]
40650 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40651 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40652 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40653 (__LC_IDENTIFICATION): Make these macros useful in #if
40654 expressions, as required by C99.
40655
406562012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40657
40658 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40659 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40660 after this.
40661
406622012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40663
40664 * stdlib/longlong.h: Updated from GCC.
40665
406662012-05-09 Andreas Jaeger <aj@suse.de>
40667
40668 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40669 default is first entry.
40670 (run_mode): Set type.
40671 (main): Remove informal message about syslog.
40672 (options): Fix typo.
40673
40674 [BZ #14053]
40675 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40676 to asm.
40677 (lrint): Likewise.
40678 (llrintf): Likewise.
40679 (llrint): Likewise.
40680 (rint): Likewise.
40681 (rintf): Likewise.
40682 (nearbyint): Likewise.
40683 (nearbyintf): Likewise.
40684
406852012-05-09 Andreas Jaeger <aj@suse.de>
40686 Pedro Alves <palves@redhat.com>
40687
40688 * nscd/nscd.c (run_mode): Use enum.
40689 (main): Cleanup coding style issue.
40690
406912012-05-09 Alexandre Oliva <aoliva@redhat.com>
40692 Andreas Jaeger <aj@suse.de>
40693
40694 * nscd/nscd.c (go_background): Replaced with...
40695 (run_mode): ... this.
40696 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40697 (options): Add -F --foreground.
40698 (main): Implement it.
40699 (parse_opt): Parse it.
40700
407012012-05-09 Andreas Jaeger <aj@suse.de>
40702
40703 [BZ #14083]
40704 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40705 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40706 -Wconversion warning.
40707 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40708 Likewise.
40709
407102012-05-09 Joseph Myers <joseph@codesourcery.com>
40711
40712 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40713 == 0.
40714 (LC_ALL): Use macro-int-constant.
40715 (LC_COLLATE): Likewise.
40716 (LC_CTYPE): Likewise.
40717 (LC_MESSAGES): Likewise.
40718 (LC_MONETARY): Likewise.
40719 (LC_NUMERIC): Likewise.
40720 (LC_TIME): Likewise.
40721 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40722 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40724 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40725 Specify type.
40726 [C99-based standards] (float_t): Expect type.
40727 [C99-based standards] (double_t): Expect type.
40728 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40729 type.
40730 [C99-based standards] (HUGE_VALL): Likewise.
40731 [C99-based standards] (INFINITY): Likewise.
40732 [C99-based standards] (NAN): Likewise.
40733 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40734 [C99-based standards] (FP_NAN): Likewise.
40735 [C99-based standards] (FP_NORMAL): Likewise.
40736 [C99-based standards] (FP_SUBNORMAL): Likewise.
40737 [C99-based standards] (FP_ZERO): Likewise.
40738 [C99-based standards] (FP_FAST_FMA): Use
40739 optional-macro-int-constant. Specify type. Require == 1.
40740 [C99-based standards] (FP_FAST_FMAF): Likewise.
40741 [C99-based standards] (FP_FAST_FMAL): Likewise.
40742 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40743 [C99-based standards] (FP_ILOGBNAN): Likewise.
40744 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40745 Specify type.
40746 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40747 [C99-based standards] (math_errhandling): Specify type.
40748 [ISO99 || ISO11] (signgam): Do not allow.
40749 [non-C99-based standards] (copysignf): Do not allow.
40750 [non-C99-based standards] (exp2f): Likewise.
40751 [non-C99-based standards] (log2f): Likewise.
40752 [non-C99-based standards] (modff): Allow.
40753 [non-C99-based standards] (erff): Do not allow.
40754 [non-C99-based standards] (erfcf): Likewise.
40755 [non-C99-based standards] (gammaf): Likewise.
40756 [non-C99-based standards] (hypotf): Likewise.
40757 [non-C99-based standards] (j0f): Likewise.
40758 [non-C99-based standards] (j1f): Likewise.
40759 [non-C99-based standards] (jnf): Likewise.
40760 [non-C99-based standards] (lgammaf): Likewise.
40761 [non-C99-based standards] (tgammaf): Likewise.
40762 [non-C99-based standards] (y0f): Likewise.
40763 [non-C99-based standards] (y1f): Likewise.
40764 [non-C99-based standards] (ynf): Likewise.
40765 [non-C99-based standards] (isnanf): Likewise.
40766 [non-C99-based standards] (acoshf): Likewise.
40767 [non-C99-based standards] (asinhf): Likewise.
40768 [non-C99-based standards] (atanhf): Likewise.
40769 [non-C99-based standards] (cbrtf): Likewise.
40770 [non-C99-based standards] (expm1f): Likewise.
40771 [non-C99-based standards] (ilogbf): Likewise.
40772 [non-C99-based standards] (log1pf): Likewise.
40773 [non-C99-based standards] (logbf): Likewise.
40774 [non-C99-based standards] (nextafterf): Likewise.
40775 [non-C99-based standards] (remainderf): Likewise.
40776 [non-C99-based standards] (rintf): Likewise.
40777 [non-C99-based standards] (scalbf): Likewise.
40778 [non-C99-based standards] (copysignl): Likewise.
40779 [non-C99-based standards] (exp2l): Likewise.
40780 [non-C99-based standards] (log2l): Likewise.
40781 [non-C99-based standards] (modfl): Allow.
40782 [non-C99-based standards] (erfl): Do not allow.
40783 [non-C99-based standards] (erfcl): Likewise.
40784 [non-C99-based standards] (gammal): Likewise.
40785 [non-C99-based standards] (hypotl): Likewise.
40786 [non-C99-based standards] (j0l): Likewise.
40787 [non-C99-based standards] (j1l): Likewise.
40788 [non-C99-based standards] (jnl): Likewise.
40789 [non-C99-based standards] (lgammal): Likewise.
40790 [non-C99-based standards] (tgammal): Likewise.
40791 [non-C99-based standards] (y0l): Likewise.
40792 [non-C99-based standards] (y1l): Likewise.
40793 [non-C99-based standards] (ynl): Likewise.
40794 [non-C99-based standards] (isnanl): Likewise.
40795 [non-C99-based standards] (acoshl): Likewise.
40796 [non-C99-based standards] (asinhl): Likewise.
40797 [non-C99-based standards] (atanhl): Likewise.
40798 [non-C99-based standards] (cbrtl): Likewise.
40799 [non-C99-based standards] (expm1l): Likewise.
40800 [non-C99-based standards] (ilogbl): Likewise.
40801 [non-C99-based standards] (log1pl): Likewise.
40802 [non-C99-based standards] (logbl): Likewise.
40803 [non-C99-based standards] (nextafterl): Likewise.
40804 [non-C99-based standards] (remainderl): Likewise.
40805 [non-C99-based standards] (rintl): Likewise.
40806 [non-C99-based standards] (scalbl): Likewise.
40807 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40808 [non-C99-based standards] (FP_*): Do not allow.
40809 [C99-based standards] (FP_*): Change to
40810 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40811 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40812 allow.
40813 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40814 (SIG_ERR): Likewise.
40815 [X/Open-based standards] (SIG_HOLD): Likewise.
40816 (SIG_IGN): Likewise.
40817 (SIGABRT): Use macro-int-constant. Specify type. Require
40818 positive value.
40819 (SIGFPE): Likewise.
40820 (SIGILL): Likewise.
40821 (SIGINT): Likewise.
40822 (SIGSEGV): Likewise.
40823 (SIGTER): Likewise.
40824 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40825 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40826 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40827 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40828 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40829 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40830 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40831 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40832 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40833 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40834 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40835 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40836 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40837 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40838 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40839 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40840 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40841 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40842 [X/Open-based standards] (SIGTRAP): Likewise.
40843 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40844 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40845 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40846 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40847 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40848 allow.
40849
408502012-05-08 Ian Wienand <ianw@vmware.com>
40851
40852 [BZ #14080]
40853 * time/tzset.c (__tzset_parse_tz): Update default rules for
40854 daylight time changes in the Energy Policy Act of 2005.
40855
408562012-05-09 Andreas Jaeger <aj@suse.de>
40857
40858 [BZ #13983]
40859 * elf/ldconfig.c (parse_conf): Change string to make clear that
40860 ldconfig only issued a warning if ld.so.conf does not exist.
40861
408622012-05-08 David S. Miller <davem@davemloft.net>
40863
40864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40865 movxtod instead of popping the value on the stack.
40866
40867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40868
408692012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40870
40871 * config.h.in: Add HAVE_ARM_PCS_VFP.
40872
408732012-05-08 Roland Mc Grath <roland@hack.frob.com>
40874
40875 [BZ #13979]
40876 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40877 checking but the checks are disabled for any reason.
40878
408792012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40880
40881 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40882 and ELF64_R_TYPE with ELFW(R_TYPE).
40883
408842012-05-08 Joseph Myers <joseph@codesourcery.com>
40885
40886 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40887 (ulimit): Likewise.
40888
40889 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40890 (settimeofday): Likewise.
40891
408922012-05-08 Mike Frysinger <vapier@gentoo.org>
40893
40894 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40895 a struct th_u2 inside the union, and move tu_block/tu_code into
40896 a new th_u3 union of tu_block/tu_code inside of that. Move
40897 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40898 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40899 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40900 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40901 (th_stuff): Change to th_u1.tu_stuff.
40902 (th_data): Define.
40903 (th_msg): Change to th_u1.th_u2.tu_data.
40904
409052012-05-07 David S. Miller <davem@davemloft.net>
40906
40907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40908
40909 [BZ #14074]
40910 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40911 (SETUP_PIC_REG): Use it.
40912 (SETUP_PIC_REG_LEAF): Use it.
40913
409142012-05-07 Joseph Myers <joseph@codesourcery.com>
40915
40916 [BZ #13885]
40917 [BZ #13923]
40918 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40919 USE_AS_EXPM1L.
40920 (EXPL_FINITE): Likewise.
40921 (FLDLOG): Likewise.
40922 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40923 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40924 e_expl.S.
40925 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40926 USE_AS_EXPM1L.
40927 (EXPL_FINITE): Likewise.
40928 (FLDLOG): Likewise.
40929 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40930 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40931 e_expl.S.
40932 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40933 test of -max_value argument for long double.
40934 * sysdeps/i386/fpu/libm-test-ulps: Update.
40935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40936
409372012-05-06 David S. Miller <davem@davemloft.net>
40938
40939 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40940 quad soft-float symbols whose references which are compiler
40941 generated.
40942 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40943
409442012-05-06 Joseph Myers <joseph@codesourcery.com>
40945
40946 [BZ #13884]
40947 [BZ #13914]
40948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40949 USE_AS_EXP10L.
40950 (EXPL_FINITE): Likewise.
40951 (FLDLOG): Likewise.
40952 (c0): Likewise.
40953 (c1): Likewise.
40954 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40955 Adjust comments for base varying.
40956 (__expl_finite): Change alias to EXPL_FINITE.
40957 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40958 e_expl.S.
40959 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40960 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40962 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40963 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40964 USE_AS_EXP10L.
40965 (EXPL_FINITE): Likewise.
40966 (FLDLOG): Likewise.
40967 (c0): Likewise.
40968 (c1): Likewise.
40969 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40970 Adjust comments for base varying.
40971 (__expl_finite): Change alias to EXPL_FINITE.
40972 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40973 tests for bugs.
40974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40975
40976 [BZ #14064]
40977 * math/libm-test.inc (check_float_internal): Correct ulp
40978 calculation for subnormal expected results.
40979
409802012-05-06 Andreas Jaeger <aj@suse.de>
40981
40982 * Makeconfig (+math-flags): New, set to -frounding-math.
40983 (+cflags): Add +math-flags so that all of glibc gets compiled with
40984 it.
40985
40986 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40987
409882012-05-05 Joseph Myers <joseph@codesourcery.com>
40989
40990 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40991 Disable one test.
40992
40993 [BZ #13787]
40994 [BZ #13922]
40995 [BZ #14036]
40996 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40997 (__ieee754_expl): Allow for and saturate large arguments.
40998 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40999 (u_threshold): Likewise.
41000 (__exp): Call __ieee754_exp before checking for overflow and
41001 underflow.
41002 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41003 (u_threshold): Likewise.
41004 (__expf): Call __ieee754_expf before checking for overflow and
41005 underflow.
41006 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41007 (u_threshold): Likewise.
41008 (__expl): Call __ieee754_expl before checking for overflow and
41009 underflow.
41010 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41011 (__ieee754_expl): Allow for and saturate large arguments.
41012 * math/libm-test.inc (exp_test): Add another test. Do not allow
41013 missing overflow exception on overflow.
41014 (expm1_test): Do not allow missing overflow exception on overflow.
41015
41016 * sysdeps/i386/fpu/e_expl.c: Move to ...
41017 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41018 rather than using inline asm.
41019 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41020 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41021 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41022
41023 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41024 (nice): Likewise.
41025 (poll): Likewise.
41026 (signal): Likewise.
41027 (time): Likewise.
41028 (times): Likewise.
41029
410302012-05-04 Joseph Myers <joseph@codesourcery.com>
41031
41032 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41033 sysdeps/unix/common/syscalls.list.
41034 (fchmod): Likewise.
41035 (fchown): Likewise.
41036 (ftruncate): Likewise.
41037 (getrusage): Likewise.
41038 (gettimeofday): Likewise.
41039 (setpgid): Likewise.
41040 (setregid): Likewise.
41041 (setreuid): Likewise.
41042 (sigaction): Likewise.
41043 (truncate): Likewise.
41044 (vhangup): Likewise.
41045 * sysdeps/unix/common/syscalls.list: Remove file.
41046 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41047 * sysdeps/unix/sysv/linux/Implies: Likewise.
41048
410492012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41050
41051 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41053 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41054 Moved to ...
41055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41056 Here.
41057 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41058 to ...
41059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41060 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41061 to ...
41062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41063 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41064 to ...
41065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41066 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41067 to ...
41068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41069 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41070 to ...
41071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41072 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41073 to ...
41074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41075 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41076 to ...
41077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41078 Here.
41079 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41080 to ...
41081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41082 Here.
41083 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41084 to ...
41085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41086 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41087 Moved to ...
41088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41089 Here.
41090 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41091 to ...
41092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41093
410942012-05-04 Joseph Myers <joseph@codesourcery.com>
41095
41096 * sysdeps/unix/common/bits/dirent.h: Remove file.
41097 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41098
41099 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41100 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41101 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41102 * sysdeps/unix/bsd/isatty.c: Likewise.
41103 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41104 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41105 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41106
411072012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41108
41109 [BZ #13563]
41110 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41111 long double comparison inaccuracies.
41112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41114
411152012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41116
41117 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41119
411202012-05-04 Joseph Myers <joseph@codesourcery.com>
41121
41122 [BZ #14049]
41123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41124 nonzero digits before rounding a hex value.
41125 * stdlib/tst-strtod.c (tests): Add another test.
41126
411272012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41128
41129 * sysdeps/s390/fpu/libm-test-ulps: Update.
41130
411312012-05-03 Andreas Jaeger <aj@suse.de>
41132
41133 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41134 does not get optimized out.
41135 (malloc_opt_barrier): New.
41136
411372012-05-03 Andreas Jaeger <aj@suse.de>
41138 Roland McGrath <roland@hack.frob.com>
41139
41140 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41141 intermediate file deletion.
41142 (generated): Add .symlist files.
41143
411442012-05-03 Joseph Myers <joseph@codesourcery.com>
41145
41146 [BZ #13775]
41147 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41148 Redirect under this condition.
41149 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41150 [__USE_GNU] (__dprintf_chk): Not under this condition.
41151 [__USE_GNU] (__vdprintf_chk): Likewise.
41152 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41153 under this condition.
41154 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41155 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41156 [__USE_XOPEN2K8] (vdprintf): Likewise.
41157 [__USE_GNU] (__dprintf_chk): Not under this condition.
41158 [__USE_GNU] (__vdprintf_chk): Likewise.
41159 [__USE_GNU] (dprintf): Likewise.
41160 [__USE_GNU] (vdprintf): Likewise.
41161
411622012-05-03 Roland McGrath <roland@hack.frob.com>
41163
41164 * elf/Makefile (common-generated): Set this instead of generated for
41165 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41166 $(all-built-dso)-derived lists.
41167
411682012-05-03 Andreas Jaeger <aj@suse.de>
41169
41170 * sysdeps/i386/fpu/libm-test-ulps: Update.
41171
41172 * FAQ: Removed.
41173 * FAQ.in: Likewise.
41174 * scripts/gen-FAQ.pl: Likewise.
41175 * manual/install.texi (Installation): Point to online location of
41176 FAQ.
41177 * Makefile (files-for-dist): Remove FAQ.
41178 (FAQ): Remove.
41179
411802012-05-02 Allan McRae <allan@archlinux.org>
41181
41182 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41183 (LDFLAGS-reldepmod5.so): Likewise.
41184 (LDFLAGS-reldep6mod1.so): Likewise.
41185 (LDFLAGS-reldep6mod4.so): Likewise.
41186 (LDFLAGS-reldep8mod3.so): Likewise.
41187 (LDFLAGS-unload4mod1.so): Likewise.
41188 (LDFLAGS-unload4mod2.so): Likewise.
41189 (LDFLAGS-tst-initorder): Likewise.
41190 (LDFLAGS-tst-initordera2.so): Likewise.
41191 (LDFLAGS-tst-initordera3.so): Likewise.
41192 (LDFLAGS-tst-initordera4.so): Likewise.
41193 (LDFLAGS-tst-initorderb2.so): Likewise.
41194 (LDFLAGS-noload): Likewise.
41195 (LDFLAGS-next): Likewise.
41196 (LDFLAGS-order2mod1.so): Likewise.
41197 (LDFLAGS-order2mod2.so): Likewise.
41198 (LDFLAGS-tst-initorder2): Likewise.
41199 (LDFLAGS-tst-initorder2a.so): Likewise.
41200 (LDFLAGS-tst-initorder2b.so): Likewise.
41201 (LDFLAGS-tst-initorder2c.so): Likewise.
41202 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41203
412042012-05-02 David S. Miller <davem@davemloft.net>
41205
41206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41207
412082012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41209
41210 [BZ #14055]
41211 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41212
412132012-05-02 Andreas Jaeger <aj@suse.de>
41214
41215 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41216 since we manipulate rounding mode.
41217 (CPPFLAGS-test-idouble.c): Likewise.
41218 (CPPFLAGS-test-ifloat.c): Likewise.
41219 (CFLAGS-test-ldouble.c): Likewise.
41220 (CFLAGS-test-double.c): Likewise.
41221 (CFLAGS-test-float.c): Likewise.
41222 (CFLAGS-test-misc.c): Likewise.
41223 (CFLAGS-test-test-fenv.c): Likewise.
41224
412252012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41226
41227 [BZ #2550]
41228 [BZ #2570]
41229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41230 comparisons to determine direction to adjust input.
41231
412322012-05-01 Roland McGrath <roland@hack.frob.com>
41233
41234 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41235 output to the target.
41236
41237 * scripts/localplt.awk: New file.
41238 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41239 (check-localplt-CFLAGS): Variable removed.
41240 ($(all-built-dso:=.jmprel)): New static pattern rule.
41241 (generated): Add those targets.
41242 (localplt-built-dso): New variable.
41243 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41244
41245 * elf/check-localplt.c: File removed.
41246
41247 * scripts/check-execstack.awk: New file.
41248 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41249 (check-execstack-CFLAGS): Variable removed.
41250 ($(objpfx)check-execstack.h): Target removed.
41251 ($(objpfx)execstack-default): New target.
41252 (generated): Add that instead of check-execstack.h.
41253 ($(all-built-dso:=.phdr)): New static pattern rule.
41254 (generated): Add those targets.
41255 * elf/check-execstack.c: File removed.
41256
41257 * scripts/check-textrel.awk: New file.
41258 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41259 (check-textrel-CFLAGS): Variable removed.
41260 (all-built-dso): Use := to define.o
41261 ($(all-built-dso:=.dyn)): New static pattern rule.
41262 (generated): Add those targets.
41263 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41264 * config.make.in (READELF): New substituted variable.
41265 * elf/check-textrel.c: File removed.
41266
412672012-05-01 Joseph Myers <joseph@codesourcery.com>
41268
41269 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41270 allow.
41271 * conform/data/ctype.h-data [C99-based standards] (isblank):
41272 Expect function.
41273 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41274 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41275 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41276 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41277 Specify type. Require positive value.
41278 (EILSEQ): Likewise.
41279 (ERANGE): Likewise.
41280 [ISO || POSIX] (EILSEQ): Do not expect.
41281 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41282 Specify type. Require positive value.
41283 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41284 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41285 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41286 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41287 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41288 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41289 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41290 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41291 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41292 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41293 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41294 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41295 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41296 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41297 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41298 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41299 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41300 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41301 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41302 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41303 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41304 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41305 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41306 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41307 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41308 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41309 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41310 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41311 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41312 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41313 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41314 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41315 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41316 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41317 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41318 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41319 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41320 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41321 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41322 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41323 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41324 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41325 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41326 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41327 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41328 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41329 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41330 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41331 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41332 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41333 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41334 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41335 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41336 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41337 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41338 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41339 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41340 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41341 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41342 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41343 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41344 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41345 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41346 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41347 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41348 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41349 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41350 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41351 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41352 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41353 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41354 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41355 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41356 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41357 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41358 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41359 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41360 Require >= 2.
41361 (FLT_ROUNDS): Expect as macro, not constant.
41362 (FLT_MANT_DIG): Use macro-int-constant.
41363 (DBL_MANT_DIG): Likewise.
41364 (LDBL_MANT_DIG): Likewise.
41365 (FLT_DIG): Likewise.
41366 (DBL_DIG): Likewise.
41367 (LDBL_DIG): Likewise.
41368 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41369 (DBL_MIN_EXP): Likewise.
41370 (LDBL_MIN_EXP): Likewise.
41371 (FLT_MAX_EXP): Use macro-int-constant.
41372 (DBL_MAX_EXP): Likewise.
41373 (LDBL_MAX_EXP): Likewise.
41374 (FLT_MAX_10_EXP): Likewise.
41375 (DBL_MAX_10_EXP): Likewise.
41376 (LDBL_MAX_10_EXP): Likewise.
41377 (FLT_MAX): Use macro-constant.
41378 (DBL_MAX): Likewise.
41379 (LDBL_MAX): Likewise.
41380 (FLT_EPSILON): Use macro-constant. Give upper bound.
41381 (DBL_EPSILON): Likewise.
41382 (LDBL_EPSILON): Likewise.
41383 (FLT_MIN): Likewise.
41384 (DBL_MIN): Likewise.
41385 (LDBL_MIN): Likewise.
41386 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41387 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41388 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41389 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41390 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41391 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41392 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41393 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41394 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41395 [ISO11] (FLT_TRUE_MIN): Likewise.
41396 [ISO11] (LDBL_TRUE_MIN): Likewise.
41397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41398 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41399 (SCHAR_MIN): Use macro-int-constant. Specify type.
41400 (SCHAR_MAX): Likewise.
41401 (UCHAR_MAX): Likewise.
41402 (CHAR_MIN): Likewise.
41403 (CHAR_MAX): Likewise.
41404 (MB_LEN_MAX): Use macro-int-constant.
41405 (SHRT_MIN): Use macro-int-constant. Specify type.
41406 (SHRT_MAX): Likewise.
41407 (USHRT_MAX): Likewise.
41408 (INT_MAX): Likewise.
41409 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41410 bound negative.
41411 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41412 bound with "U".
41413 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41414 bound with "L".
41415 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41416 bound negative. Suffix upper bound with "L".
41417 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41418 bound with "UL".
41419 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41420 Specify type.
41421 [C99-based standards] (LLONG_MAX): Likewise.
41422 [C99-based standards] (ULLONG_MAX): Likewise.
41423 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41424 == 0.
41425 [ISO11] (max_align_t): Require type.
41426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41427
41428 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41429 from $CFLAGS, without defining away __attribute__ calls.
41430 (checknamespace): Use $CFLAGS_namespace.
41431
41432 * conform/conformtest.pl (@keywords): Only include C99 keywords
41433 for standards based on C99 or C11.
41434
41435 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41436 Disable tests.
41437 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41438 UNIX98]: Likewise.
41439
41440 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41441 usability of symbols in #if.
41442
41443 * conform/conformtest.pl: If macro or constant types start
41444 "promoted:", expect the symbol to be of the following type
41445 promoted by the integer promotions.
41446
41447 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41448 in one place. Also handle "macro-constant".
41449
41450 * conform/conformtest.pl: Only accept expected macro values with
41451 "==". Parse all "macro" lines in one place.
41452 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41453
41454 * conform/conformtest.pl: Handle braced types on "constant" lines
41455 instead of handling "typed-constant".
41456 * conform/data/signal.h-data: Use "constant" instead of
41457 "typed-constant".
41458
41459 * conform/conformtest.pl: Handle "optional-" at start of lines in
41460 one place rather than duplicating several cases. Handle each
41461 format of "macro" line with initial "optional-".
41462
41463 * conform/conformtest.pl: Only accept expected constant or
41464 optional-constant values with "==". Parse all "constant" lines in
41465 one place. Parse all "optional-constant" lines in one place.
41466 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41467 * conform/data/fmtmsg.h-data: Likewise.
41468 * conform/data/netinet/in.h-data: Likewise.
41469 * conform/data/tar.h-data: Likewise.
41470 * conform/data/limits.h-data: Use "==" form on "constant" and
41471 "optional-constant" lines.
41472
41473 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41474 Use -std=c99 for XOPEN2K.
41475 (@knownproblems): Remove.
41476 (newtoken): Don't check %isknown.
41477
41478 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41479 Do not expect macro.
41480 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41481 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41482 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41483 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41484 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41485 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41486 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41487 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41488 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41489 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41490 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41491 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41492 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41493 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41494 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41495 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41496 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41497 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41498 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41499 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41500 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41501 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41502 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41503 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41504 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41505 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41506 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41507 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41508 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41509 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41510 [XPG3] (acosh): Likewise.
41511 [XPG3] (asinh): Likewise.
41512 [XPG3] (atanh): Likewise.
41513 [XPG3] (cbrt): Likewise.
41514 [XPG3] (expm1): Likewise.
41515 [XPG3] (ilogb): Likewise.
41516 [XPG3] (log1p): Likewise.
41517 [XPG3] (logb): Likewise.
41518 [XPG3] (nextafter): Likewise.
41519 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41520 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41521 [XPG3] (remainder): Likewise.
41522 [XPG3] (rint): Likewise.
41523 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41524 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41525 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41526 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41527 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41528 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41529 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41530 [UNIX98 || XOPEN2K] (scalb): Expect.
41531 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41532 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41533 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41534 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41535 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41536 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41537 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41538 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41539 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41540 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41541 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41542 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41543 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41544 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41545 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41546 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41547 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41548 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41549 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41550 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41551 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41552 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41553 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41554 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41555 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41556 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41557 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41558 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41559 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41560 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41561 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41562 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41563 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41564 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41565 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41566 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41567 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41568 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41569 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41570 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41571 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41572 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41573 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41574 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41575 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41576 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41577 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41578 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41579 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41580 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41581 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41582 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41583 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41584 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41585 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41586 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41587 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41588 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41589 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41590 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41591 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41592 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41593 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41594 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41595 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41596 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41597 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41598 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41599 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41600 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41601 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41602 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41603 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41604 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41605 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41606 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41607 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41608 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41609 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41610 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41611 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41612 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41613 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41614 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41615 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41616 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41617 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41618 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41619 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41620 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41621 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41622 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41623 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41624 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41625 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41626 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41627 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41628 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41629 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41630 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41631 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41632 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41633 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41634 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41635 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41636 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41637 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41638 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41639 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41640 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41641 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41642 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41643 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41644 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41645 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41646 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41647 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41648 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41649 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41650 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41651 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41652 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41653 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41654 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41655 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41656 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41657 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41658 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41659 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41660 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41661 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41662 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41663 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41664 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41665 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41666 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41667 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41668
41669 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41670 _XOPEN_SOURCE_EXTENDED for XPG4.
41671
41672 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41673
41674 * Makeconfig (localtime): Remove variable.
41675 (inst_localtime-file): Likewise.
41676
416772012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41678
41679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41680 Update.
41681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41682 Update.
41683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41684 Update.
41685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41686 Update.
41687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41688 Update.
41689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41690 Update.
41691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41692 Update.
41693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41694 Update.
41695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41696 Update.
41697
416982012-05-01 Joseph Myers <joseph@codesourcery.com>
41699
41700 [BZ #2550]
41701 [BZ #2570]
41702 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41703 comparisons to determine direction to adjust input.
41704 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41705 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41706 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41707 Likewise.
41708 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41709 Likewise.
41710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41711 Likewise.
41712 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41713 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41714 Likewise.
41715 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41716 Likewise.
41717 * math/libm-test.inc (nexttoward_test): Add more tests.
41718
417192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41720
41721 [BZ #14040]
41722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41723 in version GLIBC_2.1, not GLIBC_2.0.
41724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41725 Likewise.
41726
417272012-04-30 Joseph Myers <joseph@codesourcery.com>
41728
41729 [BZ #13942]
41730 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41731 (1 - x) * (1 + x).
41732 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41733 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41734 * math/libm-test.inc (acos_test): Add more tests.
41735 (asin_test): Likewise.
41736 * sysdeps/i386/fpu/libm-test-ulps: Update.
41737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41738
41739 [BZ #14034]
41740 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41741 of square root.
41742 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41743 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41744 * math/libm-test.inc (acos_test_tonearest): New function.
41745 (acos_test_towardzero): Likewise.
41746 (acos_test_downward): Likewise.
41747 (acos_test_upward): Likewise.
41748 (asin_test_tonearest): Likewise.
41749 (asin_test_towardzero): Likewise.
41750 (asin_test_downward): Likewise.
41751 (asin_test_upward): Likewise.
41752 (main): Call the new functions.
41753 * sysdeps/i386/fpu/libm-test-ulps: Update.
41754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41755
41756 [BZ #13884]
41757 [BZ #13924]
41758 * math/e_exp10.c: Include <float.h>.
41759 (__ieee754_exp10): Handle underflow here rather than multiplying
41760 large negative argument by M_LN10.
41761 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41762 of __ieee754_expf.
41763 * math/e_exp10l.c: Include <float.h>.
41764 (__ieee754_exp10l): Handle underflow here rather than multiplying
41765 large negative argument by M_LN10l.
41766 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41767 spurious overflow exception on underflow.
41768
417692012-04-29 Marek Polacek <polacek@redhat.com>
41770
41771 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41772 (__fortify_function): New macro.
41773 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41774 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41775 __extern_always_inline.
41776 * libio/bits/stdio2.h: Likewise.
41777 * libio/bits/stdio.h: Likewise.
41778 * string/string.h: Likewise.
41779 * string/bits/string3.h: Likewise.
41780 * include/stdio.h: Likewise.
41781 * stdlib/bits/stdlib.h: Likewise.
41782 * stdlib/stdlib.h: Likewise.
41783 * rt/bits/mqueue2.h: Likewise.
41784 * rt/mqueue.h: Likewise.
41785 * posix/bits/unistd.h: Likewise.
41786 * posix/unistd.h: Likewise.
41787 * io/bits/poll2.h: Likewise.
41788 * io/bits/fcntl2.h: Likewise.
41789 * io/fcntl.h: Likewise.
41790 * io/sys/poll.h: Likewise.
41791 * misc/bits/syslog.h: Likewise.
41792 * misc/bits/syslog-ldbl.h: Likewise.
41793 * misc/sys/syslog.h: Likewise.
41794 * socket/bits/socket2.h: Likewise.
41795 * socket/sys/socket.h: Likewise.
41796 * debug/tst-chk1.c: Likewise.
41797 * wcsmbs/bits/wchar2.h: Likewise.
41798 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41799 * wcsmbs/wchar.h: Likewise.
41800
418012012-04-29 Andreas Jaeger <aj@suse.de>
41802
41803 * Makerules (tests): Remove enable-check-abi protection.
41804 (check-abi-warn): Remove.
41805 (check-abi-%): Remove check-abi-warn usage.
41806
41807 * configure.in: Remove check-abi configure option.
41808 * configure: Regenerated.
41809 * config.make.in (enable-check-abi): Remove.
41810
418112012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41812
41813 [BZ #14033]
41814 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41815 double functions to double *_finite functions.
41816
41817 [BZ #13941]
41818 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41819 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41820 LDBL_MIN_EXP.
41821 * stdio-common/Makefile (tests): Add tst-sprintf3.
41822 * stdio-common/tst-sprintf3.c: New file.
41823
41824 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41825 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41826
418272012-04-28 Joseph Myers <joseph@codesourcery.com>
41828
41829 * conform/conformtest.pl: Remove duplicate typed-constant
41830 handling.
41831
418322012-04-28 David S. Miller <davem@davemloft.net>
41833
41834 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41835 (check-abi-%): Remove AWK script prerequisite and explicit
41836 abilist directory.
41837 (check-abi): Rewrite to just diff the symlist with the abilist.
41838 (config-tls, config-abi-config): Delete, no longer used.
41839 (update-abi-%): Remove AWK script and explicit abilist directory.
41840 (update-abi): Rewrite to simply compare and conditionally copy the
41841 symlist and the sysdep abilist file. Remove update-abi-config
41842 checks.
41843 * abilist/ld.abilist: Remove.
41844 * abilist/libBrokenLocale.abilist: Remove.
41845 * abilist/libanl.abilist: Remove.
41846 * abilist/libcrypt.abilist: Remove.
41847 * abilist/libdl.abilist: Remove.
41848 * abilist/librt.abilist: Remove.
41849 * abilist/libthread_db.abilist: Remove.
41850 * abilist/libutil.abilist: Remove.
41851 * scripts/extract-abilist.awk: Remove.
41852 * scripts/merge-abilist.awk: Remove.
41853 * sysdeps/generic/libcidn.abilist: New file.
41854 * sysdeps/generic/libnss_compat.abilist: New file.
41855 * sysdeps/generic/libnss_db.abilist: New file.
41856 * sysdeps/generic/libnss_dns.abilist: New file.
41857 * sysdeps/generic/libnss_files.abilist: New file.
41858 * sysdeps/generic/libnss_hesiod.abilist: New file.
41859 * sysdeps/generic/libnss_nis.abilist: New file.
41860 * sysdeps/generic/libnss_nisplus.abilist: New file.
41861 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41862 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41863 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41864 file.
41865 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41866 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41867 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41868 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41869 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41870 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41871 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41872 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41873 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41874 file.
41875 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41876 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41877 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41878 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41879 file.
41880 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41881 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41882 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41883 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41884 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41885 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41886 file.
41887 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41888 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41889 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41890 file.
41891 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41893 New file.
41894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41895 New file.
41896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41897 New file.
41898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41899 New file.
41900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41901 New file.
41902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41903 New file.
41904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41905 New file.
41906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41907 New file.
41908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41909 New file.
41910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41911 New file.
41912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41913 New file.
41914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41915 New file.
41916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41917 New file.
41918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41919 file.
41920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41921 New file.
41922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41923 New file.
41924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41925 file.
41926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41927 New file.
41928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41929 New file.
41930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41931 file.
41932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41933 New file.
41934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41935 New file.
41936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41937 New file.
41938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41939 New file.
41940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41941 New file.
41942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41943 New file.
41944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41946 file.
41947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41948 New file.
41949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41950 file.
41951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41952 file.
41953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41954 file.
41955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41956 file.
41957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41958 file.
41959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41960 New file.
41961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41962 file.
41963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41964 file.
41965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41966 New file.
41967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41968 file.
41969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41971 file.
41972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41973 New file.
41974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41975 file.
41976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41977 file.
41978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41979 file.
41980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41981 file.
41982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41983 file.
41984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41985 New file.
41986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41987 file.
41988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41989 file.
41990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41991 New file.
41992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41993 file.
41994 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41995 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41996 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41997 file.
41998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41999 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42000 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42001 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42002 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42003 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42004 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42005 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42006 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42007 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42010 file.
42011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42012 New file.
42013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42014 file.
42015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42016 file.
42017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42018 file.
42019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42020 file.
42021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42022 file.
42023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42024 New file.
42025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42026 New file.
42027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42028 file.
42029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42030 New file.
42031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42032 file.
42033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42035 file.
42036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42037 New file.
42038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42039 file.
42040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42041 file.
42042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42043 file.
42044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42045 file.
42046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42047 file.
42048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42049 New file.
42050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42051 New file.
42052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42053 file.
42054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42055 New file.
42056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42057 file.
42058
420592012-04-28 Joseph Myers <joseph@codesourcery.com>
42060
42061 * conform/conformtest.pl: Fix typo in handling typed-constant from
42062 allow-header.
42063
420642012-04-27 Joseph Myers <joseph@codesourcery.com>
42065
42066 * README: Cut down references to pre-2.6 Linux kernels and
42067 Linuxthreads. Update lists of configurations in libc and ports
42068 and sort alphabetically. Say "or newer" with Linux kernel version
42069 requirements.
42070
42071 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42072
420732012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42074
42075 [BZ #887]
42076 * math/libm-test.inc (logb_test_downward): New test to expose
42077 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42078 rounding mode.
42079
420802012-04-27 Joseph Myers <joseph@codesourcery.com>
42081
42082 [BZ #14027]
42083 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42084 to be done.
42085 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42086 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42087
420882012-04-26 Joseph Myers <joseph@codesourcery.com>
42089
42090 * sysdeps/unix/i386/brk.S: Remove file.
42091 * sysdeps/unix/i386/dl-brk.S: Likewise.
42092 * sysdeps/unix/i386/pipe.S: Likewise.
42093 * sysdeps/unix/i386/sigreturn.S: Likewise.
42094 * sysdeps/unix/i386/syscall.S: Likewise.
42095 * sysdeps/unix/i386/vfork.S: Likewise.
42096 * sysdeps/unix/i386/wait.S: Likewise.
42097
42098 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42099 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42100
42101 * configure.in (arm*-none*): Do not allow without
42102 --enable-hacker-mode.
42103 (netbsd*): Remove case setting base_os.
42104 (386bsd*): Likewise.
42105 (freebsd*): Likewise.
42106 (bsdi*): Likewise.
42107 (osf*): Likewise.
42108 (sunos*): Likewise.
42109 (ultrix*): Likewise.
42110 (newsos*): Likewise.
42111 (dynix*): Likewise.
42112 (*bsd*): Likewise.
42113 (sysv*): Likewise.
42114 (isc*): Likewise.
42115 (esix*): Likewise.
42116 (sco*): Likewise.
42117 (minix*): Likewise.
42118 (irix4*): Likewise.
42119 (irix6*): Likewise.
42120 (solaris[2-9]*): Likewise.
42121 (none): Likewise.
42122 * configure: Regenerated.
42123
421242012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42125
42126 [BZ #11521]
42127 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42128 overflow or cancellation in calculating denominator.
42129 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42130 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42131 down expression to avoid unexpected rounding in newer GCCs.
42132 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42133
421342012-04-26 David S. Miller <davem@davemloft.net>
42135
42136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42137 long-double compat symbols.
42138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42151
421522012-04-25 David S. Miller <davem@davemloft.net>
42153
42154 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42155 HWCAP_* values only after the memory barriers have been defined.
42156 (atomic_full_barrier): Define.
42157 (atomic_read_barrier): Define.
42158 (atomic_write_barrier): Define.
42159
421602012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42161
42162 * shlib-versions: Add libgcc_s version information.
42163 * sysdeps/generic/libgcc_s.h: Remove.
42164 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42165 libgcc_s.h.
42166 * sysdeps/gnu/unwind-resume.c: Likewise.
42167 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42168
421692012-04-25 David S. Miller <davem@davemloft.net>
42170
42171 * sysdeps/unix/sparc/brk.S: Delete.
42172 * sysdeps/unix/sparc/dl-brk.S: Delete.
42173 * sysdeps/unix/sparc/pipe.S: Delete.
42174 * sysdeps/unix/sparc/sysdep.S: Delete.
42175 * sysdeps/unix/sparc/sysdep.h: Delete.
42176 * sysdeps/unix/sparc/vfork.S: Delete.
42177 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42178 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42179 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42180 (ret_ERRVAL, r0, r1, MOVE): Define.
42181 (JUMPTARGET): Remove.
42182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42183 sysdeps/unix/sparc/sysdep.h
42184 (ENTRY, END): Remove.
42185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42186
421872012-04-25 Joseph Myers <joseph@codesourcery.com>
42188
42189 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42190 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42191 -DIS_IN_build.
42192
42193 * timezone/README: Update upstream location and email address for
42194 tzcode and tzdata.
42195 * timezone/zdump.c: Update from tzcode 2012b.
42196 * timezone/zic.c: Likewise.
42197
42198 * configure.in (libc_cv_as_needed): Remove test.
42199 * configure: Regenerated.
42200 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42201 conditional definition.
42202 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42203 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42204 * config.make.in (have-as-needed): Remove variable.
42205
422062012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42207 Paul Pluzhnikov <ppluzhnikov@google.com>
42208
42209 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42210 strings correctly.
42211
422122012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42213
42214 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42215 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42216 * sysdeps/sh/strlen.S: Likewise.
42217
422182012-04-24 Joseph Myers <joseph@codesourcery.com>
42219
42220 * sysdeps/unix/fork.S: Remove file.
42221 * sysdeps/unix/i386/fork.S: Likewise.
42222 * sysdeps/unix/sparc/fork.S: Likewise.
42223
42224 * sysdeps/unix/system.c: Remove file.
42225 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42226
42227 * sysdeps/unix/getegid.S: Remove file.
42228 * sysdeps/unix/geteuid.S: Likewise.
42229
422302012-04-24 Roland McGrath <roland@hack.frob.com>
42231
42232 * scripts/check-localplt.awk: New file.
42233 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42234 of diff.
42235 * scripts/data/localplt-generic.data: Add a comment.
42236
42237 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42238 NODE when __dir_mkfile failed.
42239 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42240 Reported by Ludovic Courtès <ludo@gnu.org>.
42241
422422012-04-24 Andreas Jaeger <aj@suse.de>
42243
42244 * Makerules (common-clean): Also remove gen-as-const-headers
42245 files.
42246
422472012-04-24 Joseph Myers <joseph@codesourcery.com>
42248
42249 * Makerules (native-compile): Do not change working directory for
42250 build. Use $(OUTPUT_OPTION) in command.
42251 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42252
422532012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42254
42255 [BZ #13886]
42256 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42257 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42258 * math/libm-test.inc (floor_test): Add more tests.
42259 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42260
422612012-04-24 Joseph Myers <joseph@codesourcery.com>
42262
42263 * sysdeps/unix/getdents.c: Remove file.
42264 * sysdeps/unix/sysv/getdents.c: Likewise.
42265 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42266
42267 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42268 sysdeps/unix/mman/syscalls.list.
42269 (mmap): Likewise.
42270 (mprotect): Likewise.
42271 (msync): Likewise.
42272 (munmap): Likewise.
42273 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42274 * sysdeps/unix/mman/syscalls.list: Remove.
42275 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42276
42277 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42278 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42279 * configure: Regenerated.
42280 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42281 $(libgcc_s_suffix).
42282 * config.make.in (libgcc_s_suffix): Remove variable.
42283
422842012-04-23 Joseph Myers <joseph@codesourcery.com>
42285
42286 * sysdeps/unix/sysv/gethostname.c: Move to ...
42287 * sysdeps/posix/gethostname.c: ... here.
42288
42289 * sysdeps/unix/execve.S: Remove file.
42290
42291 * sysdeps/unix/_exit.S: Remove file.
42292
422932012-04-23 Andreas Jaeger <aj@suse.de>
42294
42295 [BZ #13739]
42296 * manual/Makefile: Remove make dist support, there's no
42297 need for a stand-alone documentation tar ball.
42298 (TEXI2DVI): Define always, it's not in Makeconfig.
42299 (dist): Removed.
42300 (tar-it): Removed.
42301 (edition): Removed.
42302 (glibc-doc-$(edition).tar): Removed
42303 (%.Z): Removed.
42304 (%.gz): Removed.
42305 (%.uu): Removed.
42306 (ETAGS): Remove, it's in Makeconfig.
42307 (move-if-change): Remove, it's in Makeconfig.
42308
423092012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42310
42311 [BZ #13970]
42312 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42313 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42314 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42315 (strtod_l, strtof_l, strtold_l): Remove __wur.
42316 It is not necessarily an error to ignore strtol's return value.
42317 One can reliably look at the stored endptr to decide whether
42318 the number had valid syntax.
42319
423202012-04-21 Andreas Jaeger <aj@suse.de>
42321
42322 [BZ #13739]
42323 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42324
423252012-04-21 Joseph Myers <joseph@codesourcery.com>
42326
42327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42328 * sysdeps/unix/sysv/Versions: Remove file.
42329
423302012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42331
42332 [BZ #13927]
42333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42334
423352012-04-21 Nick Alcock <nick.alcock@oracle.com>
42336
42337 [BZ #7064]
42338 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42339 version from __vm86.
42340
423412012-04-20 Joseph Myers <joseph@codesourcery.com>
42342
42343 * sysdeps/unix/common/lxstat.c: Remove file.
42344 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42345
42346 * sysdeps/unix/sysv/Makefile: Remove file.
42347
42348 * sysdeps/unix/sysv/direct.h: Remove file.
42349
42350 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42351 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42352 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42353 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42354 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42355 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42356 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42357
42358 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42359
42360 * sysdeps/unix/xmknod.c: Remove file.
42361 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42362
42363 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42364
42365 * sysdeps/unix/sysv/i386/time.S: Remove file.
42366
42367 * sysdeps/unix/fxstat.c: Remove file.
42368 * sysdeps/unix/xstat.c: Likewise.
42369 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42370
42371 * sysdeps/unix/sysv/sigaction.c: Remove file.
42372
42373 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42374 (sysdep_headers): Remove variable.
42375 [termio.h not in sysdep_headers] (generated): Likewise.
42376 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42377 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42378 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42379 * sysdeps/unix/sysv/tcflow.c: Likewise.
42380 * sysdeps/unix/sysv/tcflush.c: Likewise.
42381 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42382 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42383 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42384 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42385 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42386
42387 * sysdeps/unix/siglist.c: Remove file.
42388
42389 * sysdeps/unix/getppid.S: Remove file.
42390
42391 * sysdeps/unix/mkdir.c: Remove file.
42392 * sysdeps/unix/rmdir.c: Likewise.
42393
423942012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42395
42396 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42397 ERR_MAX value.
42398 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42399 errlist-compat value.
42400
424012012-04-18 David S. Miller <davem@davemloft.net>
42402
42403 * sysdeps/generic/memcopy.h (reg_char): Delete.
42404 * debug/strcat_chk.c: Use char, not reg_char.
42405 * debug/strcpy_chk.c: Likewise.
42406 * debug/strncat_chk.c: Likewise.
42407 * debug/strncpy_chk.c: Likewise.
42408 * string/memchr.c: Likewise.
42409 * string/memrchr.c: Likewise.
42410 * string/rawmemchr.c: Likewise.
42411 * string/strcat.c: Likewise.
42412 * string/strchr.c: Likewise.
42413 * string/strchrnul.c: Likewise.
42414 * string/strcmp.c: Likewise.
42415 * string/strcpy.c: Likewise.
42416 * string/strncat.c: Likewise.
42417 * string/strncmp.c: Likewise.
42418 * string/strncpy.c: Likewise.
42419
424202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42421
42422 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42423 __builtin_memcopy is called when src and dest ranges are known to not
42424 overlap.
42425
424262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42427
42428 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42429 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42430 fwd_align_merge macro call.
42431 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42432 bwd_align_merge macro call.
42433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42434
424352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42436
42437 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42438 bwd_align_merge macros.
42439 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42440 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42442
424432012-04-18 David S. Miller <davem@davemloft.net>
42444
42445 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42446
424472012-04-18 Andreas Jaeger <aj@suse.de>
42448
42449 [BZ# 6794]
42450 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42451 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42452 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42453
42454 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42455 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42457
42458 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42459 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42460 Adjust for changed ldbl-128 files.
42461
42462 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42463 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42464 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42465
424662012-04-17 David S. Miller <davem@davemloft.net>
42467
42468 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42469
424702012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42471
42472 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42473 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42474 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42475 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42476 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42477 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42478
424792012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42480
42481 [BZ #6794]
42482 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42483 * math/libm-test.inc: Add ilogb errno and exception tests.
42484 * math/w_ilogb.c: New file: ilogb wrapper.
42485 * math/w_ilogbf.c: New file: ilogbf wrapper.
42486 * math/w_ilogbl.c: New file: ilogbl wrapper.
42487 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42488 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42489 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42490 exception being thrown with 0.0 as argument.
42491 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42492 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42493 exception being thrown with 0.0 as argument.
42494 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42495 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42496 exception being thrown with 0.0 as argument.
42497 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42498 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42499 exception being thrown with 0.0 as argument.
42500 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42501 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42502 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42503 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42504 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42505 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42506 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42507 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42508 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42509
425102012-04-17 Petr Baudis <pasky@ucw.cz>
42511
42512 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42513 with altivec.
42514
425152012-04-16 Marek Polacek <polacek@redhat.com>
42516
42517 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42518
425192012-04-16 Marek Polacek <polacek@redhat.com>
42520
42521 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42522 operands of fdivp instruction.
42523
425242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42525
42526 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42527 * elf/tst-auditmod3b.c: Likewise.
42528 * elf/tst-auditmod4b.c: Likewise.
42529 * elf/tst-auditmod5b.c: Likewise.
42530 * elf/tst-auditmod6b.c: Likewise.
42531 * elf/tst-auditmod6c.c: Likewise.
42532 * elf/tst-auditmod7b.c: Likewise.
42533 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42534 * sysdeps/x86_64/preconfigure.in: Likewise.
42535 * sysdeps/x86_64/preconfigure: Regenerated.
42536
425372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42538
42539 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42540 __ILP32__.
42541
425422012-04-13 Antoine Balestrat <merkil33@gmail.com>
42543
42544 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42545 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42546
425472012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42548
42549 [BZ #13973]
42550 * locale/iso-639.def: Fix gl language name. Spotted by
42551 Yaron Shahrabani.
42552
425532012-04-12 Roland McGrath <roland@hack.frob.com>
42554
42555 [BZ #2074]
42556 * libio/libio.h (__io_write_fn): Update comment.
42557
425582012-04-12 Petr Baudis <pasky@ucw.cz>
42559
42560 [BZ #2074]
42561 * stdio.texi (Hook Functions): The user provided writer function
42562 is not allowed to return -1.
42563
425642012-04-11 David S. Miller <davem@davemloft.net>
42565
42566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42567
425682012-04-11 Mike Frysinger <vapier@gentoo.org>
42569
42570 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42571 Add a leading slash to rtkaio.
42572
425732012-04-11 Jim Meyering <meyering@redhat.com>
42574
42575 [BZ #11959]
42576 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42577 It is not necessarily an error to ignore fwrite's return
42578 value. One can reliably use ferror to test for errors after
42579 the fact.
42580
425812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42582
42583 * bits/types.h (__snseconds_t): New type.
42584 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42585
42586 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42588 (__SNSECONDS_T_TYPE): Likewise.
42589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42590 (__SNSECONDS_T_TYPE): Likewise.
42591 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42592 (__SNSECONDS_T_TYPE): Likewise.
42593
425942012-04-10 Andreas Jaeger <aj@suse.de>
42595
42596 [BZ #2636]
42597 * manual/time.texi (Processor Time): Return type of times is
42598 elapsed real time since an arbitrary point in the past.
42599 (CPU Time): Move CLK_TCK from here...
42600 (Processor Time): ...to here. Correct description.
42601 * manual/conf.texi (Constants for Sysconf): Correct description of
42602 _SC_CLK_TCK.
42603
426042012-04-10 David S. Miller <davem@davemloft.net>
42605
42606 [BZ #13967]
42607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42608 where the is a gap between DT_REL(A) and DT_JMPREL.
42609
426102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42611
42612 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42613 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42614 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42615
426162012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42617
42618 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42619 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42620 (dl_main): Handle --inhibit-cache.
42621 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42622 _dl_inhibit_cache.
42623 * elf/dl-load.c (_dl_map_object): Use it.
42624 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42625
426262012-04-09 Joseph Myers <joseph@codesourcery.com>
42627
42628 [BZ #13872]
42629 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42630 (__ieee754_powl): Saturate large exponents rather than testing for
42631 overflow of y*log2(x).
42632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42633 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42634 exceptions.
42635
42636 [BZ #11521]
42637 * math/s_ctan.c: Include <float.h>.
42638 (__ctan): Avoid internal overflow or cancellation in calculating
42639 denominator.
42640 * math/s_ctanf.c: Likewise.
42641 * math/s_ctanl.c: Likewise.
42642 * math/s_ctanh.c: Likewise.
42643 * math/s_ctanhf.c: Likewise.
42644 * math/s_ctanhl.c: Likewise.
42645 * math/libm-test.inc (ctan_test): Add more tests.
42646 (ctanh_test): Likewise.
42647 * sysdeps/i386/fpu/libm-test-ulps: Update.
42648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42649
426502012-04-09 Andreas Jaeger <aj@suse.de>
42651
42652 [BZ #6894]
42653 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42654 is an optional BSD extension.
42655
42656 [BZ #10254]
42657 * manual/stdio.texi (Opening Streams): Document additional fopen
42658 parameters.
42659
426602012-04-09 Roland McGrath <roland@hack.frob.com>
42661
42662 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42663 %eax without telling the compiler.
42664
426652012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42666
42667 [BZ # 13963]
42668 * manual/install.texi: Use sourceware.org.
42669
426702012-04-09 Joseph Myers <joseph@codesourcery.com>
42671
42672 [BZ #13873]
42673 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42674 (__ieee754_pow): Generate overflow and underflow using huge*huge
42675 and tiny*tiny rather than just returning constant infinity or zero
42676 for large exponents.
42677 * math/libm-test.inc (pow_test): Require overflow exceptions for
42678 applicable cases of large exponents.
42679
42680 [BZ #706]
42681 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42682 (__ieee754_pow): Use iterative multiplication algorithm only for
42683 integer exponents with absolute value below 1024. Check for odd
42684 integer exponents when using algorithm for real exponents.
42685 * math/libm-test.inc (pow_test): Add more tests.
42686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42687
426882012-04-08 Joseph Myers <joseph@codesourcery.com>
42689
42690 [BZ #13705]
42691 * math/libm-test.inc (exp_test): Do not allow overflow exception
42692 on underflow test.
42693
426942012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42695
42696 [BZ #13705]
42697 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42698 instead of __kernel_standard_f.
42699
427002012-04-08 Mike Frysinger <vapier@gentoo.org>
42701
42702 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42703 * sysdeps/x86_64/memset_chk.S: Likewise.
42704
427052012-04-08 Andreas Jaeger <aj@suse.de>
42706
42707 [BZ #10153]
42708 * manual/startup.texi (Environment Access): Describe return value
42709 for putenv and setenv.
42710
42711 [BZ #6895]
42712 * manual/filesys.texi (Directory Entries): Add description for
42713 DT_LNK.
42714
42715 [BZ #6890]
42716 * manual/filesys.texi (Directory Entries): Clarify that it's file
42717 system not operating system in the description of DT_UNKNOWN.
42718
42719 [BZ #6578]
42720 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42721
427222012-04-08 Stephen Compall <s11@member.fsf.org>
42723
42724 [BZ #6649]
42725 * manual/llio.texi (Opening and Closing Files): Add cross
42726 reference to explain mode argument.
42727
427282012-04-07 Mike Frysinger <vapier@gentoo.org>
42729
42730 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42731 * sysdeps/x86_64/memset_chk.S: Likewise.
42732
427332012-04-07 David S. Miller <davem@davemloft.net>
42734
42735 * elf/elf.h (R_SPARC_WDISP10): Define.
42736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42737 R_SPARC_SIZE32.
42738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42739 R_SPARC_SIZE64 and R_SPARC_H34.
42740
427412012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42742
42743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42744 conditions and remove no longer applicable assertion.
42745
427462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42747
42748 * bits/byteswap.h: Include <features.h>.
42749 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42750 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42751
427522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42753
42754 * bits/byteswap.h (__bswap_16): Removed.
42755 Include <bits/byteswap-16.h> to get __bswap_16.
42756 * sysdeps/i386/bits/byteswap.h: Likewise.
42757 * sysdeps/s390/bits/byteswap.h: Likewise.
42758 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42759 * bits/byteswap-16.h: New file.
42760 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42761 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42762 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42763 * string/Makefile (headers): Add bits/byteswap-16.h.
42764
427652012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42766
42767 [BZ #13895]
42768 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42769 extra indirection.
42770 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42771 * nss/tst-nss-static.c: New.
42772
427732012-04-06 Robert Millan <rmh@gnu.org>
42774
42775 [BZ #6486]
42776 * manual/llio.texi (File Position Primitive): lseek
42777 refers to WHENCE when it really means OFFSET.
42778
427792012-04-06 Andreas Jaeger <aj@suse.de>
42780
42781 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42782 strncmp declarations.
42783
42784 * abilist/libc.abilist: Add __poll and __ppoll.
42785
427862012-04-05 David S. Miller <davem@davemloft.net>
42787
42788 * scripts/check-local-headers.sh: Accept a host triplet in the
42789 path matched by the exclude regexp.
42790
42791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42792 definition.
42793 * sysdeps/powerpc/powerpc32/dl-machine.h
42794 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42795 * sysdeps/s390/s390-32/dl-machine.h
42796 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42797 * sysdeps/sparc/sparc32/dl-machine.h
42798 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42799 * sysdeps/sparc/sparc64/dl-machine.h
42800 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42801
42802 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42803 lazy binding.
42804 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42805 undefined symbol errors.
42806
42807 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42808 DT_NEEDED entries.
42809
428102012-04-05 Michael Matz <matz@suse.de>
42811
42812 [BZ #13592]
42813 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42814
428152012-04-05 Andreas Jaeger <aj@suse.de>
42816
42817 [BZ #13908]
42818 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42819 comment.
42820
428212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42822
42823 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42824 which ROUND is no valid rounding mode.
42825
428262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42827
42828 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42829 read again.
42830 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42831
428322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42833
42834 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42835 an exception using FPU order intentionally.
42836
428372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42838
42839 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42840 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42841 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42842 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42843
428442012-04-05 Simon Josefsson <simon@josefsson.org>
42845
42846 [BZ #12340]
42847 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42848 EINVAL when BUFLEN is too smal.
42849
428502012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42851
42852 [BZ #13553]
42853 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42854 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42855
428562012-04-03 Andreas Jaeger <aj@suse.de>
42857
42858 [BZ #13938]
42859 * manual/setjmp.texi (System V contexts): Fix sentence.
42860
42861 [BZ #13926]
42862 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42863 New macro for this case.
42864 [!__GNUC__] (__bswap_64): New inline function for this case.
42865 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42866 * bits/byteswap.h: Likewise.
42867 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42868 ull, guard with __GLIBC_HAVE_LONG_LONG.
42869
42870 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42871 __GLIBC_HAVE_LONG_LONG.
42872
42873 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42874 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42875
428762012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42877
42878 [BZ #13691]
42879 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42880 inptr and inend, rather than using last_ch.
42881
428822012-04-02 David S. Miller <davem@davemloft.net>
42883
42884 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42885 * stdio-common/printf-parse.h (read_int): Change return type to
42886 'int', return -1 on INT_MAX overflow.
42887 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42888 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42889 overflows INT_MAX. Check for overflow of in-format-string precision
42890 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42891 SIZE_MAX not INT_MAX for integer overflow test.
42892 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42893 skip the construct in the format string but do not record anything.
42894 * stdio-common/bug22.c: Adjust to test both width/prevision
42895 INT_MAX overflow as well as total length INT_MAX overflow. Check
42896 explicitly for proper errno values.
42897
428982012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42899
42900 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42901 CHAR_MAX.
42902 * string/test-strcmp.c [! WIDE]: Likewise.
42903 * time/tst-mktime2.c: Likewise for INT_MAX.
42904 * string/test-string.h: #include <sys/param.h> for MIN.
42905
42906 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42907 * sysdeps/i386/init-first.c (init): Likewise.
42908 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42909 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42910 * sysdeps/sh/init-first.c (init): Likewise.
42911
429122012-04-01 Ulrich Drepper <drepper@gmail.com>
42913
42914 * po/ru.po: Update from translation team.
42915 * po/vi.po: Likewise.
42916
429172012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42918
42919 * resolv/nss_dns/dns-host.c: Merge copyright years.
42920
429212012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42922
42923 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42924 Optimize memcpy with prefetch if
42925 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42926 src, dst pointers have unequal 16 byte alignments.
42927
429282012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42929
42930 [BZ #13928]
42931 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42932 from a CNAME entry and return the minimum ttl for the query.
42933 (gaih_getanswer_slice): Likewise.
42934
429352012-03-30 Jeff Law <law@redhat.com>
42936
42937 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42938 due to long keys.
42939 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42940 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42941
42942 * resolv/nss_dns/dns-host.c: Update copyright year.
42943
429442012-03-30 Ulrich Drepper <drepper@gmail.com>
42945
42946 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42947 requests to save a system call. Fix check that all bytes are sent.
42948
42949 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42950 comments for sendmmsg.
42951
429522012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42953
42954 [BZ #13691]
42955 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42956 with only 1 character between 0x0041 and 0x01b0.
42957 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42958 * wcsmbs/tst-mbsnrtowcs.c: New file.
42959
429602012-03-29 David S. Miller <davem@davemloft.net>
42961
42962 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42963 small copies by hand.
42964
429652012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42966
42967 [BZ #13761]
42968 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42969 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42970 group memberships.
42971
429722012-03-28 David S. Miller <davem@davemloft.net>
42973
42974 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42975 that branches into memcpy.
42976 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42977 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42978 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42979 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42981 bits.
42982 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42983 implementation too.
42984 * sysdeps/sparc/mempcpy.S: New file.
42985
42986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42987 the IFUNC routine in the libc case.
42988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42989
42990 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42991 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42992 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42993 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42994 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42995 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42996 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42997 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42998
42999 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43000 loop to 256 bytes instead of 64 bytes and fix test signedness.
43001
43002 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43003 * sysdeps/sparc/sparc32/Makefile: rather than here...
43004 * sysdeps/sparc/sparc64/Makefile: and here.
43005
430062012-03-28 Ulrich Drepper <drepper@gmail.com>
43007
43008 * malloc/mallocbug.c: Avoid warnings about unused variables.
43009
430102012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43011
43012 [BZ #13760]
43013 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43014 in the right place. Discard and retry query if response is
43015 larger than input buffer size.
43016
430172012-03-28 Joseph Myers <joseph@codesourcery.com>
43018
43019 [BZ #369]
43020 [BZ #2678]
43021 [BZ #3866]
43022 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43023 x for large integer exponent.
43024 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43025 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43026 sign of result as needed afterwards.
43027 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43029 result for underflowing pow the same as for overflow.
43030 (__kernel_standard_l): Handle powl overflow and underflow here
43031 rather than calling __kernel_standard.
43032 * math/libm-test.inc (pow_test): Add more tests.
43033
43034 [BZ #3868]
43035 [BZ #13879]
43036 [BZ #13910]
43037 [BZ #13911]
43038 [BZ #13912]
43039 [BZ #13913]
43040 [BZ #13915]
43041 [BZ #13916]
43042 [BZ #13917]
43043 [BZ #13918]
43044 [BZ #13919]
43045 [BZ #13920]
43046 [BZ #13921]
43047 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43048 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43049 (__kernel_standard_l): New function.
43050 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43051 __kernel_standard.
43052 * math/w_acosl.c (__acosl): Likewise.
43053 * math/w_asinl.c (__asinl): Likewise.
43054 * math/w_atan2l.c (__atan2l): Likewise.
43055 * math/w_atanhl.c (__atanhl): Likewise.
43056 * math/w_coshl.c (__coshl): Likewise.
43057 * math/w_exp10l.c (__exp10l): Likewise.
43058 * math/w_exp2l.c (__exp2l): Likewise.
43059 * math/w_fmodl.c (__fmodl): Likewise.
43060 * math/w_hypotl.c (__hypotl): Likewise.
43061 * math/w_j0l.c (__j0l, __y0l): Likewise.
43062 * math/w_j1l.c (__j1l, __y1l): Likewise.
43063 * math/w_jnl.c (__jnl, __ynl): Likewise.
43064 * math/w_lgammal.c (__lgammal): Likewise.
43065 * math/w_log10l.c (__log10l): Likewise.
43066 * math/w_log2l.c (__log2l): Likewise.
43067 * math/w_logl.c (__logl): Likewise.
43068 * math/w_powl.c (__powl): Likewise.
43069 * math/w_remainderl.c (__remainderl): Likewise.
43070 * math/w_scalbl.c (sysv_scalbl): Likewise.
43071 * math/w_sinhl.c (__sinhl): Likewise.
43072 * math/w_sqrtl.c (__sqrtl): Likewise.
43073 * math/w_tgammal.c (__tgammal): Likewise.
43074 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43075 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43076 * math/libm-test.inc (acos_test): Add more tests.
43077 (acosh_test): Likewise.
43078 (asin_test): Likewise.
43079 (atanh_test): Likewise.
43080 (exp_test): Likewise.
43081 (exp10_test): Likewise.
43082 (exp2_test): Likewise.
43083 (expm1_test): Likewise.
43084 (lgamma_test): Likewise.
43085 (log_test): Likewise.
43086 (log10_test): Likewise.
43087 (log1p_test): Likewise.
43088 (log2_test): Likewise.
43089 (pow_test): Do not allow some spurious overflow exceptions.
43090 (sqrt_test): Add more tests.
43091 (tgamma_test): Likewise.
43092 (y0_test): Likewise.
43093 (y1_test): Likewise.
43094 (yn_test): Likewise.
43095
430962012-03-27 Anton Blanchard <anton@samba.org>
43097
43098 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43099 MAP_HUGETLB.
43100 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43101 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43102 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43103
431042012-03-27 David S. Miller <davem@davemloft.net>
43105
43106 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43107
43108 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43109 have-as-vis3 check.
43110
431112012-03-27 Andreas Jaeger <aj@suse.de>
43112
43113 * sysdeps/x86_64/elf/configure.in: Moved to ...
43114 * sysdeps/x86_64/configure.in: ... here.
43115 * sysdeps/x86_64/elf/start.S: Moved to ...
43116 * sysdeps/x86_64/start.S: ... here.
43117 * sysdeps/x86_64/elf/configure: Delete.
43118
43119 * sysdeps/x86_64/configure.in: Merge contents from
43120 sysdeps/i386/configure.in (without i686 check).
43121
43122 * sysdeps/i386/elf/Versions: Merge into ...
43123 * sysdeps/i386/Versions: ... this.
43124 * sysdeps/i386/elf/Versions: Delete file.
43125 * sysdeps/i386/elf/start.S: Moved to ...
43126 * sysdeps/i386/start.S: ...here.
43127 * sysdeps/i386/elf/configure.in: Merge into...
43128 * sysdeps/i386/configure.in: ...here.
43129 * sysdeps/i386/elf/configure.in: Delete file.
43130 * sysdeps/i386/elf/configure: Delete file.
43131
43132 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43133 * debug/backtracesyms.c: ... here.
43134 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43135 * debug/backtracesymsfd.c: ... here.
43136 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43137 * sysdeps/generic/ifunc-sel.h: ... here.
43138
43139 * sysdeps/unix/i386/start.c: Delete file.
43140 * sysdeps/unix/sparc/start.c: Delete file.
43141 * sysdeps/unix/start.c: Delete file.
43142
43143 * sysdeps/sh/elf/configure.in: Moved to ...
43144 * sysdeps/sh/configure.in: ... here.
43145 * sysdeps/sh/elf/start.S: Moved to ...
43146 * sysdeps/sh/start.S: ... here.
43147 * sysdeps/sh/elf/configure: Delete file.
43148
43149 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43150 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43151 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43152 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43153 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43154 * sysdeps/powerpc/powerpc64/start.S: here.
43155 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43156 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43157 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43158 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43159 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43160
43161 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43162 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43163 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43164 * sysdeps/powerpc/powerpc32/start.S: ... here.
43165 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43166 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43167 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43168
43169 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43170 * sysdeps/powerpc/ifunc-sel.h: ... here.
43171 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43172 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43173
43174 * sysdeps/sparc/elf/configure.in: Moved to ...
43175 * sysdeps/sparc/configure.in: ... here.
43176 * sysdeps/sparc/elf/configure: Delete file.
43177 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43178 * sysdeps/sparc/sparc32/start.S: ... here.
43179 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43180 * sysdeps/sparc/sparc64/start.S: ... here.
43181 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43182 * sysdeps/sparc/sparc32/Makefile: ... this.
43183 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43184 * sysdeps/sparc/sparc64/Makefile: ... this.
43185
43186 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43187 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43188 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43189 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43190 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43191 * sysdeps/s390/s390-32/setjmp.S: ... here.
43192 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43193 * sysdeps/s390/s390-32/configure.in: ... here.
43194 * sysdeps/s390/s390-32/elf/configure: Delete file.
43195 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43196 * sysdeps/s390/s390-32/start.S: ... here.
43197
43198 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43199 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43200 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43201 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43202 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43203 * sysdeps/s390/s390-64/setjmp.S: ... here.
43204 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43205 * sysdeps/s390/s390-64/configure.in: ... here
43206 * sysdeps/s390/s390-64/elf/configure: Delete file.
43207 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43208 * sysdeps/s390/s390-64/start.S: ... here.
43209 * sysdeps/s390/s390-64/elf/configure: Delete.
43210
43211 * configure.in: Remove support for elf directories in sysdeps.
43212
43213 * configure: Regenerated.
43214 * sysdeps/i386/configure: Regenerated.
43215 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43216 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43217 * sysdeps/s390/s390-32/configure: Regenerated.
43218 * sysdeps/s390/s390-64/configure: Regenerated.
43219 * sysdeps/sh/configure: Regenerated.
43220 * sysdeps/sparc/configure: Regenerated.
43221 * sysdeps/x86_64/configure: Regenerated.
43222
432232012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43224
43225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43226
43227 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43228 denormal result into account.
43229
432302012-03-25 Roland McGrath <roland@hack.frob.com>
43231
43232 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43233 Reported by Allan McRae <allan@archlinux.org>.
43234
432352012-03-23 Jeff Law <law@redhat.com>
43236
43237 * nss/getnssent.c (__nss_getent): Fix typo.
43238
432392012-03-23 David S. Miller <davem@davemloft.net>
43240
43241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43242
432432012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43244
43245 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43246 to pad to uint64_t for each field.
43247 (dl_tls_index): Replace unsigned long with uint64_t.
43248
432492012-03-23 Daniel Jacobowitz <dmj@google.com>
43250 Paul Pluzhnikov <ppluzhnikov@google.com>
43251
43252 [BZ #6528]
43253 * grp/Makefile (otherlibs): Don't set it.
43254 * inet/Makefile (otherlibs): Likewise.
43255 * login/Makefile (otherlibs): Likewise.
43256 * nscd/Makefile (otherlibs): Likewise.
43257 * posix/Makefile (otherlibs): Likewise.
43258 * pwd/Makefile (otherlibs): Likewise.
43259 * rt/Makefile (otherlibs): Likewise.
43260 * sunrpc/Makefile (otherlibs): Likewise.
43261 * nss/Makefile (otherlibs): Likewise.
43262 Add libnss_files to routines and static-only-routines.
43263 ($(objpfx)getent): Remove rule.
43264 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43265 static-only-routines.
43266
432672012-03-22 Joseph Myers <joseph@codesourcery.com>
43268
43269 [BZ #13892]
43270 * math/s_cexp.c: Include <float.h>.
43271 (__cexp): Handle exp result overflowing not necessarily
43272 overflowing both real and imaginary parts of result.
43273 * math/s_cexpf.c: Likewise.
43274 * math/s_cexpl.c: Likewise.
43275 * math/libm-test.inc (cexp_test): Add more tests.
43276 * sysdeps/i386/fpu/libm-test-ulps: Update.
43277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43278
432792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43280
43281 * include/link.h (ELFW): New macro.
43282 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43283 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43284
432852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43286
43287 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43288 with uint64_t.
43289
432902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43291
43292 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43293 declaration.
43294 (struct La_x32_retval): Likewise.
43295
432962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43297
43298 * sysdeps/x86_64/preconfigure.in: New file.
43299 * sysdeps/x86_64/preconfigure: New generated file.
43300
433012012-03-22 Joseph Myers <joseph@codesourcery.com>
43302
43303 [BZ #13824]
43304 * math/e_exp2l.c: Include <float.h>.
43305 (__ieee754_exp2l): Handle overflow and underflow cases
43306 separately. Only pass fractional part of argument to
43307 __ieee754_expl.
43308 * math/libm-test.inc (exp2_test): Add more tests.
43309
43310 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43311 negating x to take absolute value.
43312 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43313 Likewise.
43314 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43315 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43316 Likewise.
43317 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43318 computing low part if x was negated.
43319 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43320
433212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43322
43323 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43324 la_x32_gnu_pltexit.
43325 (pltexit): Cast int_retval to ptrdiff_t.
43326 * elf/tst-auditmod3b.c: Likewise.
43327 * elf/tst-auditmod4b.c: Likewise.
43328 * elf/tst-auditmod5b.c: Likewise.
43329 * elf/tst-auditmod6b.c: Likewise.
43330 * elf/tst-auditmod6c.c: Likewise.
43331 * elf/tst-auditmod7b.c: Likewise.
43332
43333 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43334 and x32_gnu_pltexit.
43335
43336 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43337 __ELF_NATIVE_CLASS.
43338 (La_x32_regs): New macro.
43339 (La_x32_retval): Likewise.
43340 (la_x32_gnu_pltenter): New function prototype.
43341 (la_x32_gnu_pltexit): Likewise.
43342
433432012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43344
43345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43346 exponent.
43347
43348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43349
43350 * configure.in (libc_cv_cc_nofma): Check for option to disable
43351 generation of FMA instructions.
43352 * configure: Regenerate.
43353 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43354 * sysdeps/ieee754/dbl-64/Makefile: New file.
43355 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43356 Remove brandred-fma4.
43357 (CFLAGS-brandred-fma4.c): Remove.
43358 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43359 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43360 define.
43361 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43362 define.
43363
433642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43365
43366 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43367 LLONG_MAX != LONG_MAX.
43368 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43369 (_fitoa_word): Likewise.
43370 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43371 LLONG_MAX != LONG_MAX.
43372 * stdio-common/_itowa.h: Include <_itoa.h>.
43373 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43374 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43375 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43376 only if not defined.
43377 (_ITOA_WORD_TYPE): Likewise.
43378 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43379 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43380
433812012-03-21 David S. Miller <davem@davemloft.net>
43382
43383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43384
433852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43388 of x86_64 when setting libc_cv_slibdir, libdir and
43389 libc_cv_localedir.
43390 * sysdeps/unix/sysv/linux/configure: Regenerated.
43391
433922012-03-21 Joseph Myers <joseph@codesourcery.com>
43393
43394 * manual/lang.texi (Old Varargs): Remove section.
43395 (How Variadic): Update menu.
43396 (va_start): Do not mention varargs.h.
43397
433982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43399 Joseph Myers <joseph@codesourcery.com>
43400
43401 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43402 link test.
43403 * configure: Regenerated.
43404
434052012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43406
43407 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43408 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43409 conformtest.pl
43410
434112012-03-21 Joseph Myers <joseph@codesourcery.com>
43412
43413 * NOTES: Remove.
43414 * Makefile (files-for-dist): Remove NOTES.
43415 (NOTES): Remove rule.
43416 * README: Don't refer to NOTES.
43417 * manual/creature.texi: Don't include macros.texi.
43418 * manual/intro.texi (creature.texi): Remove comment referring to
43419 NOTES.
43420
43421 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43422 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43423 * configure: Regenerated.
43424 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43425 LIBC_TRY_CC_OPTION.
43426 (libc_cv_as_i686): Likewise.
43427 (libc_cv_cc_avx): Likewise.
43428 (libc_cv_cc_sse2avx): Likewise.
43429 (libc_cv_cc_fma4): Likewise.
43430 (libc_cv_cc_novzeroupper): Likewise.
43431 * sysdeps/i386/configure: Regenerated.
43432
43433 [BZ #13883]
43434 * sysdeps/i386/fpu/s_cexp.S: Remove.
43435 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43436 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43437 * math/libm-test.inc (cexp_test): Add more tests.
43438 * sysdeps/i386/fpu/libm-test-ulps: Update.
43439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43440
434412012-03-21 Allan McRae <allan@archlinux.org>
43442
43443 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43444
434452012-03-21 Joseph Myers <joseph@codesourcery.com>
43446
43447 [BZ #13871]
43448 * math/w_exp2.c: Do not include <float.h>.
43449 (o_threshold, u_threshold): Remove.
43450 (__exp2): Calculate result before checking finiteness and calling
43451 __kernel_standard.
43452 * math/w_exp2f.c: Likewise.
43453 * math/w_exp2l.c: Likewise.
43454 * math/libm-test.inc (exp2_test): Require overflow exception for
43455 1e6 input.
43456
43457 [BZ #3866]
43458 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43459 range of signed 64-bit integers before using fistpll. Remove
43460 checks for whether integers fit in mantissa bits.
43461 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43462 the range of signed 32-bit integers before using fistpl. Remove
43463 checks for whether integers fit in mantissa bits.
43464 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43465 (__ieee754_powl): Test for y outside the range of signed 64-bit
43466 integers before using fistpll. Reduce 64-bit values to 63-bit
43467 ones as needed.
43468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43469 divide-by-zero is raised for zero to large negative powers.
43470 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43471 (__ieee754_powl): Test for y outside the range of signed 64-bit
43472 integers before using fistpll. Reduce 64-bit values to 63-bit
43473 ones as needed.
43474 * math/libm-test.inc (pow_test): Add more tests.
43475
434762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43477
43478 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43479 <stdio-common/_itoa.h>.
43480 * debug/segfault.c: Likewise.
43481 * elf/dl-cache.c: Likewise.
43482 * elf/dl-minimal.c: Likewise.
43483 * elf/dl-misc.c: Likewise.
43484 * elf/dl-sysdep.c: Likewise.
43485 * elf/dl-version.c: Likewise.
43486 * elf/rtld.c: Likewise.
43487 * hurd/hurdsock.c: Likewise.
43488 * hurd/lookup-retry.c: Likewise.
43489 * malloc/malloc.c: Likewise.
43490 * malloc/mtrace.c: Likewise.
43491 * nscd/nscd_getgr_r.c: Likewise.
43492 * nscd/nscd_getpw_r.c: Likewise.
43493 * nscd/nscd_getserv_r.c: Likewise.
43494 * posix/getopt_init.c: Likewise.
43495 * posix/wordexp.c: Likewise.
43496 * stdio-common/_itoa.c: Likewise.
43497 * stdio-common/printf_fphex.c: Likewise.
43498 * stdio-common/vfprintf.c: Likewise.
43499 * string/_strerror.c: Likewise.
43500 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43501 * sysdeps/i386/i686/hp-timing.h: Likewise.
43502 * sysdeps/mach/_strerror.c: Likewise.
43503 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43504 * sysdeps/mach/hurd/sethostid.c: Likewise.
43505 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43506 * sysdeps/mach/xpg-strerror.c: Likewise.
43507 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43508 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43509 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43510 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43511 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43512 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43513 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43514 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43515 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43516 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43517 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43518 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43519 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43520 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43521 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43522 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43523 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43524 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43525 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43526 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43527 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43528
43529 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43530
43531 * stdio-common/_itoa.h: Moved to ...
43532 * sysdeps/generic/_itoa.h: Here.
43533
43534 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43535
43536 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43537 instead of "_itoa.h" and "_itowa.h".
43538 * stdio-common/vfprintf.: Likewise.
43539
435402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43541
43542 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43543 <bits/wordsize.h>.
43544 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43545 (__signbit): Likwise.
43546 (llrintf): Likwise.
43547 (llrint): Likwise.
43548
435492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43550
43551 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43552 __WORDSIZE != 64.
43553
435542012-03-20 Joseph Myers <joseph@codesourcery.com>
43555
43556 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43557 OVERFLOW_EXCEPTION_OK.
43558 * math/libm-test.inc ("Philosophy"): Update comment about
43559 exception testing.
43560 (OVERFLOW_EXCEPTION): Define.
43561 (OVERFLOW_EXCEPTION_OK): Likewise.
43562 (INVALID_EXCEPTION_OK): Renumber.
43563 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43564 (IGNORE_ZERO_INF_SIGN): Likewise.
43565 (test_exceptions): Handle FE_OVERFLOW.
43566 (exp10_test): Expect overflow exceptions.
43567 (exp2_test): Likewise.
43568 (expm1_test): Likewise.
43569 (nextafter_test): Likewise.
43570 (pow_test): Likewise.
43571 (scalbn_test): Likewise.
43572 (scalbln_test): Likewise.
43573
435742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43575
43576 * sysdeps/x86_64/bits/atomic.h
43577 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43578 64bit integer.
43579 (atomic_exchange_acq): Likewise.
43580 (__arch_exchange_and_add_body): Likewise.
43581 (__arch_add_body): Likewise.
43582 (atomic_add_negative): Likewise.
43583 (atomic_add_zero): Likewise.
43584
435852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43586
43587 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43588 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43589
435902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43591
43592 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43593 Check __x86_64__ instead of __WORDSIZE.
43594
435952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43596
43597 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43598
435992012-03-19 David S. Miller <davem@davemloft.net>
43600
43601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43602
43603 * sysdeps/sparc/fpu/fenv_private.h: New file.
43604 * sysdeps/sparc/fpu/math_private.h: Use it.
43605 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43606 Remove.
43607 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43608 (libc_feholdexcept_setroundl): Remove.
43609 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43610 Remove.
43611 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43612 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43613
436142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43615
43616 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43617 int64_t instead of long int.
43618 (INSERT_WORDS64): Likwise.
43619
436202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43621
43622 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43623 _Unwind_GetCFA return to _Unwind_Ptr first.
43624
436252012-03-19 Joseph Myers <joseph@codesourcery.com>
43626
43627 [BZ #13629]
43628 * math/s_clog.c: Include <float.h>.
43629 (__clog): Scale large or subnormal inputs.
43630 * math/s_clogf.c: Likewise.
43631 * math/s_clogl.c: Likewise.
43632 * math/s_clog10.c: Include <float.h>.
43633 (M_LOG10_2): Define.
43634 (__clog10): Scale large or subnormal inputs.
43635 * math/s_clog10f.c: Likewise.
43636 * math/s_clog10l.c: Likewise.
43637 * math/libm-test.inc (clog_test): Add more tests.
43638 (clog10_test): Likewise.
43639 * sysdeps/i386/fpu/libm-test-ulps: Update.
43640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43641
43642 [BZ #11451]
43643 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43644 x and y.
43645 * math/libm-test.inc (atan2_test): Add another test.
43646
43647 * Makerules (common-objdir-compile): Remove.
43648 * sysdeps/unix/Makefile (config-generated): Do not add
43649 $(unix-generated) to variable.
43650 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43651 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43652 Remove rule.
43653 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43654 Likewise.
43655 [generic bits/local_lim.h] (before-compile): Do not append to
43656 variable.
43657 [generic bits/local_lim.h] (common-generated): Likewise.
43658 [generic sys/param.h] (before-compile): Do not append to variable.
43659 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43660 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43661 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43662 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43663 include.
43664 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43665 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43666 [generic sys/param.h] ($(addprefix
43667 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43668 [generic sys/param.h] (common-generated): Do not append to
43669 variable.
43670 [generic sys/param.h] (sysdep_headers): Likewise.
43671 [generic bits/errno.h] (before-compile): Do not append to
43672 variable.
43673 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43674 rule.
43675 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43676 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43677 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43678 [generic bits/errno.h] (common-generated): Do not append to
43679 variable.
43680 [generic bits/ioctls.h] (before-compile): Do not append to
43681 variable.
43682 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43683 rule.
43684 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43685 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43686 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43687 rule.
43688 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43689 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43690 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43691 [generic bits/ioctls.h] (common-generated): Do not append to
43692 variable.
43693 [generic sys/syscall.h] (syscall.h): Remove variable.
43694 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43695 rule.
43696 [generic sys/syscall.h] (before-compile): Do not append to
43697 variable.
43698 [generic sys/syscall.h] (common-generated): Likewise.
43699 * sysdeps/unix/errnos-tmpl.c: Remove file.
43700 * sysdeps/unix/errnos.awk: Likewise.
43701 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43702 * sysdeps/unix/ioctls.awk: Likewise.
43703 * sysdeps/unix/mk-local_lim.c: Likewise.
43704 * sysdeps/unix/snarf-ioctls: Likewise.
43705
437062012-03-19 Richard Henderson <rth@twiddle.net>
43707
43708 * sysdeps/i386/fpu/fenv_private.h: New file.
43709 * sysdeps/i386/fpu/math_private.h: Use it.
43710 (math_opt_barrier, math_force_eval): Remove.
43711 (libc_feholdexcept_setround_53bit): Remove.
43712 (libc_feupdateenv_53bit): Remove.
43713 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43714 (math_opt_barrier, math_force_eval): Remove.
43715 (libc_feholdexcept): Remove.
43716 (libc_feholdexcept_setround): Remove.
43717 (libc_fetestexcept, libc_fesetenv): Remove.
43718 (libc_feupdateenv_test): Remove.
43719 (libc_feupdateenv, libc_feholdsetround): Remove.
43720 (libc_feresetround): Remove.
43721
43722 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43723 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43724
43725 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43726 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43727 (libc_feupdateenv_testl): New.
43728 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43729 (libc_feupdateenv_testf): New.
43730 (libc_feupdateenv): Use libc_feupdateenv_test.
43731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43732 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43733
43734 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43735 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43736 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43737 (libc_feresetround_noex): New.
43738 (libc_feresetround_noexf): New.
43739 (libc_feresetround_noexl): New.
43740 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43741 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43742 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43743 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43744 SET_RESTORE_ROUND.
43745 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43747 (__cos): Likewise.
43748 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43749 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43750 SET_RESTORE_ROUND_NOEX.
43751 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43752 SET_RESTORE_ROUND_NOEXF.
43753 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43754 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43755 (libc_feholdsetroundf): New.
43756 (libc_feresetround, libc_feresetroundf): New.
43757
43758 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43759 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43760 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43761
43762 * sysdeps/generic/math_private.h: Include <fenv.h>.
43763 (default_libc_feholdexcept): New.
43764 (default_libc_feholdexcept_setround): New.
43765 (default_libc_fesetenv, default_libc_feupdateenv): New.
43766 (libc_feholdexcept): Only define if undefined.
43767 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43768 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43769 (libc_feholdexcept_setroundl): Likewise.
43770 (libc_feholdexcept_setround_53bit): Likewise.
43771 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43772 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43773 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43774 (libc_feupdateenv_53bit): Likewise.
43775 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43776 (libc_feholdexcept): Convert from macro to inline function.
43777 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43778 (libc_fesetenv, libc_feupdateenv): Likewise.
43779
43780 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43781 not previously defined.
43782 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43783 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43784 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43785 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43786 * sysdeps/ieee754/flt-32/math_private.h: New file.
43787 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43788 math_private.h below SET_FLOAT_WORD.
43789 (__isnan, __isinf_ns, __finite): Remove.
43790 (__isnanf, __isinf_nsf, __finitef): Remove.
43791
437922012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43793
43794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43795
437962012-03-17 David S. Miller <davem@davemloft.net>
43797
43798 [BZ #6471]
43799 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43800 for 2.16.
43801
438022012-03-16 David S. Miller <davem@davemloft.net>
43803
43804 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43805 warnings.
43806
43807 [BZ #6471]
43808 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43809 properly.
43810 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43811 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43812 sysdep_routines when subdir is sysvipc.
43813 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43814 __getshmlba helper.
43815
43816 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43817
438182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43819
43820 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43821 [__LP64__].
43822
438232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43824
43825 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43826 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43827 (__lround): Renamed to ...
43828 (__llround): This. Replace long int with long long int.
43829 Define lround functions as aliases of llround functions.
43830 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43831
438322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43833
43834 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43835 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43836 adresses to uintptr_t. Replace "long int" and "unsigned long
43837 int" with "greg_t" on va_arg.
43838
438392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43840
43841 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43842 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43843
43844 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43845 Move e_machine check before EI_CLASS check. Handle x32
43846 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43847 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43848 SKIP_EM_IA_64 and include
43849 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43850
43851 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43852 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43853 (add_system_dir): New macro.
43854
43855 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43856 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43857
438582012-03-16 Joseph Myers <joseph@codesourcery.com>
43859
43860 [BZ #2551]
43861 [BZ #2552]
43862 [BZ #2553]
43863 [BZ #2554]
43864 [BZ #2562]
43865 [BZ #2563]
43866 [BZ #2565]
43867 [BZ #2566]
43868 [BZ #2576]
43869 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43870 (y0): Likewise.
43871 * math/w_j0f.c (j0f): Likewise.
43872 (y0f): Likewise.
43873 * math/w_j0l.c (__j0l): Likewise.
43874 (__y0l): Likewise.
43875 * math/w_j1.c (j1): Likewise.
43876 (y1): Likewise.
43877 * math/w_j1f.c (j1f): Likewise.
43878 (y1f): Likewise.
43879 * math/w_j1l.c (__j1l): Likewise.
43880 (__y1l): Likewise.
43881 * math/w_jn.c (jn): Likewise.
43882 (yn): Likewise.
43883 * math/w_jnf.c (jnf): Likewise.
43884 (ynf): Likewise.
43885 * math/w_jnl.c (__jnl): Likewise.
43886 (__ynl): Likewise.
43887 * math/libm-test.inc (j0_test): Add more tests.
43888 (j1_test): Likewise.
43889 (jn_test): Likewise. Add trailing semicolon to existing test.
43890 (y0_test): Likewise.
43891 (y1_test): Likewise.
43892 * sysdeps/i386/fpu/libm-test-ulps: Update.
43893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43894
43895 [BZ #13851]
43896 [BZ #13854]
43897 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43898 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43899 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43900 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43901 (__tanl): Set errno for infinite argument.
43902 * sysdeps/i386/fpu/mptan.c: Remove.
43903 * sysdeps/i386/fpu/s_tan.S: Likewise.
43904 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43905 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43906 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43907 * math/libm-test.inc (tan_test): Add more tests and enable more
43908 tests for double and long double.
43909 * sysdeps/i386/fpu/libm-test-ulps: Update.
43910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43911
439122012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43913
43914 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43915 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43916
439172012-03-16 Roland McGrath <roland@hack.frob.com>
43918
43919 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43920 * configure.in: Use it for both main tree and add-ons.
43921 * configure: Regenerated.
43922
439232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43924
43925 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43926
439272012-03-16 Joseph Myers <joseph@codesourcery.com>
43928
43929 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43930 in comment.
43931
43932 [BZ #13851]
43933 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43934 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43935 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43937 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43938 infinite argument.
43939 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43941 != 0 for prec == 2.
43942 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43943 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43944 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43945 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43946 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43947 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43948 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43949 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43950 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43951 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43952 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43953 * math/libm-test.inc (cos_test): Add more tests and enable more
43954 tests for long double.
43955 (sin_test): Likewise.
43956 (sincos_test): Likewise.
43957 * sysdeps/i386/fpu/libm-test-ulps: Update.
43958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43959
439602012-03-16 David S. Miller <davem@davemloft.net>
43961
43962 * sysdeps/sparc/fpu/math_private.h: New file.
43963
439642012-03-15 David S. Miller <davem@davemloft.net>
43965
43966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43967 file.
43968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43970 file.
43971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43972 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43973 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43974 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43975 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43977 sysdep routines.
43978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43979
43980 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43981 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43982
43983 * sysdeps/sparc/sparc-ifunc.h: New file.
43984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43985 sparc-ifunc.h
43986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43988 Likewise.
43989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43990 Likewise.
43991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43995 Likewise.
43996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44001 Likewise.
44002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44003 Likewise.
44004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44010 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44011 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44012 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44013 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44018 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44019 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44020 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44022 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44023 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44024 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44025 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44027 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44028
440292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44030
44031 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44032 scaling.
44033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44034
440352012-03-15 Andreas Jaeger <aj@suse.de>
44036
44037 [BZ #13852]
44038 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44039 ieee754/flt-32 implementation for sin, cos and sincos.
44040 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44041 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44042 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44043 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44044 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44045 ieee754/flt-32 implementation for tan.
44046
44047 * math/libm-test.inc (cos_test): Enable some large input tests for
44048 float as well
44049 (sin_test): Likewise.
44050 (sincos_test): Likewise.
44051 (tan_test): Add tests for large input.
44052
44053 * sysdeps/i386/fpu/libm-test-ulps: Update.
44054
440552012-03-15 Andreas Jaeger <aj@suse.de>
44056
44057 [BZ #13658]
44058 * math/libm-test.inc (cos_test): Add more test cases.
44059 (sin_test): Likewise.
44060 (sincos_test): Likewise.
44061
440622012-03-15 Andreas Jaeger <aj@suse.de>
44063
44064 [BZ #13837]
44065 * math/libm-test.inc (cos_test): Add a test case for large input
44066 value.
44067 (sin_test): Likewise.
44068 (sincos_test): Likewise.
44069
440702012-03-15 Andreas Jaeger <aj@suse.de>
44071 Joseph Myers <joseph@codesourcery.com>
44072
44073 [BZ #13658]
44074 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44075 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44076 * sysdeps/i386/fpu/branred.c: Likewise.
44077 * sysdeps/i386/fpu/dosincos.c: Likewise.
44078 * sysdeps/i386/fpu/mpa.c: Likewise.
44079 * sysdeps/i386/fpu/s_cos.S: Likewise.
44080 * sysdeps/i386/fpu/s_sin.S: Likewise.
44081 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44082 * sysdeps/i386/fpu/sincos32.c: Likewise.
44083
44084 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44085 Define.
44086 (libc_feupdateenv_53bit): Define.
44087 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44088 Define.
44089 (libc_feupdateenv_53bit): Define.
44090
44091 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44092 53 bit (without extend i386 double precision).
44093
44094 * math/libm-test.inc (sincos_test): Add tests for large input.
44095 (sin): Likewise.
44096 (cos): Likewise.
44097
44098 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44099
441002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44101
44102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44103
441042012-03-15 David S. Miller <davem@davemloft.net>
44105
44106 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44107 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44108 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44109 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44122 file.
44123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44125 file.
44126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44128 file.
44129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44131 file.
44132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44133 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44134 fmin/fmax sysdep routines.
44135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44136
441372012-03-14 David S. Miller <davem@davemloft.net>
44138
44139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44145 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44161 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44162 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44163 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44168 routines.
44169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44170 file.
44171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44173 file.
44174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44176 file.
44177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44179 file.
44180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44182 file.
44183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44185 file.
44186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44187 file.
44188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44189 file.
44190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44191 file.
44192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44193 New file.
44194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44195 file.
44196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44197 file.
44198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44200 file.
44201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44203 file.
44204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44206 file.
44207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44209 VIS3 routines.
44210
44211 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44212 New file.
44213
44214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44215
44216 * sysdeps/sparc/configure.in: New file.
44217 * sysdeps/sparc/configure: Generate.
44218 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44219 * configure: Regenerate.
44220 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44221 * config.make.in (have-as-vis3): New.
44222 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44223 available use -Av9d instead of -Av9a.
44224 * sysdeps/sparc/sparc64/Makefile: Likewise.
44225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44227 New file.
44228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44229 file.
44230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44231 New file.
44232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44233 file.
44234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44236 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44237 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44239
44240 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44241 fzeros/fnegs to load 0x80000000 into a float register instead of
44242 using the stack.
44243 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44244
442452012-03-14 Joseph Myers <joseph@codesourcery.com>
44246
44247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44248 bits/syscall.h.
44249 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44250 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44251 ($(inst_includedir)/bits/syscall.h): Remove rule.
44252 ($(objpfx)bits/syscall.d): Include instead of
44253 $(objpfx)syscall-list.d.
44254 (generated): Change syscall-list.h and syscall-list.d to
44255 bits/syscall.h and bits/syscall.d.
44256
442572012-03-14 Roland McGrath <roland@hack.frob.com>
44258
44259 [BZ #13846]
44260 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44261
442622012-03-14 Joseph Myers <joseph@codesourcery.com>
44263
44264 [BZ #13841]
44265 * math/s_csqrt.c: Include <float.h>.
44266 (__csqrt): Scale large or subnormal inputs.
44267 * math/s_csqrtf.c: Likewise.
44268 * math/s_csqrtl.c: Likewise.
44269 * math/libm-test.inc (csqrt_test): Add more tests.
44270 * sysdeps/i386/fpu/libm-test-ulps: Update.
44271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44272
44273 [BZ #13840]
44274 * math/libm-test.inc (hypot_test): Add more tests.
44275
442762012-03-13 David S. Miller <davem@davemloft.net>
44277
44278 [BZ #13840]
44279 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44280 double-precision for the calculation instead of scaling.
44281
442822012-03-13 Joseph Myers <joseph@codesourcery.com>
44283
44284 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44285 manipulate bits before adding and subtracting TWO52[sx].
44286 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44287 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44288 Likewise.
44289 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44290
442912012-03-13 David S. Miller <davem@davemloft.net>
44292
44293 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44294 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44296 rtld-global-offsets.h
44297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44298
44299 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44300 large parameters.
44301
44302 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44303
44304 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44305 'err' in the ifdef scope in which it is actually used.
44306
44307 * nss/nss_db/db-init.c: Include string.h
44308
443092012-03-12 David S. Miller <davem@davemloft.net>
44310
44311 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44312 masking out of the most significant byte of random value used.
44313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44314 Fix coding style in previous change.
44315
44316 * sysdeps/unix/sysv/linux/kernel-features.h
44317 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44318 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44319 expression.
44320 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44321 later.
44322
443232012-03-11 David S. Miller <davem@davemloft.net>
44324
44325 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44326 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44328 for 'resultvar' otherwise things get truncated on 64-bit.
44329
44330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44331 Fix masking out of the most significant byte of random value used.
44332
44333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44334
443352012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44336
44337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44338
443392012-03-09 David S. Miller <davem@davemloft.net>
44340
44341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44342 variables with appropriate CPP guards.
44343 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44344 from the frame pointer, not the stack pointer. Correct layout
44345 comments. Fix test on resulting framesize and the management of
44346 the outregs buffer for pltexit. Preserve floating point return
44347 values across _dl_call_pltexit call.
44348 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44349 framesize and the management of the outregs buffer for pltexit.
44350 Preserve floating point return values across _dl_call_pltexit
44351 call.
44352 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44353 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44354 (la_sparc64_gnu_pltexit): New functions.
44355 (print_exit): Fix format string for return register value.
44356
443572012-03-10 Joseph Myers <joseph@codesourcery.com>
44358
44359 * sunrpc/Makefile (others): Add rpcgen.
44360 ($(objpfx)rpcgen): Remove special build rule and dependency on
44361 libc.
44362 * sunrpc/rpcgen.c: New file.
44363
443642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44365
44366 [BZ #13673]
44367 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44368 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44369 * sysdeps/i386/crti.S: Likewise.
44370 * sysdeps/i386/crtn.S: Likewise.
44371 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44372 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44373 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44374 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44375 * sysdeps/sh/crti.S: Likewise.
44376 * sysdeps/sh/crtn.S: Likewise.
44377 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44378
44379 [BZ #13673]
44380 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44381 with URL.
44382 * locale/programs/locfile-kw.gperf: Likewise.
44383 * locale/programs/charmap-kw.h: Regenerated.
44384 * locale/programs/locfile-kw.h: Likewise.
44385
44386 [BZ #13673]
44387 * intl/plural.y: Replace FSF snail mail address with URL.
44388 * intl/plural.c: Regenerated.
44389
443902012-03-09 Richard Henderson <rth@twiddle.net>
44391
44392 * include/math_private.h: Remove file.
44393 * math/math_private.h: Move file ...
44394 * sysdeps/generic/math_private.h: ... here.
44395
44396 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44397 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44398 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44399
44400 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44401 and <math_private.h>.
44402 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44403 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44404 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44405 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44406 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44407 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44408 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44419 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44420 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44421 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44423 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44424 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44426 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44428 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44431 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44432 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44433 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44434 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44435 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44436 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44437 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44438 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44439 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44440 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44441 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44442 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44443 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44444 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44445 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44448 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44449 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44451 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44452 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44453 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44454 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44455 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44456 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44457 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44458 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44459 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44460 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44463 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44465 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44467 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44468 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44469 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44470 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44471 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44472 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44473 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44474 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44475 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44476 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44481 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44482 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44483 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44484 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44485 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44486 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44489 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44490 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44491 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44492 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44493 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44495 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44496 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44497 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44498 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44499 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44500 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44502 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44503 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44504 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44505 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44506 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44507 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44508 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44509 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44510 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44512 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44513 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44514 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44515 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44516 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44517 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44518 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44519 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44520 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44521 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44522 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44523 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44524 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44525 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44526 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44527 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44528 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44529 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44530 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44531 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44532 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44533 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44534 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44535 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44536 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44537 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44538 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44539 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44540 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44541 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44542 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44543 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44544 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44545 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44546 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44547 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44548 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44549 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44550 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44551 * sysdeps/ieee754/k_standard.c: Likewise.
44552 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44553 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44558 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44560 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44561 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44564 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44565 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44566 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44568 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44570 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44571 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44572 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44573 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44574 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44575 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44576 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44577 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44579 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44580 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44582 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44583 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44584 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44585 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44586 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44587 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44588 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44589 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44590 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44591 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44596 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44597 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44599 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44600 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44601 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44602 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44603 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44604 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44608 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44613 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44614 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44626 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44627 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44629 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44631 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44634 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44642 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44643 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44644 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44645 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44647 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44648 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44649 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44650 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44653 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44655 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44656 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44658 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44659 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44660 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44661 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44662 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44663 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44664 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44665 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44666 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44667 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44668 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44669 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44670 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44671 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44672 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44673 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44674 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44675 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44676 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44677 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44678 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44679 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44680 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44681 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44682 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44683 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44684 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44685 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44686 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44687 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44688 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44689 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44690 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44691 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44692 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44693 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44694 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44695 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44696 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44697 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44698 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44699 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44700 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44701 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44702 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44704 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44705 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44706 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44707 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44708 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44709 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44710 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44711 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44712 * sysdeps/ieee754/s_lib_version.c: Likewise.
44713 * sysdeps/ieee754/s_matherr.c: Likewise.
44714 * sysdeps/ieee754/s_signgam.c: Likewise.
44715 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44716 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44717 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44718 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44719 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44720 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44721 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44722 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44723 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44724 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44725 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44726 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44727 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44728 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44729 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44730 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44731 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44732 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44733 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44734 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44736
447372012-03-09 Joseph Myers <joseph@codesourcery.com>
44738
44739 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44740 * sunrpc/rpc_main.c: Likewise.
44741 * sunrpc/rpc_svcout.c: Likewise.
44742
447432012-03-09 David S. Miller <davem@davemloft.net>
44744
44745 * include/math_private.h: New file.
44746
447472012-03-09 Joseph Myers <joseph@codesourcery.com>
44748
44749 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44750 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44751 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44752 from <bits/socket_type.h>.
44753 (enum __socket_type): Don't define here.
44754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44756 bits/socket_type.h.
44757
44758 [BZ #13566]
44759 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44760 checking __USE_GNU.
44761
44762 * Makerules ($(inst_includedir)/%.h): New rule.
44763 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44764 (install-others): Remove variable setting.
44765 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44766
447672012-03-08 Richard Henderson <rth@twiddle.net>
44768
44769 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44770 from macro to inline function; merge with the
44771 !__LIBC_INTERNAL_MATH_INLINES version.
44772 (__ieee754_sqrtf): Likewise.
44773
44774 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44775 to inline function.
44776 (__rintf, __floor, __floorf): Likewise.
44777
44778 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44779 macro to inline function.
44780 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44781
44782 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44783 not <math/math_private.h>.
44784
447852012-03-08 David S. Miller <davem@davemloft.net>
44786
44787 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44788 copyright year.
44789 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44790
447912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44792
44793 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44794 normalization.
44795 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44796 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44797
447982012-03-08 Ulrich Drepper <drepper@gmail.com>
44799
44800 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44801 be defined individually, they must be defined as a block. Define
44802 S for printing a string instead of hidint the different by using a
44803 macro for adding the 'l'.
44804 * stdio-common/tst-fphex-wide.c: Adjust.
44805
448062012-03-07 Marek Polacek <polacek@redhat.com>
44807
44808 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44809
448102012-03-08 Marek Polacek <polacek@redhat.com>
44811
44812 [BZ #13806]
44813 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44814 * stdio-common/tst-fphex.c: Define a few macros to make the
44815 test reusable. Use them.
44816 * stdio-common/tst-fphex-wide.c: New file.
44817
448182012-03-08 Joseph Myers <joseph@codesourcery.com>
44819
44820 [BZ #6911]
44821 * manual/macros.texi (gnusystems): New macro.
44822 (nongnusystems): Likewise.
44823 (gnulinuxhurdsystems): Likewise.
44824 (gnuhurdsystems): Likewise..
44825 (gnulinuxsystems): Likewise.
44826 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44827 variants of the GNU system, not "GNU system".
44828 * manual/conf.texi: Likewise.
44829 * manual/errno.texi: Likewise. Update example of errno macro
44830 expansion.
44831 * manual/filesys.texi: Likewise.
44832 (getumask): Document as specific to GNU/Hurd.
44833 * manual/install.texi: Likewise. Reword some references to
44834 GNU/Linux.
44835 * manual/intro.texi: Likewise.
44836 * manual/io.texi: Likewise.
44837 (File Name Portability): Detail which constraints are inapplicable
44838 to all GNU systems and which are only inapplicable to GNU/Hurd.
44839 * manual/job.texi: Likewise.
44840 * manual/llio.texi: Likewise.
44841 (O_NOCTTY): Document as present on GNU/Linux.
44842 * manual/maint.texi: Likewise.
44843 * manual/memory.texi: Likewise.
44844 * manual/pattern.texi: Likewise.
44845 * manual/pipe.texi: Likewise.
44846 * manual/process.texi: Likewise.
44847 * manual/resource.texi: Likewise.
44848 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44849 child on GNU/Hurd.
44850 * manual/setjmp.texi: Likewise.
44851 * manual/signal.texi: Likewise.
44852 * manual/startup.texi: Likewise.
44853 * manual/stdio.texi: Likewise.
44854 * manual/terminal.texi: Likewise.
44855 (ONLCR): Document as POSIX.
44856 (OXTABS): Document availability on GNU/Linux as XTABS.
44857 (ONOEOT): Document availability separately from other bits.
44858 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44859 * manual/time.texi: Likewise.
44860 * manual/users.texi: Likewise.
44861 * INSTALL: Regenerated.
44862 * sysdeps/gnu/errlist.c: Regenerated.
44863
44864 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44865 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44866 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44867 puts.
44868 * configure: Regenerated.
44869
448702012-03-07 Joseph Myers <joseph@codesourcery.com>
44871
44872 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44873 default includes instead of AC_HEADER_CHECK.
44874 * sysdeps/i386/configure: Regenerated.
44875
44876 [BZ #10716]
44877 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44878 * math/s_cacoshf.c (__cacoshf): Likewise.
44879 * math/s_cacoshl.c (__cacoshl): Likewise.
44880 * math/s_casinh.c (__casinh): Set signs of result from argument.
44881 * math/s_casinhf.c (__casinhf): Likewise.
44882 * math/s_casinhl.c (__casinhl): Likewise.
44883 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44884 (casinh_test): Add more tests.
44885 * sysdeps/i386/fpu/libm-test-ulps: Update.
44886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44887
448882012-03-07 Ulrich Drepper <drepper@gmail.com>
44889
44890 * po/zh_TW.po: Update from translation team.
44891
44892 * login/Makefile (distribute): Remove variable.
44893 * catgets/Makefile: Likewise.
44894 * mach/Makefile: Likewise.
44895 * malloc/Makefile: Likewise.
44896 * misc/Makefile: Likewise.
44897 * iconv/Makefile: Likewise.
44898 * nscd/Makefile: Likewise.
44899 * hurd/Makefile: Likewise.
44900 * manual/Makefile: Likewise.
44901 * locale/Makefile: Likewise.
44902 * intl/Makefile: Likewise.
44903 * conform/Makefile: Likewise.
44904 * nss/Makefile: Likewise.
44905 * time/Makefile: Likewise.
44906 * soft-fp/Makefile: Likewise.
44907 * dirent/Makefile: Likewise.
44908 * gmon/Makefile: Likewise.
44909 * po/Makefile: Likewise.
44910 * rt/Makefile: Likewise.
44911 * socket/Makefile: Likewise.
44912 * math/Makefile: Likewise.
44913 * signal/Makefile: Likewise.
44914 * debug/Makefile: Likewise.
44915 * elf/Makefile: Likewise.
44916 * timezone/Makefile: Likewise.
44917 * stdlib/Makefile: Likewise.
44918 * iconvdata/Makefile: Likewise.
44919 * sunrpc/Makefile: Likewise.
44920 * io/Makefile: Likewise.
44921 * argp/Makefile: Likewise.
44922 * inet/Makefile: Likewise.
44923 * hesiod/Makefile: Likewise.
44924 * grp/Makefile: Likewise.
44925 * csu/Makefile: Likewise.
44926 * wctype/Makefile: Likewise.
44927 * crypt/Makefile: Likewise.
44928 * libio/Makefile: Likewise.
44929 * string/Makefile: Likewise.
44930 * nis/Makefile: Likewise.
44931 * resolv/Makefile: Likewise.
44932 * stdio-common/Makefile: Likewise.
44933 * wcsmbs/Makefile: Likewise.
44934 * dlfcn/Makefile: Likewise.
44935 * posix/Makefile: Likewise.
44936
44937 [BZ #6959]
44938 * timezone/Makefile: Don't install timezone files, just the programs
44939 and scripts.
44940
449412012-03-06 Ulrich Drepper <drepper@gmail.com>
44942
44943 * nss/databases.def: Add missing gshadow entry.
44944
44945 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44946
449472012-03-06 Marek Polacek <polacek@redhat.com>
44948
44949 [BZ #13726]
44950 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44951 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44952 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44953 * stdio-common/tst-long-dbl-fphex.c: New file.
44954
449552012-03-06 David S. Miller <davem@davemloft.net>
44956
44957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44958 (set_obp_int): New function.
44959 (get_obp_int): New function.
44960 (__get_clockfreq_via_dev_openprom): Likewise.
44961 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44962 Avoid unused variable warnings on 'val' and use builtin_expect.
44963 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44964 __builtin_expect.
44965 (INLINE_CLONE_SYSCALL): Likewise.
44966
449672012-03-05 David S. Miller <davem@davemloft.net>
44968
44969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44970
449712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44972
44973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44974
44975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44976 only for |x| >= 40.
44977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44978
449792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44980
44981 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44982 Replace gettimeofday with __vdso_gettimeofday.
44983
44984 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44985 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44986 __vdso_clock_gettime and __vdso_getcpu.
44987
44988 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44989 time with __vdso_time.
44990
449912012-03-05 Joseph Myers <joseph@codesourcery.com>
44992
44993 * manual/lang.texi (size_t): Note types to which size_t may be
44994 equivalent with the GNU C Library, but do not describe when
44995 differences between them are significant.
44996
449972012-03-05 Andreas Jaeger <aj@suse.de>
44998
44999 * sysdeps/i386/fpu/libm-test-ulps: Update.
45000
450012012-03-05 Joseph Myers <joseph@codesourcery.com>
45002
45003 [BZ #3976]
45004 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45005 (__ieee754_pow): Save and restore rounding mode and use
45006 round-to-nearest for main computations.
45007 * math/libm-test.inc (pow_test_tonearest): New function.
45008 (pow_test_towardzero): Likewise.
45009 (pow_test_downward): Likewise.
45010 (pow_test_upward): Likewise.
45011 (main): Call the new functions.
45012 * sysdeps/i386/fpu/libm-test-ulps: Update.
45013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45014
45015 [BZ #3976]
45016 * math/libm-test.inc (cosh_test_tonearest): New function.
45017 (cosh_test_towardzero): Likewise.
45018 (cosh_test_downward): Likewise.
45019 (cosh_test_upward): Likewise.
45020 (sinh_test_tonearest): Likewise.
45021 (sinh_test_towardzero): Likewise.
45022 (sinh_test_downward): Likewise.
45023 (sinh_test_upward): Likewise.
45024 (main): Call the new functions.
45025 * sysdeps/i386/fpu/libm-test-ulps: Update.
45026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45027
450282012-03-05 Tom de Vries <tom@codesourcery.com>
45029
45030 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45031 default stack guard is set in last bytes.
45032 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45033
450342012-03-05 Kees Cook <keescook@chromium.org>
45035
45036 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45037
45038 [BZ #13656]
45039 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45040 possibly allocate from heap instead of stack.
45041 * stdio-common/bug-vfprintf-nargs.c: New file.
45042 * stdio-common/Makefile (tests): Add nargs overflow test.
45043
450442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45045
45046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45047
450482012-03-03 Marek Polacek <polacek@redhat.com>
45049
45050 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45051 * math/math_private.h: Likewise.
45052 * stdlib/tst-strtod.c: Likewise.
45053 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45054 * sysdeps/x86_64/bits/atomic.h: Likewise.
45055
450562012-03-02 David S. Miller <davem@davemloft.net>
45057
45058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45062 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45063 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45064 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45065 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45066
450672012-03-02 Roland McGrath <roland@hack.frob.com>
45068
45069 [BZ #13792]
45070 * manual/examples/README: New file, says the example source files
45071 can be used under GPL>=2.
45072 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45073 line containing just "*/".
45074 * manual/examples/add.c: Add copyright header (GPL>=2).
45075 * manual/examples/argp-ex1.c: Likewise.
45076 * manual/examples/argp-ex2.c: Likewise.
45077 * manual/examples/argp-ex3.c: Likewise.
45078 * manual/examples/argp-ex4.c: Likewise.
45079 * manual/examples/atexit.c: Likewise.
45080 * manual/examples/db.c: Likewise.
45081 * manual/examples/dir.c: Likewise.
45082 * manual/examples/dir2.c: Likewise.
45083 * manual/examples/execinfo.c: Likewise.
45084 * manual/examples/filecli.c: Likewise.
45085 * manual/examples/filesrv.c: Likewise.
45086 * manual/examples/fmtmsgexpl.c: Likewise.
45087 * manual/examples/genpass.c: Likewise.
45088 * manual/examples/inetcli.c: Likewise.
45089 * manual/examples/inetsrv.c: Likewise.
45090 * manual/examples/isockad.c: Likewise.
45091 * manual/examples/longopt.c: Likewise.
45092 * manual/examples/memopen.c: Likewise.
45093 * manual/examples/memstrm.c: Likewise.
45094 * manual/examples/mkfsock.c: Likewise.
45095 * manual/examples/mkisock.c: Likewise.
45096 * manual/examples/mygetpass.c: Likewise.
45097 * manual/examples/pipe.c: Likewise.
45098 * manual/examples/popen.c: Likewise.
45099 * manual/examples/rprintf.c: Likewise.
45100 * manual/examples/search.c: Likewise.
45101 * manual/examples/select.c: Likewise.
45102 * manual/examples/setjmp.c: Likewise.
45103 * manual/examples/sigh1.c: Likewise.
45104 * manual/examples/sigusr.c: Likewise.
45105 * manual/examples/stpcpy.c: Likewise.
45106 * manual/examples/strdupa.c: Likewise.
45107 * manual/examples/strftim.c: Likewise.
45108 * manual/examples/strncat.c: Likewise.
45109 * manual/examples/subopt.c: Likewise.
45110 * manual/examples/swapcontext.c: Likewise.
45111 * manual/examples/termios.c: Likewise.
45112 * manual/examples/testopt.c: Likewise.
45113 * manual/examples/testpass.c: Likewise.
45114 * manual/examples/timeval_subtract.c: Likewise.
45115
45116 [BZ #13792]
45117 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45118 function to ...
45119 * manual/timeval_subtract.c.texi: ... here, new file.
45120
451212012-03-02 David S. Miller <davem@davemloft.net>
45122
45123 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45124
451252012-03-02 Joseph Myers <joseph@codesourcery.com>
45126
45127 [BZ #3976]
45128 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45129 (__sin): Save and restore rounding mode and use round-to-nearest
45130 for all computations.
45131 (__cos): Save and restore rounding mode and use round-to-nearest
45132 for all computations.
45133 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45134 <fenv.h>.
45135 (tan): Save and restore rounding mode and use round-to-nearest for
45136 all computations.
45137 * math/libm-test.inc (cos_test_tonearest): New function.
45138 (cos_test_towardzero): Likewise.
45139 (cos_test_downward): Likewise.
45140 (cos_test_upward): Likewise.
45141 (sin_test_tonearest): Likewise.
45142 (sin_test_towardzero): Likewise.
45143 (sin_test_downward): Likewise.
45144 (sin_test_upward): Likewise.
45145 (tan_test_tonearest): Likewise.
45146 (tan_test_towardzero): Likewise.
45147 (tan_test_downward): Likewise.
45148 (tan_test_upward): Likewise.
45149 (main): Call the new functions.
45150 * sysdeps/i386/fpu/libm-test-ulps: Update.
45151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45152
45153 [BZ #10135]
45154 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45155 small n, then large n, before computing and testing k+n.
45156 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45158 Likewise.
45159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45160 Likewise.
45161 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45162 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45163 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45164 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45165 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45166 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45167 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45169 * math/libm-test.inc (scalbn_test): Add more tests.
45170 (scalbln_test): Likewise.
45171
45172 * manual/filesys.texi (mode_t): Describe constraints on size and
45173 signedness, not exact equivalence to a particular type.
45174 (ino_t): Likewise.
45175 (ino64_t): Likewise.
45176 (dev_t): Likewise.
45177 (nlink_t): Likewise.
45178 (blkcnt_t): Likewise.
45179 (blkcnt64_t): Likewise.
45180 * manual/llio.texi (off_t): Likewise.
45181
45182 [BZ #3976]
45183 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45184 (__ieee754_exp): Save and restore rounding mode and use
45185 round-to-nearest for all computations.
45186 * math/libm-test.inc (exp_test_tonearest): New function.
45187 (exp_test_towardzero): Likewise.
45188 (exp_test_downward): Likewise.
45189 (exp_test_upward): Likewise.
45190 (main): Call the new functions.
45191 * sysdeps/i386/fpu/libm-test-ulps: Update.
45192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45193
451942012-03-01 Chris Demetriou <cgd@google.com>
45195
45196 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45197 have predictable order.
45198
451992012-03-01 David S. Miller <davem@davemloft.net>
45200
45201 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45202
45203 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45204 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45205 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45206 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45207
45208 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45209 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45210 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45212 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45213 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45214 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45215 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45216 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45217
45218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45219
45220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45221 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45222 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45223
45224 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45225 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45226 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45227 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45228 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45230 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45231 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45232 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45233 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45234 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45235 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45237 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45238 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45240 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45241 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45242 * sysdeps/sparc/elf/configure: Regenerated.
45243
452442012-03-01 Joseph Myers <joseph@codesourcery.com>
45245
45246 * configure.in (AS, LD): Require binutils 2.20 or later.
45247 * configure: Regenerated.
45248 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45249 as required minimum version.
45250 * INSTALL: Regenerated.
45251
45252 [BZ #2541]
45253 [BZ #4108]
45254 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45255 before squaring exponent.
45256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45257 bottom long double and 27 bits of top long double before squaring
45258 exponent.
45259 * math/libm-test.inc (erfc_test): Add more tests.
45260 * sysdeps/i386/fpu/libm-test-ulps: Update.
45261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45263
452642012-03-01 Kai Tietz <ktietz@redhat.com>
45265
45266 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45267 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45268 containing bit-fields.
45269 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45270 * soft-fp/single.h (_FP_UNION_S): Likewise.
45271 * soft-fp/double.h (_FP_UNION_D): Likewise.
45272
452732012-02-29 Joseph Myers <joseph@codesourcery.com>
45274
45275 [BZ #13786]
45276 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45277 not include ../strcmp.S.
45278 [USE_AS_STRNCASECMP_L]: Likewise.
45279 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45280 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45281 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45282 (__strncasecmp_l_ia32): Define as alias to
45283 __strncasecmp_l_nonascii.
45284
45285 [BZ #5794]
45286 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45287 * sysdeps/i386/fpu/libm-test-ulps: Update.
45288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45289
45290 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45292
452932012-02-29 Jeff Law <law@redhat.com>
45294
45295 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45296 out of bounds read.
45297
452982012-02-29 Marek Polacek <polacek@redhat.com>
45299
45300 [BZ #13706]
45301 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45302 * elf/Makefile: Add rules to run tst-unused-dep.out.
45303
453042012-02-28 David S. Miller <davem@davemloft.net>
45305
45306 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45307 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45308 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45309 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45310 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45311 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45312
453132012-02-29 Joseph Myers <joseph@codesourcery.com>
45314
45315 * math/libm-test.inc (llround_test): Move one test from
45316 lround_test. Use TEST_f_L in moved test.
45317 (lround_test): Move misplaced test to llround_test. Add testcase
45318 from bug 2561.
45319
453202012-02-28 Ulrich Drepper <drepper@gmail.com>
45321
45322 * sysdeps/x86_64/fpu/e_expf.S: New file.
45323 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45324
453252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45326
45327 [BZ #13637]
45328 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45329 of remain_len that may cause incomplete multi-byte character and
45330 false match.
45331 * posix/bug-regex33.c: New file.
45332 * posix/Makefile (tests): Add bug-regex33.
45333
453342012-02-28 Joseph Myers <joseph@codesourcery.com>
45335
45336 * manual/macros.texi: New file.
45337 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45338 * manual/libc.texinfo: Include macros.texi.
45339 * manual/creatute.texi: Likewise.
45340 * manual/install.texi: Likewise.
45341 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45342 @glibcadj{} in references to the GNU C Library.
45343 * manual/charset.texi: Likewise.
45344 * manual/conf.texi: Likewise.
45345 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45346 when not using those macros.
45347 * manual/creature.texi: Likewise.
45348 * manual/crypt.texi: Likewise.
45349 * manual/errno.texi: Likewise.
45350 * manual/filesys.texi: Likewise.
45351 * manual/header.texi: Likewise.
45352 * manual/install.texi: Likewise.
45353 * manual/intro.texi: Likewise.
45354 * manual/io.texi: Likewise.
45355 * manual/job.texi: Likewise.
45356 * manual/lang.texi: Likewise.
45357 * manual/libc.texiinfo: Likewise.
45358 * manual/llio.texi: Likewise.
45359 * manual/locale.texi: Likewise.
45360 * manual/maint.texi: Likewise.
45361 * manual/math.texi: Likewise.
45362 * manual/memory.texi: Likewise.
45363 * manual/message.texi: Likewise.
45364 * manual/nss.texi: Likewise.
45365 * manual/pattern.texi: Likewise.
45366 * manual/process.texi: Likewise.
45367 * manual/resource.texi: Likewise.
45368 * manual/search.texi: Likewise.
45369 * manual/setjmp.texi: Likewise.
45370 * manual/signal.texi: Likewise.
45371 * manual/socket.texi: Likewise.
45372 * manual/startup.texi: Likewise.
45373 * manual/stdio.texi: Likewise.
45374 * manual/string.texi: Likewise.
45375 * manual/sysinfo.texi: Likewise.
45376 * manual/syslog.texi: Likewise.
45377 * manual/terminal.texi: Likewise.
45378 * manual/time.texi: Likewise.
45379 * manual/users.texi: Likewise.
45380 * INSTALL: Regenerated.
45381 * NOTES: Regenerated.
45382 * sysdeps/gnu/errlist.c: Regenerated.
45383
453842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45385
45386 * include/dirent.h: Include <dirstream.h> before
45387 <dirent/dirent.h>.
45388
453892012-02-28 David S. Miller <davem@davemloft.net>
45390
45391 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45392 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45393 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45394 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45395
453962012-02-27 David S. Miller <davem@davemloft.net>
45397
45398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45400 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45401 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45402
45403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45404 frame pointer instead of stack pointer relative arg slot.
45405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45406 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45407 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45408
454092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45410
45411 [BZ #3992]
45412 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45413
454142012-02-27 David S. Miller <davem@davemloft.net>
45415
45416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45422 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45423 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45424
454252012-02-27 Joseph Myers <joseph@codesourcery.com>
45426
45427 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45428 later. Allow versions 5-9.
45429 * configure: Regenerated.
45430 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45431 required minimum version and 4.6 as recommended version. Do not
45432 mention bugs in GCC 2.7 and 2.8.
45433 * INSTALL: Regenerated.
45434
454352012-02-27 David S. Miller <davem@davemloft.net>
45436
45437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45441 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45442 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45443 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45444 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45445
45446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45447 manipulate bits before adding and subtracting TWO112[sx].
45448 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45449
454502012-02-27 Roland McGrath <roland@hack.frob.com>
45451
45452 [BZ #13775]
45453 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45454 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45455 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45456 being in POSIX, because they are in 1003.1-2008.
45457
45458 * rt/tst-aio.c: Include <fcntl.h>.
45459 * rt/tst-aio7.c: Likewise.
45460 * rt/tst-aio64.c: Likewise.
45461
45462 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45463
454642012-02-27 Joseph Myers <joseph@codesourcery.com>
45465
45466 * manual/install.texi (--with-headers): Describe headers as
45467 interface headers, not private headers.
45468 (Specific advice for GNU/Linux systems): Describe use of headers
45469 from "make headers_install", not private headers from older
45470 kernels.
45471 * INSTALL: Regenerated.
45472 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45473 Change to 2.6.19.
45474 * sysdeps/unix/sysv/linux/configure: Regenerated.
45475
45476 * manual/llio.texi (fclean): Remove documentation.
45477
45478 * manual/Makefile (libc-texi-generated): New variable. Include
45479 version.texi.
45480 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45481 $(libc-texi-generated), not duplicated list of files.
45482 (version.texi, stamp-version): New rules.
45483 (realclean): Remove $(libc-texi-generated), not individual files
45484 from that list. Do not remove dir-add.texinfo.
45485 * manual/libc.texinfo: Comment out uses of edition numbers and
45486 references to printed manual. Remove last-updated dates.
45487 (EDITION): Comment out.
45488 (ISBN): Likewise.
45489 (VERSION, UPDATED): Remove.
45490 (version.texi): Include.
45491
454922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45493
45494 * sysdeps/posix/spawni.c: Include <signal.h>.
45495 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45496 * sysdeps/pthread/aio_fsync.c: Likewise.
45497
454982012-02-26 Ulrich Drepper <drepper@gmail.com>
45499
45500 * conform/Makefile (tests): Run only when not cross-compiling and
45501 when fast-check is not defined.
45502
45503 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45504 * conform/data/limits.h-data: Fixes for POSIX2008.
45505 * conform/run-conformtest.sh: Run all tests.
45506 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45507 headers.
45508 * include/bits/dlfcn.h: Likewise.
45509 * include/langinfo.h: Likewise.
45510 * include/monetary.h: Likewise.
45511 * include/sys/poll.h: Likewise.
45512
45513 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45514 for __USE_GNU.
45515 * posix/spawn.h: Define __need_sigset_t.
45516 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45517 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45518 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45519 to get sigevent_t only.
45520 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45521 only for __USE_GNU.
45522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45523 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45524 process_vm_writev only for __USE_GNU.
45525 * termios/termios.h: Declare tcgetsid also for POSIX2008.
45526
45527 * conform/Makefile: For now ignore errors from run-conformtest.
45528 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45529 POSIX to avoid namespace pollution. Don't prepend headers.
45530 * conform/data/aio.h-data: Fixes for POSIX testing.
45531 * conform/data/fcntl.h-data: Likewise.
45532 * conform/data/glob.h-data: Likewise.
45533 * conform/data/grp.h-data: Likewise.
45534 * conform/data/pthread.h-data: Likewise.
45535 * conform/data/pwd.h-data: Likewise.
45536 * conform/data/signal.h-data: Likewise.
45537 * conform/data/spawn.h-data: Likewise.
45538 * conform/data/stdio.h-data: Likewise.
45539 * conform/data/stdlib.h-data: Likewise.
45540 * conform/data/stropts.h-data: Likewise.
45541 * conform/data/sys/mman.h-data: Likewise.
45542 * conform/data/sys/stat.h-data: Likewise.
45543 * conform/data/sys/types.h-data: Likewise.
45544 * conform/data/sys/wait.h-data: Likewise.
45545 * conform/data/time.h-data: Likewise.
45546 * conform/data/unistd.h-data: Likewise.
45547 * conform/data/utime.h-data: Likewise.
45548
45549 * io/sys/stat.h: fchmod was always in POSIX.
45550 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45551 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45552 * rt/aio.h: Define __need_timespec before including <time.h>.
45553 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45554 struct. Add forward declaration of pthread_attr_t and use it in
45555 sigevent.
45556 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45557 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45558 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45559 always remove CLK_TCK definition.
45560
455612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45562
45563 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45564
455652012-02-25 Ulrich Drepper <drepper@gmail.com>
45566
45567 * conform/run-conformtest.sh: New file.
45568 * conform/Makefile: Run run-conformtest for tests.
45569 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45570 support.
45571
45572 * conform/data/uchar.h-data: New file.
45573 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45574 * conform/data/arpa/inet.h-data: Likewise.
45575 * conform/data/assert.h-data: Likewise.
45576 * conform/data/complex.h-data: Likewise.
45577 * conform/data/cpio.h-data: Likewise.
45578 * conform/data/ctype.h-data: Likewise.
45579 * conform/data/dirent.h-data: Likewise.
45580 * conform/data/dlfcn.h-data: Likewise.
45581 * conform/data/errno.h-data: Likewise.
45582 * conform/data/fcntl.h-data: Likewise.
45583 * conform/data/float.h-data: Likewise.
45584 * conform/data/fmtmsg.h-data: Likewise.
45585 * conform/data/fnmatch.h-data: Likewise.
45586 * conform/data/ftw.h-data: Likewise.
45587 * conform/data/glob.h-data: Likewise.
45588 * conform/data/grp.h-data: Likewise.
45589 * conform/data/iconv.h-data: Likewise.
45590 * conform/data/inttypes.h-data: Likewise.
45591 * conform/data/langinfo.h-data: Likewise.
45592 * conform/data/libgen.h-data: Likewise.
45593 * conform/data/limits.h-data: Likewise.
45594 * conform/data/locale.h-data: Likewise.
45595 * conform/data/math.h-data: Likewise.
45596 * conform/data/monetary.h-data: Likewise.
45597 * conform/data/mqueue.h-data: Likewise.
45598 * conform/data/ndbm.h-data: Likewise.
45599 * conform/data/net/if.h-data: Likewise.
45600 * conform/data/netdb.h-data: Likewise.
45601 * conform/data/netinet/in.h-data: Likewise.
45602 * conform/data/nl_types.h-data: Likewise.
45603 * conform/data/poll.h-data: Likewise.
45604 * conform/data/pthread.h-data: Likewise.
45605 * conform/data/pwd.h-data: Likewise.
45606 * conform/data/regex.h-data: Likewise.
45607 * conform/data/sched.h-data: Likewise.
45608 * conform/data/search.h-data: Likewise.
45609 * conform/data/semaphore.h-data: Likewise.
45610 * conform/data/setjmp.h-data: Likewise.
45611 * conform/data/signal.h-data: Likewise.
45612 * conform/data/spawn.h-data: Likewise.
45613 * conform/data/stdarg.h-data: Likewise.
45614 * conform/data/stdio.h-data: Likewise.
45615 * conform/data/stdlib.h-data: Likewise.
45616 * conform/data/string.h-data: Likewise.
45617 * conform/data/strings.h-data: Likewise.
45618 * conform/data/stropts.h-data: Likewise.
45619 * conform/data/sys/ipc.h-data: Likewise.
45620 * conform/data/sys/mman.h-data: Likewise.
45621 * conform/data/sys/msg.h-data: Likewise.
45622 * conform/data/sys/resource.h-data: Likewise.
45623 * conform/data/sys/select.h-data: Likewise.
45624 * conform/data/sys/sem.h-data: Likewise.
45625 * conform/data/sys/shm.h-data: Likewise.
45626 * conform/data/sys/socket.h-data: Likewise.
45627 * conform/data/sys/stat.h-data: Likewise.
45628 * conform/data/sys/statvfs.h-data: Likewise.
45629 * conform/data/sys/time.h-data: Likewise.
45630 * conform/data/sys/timeb.h-data: Likewise.
45631 * conform/data/sys/times.h-data: Likewise.
45632 * conform/data/sys/types.h-data: Likewise.
45633 * conform/data/sys/uio.h-data: Likewise.
45634 * conform/data/sys/un.h-data: Likewise.
45635 * conform/data/sys/utsname.h-data: Likewise.
45636 * conform/data/sys/wait.h-data: Likewise.
45637 * conform/data/syslog.h-data: Likewise.
45638 * conform/data/tar.h-data: Likewise.
45639 * conform/data/termios.h-data: Likewise.
45640 * conform/data/utime.h-data: Likewise.
45641 * conform/data/utmpx.h-data: Likewise.
45642 * conform/data/varargs.h-data: Likewise.
45643 * conform/data/wchar.h-data: Likewise.
45644 * conform/data/wctype.h-data: Likewise.
45645 * conform/data/wordexp.h-data: Likewise.
45646
45647 * include/stropts.h: New file.
45648 * include/uchar.h: New file.
45649 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45650 * include/assert.h: Likewise.
45651 * include/ctype.h: Likewise.
45652 * include/dirent.h: Likewise.
45653 * include/dlfcn.h: Likewise.
45654 * include/fcntl.h: Likewise.
45655 * include/fnmatch.h: Likewise.
45656 * include/glob.h: Likewise.
45657 * include/grp.h: Likewise.
45658 * include/libio.h: Likewise.
45659 * include/locale.h: Likewise.
45660 * include/math.h: Likewise.
45661 * include/net/if.h: Likewise.
45662 * include/netdb.h: Likewise.
45663 * include/netinet/in.h: Likewise.
45664 * include/pthread.h: Likewise.
45665 * include/pwd.h: Likewise.
45666 * include/regex.h: Likewise.
45667 * include/sched.h: Likewise.
45668 * include/search.h: Likewise.
45669 * include/setjmp.h: Likewise.
45670 * include/signal.h: Likewise.
45671 * include/stdio.h: Likewise.
45672 * include/stdlib.h: Likewise.
45673 * include/string.h: Likewise.
45674 * include/sys/cdefs.h: Likewise.
45675 * include/sys/mman.h: Likewise.
45676 * include/sys/msg.h: Likewise.
45677 * include/sys/resource.h: Likewise.
45678 * include/sys/select.h: Likewise.
45679 * include/sys/socket.h: Likewise.
45680 * include/sys/stat.h: Likewise.
45681 * include/sys/statvfs.h: Likewise.
45682 * include/sys/time.h: Likewise.
45683 * include/sys/times.h: Likewise.
45684 * include/sys/uio.h: Likewise.
45685 * include/sys/utsname.h: Likewise.
45686 * include/sys/wait.h: Likewise.
45687 * include/termios.h: Likewise.
45688 * include/time.h: Likewise.
45689 * include/ulimit.h: Likewise.
45690 * include/unistd.h: Likewise.
45691 * include/utime.h: Likewise.
45692 * include/wchar.h: Likewise.
45693 * include/wctype.h: Likewise.
45694 * include/wordexp.h: Likewise.
45695
45696 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45697
45698 * time/time.h: TIME_UTC must be a macro.
45699 Make timespec_get available for ISO C11 only as well.
45700
457012012-02-24 Ulrich Drepper <drepper@gmail.com>
45702
45703 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45704 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45705
457062012-02-24 Joseph Myers <joseph@codesourcery.com>
45707
45708 * configure.in: Use -o not -a in test for unsupported multi-arch.
45709
457102012-02-24 Joseph Myers <joseph@codesourcery.com>
45711
45712 * manual/texinfo.tex: Update to version 2012-01-19.16.
45713
457142012-02-24 Joseph Myers <joseph@codesourcery.com>
45715
45716 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45717
457182012-02-24 Roland McGrath <roland@hack.frob.com>
45719
45720 [BZ #13738]
45721 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45722 * manual/fdl-1.3.texi: New file.
45723 * manual/fdl-1.1.texi: File removed.
45724
45725 [BZ #13738]
45726 * manual/libc.texinfo (FDL_VERSION): New @set.
45727 Use it for mention of FDL in cover text.
45728 (Documentation License): Use it in @include file name.
45729
457302012-02-22 Joseph Myers <joseph@codesourcery.com>
45731 Roland McGrath <roland@hack.frob.com>
45732
45733 [BZ #5461]
45734 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45735 (not LONG_LONG_MAX and LONG_LONG_MIN.
45736 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45737 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45738 name.
45739 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45740
457412012-02-22 Joseph Myers <joseph@codesourcery.com>
45742
45743 [BZ #2547]
45744 [BZ #11365]
45745 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45746 manipulate bits before adding and subtracting TWO23[sx].
45747 * math/libm-test.inc (nearbyint_test): Add more tests.
45748
457492012-02-22 Joseph Myers <joseph@codesourcery.com>
45750
45751 [BZ #2548]
45752 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45753 bits before adding and subtracting TWO23[sx].
45754 * math/libm-test.inc (rint_test): Add more tests.
45755 (rint_test_tonearest): Likewise.
45756 (rint_test_towardzero): Likewise.
45757 (rint_test_downward): Likewise.
45758 (rint_test_upward: Likewise.
45759
457602012-02-22 Joseph Myers <joseph@codesourcery.com>
45761
45762 [BZ #10110]
45763 * include/stdc-predef.h: New file. Extracted from features.h.
45764 * include/features.h: Include stdc-predef.h.
45765 * Makefile (headers): Add stdc-predef.h.
45766 * CONFORMANCE (Compiler limitations): Update.
45767
457682012-02-22 Joseph Myers <joseph@codesourcery.com>
45769
45770 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45771
457722012-02-21 David S. Miller <davem@davemloft.net>
45773
45774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45775 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45776
457772012-02-20 David S. Miller <davem@davemloft.net>
45778
45779 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45780 using a normal save/restore sequence, rather than allocating a
45781 dummy stack frame just to store a frame pointer and restore.
45782 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45783
457842012-02-21 Joseph Myers <joseph@codesourcery.com>
45785
45786 * manual/install.texi: Fix stray word in line-wrapped comment.
45787
457882012-02-20 David S. Miller <davem@davemloft.net>
45789
45790 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45791 both binutils and gcc support GOTDATA.
45792
45793 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45794 "rd %pc" in the PIC register setup sequences.
45795
45796 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45797 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45798 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45799 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45805 (SYSCALL_ERROR_HANDLER): Likewise.
45806 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45807 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45808 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45809 (SYSCALL_ERROR_HANDLER): Likewise.
45810
45811 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45812 (HAVE_GCC_GOTDATA): New.
45813 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45814 relocation support in both binutils and gcc.
45815 * sysdeps/sparc/elf/configure: Regenerate.
45816
45817 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45818 * sysdeps/sparc/sparc32/elf/configure: Delete.
45819 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45820 * sysdeps/sparc/sparc64/elf/configure: Delete.
45821 * sysdeps/sparc/elf/configure.in: New file.
45822 * sysdeps/sparc/elf/configure: Generate.
45823
45824 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45825 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45827 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45828 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45829
458302012-02-21 Joseph Myers <joseph@codesourcery.com>
45831
45832 * manual/install.texi: Do not mention specific glibc version
45833 numbers.
45834 * manual/libc.texinfo (VERSION, UPDATED): Update.
45835 (@copying): Use @copyright{} and range of years.
45836
458372012-02-21 Joseph Myers <joseph@codesourcery.com>
45838
45839 [BZ #13695]
45840 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45841 [crti.S not in sysdirs] (generated): Do not append.
45842 [crti.S not in sysdirs] (omit-deps): Likewise.
45843 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45844 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45845 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45846 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45847 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45848 Likewise.
45849 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45850 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45851 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45852 * csu/defs.awk: Remove file.
45853 * sysdeps/generic/initfini.c: Likewise.
45854 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45855 variable.
45856 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45857 Likewise.
45858
458592012-02-20 Joseph Myers <joseph@codesourcery.com>
45860
45861 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45862 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45863 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45864 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45866 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45867 <bits/epoll.h>.
45868 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45869 (__EPOLL_PACKED): Define to empty if not defined by
45870 <bits/epoll.h>.
45871 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45873 bits/epoll.h.
45874
458752012-02-20 Joseph Myers <joseph@codesourcery.com>
45876
45877 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45878 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45879 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45880 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45881 <bits/timerfd.h>.
45882 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45884 bits/timerfd.h.
45885
458862012-02-20 Joseph Myers <joseph@codesourcery.com>
45887
45888 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45889 in C locale.
45890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45891 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45892 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45894
458952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45896
45897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45898 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45899
459002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45901
45902 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45903 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45904 defined.
45905 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45906 Likewise.
45907 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45908 entry for 2.16.
45909
459102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45911
45912 * math/w_acos.c: Use non-signaling floating-point comparisons.
45913 * math/w_acosf.c: Likewise.
45914 * math/w_acosh.c: Likewise.
45915 * math/w_acoshf.c: Likewise.
45916 * math/w_acoshl.c: Likewise.
45917 * math/w_acosl.c: Likewise.
45918 * math/w_asin.c: Likewise.
45919 * math/w_asinf.c: Likewise.
45920 * math/w_asinl.c: Likewise.
45921 * math/w_atanh.c: Likewise.
45922 * math/w_atanhf.c: Likewise.
45923 * math/w_atanhl.c: Likewise.
45924 * math/w_exp2.c: Likewise.
45925 * math/w_exp2f.c: Likewise.
45926 * math/w_exp2l.c: Likewise.
45927 * math/w_j0.c: Likewise.
45928 * math/w_j0f.c: Likewise.
45929 * math/w_j0l.c: Likewise.
45930 * math/w_j1.c: Likewise.
45931 * math/w_j1f.c: Likewise.
45932 * math/w_j1l.c: Likewise.
45933 * math/w_jn.c: Likewise.
45934 * math/w_jnf.c: Likewise.
45935 * math/w_log.c: Likewise.
45936 * math/w_log10.c: Likewise.
45937 * math/w_log10f.c: Likewise.
45938 * math/w_log10l.c: Likewise.
45939 * math/w_log2.c: Likewise.
45940 * math/w_log2f.c: Likewise.
45941 * math/w_log2l.c: Likewise.
45942 * math/w_logf.c: Likewise.
45943 * math/w_logl.c: Likewise.
45944 * math/w_sqrt.c: Likewise.
45945 * math/w_sqrtf.c: Likewise.
45946 * math/w_sqrtl.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45949 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45950 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45951 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45952
459532012-02-19 Joseph Myers <joseph@codesourcery.com>
45954
45955 [BZ #9739]
45956 * manual/string.texi (strnlen): Use correct parameter name in
45957 equivalent expression.
45958
459592012-02-19 Joseph Myers <joseph@codesourcery.com>
45960
45961 [BZ #11174]
45962 * manual/users.texi (seteuid): Consistently use neweuid for
45963 argument name.
45964
459652012-02-19 Joseph Myers <joseph@codesourcery.com>
45966
45967 [BZ #13704]
45968 * manual/nss.texi (Services in the NSS configuration): Correct
45969 list of services in example configuration file.
45970
459712012-02-19 Nick Bowler <nbowler@draconx.ca>
45972
45973 [BZ #11322]
45974 * manual/arith.texi: Remove statements about negative zero
45975 behaving identically to zero.
45976
459772012-02-18 Joseph Myers <joseph@codesourcery.com>
45978
45979 [BZ #5993]
45980 * manual/install.texi: Do not document upgrading from libc5.
45981
459822012-02-18 Joseph Myers <joseph@codesourcery.com>
45983
45984 [BZ #4596]
45985 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45986
459872012-02-18 David S. Miller <davem@davemloft.net>
45988
45989 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45990 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45991 %o7 across the call.
45992 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45993 instead.
45994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45995 SETUP_PIC_REG_LEAF.
45996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45997 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45998 * sysdeps/sparc/crtn.S: Likewise.
45999
460002012-02-17 Ulrich Drepper <drepper@gmail.com>
46001
46002 * aout/Makefile: Remove.
46003
460042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46005
46006 [BZ #13058]
46007 * manual/examples/argp-ex1.c (main): Format definition in GNU
46008 style.
46009 * manual/examples/argp-ex2.c (main): Likewise.
46010 * manual/examples/argp-ex3.c (main): Likewise.
46011 * manual/examples/argp-ex4.c (main): Likewise.
46012 * manual/examples/longopt.c (main): Use new-style prototype
46013 definition.
46014 * manual/examples/strncat.c (main): Specify return type and use
46015 (void) for arguments.
46016 * manual/examples/subopt.c (main): Use char **argv argument.
46017
460182012-02-17 Joseph Myers <joseph@codesourcery.com>
46019
46020 [BZ #5077]
46021 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46022 rounding modes.
46023
460242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46025
46026 [BZ #6907]
46027 * manual/string.texi (strchr): Change when strchrnul is
46028 recommended.
46029
460302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46031
46032 [BZ #174]
46033 * manual/locale.texi (setlocale): Document LOCPATH.
46034
460352012-02-17 Joseph Myers <joseph@codesourcery.com>
46036
46037 [BZ #10210]
46038 * manual/process.texi (execle): Move @dots{} before last argument.
46039
460402012-02-17 Paul Bolle <pebolle@tiscali.nl>
46041
46042 [BZ #12047]
46043 * manual/charset.texi (Generic Charset Conversion): Fix typo
46044 (LC_TYPE -> LC_CTYPE).
46045
460462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46047
46048 [BZ #5805]
46049 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46050 (scalbnf): Likewise.
46051 (scalbnl): Likewise.
46052 (scalbln): Likewise.
46053 (scalblnf): Likewise.
46054 (scalblnl): Likewise.
46055 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46056 (vwarnx): Likewise.
46057 (verr): Likewise.
46058 (verrx): Likewise.
46059 * manual/filesys.texi (telldir): Use braces around return type.
46060 * manual/llio.texi (mmap): Add space after comma.
46061 (mmap64): Likewise.
46062 * manual/math.texi (jn): Use @var{} on parameter names.
46063 (jnf): Likewise.
46064 (jnl): Likewise.
46065 (yn): Likewise.
46066 (ynf): Likewise.
46067 (ynl): Likewise.
46068 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46069 line.
46070 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46071 "...".
46072 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46073 (sched_get_priority_max): Likewise.
46074 * manual/signal.texi (sigvec): Add space after comma.
46075 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46076 names.
46077 (if_indextoname): Likewise.
46078 (if_freenameindex): Likewise.
46079 (sendto): Use ',' instead of '.' in prototype.
46080 * manual/startup.texi (syscall): Use @dots{} instead of literal
46081 "...".
46082 * manual/stdio.texi (__fpending): Separate initial words of
46083 paragraph from @deftypefun line.
46084 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46085 "...".
46086 (vsyslog): Use @var{} on parameter names.
46087 * manual/terminal.texi (stty): Use @var{} on parameter names.
46088 * manual/users.texi (getutmp): Use @var{} on parameter names.
46089 (getutmpx): Likewise.
46090
460912012-02-17 Joseph Myers <joseph@codesourcery.com>
46092
46093 [BZ #6884]
46094 * manual/stdio.texi (fopen): Fix typos in description of
46095 ",ccs=STRING".
46096
460972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46098
46099 [BZ #4026]
46100 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46101 get clock_id definition.
46102
461032012-02-17 Thomas Schwinge <thomas@schwinge.name>
46104
46105 [BZ #4822]
46106 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46107 (madvise): Cast every argument to void on its own.
46108
461092012-02-17 Joseph Myers <joseph@codesourcery.com>
46110
46111 [BZ #9902]
46112 * manual/startup.texi (Exit Status): Fix typo.
46113
461142012-02-17 Joseph Myers <joseph@codesourcery.com>
46115
46116 [BZ #10140]
46117 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46118 * manual/examples/argp-ex2.c: Likewise.
46119 * manual/examples/argp-ex3.c: Likewise.
46120
461212012-02-16 Richard Henderson <rth@redhat.com>
46122
46123 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46124 * sysdeps/s390/s390-32/initfini.c: Remove.
46125 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46126 * sysdeps/s390/s390-64/initfini.c: Remove.
46127
461282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46129
46130 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46131 compiler output for sysdeps/generic/initfini.c.
46132 * sysdeps/sh/elf/initfini.c: Remove file.
46133
461342012-02-16 David S. Miller <davem@davemloft.net>
46135
46136 [BZ #11494]
46137 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46138
46139 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46140 * sysdeps/sparc/crti.S: New file.
46141 * sysdeps/sparc/crtn.S: New file.
46142 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46143 * sysdeps/sparc/sparc64/Makefile: Likewise.
46144
461452012-02-15 Mike Frysinger <vapier@gentoo.org>
46146
46147 [BZ #3335]
46148 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46149
461502012-02-15 Roland McGrath <roland@hack.frob.com>
46151
46152 [BZ #4822]
46153 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46154
46155 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46156 (write, read, close): Likewise.
46157 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46158
461592012-02-15 Joseph Myers <joseph@codesourcery.com>
46160
46161 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46162 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46163 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46164 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46165 <bits/signalfd.h>.
46166 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46167 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46168 bits/signalfd.h.
46169
461702012-02-14 Marek Polacek <polacek@redhat.com>
46171
46172 * sysdeps/x86_64/crti.S: New file.
46173 * sysdeps/x86_64/crtn.S: New file.
46174 * sysdeps/x86_64/elf/initfini.c: Remove file.
46175
461762012-02-13 Joseph Myers <joseph@codesourcery.com>
46177
46178 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46179 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46180 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46181 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46182 <bits/inotify.h>.
46183 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46185 bits/inotify.h.
46186
461872012-02-13 Joseph Myers <joseph@codesourcery.com>
46188
46189 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46190 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46191 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46192 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46193 <bits/eventfd.h>.
46194 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46196 bits/eventfd.h.
46197
461982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46199
46200 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46201 __feraiseexcept instead of feraiseexcept.
46202
46203 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46204 nanosleep invocations.
46205 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46206 strings, and add error checking for a nanosleep invocations.
46207
462082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46209
46210 Replace FSF snail mail address with URLs, as per GNU coding standards.
46211 Most of the snail mail addresses were wrong anyway, and omitting
46212 them makes the source code easier to maintain. Almost all of the
46213 changes are to license notices and to locale LC_IDENTIFICATION
46214 addresses, except for this one:
46215 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46216 not its snail mail address.
46217
462182012-02-09 Richard Henderson <rth@twiddle.net>
46219
46220 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46221 of kernel-features.h.
46222
46223 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46224
462252012-02-08 Marek Polacek <polacek@redhat.com>
46226
46227 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46228 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46229 * sysdeps/gnu/_G_config.h: Likewise.
46230 * sysdeps/generic/_G_config.h: Likewise.
46231
462322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46233
46234 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46235 tests.
46236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46237
46238 * sysdeps/powerpc/powerpc32/crti.S: New file.
46239 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46240 * sysdeps/powerpc/powerpc64/crti.S: New file.
46241 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46242
46243 * Makeconfig (have-initfini): Don't set.
46244 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46245 * configure.in (nopic_initfini): Don't substitute.
46246 * config.h.in (HAVE_INITFINI): Don't #undef.
46247 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46248 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46249
462502012-02-08 Joseph Myers <joseph@codesourcery.com>
46251
46252 Support crti.S and crtn.S provided directly by architectures.
46253 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46254 [crti.S in sysdirs] (omit-deps): Likewise.
46255 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46256 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46257 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46258 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46259 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46260 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46261 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46262 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46263 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46264 compiler output for sysdeps/generic/initfini.c.
46265 * sysdeps/i386/elf/Makefile: Remove file.
46266 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46267
462682012-02-07 Marek Polacek <polacek@redhat.com>
46269
46270 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46271 * sysdeps/gnu/_G_config.h: Likewise.
46272 * sysdeps/mach/hurd/_G_config.h: Likewise.
46273
462742012-02-07 Marek Polacek <polacek@redhat.com>
46275
46276 * math/Makefile (tests): Add tst-CMPLX2.
46277 * math/tst-CMPLX2.c: New file.
46278
462792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46280
46281 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46282
46283 * math/libm-test.inc (jn_test): Add missing L suffix.
46284
462852012-02-06 Marek Polacek <polacek@redhat.com>
46286
46287 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46288 * sysdeps/i386/fpu/e_powf.S: Likewise.
46289 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46290 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46291 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46292 * sysdeps/i386/fpu/e_pow.S: Likewise.
46293 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46294 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46295 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46296 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46297 * sysdeps/i386/fpu/e_log2.S: Likewise.
46298 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46299 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46300 * sysdeps/i386/fpu/e_powl.S: Likewise.
46301 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46302 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46303 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46304 * sysdeps/i386/fpu/e_logl.S: Likewise.
46305 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46306 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46307 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46308 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46309 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46310 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46311 * sysdeps/i386/fpu/e_log.S: Likewise.
46312 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46313 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46314 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46315 * sysdeps/i386/fpu/e_logf.S: Likewise.
46316 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46317 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46318 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46319 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46320 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46321 * sysdeps/i386/fpu/e_log10.S: Likewise.
46322 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46323 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46324 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46325 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46326 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46327 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46328 * sysdeps/i386/asm-syntax.h: Likewise.
46329 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46330 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46331 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46332 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46333 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46334 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46335 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46336 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46337 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46338 * sysdeps/powerpc/sysdep.h: Likewise.
46339 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46340 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46341
463422012-02-06 Joseph Myers <joseph@codesourcery.com>
46343
46344 [BZ #411]
46345 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46346
463472012-02-06 Joseph Myers <joseph@codesourcery.com>
46348
46349 * sysdeps/i386/sysdep.h: Include <features.h>.
46350 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46351 version.
46352
463532012-02-05 Joseph Myers <joseph@codesourcery.com>
46354
46355 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46356 Define.
46357 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46358 LOAD_PIC_REG_STR.
46359
463602012-02-03 Joseph Myers <joseph@codesourcery.com>
46361
46362 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46363 (SETUP_PIC_REG): Use GET_PC_THUNK.
46364 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46365 macro.
46366
463672012-02-03 Joseph Myers <joseph@codesourcery.com>
46368
46369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46370 for non-PIC compilation.
46371 (SETUP_PIC_REG): Add .p2align directive.
46372 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46373 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46374 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46375 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46376 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46377 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46378 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46380 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46381 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46382 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46383 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46384 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46385 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46386 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46387 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46388 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46389 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46390 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46391 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46392 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46393 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46394 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46395 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46398 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46399 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46400 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46401 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46402 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46404 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46405 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46406 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46407 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46408 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46409 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46410 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46411 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46412 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46413
464142012-02-03 Joseph Myers <joseph@codesourcery.com>
46415
46416 * math/tst-CMPLX.c: Include <stdio.h>.
46417
464182012-01-31 Joseph Myers <joseph@codesourcery.com>
46419
46420 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46421 float.
46422 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46423 * sysdeps/sparc/bits/mathdef.h: Likewise.
46424
464252012-01-31 Marek Polacek <polacek@redhat.com>
46426
46427 * libio/libio.h: Don't define _PARAMS.
46428 * locale/programs/config.h: Don't define PARAMS.
46429 * stdlib/strtol_l.c: Likewise.
46430 (__strtol_l): Remove PARAMS from the prototype.
46431
464322012-01-31 Ulrich Drepper <drepper@gmail.com>
46433
46434 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46435 names. Just use the correct names. Remove unnecessary wrapper
46436 functions.
46437 * malloc/arena.c: Likewise.
46438 * malloc/hooks.c: Likewise.
46439
46440 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46441 ARENA_TEST says not to. Simplify test for creation of a new arena.
46442 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46443
464442012-01-30 Ulrich Drepper <drepper@gmail.com>
46445
46446 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46447 into tail calls.
46448 (update_get_addr): New function.
46449 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46450 GET_ADDR_MODULE parameter.
46451
464522012-01-30 Joseph Myers <joseph@codesourcery.com>
46453
46454 * crypt/cert.c: Remove __STDC__ conditionals.
46455 * crypt/crypt-entry.c: Likewise.
46456 * crypt/crypt_util.c: Likewise.
46457 * libio/filedoalloc.c: Likewise.
46458 * libio/fileops.c: Likewise.
46459 * libio/genops.c: Likewise.
46460 * libio/iofclose.c: Likewise.
46461 * libio/iofdopen.c: Likewise.
46462 * libio/iofopen.c: Likewise.
46463 * libio/iofopen64.c: Likewise.
46464 * libio/iogetdelim.c: Likewise.
46465 * libio/iopopen.c: Likewise.
46466 * libio/obprintf.c: Likewise.
46467 * libio/oldfileops.c: Likewise.
46468 * libio/oldiofclose.c: Likewise.
46469 * libio/oldiofdopen.c: Likewise.
46470 * libio/oldiofopen.c: Likewise.
46471 * libio/oldiopopen.c: Likewise.
46472 * libio/wfiledoalloc.c: Likewise.
46473 * libio/wgenops.c: Likewise.
46474 * locale/programs/xmalloc.c: Likewise.
46475 * misc/syslog.c: Likewise.
46476 * stdio-common/xbug.c: Likewise.
46477 * string/memchr.c: Likewise.
46478 * string/memcmp.c: Likewise.
46479 * string/memrchr.c: Likewise.
46480 * string/rawmemchr.c: Likewise.
46481 * sysdeps/posix/getcwd.c: Likewise.
46482 * time/strftime_l.c: Likewise.
46483
464842012-01-30 Joseph Myers <joseph@codesourcery.com>
46485
46486 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46487 * config.make.in (config-cflags-sse2avx): Define.
46488 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46489 Fix typo.
46490
464912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46492
46493 * scripts/config.guess: Update from upstream config git repository.
46494 * scripts/config.sub: Likewise.
46495
464962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46497
46498 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46499 (EM_NUM): Update.
46500 (R_TILEPRO_*, R_TILEGX_*): New macros.
46501
46502 * scripts/firstversions.awk: Fix bug in version range handling.
46503
46504 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46505
46506 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46507
46508 * include/sys/epoll.h: New file.
46509 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46510 libc_hidden_def.
46511
465122012-01-28 Ulrich Drepper <drepper@gmail.com>
46513
46514 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46515 Avoid unnecessary __WORDSIZE == 64 test.
46516 (fmaxf): Use VEX format if possible.
46517 (fmax): Likewise.
46518 (fminf): Likewise.
46519 (fmin): Likewise.
46520
46521 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46522 * math/math_private.h: Remove libc_fegetround* and
46523 libc_fesetround*.
46524 * sysdeps/i386/configure.in: Check for -msse2avx.
46525 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46526 also if SSE2AVX is defined.
46527 Remove libc_fegetround* and libc_fesetround*.
46528 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46529 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46530 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46531 of HAS_YMM_USABLE.
46532 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46533 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46534 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46535 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46536 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46537
46538 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46539
465402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46541
46542 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46543 size is not set.
46544 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46545
465462012-01-27 Ulrich Drepper <drepper@gmail.com>
46547
46548 [BZ #13618]
46549 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46550 relocation.
46551 * Makeconfig (libm): Define.
46552 * elf/Makefile: Add rules to build and run tst-relsort1.
46553 * elf/tst-relsort1.c: New file.
46554 * elf/tst-relsort1mod1.c: New file.
46555 * elf/tst-relsort1mod2.c: New file.
46556
465572012-01-27 Joseph Myers <joseph@codesourcery.com>
46558
46559 * math/s_ldexp.c: Remove __STDC__ conditionals.
46560 * math/s_ldexpf.c: Likewise.
46561 * math/s_ldexpl.c: Likewise.
46562 * math/s_nextafter.c: Likewise.
46563 * math/s_nexttowardf.c: Likewise.
46564 * math/s_significand.c: Likewise.
46565 * math/s_significandf.c: Likewise.
46566 * math/s_significandl.c: Likewise.
46567 * math/w_jnl.c: Likewise.
46568 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46569 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46570 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46571 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46572 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46573 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46574 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46577 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46578 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46579 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46580 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46581 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46582 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46583 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46584 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46585 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46587 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46588 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46589 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46590 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46592 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46593 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46594 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46595 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46596 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46597 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46598 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46599 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46600 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46601 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46602 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46603 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46604 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46605 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46606 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46607 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46608 * sysdeps/ieee754/k_standard.c: Likewise.
46609 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46613 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46617 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46618 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46625 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46626 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46628 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46629 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46630 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46631 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46632 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46633 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46634 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46638 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46639 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46640 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46641 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46642 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46643 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46644 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46645 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46648 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46650 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46653 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46654 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46655 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46657 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46658 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46659 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46660 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46661 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46662 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46663 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46664 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46665 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46666 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46669 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46670 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46671 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46673 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46674 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46675 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46676 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46677 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46679 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46680 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46681 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46682 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46683 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46684 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46685 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46686 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46687 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46688 * sysdeps/ieee754/s_matherr.c: Likewise.
46689 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46690 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46691 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46692 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46693
466942012-01-26 Joseph Myers <joseph@codesourcery.com>
46695
46696 * crypt/md5.h: Remove __STDC__ conditionals.
46697 * libio/libioP.h: Likewise.
46698 * locale/programs/config.h: Likewise.
46699 * sysdeps/generic/sysdep.h: Likewise.
46700 * sysdeps/i386/asm-syntax.h: Likewise.
46701 * sysdeps/s390/asm-syntax.h: Likewise.
46702 * sysdeps/unix/sysdep.h: Likewise.
46703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46705
467062012-01-26 Joseph Myers <joseph@codesourcery.com>
46707
46708 * libio/libio.h: Remove __STDC__ conditionals.
46709 * malloc/obstack.h: Likewise.
46710 * math/complex.h: Likewise.
46711 * math/math.h: Likewise.
46712 * sysdeps/generic/_G_config.h: Likewise.
46713 * sysdeps/gnu/_G_config.h: Likewise.
46714 * sysdeps/mach/hurd/_G_config.h: Likewise.
46715 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46716 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46717 * sysdeps/sparc/bits/mathdef.h: Likewise.
46718
467192012-01-26 Ulrich Drepper <drepper@gmail.com>
46720
46721 [BZ #13583]
46722 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46723 Clean up HAS_* macros.
46724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46725 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46726 possible.
46727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46728 HAS_AVX.
46729 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46730 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46732 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46734
467352012-01-25 Joseph Myers <joseph@codesourcery.com>
46736
46737 * elf/tst-unique3.cc (gets): Remove declaration.
46738 * elf/tst-unique3lib.cc (gets): Likewise.
46739 * elf/tst-unique3lib2.cc (gets): Likewise.
46740 * elf/tst-unique4.cc (gets): Likewise.
46741
467422012-01-24 Ulrich Drepper <drepper@gmail.com>
46743
46744 * include/stdio.h: Add C++ protection. Add gets declarations and
46745 definitions.
46746 * debug/tst-chk1.c: Don't declare gets here.
46747 * stdio-common/tst-gets.c: Likewise.
46748
467492012-01-24 Joseph Myers <joseph@codesourcery.com>
46750
46751 * posix/glob: Remove directory.
46752
467532012-01-24 Joseph Myers <joseph@codesourcery.com>
46754
46755 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46756
467572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46758
46759 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46760 of the non-standard EPFNOSUPPORT.
46761
467622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46763
46764 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46765 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46766 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46767
467682012-01-21 Ulrich Drepper <drepper@gmail.com>
46769
46770 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46771
467722012-01-20 Ulrich Drepper <drepper@gmail.com>
46773
46774 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46775 transient errors.
46776 * nscd/grpcache.c (cache_addgr): Likewise.
46777 * nscd/hstcache.c (cache_addhst): Likewise.
46778 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46779 * nscd/pwdcache.c (cache_addpw): Likewise.
46780 * nscd/servicescache.c (cache_addserv): Likewise.
46781
467822012-01-16 Ulrich Drepper <drepper@gmail.com>
46783
46784 * malloc/malloc.c: Various cleanups.
46785 * malloc/hooks.c: Likewise.
46786
46787 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46788 * stdlib/bug-fmtmsg1.c: New file.
46789
46790 * stdlib/fmtmsg.c (init): Add missing unlock.
46791 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46792
467932012-01-12 Marek Polacek <polacek@redhat.com>
46794
46795 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46796 and _GNU_SOURCE.
46797
467982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46799
46800 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46801 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46802 macro to ensure uniqueness of label name.
46803 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46804 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46805
468062012-01-11 Ulrich Drepper <drepper@gmail.com>
46807
46808 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46809
46810 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46811 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46812 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46814
468152012-01-10 Ulrich Drepper <drepper@gmail.com>
46816
46817 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46818
46819 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46820 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46821 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46822
46823 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46824
46825 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46826 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46827 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46829
46830 * math/bits/math-finite.h: Add ldexp support.
46831
468322012-01-10 Marek Polacek <polacek@redhat.com>
46833
46834 * locale/programs/localedef.h (show_archive_content): Add noreturn
46835 attribute.
46836
468372012-01-09 Ulrich Drepper <drepper@gmail.com>
46838
46839 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46840
468412012-01-08 Ulrich Drepper <drepper@gmail.com>
46842
46843 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46844
46845 * io/Makefile (headers): Add bits/poll2.h.
46846
468472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46848
46849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46850 typo #include statement.
46851
468522012-01-08 Ulrich Drepper <drepper@gmail.com>
46853
46854 * include/sys/cdefs.h: Define __attribute_alloc_size.
46855 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46856 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46857 * elf/pldd.c: Likewise.
46858 * iconv/iconv_charmap.c: Likewise.
46859 * iconv/iconvconfig.c: Likewise.
46860 * iconv/strtab.c: Likewise.
46861 * locale/programs/locale.c: Likewise.
46862 * locale/programs/localedef.h: Likewise.
46863 * locale/programs/simple-hash.c: Likewise.
46864 * nscd/nscd.h: Likewise.
46865 * nss/makedb.c: Likewise.
46866 * sysdeps/generic/ldconfig.h: Likewise.
46867 * locale/programs/localedef.c: Remove xmalloc prototype.
46868 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46869
468702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46871
46872 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46873 appropriate.
46874
468752012-01-08 Ulrich Drepper <drepper@gmail.com>
46876
46877 * math/Makefile (tests): Add tst-CMPLX.
46878 * math/tst-CMPLX.c: New file.
46879
46880 * math/complex.h (CMPLXL): Fix typo.
46881
46882 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46883 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46884 GLIBC_2.16.
46885 * debug/tst-chk1.c: Add poll and ppoll tests.
46886 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46887 * include/sys/poll.h: Add hidden proto for ppoll.
46888 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46889 * sysdeps/mach/hurd/ppoll.c: Likewise.
46890 * io/ppoll.c: Likewise.
46891 * debug/poll_chk.c: New file.
46892 * debug/ppoll_chk.c: New file.
46893 * include/bits/poll2.h: New file.
46894 * io/bits/poll2.h: New file.
46895
46896 [BZ #1350]
46897 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46898
46899 * configure.in: static is always set to yes. Remove.
46900 * config.make.in: Don't set build-static.
46901 * Makeconfig: Remove use of build-static.
46902 * dlfcn/Makefile: Likewise.
46903 * elf/Makefile: Likewise.
46904 * math/Makefile: Likewise.
46905 * misc/Makefile: Likewise.
46906 * nptl/Makefile: Likewise.
46907 * sysdeps/mach/hurd/Makefile: Likewise.
46908
46909 * configure.in: PWD_P is not used anymore.
46910 * config.make.in: Remove PWD_P entry.
46911
46912 * configure.in: Remove last remnants of RANLIB.
46913 No need to check for signed size_t anymore.
46914 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46915 and IA-64.
46916 Remove __builtin_expect test because we require at least gcc 3.4.
46917 * aclocal.m4: Likewise.
46918
46919 * wcsmbs/mbrtoc16.c: Implement using towc function.
46920 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46921 * wcsmbs/wcsmbsload.c: Likewise.
46922 * iconv/gconv_simple.c: Likewise.
46923 * iconv/gconv_int.h: Likewise.
46924 * iconv/gconv_builtin.h: Likewise.
46925 * iconv/iconv_prog.c: Remove CHAR16 handling.
46926
46927 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46928
46929 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46930
46931 * configure.in: Remove --with-elf and --enable-bounded options.
46932 Dont set base_machine for ia64. More non-ELF conditions removed.
46933 Remove testing and setting of leading underscore information.
46934 * config.make.in (build-bounded): Set to no.
46935 * config.h.in: Remove NO_UNDERSCORES entry.
46936 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46937 them.
46938 * csu/start.c: Remove !NO_UNDERSCORE code.
46939 * locale/localeinfo.h: Likewise.
46940 * sysdeps/generic/machine-gmon.h: Likewise.
46941 * sysdeps/generic/sysdep.h: Likewise.
46942 * sysdeps/i386/sysdep.h: Likewise.
46943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46944 * sysdeps/mach/sysdep.h: Likewise.
46945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46947 * sysdeps/sh/sysdep.h: Likewise.
46948 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46949 * sysdeps/unix/i386/sysdep.S: Likewise.
46950 * sysdeps/unix/sparc/start.c: Likewise.
46951 * sysdeps/unix/sparc/sysdep.S: Likewise.
46952 * sysdeps/unix/sparc/sysdep.h: Likewise.
46953 * sysdeps/unix/start.c: Likewise.
46954 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46955 * sysdeps/x86_64/sysdep.h: Likewise.
46956
469572012-01-07 Ulrich Drepper <drepper@gmail.com>
46958
46959 [BZ #13553]
46960 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46961 for non-gcc.
46962 * argp/argp-fmtstream.h: Use const instead __const.
46963 * argp/argp.h: Likewise.
46964 * assert/assert.h: Likewise.
46965 * bits/fenv.h: Likewise.
46966 * bits/sched.h: Likewise.
46967 * bits/sigset.h: Likewise.
46968 * bits/sigthread.h: Likewise.
46969 * catgets/nl_types.h: Likewise.
46970 * conform/data/pthread.h-data: Likewise.
46971 * crypt/crypt-private.h: Likewise.
46972 * crypt/crypt.h: Likewise.
46973 * crypt/crypt_util.c: Likewise.
46974 * ctype/ctype.h: Likewise.
46975 * debug/execinfo.h: Likewise.
46976 * debug/mbsnrtowcs_chk.c: Likewise.
46977 * debug/mbsrtowcs_chk.c: Likewise.
46978 * debug/wcsnrtombs_chk.c: Likewise.
46979 * debug/wcsrtombs_chk.c: Likewise.
46980 * debug/wcstombs_chk.c: Likewise.
46981 * dirent/dirent.h: Likewise.
46982 * dlfcn/dlfcn.h: Likewise.
46983 * elf/neededtest4.c: Likewise.
46984 * grp/grp.h: Likewise.
46985 * gshadow/gshadow.h: Likewise.
46986 * iconv/gconv.h: Likewise.
46987 * iconv/gconv_int.h: Likewise.
46988 * iconv/gconv_simple.c: Likewise.
46989 * iconv/iconv.h: Likewise.
46990 * iconv/loop.c: Likewise.
46991 * iconv/skeleton.c: Likewise.
46992 * include/aio.h: Likewise.
46993 * include/aliases.h: Likewise.
46994 * include/argz.h: Likewise.
46995 * include/arpa/inet.h: Likewise.
46996 * include/assert.h: Likewise.
46997 * include/dirent.h: Likewise.
46998 * include/dlfcn.h: Likewise.
46999 * include/execinfo.h: Likewise.
47000 * include/fcntl.h: Likewise.
47001 * include/fenv.h: Likewise.
47002 * include/glob.h: Likewise.
47003 * include/grp.h: Likewise.
47004 * include/libintl.h: Likewise.
47005 * include/mntent.h: Likewise.
47006 * include/netdb.h: Likewise.
47007 * include/pwd.h: Likewise.
47008 * include/rpc/netdb.h: Likewise.
47009 * include/sched.h: Likewise.
47010 * include/search.h: Likewise.
47011 * include/shadow.h: Likewise.
47012 * include/signal.h: Likewise.
47013 * include/stdio.h: Likewise.
47014 * include/stdlib.h: Likewise.
47015 * include/string.h: Likewise.
47016 * include/sys/socket.h: Likewise.
47017 * include/sys/stat.h: Likewise.
47018 * include/sys/statfs.h: Likewise.
47019 * include/sys/statvfs.h: Likewise.
47020 * include/sys/syslog.h: Likewise.
47021 * include/sys/time.h: Likewise.
47022 * include/sys/uio.h: Likewise.
47023 * include/time.h: Likewise.
47024 * include/unistd.h: Likewise.
47025 * include/utmp.h: Likewise.
47026 * include/wchar.h: Likewise.
47027 * include/wctype.h: Likewise.
47028 * inet/aliases.h: Likewise.
47029 * inet/arpa/inet.h: Likewise.
47030 * inet/netinet/ether.h: Likewise.
47031 * inet/netinet/in.h: Likewise.
47032 * intl/libintl.h: Likewise.
47033 * io/bits/fcntl2.h: Likewise.
47034 * io/fcntl.h: Likewise.
47035 * io/ftw.h: Likewise.
47036 * io/sys/poll.h: Likewise.
47037 * io/sys/stat.h: Likewise.
47038 * io/sys/statfs.h: Likewise.
47039 * io/sys/statvfs.h: Likewise.
47040 * io/utime.h: Likewise.
47041 * libio/bits/stdio.h: Likewise.
47042 * libio/bits/stdio2.h: Likewise.
47043 * libio/libio.h: Likewise.
47044 * libio/libioP.h: Likewise.
47045 * libio/stdio.h: Likewise.
47046 * locale/lc-ctype.c: Likewise.
47047 * locale/locale.h: Likewise.
47048 * login/utmp.h: Likewise.
47049 * malloc/arena.c: Likewise.
47050 * malloc/malloc.c: Likewise.
47051 * malloc/malloc.h: Likewise.
47052 * malloc/mcheck.c: Likewise.
47053 * malloc/mtrace.c: Likewise.
47054 * math/bits/mathcalls.h: Likewise.
47055 * math/fenv.h: Likewise.
47056 * math/math_private.h: Likewise.
47057 * misc/bits/error.h: Likewise.
47058 * misc/bits/syslog.h: Likewise.
47059 * misc/err.h: Likewise.
47060 * misc/error.h: Likewise.
47061 * misc/fstab.h: Likewise.
47062 * misc/mntent.h: Likewise.
47063 * misc/regexp.h: Likewise.
47064 * misc/search.h: Likewise.
47065 * misc/sgtty.h: Likewise.
47066 * misc/sys/mman.h: Likewise.
47067 * misc/sys/syslog.h: Likewise.
47068 * misc/sys/uio.h: Likewise.
47069 * misc/sys/xattr.h: Likewise.
47070 * misc/ttyent.h: Likewise.
47071 * nis/rpcsvc/ypclnt.h: Likewise.
47072 * nss/nss.h: Likewise.
47073 * posix/bits/unistd.h: Likewise.
47074 * posix/fnmatch.h: Likewise.
47075 * posix/glob.h: Likewise.
47076 * posix/sched.h: Likewise.
47077 * posix/spawn.h: Likewise.
47078 * posix/sys/wait.h: Likewise.
47079 * posix/unistd.h: Likewise.
47080 * posix/wordexp.h: Likewise.
47081 * pwd/pwd.h: Likewise.
47082 * resolv/netdb.h: Likewise.
47083 * resource/sys/resource.h: Likewise.
47084 * rt/aio.h: Likewise.
47085 * rt/bits/mqueue2.h: Likewise.
47086 * rt/mqueue.h: Likewise.
47087 * shadow/shadow.h: Likewise.
47088 * signal/signal.h: Likewise.
47089 * socket/send.c: Likewise.
47090 * socket/sendto.c: Likewise.
47091 * socket/sys/socket.h: Likewise.
47092 * stdio-common/printf.h: Likewise.
47093 * stdlib/bits/stdlib.h: Likewise.
47094 * stdlib/fmtmsg.h: Likewise.
47095 * stdlib/monetary.h: Likewise.
47096 * stdlib/stdlib.h: Likewise.
47097 * stdlib/ucontext.h: Likewise.
47098 * streams/stropts.h: Likewise.
47099 * string/argz.h: Likewise.
47100 * string/bits/string2.h: Likewise.
47101 * string/string.h: Likewise.
47102 * string/strings.h: Likewise.
47103 * sunrpc/rpc/auth.h: Likewise.
47104 * sunrpc/rpc/auth_des.h: Likewise.
47105 * sunrpc/rpc/clnt.h: Likewise.
47106 * sunrpc/rpc/netdb.h: Likewise.
47107 * sunrpc/rpc/pmap_clnt.h: Likewise.
47108 * sunrpc/rpc/xdr.h: Likewise.
47109 * sysdeps/generic/inttypes.h: Likewise.
47110 * sysdeps/generic/net/if.h: Likewise.
47111 * sysdeps/generic/sys/swap.h: Likewise.
47112 * sysdeps/gnu/net/if.h: Likewise.
47113 * sysdeps/gnu/utmpx.h: Likewise.
47114 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47115 * sysdeps/i386/i486/bits/string.h: Likewise.
47116 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47117 * sysdeps/s390/bits/string.h: Likewise.
47118 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47119 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47120 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47121 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47122 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47123 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47124 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47125 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47126 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47127 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47128 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47129 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47130 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47131 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47132 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47133 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47134 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47136 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47138 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47139 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47140 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47141 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47142 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47143 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47144 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47145 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47146 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47147 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47148 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47149 * sysvipc/sys/ipc.h: Likewise.
47150 * sysvipc/sys/msg.h: Likewise.
47151 * sysvipc/sys/sem.h: Likewise.
47152 * sysvipc/sys/shm.h: Likewise.
47153 * termios/termios.h: Likewise.
47154 * time/sys/time.h: Likewise.
47155 * time/time.h: Likewise.
47156 * wcsmbs/bits/wchar2.h: Likewise.
47157 * wcsmbs/uchar.h: Likewise.
47158 * wcsmbs/wchar.h: Likewise.
47159 * wctype/wctype.h: Likewise.
47160
47161 [BZ #13551]
47162 * Makeconfig: Remove all but ELF support including AIX support.
47163 * Makerules: Likewise.
47164 * config.h.in: Likewise.
47165 * config.make.in: Likewise.
47166 * configure: Likewise.
47167 * configure.in: Likewise.
47168 * csu/Makefile: Likewise.
47169 * csu/version.c: Likewise.
47170 * debug/Makefile: Likewise.
47171 * dlfcn/Makefile: Likewise.
47172 * elf/Makefile: Likewise.
47173 * extra-lib.mk: Likewise.
47174 * iconv/Makefile: Likewise.
47175 * include/libc-symbols.h: Likewise.
47176 * include/shlib-compat.h: Likewise.
47177 * resolv/Makefile: Likewise.
47178 * resolv/res_libc.c: Likewise.
47179 * rt/Makefile: Likewise.
47180 * sysdeps/i386/asm-syntax.h: Likewise.
47181 * sysdeps/i386/sysdep.h: Likewise.
47182 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47183 * sysdeps/mach/sysdep.h: Likewise.
47184 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47185 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47186 * sysdeps/s390/asm-syntax.h: Likewise.
47187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47189 * sysdeps/sh/sysdep.h: Likewise.
47190 * sysdeps/unix/sparc/sysdep.h: Likewise.
47191 * sysdeps/wordsize-32/divdi3.c: Likewise.
47192 * sysdeps/x86_64/sysdep.h: Likewise.
47193
47194 * argp/Versions: Remove _argp_unlock_xxx.
47195
47196 [BZ #13559]
47197 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47198 * abilist/libBrokenLocale.abilist: Likewise.
47199 * abilist/libanl.abilist: Likewise.
47200 * abilist/libc.abilist: Likewise.
47201 * abilist/libcrypt.abilist: Likewise.
47202 * abilist/libdl.abilist: Likewise.
47203 * abilist/libm.abilist: Likewise.
47204 * abilist/libnsl.abilist: Likewise.
47205 * abilist/libpthread.abilist: Likewise.
47206 * abilist/libresolv.abilist: Likewise.
47207 * abilist/librt.abilist: Likewise.
47208 * abilist/libthread_db.abilist: Likewise.
47209 * abilist/libutil.abilist: Likewise.
47210 * abilist/libnss_db.abilist: New file.
47211
47212 * scripts/abilist.awk: Add support for indirect functions.
47213
47214 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47215
47216 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47217
47218 * shlib-versions: Remove entries for ports architectures.
47219
47220 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47221 files in ports.
47222 * elf/stackguard-macros.h: Remove support for IA-64.
47223 * elf/tst-auditmod1.c: Likewise.
47224 * sysdeps/generic/ldsodefs.h: Likewise.
47225
47226 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47227 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47228 configure files.
47229
47230 [BZ #13552]
47231 * configure.in: Remove --enable-omitfp support.
47232 * FAQ.in: Adjust.
47233 * config.make.in: Likewise.
47234 * Makeconfig: Likewise.
47235 * manual/install.texi: Likewise.
47236
47237 In case anyone cares, the IA-64 architecture could move to ports.
47238 * sysdeps/ia64/*: Removed.
47239 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47240 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47241
47242 [BZ #13555]
47243 * configure.in: Remove entries for unsupported architectures.
47244
47245 [BZ #13533]
47246 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47247 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47248 routines.
47249 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47250 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47251 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47252 fall back to using wcrtomb.
47253 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47254 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47255 renaming.
47256 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47257 * wcsmbs/tst-c16c32-1.c: New file.
47258
47259 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47260 local variable.
47261
47262 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47263
47264 * elf/tst-unique3.cc: Add explicit declaration of gets.
47265 * elf/tst-unique3lib.cc: Likewise.
47266 * elf/tst-unique3lib2.cc: Likewise.
47267 * elf/tst-unique4.cc: Likewise.
47268
47269 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47270
472712012-01-06 Joseph Myers <joseph@codesourcery.com>
47272
47273 [BZ #13566]
47274 * assert/assert.h (static_assert): Don't define for C++.
47275 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47276 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47277
472782012-01-03 Ulrich Drepper <drepper@gmail.com>
47279
47280 * iconv/loop.c (single loop): Fix assertion in storing of
47281 remaining bytes.
47282
47283 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47284
472852012-01-01 Ulrich Drepper <drepper@gmail.com>
47286
47287 * posix/getconf.c: Update copyright year.
47288 * nss/getent.c: Likewise.
47289 * nss/makedb.c: Likewise.
47290 * iconv/iconvconfig.c: Likewise.
47291 * iconv/iconv_prog.c: Likewise.
47292 * elf/ldconfig.c: Likewise.
47293 * elf/pldd.c: Likewise.
47294 * elf/sotruss.ksh: Likewise.
47295 * catgets/gencat.c: Likewise.
47296 * csu/version.c: Likewise.
47297 * elf/ldd.bash.in: Likewise.
47298 * elf/sprof.c (print_version): Likewise.
47299 * locale/programs/locale.c: Likewise.
47300 * locale/programs/localedef.c: Likewise.
47301 * login/programs/pt_chown.c: Likewise.
47302 * nscd/nscd.c (print_version): Likewise.
47303 * debug/xtrace.sh: Likewise.
47304 * malloc/memusage.sh: Likewise.
47305 * malloc/mtrace.pl: Likewise.
47306 * debug/catchsegv.sh: Likewise.
47307
473082011-12-30 Jakub Jelinek <jakub@redhat.com>
47309
47310 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47311 pure attribute.
47312
473132011-12-24 Ulrich Drepper <drepper@gmail.com>
47314
47315 [BZ #13533]
47316 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47317 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47318 transformations.
47319 * iconv/gconv_int.h: Likewise.
47320 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47321 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47322 from libc for GLIBC_2.16.
47323 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47324 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47325 * wcsmbs/uchar.h: Really define mbstate_t.
47326 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47327 * wcsmbs/c16rtomb.c: New file.
47328 * wcsmbs/mbrtoc16.c: New file.
47329 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47330 for C/POSIX locale.
47331 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47332 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47333
47334 * wcsmbs/wchar.h: Add missing __restrict.
47335
473362011-12-23 Ulrich Drepper <drepper@gmail.com>
47337
47338 [BZ #13532]
47339 * time/Makefile (routines): Add timespec_get.
47340 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47341 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47342 timespec for ISO C11.
47343 * time/timespec_get.c: New file.
47344 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47345 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47346
47347 [BZ #13531]
47348 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47349 * stdlib/stdlib.h: Declare aligned_alloc.
47350 * Versions.def: Add GLIBC_2.16 for libc.
47351 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47352
47353 [BZ 13527]
47354 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47355 ISO C11.
47356
47357 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47358 code.
47359
47360 [BZ #13528]
47361 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47362
47363 [BZ #13529]
47364 * assert/assert.h (static_assert): Define.
47365
47366 * version.h: Update for 2.16 development version.
47367
47368 [BZ #13526]
47369 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47370 _ISOC11_SOURCE.
47371
47372 * version.h (RELEASE): Bump for 2.15 release.
47373 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47374
47375 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47376 Patch by Marek Polacek <mpolacek@redhat.com>.
47377
47378 * bits/byteswap.h: Protect long long constants with __extension__.
47379 * sysdeps/i386/bits/byteswap.h: Likewise.
47380 * sysdeps/ia64/bits/byteswap.h: Likewise.
47381 * sysdeps/s390/bits/byteswap.h: Likewise.
47382 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47383
473842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47385
47386 [BZ #13540]
47387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47388 destination buffer.
47389 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47390
473912011-12-23 Marek Polacek <polacek@redhat.com>
47392
47393 * elf/dl-addr.c (determine_info): Add inline keyword.
47394 * elf/tst-auditmod4b.c (check_avx): Likewise.
47395 * elf/tst-auditmod6b.c (check_avx): Likewise.
47396 * elf/tst-auditmod6c.c (check_avx): Likewise.
47397 * elf/tst-auditmod7b.c (check_avx): Likewise.
47398
473992011-12-23 Ulrich Drepper <drepper@gmail.com>
47400
47401 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47402 !__SSE_MATH__.
47403
474042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47405
47406 [BZ #13540]
47407 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47408 processing for last bytes.
47409
474102011-08-06 Bruno Haible <bruno@clisp.org>
47411
47412 [BZ #13061]
47413 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47414 U+0385, not to U+1FEE.
47415
47416 [BZ #13062]
47417 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47418 entry for U+00A5 U+0301.
47419
474202011-12-22 Ulrich Drepper <drepper@gmail.com>
47421
47422 [BZ #13166]
47423 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47424 buffer for the output is too small.
47425
47426 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47427 optimization.
47428
47429 [BZ #13185]
47430 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47431 SSE flags if possible.
47432
474332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47434
47435 [BZ #13540]
47436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47437 processing for last bytes.
47438
474392011-12-22 Joseph Myers <joseph@codesourcery.com>
47440
47441 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47442 (syscall-list-default-options, syscall-list-default-condition)
47443 (syscall-list-includes): Define.
47444 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47445 list of ABIs and options and #if conditions for each ABI. Do not
47446 handle common syscalls between ABIs specially.
47447 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47448 Remove.
47449 (syscall-list-variants, syscall-list-32bit-options)
47450 (syscall-list-32bit-condition, syscall-list-64bit-options)
47451 (syscall-list-64bit-condition): Define.
47452 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47453 (syscall-list-variants, syscall-list-32bit-options)
47454 (syscall-list-32bit-condition, syscall-list-64bit-options)
47455 (syscall-list-64bit-condition): Define.
47456 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47457 Remove.
47458 (syscall-list-variants, syscall-list-32bit-options)
47459 (syscall-list-32bit-condition, syscall-list-64bit-options)
47460 (syscall-list-64bit-condition): Define.
47461 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47462 Remove.
47463 (syscall-list-variants, syscall-list-32bit-options)
47464 (syscall-list-32bit-condition, syscall-list-64bit-options)
47465 (syscall-list-64bit-condition): Define.
47466
474672011-12-22 Ulrich Drepper <drepper@gmail.com>
47468
47469 * locale/iso-639.def: Add brx entry.
47470
47471 [BZ #13328]
47472 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47473 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47474
47475 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47476 __feraiseexcept_renamed.
47477
474782011-12-21 Ulrich Drepper <drepper@gmail.com>
47479
47480 [BZ #13538]
47481 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47482 EPOLLET with unsigned values.
47483 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47484 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47485
47486 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47487 to large cancellation.
47488 * math/s_cacoshf.c: Likewise.
47489 * math/s_cacoshl.c: Likewise.
47490
474912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47492
47493 [BZ #13305]
47494 [BZ #12786]
47495 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47496 * math/s_cacoshf.c: Likewise.
47497 * math/s_cacoshl.c: Likewise.
47498
474992011-12-21 Ulrich Drepper <drepper@gmail.com>
47500
47501 [BZ #13439]
47502 * iconv/gconv.h: Define __GCONV_SWAP.
47503 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47504 * iconvdata/utf-16.c: Likewise.
47505 * iconvdata/utf-32.c: Likewise.
47506
475072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47508
47509 [BZ #13524]
47510 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47511 numerator after shifting it by one limb.
47512
475132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47514
47515 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47516 under [__USE_EXTERN_INLINES].
47517
475182011-12-17 Ulrich Drepper <drepper@gmail.com>
47519
47520 [BZ #13446]
47521 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47522
475232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47524
47525 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47526 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47527 optimized code.
47528 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47529 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47530 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47531 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47532 for strncasecmp/strncasecmp_l compilation.
47533 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47534 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47535
475362011-12-08 Marek Polacek <mpolacek@redhat.com>
47537
47538 [BZ #13484]
47539 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47540 of __asm__.
47541
475422011-12-17 Ulrich Drepper <drepper@gmail.com>
47543
47544 [BZ #13506]
47545 * time/tzfile.c (__tzfile_read): Check values from file header.
47546
475472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47548
47549 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47550 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47551 * powerpc/powerpc32/dl-start.S: Likewise.
47552 * powerpc/powerpc32/elf/start.S: Likewise.
47553 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47554 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47555 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47556 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47557 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47558 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47559 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47560 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47561 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47562 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47563 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47564 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47565 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47566 * powerpc/powerpc32/memset.S: Likewise.
47567 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47568 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47569 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47570 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47571 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47572 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47573 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47574 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47575 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47576 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47577 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47578 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47579 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47580
475812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47582
47583 * math/libm-test.inc: Added more nearbyint tests.
47584 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47585 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47587 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47588
475892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47590
47591 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47592 FD_CLOEXEC.
47593
475942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47595
47596 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47597 Add wcscpy-ssse3 wcscpy-c.
47598 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47599 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47600 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47601 * sysdeps/x86_64/wcschr.S: New file.
47602 * sysdeps/x86_64/wcsrchr.S: New file.
47603 * string/test-strcmp.c: Remove checking of wcscmp function for
47604 wrong alignments.
47605 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47606 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47607 wcsrchr-sse2 wcsrchr-c.
47608 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47609 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47610 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47611 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47612 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47613 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47614 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47615 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47616 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47617 * wcsmbc/wcschr.c (WCSCHR): New macro.
47618
476192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47620
47621 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47622 * wcsmbs/test-wcsrchr.c: New file.
47623 * string/test-strrchr.c: Add wcsrchr support.
47624 (WIDE): New macro.
47625 * wcsmbs/test-wcscpy.c: New file.
47626 * string/test-strcpy.c: Add wcscpy support.
47627 (WIDE): New macro.
47628
476292011-12-10 Ulrich Drepper <drepper@gmail.com>
47630
47631 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47632 the inner loop.
47633
476342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47635
47636 [BZ #13472]
47637 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47638
476392011-12-04 Ulrich Drepper <drepper@gmail.com>
47640
47641 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47642 Minor optimizations.
47643
47644 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47645 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47646 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47647
476482011-12-03 Ulrich Drepper <drepper@gmail.com>
47649
47650 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47651 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47652 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47653 for gcc to avoid warnings.
47654 * inet/Makefile (tests): Add tst-checks.
47655 * inet/tst-checks.c: New file.
47656
47657 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47658 warning.
47659
47660 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47661 __wmemcmp_sse2.
47662
47663 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47664 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47665
47666 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47667
476682011-12-02 Ulrich Drepper <drepper@gmail.com>
47669
47670 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47671 problem.
47672
47673 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47674
476752011-11-29 Joseph Myers <joseph@codesourcery.com>
47676
47677 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47678 conditional on GCC version.
47679 (__arch_compare_and_exchange_val_8_acq)
47680 (__arch_compare_and_exchange_val_16_acq)
47681 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47682 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47683 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47684
476852011-12-02 Joseph Myers <joseph@codesourcery.com>
47686
47687 * sysdeps/sh/backtrace.c: New file.
47688
476892011-12-02 Andreas Schwab <schwab@redhat.com>
47690
47691 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47692 parenthesis.
47693
476942011-12-01 Andreas Schwab <schwab@redhat.com>
47695
47696 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47697 falling back to utime.
47698
476992011-11-30 Andreas Schwab <schwab@redhat.com>
47700
47701 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47702 expectations for float.
47703
477042011-11-29 Andreas Schwab <schwab@redhat.com>
47705
47706 * locale/weight.h (findidx): Add parameter len.
47707 * locale/weightwc.h (findidx): Likewise.
47708 * posix/fnmatch_loop.c (FCT): Adjust caller.
47709 * posix/regcomp.c (build_equiv_class): Likewise.
47710 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47711 * posix/regexec.c (check_node_accept_bytes): Likewise.
47712 * string/strcoll_l.c (STRCOLL): Likewise.
47713 * string/strxfrm_l.c (STRXFRM): Likewise.
47714
477152011-11-17 Ulrich Drepper <drepper@gmail.com>
47716
47717 * Makefile.in: Remove CVSOPT handling.
47718 * configure.in: Remove use of AC_REVISION.
47719 * iconvdata/Makefile (distribute): No need to filter out CVS.
47720 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47721 handling.
47722
477232011-11-16 Andreas Schwab <schwab@redhat.com>
47724
47725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47726 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47727 [USE_AS_STRNCASECMP_L]: Likewise.
47728 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47729 NO_TLS_DIRECT_SEG_REFS.
47730 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47731 Fix argument offsets for non-PIC.
47732 [USE_AS_STRNCASECMP_L]: Likewise.
47733 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47734 NO_TLS_DIRECT_SEG_REFS.
47735
477362011-11-15 Ulrich Drepper <drepper@gmail.com>
47737
47738 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47739 O_CLOEXEC.
47740 * locale/loadlocale.c (_nl_load_locale): Likewise.
47741
477422011-11-15 Andreas Schwab <schwab@redhat.com>
47743
47744 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47745 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47747 (SYSCALL_GETTIME): Set errno on error.
47748
47749 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47750 count references to noai6ai_cached.
47751
477522011-11-15 Ulrich Drepper <drepper@gmail.com>
47753
47754 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47755
47756 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47757 FD_CLOEXEC for /proc/self/maps.
47758
47759 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47760 FD_CLOEXEC for /proc/meminfo.
47761
47762 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47763 gai.conf.
47764
47765 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47766 FD_CLOEXEC for given file.
47767
47768 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47769
47770 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47771 FD_CLOEXEC for /etc/hosts.
47772 (_gethtent): Likewise.
47773
47774 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47775
47776 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47777 cancellation and set FD_CLOEXEC for /etc/netgroup.
47778
47779 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47780 reading /etc/publickey.
47781
47782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47783 allow cancellation when reading /etc/group.
47784
47785 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47786 cancellation.
47787 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47788
47789 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47790 when using data file.
47791
47792 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47793
47794 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47795 (write_nis_obj): Use "c" and "e" in fopen.
47796
47797 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47798
47799 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47800
47801 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47802
47803 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47804
47805 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47806 locale.alias.
47807
47808 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47809
47810 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47811
47812 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47813
47814 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47815 file parsing and set FD_CLOEXEC.
47816
478172011-11-14 Ulrich Drepper <drepper@gmail.com>
47818
47819 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47820
478212011-11-14 Andreas Schwab <schwab@redhat.com>
47822
47823 * malloc/arena.c (arena_get2): Don't call reused_arena when
47824 _int_new_arena failed.
47825
478262011-11-14 Ulrich Drepper <drepper@gmail.com>
47827
47828 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47829 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47830 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47831 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47832 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47834 to compile strcasecmp and strncasecmp.
47835 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47836 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47837
47838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47839
478402011-11-13 Ulrich Drepper <drepper@gmail.com>
47841
47842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47843 locale-defines.sym to gen-as-const-headers.
47844 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47845 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47847 to compile strcasecmp and strncasecmp.
47848 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47849 strcasecmp_l and strncasecmp_l.
47850 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47851 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47852 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47853 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47854 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47855 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47856 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47857 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47858 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47859 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47860 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47861
478622011-11-12 Ulrich Drepper <drepper@gmail.com>
47863
47864 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47865 result of SYSDEP_GETTIME_CPU to retval.
47866 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47867 parameter list to macro. Remove trailing semicolon. Adjust users.
47868
47869 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47870 variable.
47871
47872 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47873 mantissa words.
47874 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47875
47876 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47877 from unused variable.
47878
47879 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47880 DWARF definitions.
47881 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47882 for assembling.
47883
47884 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47885 over namespaces.
47886
47887 * sunrpc/rpc_prot.c (rejected): Fix case value.
47888
47889 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47890 unsigned long long int to avoid warnings in shift.
47891
47892 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47893 of use of trans.
47894 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47895 variable tmp.
47896
47897 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47898 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47899 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47900
47901 * nis/nis_table.c (nis_list): Use variable of correct type for
47902 result of __follow_path call.
47903
479042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47905
47906 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47907 of math functions ceil, trunc, floor, round, and sqrt, when
47908 avaliable on the platform.
47909 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47910 name clash.
47911 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47912 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47913 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47914
479152011-10-30 Marek Polacek <mpolacek@redhat.com>
47916
47917 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47918 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47919
479202011-11-11 Roland McGrath <roland@hack.frob.com>
47921
47922 * include/unistd.h: Fix __readlink return type.
47923 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47924
479252011-11-11 Ulrich Drepper <drepper@gmail.com>
47926
47927 * stdlib/ucontext.h: Undo last change for makecontext.
47928
479292011-11-11 Andreas Schwab <schwab@redhat.com>
47930
47931 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47932
47933 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47934 * setjmp/setjmp.h: Mark functions as non-leaf.
47935 * setjmp/bits/setjmp2.h: Likewise.
47936 * stdlib/ucontext.h: Likewise.
47937
479382011-11-10 Andreas Schwab <schwab@redhat.com>
47939
47940 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47941 (reused_arena): Don't check arena limit.
47942 (arena_get2): Atomically check arena limit.
47943
479442011-11-08 Ulrich Drepper <drepper@gmail.com>
47945
47946 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47947 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47948
47949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47950 instructions.
47951
479522011-11-07 Andreas Schwab <schwab@redhat.com>
47953
47954 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47955 handler when locking.
47956
47957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47958 Fix size of allocated buffer.
47959
479602011-11-04 Andreas Schwab <schwab@redhat.com>
47961
47962 [BZ #10103]
47963 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47964 declarations for long double functions.
47965 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47966
47967 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47968
479692011-11-03 Andreas Schwab <schwab@redhat.com>
47970
47971 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47972 installed.
47973
47974 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47975 is disabled.
47976
479772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47978
47979 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47980
479812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47982
47983 * include/alloca.h (stackinfo_alloca_round): Define.
47984 (extend_alloca): Use it.
47985 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47986 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47987 here.
47988
47989 * scripts/check-local-headers.sh: Ignore libaudit.h.
47990
47991 * nscd/Makefile (extra-objs): Make recursively expanded.
47992
479932011-11-01 Ulrich Drepper <drepper@gmail.com>
47994
47995 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47996 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47997
47998 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47999 * posix/tst-rfc3484-2.c: Likewise.
48000 * posix/tst-rfc3484-3.c: Likewise.
48001
48002 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48003 process_vm_writev.
48004 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48005 process_vm_writev.
48006 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48007 process_vm_writev from libc using GLIBC_2.15 version.
48008
48009 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48010
480112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48012
48013 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48014 stack usage.
48015
480162011-10-31 Ulrich Drepper <drepper@gmail.com>
48017
48018 [BZ #13367]
48019 * nss/getent.c (initgroups_keys): Show error message in case no group
48020 names are given.
48021
48022 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48023 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48024 __bump_nl_timestamp.
48025 * nscd/connections (nscd_init): When host database is served open
48026 netlink socket and request notification about configuration changes.
48027 (main_loop_poll): Track netlink file descriptor and bump timestamp
48028 in case data becomes available.
48029 (main_loop_epoll): Likewise.
48030 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48031 (database_pers_head): Add extra_data fileds.
48032 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48033 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48034 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48035 Adjust caller.
48036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48037 in6ai data, call __free_in6ai.
48038 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48039 Add -DHAVE_NETLINK.
48040 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48041 interface information. Reuse previous data if netlink timestamp
48042 is not changed.
48043 (__bump_nl_timestamp): New function.
48044 (__free_in6ai): New function.
48045
480462011-10-30 Ulrich Drepper <drepper@gmail.com>
48047
48048 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48049 close_not_cancel_no_status here.
48050 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48051
480522011-10-29 Ulrich Drepper <drepper@gmail.com>
48053
48054 [BZ #13276]
48055 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48056 return value.
48057
48058 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48059 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48060 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48061
480622011-07-03 Andreas Jaeger <aj@suse.de>
48063
48064 [BZ #10709]
48065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48066 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48067 * math/libm-test.inc (sin_test): Add test case.
48068
480692011-10-29 Ulrich Drepper <drepper@gmail.com>
48070
48071 [BZ #13337]
48072 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48074
48075 * elf/chroot_canon.c (chroot_canon): Cleanups.
48076
48077 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48078
48079 [BZ #13335]
48080 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48081 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48082
48083 * string/test-strchr.c: Make usable for strchrnul testing.
48084 * string/test-strchrnul.c: New file.
48085 * string/Makefile (strop-tests): Add strchrnul.
48086
48087 * po/it.po: Update from translation team.
48088 * po/es.po: Likewise.
48089
480902011-10-28 Ulrich Drepper <drepper@gmail.com>
48091
48092 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48093 the three constants needed as parameters. Drop the others.
48094 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48095 __m128i_strloadu_tolower.
48096 Create and initialize variable zero and use it in all the places
48097 where _mm_setzero_si128 was used.
48098
48099 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48100 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48101 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48102 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48103 anymore.
48104 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48105 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48106 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48107 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48108 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48109 __mpranred, __mptan.
48110 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48111 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48112 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48113 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48114 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48115 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48116 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48117 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48118 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48119
481202011-10-28 Andreas Schwab <schwab@redhat.com>
48121
48122 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48123 redefine if SHARED.
48124 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48125
48126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48127 wide char related routines to wcsmbs subdir.
48128
481292011-10-27 Andreas Schwab <schwab@redhat.com>
48130
48131 [BZ #13344]
48132 * misc/sys/cdefs.h (__THROWNL): Define.
48133 * posix/unistd.h: Use __THREADNL instead of __THREAD
48134 for memory synchronization functions.
48135
481362011-10-26 Roland McGrath <roland@hack.frob.com>
48137
48138 [BZ #13349]
48139 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48140 doesn't exist.
48141 * manual/stdio.texi (Obstack Streams): Node removed.
48142
481432011-10-26 Andreas Schwab <schwab@redhat.com>
48144
48145 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48146 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48147 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48148
48149 * math/math_private.h (math_force_eval): Allow non-addressable
48150 arguments.
48151 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48152
481532011-10-25 Ulrich Drepper <drepper@gmail.com>
48154
48155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48156 file is not needed.
48157
48158 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48161 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48162 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48163 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48164 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48165 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48166 Add AVX variants.
48167 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48168 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48169 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48170 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48171 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48172 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48173 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48174 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48175 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48176 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48177 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48178 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48181 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48182 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48183 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48184 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48185 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48186
48187 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48188 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48189
48190 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48191 place. Use VEX encoding when compiling for AVX.
48192
481932011-10-25 Andreas Schwab <schwab@redhat.com>
48194
48195 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48196 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48197
48198 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48199
482002011-10-25 Ulrich Drepper <drepper@gmail.com>
48201
48202 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48203 useless if() expression.
48204 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48205 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48206 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48210 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48211 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48212 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48213 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48214 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48216 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48217 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48218 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48219 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48221 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48223
48224 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48225
482262011-10-25 Andreas Schwab <schwab@redhat.com>
48227
48228 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48229 condition.
48230 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48231
482322011-10-25 Ulrich Drepper <drepper@gmail.com>
48233
48234 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48235 .text section. Avoid duplicate constants.
48236 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48238 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48240 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48241 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48242 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48244 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48245 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48246 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48247 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48248 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48249 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48250 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48251 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48252 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48253 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48256 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48257 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48258 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48259 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48260 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48261 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48262 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48263 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48264 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48265 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48266 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48267 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48268 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48269 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48270 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48271 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48272 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48273 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48274 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48275 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48276 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48277 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48278 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48279 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48280 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48281
482822011-10-24 Ulrich Drepper <drepper@gmail.com>
48283
48284 * sysdeps/x86_64/dla.h: Move to ...
48285 * sysdeps/x86_64/fpu/dla.h: ...here.
48286 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48287 situations. Use __builtin_fma only for gcc 4.6 and up.
48288
48289 * config.make.in: Add have-mfma4 entry.
48290 * configure.in: Substitute libc_cv_cc_fma4.
48291 * math/Makefile (dbl-only-routines): Add sincostab.
48292 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48293 Use __sincostab not sincos.
48294 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48295 name is a macro.
48296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48300 using __copysign.
48301 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48302 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48303 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48304 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48305 and __inv.
48306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48307 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48308 __copysign.
48309 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48310 define aliases when function name is a macro.
48311 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48312 sysdeps/ieee754/dbl-64/sincos.tbl.
48313 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48314 fma4-enabled routines.
48315 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48316 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48317 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48318 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48319 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48320 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48322 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48324 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48325 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48326 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48327 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48328 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48329 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48330 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48331 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48332 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48333 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48334 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48335 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48336 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48338 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48339 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48342 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48343 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48344 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48345
48346 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48347 rename.
48348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48356
483572011-10-24 Andreas Schwab <schwab@redhat.com>
48358
48359 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48360
483612011-10-23 Ulrich Drepper <drepper@gmail.com>
48362
48363 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48364
48365 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48366 prediction.
48367 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48368
48369 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48370 Remove unused variable magic_bits.
48371 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48372
48373 * string/strnlen.c: Define and use STRNLEN macro.
48374 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48375 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48377 * wcsmbs/wcslen.c: Define and use WCSLEN.
48378 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48379 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48380 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48381 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48382 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48383 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48384 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48385
483862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48387
48388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48389 strnlen-sse2-no-bsf.
48390 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48391 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48392 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48393 Add strnlen support.
48394 (USE_AS_STRNLEN): New macro.
48395 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48396 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48397 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48398 * sysdeps/x86_64/wcslen.S: New file.
48399
484002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48401
48402 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48403 XMM-moves are used for copying on small sizes.
48404
484052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48406
48407 * wcsmbs/Makefile (strop-tests): Add wcschr.
48408 * wcsmbs/test-wcschr.c: New file.
48409 * string/test-strchr.c: Update.
48410 Add wcschr support.
48411 (WIDE): New macro.
48412
484132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48414
48415 * wcsmbs/Makefile (strop-tests): Add wcslen.
48416 * wcsmbs/test-wcslen.c: New file.
48417 * string/test-strlen.c: Update.
48418 Add wcslen support.
48419 (WIDE): New macro.
48420
484212011-10-23 Ulrich Drepper <drepper@gmail.com>
48422
48423 * po/it.po: Update from translation team.
48424
484252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48426
48427 * sysdeps/x86_64/wcscmp.S: Update.
48428 Fix wrong comparison semantics.
48429 wcscmp shall use signed comparison not unsigned.
48430 Don't use substraction to avoid overflow bug.
48431 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48432 * wcsmbc/wcscmp.c: Likewise.
48433 * string/test-strcmp.c: Likewise.
48434 Add new tests to check cases with negative values.
48435
484362011-10-23 Ulrich Drepper <drepper@gmail.com>
48437
48438 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48439 * sysdeps/x86_64/dla.h: ...here. New file.
48440 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48449
484502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48451
48452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48453 __ynl_finite aliases.
48454
484552011-10-22 Ulrich Drepper <drepper@gmail.com>
48456
48457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48458
48459 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48460 define DLA_FMA.
48461 [DLA_FMA] (EMULV): Use DLA_FMA.
48462 [DLA_FMA] (MUL12): Use EMULV.
48463 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48464 that are not needed.
48465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48472
484732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48474
48475 * math/s_nan.c: Undef __nan.
48476 * math/s_nanf.c: Undef __nanf.
48477 * math/s_nanl.c: Undef __nanl.
48478 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48479 "math_private.h".
48480
484812011-10-22 Ulrich Drepper <drepper@gmail.com>
48482
48483 * math/s_catan.c: Add branch predictions.
48484 * math/s_catanf.c: Likewise.
48485 * math/s_catanh.c: Likewise.
48486 * math/s_catanhf.c: Likewise.
48487 * math/s_catanhl.c: Likewise.
48488 * math/s_catanl.c: Likewise.
48489 * math/s_cexp.c: Likewise.
48490 * math/s_cexpf.c: Likewise.
48491 * math/s_cexpl.c: Likewise.
48492 * math/s_clog.c: Likewise.
48493 * math/s_clog10.c: Likewise.
48494 * math/s_clog10f.c: Likewise.
48495 * math/s_clog10l.c: Likewise.
48496 * math/s_clogf.c: Likewise.
48497 * math/s_clogl.c: Likewise.
48498 * math/s_csqrt.c: Likewise.
48499 * math/s_csqrtf.c: Likewise.
48500 * math/s_csqrtl.c: Likewise.
48501 * math/s_ctanf.c: Likewise.
48502 * math/s_ctanh.c: Likewise.
48503 * math/s_ctanhf.c: Likewise.
48504 * math/s_ctanhl.c: Likewise.
48505 * math/s_ctanl.c: Likewise.
48506
48507 * math/math_private.h: Define __nan, __nanf, __nanl.
48508 * math/s_cacosh.c: Include <math_private.h>.
48509 * math/s_cacoshl.c: Likewise.
48510 * math/s_casinh.c: Likewise.
48511 * math/s_casinhf.c: Likewise.
48512 * math/s_casinhl.c: Likewise.
48513 * math/s_ccos.c: Rely entire on ccosh.
48514 * math/s_ccosf.c: Rely entire on ccoshf.
48515 * math/s_ccosl.c: Rely entirely on ccoshl.
48516 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48517 Remove tests for FE_INVALID.
48518 * math/s_ccoshf.c: Likewise.
48519 * math/s_ccoshl.c: Likewise.
48520 * math/s_csin.c: Likewise.
48521 * math/s_csinf.c: Likewise.
48522 * math/s_csinh.c Likewise.
48523 * math/s_csinhf.c: Likewise.
48524 * math/s_csinhl.c: Likewise.
48525 * math/s_csinl.c: Likewise.
48526 * math/s_ctan.c: Likewise.
48527 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48528 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48529 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48530
485312011-10-21 Ulrich Drepper <drepper@gmail.com>
48532
48533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48534 compilation problems.
48535
48536 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48537 __builtin_expect.
48538
485392011-10-20 Ulrich Drepper <drepper@gmail.com>
48540
48541 * sysdeps/i386/configure.in: Test for -mfma4 option.
48542 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48543 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48544 COMMON_CPUID_INDEX_80000001.
48545 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48546 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48547 use it if FMA3 is not supported.
48548 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48549
48550 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48551 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48552
485532011-10-20 Andreas Schwab <schwab@redhat.com>
48554
48555 [BZ #12892]
48556 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48557 it would create a cycle with a link time dependency.
48558
485592011-10-19 Ulrich Drepper <drepper@gmail.com>
48560
48561 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48562 instruction.
48563 * string/Makefile (strop-tests): Add rawmemchr.
48564 * string/test-rawmemchr.c: New file.
48565
48566 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48567 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48568 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48569 when compiling str{,n}casecmp and when AVX is available. Hook up
48570 new optimized code in initializers.
48571
485722011-10-19 Andreas Schwab <schwab@redhat.com>
48573
48574 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48575 __feraiseexcept instead of feraiseexcept.
48576
485772011-10-18 Ulrich Drepper <drepper@gmail.com>
48578
48579 * math/math_private.h: Define defaults for libc_fetestexcept and
48580 libc_feupdateenv.
48581 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48582 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48584 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48585 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48586 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48587 libc_fetestexcept and libc_feupdateenv.
48588
48589 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48590 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48591 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48592 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48593 libc_feholdexcept_setround.
48594
48595 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48596 Add s_nearbyint-c and s_nearbyintf-c.
48597 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48598 nearbyintf inlines.
48599 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48600 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48601 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48602 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48603
48604 * math/math_private.h: Define defaults for libc_fegetround,
48605 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48606 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48607 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48608 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48609 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48610 standard functions.
48611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48612 Remove comments and hacks for old compiler versions.
48613 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48614 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48615 libc_feholdexceptl.
48616
486172011-10-18 Andreas Schwab <schwab@redhat.com>
48618
48619 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48620 (__feraiseexcept_renamed): Add __NTH.
48621 (feraiseexcept): Add __NTH. Rename local variables to fix
48622 namespace violations.
48623
486242011-10-17 Ulrich Drepper <drepper@gmail.com>
48625
48626 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48627
48628 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48629
48630 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48631 recently added interfaces.
48632 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48633
48634 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48635 about macro parameter expansion.
48636
48637 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48638 __NO_MATH_INLINES is defined. Cleanups.
48639
48640 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48641 and __floorf is target has SSE4.1.
48642 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48643 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48644 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48645 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48646
48647 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48648 name.
48649 (floorf): Likewise.
48650
48651 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48652
486532011-10-17 Andreas Schwab <schwab@redhat.com>
48654
48655 * misc/sys/cdefs.h: Fix last change.
48656
48657 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48658 database lookup.
48659
486602011-10-16 Ulrich Drepper <drepper@gmail.com>
48661
48662 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48663
48664 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48666 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48669 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48670 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48671 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48672 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48673 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48674 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48675 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48676 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48677 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48678 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48679 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48680 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48681 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48682 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48683 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48684 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48685 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48686
48687 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48688 ceil, ceilf, floor, floorf.
48689
48690 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48691 Perform IRELATIVE relocations last.
48692
48693 * elf/do-rel.h: Add another parameter nrelative, replacing the
48694 local variable with the same name. Change name of the function
48695 to end in Rel or Rela (uppercase).
48696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48697 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48698 elf_dynamic_do_##reloc function.
48699
487002011-10-15 Ulrich Drepper <drepper@gmail.com>
48701
48702 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48703 is sufficient, at least on modern CPUs.
48704
48705 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48706
48707 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48708 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48709
48710 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48711 __expl_finite.
48712 * math/bits/math-finite.h: Add entries for exp.
48713 * math/e_expl.c: Add __*_finite alias.
48714 * sysdeps/i386/fpu/e_exp.S: Likewise.
48715 * sysdeps/i386/fpu/e_expf.S: Likewise.
48716 * sysdeps/i386/fpu/e_expl.c: Likewise.
48717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48718 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48721 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48722 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48723 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48724
48725 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48726 is sufficient, at least on modern CPUs.
48727
48728 * ctype/ctype-info.c (__ctype_init): Define.
48729 * include/ctype.h (__ctype_init): Declare.
48730 (__ctype_b_loc): The variable is always initialized.
48731 (__ctype_toupper_loc): Likewise.
48732 (__ctype_tolower_loc): Likewise.
48733 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48734 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48735
487362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48737
48738 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48739
48740 * configure.in: Also look in $cxxmachine/include for C++ system
48741 headers.
48742
487432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48744
48745 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48746 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48747 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48748 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48749 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48750 (USE_AS_WMEMCMP): New macro.
48751 Fixing indents.
48752 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48753 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48754 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48755 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48757 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48758 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48759 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48760 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48761 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48763 (USE_AS_WMEMCMP): New macro.
48764 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48765 * sysdeps/string/test-memcmp.c: Update.
48766 Fix simple_wmemcmp.
48767 Add new tests.
48768 * wcsmbs/wmemcmp.c: Update.
48769 (WMEMCMP): New macro.
48770 Fix overflow bug.
48771
487722011-10-12 Andreas Jaeger <aj@suse.de>
48773
48774 [BZ #13268]
48775 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48776
487772011-10-15 Ulrich Drepper <drepper@gmail.com>
48778
48779 * libio/iofwide.c (do_length): Avoid warning.
48780
48781 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48782
487832011-10-14 Ulrich Drepper <drepper@gmail.com>
48784
48785 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48786
48787 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48788 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48789 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48790 * sysdeps/i386/i686/fpu/e_log.S: New file.
48791 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48792 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48793
48794 * ctype/ctype.h: Add support for inlined isXXX functions when
48795 compiling C++ code.
48796
487972011-10-14 Andreas Schwab <schwab@redhat.com>
48798
48799 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48800
48801 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48802
488032011-10-13 Roland McGrath <roland@hack.frob.com>
48804
48805 [BZ #13291]
48806 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48807
488082011-10-13 Andreas Schwab <schwab@redhat.com>
48809
48810 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48811 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48812 feraiseexcept.
48813
48814 * sysdeps/x86_64/memrchr.S: Check for zero size.
48815
48816 * string/stratcliff.c: Add memrchr tests.
48817
488182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48819
48820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48821 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48822 rawmemchr-sse2 rawmemchr-sse2-bsf.
48823 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48824 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48825 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48826 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48827 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48828 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48829 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48830 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48831 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48832 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48833 * string/memrchr.c (MEMRCHR): New macro.
48834
488352011-10-12 Ulrich Drepper <drepper@gmail.com>
48836
48837 Add integration with gcc's -ffinite-math-only and optimize wrapper
48838 functions in libm.
48839 * Versions.def: Define GLIBC_2.15 version for libm.
48840 * math/Makefile (headers): Add bits/math-finite.h.
48841 * math/bits/math-finite.h: New file.
48842 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48843 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48844 * math/e_acoshl.c: Add __*_finite alias.
48845 * math/e_acosl.c: Likewise.
48846 * math/e_asinl.c: Likewise.
48847 * math/e_atan2l.c: Likewise.
48848 * math/e_atanhl.c: Likewise.
48849 * math/e_coshl.c: Likewise.
48850 * math/e_exp10.c: Likewise.
48851 * math/e_exp10f.c: Likewise.
48852 * math/e_exp10l.c: Likewise.
48853 * math/e_exp2l.c: Likewise.
48854 * math/e_fmodl.c: Likewise.
48855 * math/e_gammal_r.c: Likewise.
48856 * math/e_hypotl.c: Likewise.
48857 * math/e_j0l.c: Likewise.
48858 * math/e_j1l.c: Likewise.
48859 * math/e_jnl.c: Likewise.
48860 * math/e_lgammal_r.c: Likewise.
48861 * math/e_log10l.c: Likewise.
48862 * math/e_log2l.c: Likewise.
48863 * math/e_logl.c: Likewise.
48864 * math/e_powl.c: Likewise.
48865 * math/e_sinhl.c: Likewise.
48866 * math/e_sqrtl.c: Likewise.
48867 * math/e_scalb.c: Completely rewritten and optimized.
48868 * math/e_scalbf.c: Likewise.
48869 * math/e_scalbl.c: Likewise.
48870 * math/w_acos.c: Likewise.
48871 * math/w_acosf.c: Likewise.
48872 * math/w_acosl.c: Likewise.
48873 * math/w_acosh.c: Likewise.
48874 * math/w_acoshf.c: Likewise.
48875 * math/w_acoshl.c: Likewise.
48876 * math/w_asin.c: Likewise.
48877 * math/w_asinf.c: Likewise.
48878 * math/w_asinl.c: Likewise.
48879 * math/w_atan2.c: Likewise.
48880 * math/w_atan2f.c: Likewise.
48881 * math/w_atan2l.c: Likewise.
48882 * math/w_atanh.c: Likewise.
48883 * math/w_atanhf.c: Likewise.
48884 * math/w_atanhl.c: Likewise.
48885 * math/w_exp10.c: Likewise.
48886 * math/w_exp10f.c: Likewise.
48887 * math/w_exp10l.c: Likewise.
48888 * math/w_fmod.c: Likewise.
48889 * math/w_fmodf.c: Likewise.
48890 * math/w_fmodl.c: Likewise.
48891 * math/w_j0.c: Likewise.
48892 * math/w_j0f.c: Likewise.
48893 * math/w_j0l.c: Likewise.
48894 * math/w_j1.c: Likewise.
48895 * math/w_j1f.c: Likewise.
48896 * math/w_j1l.c: Likewise.
48897 * math/w_jn.c: Likewise.
48898 * math/w_jnf.c: Likewise.
48899 * math/w_log.c: Likewise.
48900 * math/w_logf.c: Likewise.
48901 * math/w_logl.c: Likewise.
48902 * math/w_log10.c: Likewise.
48903 * math/w_log10f.c: Likewise.
48904 * math/w_log10l.c: Likewise.
48905 * math/w_log2.c: Likewise.
48906 * math/w_log2f.c: Likewise.
48907 * math/w_log2l.c: Likewise.
48908 * math/w_pow.c: Likewise.
48909 * math/w_powf.c: Likewise.
48910 * math/w_powl.c: Likewise.
48911 * math/w_remainder.c: Likewise.
48912 * math/w_remainderf.c: Likewise.
48913 * math/w_remainderl.c: Likewise.
48914 * math/w_scalb.c: Likewise.
48915 * math/w_scalbf.c: Likewise.
48916 * math/w_scalbl.c: Likewise.
48917 * math/w_sqrt.c: Likewise.
48918 * math/w_sqrtf.c: Likewise.
48919 * math/w_sqrtl.c: Likewise.
48920 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48921 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48922 used.
48923 * math/math_private.h: Declare __kernel_standard_f.
48924 * math/w_cosh.c: Remove cruft and optimize a bit.
48925 * math/w_coshf.c: Likewise.
48926 * math/w_coshl.c: Likewise.
48927 * math/w_exp2.c: Likewise.
48928 * math/w_exp2f.c: Likewise.
48929 * math/w_exp2l.c: Likewise.
48930 * math/w_hypot.c: Likewise.
48931 * math/w_hypotf.c: Likewise.
48932 * math/w_hypotl.c: Likewise.
48933 * math/w_lgamma.c: Likewise.
48934 * math/w_lgamma_r.c: Likewise.
48935 * math/w_lgammaf.c: Likewise.
48936 * math/w_lgammaf_r.c: Likewise.
48937 * math/w_lgammal.c: Likewise.
48938 * math/w_lgammal_r.c: Likewise.
48939 * math/w_sinh.c: Likewise.
48940 * math/w_sinhf.c: Likewise.
48941 * math/w_sinhl.c: Likewise.
48942 * math/w_tgamma.c: Likewise.
48943 * math/w_tgammaf.c: Likewise.
48944 * math/w_tgammal.c: Likewise.
48945 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48946 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48947 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48948 Minor optimizations. Pretty printing. Remove cruft.
48949 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48950 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48951 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48952 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48953 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48954 * sysdeps/i386/fpu/e_asin.S: Likewise.
48955 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48956 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48957 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48958 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48959 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48960 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48961 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48962 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48963 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48964 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48965 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48966 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48967 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48968 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48969 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48970 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48971 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48972 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48973 * sysdeps/i386/fpu/e_log.S: Likewise.
48974 * sysdeps/i386/fpu/e_log10.S: Likewise.
48975 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48976 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48977 * sysdeps/i386/fpu/e_log2.S: Likewise.
48978 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48979 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48980 * sysdeps/i386/fpu/e_logf.S: Likewise.
48981 * sysdeps/i386/fpu/e_logl.S: Likewise.
48982 * sysdeps/i386/fpu/e_pow.S: Likewise.
48983 * sysdeps/i386/fpu/e_powf.S: Likewise.
48984 * sysdeps/i386/fpu/e_powl.S: Likewise.
48985 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48986 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48987 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48988 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48989 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48990 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48991 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48992 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48993 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48994 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48995 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48997 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48998 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48999 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49000 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49001 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49007 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49008 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49010 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49011 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49012 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49013 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49014 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49015 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49016 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49017 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49018 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49019 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49020 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49021 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49022 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49023 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49024 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49025 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49026 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49027 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49028 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49029 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49030 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49031 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49032 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49033 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49034 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49035 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49036 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49037 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49038 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49039 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49040 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49041 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49042 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49044 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49045 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49046 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49048 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49049 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49050 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49051 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49052 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49053 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49054 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49055 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49058 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49061 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49062 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49063 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49064 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49065 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49068 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49070 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49073 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49074 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49075 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49076 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49077 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49078 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49079 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49080 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49081 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49082 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49083 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49084 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49085 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49086 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49087 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49089 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49090 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49091 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49092 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49093 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49094 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49095 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49096 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49097 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49098 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49099 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49100 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49102 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49104 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49105 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49106 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49107 (__isnanf): Likewise.
49108 (__isinf_ns): Likewise.
49109 (__isinf_nsf): Likewise.
49110 (__finite): Likewise.
49111 (__finitef): Likewise.
49112 (__ieee754_sqrt): Define as macro.
49113 (__ieee754_sqrtf): Define as macro.
49114 (__ieee754_sqrtl): Define as macro.
49115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49116 inlined copy.
49117 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49118 __FINITE_MATH_ONLY__ consistent.
49119 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49120
491212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49122
49123 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49124 of rawmemchr.
49125
49126 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49127
491282011-10-09 Ulrich Drepper <drepper@gmail.com>
49129
49130 * po/ja.po: Update from translation team.
49131
491322011-10-08 Roland McGrath <roland@hack.frob.com>
49133
49134 * locale/programs/locarchive.c (prepare_address_space): New function.
49135 (create_archive, enlarge_archive, open_archive): Use it.
49136
49137 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49138 inside [SHARED], where it is used.
49139
49140 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49141
49142 * nss/getent.c (netgroup_keys): Remove unused variable.
49143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49144
491452011-10-08 Ulrich Drepper <drepper@gmail.com>
49146
49147 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49148 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49150 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49151 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49152 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49153 * math/Makefile (libm-calls): Add s_isinf_ns.
49154 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49155 * math/multc3.c: Likewise.
49156 * math/s_casin.c: Likewise.
49157 * math/s_casinf.c: Likewise.
49158 * math/s_casinl.c: Likewise.
49159 * math/s_ccos.c: Likewise.
49160 * math/s_ccosf.c: Likewise.
49161 * math/s_ccosl.c: Likewise.
49162 * math/s_ctan.c: Likewise.
49163 * math/s_ctanf.c: Likewise.
49164 * math/s_ctanh.c: Likewise.
49165 * math/s_ctanhf.c: Likewise.
49166 * math/s_ctanhl.c: Likewise.
49167 * math/s_ctanl.c: Likewise.
49168 * math/w_fmod.c: Likewise.
49169 * math/w_fmodf.c: Likewise.
49170 * math/w_fmodl.c: Likewise.
49171 * math/w_remainder.c: Likewise.
49172 * math/w_remainderf.c: Likewise.
49173 * math/w_remainderl.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49175 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49176 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49177 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49178 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49179 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49180 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49181 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49182
49183 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49184 of the number.
49185 * stdio-common/printf_fphex.c: Likewise.
49186 * stdio-common/printf_size.c: Likewise.
49187
49188 * math/e_exp10.c: Include math_private.h using <...> not "...".
49189 * math/e_exp10f.c: Likewise.
49190 * math/e_exp10l.c: Likewise.
49191 * math/e_exp2l.c: Likewise.
49192 * math/e_j0l.c: Likewise.
49193 * math/e_j1l.c: Likewise.
49194 * math/e_jnl.c: Likewise.
49195 * math/e_lgammal_r.c: Likewise.
49196 * math/e_rem_pio2l.c: Likewise.
49197 * math/e_scalb.c: Likewise.
49198 * math/e_scalbf.c: Likewise.
49199 * math/e_scalbl.c: Likewise.
49200 * math/k_cosl.c: Likewise.
49201 * math/k_sinl.c: Likewise.
49202 * math/k_tanl.c: Likewise.
49203 * math/s_cacoshf.c: Likewise.
49204 * math/s_catan.c: Likewise.
49205 * math/s_catanf.c: Likewise.
49206 * math/s_catanh.c: Likewise.
49207 * math/s_catanhf.c: Likewise.
49208 * math/s_catanhl.c: Likewise.
49209 * math/s_catanl.c: Likewise.
49210 * math/s_ccosh.c: Likewise.
49211 * math/s_ccoshf.c: Likewise.
49212 * math/s_ccoshl.c: Likewise.
49213 * math/s_cexp.c: Likewise.
49214 * math/s_cexpf.c: Likewise.
49215 * math/s_cexpl.c: Likewise.
49216 * math/s_clog.c: Likewise.
49217 * math/s_clog10.c: Likewise.
49218 * math/s_clog10f.c: Likewise.
49219 * math/s_clog10l.c: Likewise.
49220 * math/s_clogf.c: Likewise.
49221 * math/s_clogl.c: Likewise.
49222 * math/s_csin.c: Likewise.
49223 * math/s_csinf.c: Likewise.
49224 * math/s_csinh.c: Likewise.
49225 * math/s_csinhf.c: Likewise.
49226 * math/s_csinhl.c: Likewise.
49227 * math/s_csinl.c: Likewise.
49228 * math/s_csqrt.c: Likewise.
49229 * math/s_csqrtf.c: Likewise.
49230 * math/s_csqrtl.c: Likewise.
49231 * math/s_ctan.c: Likewise.
49232 * math/s_ctanf.c: Likewise.
49233 * math/s_ctanh.c: Likewise.
49234 * math/s_ctanhf.c: Likewise.
49235 * math/s_ctanhl.c: Likewise.
49236 * math/s_ctanl.c: Likewise.
49237 * math/s_ldexp.c: Likewise.
49238 * math/s_ldexpf.c: Likewise.
49239 * math/s_ldexpl.c: Likewise.
49240 * math/s_significand.c: Likewise.
49241 * math/s_significandf.c: Likewise.
49242 * math/s_significandl.c: Likewise.
49243 * math/w_acos.c: Likewise.
49244 * math/w_acosf.c: Likewise.
49245 * math/w_acosh.c: Likewise.
49246 * math/w_acoshf.c: Likewise.
49247 * math/w_acoshl.c: Likewise.
49248 * math/w_acosl.c: Likewise.
49249 * math/w_asin.c: Likewise.
49250 * math/w_asinf.c: Likewise.
49251 * math/w_asinl.c: Likewise.
49252 * math/w_atan2.c: Likewise.
49253 * math/w_atan2f.c: Likewise.
49254 * math/w_atan2l.c: Likewise.
49255 * math/w_atanh.c: Likewise.
49256 * math/w_atanhf.c: Likewise.
49257 * math/w_atanhl.c: Likewise.
49258 * math/w_cosh.c: Likewise.
49259 * math/w_coshf.c: Likewise.
49260 * math/w_coshl.c: Likewise.
49261 * math/w_dremf.c: Likewise.
49262 * math/w_exp10.c: Likewise.
49263 * math/w_exp10f.c: Likewise.
49264 * math/w_exp10l.c: Likewise.
49265 * math/w_exp2.c: Likewise.
49266 * math/w_exp2f.c: Likewise.
49267 * math/w_fmod.c: Likewise.
49268 * math/w_fmodf.c: Likewise.
49269 * math/w_fmodl.c: Likewise.
49270 * math/w_hypot.c: Likewise.
49271 * math/w_hypotf.c: Likewise.
49272 * math/w_hypotl.c: Likewise.
49273 * math/w_j0.c: Likewise.
49274 * math/w_j0f.c: Likewise.
49275 * math/w_j0l.c: Likewise.
49276 * math/w_j1.c: Likewise.
49277 * math/w_j1f.c: Likewise.
49278 * math/w_j1l.c: Likewise.
49279 * math/w_jn.c: Likewise.
49280 * math/w_jnf.c: Likewise.
49281 * math/w_jnl.c: Likewise.
49282 * math/w_lgamma.c: Likewise.
49283 * math/w_lgamma_r.c: Likewise.
49284 * math/w_lgammaf.c: Likewise.
49285 * math/w_lgammaf_r.c: Likewise.
49286 * math/w_lgammal.c: Likewise.
49287 * math/w_lgammal_r.c: Likewise.
49288 * math/w_log.c: Likewise.
49289 * math/w_log10.c: Likewise.
49290 * math/w_log10f.c: Likewise.
49291 * math/w_log10l.c: Likewise.
49292 * math/w_log2.c: Likewise.
49293 * math/w_log2f.c: Likewise.
49294 * math/w_log2l.c: Likewise.
49295 * math/w_logf.c: Likewise.
49296 * math/w_logl.c: Likewise.
49297 * math/w_pow.c: Likewise.
49298 * math/w_powf.c: Likewise.
49299 * math/w_powl.c: Likewise.
49300 * math/w_remainder.c: Likewise.
49301 * math/w_remainderf.c: Likewise.
49302 * math/w_remainderl.c: Likewise.
49303 * math/w_scalb.c: Likewise.
49304 * math/w_scalbf.c: Likewise.
49305 * math/w_scalbl.c: Likewise.
49306 * math/w_sinh.c: Likewise.
49307 * math/w_sinhf.c: Likewise.
49308 * math/w_sinhl.c: Likewise.
49309 * math/w_sqrt.c: Likewise.
49310 * math/w_sqrtf.c: Likewise.
49311 * math/w_sqrtl.c: Likewise.
49312 * math/w_tgamma.c: Likewise.
49313 * math/w_tgammaf.c: Likewise.
49314 * math/w_tgammal.c: Likewise.
49315
49316 * po/ja.po: Update from translation team.
49317
493182011-09-29 Andreas Jaeger <aj@suse.de>
49319
49320 [BZ #13179]
49321 * sunrpc/netname.c (netname2host): Fix logic.
49322
49323 [BZ #6779]
49324 [BZ #6783]
49325 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49326 correctly.
49327 * math/w_remainder.c (__remainder): Likewise.
49328 * math/w_remainderf.c (__remainderf): Likewise.
49329 * math/libm-test.inc (remainder_test): Add test cases.
49330
493312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49332
49333 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49334 sdiv_qrnnd.
49335
493362011-10-07 Ulrich Drepper <drepper@gmail.com>
49337
49338 * string/test-memcmp.c: Avoid unncessary #defines.
49339 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49340
493412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49342
49343 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49344 Use new sse2 version for core i3 - i7 as it's faster
49345 than sse42 version.
49346 (bit_Prefer_PMINUB_for_stringop): New.
49347 * sysdeps/x86_64/rawmemchr.S: Update.
49348 Replace with faster SSE2 version.
49349 * sysdeps/x86_64/memrchr.S: New file.
49350 * sysdeps/x86_64/memchr.S: Update.
49351 Replace with faster SSE2 version.
49352
493532011-09-12 Marek Polacek <mpolacek@redhat.com>
49354
49355 * elf/dl-load.c (lose): Add cast to avoid warning.
49356
493572011-10-07 Ulrich Drepper <drepper@gmail.com>
49358
49359 * po/ca.po: Update from translation team.
49360
49361 * inet/getnetgrent_r.c: Hook up nscd.
49362 * nscd/Makefile (routines): Add nscd_netgroup.
49363 (nscd-modules): Add netgroupcache.
49364 (CFLAGS-netgroupcache.c): Define.
49365 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49366 (cache_search): Add const to second parameter.
49367 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49368 INNETGR.
49369 (dbs): Add netgrdb entry.
49370 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49371 (verify_persistent_db): Handle netgrdb.
49372 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49373 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49374 GETFDNETGR.
49375 (netgroup_response_header): Define.
49376 (innetgroup_response_header): Define.
49377 (datahead): Add netgroup_response_header and innetgroup_response_header
49378 elements.
49379 * nscd/nscd.conf: Add entries for netgroup cache.
49380 * nscd/nscd.h (dbtype): Add netgrdb.
49381 (_PATH_NSCD_NETGROUP_DB): Define.
49382 (netgroup_iov_disabled): Declare.
49383 (xmalloc, xcalloc, xrealloc): Move declarations here.
49384 (cache_search): Adjust prototype.
49385 Add netgroup-related prototypes.
49386 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49387 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49388 (__nscd_innetgr): Declare.
49389 * nscd/selinux.c (perms): Use access_vector_t as element type and
49390 add netgroup-related initializers.
49391 * nscd/netgroupcache.c: New file.
49392 * nscd/nscd_netgroup.c: New file.
49393 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49394 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49395 For four parameters use innetgr.
49396 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49397 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49398 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49399 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49400
49401 * nscd/connections.c (register_traced_file): Don't register file
49402 for disabled databases.
49403
494042011-10-06 Ulrich Drepper <drepper@gmail.com>
49405
49406 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49407
49408 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49409 from tree and freeing node.
49410
494112011-09-25 Jiri Olsa <jolsa@redhat.com>
49412
49413 * nss/nsswitch.c (__nss_database_lookup): Handle
49414 nss_parse_service_list out of memory case.
49415
494162011-09-15 Jiri Olsa <jolsa@redhat.com>
49417
49418 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49419 out of memory case.
49420
494212011-10-04 Andreas Schwab <schwab@redhat.com>
49422
49423 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49424 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49425 pass it down.
49426 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49427 elf_machine_rela, elf_machine_lazy_rel.
49428 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49429 (ELF_DYNAMIC_DO_REL): Likewise.
49430 (ELF_DYNAMIC_DO_RELA): Likewise.
49431 (ELF_DYNAMIC_RELOCATE): Likewise.
49432 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49433 to ELF_DYNAMIC_DO_REL.
49434 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49435 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49436 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49437 elf_machine_rela.
49438 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49439 skip_ifunc, don't call ifunc function if non-zero.
49440 (elf_machine_rela): Likewise.
49441 (elf_machine_lazy_rel): Likewise.
49442 (elf_machine_lazy_rela): Likewise.
49443 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49444 (elf_machine_lazy_rel): Likewise.
49445 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49446 Likewise.
49447 (elf_machine_lazy_rel): Likewise.
49448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49449 Likewise.
49450 (elf_machine_lazy_rel): Likewise.
49451 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49452 (elf_machine_lazy_rel): Likewise.
49453 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49454 (elf_machine_lazy_rel): Likewise.
49455 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49456 (elf_machine_lazy_rel): Likewise.
49457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49458 (elf_machine_lazy_rel): Likewise.
49459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49460 (elf_machine_lazy_rel): Likewise.
49461 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49462 (elf_machine_lazy_rel): Likewise.
49463
494642011-09-28 Ulrich Drepper <drepper@gmail.com>
49465
49466 * nss/nss_files/files-init.c (_nss_files_init): Use static
49467 initialization for all the *_traced_file variables.
49468
494692011-09-28 Andreas Schwab <schwab@redhat.com>
49470
49471 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49472
494732011-09-27 Roland McGrath <roland@hack.frob.com>
49474
49475 [BZ #13226]
49476 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49477
494782011-09-27 Andreas Schwab <schwab@redhat.com>
49479
49480 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49481 Reread the line before reparsing it.
49482
494832011-09-26 Andreas Schwab <schwab@redhat.com>
49484
49485 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49486
494872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49488 Maxim Kuvyrkov <maxim@codesourcery.com>
49489 Joseph Myers <joseph@codesourcery.com>
49490
49491 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49492 if needed for __stack_chk_guard.
49493
494942011-09-19 Roland McGrath <roland@hack.frob.com>
49495
49496 * sysdeps/posix/spawni.c (script_execute): Always define it.
49497 It will be optimized away if unused.
49498 (maybe_script_execute): New function.
49499 (__spawni): Call it.
49500
49501 * Makerules: Don't include tls.make.
49502 (config-tls): Always set to thread.
49503 * tls.make.c: File removed.
49504
495052011-09-19 Mike Frysinger <vapier@gentoo.org>
49506
49507 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49508 * config.make.in (CPPFLAGS-config): New substituted variable.
49509
495102011-09-15 Ulrich Drepper <drepper@gmail.com>
49511
49512 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49513
49514 [BZ #13192]
49515 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49516 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49517
495182011-09-15 Roland McGrath <roland@hack.frob.com>
49519
49520 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49521 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49523 (CALL_FAIL): Likewise.
49524 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49525 (CALL_FAIL): Macro removed.
49526 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49527
495282011-09-15 Ulrich Drepper <drepper@gmail.com>
49529
49530 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49531 for __FINITE_MATH_ONLY__ == 1.
49532
495332011-09-15 Andreas Schwab <schwab@redhat.com>
49534
49535 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49536 __ieee754_sqrt instead of sqrt.
49537 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49538 __ieee754_sqrtf instead of sqrtf.
49539 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49540 __floorf instead of floorf.
49541 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49542 __floorf, __truncf instead of floorf, truncf.
49543
495442011-09-14 Ulrich Drepper <drepper@gmail.com>
49545
49546 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49547
49548 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49549 __extern_always_inline.
49550 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49551 32-bit.
49552
495532011-09-14 Andreas Schwab <schwab@redhat.com>
49554
49555 * elf/rtld.c (dl_main): Also relocate in dependency order when
49556 doing symbol dependency testing.
49557
495582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49559
49560 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49561 Always define `refsym'.
49562
495632011-09-13 Andreas Schwab <schwab@redhat.com>
49564
49565 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49566 (__FD_ELT): Renamed from __FDELT.
49567 * misc/bits/select2.h (__FD_ELT): Likewise.
49568 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49569 __FD_MASK instead of __FDELT, __FDMASK.
49570 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49571 Likewise.
49572 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49573 Likewise.
49574
49575 * elf/Makefile (gen-ldd): Fix pattern.
49576
49577 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49578 (init_tls): Likewise.
49579
495802011-09-12 Ulrich Drepper <drepper@gmail.com>
49581
49582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49583
495842011-09-12 Andreas Schwab <schwab@redhat.com>
49585
49586 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49587 `struct cmsghdr *' instead of `void *'.
49588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49589 Likewise.
49590
495912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49592
49593 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49594 if non-absolute.
49595 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49596 ldd_rewrite_script.
49597
495982011-09-11 Ulrich Drepper <drepper@gmail.com>
49599
49600 * configure.in: Remove --with-tls option.
49601 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49602 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49603 out in case it is missing.
49604 * sysdeps/ia64/elf/configure.in: Likewise.
49605 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49606 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49607 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49608 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49609 * sysdeps/sh/elf/configure.in: Likewise.
49610 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49611 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49612 * sysdeps/x86_64/elf/configure.in: Likewise.
49613 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49614 * sysdeps/mach/hurd/tls.h: Likewise.
49615
49616 [BZ #13067]
49617 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49618
49619 [BZ #13090]
49620 * configure.in: Fix use of AC_INIT.
49621
49622 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49623
496242011-09-10 Ulrich Drepper <drepper@gmail.com>
49625
49626 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49627 __set_errno.
49628 * malloc/hooks.c: Likewise.
49629
49630 [BZ #11929]
49631 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49632 variables statically.
49633 (narenas): Initialize.
49634 (list_lock): Initialize.
49635 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49636 initializtion of main_arena and list_lock. Small cleanups.
49637 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49638 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49639 Add initializers to main_arena and mp_.
49640 (malloc_state): Remove pagesize member. Change all users to use
49641 GLRO(dl_pagesize).
49642
49643 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49644 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49645 is always initialized.
49646
49647 * malloc/malloc.c: Removed unused configurations and dead code.
49648 * malloc/arena.c: Likewise.
49649 * malloc/hooks.c: Likewise.
49650 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49651
49652 * include/tls.h: Removed. USE___THREAD must always be defined.
49653 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49654 * elf/dl-libc.c: Likewise.
49655 * elf/dl-tsd.c: Likewise.
49656 * include/errno.h: Likewise.
49657 * include/netdb.h: Likewise.
49658 * include/resolv.h: Likewise.
49659 * inet/herrno-loc.c: Likewise.
49660 * inet/herrno.c: Likewise.
49661 * malloc/arena.c: Likewise.
49662 * malloc/hooks.c: Likewise.
49663 * malloc/malloc.c: Likewise.
49664 * resolv/res-state.c: Likewise.
49665 * resolv/res_libc.c: Likewise.
49666 * sysdeps/i386/dl-machine.h: Likewise.
49667 * sysdeps/ia64/dl-machine.h: Likewise.
49668 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49669 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49670 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49671 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49672 * sysdeps/sh/dl-machine.h: Likewise.
49673 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49674 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49675 * sysdeps/unix/i386/sysdep.S: Likewise.
49676 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49677 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49678 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49681 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49682 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49683 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49687 * sysdeps/x86_64/dl-machine.h: Likewise.
49688 * tls.make.c: Likewise.
49689
49690 * configure.in: Remove --with-__thread option. Make tests for
49691 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49692 tls_model attribute fail if no support is available. Remove
49693 USE_IN_LIBIO.
49694 * Makeconfig: Adjust for dropped configure option. All features are
49695 now mandatory.
49696 * Makerules: Likewise.
49697 * Versions.def: Likewise.
49698 * argp/argp-fmtstream.c: Likewise.
49699 * argp/argp-fmtstream.h: Likewise.
49700 * argp/argp-help.c: Likewise.
49701 * assert/assert.c: Likewise.
49702 * config.h.in: Likewise.
49703 * config.make.in: Likewise.
49704 * configure: Likewise.
49705 * configure.in: Likewise.
49706 * csu/Versions: Likewise.
49707 * csu/init.c: Likewise.
49708 * elf/tst-audit2.c: Likewise.
49709 * elf/tst-tls10.c: Likewise.
49710 * elf/tst-tls10.h: Likewise.
49711 * elf/tst-tls11.c: Likewise.
49712 * elf/tst-tls12.c: Likewise.
49713 * elf/tst-tls14.c: Likewise.
49714 * elf/tst-tlsmod11.c: Likewise.
49715 * elf/tst-tlsmod12.c: Likewise.
49716 * elf/tst-tlsmod13.c: Likewise.
49717 * elf/tst-tlsmod13a.c: Likewise.
49718 * elf/tst-tlsmod14a.c: Likewise.
49719 * elf/tst-tlsmod15b.c: Likewise.
49720 * elf/tst-tlsmod16a.c: Likewise.
49721 * elf/tst-tlsmod16b.c: Likewise.
49722 * elf/tst-tlsmod7.c: Likewise.
49723 * elf/tst-tlsmod8.c: Likewise.
49724 * elf/tst-tlsmod9.c: Likewise.
49725 * gmon/gmon.c: Likewise.
49726 * grp/fgetgrent_r.c: Likewise.
49727 * grp/putgrent.c: Likewise.
49728 * hurd/fopenport.c: Likewise.
49729 * include/libc-symbols.h: Likewise.
49730 * include/tls.h: Likewise.
49731 * intl/gettextP.h: Likewise.
49732 * intl/loadinfo.h: Likewise.
49733 * locale/global-locale.c: Likewise.
49734 * locale/localeinfo.h: Likewise.
49735 * mach/devstream.c: Likewise.
49736 * malloc/arena.c: Likewise.
49737 * malloc/set-freeres.c: Likewise.
49738 * misc/err.c: Likewise.
49739 * misc/getttyent.c: Likewise.
49740 * misc/mntent_r.c: Likewise.
49741 * posix/getopt.c: Likewise.
49742 * posix/wordexp.c: Likewise.
49743 * pwd/fgetpwent_r.c: Likewise.
49744 * resolv/Versions: Likewise.
49745 * resolv/res_hconf.c: Likewise.
49746 * shadow/fgetspent_r.c: Likewise.
49747 * shadow/putspent.c: Likewise.
49748 * stdio-common/printf_fphex.c: Likewise.
49749 * stdio-common/tmpfile.c: Likewise.
49750 * stdlib/abort.c: Likewise.
49751 * stdlib/fmtmsg.c: Likewise.
49752 * sunrpc/auth_unix.c: Likewise.
49753 * sunrpc/clnt_perr.c: Likewise.
49754 * sunrpc/clnt_tcp.c: Likewise.
49755 * sunrpc/clnt_udp.c: Likewise.
49756 * sunrpc/clnt_unix.c: Likewise.
49757 * sunrpc/openchild.c: Likewise.
49758 * sunrpc/svc_simple.c: Likewise.
49759 * sunrpc/svc_tcp.c: Likewise.
49760 * sunrpc/svc_udp.c: Likewise.
49761 * sunrpc/svc_unix.c: Likewise.
49762 * sunrpc/xdr.c: Likewise.
49763 * sunrpc/xdr_array.c: Likewise.
49764 * sunrpc/xdr_rec.c: Likewise.
49765 * sunrpc/xdr_ref.c: Likewise.
49766 * sunrpc/xdr_stdio.c: Likewise.
49767
497682011-09-09 Ulrich Drepper <drepper@gmail.com>
49769
49770 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49771
497722011-07-03 Andreas Jaeger <aj@suse.de>
49773
49774 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49775 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49776 regenerate with gen-libm-tests.pl.
49777
497782010-05-12 Petr Baudis <pasky@suse.cz>
49779
49780 [BZ #11589]
49781 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49782 around j0() zero points by switching to j1().
49783 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49786 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49787
497882011-09-09 Ulrich Drepper <drepper@gmail.com>
49789
49790 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49791 instead of 0.
49792 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49793 instead of 0.
49794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49795 Patch in part by Pavel Roskin <proski@gnu.org>.
49796
49797 [BZ #13138]
49798 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49799 realloc.
49800 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49801 Free memory block if necessary.
49802
49803 [BZ #12847]
49804 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49805 be NULL. Don't lock in this case.
49806
498072011-09-09 Roland McGrath <roland@hack.frob.com>
49808
49809 * elf/elf.h (ELFOSABI_GNU): New macro.
49810 (ELFOSABI_LINUX): Define to that.
49811
498122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49813
49814 * string/strncat.c (strncat): Undef the symbol in case it has been
49815 defined in bits/string.h.
49816
498172011-09-09 Ulrich Drepper <drepper@gmail.com>
49818
49819 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49820
49821 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49822 link map.
49823
498242011-08-17 Andreas Jaeger <aj@suse.de>
49825
49826 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49827
498282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49829 Ian Lance Taylor <iant@google.com>
49830
49831 * math/libm-test.inc (lround_test): New testcase.
49832 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49833
498342011-09-08 Ulrich Drepper <drepper@gmail.com>
49835
49836 * Makefile: Remove support for automatic cvs check-ins.
49837 * Makerules: Likewise.
49838 * config.make.in: Likewise.
49839 * configure.in: Likewise.
49840 * intl/Makefile: Likewise.
49841 * locale/Makefile: Likewise.
49842 * po/Makefile: Likewise.
49843 * posix/Makefile: Likewise.
49844 * sysdeps/gnu/Makefile: Likewise.
49845 * sysdeps/mach/hurd/Makefile: Likewise.
49846 * sysdeps/sparc/sparc32/Makefile: Likewise.
49847
49848 [BZ #13118]
49849 * posix/Makefile (bug-regex32-ENV): Define.
49850 Patch by John Stanley <jpsinthemix@verizon.net>.
49851
49852 * misc/Makefile (headers): Add bits/select2.h.
49853 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49854 * misc/bits/select2.h: New file.
49855 * include/bits/select2.h: New file.
49856 * debug/Makefile (routines): Add fdelt_chk.
49857 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49858 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49859 FD_ISSET.
49860 * debug/fdelt_chk.c: New file.
49861
49862 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49863 * wcsmbs/test-wmemcmp.c: Likewise.
49864 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49865 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49866
498672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49868
49869 * string/Makefile (strop-tests): Add memcmp.
49870 * string/test-wmemcmp.c: New file.
49871 * string/test-memcmp.c: Add wmemcmp support.
49872
498732011-09-08 Roland McGrath <roland@hack.frob.com>
49874
49875 [BZ #13153]
49876 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49877 2011-07-19 change.
49878
49879 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49880 garbage value in a __mach_port_mod_refs call in the cases of the
49881 task-self and thread-self ports.
49882
498832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49884
49885 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49886
498872011-09-08 Andreas Schwab <schwab@redhat.com>
49888
49889 * elf/dl-load.c (lose): Check for non-null L.
49890
498912011-09-07 Ulrich Drepper <drepper@gmail.com>
49892
49893 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49894
49895 * elf/dl-libc.c (dlerror_run): Pass back error code from
49896 dl_catch_error.
49897
49898 [BZ #13123]
49899 * elf/dl-load.c (lose): Free l_origin if it is valid.
49900
49901 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49902 names.
49903 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49904 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49906 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49907 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49908 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49909
499102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49911
49912 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49913 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49914 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49915 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49916 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49917 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49918 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49919 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49920 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49921 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49922
499232011-08-15 Alan Modra <amodra@gmail.com>
49924
49925 [BZ #13092]
49926 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49927 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49928 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49929 ppc_mcount to static-only-routines.
49930 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49931 __mcount_internal.
49932 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49933 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49934
499352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49936
49937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49938 for finite and infinity parameters.
49939
499402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49941
49942 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49943 and add nop instructions for throughput optimization.
49944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49945
499462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49947
49948 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49949 aligned copy for power7 with vector-scalar instructions.
49950 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49951
499522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49953
49954 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49955 AVX check.
49956
499572011-09-07 Andreas Schwab <schwab@redhat.com>
49958
49959 [BZ #13144]
49960 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49961 last change.
49962
499632011-09-07 Ulrich Drepper <drepper@gmail.com>
49964
49965 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49966 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49967 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49968 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49969 clock_gettime.
49970
499712011-09-06 Ulrich Drepper <drepper@gmail.com>
49972
49973 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49974 Forgot to demangle the pointer.
49975
49976 * sysdeps/i386/sysdep.h: Define atom_text_section.
49977 * sysdeps/x86_64/sysdep.h: Likewise.
49978 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49979 section with atom_text_section.
49980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49981 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49982 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49984 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49985
49986 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49987 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49988 already be defined. Change to take two parameters and don't assign
49989 result to variable. Adjust all users.
49990 Define INTERNAL_GETTIME if not already defined.
49991 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49992 call.
49993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49994 HAVE_CLOCK_GETTIME_VSYSCALL.
49995 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49996
49997 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49998 gettimeofday vsyscall, just use time.
49999
500002011-09-06 Andreas Schwab <schwab@redhat.com>
50001
50002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50003 <errno.h>.
50004
500052011-09-06 Ulrich Drepper <drepper@gmail.com>
50006
50007 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50008 syscall on x86-64.
50009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50010 syscall.
50011 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50012 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50013 syscall if possible.
50014
500152011-09-05 Ulrich Drepper <drepper@gmail.com>
50016
50017 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50018 e_ident. Don't pass to find_mapsXX.
50019 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50020
500212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50022
50023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50024 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50025 * sysdeps/x86_64/multiarch/strchr.S: Update.
50026 Check bit_slow_BSF bit.
50027 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50028 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50029 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50030
500312011-09-05 Ulrich Drepper <drepper@gmail.com>
50032
50033 [BZ #13134]
50034 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50035 before glibc 2.15.
50036 (tryshell): Define.
50037 (__spawni): Change last parameter to be flag. Test
50038 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50039 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50040 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50041 * posix/spawni.c: Likewise.
50042 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50043 * posix/spawnp.c: Likewise. Change normal version to use
50044 SPAWN_XFLAGS_USE_PATH.
50045 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50046 SPAWN_XFLAGS_TRY_SHELL.
50047
50048 [BZ #13150]
50049 * posix/glob.h: Remove gcc 1.x support.
50050
50051 [BZ #13068]
50052 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50053
500542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50055
50056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50057 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50058 strrchr-sse2-bsf
50059 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50060 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50061 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50063 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50064 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50065
500662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50067
50068 * sysdeps/x86_64/wcscmp.S: New file.
50069
50070 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50071 wcscmp-c wcscmp-sse2
50072 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50073 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50074 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50075 * wcsmbs/wcscmp.c: Allow renaming.
50076
500772011-09-05 David S. Miller <davem@davemloft.net>
50078
50079 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50080 stack slot, rather than the struct return pointer slot.
50081 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50082 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50084 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50085
500862011-09-05 Ulrich Drepper <drepper@gmail.com>
50087
50088 * po/ja.po: Update from translation team.
50089
50090 [BZ #13144]
50091 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50092 kernel in 64-bit binaries.
50093
500942011-09-01 David S. Miller <davem@davemloft.net>
50095
50096 * elf/elf.h (HWCAP_SPARC_*): Move to..
50097 * sysdeps/sparc/sysdep.h: this new file and add new values.
50098 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50099 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50100 _DL_HWCAP_COUNT to 24.
50101 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50102 entries.
50103 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50104 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50105 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50107 instead of magic constants.
50108 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50109
501102011-08-31 David S. Miller <davem@davemloft.net>
50111
50112 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50114 Reimplement to do errno handling inline.
50115 (SYSCALL_ERROR_HANDLER): New macro.
50116 (__SYSCALL_STRING): Do not do errno handling in asm.
50117 (__CLONE_SYSCALL_STRING): Delete.
50118 (__INTERNAL_SYSCALL_STRING): Delete.
50119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50120 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50121 (PSEUDO): Reimplement to do errno handling inline.
50122 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50123 (SYSCALL_ERROR_HANDLER): New macro.
50124 (__SYSCALL_STRING): Do not do errno handling in asm.
50125 (__CLONE_SYSCALL_STRING): Delete.
50126 (__INTERNAL_SYSCALL_STRING): Delete.
50127 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50128 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50129 i386.
50130 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50131 (inline_syscall*): Add 'err' argument.
50132 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50133 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50134 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50135 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50136
50137 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50138 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50139
501402011-08-30 Andreas Schwab <schwab@redhat.com>
50141
50142 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50143
501442011-08-29 Jiri Olsa <jolsa@redhat.com>
50145
50146 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50147 directive.
50148
501492011-08-24 David S. Miller <davem@davemloft.net>
50150
50151 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50152
501532011-08-24 Andreas Schwab <schwab@redhat.com>
50154
50155 * elf/Makefile: Add rules to build and run unload8 test.
50156 * elf/unload8.c: New file.
50157 * elf/unload8mod1.c: New file.
50158 * elf/unload8mod1x.c: New file.
50159 * elf/unload8mod2.c: New file.
50160 * elf/unload8mod3.c: New file.
50161
50162 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50163 it wasn't used.
50164
501652011-08-23 David S. Miller <davem@davemloft.net>
50166
50167 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50168 subtract stack bias.
50169 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50170 %sp not %fp in calculations.
50171 (_JMPBUF_UNWINDS_ADJ): Likewise.
50172
50173 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50174 (aio_suspend): Call it to force an exception region around the
50175 AIO_MISC_WAIT() invocation.
50176
501772011-08-23 Andreas Schwab <schwab@redhat.com>
50178
50179 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50180 backslash.
50181
501822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50183
50184 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50185 protection macro.
50186 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50187 and <dl-machine.h>.
50188 (Elf64_FuncDesc): Remove.
50189
501902011-08-22 David S. Miller <davem@davemloft.net>
50191
50192 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50193 sigaltstack check, add missing cfi directives.
50194 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50195 missing cfi directives, and sigaltstack handling.
50196
501972011-08-16 Andreas Schwab <schwab@redhat.com>
50198
50199 [BZ #11724]
50200 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50201 object is seen twice.
50202 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50203
50204 * elf/Makefile (distribute): Add tst-initorder2.c.
50205 (tests): Add tst-initorder2.
50206 (modules-names): Add tst-initorder2a tst-initorder2b
50207 tst-initorder2c tst-initorder2d. Add rules to build them.
50208 ($(objpfx)tst-initorder2.out): New rule.
50209 * elf/tst-initorder2.c: New file.
50210 * elf/tst-initorder2.exp: New file.
50211
502122011-08-22 Andreas Schwab <schwab@redhat.com>
50213
50214 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50215
50216 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50217 dependencies back to end of function.
50218
50219 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50220 $(elfobjdir)/ld.so.
50221
502222011-08-21 Ulrich Drepper <drepper@gmail.com>
50223
50224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50225 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50227 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50228 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50229 of __vdso_gettimeofday.
50230 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50231 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50232 attribute_hidden.
50233 (_libc_vdso_platform_setup): Remove initialization of
50234 __vdso_gettimeofday and __vdso_time.
50235
502362011-08-20 Ulrich Drepper <drepper@gmail.com>
50237
50238 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50239 and fgetc_unlocked.
50240 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50241 getc_unlocked.
50242
50243 * elf/dl-open.c (add_to_global): Report additions to the global scope
50244 for LD_DEBUG=scopes.
50245 (dl_open_worker): Also print scope of newly loaded dependencies.
50246 (_dl_show_scope): Indicate if there is no scope.
50247
50248 [BZ #13114]
50249 * stdio-common/Makefile (tests): Add bug24.
50250 * stdio-common/bug24.c: New file.
50251
502522011-08-19 Andreas Jaeger <aj@suse.de>
50253
50254 [BZ #13114]
50255 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50256 non-existant file when using close-on-exec mode.
50257
502582011-08-20 Ulrich Drepper <drepper@gmail.com>
50259
50260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50261 the very first instruction.
50262
50263 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50264 the CFI state in the end.
50265 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50266 inclusion of dl-trampoline.h.
50267 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50268
502692011-08-19 Andreas Schwab <schwab@redhat.com>
50270
50271 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50272 expectations for long double.
50273
50274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50275 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50276
502772011-08-14 David S. Miller <davem@davemloft.net>
50278
50279 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50280 artificual limit depends upon the system page size.
50281
502822011-08-17 Ulrich Drepper <drepper@gmail.com>
50283
50284 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50285 * resolv/Makefile: Define CFLAGS-libresolv.
50286
502872011-08-17 Andreas Schwab <schwab@redhat.com>
50288
50289 * nss/makedb.c (compute_tables): Make variables used in nested
50290 function static.
50291
502922011-08-17 Ulrich Drepper <drepper@gmail.com>
50293
50294 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50295 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50296 if buffer was too small.
50297
50298 * elf/pldd.c (main): Attach to all threads in the process.
50299 Rewrite /proc handling to use *at functions.
50300
503012011-08-16 Ulrich Drepper <drepper@gmail.com>
50302
50303 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50304 specifies first scope to show.
50305 (dl_open_worker): Update callers. Move printing scope of new
50306 object to before the relocation.
50307 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50308 * sysdeps/generic/ldsodefs.h: Update declaration.
50309
50310 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50311 string for the scope number.
50312
503132011-08-14 Ulrich Drepper <drepper@gmail.com>
50314
50315 * nscd/servicescache.c (cache_addserv): Make sure written is always
50316 initialized.
50317
503182011-08-14 Roland McGrath <roland@hack.frob.com>
50319
50320 * sysdeps/i386/i486/bits/atomic.h
50321 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50322 statement expression, so as to suppress "set but not used" warning.
50323 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50324
50325 * string/strncat.c (STRNCAT): Use prototype definition.
50326
50327 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50328 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50329 -Iprograms here.
50330 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50331 (localedef-modules): Add localedef.
50332 (locale-modules): Add locale.
50333
50334 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50335 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50336 to avoid a warning.
50337
503382011-08-14 David S. Miller <davem@davemloft.net>
50339
50340 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50341 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50342
503432011-08-13 Ulrich Drepper <drepper@gmail.com>
50344
50345 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50346 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50347 * elf/rtld.c (dl_main): Set l_name of vDSO.
50348 Call _dl_show_scope when DL_DEBUG_SCOPES.
50349 (process_dl_debug): Recognize scopes flag and also set it for all.
50350 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50351 Declare _dl_show_scope.
50352
50353 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50354 (do_dlopen): Pass caller_dlopen to dl_open.
50355 (__libc_dlopen_mode): Initialize caller_dlopen.
50356
50357 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50358 of libc. Make tolower call locale-independent. Optimize a bit by
50359 using isdigit instead of isalnum.
50360 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50361
503622011-08-12 Ulrich Drepper <drepper@gmail.com>
50363
50364 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50365 was a dependency or dynamically loaded.
50366
503672011-08-11 Ulrich Drepper <drepper@gmail.com>
50368
50369 * intl/l10nflist.c: Allow architecture-specific pop function.
50370 * sysdeps/x86_64/l10nflist.c: New file.
50371
50372 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50373 classification.
50374
503752011-08-10 Andreas Schwab <schwab@redhat.com>
50376
50377 * include/dirent.h: Add libc_hidden_proto for scandirat and
50378 scandirat64. Don't declare __scandirat64.
50379 * dirent/scandirat.c: Add libc_hidden_def.
50380 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50381 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50382
503832011-08-10 David S. Miller <davem@davemloft.net>
50384
50385 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50386 enum.
50387 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50389 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50390
503912011-08-09 Ulrich Drepper <drepper@gmail.com>
50392
50393 * Versions.def [libc]: Add GLIBC_2.15.
50394 * dirent/Makefile (routines): Add scandirat and scandirat64.
50395 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50396 GLIBC_2.15.
50397 * dirent/dirent.h: Declare scandirat and scandirat64.
50398 * dirent/scandirat.c: New file.
50399 * dirent/scandirat64.c: New file.
50400 * sysdeps/wordsize-64/scandirat.c: New file.
50401 * sysdeps/wordsize-64/scandirat64.c: New file.
50402 * dirent/opendir.c: Define opendirat.
50403 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50404 using scandirat.
50405 * dirent/scandir64.c: Adjust for scandir.c change.
50406 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50407 __scandirat64, and __scandir_cancel_handler.
50408 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50409 additional parameter and use openat instead of open (outside of ld.so).
50410 Add new __opendir as wrapper around __opendirat.
50411 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50412 here without requiring old scandirat implementation.
50413
504142011-08-08 Ulrich Drepper <drepper@gmail.com>
50415
50416 * dirent/scandir.c (cancel_handler): Renamed to
50417 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50418 defined. Adjust users.
50419 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50420 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50421
504222011-08-04 Ulrich Drepper <drepper@gmail.com>
50423
50424 * string/test-string.h (IMPL): Use __STRING to expand name and then
50425 stringify it.
50426
50427 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50428 of cleanups.
50429
504302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50431
50432 * string/Makefile: Update.
50433 (strop-tests): Append strncat.
50434 * string/test-wcscmp.c: New file.
50435 New comprehensive test for wcscmp.
50436 * string/test-strcmp.c: Update.
50437 (WIDE): New define.
50438
504392011-07-22 Andreas Schwab <schwab@redhat.com>
50440
50441 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50442 line.
50443
504442011-07-26 Andreas Schwab <schwab@redhat.com>
50445
50446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50447 encoding to ACE if AI_IDN.
50448
504492011-08-01 Jakub Jelinek <jakub@redhat.com>
50450
50451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50452 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50453
504542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50455
50456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50457 Fix overflow bug in strncat.
50458 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50459
50460 * string/test-strncat.c: Update.
50461 Add new tests for checking overflow bugs.
50462
504632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50464
50465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50466 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50467 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50468 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50469 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50470 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50471 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50472 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50473 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50474
50475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50476 (USE_AS_STRCAT): Define.
50477 Add strcat and strncat support.
50478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50479
504802011-07-25 Andreas Schwab <schwab@redhat.com>
50481
50482 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50483 __n bigger than INT_MAX+1.
50484 (__strncmp_g): Likewise.
50485
504862011-07-23 Ulrich Drepper <drepper@gmail.com>
50487
50488 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50489 * libio/stido.h: Likewise.
50490
50491 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50492 (AF_NFC): Define.
50493 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50494 (AF_NFC): Define.
50495
50496 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50497 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50499 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50501
50502 [BZ #13021]
50503 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50504 installed.
50505
50506 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50507 typo.
50508 (_dl_x86_64_save_sse): Likewise.
50509
505102011-07-22 Ulrich Drepper <drepper@gmail.com>
50511
50512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50513 OSXSAVE.
50514 (_dl_x86_64_save_sse): Likewise.
50515
50516 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50517
50518 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50519
505202011-07-21 Andreas Schwab <schwab@redhat.com>
50521
50522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50523 change.
50524 (_dl_x86_64_save_sse): Use correct AVX check.
50525
505262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50527
50528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50529 bug in strncpy/strncat.
50530 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50531
505322011-07-21 Ulrich Drepper <drepper@gmail.com>
50533
50534 * string/tester.c (test_strcat): Add tests for different alignments
50535 of source and destination.
50536 (test_strncat): Likewise.
50537
505382011-07-20 Ulrich Drepper <drepper@gmail.com>
50539
50540 [BZ #12852]
50541 * posix/glob.c (glob): Check passed in values before using them in
50542 expressions to avoid some overflows.
50543 (glob_in_dir): Likewise.
50544
50545 [BZ #13007]
50546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50547 check for AVX enablement so that we don't crash with old kernels and
50548 new hardware.
50549 * elf/tst-audit4.c: Add same checks here.
50550 * elf/tst-audit6.c: Likewise.
50551
50552 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50553
505542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50555
50556 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50557
505582011-07-20 Ulrich Drepper <drepper@gmail.com>
50559
50560 * po/cs.po: Update from translation team.
50561 * po/bg.po: Likewise.
50562
505632011-07-12 Marek Polacek <mpolacek@redhat.com>
50564
50565 * misc/sys/cdefs.h: Add support for const attribute.
50566 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50567 to gnu_dev_{major,minor,makedev} functions.
50568
505692011-07-20 Marek Polacek <mpolacek@redhat.com>
50570
50571 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50572
505732011-07-20 Andreas Schwab <schwab@redhat.com>
50574
50575 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50576 strlen results.
50577
505782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50579
50580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50581 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50582 register in order to avoid conflicts with the soft frame pointer
50583 being held in r11 when necessary.
50584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50585 (INTERNAL_VSYSCALL_NCS): Likewise.
50586
505872011-07-14 Marek Polacek <mpolacek@redhat.com>
50588
50589 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50590 * elf/dl-fini.c (_dl_fini): Adjust caller.
50591 * elf/dl-close.c (_dl_close_worker): Likewise.
50592 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50593
505942011-07-15 Marek Polacek <mpolacek@redhat.com>
50595
50596 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50597 "aux_cache->nlibs < 0".
50598
50599 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50600 in the reload-count case.
50601
506022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50603
50604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50605 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50606 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50607 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50608 * sysdeps/x86_64/multiarch/strcat.S: New file.
50609 * sysdeps/x86_64/multiarch/strncat.S: New file.
50610 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50612 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50613 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50615 (USE_AS_STRCAT): Define.
50616 Add strcat and strncat support.
50617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50618 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50619 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50620 * string/strncat.c: Update.
50621 (USE_AS_STRNCAT): Define.
50622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50623 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50624 and i7.
50625 * sysdeps/x86_64/multiarch/init-arch.h
50626 (bit_Prefer_PMINUB_for_stringop): New.
50627 (index_Prefer_PMINUB_for_stringop): Likewise.
50628 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50629 bit_Prefer_PMINUB_for_stringop.
50630
506312011-07-19 Ulrich Drepper <drepper@gmail.com>
50632
50633 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50634 buffer64.
50635 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50636 of casting of buffer.
50637 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50638 buffer32 and buffer64.
50639 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50640 writes instead of casting of buffer.
50641 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50642 buffer32.
50643 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50644 casting of buffer.
50645
506462011-07-19 Andreas Schwab <schwab@redhat.com>
50647
50648 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50649
506502011-07-19 Ulrich Drepper <drepper@gmail.com>
50651
50652 * nscd/nscd.c (termination_handler): Don't do anything for a database
50653 if it has not yet been initialized.
50654
506552011-07-18 Ulrich Drepper <drepper@gmail.com>
50656
50657 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50658
506592011-07-15 Marek Polacek <mpolacek@redhat.com>
50660
50661 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50662
506632011-07-18 Ulrich Drepper <drepper@gmail.com>
50664
50665 * po/nl.po: Update from translation team.
50666 * po/sv.po: Likewise.
50667
506682011-07-16 Roland McGrath <roland@hack.frob.com>
50669
50670 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50671 now disallowed by GCC.
50672
50673 * configure.in (use-default-link): Default to yes if a test -shared
50674 link meets our qualifications.
50675 * configure: Regenerated.
50676
50677 * config.make.in (output-format): New variable.
50678 * configure.in: Check for ld --print-output-format support.
50679 * configure: Regenerated.
50680 * Makerules ($(common-objpfx)format.lds)
50681 [$(output-format) != unknown]: Just use $(output-format),
50682 instead of the linker-script munging.
50683
506842011-07-14 Roland McGrath <roland@hack.frob.com>
50685
50686 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50687 of $(common-objpfx)shlib.lds.
50688 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50689
50690 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50691 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50692
50693 * configure.in (-z relro check): Adjust test code to add a large
50694 writable data section after it.
50695 * configure: Regenerated.
50696
506972011-07-11 Roland McGrath <roland@hack.frob.com>
50698
50699 * configure.in (-z relro check): Fix test code to make the variable
50700 truly const.
50701 * configure: Regenerated.
50702
507032011-07-11 Ulrich Drepper <drepper@gmail.com>
50704
50705 * nscd/nscd.h (struct traced_file): Define.
50706 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50707 elements. Add traced_files.
50708 (inotify_fd): Declare.
50709 (register_traced_file): Declare.
50710 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50711 (inotify_fd): Export.
50712 (resolv_conf_descr): Remove.
50713 (nscd_init): Move inotify descriptor creation to main.
50714 Don't register files for notification here.
50715 (register_traced_file): New function.
50716 (invalidate_cache): Don't use reset_res to determine whether to call
50717 res_init, go through the list of registered files.
50718 (main_loop_poll): The inotify descriptors are now stored in the
50719 structures for the traced files.
50720 (main_loop_epoll): Likewise
50721 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50722 to __nss_disable_nscd.
50723 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50724 for a database anymore. Check the records for all the registered
50725 files instead.
50726 * nss/Makefile (libnss_files-routines): Add files-init.
50727 (libnss_db-routines): Add db-init.
50728 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50729 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50730 * nss/nss_db/db-init.c: New file.
50731 * nss/nss_files/files-init.c: New file.
50732 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50733 __nss_lookup_function.
50734 (__nss_lookup_function): Call nss_load_library.
50735 (nss_load_all_libraries): New function.
50736 (__nss_disable_nscd): Take parameter with callback function for files
50737 to register. Set is_nscd. Load all the DSOs for the NSS modules
50738 used for the cached services.
50739 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50740 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50741 options for features to all the files in nscd.
50742
50743 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50744
507452011-07-10 Roland McGrath <roland@hack.frob.com>
50746
50747 * csu/elf-init.c (__libc_csu_init): Comment typo.
50748
507492011-07-09 Ulrich Drepper <drepper@gmail.com>
50750
50751 * po/pl.po: Update from translation team.
50752 * po/ja.po: Likewise.
50753 * po/ru.po: Likewise.
50754 * po/ko.po: Likewise.
50755 * po/fr.po: Likewise.
50756
507572011-07-09 Roland McGrath <roland@hack.frob.com>
50758
50759 * configure.in (.ctors/.dtors header and trailer check):
50760 Use an empirical test on a built program.
50761 * configure: Regenerated.
50762
50763 * configure.in (-z relro check): Use an empirical test on a built DSO.
50764 Detect, but do not require, on ia64.
50765 * configure: Regenerated.
50766
50767 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50768 Update tests that use readelf to use $READELF instead.
50769 * configure: Regenerated.
50770
507712011-07-08 Ulrich Drepper <drepper@gmail.com>
50772
50773 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50774 if the result is not used.
50775
507762011-07-05 Andreas Jaeger <aj@suse.de>
50777
50778 [BZ#9696]
50779 * stdlib/tst-strtod.c: Add testcase.
50780
507812011-07-07 Ulrich Drepper <drepper@gmail.com>
50782
50783 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50784 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50785 The latter has a higher limit. Take additional parameter to pass to
50786 the new function.
50787 (__pathconf): Pass file to __statfs_link_max.
50788 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50789 __statfs_link_max.
50790 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50791 __statfs_link_max.
50792
50793 [BZ #12868]
50794 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50796 Handle Lustre.
50797 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50798 (__statfs_filesize_max): Likewise.
50799 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50800
508012011-07-05 Andreas Jaeger <aj@suse.de>
50802
50803 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50804
508052011-07-06 Marek Polacek <mpolacek@redhat.com>
50806
50807 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50808 `status' variable.
50809 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50810 Likewise.
50811
508122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50813
50814 * Makefile (strop-tests): Add strncat.
50815 * string/test-strncat.c: New file.
50816
508172011-06-30 Marek Polacek <mpolacek@redhat.com>
50818
50819 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50820
508212011-06-21 Andreas Jaeger <aj@suse.de>
50822
50823 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50824 Copy rule from iconvdata/Makefile.
50825
508262011-07-06 Ulrich Drepper <drepper@gmail.com>
50827
50828 [BZ #12922]
50829 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50830 but no long options are defined, just return 'W'.
50831
508322011-06-22 Marek Polacek <mpolacek@redhat.com>
50833
50834 [BZ #9696]
50835 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50836
508372011-07-06 Ulrich Drepper <drepper@gmail.com>
50838
50839 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50840 netgroups to read.
50841 (innetgr): Likewise.
50842
508432011-07-05 Roland McGrath <roland@hack.frob.com>
50844
50845 * config.make.in (install_root): Default to $(DESTDIR).
50846
508472011-07-05 Ulrich Drepper <drepper@gmail.com>
50848
50849 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50850
508512011-07-02 Roland McGrath <roland@hack.frob.com>
50852
50853 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50854
50855 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50856 containing directory rather than embedding absolute directory names.
50857
50858 * scripts/check-local-headers.sh: Rewritten using awk.
50859 Match by word, not by line. Print error messages for matches.
50860 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50861
50862 * Makerules [shlib-lds-flags empty]:
50863 ($(common-objpfx)libc_pic.opts): New target.
50864 ($(common-objpfx)libc_pic.os.clean): New target.
50865 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50866
50867 * config.make.in (OBJCOPY): New variable.
50868 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50869 * configure: Regenerated.
50870
50871 * config.make.in (use-default-link): New variable.
50872 * configure.in (use_default_link): Grok --with-default-link to set it.
50873 * configure: Regenerated.
50874 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50875 (shlib-lds, shlib-lds-flags): Define to empty.
50876
50877 * Makerules (shlib-lds): New variable.
50878 (shlib-lds-flags): New variable.
50879 (build-shlib, build-moduile, build-module-asneeded): Use it.
50880 ($(common-objpfx)libc.so): Use $(shlib-lds).
50881 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50882 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50883
50884 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50885 DT_FLAGS/DT_FLAGS_1 with zero flags.
50886
50887 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50888 linker script munging.
50889
508902011-07-02 Ulrich Drepper <drepper@gmail.com>
50891
50892 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50893 as 128-bit value.
50894 * crypt/sha512.c (sha512_process_block): Perform total addition using
50895 128-bit if possible.
50896 (__sha512_finish_ctx): Likewise.
50897 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50898 as 64-bit value.
50899 * crypt/sha256.c (SWAP64): Define.
50900 (sha256_process_block): Perform total addition using 64-bit if
50901 possible.
50902 (__sha256_finish_ctx): Likewise.
50903
509042011-07-01 Ulrich Drepper <drepper@gmail.com>
50905
50906 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50907 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50908 * nscd/hstcache.c (cache_addhst): Likewise.
50909 * nscd/grpcache.c (cache_addgr): Likewise.
50910 * nscd/aicache.c (addhstaiX): Likewise
50911 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50912
509132011-07-01 Thorsten Kukuk <kukuk@suse.de>
50914
50915 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50916 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50917 * nscd/hstcache.c (cache_addhst): Likewise.
50918 * nscd/grpcache.c (cache_addgr): Likewise.
50919 * nscd/aicache.c (addhstaiX): Likewise
50920
509212011-07-01 Andreas Schwab <schwab@redhat.com>
50922
50923 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50924 domain only when needed.
50925
509262011-06-30 Andreas Schwab <schwab@redhat.com>
50927
50928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50929 is always restored.
50930
509312011-06-29 Ulrich Drepper <drepper@gmail.com>
50932
50933 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50934 are re-adding the entry.
50935 * nscd/servicescache.c (cache_addserv): Likewise.
50936
509372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50938
50939 * sysdeps/generic/dl-irel.h: fix protection against multiple
50940 inclusions.
50941 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50942
509432011-06-28 Ulrich Drepper <drepper@gmail.com>
50944
50945 [BZ #12935]
50946 * malloc/memusage.sh: Fix quoting in message.
50947 * debug/xtrace.sh: Likewise.
50948
50949 * configure.in: Remove support for --experimental-malloc option, make
50950 it the default.
50951 * config.make.in: Likewise.
50952 * malloc/Makefile: Likewise.
50953
509542011-06-27 Andreas Schwab <schwab@redhat.com>
50955
50956 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50957 two-byte characters.
50958
509592011-06-27 Roland McGrath <roland@hack.frob.com>
50960
50961 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50962 AC_CACHE_CHECK invocation.
50963 * configure: Regenerated.
50964
50965 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50966
509672011-06-27 Ulrich Drepper <drepper@gmail.com>
50968
50969 [BZ #12350]
50970 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50971 bit from old_res_options.
50972
50973 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50974
50975 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50976 value type for setfct.
50977
509782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50979
50980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50981 __gettimeofday instead of gettimeofday.
50982
509832011-06-26 Ulrich Drepper <drepper@gmail.com>
50984
50985 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50986
509872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50988
50989 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50990
50991 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50992 info.
50993
509942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50995
50996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50997 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50998 strcpy-sse2-unaligned strncpy-sse2-unaligned
50999 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51000 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51001 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51002 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51003 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51006 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51007 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51008 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51009 (STRCPY): Support SSE2 and SSSE3 versions.
51010
510112011-06-24 Ulrich Drepper <drepper@gmail.com>
51012
51013 [BZ #12874]
51014 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51015 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51016 kernels which artificially limit size of requests.
51017
510182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51019
51020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51021 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51022 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51023 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51024 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51025 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51026 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51027 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51030 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51031 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51032 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51033 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51034 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51036 Enable unaligned load optimization for Intel Core i3, i5 and i7
51037 processors.
51038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51039 Define.
51040 (index_Fast_Unaligned_Load): Define.
51041 (HAS_FAST_UNALIGNED_LOAD): Define.
51042
510432011-06-23 Marek Polacek <mpolacek@redhat.com>
51044
51045 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51046
510472011-06-22 Ulrich Drepper <drepper@gmail.com>
51048
51049 [BZ #12907]
51050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51051 until it is clear that the information is realy needed.
51052 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51053
510542011-06-22 Andreas Schwab <schwab@redhat.com>
51055
51056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51057
510582011-06-22 Ulrich Drepper <drepper@gmail.com>
51059
51060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51061 /sys/devices/system/cpu/online if it is usable.
51062
51063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51064 reading the information from the /proc filesystem to once a second.
51065
510662011-06-21 Andreas Jaeger <aj@suse.de>
51067
51068 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51069 NULL after inclusion of kernel headers.
51070
510712011-06-21 Ulrich Drepper <drepper@gmail.com>
51072
51073 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51074 calls to internal_setent.
51075
51076 [BZ #12885]
51077 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51078 addresses using gethostbyname4_r ignore IPv4 addresses.
51079
51080 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51081 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51082
51083 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51084
510852011-06-20 David S. Miller <davem@davemloft.net>
51086
51087 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51088 inclusions.
51089 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51090
51091 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51092 (elf_irel): Use it.
51093 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51094 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51095 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51096 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51097 * sysdeps/x86_64/dl-irel.h: Likewise.
51098
51099 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51100 * elf/dl-sym.c: Likewise.
51101
511022011-06-15 Ulrich Drepper <drepper@gmail.com>
51103
51104 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51105 need to dereference resplen2.
51106
511072011-06-14 Andreas Schwab <schwab@redhat.com>
51108
51109 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51110
511112011-06-15 Ulrich Drepper <drepper@gmail.com>
51112
51113 * Makeconfig: Define vardbdir and inst_vardbdir.
51114 * nss/Makefile: Add rules to install db-Makefile.
51115
51116 * nss/nss_db/db-XXX.c: Cleanup.
51117
51118 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51119 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51120 GLIBC_PRIVATE.
51121 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51122 * nss/makedb.c: Implement -g option to specify that value strings
51123 are generated and should not be added to table iterated over for
51124 get*ent calls.
51125 * nss/nss_db/db-initgroups.c: New file.
51126
51127 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51128 interface.
51129
51130 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51131 (internal_getgrouplist): Adjust to name change.
51132 Update use_initgroups_entry if this is not the first call.
51133 * nss/databases.def: Add initgroups entry.
51134
51135 * nss/makedb.c (compute_tables): Check result of multiple hash table
51136 sizes to minimize maximum chain length.
51137
511382011-06-14 Ulrich Drepper <drepper@gmail.com>
51139
51140 * Versions.def: Add entry for libnss_db.
51141 * shlib-versions: Likewise.
51142 * nss/Makefile: Add rules to build libnss_db.
51143 * nss/Versions: Add libnss_db information. Organize libnss_files
51144 entries better.
51145 * nss/db-Makefile: Add gshadow support. Change rules for the new
51146 makedb progra. Some minor improvements to generate smaller files.
51147 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51148 here from...
51149 * nss/makedb.c: ...here.
51150 Improve database format to be smaller and require less memory at
51151 runtime.
51152 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51153 db anymore.
51154 * nss/nss_db/db-netgrp.c: Likewise.
51155 * nss/nss_db/db-open.c: Likewise.
51156 * nss/nss_files/flies-XXX.x: Adjust comments.
51157 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51158 * nss/nss_files/files-grp.c: Likewise.
51159 * nss/nss_files/files-hosts.c: Likewise.
51160 * nss/nss_files/files-network.c: Likewise.
51161 * nss/nss_files/files-proto.c: Likewise.
51162 * nss/nss_files/files-pwd.c: Likewise.
51163 * nss/nss_files/files-rpc.c: Likewise.
51164 * nss/nss_files/files-service.c: Likewise.
51165 * nss/nss_files/files-sgrp.c: Likewise.
51166 * nss/nss_files/files-spwd.c: Likewise.
51167 * nss/nss_db/db-alias.c: Removed.
51168 * nss/nss_db/dummy-db.h: Removed.
51169
511702011-06-02 Ulrich Drepper <drepper@gmail.com>
51171
51172 * nss/makedb.c: Rewritten to not use database library.
51173 * nss/Makefile: Update to build new makedb program.
51174
511752011-06-14 Andreas Jaeger <aj@suse.de>
51176
51177 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51178 memset declaration.
51179
511802011-06-10 Andreas Schwab <schwab@redhat.com>
51181
51182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51183 tmpbuf.
51184
511852011-06-10 Roland McGrath <roland@hack.frob.com>
51186
51187 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51188 * elf/Makefile ($(objpfx)ld.so): Likewise.
51189
51190 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51191 Don't list ld.so twice in dependencies.
51192
51193 * posix/bug-regex31.c: Include <stdlib.h>.
51194
51195 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51196
51197 * nis/nss_compat/compat-spwd.c
51198 (getspent_next_nss_netgr): Remove unused variable.
51199 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51200
51201 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51202 nonmembers" output to use the right array.
51203
51204 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51205
51206 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51207
51208 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51209 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51210 * catgets/gencat.c (read_input_file): Likewise.
51211 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51212
51213 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51214 variable definition inside #if's controlling its use.
51215
51216 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51217
51218 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51219
51220 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51221
51222 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51223 unreachable code.
51224
51225 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51226
51227 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51228 * configure: Regenerated.
51229
51230 * Makerules: Revert last change.
51231 * elf/Makefile: Likewise.
51232
512332011-06-09 Roland McGrath <roland@hack.frob.com>
51234
51235 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51236 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51237 (reloc-link): Likewise.
51238
512392011-06-09 Ulrich Drepper <drepper@gmail.com>
51240
51241 * elf/Makefile: Add rules to build pldd.
51242 * elf/pldd.c: New file.
51243 * elf/pldd-xx.c: New file.
51244
512452011-06-07 Ulrich Drepper <drepper@gmail.com>
51246
51247 * version.h: Update for 2.15 development version.
51248
512492011-06-07 David S. Miller <davem@davemloft.net>
51250
51251 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51252 ifuncs.
51253 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51254 elf_machine_lazy_rel): Likewise.
51255 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51257 elf_machine_lazy_rel): Likewise.
51258 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51259 dl_hwcap via passed in argument.
51260 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51261 Likewise.
51262
512632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51264
51265 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51266
512672011-06-06 Roland McGrath <roland@hack.frob.com>
51268
51269 [BZ #12849]
51270 * manual/fdl-1.1.texi: New file, verbatim from:
51271 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51272 * manual/lgpl-2.1.texi: New file, verbatim from:
51273 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51274 * manual/Makefile (licenses): New variable, list those new file names.
51275 (texis): Use it.
51276 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51277
51278 * manual/fdl.texi: File removed.
51279 * manual/lesser.texi: File removed.
51280 * manual/libc.texinfo (Copying, Documentation License):
51281 Use new @include file names, put @appendix directive before @include.
51282
512832011-06-04 Jakub Jelinek <jakub@redhat.com>
51284
51285 [BZ #12841]
51286 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51287 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51288 (mq_open): Add __NTH.
51289
512902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51291
51292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51293 Assume Intel Core i3/i5/i7 processor if AVX is available.
51294
512952011-05-31 Ulrich Drepper <drepper@gmail.com>
51296
51297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51298 typo.
51299
513002011-05-31 Andreas Schwab <schwab@redhat.com>
51301
51302 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51303 memory. Use alloca_account. Fix memory leak when retrying.
51304
513052011-05-31 Ulrich Drepper <drepper@gmail.com>
51306
51307 * version.h (RELEASE): Bump for 2.14 release.
51308 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51309
51310 * config.make.in (RANLIB): Remove entry.
51311
513122011-05-30 Ulrich Drepper <drepper@gmail.com>
51313
51314 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51315 (libc.pot): Work around missing support for .ksh extension in xgettext.
51316
51317 [BZ #12684]
51318 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51319 if both request failed.
51320 (send_dg): In case of server errors clear resplen or *resplen2.
51321
51322 [BZ #12454]
51323 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51324 when there are multiple maps.
51325 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51326 (_dl_fini): Remove test here.
51327
51328 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51329
513302011-05-29 Ulrich Drepper <drepper@gmail.com>
51331
51332 [BZ #12350]
51333 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51334 bit from old_res_options.
51335 (gaih_inet): Likewise.
51336
51337 [BZ #11099]
51338 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51339 as signed.
51340
51341 * resolv/res_init.c (res_setoptions): Make the code more compact.
51342
51343 [BZ #11558]
51344 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51345 set RES_USEVC.
51346
51347 [BZ #11634]
51348 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51349
51350 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51351
51352 [BZ #11781]
51353 * malloc/malloc.h: Declare malloc hook variables as volatile.
51354
51355 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51356 in last patch.
51357
51358 [BZ #11799]
51359 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51360 raise in the comment.
51361 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51363 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51364
513652011-05-28 Ulrich Drepper <drepper@gmail.com>
51366
51367 [BZ #12811]
51368 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51369 grow the buffers more if it already has to be sufficient.
51370 (build_wcs_upper_buffer): Likewise.
51371 * posix/regexec.c (check_matching): Likewise.
51372 (clean_state_log_if_needed): Likewise.
51373 (extend_buffers): Don't enlarge buffers beyond size of the input
51374 buffer.
51375 Patches mostly by Emil Wojak <emil@wojak.eu>.
51376 * posix/bug-regex32.c: New file.
51377 * posix/Makefile (tests): Add bug-regex32.
51378
51379 * locale/findlocale.c (_nl_find_locale): Return right away if
51380 _nl_explode_name failed.
51381 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51382
51383 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51384
51385 * debug/xtrace.sh: Unify messages.
51386 * malloc/memusage.sh: Likewise.
51387
51388 [BZ #12813]
51389 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51390 time symbol from vDSO. Substitute with vsyscall if not available.
51391 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51392 __vdso_time.
51393
51394 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51395 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51396 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51397 Add sendmmsg and internal_sendmmsg.
51398 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51399 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51400 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51401
51402 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51403 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51404 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51405
514062011-05-27 Ulrich Drepper <drepper@gmail.com>
51407
51408 [BZ #12813]
51409 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51410 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51411 available.
51412 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51413 __vdso_getcpu.
51414
51415 [BZ #12814]
51416 * iconvdata/Makefile (tests): Add bug-iconv9.
51417 * iconvdata/bug-iconv9.c: New file.
51418
514192011-05-27 Andreas Schwab <schwab@redhat.com>
51420
51421 [BZ #12814]
51422 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51423
514242011-05-25 Jakub Jelinek <jakub@redhat.com>
51425
51426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51427 (struct user_regs_struct): Change intcs field back to cs.
51428
514292011-05-25 Ulrich Drepper <drepper@gmail.com>
51430
51431 * po/ja.po: Update from translation team.
51432
514332011-05-23 Ulrich Drepper <drepper@gmail.com>
51434
51435 [BZ #12795]
51436 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51438
514392011-05-20 Andreas Schwab <schwab@redhat.com>
51440
51441 * stdlib/longlong.h: Update from GCC.
51442
514432011-05-23 Andreas Schwab <schwab@redhat.com>
51444
51445 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51446 parameter name.
51447 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51448 Add parameter name.
51449 (__sysconf): Pass it down.
51450
514512011-05-22 Ulrich Drepper <drepper@gmail.com>
51452
51453 [BZ #12671]
51454 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51455 some situations.
51456 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51457 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51458 add in in __libc_use_alloca calls. Adjust callers.
51459 (glob): Use malloc in some situations.
51460
51461 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51462 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51463 pltexit.
51464
514652011-05-21 Ulrich Drepper <drepper@gmail.com>
51466
51467 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51468 and CLOCK_BOOTTIME_ALARM.
51469
51470 [BZ #12782]
51471 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51472 is returned.
51473
51474 * string/_strerror.c (__strerror_r): Print negative errors as signed
51475 numbers.
51476
51477 [BZ #12777]
51478 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51479 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51480 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51481
51482 * configure.in: Fix typo in redirection and correct removal of test
51483 files in two cases.
51484
51485 [BZ #12788]
51486 * locale/setlocale.c (new_composite_name): Fix test to check for
51487 identical name of all categories.
51488
51489 [BZ #12792]
51490 * libio/filedoalloc.c (local_isatty): New function.
51491 (_IO_file_doallocate): Use local_isatty.
51492 * stdio-common/perror.c (perror): In case a new stream is used
51493 forward the stream error.
51494 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51495 error flag.
51496
514972011-05-20 Ulrich Drepper <drepper@gmail.com>
51498
51499 [BZ #11869]
51500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51501 alloca.
51502 * include/alloca.h (extend_alloca_account): Define.
51503
51504 [BZ #11857]
51505 * posix/regex.h: Fix comments with documentation of user-accessible
51506 fields after compilation and describe correct free'ing of pattern
51507 after re_compile_pattern.
51508 Patch by Reuben Thomas <rrt@sc3d.org>.
51509
515102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51511
51512 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51513 and -mno-altivec to prevent the compiler from using Altivec and/or
51514 VSX instructions when the corresponding registers are not available.
51515
515162011-05-19 Andreas Schwab <schwab@redhat.com>
51517
51518 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51519
515202011-05-19 Ulrich Drepper <drepper@gmail.com>
51521
51522 * libio/freopen.c (freopen): Use __dup2, not dup2.
51523 * libio/freopen64.c (freopen64): Likewise.
51524
515252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51526
51527 [BZ #12775]
51528 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51529 * math/Makefile (tests): Add test-powl.
51530 (CFLAGS-test-powl.c): Define.
51531 * math/test-powl.c: New file.
51532
515332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51534
51535 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51536
515372011-05-17 Ulrich Drepper <drepper@gmail.com>
51538
51539 [BZ #11837]
51540 * iconvdata/gb18030.c: Update to GB18020-2005.
51541
515422011-05-16 Ulrich Drepper <drepper@gmail.com>
51543
51544 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51545 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51546 Patch by Aharon Robbins <arnold@skeeve.com>.
51547
51548 [BZ #11892]
51549 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51550 on the stack.
51551
51552 [BZ #11895]
51553 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51554 through underflows.
51555
51556 [BZ #12766]
51557 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51558 point to strings before performing equality test for error_one_per_line
51559 mode.
51560
51561 [BZ #11697]
51562 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51563
51564 [BZ #11820]
51565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51566 (struct user_fpregs_struct): Avoid __uint*_t types.
51567
51568 [BZ #6420]
51569 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51570 symbol info. Use it instead of calling _dl_addr locally.
51571 (lock_and_info): New function.
51572 (tr_freehook): Call lock_and_info and pass symbol info as additional
51573 parameter to tr_where.
51574 (tr_mallochook): Likewise.
51575 (tr_reallochook): Likewise.
51576 (tr_memalignhook): Likewise.
51577
51578 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51579 used and couldn't be at all thread-safe.
51580
515812011-05-15 Ulrich Drepper <drepper@gmail.com>
51582
51583 * libio/freopen.c (freopen): Don't close old file descriptor
51584 before the new one is opened. Instead dup the new file descriptor
51585 to the old one after the new stream is created.
51586 * libio/freopen64.c (freopen64): Likewise.
51587 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51588 * libio/fileops.c (_IO_new_file_close_it): Handle new
51589 _IO_FLAGS2_NOCLOSE flag.
51590 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51591 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51592 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51593 _IO_FLAGS2_NOCLOSE flag.
51594 * include/unistd.h: Add hidden_proto for dup3.
51595 Define __have_dup3.
51596 * io/dup3.c: Define hidden symbol.
51597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51598
51599 [BZ #7101]
51600 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51601 when an incomplete long option is used.
51602 * posix/tst-getopt_long1.c: New file.
51603 * posix/Makefile (tests): Add tst-getopt_long1.
51604
51605 [BZ #10138]
51606 * scripts/config.guess: Update from autoconf-2.68.
51607 * scripts/config.sub: Likewise.
51608
51609 [BZ #10157]
51610 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51611 tests into ...
51612 (has_cpuclock): ...this. New function.
51613 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51614 macro here based on has_cpuclock code.
51615
51616 [BZ #10149]
51617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51618 First byte (not low byte) is now always NUL.
51619 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51620
51621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51622 Use non-cancelable interfaces.
51623
51624 [BZ #9809]
51625 * locale/iso-639.def: Add entry for Sorani.
51626
51627 [BZ #11901]
51628 * include/stdlib.h: Move include protection to the right place.
51629 Define abort_msg_s. Declare __abort_msg with it.
51630 * stdlib/abort.c (__abort_msg): Adjust type.
51631 * assert/assert.c (__assert_fail_base): New function. Majority
51632 of code from __assert_fail. Allocate memory for __abort_msg with
51633 mmap.
51634 (__assert_fail): Now call __assert_fail_base.
51635 * assert/assert-perr.c: Remove bulk of implementation. Use
51636 __assert_fail_base.
51637 * include/assert.hL Declare __assert_fail_base.
51638 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51639 mmap.
51640 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51641
516422011-05-14 Ulrich Drepper <drepper@gmail.com>
51643
51644 [BZ #11952]
51645 [BZ #12453]
51646 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51647 until all modules are registered in the DTV.
51648 * elf/Makefile: Add rules to build and run tst-tls19.
51649 * elf/tst-tls19.c: New file.
51650 * elf/tst-tls19mod1.c: New file.
51651 * elf/tst-tls19mod2.c: New file.
51652 * elf/tst-tls19mod3.c: New file.
51653 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51654
51655 [BZ #12083]
51656 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51657 correctly.
51658
51659 [BZ #12601]
51660 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51661 two-byte sequence errors.
51662 * iconvdata/Makefile (tests): Add bug-iconv8.
51663 * iconvdata/bug-iconv8.c: New file.
51664
51665 [BZ #12626]
51666 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51667 buf2 definition.
51668
51669 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51670
51671 [BZ #12432]
51672 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51673 (dummy_getcfa): New function.
51674 (init): Get _Unwind_GetCFA address, use dummy if not found.
51675 (backtrace_helper): In recursion check, also check whether CFA changes.
51676 (__backtrace): Completely initialize arg.
51677
51678 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51679 storing incomplete byte sequence in state object. Avoid testing for
51680 guaranteed too small input if we know there is enough data available.
51681
516822011-05-11 Andreas Schwab <schwab@redhat.com>
51683
51684 * Makeconfig (+link-pie): Indent.
51685 * Rules (binaries-pie): Define if $(have-fpie) and
51686 $(build-shared).
51687 (binaries-shared): Also filter out $(binaries-pie).
51688 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51689 * nscd/Makefile (others-pie): Add nscd.
51690 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51691 ($(objpfx)nscd): Remove command override.
51692 * login/Makefile (others-pie): Add pt_chown.
51693 ($(objpfx)pt_chown): Remove command override.
51694 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51695 remove command overrides.
51696
516972011-05-13 Ulrich Drepper <drepper@gmail.com>
51698
51699 * libio/tst_putwc.c: Fix error messages.
51700
51701 [BZ #12724]
51702 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51703 currently writing and seek to current position when not.
51704 * libio/Makefile (tests): Add bug-fclose1.
51705 * libio/bug-fclose1.c: New file.
51706
517072011-05-12 Ulrich Drepper <drepper@gmail.com>
51708
51709 [BZ #12511]
51710 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51711 don't set DF_1_NODELETE here.
51712 (do_lookup_x): When entering new entry test for copy relocation
51713 and if necessary set DF_1_NODELETE flag.
51714 * elf/tst-unique4.cc: New file.
51715 * elf/tst-unique4.h: New file.
51716 * elf/tst-unique4lib.cc: New file.
51717 * elf/Makefile: Add rules to build and run tst-unique4.
51718 Patch by Piotr Bury <pbury@goahead.com>.
51719
517202011-05-11 Ulrich Drepper <drepper@gmail.com>
51721
51722 [BZ #12052]
51723 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51724
51725 [BZ #12625]
51726 * misc/mntent_r.c (addmntent): Flush the stream after the output
51727
51728 [BZ #12393]
51729 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51730 (is_trusted_path_normalize): Skip initial colon. Append slash
51731 to empty buffer. Duplicate is_trusted_path code but allow
51732 constructed patch to be prefix.
51733 (is_dst): Allow $ORIGIN followed by /.
51734 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51735 Correct testing of result of is_trusted_path_normalize
51736 (decompose_rpath): Fix warning.
51737
517382011-05-10 Ulrich Drepper <drepper@gmail.com>
51739
51740 [BZ #11257]
51741 * grp/initgroups.c (internal_getgrouplist): When we found the service
51742 list through the initgroups entry in nsswitch.conf do not always
51743 continue on a successful lookup. Don't always use the
51744 __nss_group_database value if it is set.
51745 * nss/nsswitch.conf (initgroups): Change action for successful db
51746 lookup to continue for compatibility.
51747
517482011-05-09 Ulrich Drepper <drepper@gmail.com>
51749
51750 [BZ #11532]
51751 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51752 and CP774 modules.
51753 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51754 and CP774 modules.
51755 * iconvdata/tst-tables.sh: Likewise.
51756 * iconvdata/cp770.c: New file.
51757 * iconvdata/cp771.c: New file.
51758 * iconvdata/cp772.c: New file.
51759 * iconvdata/cp773.c: New file.
51760 * iconvdata/cp774.c: New file.
51761 * iconvdata/testdata/CP770: New file.
51762 * iconvdata/testdata/CP770..UTF8: New file.
51763 * iconvdata/testdata/CP771: New file.
51764 * iconvdata/testdata/CP771..UTF8: New file.
51765 * iconvdata/testdata/CP772: New file.
51766 * iconvdata/testdata/CP772..UTF8: New file.
51767 * iconvdata/testdata/CP773: New file.
51768 * iconvdata/testdata/CP773..UTF8: New file.
51769 * iconvdata/testdata/CP774: New file.
51770 * iconvdata/testdata/CP774..UTF8: New file.
51771
51772 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51773 END CHARMAP line.
51774 * iconvdata/gen-8bit-gap.sh: Likewise.
51775 * iconvdata/gen-8bit.sh: Likewise.
51776
51777 * locale/iso-639.def: Add ary entry.
51778
51779 [BZ #11258]
51780 * locale/C-translit.h.in: Add U20A1 transliteration.
51781
51782 [BZ #12178]
51783 * locale/iso-639.def: Add wae entry.
51784 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51785
51786 [BZ #12545]
51787 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51788 for n.
51789
51790 [BZ #12711]
51791 * locale/C-translit.h.in: Add entry for U20B9.
51792 Patch by pravin.d.s@gmail.com.
51793
517942011-05-08 Ulrich Drepper <drepper@gmail.com>
51795
51796 [BZ #12713]
51797 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51798 ENAMETOOLONG use generic getcwd.
51799 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51800 in rtld. Use *stat64.
51801 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51802 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51803 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51804 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51805 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51806 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51807 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51808 __fstatat64 macros.
51809 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51810 * dirent/rewinddir.c: Add libc_hidden_def.
51811 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51812 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51813
51814 * include/dirent.h (__alloc_dir): Add flags parameter.
51815 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51816 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51817 __alloc_dir.
51818 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51819 from fdopendir if O_CLOEXEC is already set.
51820
518212011-03-15 Alan Modra <amodra@gmail.com>
51822
51823 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51824 l_tls_firstbyte_offset non-zero. Save padding offset in
51825 l_tls_firstbyte_offset for later use.
51826 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51827 freeing static tls block.
51828
518292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51830
51831 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51832 where #ifdef was intended. The intent is to prevent ARG_MAX from
51833 being defined by the kernel headers.
51834
518352011-05-07 Ulrich Drepper <drepper@gmail.com>
51836
51837 [BZ #12734]
51838 * resolv/resolv.h: Define RES_NOTLDQUERY.
51839 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51840 no-tld-query and set RES_NOTLDQUERY.
51841 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51842 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51843 modern BIND to search name as TLD unless forbidden.
51844
518452011-05-07 Petr Baudis <pasky@suse.cz>
51846 Ulrich Drepper <drepper@gmail.com>
51847
51848 [BZ #12393]
51849 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51850 (is_trusted_path): ...to here.
51851 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51852 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51853 using is_trusted_path_normalize() in setuid scripts.
51854
518552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51856
51857 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51858 __BEGIN/__END_DECLS.
51859
518602011-05-06 Ulrich Drepper <drepper@gmail.com>
51861
51862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51863 NSS_STATUS_NOTFOUND if no record was found.
51864
518652011-05-05 Andreas Schwab <schwab@redhat.com>
51866
51867 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51868 (headers-not-in-tirpc): Remove rpc/netdb.h
51869 * resolv/netdb.h: Revert last change.
51870
518712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51872
51873 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51874 circular dependency between libgcc.a and libc.a.
51875
518762011-05-05 Andreas Schwab <schwab@redhat.com>
51877
51878 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51879 * nis/Makefile: Don't install rpcsvc/*.
51880 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51881 instead of <rpc/types.h>.
51882 (MAXHOSTNAMELEN): Define.
51883
518842011-05-03 Andreas Schwab <schwab@redhat.com>
51885
51886 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51887
518882011-04-28 Maciej Babinski <mbabinski@google.com>
51889
51890 [BZ #12714]
51891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51892 gethostbyname4_r when IPv6 results are possible.
51893
518942011-05-02 Ulrich Drepper <drepper@gmail.com>
51895
51896 [BZ #12723]
51897 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51898 _PC_PIPE_BUF handling.
51899
519002011-04-30 Bruno Haible <bruno@clisp.org>
51901
51902 [BZ #12717]
51903 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51904 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51905 to 'int'.
51906 * inet/getnameinfo.c (getnameinfo): Likewise.
51907
519082011-04-29 Ulrich Drepper <drepper@gmail.com>
51909
51910 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51911 to groups setting in database lookup.
51912 * nss/nsswitch.conf: Add initgroups entry.
51913
519142011-04-22 Ulrich Drepper <drepper@gmail.com>
51915
51916 [BZ #12685]
51917 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51918 mode string.
51919 Patch by Eric Blake <eblake@redhat.com>.
51920
519212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51922
51923 * sunrpc/Makefile (need-export-routines): Add svc_run.
51924 (routines): Remove svc_run.
51925 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51926 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51927 * sunrpc/svc_run.c (svc_run): Likewise.
51928 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51929
519302011-04-21 Ulrich Drepper <drepper@gmail.com>
51931
51932 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51933 problem in reallocation in last patch.
51934
519352011-04-20 Ulrich Drepper <drepper@gmail.com>
51936
51937 * sunrpc/Makefile: Move inclusion of Rules.
51938
519392011-04-19 Ulrich Drepper <drepper@gmail.com>
51940
51941 * nss/nss_files/files-initgroups.c: New file.
51942 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51943 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51944 _nss_files_initgroups_dyn.
51945
519462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51947
51948 * elf/elf.h (R_ARM_IRELATIVE): Define.
51949
519502011-04-19 Ulrich Drepper <drepper@gmail.com>
51951
51952 * po/ru.po: Update from translation team.
51953
519542011-04-17 Ulrich Drepper <drepper@gmail.com>
51955
51956 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51957 dependencies.
51958
519592011-02-06 Mike Frysinger <vapier@gentoo.org>
51960
51961 [BZ #12653]
51962 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51963 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51964 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51965 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51966 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51967
519682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51969
51970 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51971 differing bytes.
51972 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51975
519762011-04-17 Ulrich Drepper <drepper@gmail.com>
51977
51978 [BZ #12420]
51979 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51980 storing it.
51981 * stdlib/bug-getcontext.c: New file.
51982 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51983
519842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51985
51986 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51987 instructions into .machine "z9-109".
51988 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51989 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51990
519912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51992
51993 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51994 between environment variables and auxiliary vector.
51995
519962011-04-16 Ulrich Drepper <drepper@gmail.com>
51997
51998 * Makefile: Add rules to build linkobj/libc.so.
51999 * include/libc-symbols.h: Define libc_hidden_nolink.
52000 * include/rpc/auth.h: Mark functions which are to be hidden.
52001 * include/rpc/auth_des.h: Likewise.
52002 * include/rpc/auth_unix.h: Likewise.
52003 * include/rpc/clnt.h: Likewise.
52004 * include/rpc/des_crypt.h: Likewise.
52005 * include/rpc/key_prot.h: Likewise.
52006 * include/rpc/pmap_clnt.h: Likewise.
52007 * include/rpc/pmap_prot.h: Likewise.
52008 * include/rpc/pmap_rmt.h: Likewise.
52009 * include/rpc/rpc_msg.h: Likewise.
52010 * include/rpc/svc.h: Likewise.
52011 * include/rpc/svc_auth.h: Likewise.
52012 * include/rpc/xdr.h: Likewise.
52013 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52014 * nss/Makefile: Likewise.
52015 * sunrpc/Makefile: Don't install headers. Build library with normal
52016 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52017 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52018 for the compat linking library. Remove use of INTDEF/INTUSE.
52019 * sunrpc/auth_none.c: Likewise.
52020 * sunrpc/auth_unix.c: Likewise.
52021 * sunrpc/authdes_prot.c: Likewise.
52022 * sunrpc/authuxprot.c: Likewise.
52023 * sunrpc/clnt_gen.c: Likewise.
52024 * sunrpc/clnt_perr.c: Likewise.
52025 * sunrpc/clnt_raw.c: Likewise.
52026 * sunrpc/clnt_simp.c: Likewise.
52027 * sunrpc/clnt_tcp.c: Likewise.
52028 * sunrpc/clnt_udp.c: Likewise.
52029 * sunrpc/clnt_unix.c: Likewise.
52030 * sunrpc/des_crypt.c: Likewise.
52031 * sunrpc/des_soft.c: Likewise.
52032 * sunrpc/get_myaddr.c: Likewise.
52033 * sunrpc/key_call.c: Likewise.
52034 * sunrpc/key_prot.c: Likewise.
52035 * sunrpc/netname.c: Likewise.
52036 * sunrpc/pm_getmaps.c: Likewise.
52037 * sunrpc/pm_getport.c: Likewise.
52038 * sunrpc/pmap_clnt.c: Likewise.
52039 * sunrpc/pmap_prot.c: Likewise.
52040 * sunrpc/pmap_prot2.c: Likewise.
52041 * sunrpc/pmap_rmt.c: Likewise.
52042 * sunrpc/publickey.c: Likewise.
52043 * sunrpc/rpc_cmsg.c: Likewise.
52044 * sunrpc/rpc_common.c: Likewise.
52045 * sunrpc/rpc_dtable.c: Likewise.
52046 * sunrpc/rpc_prot.c: Likewise.
52047 * sunrpc/rpc_thread.c: Likewise.
52048 * sunrpc/rtime.c: Likewise.
52049 * sunrpc/svc.c: Likewise.
52050 * sunrpc/svc_auth.c: Likewise.
52051 * sunrpc/svc_authux.c: Likewise.
52052 * sunrpc/svc_raw.c: Likewise.
52053 * sunrpc/svc_run.c: Likewise.
52054 * sunrpc/svc_simple.c: Likewise.
52055 * sunrpc/svc_tcp.c: Likewise.
52056 * sunrpc/svc_udp.c: Likewise.
52057 * sunrpc/svc_unix.c: Likewise.
52058 * sunrpc/svcauth_des.c: Likewise.
52059 * sunrpc/xcrypt.c: Likewise.
52060 * sunrpc/xdr.c: Likewise.
52061 * sunrpc/xdr_array.c: Likewise.
52062 * sunrpc/xdr_float.c: Likewise.
52063 * sunrpc/xdr_intXX_t.c: Likewise.
52064 * sunrpc/xdr_mem.c: Likewise.
52065 * sunrpc/xdr_rec.c: Likewise.
52066 * sunrpc/xdr_ref.c: Likewise.
52067 * sunrpc/xdr_sizeof.c: Likewise.
52068 * sunrpc/xdr_stdio.c: Likewise.
52069
520702011-04-10 Ulrich Drepper <drepper@gmail.com>
52071
52072 [BZ #12650]
52073 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52074 * sysdeps/ia64/dl-tls.h: Likewise.
52075 * sysdeps/powerpc/dl-tls.h: Likewise.
52076 * sysdeps/s390/dl-tls.h: Likewise.
52077 * sysdeps/sh/dl-tls.h: Likewise.
52078 * sysdeps/sparc/dl-tls.h: Likewise.
52079 * sysdeps/x86_64/dl-tls.h: Likewise.
52080 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52081
520822011-03-14 Andreas Schwab <schwab@redhat.com>
52083
52084 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52085 rpath element also skip the following colon.
52086 (expand_dynamic_string_token): Add is_path parameter and pass
52087 down to DL_DST_REQUIRED and _dl_dst_substitute.
52088 (decompose_rpath): Call expand_dynamic_string_token with
52089 non-zero is_path. Ignore empty rpaths.
52090 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52091 with zero is_path.
52092
520932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52094
52095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52096 Make cancelable.
52097
520982011-04-09 Ulrich Drepper <drepper@gmail.com>
52099
52100 [BZ #12655]
52101 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52102 Patch by Filipe David Manana <fdmanana@apache.org>.
52103
521042011-04-07 Andreas Schwab <schwab@redhat.com>
52105
52106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52107 Maintain aligned stack.
52108 (CHECK_RSP): Remove unused macro.
52109
521102011-04-03 Ulrich Drepper <drepper@gmail.com>
52111
52112 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52113 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52114
521152011-04-02 Ulrich Drepper <drepper@gmail.com>
52116
52117 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52118
52119 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52120
521212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52122
52123 [BZ #12518]
52124 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52125 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52126 * sysdeps/x86_64/memmove.c: New file.
52127 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52128 (memcpy): Renamed to ...
52129 (__new_memcpy): This.
52130 (memcpy): Provide GLIBC_2_14 memcpy.
52131 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52132 (memcpy): Provide GLIBC_2_2_5 memcpy.
52133
521342011-04-01 Ulrich Drepper <drepper@gmail.com>
52135
52136 [BZ #12631]
52137 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52138
521392011-03-30 Andreas Schwab <schwab@redhat.com>
52140
52141 * misc/syncfs.c: New file.
52142 * misc/Makefile (routines): Add syncfs.
52143 * posix/unistd.h: Declare syncfs.
52144 * sysdeps/unix/syscalls.list: Add syncfs.
52145
521462011-04-01 Andreas Schwab <schwab@redhat.com>
52147
52148 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52149 open_by_handle_at.
52150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52151 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52155 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52157
521582011-04-01 Ulrich Drepper <drepper@gmail.com>
52159
52160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52162 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52164 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52167
52168 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52169 sync_file_range.c with -fexceptions.
52170 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52171 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52172 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52173 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52174 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52175 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52176 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52177 sync_file_range as cancellation point
52178 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52179 now a wrapper around __call_sync_file_range with cancellation handling.
52180 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52181 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52182 function name to __call_sync_file_range.
52183 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52184 Add call_sync_file_range.
52185
521862011-04-01 Andreas Schwab <schwab@redhat.com>
52187
52188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52189 bits/timex.h.
52190
521912011-04-01 Ulrich Drepper <drepper@gmail.com>
52192
52193 * iconv/iconv.h: Fix typo in comment.
52194 * io/fcntl.h: Likewise.
52195 * libio/stdio.h: Likewise.
52196 * posix/spawn.h: Likewise.
52197 * posix/unistd.h: Likewise.
52198 * stdlib/stdlib.h: Likewise.
52199 * time/time.h: Likewise.
52200 * wcsmbs/wchar.h: Likewise.
52201
52202 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52203 open_by_handle): Add.
52204 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52205 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52206 Augment a few comments.
52207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52212 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52213 open_by_handle.
52214
52215 * io/fcntl.h (AT_EMPTY_PATH): Define.
52216
522172011-03-30 Ulrich Drepper <drepper@gmail.com>
52218
52219 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52220 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52221 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52222 to...
52223 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52224 * Versions.def: Add GLIBC_2.14.
52225 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52226 Export.
52227
522282011-03-22 Ulrich Drepper <drepper@gmail.com>
52229
52230 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52231 round counter.
52232 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52233
522342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52235
52236 [BZ #12597]
52237 * string/test-strncmp.c (do_page_test): New function.
52238 (check2): Likewise.
52239 (test_main): Call check2.
52240 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52241
522422011-03-20 Ulrich Drepper <drepper@gmail.com>
52243
52244 [BZ #12587]
52245 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52246 Handle cache information in CPU leaf 4.
52247 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52248
522492011-03-18 Ulrich Drepper <drepper@gmail.com>
52250
52251 [BZ #12583]
52252 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52253 character representation.
52254 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52255
522562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52257
52258 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52259 END(__isnan) to END(__isnanf) to match function entry point/label
52260 EALIGN(__isnanf,...).
52261
522622011-03-10 Jakub Jelinek <jakub@redhat.com>
52263
52264 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52265
522662011-03-10 Ulrich Drepper <drepper@gmail.com>
52267
52268 [BZ #12510]
52269 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52270 copy from the symbol referenced in the relocation to initialize the
52271 used variable.
52272 Patch by Piotr Bury <pbury@goahead.com>.
52273 * elf/Makefile: Add rules to build and tst-unique3.
52274 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52275 * elf/tst-unique3.cc: New file.
52276 * elf/tst-unique3.h: New file.
52277 * elf/tst-unique3lib.cc: New file.
52278 * elf/tst-unique3lib2.cc: New file.
52279
52280 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52281
522822011-03-10 Mike Frysinger <vapier@gentoo.org>
52283
52284 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52285 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52286 to _start.
52287
522882011-03-06 Ulrich Drepper <drepper@gmail.com>
52289
52290 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52291 to-be-loaded object along a path to loader is ld.so.
52292
522932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52294 Ulrich Drepper <drepper@gmail.com>
52295
52296 * sysdeps/x86_64/memset.S: After aligning destination, code
52297 branches to different locations depending on the value of
52298 misalignment, when multiarch is enabled. Fix this.
52299
523002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52301
52302 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52303 Set _x86_64_preferred_memory_instruction for AMD processsors.
52304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52305 Set bit_Prefer_SSE_for_memop for AMD processors.
52306
523072011-03-04 Ulrich Drepper <drepper@gmail.com>
52308
52309 * libio/fmemopen.c (fmemopen): Optimize a bit.
52310
523112011-03-03 Andreas Schwab <schwab@redhat.com>
52312
52313 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52314
523152011-03-03 Roland McGrath <roland@redhat.com>
52316
52317 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52318
523192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52320
52321 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52322 __bzero_ultra1 instead of __memset_ultra1.
52323
523242011-02-23 Andreas Schwab <schwab@redhat.com>
52325 Ulrich Drepper <drepper@gmail.com>
52326
52327 [BZ #12509]
52328 * include/link.h (struct link_map): Add l_orig_initfini.
52329 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52330 returning unsuccessfully.
52331 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52332 close of a file loaded at startup, restore the original l_initfini
52333 list.
52334 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52335 list, store the pointer.
52336 * elf/Makefile ($(objpfx)noload-mem): New rule.
52337 (noload-ENV): Define.
52338 (tests): Add $(objpfx)noload-mem.
52339 * elf/noload.c: Include <memcheck.h>.
52340 (main): Call mtrace. Close all opened handles.
52341
523422011-02-17 Andreas Schwab <schwab@redhat.com>
52343
52344 [BZ #12454]
52345 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52346 dependencies are missing.
52347
523482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52349
52350 Fix __if_freereq crash: Unlike the generic version which uses free,
52351 Hurd needs munmap.
52352 * sysdeps/mach/hurd/ifreq.h: New file.
52353
523542011-01-27 Petr Baudis <pasky@suse.cz>
52355 Ulrich Drepper <drepper@gmail.com>
52356
52357 [BZ 12445]#
52358 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52359 to extend_alloca().
52360 * stdio-common/bug23.c: New file.
52361 * stdio-common/Makefile (tests): Add bug23.
52362
523632010-09-28 Andreas Schwab <schwab@redhat.com>
52364 Ulrich Drepper <drepper@gmail.com>
52365
52366 [BZ #12489]
52367 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52368 before performing relro protection. At old place add assertion
52369 to make sure nothing changed.
52370
523712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52372 Glauber de Oliveira Costa <glommer@gmail.com>
52373
52374 * elf/elf.h: Add new ARM TLS relocs.
52375
523762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52377
52378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52379 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52380 cast from r3.
52381 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52382 'tests' variable.
52383 * sysdeps/wordsize-64/tst-writev.c: New file.
52384
523852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52386
52387 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52388 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52389 insns in _dl_start to prevent a TOC reference before relocs are
52390 resolved.
52391
523922011-02-15 Ulrich Drepper <drepper@gmail.com>
52393
52394 [BZ #12469]
52395 * Makeconfig: Remove RANLIB definition.
52396 * Makerules: Don't use RANLIB.
52397 * aclocal.m4: Remove ranlib test.
52398 * configure.in: No need to check for ranlib.
52399 * elf/rtld-Rules: Don't use RANLIB.
52400
524012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52402
52403 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52404 protection macro.
52405 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52406 inclusion protection macro.
52407
52408 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52409 SIGRTMIN and SIGRTMAX and print information in that case only when
52410 SIGRTMIN is defined.
52411
524122011-02-11 Jakub Jelinek <jakub@redhat.com>
52413
52414 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52415 arginfo fn returning -1.
52416
52417 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52418 and thousands string is zero terminated.
52419
524202011-02-03 Andreas Schwab <schwab@redhat.com>
52421
52422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52423 sysdeps/unix/sysv/linux/bits/socket.h.
52424
524252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52426
52427 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52428 (__CPU_COUNT): Remove old macros.
52429 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52430 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52431 (__CPU_ALLOC, __CPU_FREE): Add macros.
52432 (__sched_cpualloc, __sched_cpufree): Add declarations.
52433
524342011-02-05 Ulrich Drepper <drepper@gmail.com>
52435
52436 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52437 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52438 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52439 (readdhstai): Return value of addhstaiX call.
52440 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52441 (addgrbyX): Return value returned by cache_addgr.
52442 (readdgrbyname): Return value returned by addgrbyX.
52443 (readdgrbygid): Likewise.
52444 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52445 (addpwbyX): Return value returned by cache_addpw.
52446 (readdpwbyname): Return value returned by addhstbyX.
52447 (readdpwbyuid): Likewise.
52448 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52449 (addservbyX): Return value returned by cache_addserv.
52450 (readdservbyname): Return value returned by addservbyX:
52451 (readdservbyport): Likewise.
52452 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52453 (addhstbyX): Return value returned by cache_addhst.
52454 (readdhstbyname): Return value returned by addhstbyX.
52455 (readdhstbyaddr): Likewise.
52456 (readdhstbynamev6): Likewise.
52457 (readdhstbyaddrv6): Likewise.
52458 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52459 (readdinitgroups): Return value returned by addinitgroupsX.
52460 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52461 (prune_cache): Keep track of timeout value of re-added entries.
52462 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52463 * nscd/nscd.h: Adjust prototypes of readd* functions.
52464
524652011-02-04 Roland McGrath <roland@redhat.com>
52466
52467 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52468 (nis_stats): Likewise.
52469 * nis/nis_modify.c (nis_modify): Likewise.
52470 * nis/nis_remove.c (nis_remove): Likewise.
52471 * nis/nis_add.c (nis_add): Likewise.
52472
52473 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52474
52475 * posix/fnmatch_loop.c: Add some consts.
52476
52477 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52478
524792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52480
52481 [BZ #12460]
52482 * config.make.in (config-cflags-novzeroupper): Define.
52483 * configure.in: Substitute libc_cv_cc_novzeroupper.
52484 * elf/Makefile (AVX-CFLAGS): Define.
52485 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52486 (CFLAGS-tst-auditmod4a.c): Likewise.
52487 (CFLAGS-tst-auditmod4b.c): Likewise.
52488 (CFLAGS-tst-auditmod6b.c): Likewise.
52489 (CFLAGS-tst-auditmod6c.c): Likewise.
52490 (CFLAGS-tst-auditmod7b.c): Likewise.
52491 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52492
524932011-02-02 Ulrich Drepper <drepper@gmail.com>
52494
52495 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52496 function to the callback.
52497 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52498
524992011-02-02 Andreas Schwab <schwab@redhat.com>
52500
52501 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52502 of errno.
52503
525042011-01-19 Ulrich Drepper <drepper@gmail.com>
52505
52506 [BZ #11724]
52507 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52508 of constructors.
52509 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52510 of destructors.
52511 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52512
52513 [BZ #11724]
52514 * elf/Makefile: Add rules to build and run new test.
52515 * elf/tst-initorder.c: New file.
52516 * elf/tst-initorder.exp: New file.
52517 * elf/tst-initordera1.c: New file.
52518 * elf/tst-initordera2.c: New file.
52519 * elf/tst-initordera3.c: New file.
52520 * elf/tst-initordera4.c: New file.
52521 * elf/tst-initorderb1.c: New file.
52522 * elf/tst-initorderb2.c: New file.
52523 * elf/tst-order-a1.c: New file.
52524 * elf/tst-order-a2.c: New file.
52525 * elf/tst-order-a3.c: New file.
52526 * elf/tst-order-a4.c: New file.
52527 * elf/tst-order-b1.c: New file.
52528 * elf/tst-order-b2.c: New file.
52529 * elf/tst-order-main.c: New file.
52530 New test case by George Gensure <werkt0@gmail.com>.
52531
525322010-10-01 Andreas Schwab <schwab@redhat.com>
52533
52534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52535 decoding ACE if AI_CANONIDN.
52536
525372011-01-18 Ulrich Drepper <drepper@gmail.com>
52538
52539 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52540
525412011-01-17 Ulrich Drepper <drepper@gmail.com>
52542
52543 * version.h (RELEASE): Bump for 2.13 release.
52544 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52545
52546 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52547
52548 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52549 MADV_NOHUGEPAGE.
52550 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52551 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52552 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52553 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52554 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52556
52557 * posix/getconf.c: Update copyright year.
52558 * catgets/gencat.c: Likewise.
52559 * csu/version.c: Likewise.
52560 * debug/catchsegv.sh: Likewise.
52561 * debug/xtrace.sh: Likewise.
52562 * elf/ldconfig.c: Likewise.
52563 * elf/ldd.bash.in: Likewise.
52564 * elf/sprof.c (print_version): Likewise.
52565 * iconv/iconv_prog.c: Likewise.
52566 * iconv/iconvconfig.c: Likewise.
52567 * locale/programs/locale.c: Likewise.
52568 * locale/programs/localedef.c: Likewise.
52569 * malloc/memusage.sh: Likewise.
52570 * malloc/mtrace.pl: Likewise.
52571 * nscd/nscd.c (print_version): Likewise.
52572 * nss/getent.c: Likewise.
52573
52574 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52575 PF_CAIF, and PF_ALG.
52576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52577
525782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52579
52580 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52581 (modules-names): Use them.
52582 (ifunc-test-modules, ifunc-pie-tests): Define.
52583 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52584 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52585 (test-extras): Likewise.
52586 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52587 $(compile-command.c).
52588 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52589 (all-built-dso): Define.
52590 (check-textrel.out, check-execstack.out): Depend on it.
52591
52592 * configure.in: Don't override --enable-multi-arch.
52593
525942011-01-15 Ulrich Drepper <drepper@gmail.com>
52595
52596 [BZ #6812]
52597 * nscd/hstcache.c (tryagain): Define.
52598 (cache_addhst): Return tryagain not notfound for temporary errors.
52599 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52600 failed.
52601
526022011-01-14 Ulrich Drepper <drepper@gmail.com>
52603
52604 [BZ #10563]
52605 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52606 to make the syscall.
52607 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52608
52609 [BZ #12378]
52610 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52611 and fall back to matching as normal character if the string ends before
52612 the matching ']' is found. This is what POSIX requires.
52613 * posix/testfnm.c: Adjust test result.
52614 * posix/globtest.sh: Adjust test result. Add new test.
52615 * posix/tst-fnmatch.input: Likewise.
52616 * posix/tst-fnmatch2.c: Add new test.
52617
526182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52619
52620 * elf/Makefile (check-execstack): Revert last change. Depend on
52621 check-execstack.h.
52622 (check-execstack.h): New target.
52623 (generated): Add check-execstack.h.
52624 * elf/check-execstack.c: Include "check-execstack.h".
52625 (main): Revert last change.
52626 (handle_file): Return zero if GNU_STACK is absent and
52627 DEFAULT_STACK_PERMS doesn't include PF_X.
52628
526292011-01-13 Ulrich Drepper <drepper@gmail.com>
52630
52631 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52632 in child fails because the descriptor is already closed.
52633 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52634 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52635 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52636
52637 [BZ #12397]
52638 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52639 syscall.
52640
52641 [BZ #10484]
52642 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52643 temporary buffer used to handle multi lookups locally.
52644 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52645
526462011-01-12 Ulrich Drepper <drepper@gmail.com>
52647
52648 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52649 loader is ld.so.
52650
526512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52652
52653 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52654 alignment for SSE2.
52655
526562011-01-12 Ulrich Drepper <drepper@gmail.com>
52657
52658 [BZ #12394]
52659 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52660 characters. When rounding increased number of integer digits recompute
52661 number of groups.
52662 * stdio-common/tst-grouping.c: New file.
52663 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52664
526652011-01-09 Ulrich Drepper <drepper@gmail.com>
52666
52667 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52668 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52669
52670 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52671 void.
52672 * bits/select.h: Likewise.
52673
526742011-01-08 Ulrich Drepper <drepper@gmail.com>
52675
52676 * po/ja.po: Update from translation team.
52677
526782011-01-04 David S. Miller <davem@sunset.davemloft.net>
52679
52680 [BZ #11155]
52681 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52682 implementation just like for lxstat, fxstatat, et al.
52683
526842010-12-27 Jim Meyering <meyering@redhat.com>
52685
52686 [BZ #12348]
52687 * posix/regexec.c (build_trtable): Return failure indication upon
52688 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52689
526902010-12-25 Ulrich Drepper <drepper@gmail.com>
52691
52692 [BZ #12201]
52693 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52694 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52695 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52696 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52697
52698 [BZ #12207]
52699 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52700
52701 [BZ #12204]
52702 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52703 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52704
527052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52706
52707 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52708 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52709 script has SORT_BY_INIT_PRIORITY.
52710 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52711 NO_CTORS_DTORS_SECTIONS is defined.
52712 * elf/soinit.c: Likewise.
52713 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52714 NO_CTORS_DTORS_SECTIONS is defined.
52715 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52716 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52717 * sysdeps/sh/init-first.c: Likewise.
52718 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52719
527202010-12-24 Ulrich Drepper <drepper@gmail.com>
52721
52722 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52723 always use the slow path.
52724
527252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52726
52727 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52728 similar rule which adds the sysdep directories to the header search in
52729 order to pick up the correct platform stackinfo.h.
52730 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52731 perform test if it is, otherwise return successfully without testing.
52732 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52733 DEFAULT_STACK_PERMS define in stackinfo.h.
52734 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52735 defined in stackinfo.h.
52736 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52737 DEFAULT_STACK_PERMS defined in stackinfo.h.
52738 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52739 * sysdeps/ia64/stackinfo.h: Likewise.
52740 * sysdeps/s390/stackinfo.h: Likewise.
52741 * sysdeps/sh/stackinfo.h: Likewise.
52742 * sysdeps/sparc/stackinfo.h: Likewise.
52743 * sysdeps/x86_64/stackinfo.h: Likewise.
52744 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52745 PF_X for powerpc64. Retain PF_X for powerpc32.
52746
527472010-12-19 Ulrich Drepper <drepper@gmail.com>
52748
52749 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52750 accurately.
52751 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52752 GETDENTS_64BIT_ALIGNED.
52753
527542010-12-14 Ulrich Drepper <dreper@gmail.com>
52755
52756 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52757
527582010-12-10 Andreas Schwab <schwab@redhat.com>
52759
52760 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52761 _GNU_SOURCE.
52762
52763 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52764 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52765 Remove __restrict.
52766 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52767 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52768
527692010-12-09 Ulrich Drepper <drepper@gmail.com>
52770
52771 [BZ #11655]
52772 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52773 are initialized.
52774
527752010-12-09 Jakub Jelinek <jakub@redhat.com>
52776
52777 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52778
527792010-12-03 Ulrich Drepper <drepper@gmail.com>
52780
52781 * po/it.po: Update from translation team.
52782
527832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52784
52785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52786 unused codes.
52787
527882010-11-30 Ulrich Drepper <drepper@gmail.com>
52789
52790 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52791
527922010-11-24 Andreas Schwab <schwab@redhat.com>
52793
52794 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52795 specially.
52796 (gaih_getanswer_slice): Likewise.
52797
527982010-10-20 Jakub Jelinek <jakub@redhat.com>
52799
52800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52801
528022010-05-31 Petr Baudis <pasky@suse.cz>
52803
52804 [BZ #11149]
52805 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52806 silently even in the chroot mode.
52807
528082010-11-22 Ulrich Drepper <drepper@gmail.com>
52809
52810 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52811 last patch a bit. Pretty printing
52812
528132010-05-31 Petr Baudis <pasky@suse.cz>
52814
52815 [BZ #10085]
52816 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52817 initialization of skip_initgroups_dyn.
52818
528192010-11-19 Ulrich Drepper <drepper@gmail.com>
52820
52821 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52822 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52823
528242010-11-16 Ulrich Drepper <drepper@gmail.com>
52825
52826 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52827
528282010-11-11 Andreas Schwab <schwab@redhat.com>
52829
52830 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52831 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52832 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52833 ($(objpfx)tst-fnmatch-mem): New rule.
52834 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52835 * posix/tst-fnmatch.c (main): Call mtrace.
52836
528372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52838
52839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52840 Support Intel processor model 6 and model 0x2c.
52841
528422010-11-10 Luis Machado <luisgpm@br.ibm.com>
52843
52844 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52845 signed comparison.
52846
528472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52848
52849 [BZ #12205]
52850 * string/test-strncasecmp.c (check_result): New function.
52851 (do_one_test): Use it.
52852 (check1): New function.
52853 (test_main): Use it.
52854 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52855 Support strcasecmp and strncasecmp.
52856
528572010-11-08 Ulrich Drepper <drepper@gmail.com>
52858
52859 [BZ #12194]
52860 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52862
528632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52864
52865 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52866 IFUNC support.
52867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52868 memset-x86-64.
52869 * sysdeps/x86_64/multiarch/bzero.S: New file.
52870 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52871 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52872 * sysdeps/x86_64/multiarch/memset.S: New file.
52873 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52875 Set bit_Prefer_SSE_for_memop for Intel processors.
52876 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52877 Define.
52878 (index_Prefer_SSE_for_memop): Define.
52879 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52880
528812010-11-04 Luis Machado <luisgpm@br.ibm.com>
52882
52883 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52884 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52885
528862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52887
52888 [BZ #12191]
52889 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52890 (__x86_64_raw_data_cache_size_half): Likewise.
52891 (__x86_64_raw_shared_cache_size): Likewise.
52892 (__x86_64_raw_shared_cache_size_half): Likewise.
52893
52894 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52895 (__x86_64_raw_data_cache_size_half): Likewise.
52896 (__x86_64_raw_shared_cache_size): Likewise.
52897 (__x86_64_raw_shared_cache_size_half): Likewise.
52898 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52899 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52900 and __x86_64_raw_shared_cache_size_half. Round
52901 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52902 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52903 to multiple of 256 bytes.
52904
529052010-11-03 Ulrich Drepper <drepper@gmail.com>
52906
52907 [BZ #12167]
52908 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52909 of inacessible symlinks. Verify result of symlink before returning it.
52910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52911 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52912
529132010-10-28 Erich Ritz <erichritz@gmail.com>
52914
52915 * math/math.h (isinf): Fix typo in comment.
52916
529172010-11-01 Ulrich Drepper <drepper@gmail.com>
52918
52919 * po/da.po: Update from translation team.
52920
529212010-10-26 Ulrich Drepper <drepper@gmail.com>
52922
52923 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52924 is added to the list.
52925
529262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52927 Ulrich Drepper <drepper@gmail.com>
52928
52929 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52930 the global list here. Move code to...
52931 (_dl_add_to_namespace_list): ...here. New function.
52932 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52933 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52934 * elf/dl-load.c (lose): Don't remove the element from the list.
52935 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52936 (_dl_map_object): Likewise.
52937
529382010-10-25 Ulrich Drepper <drepper@gmail.com>
52939
52940 [BZ #12159]
52941 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52942 into all bytes of SSE register.
52943 Patch by Richard Li <richardpku@gmail.com>.
52944
529452010-10-24 Ulrich Drepper <drepper@gmail.com>
52946
52947 [BZ #12140]
52948 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52949 perturbing.
52950
529512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52952
52953 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52954 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52955 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52956 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52958 submachine.
52959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52960
529612010-10-22 Andreas Schwab <schwab@redhat.com>
52962
52963 * include/dlfcn.h (__RTLD_SECURE): Define.
52964 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52965 mode & __RTLD_SECURE instead.
52966 (open_path): Rename preloaded parameter to secure.
52967 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52968 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52969 * elf/dl-deps.c (openaux): Likewise.
52970 * elf/rtld.c (struct map_args): Remove is_preloaded.
52971 (map_doit): Don't use it.
52972 (dl_main): Likewise.
52973 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52974 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52975
529762010-09-09 Andreas Schwab <schwab@redhat.com>
52977
52978 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52979 (sysd-rules-targets): Remove duplicates.
52980 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52981 rtld-%.$o dependency.
52982
529832010-10-18 Andreas Schwab <schwab@redhat.com>
52984
52985 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52986 _dl_map_object do it.
52987
529882010-10-19 Ulrich Drepper <drepper@gmail.com>
52989
52990 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52991 fast fma builtins, define the macros in the C99 standard.
52992 (FP_FAST_FMAF): Likewise.
52993 (FP_FAST_FMAL): Likewise.
52994 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52995
52996 * bits/mathdef.h: Update copyright year.
52997 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52998
529992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53000
53001 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53002 builtins, define the macros in the C99 standard.
53003 (FP_FAST_FMAF): Likewise.
53004 (FP_FAST_FMAL): Likewise.
53005 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53006 multiply/add.
53007 (FP_FAST_FMAF): Likewise.
53008
530092010-10-15 Jakub Jelinek <jakub@redhat.com>
53010
53011 [BZ #3268]
53012 * math/libm-test.inc (fma_test): Some new testcases.
53013 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53014 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53015 y and infinite z. Do multiplication by C already in long double.
53016 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53018 y and infinite z. Do bitwise or of inexact bit into u.d.
53019 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53020 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53021 * sysdeps/i386/fpu/s_fma.S: Removed.
53022 * sysdeps/i386/fpu/s_fmal.S: Removed.
53023
530242010-10-16 Jakub Jelinek <jakub@redhat.com>
53025
53026 [BZ #3268]
53027 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53029 computation is not scheduled after fetestexcept. Fix value
53030 of minimum denormal long double.
53031
530322010-10-14 Jakub Jelinek <jakub@redhat.com>
53033
53034 [BZ #3268]
53035 * math/libm-test.inc (fma_test): Add some more tests.
53036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53037 correctly.
53038
530392010-10-15 Andreas Schwab <schwab@redhat.com>
53040
53041 * scripts/data/localplt-s390-linux-gnu.data: New file.
53042 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53043
530442010-10-13 Jakub Jelinek <jakub@redhat.com>
53045
53046 [BZ #3268]
53047 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53048 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53049 instead of dbl-64.
53050 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53051 inlines.
53052 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53054 if one of x and y is very large and the other is subnormal.
53055 * sysdeps/s390/fpu/s_fmaf.c: New file.
53056 * sysdeps/s390/fpu/s_fma.c: New file.
53057 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53058 * sysdeps/powerpc/fpu/s_fma.S: New file.
53059 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53060 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53061 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53062
530632010-10-12 Jakub Jelinek <jakub@redhat.com>
53064
53065 [BZ #3268]
53066 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53067 fma tests.
53068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53069 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53070 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53071 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53072 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53073 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53074 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53075
530762010-10-12 Ulrich Drepper <drepper@redhat.com>
53077
53078 [BZ #12078]
53079 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53080 * posix/bug-regex31.input: Add test case.
53081
530822010-10-11 Ulrich Drepper <drepper@gmail.com>
53083
53084 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53085 * posix/bug-regex31.input: New file.
53086
53087 [BZ #12078]
53088 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53089 (parse_sub_exp): Fix last change, use postorder.
53090
53091 * posix/bug-regex31.c: New file.
53092 * posix/Makefile: Add rules to build and run bug-regex31.
53093
53094 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53095
53096 [BZ #12078]
53097 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53098
53099 [BZ #12108]
53100 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53101 to have entries in sys_siglist.
53102
53103 [BZ #12093]
53104 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53105 be NULL.
53106
531072010-10-07 Jakub Jelinek <jakub@redhat.com>
53108
53109 [BZ #3268]
53110 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53111 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53112 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53113 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53114 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53115 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53116 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53117 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53118 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53119 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53120 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53121 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53122 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53123 * math/ftestexcept.c (fetestexcept): Likewise.
53124 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53125 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53126 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53127 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53128 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53129 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53130 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53131
531322010-10-11 Ulrich Drepper <drepper@gmail.com>
53133
53134 [BZ #12107]
53135 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53136 newline.
53137
531382010-10-06 Ulrich Drepper <drepper@gmail.com>
53139
53140 * string/bug-strstr1.c: New file.
53141 * string/Makefile: Add rules to build and run bug-strstr1.
53142
531432010-10-05 Eric Blake <eblake@redhat.com>
53144
53145 [BZ #12092]
53146 * string/str-two-way.h (two_way_long_needle): Always clear memory
53147 when skipping input due to the shift table.
53148
531492010-10-03 Ulrich Drepper <drepper@gmail.com>
53150
53151 [BZ #12005]
53152 * malloc/mcheck.c: Handle large requests.
53153
53154 [BZ #12077]
53155 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53156 for strncmp and strncasecmp.
53157 * string/stratcliff.c: Add tests for strcmp and strncmp.
53158 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53159
531602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53161
53162 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53163 __set_fpscr.
53164
531652010-09-30 Andreas Jaeger <aj@suse.de>
53166
53167 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53168 (CGROUP_SUPER_MAGIC): Define.
53169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53170 Handle btrfs and cgroup file systems.
53171 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53172 Likewise.
53173
531742010-09-27 Luis Machado <luisgpm@br.ibm.com>
53175
53176 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53177 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53178
531792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53180
53181 [BZ #12067]
53182 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53183 trying to locate the ELF header.
53184
531852010-09-27 Andreas Schwab <schwab@redhat.com>
53186
53187 [BZ #11611]
53188 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53189 Mask out sign-bit copies when constructing f_fsid.
53190
531912010-09-24 Petr Baudis <pasky@suse.cz>
53192
53193 * debug/stack_chk_fail_local.c: Add missing licence exception.
53194 * debug/warning-nop.c: Likewise.
53195
531962010-09-15 Joseph Myers <joseph@codesourcery.com>
53197
53198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53199 implementing getdents64 using getdents syscall, set d_type if
53200 __ASSUME_GETDENTS32_D_TYPE.
53201
532022010-09-16 Andreas Schwab <schwab@redhat.com>
53203
53204 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53205 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53206
532072010-09-21 Ulrich Drepper <drepper@redhat.com>
53208
53209 [BZ #12037]
53210 * posix/unistd.h: Undo change of feature selection for ftruncate from
53211 2010-01-11.
53212
532132010-09-20 Ulrich Drepper <drepper@redhat.com>
53214
53215 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53216 detection.
53217
532182010-09-20 Andreas Schwab <schwab@redhat.com>
53219
53220 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53221 fanotify_mark.
53222 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53223
532242010-09-14 Andreas Schwab <schwab@redhat.com>
53225
53226 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53227 variables after CHECK_SP call.
53228 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53229
532302010-09-13 Andreas Schwab <schwab@redhat.com>
53231 Ulrich Drepper <drepper@redhat.com>
53232
53233 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53234 re-relocationg ld.so.
53235 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53236 _dl_init_paths call.
53237 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53238 here anymore.
53239
532402010-09-14 Ulrich Drepper <drepper@redhat.com>
53241
53242 * resolv/res_init.c (__res_vinit): Count the default server we added.
53243
532442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53245 Ulrich Drepper <drepper@redhat.com>
53246
53247 [BZ #11968]
53248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53249 (____longjmp_chk): Use %ebx for saving value across system call.
53250 Add unwind info.
53251
532522010-09-06 Andreas Schwab <schwab@redhat.com>
53253
53254 * manual/Makefile: Don't mix pattern rules with normal rules.
53255
532562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53257
53258 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53259 operation.
53260 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53261 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53262 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53263 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53264 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53265 Likewise.
53266
532672010-09-04 Ulrich Drepper <drepper@redhat.com>
53268
53269 [BZ #11979]
53270 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53271 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53272
532732010-09-02 Ulrich Drepper <drepper@redhat.com>
53274
53275 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53276 * sysdeps/x86_64/addmul_1.S: Likewise.
53277 * sysdeps/x86_64/lshift.S: Likewise.
53278 * sysdeps/x86_64/mul_1.S: Likewise.
53279 * sysdeps/x86_64/rshift.S: Likewise.
53280 * sysdeps/x86_64/sub_n.S: Likewise.
53281 * sysdeps/x86_64/submul_1.S: Likewise.
53282
532832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53284
53285 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53286 Define __sched_param instead of SCHED_* and sched_param when
53287 <bits/sched.h> is included with __need_schedparam defined.
53288 * bits/sched.h [__need_schedparam]
53289 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53290 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53291 (__defined_schedparam): Define to 1.
53292 (__sched_param): New structure, identical to sched_param.
53293 (__need_schedparam): Undefine.
53294
532952010-08-31 Mike Frysinger <vapier@gentoo.org>
53296
53297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53298 (epoll_create1): Declare.
53299
53300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53301
533022010-08-31 Andreas Schwab <schwab@redhat.com>
53303
53304 [BZ #7066]
53305 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53306 shifting retval into place.
53307
533082010-09-01 Ulrich Drepper <drepper@redhat.com>
53309
53310 * nis/rpcsvc/nis.h: Update copyright notice.
53311 * nis/rpcsvc/nis.x: Likewise.
53312 * nis/rpcsvc/nis_callback.h: Likewise.
53313 * nis/rpcsvc/nis_callback.x: Likewise.
53314 * nis/rpcsvc/nis_object.x: Likewise.
53315 * nis/rpcsvc/nis_tags.h: Likewise.
53316 * nis/rpcsvc/yp.h: Likewise.
53317 * nis/rpcsvc/yp.x: Likewise.
53318 * nis/rpcsvc/ypupd.h: Likewise.
53319 * nis/yp_xdr.c: Likewise.
53320 * nis/ypupdate_xdr.c: Likewise.
53321
53322 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53323 mainly the body of pmap_getport. Add parameters to specify timeouts.
53324 (pmap_getport): Use __libc_rpc_getport.
53325 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53326 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53327 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53328
533292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53330
53331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53332 fanotify_mark.
53333
533342010-08-27 Roland McGrath <roland@redhat.com>
53335
53336 * sysdeps/i386/i686/multiarch/Makefile
53337 (CFLAGS-varshift.c): New variable.
53338
533392010-08-27 Ulrich Drepper <drepper@redhat.com>
53340
53341 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53342 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53343
53344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53345
53346 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53347
533482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53349
53350 * sysdeps/x86_64/strlen.S: Unroll the loop.
53351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53352 strlen-sse2 strlen-sse2-bsf.
53353 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53354 __strlen_no_bsf if bit_Slow_BSF is set.
53355 (__strlen_sse42): Removed.
53356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53357 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53358
533592010-08-25 Roland McGrath <roland@redhat.com>
53360
53361 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53362 * sysdeps/x86_64/multiarch/varshift.c: New file.
53363 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53364 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53365 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53366 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53367
533682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53369
53370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53371 strlen-sse2 strlen-sse2-bsf.
53372 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53373 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53374 (__strlen_sse2): Removed.
53375 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53378 bit_Slow_BSF for Atom.
53379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53380 (index_Slow_BSF): Define.
53381 (HAS_SLOW_BSF): Define.
53382
533832010-08-25 Ulrich Drepper <drepper@redhat.com>
53384
53385 [BZ #10851]
53386 * resolv/res_init.c (__res_vinit): When no server address at all
53387 is given default to loopback.
53388
533892010-08-24 Roland McGrath <roland@redhat.com>
53390
53391 * configure.in: Remove config-name.h generation.
53392 * configure: Regenerated.
53393 * config-name.in: File removed.
53394 * scripts/config-uname.sh: New file.
53395 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53396 ($(objdir)config-name.h): New target.
53397
53398 * sunrpc/rpc_parse.h: Avoid nested comment.
53399
534002010-08-24 Richard Henderson <rth@redhat.com>
53401 Ulrich Drepper <drepper@redhat.com>
53402 H.J. Lu <hongjiu.lu@intel.com>
53403
53404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53406 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53407 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53408 _mm_alignr_epi8 with _mm_loadu_si128.
53409 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53410 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53411 (__m128i_shift_right): Removed.
53412 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53413 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53414 * sysdeps/x86_64/multiarch/varshift.h: New file.
53415 * sysdeps/x86_64/multiarch/varshift.S: New file.
53416
534172010-08-21 Mike Frysinger <vapier@gentoo.org>
53418
53419 * configure.in: Move assembler checks to before sysdep dir checking.
53420
534212010-08-20 Petr Baudis <pasky@suse.cz>
53422
53423 * LICENSES: Sync the sunrpc license.
53424
534252010-08-19 Ulrich Drepper <drepper@redhat.com>
53426
53427 * sunrpc/auth_des.c: Update copyright notice once again.
53428 * sunrpc/auth_none.c: Likewise.
53429 * sunrpc/auth_unix.c: Likewise.
53430 * sunrpc/authdes_prot.c: Likewise.
53431 * sunrpc/authuxprot.c: Likewise.
53432 * sunrpc/bindrsvprt.c: Likewise.
53433 * sunrpc/clnt_gen.c: Likewise.
53434 * sunrpc/clnt_perr.c: Likewise.
53435 * sunrpc/clnt_raw.c: Likewise.
53436 * sunrpc/clnt_simp.c: Likewise.
53437 * sunrpc/clnt_tcp.c: Likewise.
53438 * sunrpc/clnt_udp.c: Likewise.
53439 * sunrpc/clnt_unix.c: Likewise.
53440 * sunrpc/des_crypt.c: Likewise.
53441 * sunrpc/des_soft.c: Likewise.
53442 * sunrpc/get_myaddr.c: Likewise.
53443 * sunrpc/getrpcport.c: Likewise.
53444 * sunrpc/key_call.c: Likewise.
53445 * sunrpc/key_prot.c: Likewise.
53446 * sunrpc/openchild.c: Likewise.
53447 * sunrpc/pm_getmaps.c: Likewise.
53448 * sunrpc/pm_getport.c: Likewise.
53449 * sunrpc/pmap_clnt.c: Likewise.
53450 * sunrpc/pmap_prot.c: Likewise.
53451 * sunrpc/pmap_prot2.c: Likewise.
53452 * sunrpc/pmap_rmt.c: Likewise.
53453 * sunrpc/rpc/auth.h: Likewise.
53454 * sunrpc/rpc/auth_unix.h: Likewise.
53455 * sunrpc/rpc/clnt.h: Likewise.
53456 * sunrpc/rpc/des_crypt.h: Likewise.
53457 * sunrpc/rpc/key_prot.h: Likewise.
53458 * sunrpc/rpc/netdb.h: Likewise.
53459 * sunrpc/rpc/pmap_clnt.h: Likewise.
53460 * sunrpc/rpc/pmap_prot.h: Likewise.
53461 * sunrpc/rpc/pmap_rmt.h: Likewise.
53462 * sunrpc/rpc/rpc.h: Likewise.
53463 * sunrpc/rpc/rpc_des.h: Likewise.
53464 * sunrpc/rpc/rpc_msg.h: Likewise.
53465 * sunrpc/rpc/svc.h: Likewise.
53466 * sunrpc/rpc/svc_auth.h: Likewise.
53467 * sunrpc/rpc/types.h: Likewise.
53468 * sunrpc/rpc/xdr.h: Likewise.
53469 * sunrpc/rpc_clntout.c: Likewise.
53470 * sunrpc/rpc_cmsg.c: Likewise.
53471 * sunrpc/rpc_common.c: Likewise.
53472 * sunrpc/rpc_cout.c: Likewise.
53473 * sunrpc/rpc_dtable.c: Likewise.
53474 * sunrpc/rpc_hout.c: Likewise.
53475 * sunrpc/rpc_main.c: Likewise.
53476 * sunrpc/rpc_parse.c: Likewise.
53477 * sunrpc/rpc_parse.h: Likewise.
53478 * sunrpc/rpc_prot.c: Likewise.
53479 * sunrpc/rpc_sample.c: Likewise.
53480 * sunrpc/rpc_scan.c: Likewise.
53481 * sunrpc/rpc_scan.h: Likewise.
53482 * sunrpc/rpc_svcout.c: Likewise.
53483 * sunrpc/rpc_tblout.c: Likewise.
53484 * sunrpc/rpc_util.c: Likewise.
53485 * sunrpc/rpc_util.h: Likewise.
53486 * sunrpc/rpcinfo.c: Likewise.
53487 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53488 * sunrpc/rpcsvc/key_prot.x: Likewise.
53489 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53490 * sunrpc/rpcsvc/mount.x: Likewise.
53491 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53492 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53493 * sunrpc/rpcsvc/rex.x: Likewise.
53494 * sunrpc/rpcsvc/rstat.x: Likewise.
53495 * sunrpc/rpcsvc/rusers.x: Likewise.
53496 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53497 * sunrpc/rpcsvc/spray.x: Likewise.
53498 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53499 * sunrpc/rtime.c: Likewise.
53500 * sunrpc/svc.c: Likewise.
53501 * sunrpc/svc_auth.c: Likewise.
53502 * sunrpc/svc_authux.c: Likewise.
53503 * sunrpc/svc_raw.c: Likewise.
53504 * sunrpc/svc_run.c: Likewise.
53505 * sunrpc/svc_simple.c: Likewise.
53506 * sunrpc/svc_tcp.c: Likewise.
53507 * sunrpc/svc_udp.c: Likewise.
53508 * sunrpc/svc_unix.c: Likewise.
53509 * sunrpc/svcauth_des.c: Likewise.
53510 * sunrpc/xcrypt.c: Likewise.
53511 * sunrpc/xdr.c: Likewise.
53512 * sunrpc/xdr_array.c: Likewise.
53513 * sunrpc/xdr_float.c: Likewise.
53514 * sunrpc/xdr_mem.c: Likewise.
53515 * sunrpc/xdr_rec.c: Likewise.
53516 * sunrpc/xdr_ref.c: Likewise.
53517 * sunrpc/xdr_sizeof.c: Likewise.
53518 * sunrpc/xdr_stdio.c: Likewise.
53519
53520 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53521 handling.
53522
535232010-08-19 Andreas Schwab <schwab@redhat.com>
53524
53525 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53526
535272010-08-19 Luis Machado <luisgpm@br.ibm.com>
53528
53529 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53530 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53531 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53532 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53533 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53534 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53535 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53536 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53538 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53539 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53540 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53541 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53542 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53543
535442010-07-26 Anton Blanchard <anton@samba.org>
53545
53546 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53547 * malloc/arena.c (heap_trim): Likewise.
53548
535492010-08-16 Ulrich Drepper <drepper@redhat.com>
53550
53551 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53552 here. Not...
53553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53554 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53555
535562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53557
53558 * sysdeps/i386/elf/Makefile: New file.
53559
535602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53561
53562 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53563 from fanotify_init.
53564 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53566
535672010-08-15 Ulrich Drepper <drepper@redhat.com>
53568
53569 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53570 of strncasecmp_l.
53571 * sysdeps/multiarch/strcmp.S: Likewise.
53572
535732010-08-14 Ulrich Drepper <drepper@redhat.com>
53574
53575 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53576 strncase_l-nonascii.
53577 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53578 Add strncase_l-ssse3.
53579 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53580 * sysdeps/x86_64/strcmp.S: Likewise.
53581 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53582 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53583 * sysdeps/x86_64/strncase.S: New file.
53584 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53585 * sysdeps/x86_64/strncase_l.S: New file.
53586 * string/Makefile (strop-tests): Add strncasecmp.
53587 * string/test-strncasecmp.c: New file.
53588
53589 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53590 warning.
53591
53592 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53593 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53594
535952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53596
53597 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53598
535992010-08-12 Ulrich Drepper <drepper@redhat.com>
53600
53601 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53603 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53604
536052010-05-01 Alan Modra <amodra@gmail.com>
53606
53607 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53608 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53609 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53610 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53611 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53612 tidying. Don't tail-call __sigjmp_save for static lib.
53613 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53614 save location.
53615 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53616 (CALL_MCOUNT): Add eh info, and nop after bl.
53617 (TAIL_CALL_SYSCALL_ERROR): New macro.
53618 (PSEUDO_RET): Use it.
53619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53620 Correct save location of integer regs and cr.
53621 (_dl_profile_resolve): Correct cr save location. Delete nops
53622 after bl when SHARED. Reduce cfi size a little by better
53623 placement of cfi directives.
53624 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53625 make a stack frame. Instead use parm save area as a temp.
53626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53627 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53629 Don't make a stack frame for parent, use parm save area.
53630 Increase child stack frame to 112 bytes. Don't save unused reg,
53631 and adjust reg usage. Set up cfi on error recovery and
53632 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53634 (__makecontext): Add dummy nop after jump to exit.
53635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53636 Use correct parm save area and cr save, reduce stack frame.
53637 Correct cfi for possible PSEUDO_RET frame setup.
53638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53639 Branch to local label emitted by PSEUDO_RET rather than
53640 __syscall_error.
53641
536422010-08-12 Andreas Schwab <schwab@redhat.com>
53643
53644 [BZ #11904]
53645 * locale/programs/locale.c (print_assignment): New function.
53646 (show_locale_vars): Use it.
53647
536482010-08-11 Ulrich Drepper <drepper@redhat.com>
53649
53650 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53651 field.
53652 (struct statfs64): Likewise.
53653 (_STATFS_F_FLAGS): Define.
53654 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53655 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53656 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53657 (ST_VALID): Define locally.
53658 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53659 __statvfs_getflags, use the provided value.
53660 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53661 __ASSUME_STATFS_F_FLAGS.
53662
53663 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53664
53665 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53666 Add sys/fanotify.h.
53667 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53668 fanotify_mask for GLIBC_2.13.
53669 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53670 fanotify_init and fanotify_mark.
53671 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53672 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53673
53674 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53675 Add prlimit.
53676 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53677 prlimit64 for GLIBC_2.13.
53678 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53679 prlimit64.
53680 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53681 syscall.
53682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53683 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53684 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53685 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53687 add prlimit alias.
53688 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53689
53690 [BZ #11903]
53691 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53692 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53693
53694 * nss/Makefile: Add rules to build and run tst-nss-test1.
53695 * shlib-versions: Add entry for libnss_test1.
53696 * nss/nss_test1.c: New file.
53697 * nss/tst-nss-test1.c: New file.
53698
53699 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53700 (__nss_configure_lookup): Set appropriate entry in
53701 __nss_configure_lookup to true.
53702 * nss/nsswitch.h: Define enum with indeces of databases in
53703 databases and __nss_database_custom arrays. Declare
53704 __nss_database_custom.
53705 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53706 to avoid using nscd when custom rules are installed.
53707 * nss/getXXbyYY_r.c: Likewise.
53708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53709
53710 * nss/nss_files/files-parse.c: Whitespace fixes.
53711
537122010-08-09 Ulrich Drepper <drepper@redhat.com>
53713
53714 [BZ #11883]
53715 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53716 * posix/fnmatch_loop.c: Likewise.
53717
537182010-07-17 Andi Kleen <ak@linux.intel.com>
53719
53720 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53721 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53722 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53723 * Versions.def [GLIBC_2.13]: Add.
53724
537252010-08-06 Ulrich Drepper <drepper@redhat.com>
53726
53727 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53728 Also fail if tpwd after pwuid call is NULL.
53729
537302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53731
53732 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53733 when converting to ms.
53734
537352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53736
53737 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53738 EOPNOTSUPP errors with ENOTTY.
53739 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53740 EOPNOTSUPP errors with ENOTTY.
53741
537422010-07-31 Ulrich Drepper <drepper@redhat.com>
53743
53744 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53745 Add strcasecmp_l-ssse3.
53746 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53747 strcasecmp.
53748 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53749 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53750 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53751
537522010-07-30 Ulrich Drepper <drepper@redhat.com>
53753
53754 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53755
53756 * string/Makefile (strop-tests): Add strcasecmp.
53757 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53758 strcasecmp_l-nonascii.
53759 (gen-as-const-headers): Add locale-defines.sym.
53760 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53761 * sysdeps/x86_64/strcasecmp.S: New file.
53762 * sysdeps/x86_64/strcasecmp_l.S: New file.
53763 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53764 * sysdeps/x86_64/locale-defines.sym: New file.
53765 * string/test-strcasecmp.c: New file.
53766
53767 * string/test-strcasestr.c: Test both ends of the range of characters.
53768 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53769
537702010-07-29 Roland McGrath <roland@redhat.com>
53771
53772 [BZ #11856]
53773 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53774
537752010-07-27 Ulrich Drepper <drepper@redhat.com>
53776
53777 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53778 for ld.so.
53779
537802010-07-27 Andreas Schwab <schwab@redhat.com>
53781
53782 * manual/memory.texi (Malloc Tunable Parameters): Document
53783 M_PERTURB.
53784
537852010-07-26 Roland McGrath <roland@redhat.com>
53786
53787 [BZ #11840]
53788 * configure.in (-fgnu89-inline check): Set and substitute
53789 gnu89_inline, not libc_cv_gnu89_inline.
53790 * configure: Regenerated.
53791 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53792
537932010-07-26 Ulrich Drepper <drepper@redhat.com>
53794
53795 * string/test-strnlen.c: New file.
53796 * string/Makefile (strop-tests): Add strnlen.
53797 * string/tester.c (test_strnlen): Add a few more test cases.
53798 * string/tst-strlen.c: Better error reporting.
53799
53800 * sysdeps/x86_64/strnlen.S: New file.
53801
538022010-07-24 Ulrich Drepper <drepper@redhat.com>
53803
53804 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53805 lower-latency instructions.
53806
538072010-07-23 Ulrich Drepper <drepper@redhat.com>
53808
53809 * string/test-strcasestr.c: New file.
53810 * string/test-strstr.c: New file.
53811 * string/Makefile (strop-tests): Add strstr and strcasestr.
53812 * string/str-two-way.h: Don't undefine MAX.
53813 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53814
538152010-07-21 Andreas Schwab <schwab@redhat.com>
53816
53817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53818 strcasestr-nonascii.
53819 (CFLAGS-strcasestr-nonascii.c): Define.
53820 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53821 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53822 Remove unused attribute.
53823
538242010-07-20 Roland McGrath <roland@redhat.com>
53825
53826 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53827 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53828 ld.so.cache was broken. With it, there is no way to disable dsocaps
53829 like LD_HWCAP_MASK can disable hwcaps.
53830
538312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53832
53833 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53834
538352010-07-16 Ulrich Drepper <drepper@redhat.com>
53836
53837 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53838 call in strcasestr.
53839 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53840 __strcasestr_sse42_nonascii.
53841 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53842 strcasestr-nonascii.c.
53843 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53844
538452010-06-15 Luis Machado <luisgpm@br.ibm.com>
53846
53847 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53848 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53850 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53851
538522010-07-09 Ulrich Drepper <drepper@redhat.com>
53853
53854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53855 fcntl.
53856
538572010-07-06 Andreas Schwab <schwab@redhat.com>
53858
53859 [BZ #11577]
53860 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53861 dl_signal_cerror.
53862
538632010-07-06 Ulrich Drepper <drepper@redhat.com>
53864
53865 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53866 _PC_PIPE_BUF using F_GETPIPE_SZ.
53867
538682010-07-05 Roland McGrath <roland@redhat.com>
53869
53870 * manual/arith.texi (Rounding Functions): Fix rint description
53871 implicit in round description.
53872
538732010-07-02 Ulrich Drepper <drepper@redhat.com>
53874
53875 * elf/Makefile: Fix linking for a few tests to make recent linker
53876 happy.
53877
538782010-06-30 Andreas Schwab <schwab@redhat.com>
53879
53880 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53881 $(common-objpfx)libc_nonshared.a.
53882
538832010-06-21 Luis Machado <luisgpm@br.ibm.com>
53884
53885 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53886 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53887 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53888 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53889 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53890 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53892 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53907 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53908 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53909 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53910 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53911 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53912 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53913 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53914 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53915 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53916 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53917 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53918 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53933
539342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53935
53936 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53937 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53938 * string/memmove.c (memmove): Renamed to ...
53939 (MEMMOVE): ...this. Default to memmove.
53940 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53941 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53942 (END_CHK): Define.
53943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53944 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53945 mempcpy-ssse3-back memmove-ssse3-back.
53946 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53947 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53948 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53949 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53950 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53951 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53952 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53953 * sysdeps/x86_64/multiarch/memmove.c: New file.
53954 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53955 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53956 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53957 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53958 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53960 Define.
53961 (index_Fast_Copy_Backward): Define.
53962 (HAS_ARCH_FEATURE): Define.
53963 (HAS_FAST_REP_STRING): Define.
53964 (HAS_FAST_COPY_BACKWARD): Define.
53965
539662010-06-21 Andreas Schwab <schwab@redhat.com>
53967
53968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53969 Restore proper fallback handling.
53970
539712010-06-19 Ulrich Drepper <drepper@redhat.com>
53972
53973 [BZ #11701]
53974 * posix/group_member.c (__group_member): Correct checking loop.
53975
53976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53977 OOM in getpwuid_r correctly. Return error number when the caller
53978 should return, otherwise -1.
53979 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53980 call returning > 0 value.
53981 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53982
539832010-06-07 Andreas Schwab <schwab@redhat.com>
53984
53985 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53986 libc_nonshared.a from targets in modules-names.
53987
539882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53989
53990 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53991 requires it.
53992
539932010-06-10 Luis Machado <luisgpm@br.ibm.com>
53994
53995 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53996 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53999
540002010-06-02 Andreas Schwab <schwab@redhat.com>
54001
54002 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54003
540042010-06-14 Ulrich Drepper <drepper@redhat.com>
54005
54006 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54007 and F_GETPIPE_SZ.
54008 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54009 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54012 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54013 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54014
540152010-06-14 Roland McGrath <roland@redhat.com>
54016
54017 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54018
540192010-06-07 Jakub Jelinek <jakub@redhat.com>
54020
54021 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54022 __REDIRECT followed by __THROW.
54023 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54024 * posix/getopt.h (getopt): Likewise.
54025
540262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54027
54028 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54029 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54030 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54031 in AT_FLAGS.
54032 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54033 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54034
540352010-05-28 Luis Machado <luisgpm@br.ibm.com>
54036
54037 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54038
540392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54040
54041 [BZ #11640]
54042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54043 Properly check family and model.
54044
540452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54046
54047 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54048
540492010-05-24 Luis Machado <luisgpm@br.ibm.com>
54050
54051 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54052
540532010-05-21 Ulrich Drepper <drepper@redhat.com>
54054
54055 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54056 symbol reference.
54057
540582010-05-19 Andreas Schwab <schwab@redhat.com>
54059
54060 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54061 symbol reference.
54062
540632010-05-21 Andreas Schwab <schwab@redhat.com>
54064
54065 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54066 and internal_recvmmsg.
54067 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54068 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54069 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54070 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54071
54072 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54073 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54074 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54075
540762010-05-20 Andreas Schwab <schwab@redhat.com>
54077
54078 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54079
540802010-05-17 Luis Machado <luisgpm@br.ibm.com>
54081
54082 POWER7 optimizations.
54083 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54084 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54085
540862010-05-19 Ulrich Drepper <drepper@redhat.com>
54087
54088 * version.h: Update for 2.13 development version.
54089
540902010-05-12 Andrew Stubbs <ams@codesourcery.com>
54091
54092 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54093 exceptions. Return 0.
54094
540952010-05-07 Roland McGrath <roland@redhat.com>
54096
54097 * elf/ldconfig.c (main): Add a const.
54098
540992010-05-06 Ulrich Drepper <drepper@redhat.com>
54100
54101 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54102 (args_options): Add no-idn option.
54103 (ahosts_keys_int): Add idn_flags to ai_flags.
54104 (parse_option): Handle 'i' option to clear idn_flags.
54105
54106 * malloc/malloc.c (_int_free): Possible race in the most recently
54107 added check. Only act on the data if no current modification
54108 happened.
54109
54110See ChangeLog.17 for earlier changes.