]> sourceware.org Git - glibc.git/blame - ChangeLog
resolv: Suppress maybe uninitialized warning
[glibc.git] / ChangeLog
CommitLineData
48e435cd
SL
12014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3
4 * resolv/res_send.c (send_vc): Disable warning resplen may
5 be used uninitialized.
6
9d9c0019
SL
72014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8
9 * nptl/tst-mutex6.c
10 (ATTR_NULL): New define checks ATTR against NULL.
11 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
13
9173840b
JL
142014-12-11 James Lemke <jwlemke@codesourcery.com>
15
16 [BZ #17581]
17 * malloc/hooks.c
18 (mem2mem_check): Revert my previous change.
19 (malloc_check_get_size): Revert my previous change.
20 (mem2chunk_check): Revert my previous change.
21
78e21c5d
RM
222014-12-11 Roland McGrath <roland@hack.frob.com>
23
24 * sysdeps/posix/shm-directory.c: New file.
25 * sysdeps/posix/shm-directory.h: New file.
26 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
29 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
30 Transmute EPERM to EACCES.
31 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32 from ...
33 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
34 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35
f82c43af
KK
362014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37
38 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39 pointer and cast to uintptr_t.
40 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42 Add cast to avoid warning.
43 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
44
fc00cf7b
JM
452014-12-11 Joseph Myers <joseph@codesourcery.com>
46
47 * nptl/semaphore.h: Move to ...
48 * sysdeps/pthread/semaphore.h: ... here.
49 * Makefile (installed-headers): Change nptl/semaphore.h to
50 sysdeps/pthread/semaphore.h.
51
1c4053db
RM
522014-12-11 Roland McGrath <roland@hack.frob.com>
53
73b0c1a1
RM
54 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
55 generated error format strings.
56
1c4053db
RM
57 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
58 -Wformat-extra-args warnings for scanf formats.
59 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
60 test of zero-length format (duh).
61 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
62 corner-case scanf format test.
63 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
64 generated fprintf format string.
65 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
66 corner-case sprintf format tests.
67 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
68 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
69 -Wformat-extra-args warnings throughout.
70 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
71 (CFLAGS-scanf4.c): Likewise.
72 (CFLAGS-scanf7.c): Likewise.
73 (CFLAGS-tst-sprintf.c): Likewise.
74 (CFLAGS-tst-printf.c): Likewise.
75 (CFLAGS-tst-printfsz.c): Likewise.
76
47d51f4f
JM
772014-12-11 Joseph Myers <joseph@codesourcery.com>
78
a1edbf3c
JM
79 * include/cpio.h: New file.
80 * include/fmtmsg.h: Likewise.
81
47d51f4f
JM
82 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
83 corresponding format argument to size_t.
84 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
85 arguments.
86 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
87 corresponding format argument to size_t.
88 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
89 arguments.
90 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
91 corresponding format argument to size_t.
92 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
93 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
94 (CFLAGS-tst-mbswcs2.c): Likewise.
95 (CFLAGS-tst-mbswcs3.c): Likewise.
96 (CFLAGS-tst-mbswcs4.c): Likewise.
97 (CFLAGS-tst-mbswcs5.c): Likewise.
98 (CFLAGS-tst-trans.c): Likewise
99
e9813cfb
RM
1002014-12-11 Roland McGrath <roland@hack.frob.com>
101
102 * posix/regexbug1.c (main): Use "%s" format with regerror results,
103 rather than assuming they won't contain any '%'s.
104
f627ca82
CM
1052014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
106
107 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
108 inhibit_loop_to_libcall to avoid recursive calls.
109 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
110 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
111
7f296942
AZ
1122014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
113
114 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
115 prototype.
116
d0276e18
SE
1172014-12-11 Steve Ellcey <sellcey@imgtec.com>
118
119 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
120 integer value instead of boolean.
121
fc56e970
SE
1222014-12-11 Steve Ellcey <sellcey@imgtec.com>
123
124 * malloc/malloc.c: Fix powerof2 check.
125
40e53917
SL
1262014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
127
128 * locale/programs/locfile.h (maybe_swap_uint32):
129 Remove inline and add unused attribute.
130
1ea166df
SL
1312014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
132
9d9c0019 133 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
134 Truncating assembler expression to a .long expression.
135
acf869f4
AS
1362014-12-11 Andreas Schwab <schwab@suse.de>
137
138 * elf/rtld.c (struct map_args): Constify str member.
139 (do_preload): Constify fname argument.
140
9d969099
AZ
1412014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142
143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
144 constants definition.
145
da5bcaa4
AS
1462014-12-11 Andreas Schwab <schwab@suse.de>
147
b0a3c164
AS
148 [BZ #16657]
149 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
150 FORCE_ELISION instead of DO_ELISION.
151 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
152 Remove.
153 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
154 Likewise.
155
da5bcaa4
AS
156 * iconvdata/gconv-modules: Remove duplicate entry.
157
6d248857
WN
1582014-12-11 Will Newton <will.newton@linaro.org>
159
160 Merge gettext 0.19.3 into intl/.
161
162 This involves a number of cosmetic changes to comments
163 and ANSI function definitions and prototypes throughout
164 all the files. The gettext copyright header is used but
165 with the date ranges taken from the glibc copy.
166
167 * NEWS: Add gettext merge to 2.21.
168 * intl/bindtextdom.c: Switch to gettext copyright.
169 Use ANSI definitions and prototypes.
170 Use gl_* locking primitives rather than __libc_* ones.
171 Use __builtin_expect rather than __glibc_likely/unlikely.
172 * intl/dcgettext.c: Switch to gettext copyright.
173 Use ANSI definitions and prototypes.
174 * intl/dcigettext.c: Switch to gettext copyright.
175 Use ANSI definitions and prototypes.
176 (INTDIV0_RAISES_SIGFPE): New define.
177 Use gl_* locking primitives rather than __libc_* ones.
178 Include eval-plural.h instead of plural-eval.c.
179 Use __builtin_expect rather than __glibc_likely/unlikely.
180 * intl/dcngettext.c: Switch to gettext copyright.
181 Use ANSI definitions and prototypes.
182 * intl/dgettext.c: Likewise.
183 * intl/dngettext.c: Likewise.
184 * intl/plural-eval.c: Renamed to...
185 * intl/eval-plural.h: ...this.
186 * intl/explodename.c: Switch to gettext copyright.
187 Use ANSI definitions and prototypes.
188 (_nl_explode_name): Use strchr instead of __rawmemchr.
189 * intl/finddomain.c: Switch to gettext copyright.
190 Use ANSI definitions and prototypes.
191 Use gl_* locking primitives rather than __libc_* ones.
192 (_nl_find_domain): Use malloc rather than alloca for
193 allocation of temporary locale name.
194 * intl/gettext.c: Switch to gettext copyright.
195 Use ANSI definitions and prototypes.
196 * intl/gettextP.h: Switch to gettext copyright.
197 Use ANSI definitions and prototypes.
198 Use gl_* locking primitives rather than __libc_* ones.
199 * intl/gmo.h: Switch to gettext copyright.
200 (struct sysdep_string): Move struct segment_pair outside of
201 struct definition.
202 * intl/hash-string.c: Use ANSI definitions and prototypes.
203 * intl/hash-string.h: Switch to gettext copyright.
204 Use ANSI definitions and prototypes.
205 * intl/l10nflist.c: Switch to gettext copyright.
206 Use ANSI definitions and prototypes.
207 (_nl_normalize_codeset): Avoid integer overflow.
208 * intl/loadinfo.h: Switch to gettext copyright.
209 Use ANSI definitions and prototypes.
210 (LIBINTL_DLL_EXPORTED): New define.
211 (PATH_SEPARATOR): New define.
212 * intl/loadmsgcat.c: Switch to gettext copyright.
213 * intl/localealias.c: Switch to gettext copyright.
214 Use ANSI definitions and prototypes.
215 (_nl_expand_alias): Use PATH_SEPARATOR.
216 * intl/ngettext.c: Switch to gettext copyright.
217 Use ANSI definitions and prototypes.
218 * intl/plural-exp.c: Likewise.
219 * intl/plural-exp.h: Switch to gettext copyright.
220 Use ANSI definitions and prototypes.
221 (struct expression): Move definition of enum operator outside
222 of struct definition.
223 * intl/plural.c: Regenerate.
224 * intl/plural.y: Switch to gettext copyright.
225 Use ANSI definitions and prototypes.
226 Port to bison 3.0.
227 * intl/textdomain.c: Switch to gettext copyright.
228 Use ANSI definitions and prototypes.
229 Use gl_* locking primitives rather than __libc_* ones.
230
48c43298
SE
2312014-12-10 Steve Ellcey <sellcey@imgtec.com>
232
233 * debug/warning-nop.c: Add used atrribute.
234
2b89bce9
JM
2352014-12-10 Joseph Myers <joseph@codesourcery.com>
236
c153ac9f
JM
237 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
238
2b89bce9
JM
239 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
240 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
241 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
242
2cfbdb9a
JM
2432014-12-10 Joseph Myers <joseph@codesourcery.com>
244 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
245
246 [BZ #17634]
247 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
248 Undefine after defining function. Define as weak alias of
249 __wcschr. Use libc_hidden_weak.
250 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
251 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
252 (libc_hidden_def): Also define __GI___wcschr alias.
253 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
254 __wcschr and define as weak alias of __wcschr.
255 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
256 __wcschr.
257 [!WCSCHR] (DEFAULT_WCSCHR): Define.
258 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
259 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
260 libc_hidden_weak. Do not use libc_hidden_def.
261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
262 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
263 __GI___wcschr alias.
264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
265 [IS_IN (libc)] (wcschr): Define as macro expanding to
266 __redirect_wcschr.
267 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
268 [IS_IN (libc)] (__wcschr_power6): Likewise.
269 [IS_IN (libc)] (__wcschr_power7): Likewise.
270 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
271 instead of wcschr.
272 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
273 __libc_wcschr.
274 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
275 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
276 __wcschr and define as weak alias of __wcschr. Use
277 libc_hidden_builtin_def.
278 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
279 as weak alias of __wcschr. Use libc_hidden_weak.
280 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
281 wcschr.
282 * time/era.c (_nl_init_era_entries): Likewise.
283 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
284 variable.
285 (test-xfail-XPG3/time.h/linknamespace): Likewise.
286 (test-xfail-XPG4/time.h/linknamespace): Likewise.
287
1b8bf351
JM
2882014-12-10 Joseph Myers <joseph@codesourcery.com>
289
290 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
291 format for long int variable.
292
f5f46d51
AK
2932014-12-10 Anders Kaseorg <andersk@MIT.EDU>
294
295 [BZ #10672]
07008f7d 296 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
297 qsort stable.
298
217a74a8
AS
2992014-12-10 Andreas Schwab <schwab@suse.de>
300
301 [BZ #12847]
302 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
303 user-controlled locks.
304
aa76a5c7
RE
3052014-12-10 Richard Earnshaw <rearnsha@arm.com>
306
307 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
308 register.
309
2084e7ca
JM
3102014-12-10 Joseph Myers <joseph@codesourcery.com>
311
a4ecc9eb
JM
312 * configure.ac (--disable-werror): New configure option.
313 (enable_werror): New AC_SUBST.
314 * configure: Regenerated.
315 * config.make.in (enable-werror): New variable.
316 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
317 -Wno-error=undef.
318 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
319 * manual/install.texi (Configuring and compiling): Document
320 --disable-werror.
321 * INSTALL: Regenerated.
322 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
323 (CFLAGS-tst-chk2.c): Likewise.
324 (CFLAGS-tst-chk3.c): Likewise.
325 (CFLAGS-tst-chk4.cc): Likewise.
326 (CFLAGS-tst-chk5.cc): Likewise.
327 (CFLAGS-tst-chk6.cc): Likewise.
328 (CFLAGS-tst-lfschk1.c): Likewise.
329 (CFLAGS-tst-lfschk2.c): Likewise.
330 (CFLAGS-tst-lfschk3.c): Likewise.
331 (CFLAGS-tst-lfschk4.cc): Likewise.
332 (CFLAGS-tst-lfschk5.cc): Likewise.
333 (CFLAGS-tst-lfschk6.cc): Likewise.
334
0f88636c
JM
335 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
336 (main): Disable -Wdeprecated-declarations around calls to
337 register_printf_function.
338
c81e9deb
JM
339 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
340 (do_test): Disable -Wdiv-by-zero around some calls to
341 fwrite_unlocked and fread_unlocked.
342
2084e7ca
JM
343 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
344 (DIAG_POP_NEEDS_COMMENT): Likewise.
345 (_DIAG_STR1): Likewise.
346 (_DIAG_STR): Likewise.
347 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
348 * stdio-common/bug21.c: Include <libc-internal.h>.
349 (do_test): Disable -Wformat around call to sscanf.
350 * stdio-common/scanf14.c: Include <libc-internal.h>.
351 (main): Disable -Wformat around some calls to scanf functions.
352
df7ecc6b
TR
3532014-12-09 Torvald Riegel <triegel@redhat.com>
354
355 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
356
2aa3862e
AZ
3572014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358
359 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
360 stack variable alignment.
361
c5c2b7c3
JM
3622014-12-06 Joseph Myers <joseph@codesourcery.com>
363
364 [BZ #17682]
365 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
366 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
367 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
368 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
369 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
370 __getrlimit instead of getrlimit.
371 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
372 __gettimeofday instead of gettimeofday.
373 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
374 Likewise.
375 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
376 Likewise.
377 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
378 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
379 Remove variable.
380 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
381 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
382
9752c3cd
AZ
3832014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
384
385 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
386 for wide-character tests.
387
4bee4cd9
RM
3882014-12-04 Roland McGrath <roland@hack.frob.com>
389
390 * io/openat64.c: #include <libc-internal.h>
391 (__openat64): Prototypify. Use ignore_value on MODE.
392 * io/openat.c: Likewise.
393 * misc/reboot.c: #include <libc-internal.h>
394 (reboot): Prototypify. Use ignore_value on HOWTO.
395 * misc/ptrace.c: #include <libc-internal.h>
396 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
397
84dbedb6
JM
3982014-12-04 Joseph Myers <joseph@codesourcery.com>
399
400 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
401 XPG4, UNIX98 and XOPEN2K.
402 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
403 Remove variable.
404 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
405
b7a3e1c4 4062014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 407
af50dfc1 408 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
409 * libio/iofopen.c: Likewise.
410 * libio/wfileops.c: Likewise.
411
fe8b4d98
SP
412 [BZ #17653]
413 * libio/fileops.c (_IO_new_file_underflow): Unset cached
414 offset on EOF.
415 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
416 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
417 (fgets_func): Function pointer to fgets and fgetws.
418 (do_ftell_test): Add test to verify ftell value after read
419 EOF.
420 (do_test): Set fgets_func.
421
61b4f792
SP
422 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
423 O_TRUNC flag for w and w+ modes.
424 (do_rewind_test): Likewise.
425 (do_ftell_test): Likewise.
426 (do_write_test): Likewise.
427
be349d70
SP
428 [BZ #17647]
429 * libio/fileops.c (do_ftell): Seek only when there are
430 unflushed writes.
431 * libio/wfileops.c (do_ftell_wide): Likewise.
432 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
433 test case.
434 (do_one_test): Call it.
435
e3d6dba5
JM
4362014-12-03 Joseph Myers <joseph@codesourcery.com>
437
438 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
439 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
440 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
441 Remove variable.
442 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
443 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
444 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
445
7f994279
JM
4462014-12-02 Joseph Myers <joseph@codesourcery.com>
447
28a91e8f
JM
448 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
449 Remove variable.
450 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
451
7f994279
JM
452 [BZ #17668]
453 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
454 as weak alias of __getifaddrs. Use libc_hidden_weak.
455 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
456 __freeifaddrs. Use libc_hidden_weak.
457 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
458 define as weak alias of __getifaddrs. Use libc_hidden_weak.
459 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
460 __freeifaddrs. Use libc_hidden_weak.
461 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
462 __getifaddrs and define as weak alias of __getifaddrs. Use
463 libc_hidden_weak.
464 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
465 __freeifaddrs. Use libc_hidden_weak.
466 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
467 Remove variable.
468 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
469 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
470
bbe4c142
PJ
4712014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
472
473 [BZ #17601]
474 * sysdeps/mips/start.S (__start): Use indirect jump to call
475 __libc_start_main.
476
66cadc05
JM
4772014-12-02 Joseph Myers <joseph@codesourcery.com>
478
909e16d9
JM
479 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
480
4e0b9016
JM
481 * nptl/tst-mutex1.c: Include <stdbool.h>.
482 [!ATTR] (ATTR_NULL): New macro.
483 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
484 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
485 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
486
b1aff6a4
JM
487 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
488 to char *.
489
266865c0
JM
490 [BZ #17665]
491 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
492 Change conditional to [__USE_MISC].
493
84e5e756
JM
494 [BZ #17664]
495 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
496 fgets_unlocked.
497 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
498 __fgets_unlocked.
499 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
500 fgets_unlocked.
501 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
502 Remove variable.
503 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
504 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
505 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
506 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
507 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
508 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
509 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
510 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
511 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
512
66cadc05
JM
513 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
514
2e8a2de2 5152014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
516
517 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
518 Remove strpbrk objects.
519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
520 (__libc_ifunc_impl_list): Remove strpbrk implementation.
521 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
522 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
523 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
524 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
525
bb2542e0
AZ
526 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
527 Remove strcspn objects.
528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
529 (__libc_ifunc_impl_list): Remove strcspn implementation.
530 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
531 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
532 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
533 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
534
535 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
536 Remove strspn objetcs.
537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
538 (__libc_ifunc_impl_list): Remove strspn implementation.
539 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
540 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
541 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
542 * sysdeps/powerpc/powerpc64/strspn.S: New file.
543
08f1e1d2
JL
5442014-12-01 James Lemke <jwlemke@codesourcery.com>
545
546 [BZ #17581]
547 * malloc/hooks.c
548 (mem2mem_check): Add a terminator to the chain of checking blocks.
549 (malloc_check_get_size): Use it here.
550 (mem2chunk_check): Ditto.
551
a8a7d7d2
RS
5522014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
553
554 * sysdeps/powerpc/powerpc64/strtok.S: New file.
555 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
556
97114a38
CD
5572014-11-29 Carlos O'Donell <carlos@redhat.com>
558
c8dc1727
CD
559 * bits/ioctl-types.h: Indent preprocessor directives correctly.
560
6d03458e
CD
561 * nptl/nptl-init.c: Include libc-internal.h.
562 (__pthread_initialize_minimal_internal): Use ROUND_UP.
563
97114a38
CD
564 * elf/ldconfig.c (search_dir): Expand comment.
565
0e7e69ba
JM
5662014-11-29 Joseph Myers <joseph@codesourcery.com>
567
568 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
569 variable.
570 (linknamespace-symlist-stdlibs-tests): Likewise.
571 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
572 instead of $(objpfx)symlist-stdlibs.
573 (linknamespace-libs-isoc): New variable.
574 (linknamespace-libs): Use $(linknamespace-libs-isoc).
575 (linknamespace-libs-ISO): New variable.
576 (linknamespace-libs-ISO99): Likewise.
577 (linknamespace-libs-ISO11): Likewise.
578 (linknamespace-libs-XPG3): Likewise.
579 (linknamespace-libs-XPG4): Likewise.
580 (linknamespace-libs-POSIX): Likewise.
581 (linknamespace-libs-UNIX98): Likewise.
582 (linknamespace-libs-XOPEN2K): Likewise.
583 (linknamespace-libs-POSIX2008): Likewise.
584 (linknamespace-libs-XOPEN2K8): Likewise.
585 ($(objpfx)symlist-stdlibs): Replace by
586 $(linknamespace-symlist-stdlibs-tests). Use
587 $(linknamespace-libs-$*) as set of libraries.
588 ($(linknamespace-header-tests)): Update dependencies. Use
589 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
590 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
591 * conform/linknamespace.pl: Remove comment about considering
592 definitions of symbols from irrelevant libraries.
593
d8dd0080
L
5942014-11-28 H.J. Lu <hongjiu.lu@intel.com>
595
596 [BZ #13862]
597 * elf/dl-tls.c: Include <atomic.h>.
598 (oom): Remove #ifdef SHARED/#endif.
599 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
600 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
601 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
602 big enough.
603 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
604 * nptl/Makefile (tests): Add tst-stack4.
605 (modules-names): Add tst-stack4mod.
606 ($(objpfx)tst-stack4): New.
607 (tst-stack4mod.sos): Likewise.
608 ($(objpfx)tst-stack4.out): Likewise.
609 ($(tst-stack4mod.sos)): Likewise.
610 (clean): Likewise.
611 * nptl/tst-stack4.c: New file.
612 * nptl/tst-stack4mod.c: Likewise.
613
167da422
B
6142014-11-27 J. Brown <jb999@gmx.de>
615
616 * sysdeps/x86/bits/string.h: Add recent CPUs.
617
9114625b
JM
6182014-11-27 Joseph Myers <joseph@codesourcery.com>
619
6b5189eb
JM
620 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
621 sigblock.
622
49051f8e
JM
623 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
624 feof.
625
9114625b
JM
626 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
627 variable.
628
e7300fef
SL
6292014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
630
631 * nscd/connections.c: Include libc-internal.h because of macro
632 usage ignore_value.
633
1721f0a4
SP
6342014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
635
636 * string/bits/string3.h (__warn_memset_zero_len): Don't
637 declare for gcc newer than 5.0.
638 (memset): Don't test for zero-length __LEN for gcc newer than
639 5.0.
640
be970916
JM
6412014-11-27 Joseph Myers <joseph@codesourcery.com>
642
d88548f4
JM
643 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
644 size_t for %zu format.
645
be970916
JM
646 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
647 difference, not %ju.
648
3b20fd5c
JM
6492014-11-26 Joseph Myers <joseph@codesourcery.com>
650
8915eace
JM
651 * include/libc-internal.h (ignore_value): New macro.
652 * nscd/connections.c (restart): Wrap calls to setuid and setgid
653 with ignore_value.
654
f1a5a0e3
JM
655 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
656 definition.
657
59ef1715
JM
658 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
659 pthread_cleanup_push to void *.
660
a6f3079b
JM
661 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
662 Undefine.
663
706688aa
JM
664 [BZ #16619]
665 [BZ #16740]
666 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
667 instead of 1L << 52.
668
12da14a5
JM
669 * libio/bug-rewind.c (do_test): Check fwscanf return values.
670 * libio/bug-rewind2.c (do_test): Likewise.
671
bd5dadac
JM
672 * debug/test-stpcpy_chk-ifunc.c: Remove file.
673 * debug/test-strcpy_chk-ifunc.c: Likewise.
674 * wcsmbs/test-wcschr-ifunc.c: Likewise.
675 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
676 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
677 * wcsmbs/test-wcslen-ifunc.c: Likewise.
678 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
679 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
680 * Rules [$(multi-arch) = no] (tests): Do not filter out
681 $(tests-ifunc).
682 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
683 * debug/Makefile (tests-ifunc): Remove variable.
684 (tests): Do not add $(tests-ifunc).
685 * wcsmbs/Makefile (tests-ifunc): Remove variable.
686 (tests): Do not add $(tests-ifunc).
687 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
688 [TEST_IFUNC]: Remove conditionals.
689 * string/test-string.h (TEST_IFUNC): Remove macro.
690 [TEST_IFUNC]: Remove conditionals.
691
3b20fd5c
JM
692 * string/test-strchr.c [!WIDE] (L): New macro.
693 [WIDE] (L): Likewise.
694 (check1): Use CHAR instead of char. Use L on string and character
695 constants.
696
704f7947
AZ
6972014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
698
699 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
700 tests.
701 * sysdeps/powerpc/bits/atomic.h
702 (__arch_atomic_exchange_and_add_32_acq): Add definition.
703 (__arch_atomic_exchange_and_add_32_rel): Likewise.
704 (atomic_exchange_and_add_acq): Likewise.
705 (atomic_exchange_and_add_rel): Likewise.
706 * sysdeps/powerpc/powerpc32/bits/atomic.h
707 (__arch_atomic_exchange_and_add_64_acq): Add definition.
708 (__arch_atomic_exchange_and_add_64_rel): Likewise.
709 * sysdeps/powerpc/powerpc64/bits/atomic.h
710 (__arch_atomic_exchange_and_add_64_acq): Add definition.
711 (__arch_atomic_exchange_and_add_64_rel): Likewise.
712
cdcb42d7
TR
7132014-11-26 Torvald Riegel <triegel@redhat.com>
714
715 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
716 Change synchronization of __sched_fifo_min_prio and
717 __sched_fifo_max_prio.
718 * nptl/pthread_mutexattr_getprioceiling.c
719 (pthread_mutexattr_getprioceiling): Likewise.
720 * nptl/pthread_mutexattr_setprioceiling.c
721 (pthread_mutexattr_setprioceiling): Likewise.
722 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
723 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
724 Likewise.
725
c82f5c0c
JM
7262014-11-26 Joseph Myers <joseph@codesourcery.com>
727
728 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
729 void.
730
439e1ad6
JM
7312014-11-25 Joseph Myers <joseph@codesourcery.com>
732
733 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
734 third argument const.
735
b1eda10e
PE
7362014-11-25 Paul Eggert <eggert@cs.ucla.edu>
737
738 fnmatch: work around GCC compiler warning bug with uninit var
739 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
740 This works around a bug with x86-64 GCC 4.9.2 and earlier
741 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
742 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
743 used uninitialized in this function [-Wmaybe-uninitialized]".
744
bde2667a
JM
7452014-11-25 Joseph Myers <joseph@codesourcery.com>
746
747 * posix/bug-regex31.c (main): Return RES not 0.
748
5fbb5691
AB
7492014-11-25 Anton Blanchard <anton@samba.org>
750
751 * sysdeps/powerpc/bits/atomic.h
752 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
753
467fec0b
BM
7542014-11-24 Sterling Augustine <saugustine@google.com>
755
756 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
757
e9ff8efb
RC
7582014-11-24 Ryan Cumming <etaoins@gmail.com>
759
760 [BZ #17608]
761 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
762
9744496f
JM
7632014-11-24 Joseph Myers <joseph@codesourcery.com>
764
765 [BZ #17633]
766 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
767 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
768 variable.
769 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
770 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
771
6423d475
WD
7722014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
773
774 * string/strncpy.c (strncpy): Improve performance by using memset.
775
7762014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
777
778 * string/strcpy.c (strcpy):
779 Improve performance by using strlen and memcpy.
780
5d178c37
LH
7812014-11-24 Leonhard Holz <leonhard.holz@web.de>
782
783 * string/strcoll_l.c (get_next_seq): __always_inline.
784 * string/strcoll_l.c (do_compare): __always_inline.
785
279bc5b3
SP
7862014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
787
7a9ebfa1
SP
788 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
789 defined.
790 * include/mqueue.h: Likewise.
791 * include/stdlib.h: Likewise.
792
4f41c682
SP
793 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
794 (get_null_defines): Adjust.
795 * sunrpc/Makefile: Adjust comment.
796 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
797 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
798 (CFLAGS-interp.c): Likewise.
799 (CFLAGS-ldconfig.c): Likewise.
800 (CPPFLAGS-.os): Likewise.
801 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
802 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
803 * extra-modules.mk (extra-modules.mk): Likewise.
804 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
805 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
806 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
807 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
808 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
809 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
810 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
811 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
812 * iconvdata/Makefile (CPPFLAGS): Likewise.
813 (cpp-srcs-left): Add libof for all iconvdata routines.
814 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
815 * include/assert.h: Likewise.
816 * include/ctype.h: Likewise.
817 * include/errno.h: Likewise.
818 * include/libc-symbols.h: Likewise.
819 * include/math.h: Likewise.
820 * include/netdb.h: Likewise.
821 * include/resolv.h: Likewise.
822 * include/stdio.h: Likewise.
823 * include/stdlib.h: Likewise.
824 * include/string.h: Likewise.
825 * include/sys/stat.h: Likewise.
826 * include/wctype.h: Likewise.
827 * intl/l10nflist.c: Likewise.
828 * libidn/idn-stub.c: Likewise.
829 * libio/libioP.h: Likewise.
830 * nptl/libc_multiple_threads.c: Likewise.
831 * nptl/pthreadP.h: Likewise.
832 * posix/regex_internal.h: Likewise.
833 * resolv/res_hconf.c: Likewise.
834 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
835 * sysdeps/arm/memmove.S: Likewise.
836 * sysdeps/arm/sysdep.h: Likewise.
837 * sysdeps/generic/_itoa.h: Likewise.
838 * sysdeps/generic/symbol-hacks.h: Likewise.
839 * sysdeps/gnu/errlist.awk: Likewise.
840 * sysdeps/gnu/errlist.c: Likewise.
841 * sysdeps/i386/i586/memcpy.S: Likewise.
842 * sysdeps/i386/i586/memset.S: Likewise.
843 * sysdeps/i386/i686/memcpy.S: Likewise.
844 * sysdeps/i386/i686/memmove.S: Likewise.
845 * sysdeps/i386/i686/mempcpy.S: Likewise.
846 * sysdeps/i386/i686/memset.S: Likewise.
847 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
849 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
850 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
851 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
852 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
853 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
854 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
855 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
856 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
857 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
858 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
859 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
860 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
861 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
862 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
863 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
864 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
865 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
866 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
867 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
868 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
869 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
870 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
871 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
872 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
873 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
874 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
876 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
877 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
878 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
880 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
883 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
884 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
885 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
886 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
888 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
890 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
891 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
892 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
893 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
894 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
895 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
896 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
897 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
898 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
900 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
901 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
903 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
904 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
905 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
906 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
907 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
908 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
909 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
910 * sysdeps/nptl/bits/libc-lock.h: Likewise.
911 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
912 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
913 * sysdeps/posix/closedir.c: Likewise.
914 * sysdeps/posix/opendir.c: Likewise.
915 * sysdeps/posix/readdir.c: Likewise.
916 * sysdeps/posix/rewinddir.c: Likewise.
917 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
918 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
919 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
920 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
921 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
923 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
924 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
925 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
927 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
928 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
929 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
930 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
931 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
932 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
933 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
936 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
945 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
952 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
953 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
954 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
955 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
956 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
957 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
958 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
959 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
960 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
961 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
962 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
963 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
964 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
965 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
966 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
967 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
968 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
969 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
970 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
971 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
972 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
973 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
974 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
975 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
976 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
977 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
978 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
979 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
980 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
981 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
982 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
983 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
984 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
985 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
986 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
987 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
988 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
989 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
990 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
991 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
992 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
993 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
994 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
995 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
996 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
997 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
998 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
999 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1000 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1001 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1003 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1004 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1005 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1006 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1007 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1008 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1009 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1010 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1013 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1015 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1016 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1018 * sysdeps/unix/alpha/sysdep.S: Likewise.
1019 * sysdeps/unix/alpha/sysdep.h: Likewise.
1020 * sysdeps/unix/make-syscalls.sh: Likewise.
1021 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1022 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1023 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1024 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1025 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1026 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1027 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1028 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1029 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1030 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1031 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1032 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1033 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1034 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1035 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1036 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1037 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1038 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1039 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1040 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1041 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1042 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1043 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1044 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1045 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1046 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1047 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1050 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1051 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1055 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1060 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1061 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1062 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1063 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1064 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1065 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1068 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1071 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1072 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1073 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1074 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1075 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1076 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1079 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1080 * sysdeps/x86_64/memcpy.S: Likewise.
1081 * sysdeps/x86_64/memmove.c: Likewise.
1082 * sysdeps/x86_64/memset.S: Likewise.
1083 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1084 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1085 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1086 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1087 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1090 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1091 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1092 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1093 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1094 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1095 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1096 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1097 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1098 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1099 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1100 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1102 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1103 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1104 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1105 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1107 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1108 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1109 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1110 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1111 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1112 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1113 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1114 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1115 * sysdeps/x86_64/strcmp.S: Likewise.
1116
76ca86a5
SP
1117 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1118
a3848485
SP
1119 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1120 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1121 * elf/rtld-Rules: Likewise.
1122 * elf/setup-vdso.h: Likewise.
1123 * include/assert.h: Likewise.
1124 * include/bits/stdlib-float.h: Likewise.
1125 * include/errno.h: Likewise.
1126 * include/sys/stat.h: Likewise.
1127 * include/unistd.h: Likewise.
1128 * sysdeps/aarch64/setjmp.S: Likewise.
1129 * sysdeps/alpha/setjmp.S: Likewise.
1130 * sysdeps/arm/__longjmp.S: Likewise.
1131 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1132 * sysdeps/arm/setjmp.S: Likewise.
1133 * sysdeps/arm/sysdep.h: Likewise.
1134 * sysdeps/generic/_itoa.h: Likewise.
1135 * sysdeps/generic/dl-sysdep.h: Likewise.
1136 * sysdeps/generic/ldsodefs.h: Likewise.
1137 * sysdeps/i386/dl-tls.h: Likewise.
1138 * sysdeps/i386/setjmp.S: Likewise.
1139 * sysdeps/m68k/setjmp.c: Likewise.
1140 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1141 * sysdeps/mach/hurd/opendir.c: Likewise.
1142 * sysdeps/posix/getcwd.c: Likewise.
1143 * sysdeps/posix/opendir.c: Likewise.
1144 * sysdeps/posix/profil.c: Likewise.
1145 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1146 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1147 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1149 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1150 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1151 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1152 * sysdeps/s390/dl-tls.h: Likewise.
1153 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1154 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1155 * sysdeps/sh/sh3/setjmp.S: Likewise.
1156 * sysdeps/sh/sh4/setjmp.S: Likewise.
1157 * sysdeps/unix/alpha/sysdep.h: Likewise.
1158 * sysdeps/unix/arm/sysdep.S: Likewise.
1159 * sysdeps/unix/i386/sysdep.S: Likewise.
1160 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1161 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1162 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1163 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1165 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1166 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1167 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1168 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1169 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1170 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1171 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1172 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1175 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1176 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1177 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1178 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1179 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1180 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1183 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1184 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1185 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1187 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1188 * sysdeps/x86_64/setjmp.S: Likewise.
1189
a109996e
SP
1190 * include/math.h: Use IS_IN instead of IS_IN_libm.
1191 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1193 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1194 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1195 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1196 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1197 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1201 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1203 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1207 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1211 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1212 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1213 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1214 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1215 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1216 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1218 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1219 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1220 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1221 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1222 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1223 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1225 Likewise.
1226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1227 Likewise.
1228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1229 Likewise.
1230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1231 Likewise.
1232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1233 Likewise.
1234 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1235 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1236 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1237 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1238 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1239 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1245 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1248 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1249 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1254 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1258 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1260 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1261
ce9f10f7
SP
1262 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1263 * nptl/pthreadP.h: Likewise.
1264 * nptl_db/structs.def: Likewise.
1265 * sysdeps/arm/sysdep.h: Likewise.
1266 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1267 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1268 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1269 * sysdeps/unix/alpha/sysdep.h: Likewise.
1270 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1271 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1272 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1273 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1274 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1275 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1276 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1277 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1278 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1279 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1280 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1281 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1282 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1283 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1288 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1291 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1292 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1293 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1294 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1295 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1296
016afc75
SP
1297 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1298 * nptl/pthreadP.h: Likewise.
1299 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1300 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1301 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1302 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1303 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1304 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1305 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1306 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1307 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1308 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1309 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1310 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1312 Likewise.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1314 Likewise.
1315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1317 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1320 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1321 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1322 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1323
9b42a0b3
SP
1324 * dlfcn/dladdr.c: Use IS_IN.
1325 * dlfcn/dladdr1.c: Likewise.
1326 * dlfcn/dlclose.c: Likewise.
1327 * dlfcn/dlerror.c: Likewise.
1328 * dlfcn/dlinfo.c: Likewise.
1329 * dlfcn/dlmopen.c: Likewise.
1330 * dlfcn/dlopen.c: Likewise.
1331 * dlfcn/dlsym.c: Likewise.
1332 * dlfcn/dlvsym.c: Likewise.
1333
85f36372
SP
1334 * include/ifaddrs.h: Use IS_IN.
1335 * inet/check_pf.c: Likewise.
1336 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1337 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1338
fb6784e3
SP
1339 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1340 IS_IN_ldconfig.
1341 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1342 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1343
2886d2d1
SP
1344 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1345 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1346 IS_IN (libc).
1347
9a484857
SP
1348 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1349
a10178bd
SP
1350 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1351 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1352 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1353 * include/libc-symbols.h (IS_IN_LIB): New macro.
1354 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1355 * include/netdb.h: Likewise.
1356 * include/stap-probe.h: Remove all uses of IN_LIB.
1357
279bc5b3
SP
1358 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1359 instead of IN_MODULE.
1360 * include/libc-symbols.h (IN_MODULE): Define using
1361 MODULE_NAME.
1362 (PASTE_NAME, PASTE_NAME1): New macros.
1363 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1364 of IN_LIB.
1365 (STAP_PROBE_ASM): Likewise.
1366
e0cfa510
ST
13672014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1368
1369 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1370 __mach_init in dlopened libc.
1371
34d97d87
MF
13722014-11-22 Mike Frysinger <vapier@gentoo.org>
1373
1374 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1375 * sysdeps/arm/preconfigure: Regenerate.
1376
33cd1f74
RM
13772014-11-21 Roland McGrath <roland@hack.frob.com>
1378
1379 * nptl/pthread_create.c (__pthread_create_2_1): Set
1380 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1381 when copying values from IATTR into PD.
1382
8c230039
WN
13832014-11-21 Will Newton <will.newton@linaro.org>
1384 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1385
6d3db89b
AP
1386 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1387 Refactor inline-asm. Also add comment.
1388
01194ba1
WN
1389 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1390 ElfW macro instead of hardcoded Elf64 types.
1391 (la_aarch64_gnu_pltenter): Likewise.
1392 * sysdeps/aarch64/dl-machine.h
1393 (elf_machine_runtime_setup): Use ElfW(Addr).
1394
8c230039
WN
1395 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1396 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1397 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1398 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1399 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1400 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1401 (R_AARCH64_TLS_DTPMOD): This.
1402 (R_AARCH64_TLS_DTPREL64): Rename to ...
1403 (R_AARCH64_TLS_DTPREL): This.
1404 (R_AARCH64_TLS_TPREL64): Rename to ...
1405 (R_AARCH64_TLS_TPREL): This.
1406 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1407 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1408 R_AARCH64_TLS_TPREL64.
1409 (elf_machine_rela): Likewise.
1410
0d79fa53
TR
14112014-11-21 Torvald Riegel <triegel@redhat.com>
1412
1413 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1414 by setting it to 0. 64b atomics are not supported currently.
1415
b59d114b
AO
14162014-11-21 Alexandre Oliva <aoliva@redhat.com>
1417
1418 [BZ #16469]
1419 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1420 search domain names.
1421
f3d945d5
AO
14222014-11-21 Alexandre Oliva <aoliva@redhat.com>
1423
1424 [BZ #16469]
1425 * NEWS: Update.
1426 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1427 trailing dot.
1428 * posix/tst-getaddrinfo5.c: New.
1429 * posix/Makefile (tests): Add it.
1430
49698902
AO
14312014-11-21 Alexandre Oliva <aoliva@redhat.com>
1432
1433 [BZ #14498]
1434 * NEWS: Fixed.
1435 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1436 after parsing line but before break_if_match.
1437 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1438 if there is a protocol mismatch.
1439
81959214
MS
14402014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1441
1442 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1443 because the potential race is on the user-supplied stream.
1444
7729e0e9
AO
14452014-11-21 Alexandre Oliva <aoliva@redhat.com>
1446
1447 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1448 string literal if not passed a buffer.
1449 * manual/job.texi (ctermid): Update reasoning, note deviation
1450 from posix, suggest mtasurace when not passed a buffer, for
1451 future non-preliminary safety notes.
1452
a4ea5e28
AO
14532014-11-21 Alexandre Oliva <aoliva@redhat.com>
1454
1455 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1456 of not passing it a buffer.
1457 Reported by Peng Haitao.
1458
a2b581cb
AO
14592014-11-21 Alexandre Oliva <aoliva@redhat.com>
1460
1461 * manual/Makefile ($(objpfx)stamp-summary): Require
1462 check-safety.sh to pass.
1463 * manual/check-safety.sh: Wish for verification that every
1464 @deftypefn and @deftypefun is followed by a @safety remark.
1465
f214ff74
RM
14662014-11-20 Roland McGrath <roland@hack.frob.com>
1467
7f0dfae0
RM
1468 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1469
2f531bbb
RM
1470 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1471 PTHREAD_CANCEL_ASYNCHRONOUS.
1472 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1473 send SIGCANCEL.
1474
f214ff74
RM
1475 * nptl/default-sched.h: New file.
1476 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1477 * nptl/pthread_create.c: Include it.
1478 (__pthread_create_2_1): Use collect_default_sched instead of making
1479 Linux syscalls here directly.
1480
e37c91d4
TR
14812014-11-20 Torvald Riegel <triegel@redhat.com>
1482
1483 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1484 __pthread_once): Use C11 atomics.
1485
1eccfecd
TR
14862014-11-20 Torvald Riegel <triegel@redhat.com>
1487
1488 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1489
ff871426
TR
14902014-11-20 Torvald Riegel <triegel@redhat.com>
1491
1492 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1493 atomic_thread_fence_acquire, atomic_thread_fence_release,
1494 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1495 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1496 atomic_compare_exchange_weak_relaxed,
1497 atomic_compare_exchange_weak_acquire,
1498 atomic_compare_exchange_weak_release,
1499 atomic_exchange_acquire, atomic_exchange_release,
1500 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1501 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1502 atomic_fetch_and_acquire,
1503 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1504
1ea339b6
TR
15052014-11-20 Torvald Riegel <triegel@redhat.com>
1506
1507 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1508 USE_ATOMIC_COMPILER_BUILTINS): Define.
1509 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1510 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1511 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1512 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1513 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1515 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1516 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1517 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1518 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1519 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1520 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1521 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1523 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1525 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1527 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1529 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1531 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1533 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1535 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1537 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1539 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1540 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1541 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1543 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1544 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1545 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1546 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1547 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1548 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1549
cbd463e2
RM
15502014-11-19 Roland McGrath <roland@hack.frob.com>
1551
d960211f
RM
1552 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1553 the sched_priority value here. It was already checked when the user
1554 called pthread_attr_setschedparam.
1555
cbd463e2
RM
1556 * nptl/tst-bad-schedattr.c: New file.
1557 * nptl/Makefile (tests): Add it.
1558
a39208bd
CD
15592014-11-19 Carlos O'Donell <carlos@redhat.com>
1560 Florian Weimer <fweimer@redhat.com>
1561 Joseph Myers <joseph@codesourcery.com>
1562 Adam Conrad <adconrad@0c3.net>
1563 Andreas Schwab <schwab@suse.de>
1564 Brooks <bmoses@google.com>
1565
1566 [BZ #17625]
1567 * wordexp-test.c (__dso_handle): Add prototype.
1568 (__register_atfork): Likewise.
1569 (__app_register_atfork): New function.
1570 (registered_forks): New global.
1571 (register_fork): New function.
1572 (test_case): Add 3 new tests for WRDE_CMDSUB.
1573 (main): Call __app_register_atfork.
1574 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1575 fork count is non-zero fail the test.
1576 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1577 is set.
1578 (parse_dollars): Remove check for WRDE_NOCMD.
1579 (parse_dquote): Likewise.
1580
9cd47470
SP
15812014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
130ac68c
SP
1583 * Makeconfig (built-modules): List non-library modules to be
1584 built.
1585 (module-cppflags): Include libc-modules.h for
1586 everything except shlib-versions.v.i.
1587 (CPPFLAGS): Use it.
1588 (before-compile): Add libc-modules.h.
1589 ($(common-objpfx)libc-modules.h,
1590 $(common-objpfx)libc-modules.stmp): New targets.
1591 (common-generated): Add libc-modules.h and libc-modules.stmp.
1592 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1593 * include/libc-symbols.h: Don't include libc-modules.h.
1594 * include/libc-modules.h: Remove file.
1595 * scripts/gen-libc-modules.awk: New script to generate
1596 libc-modules.h.
1597 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1598 Depend on libc-modules.stmp.
1599
286663c3
SP
1600 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1601
9cd47470
SP
1602 * Makeconfig (in-module): Get value of libof set for the
1603 translation unit.
1604 (CPPFLAGS): Use $(in-module).
1605 * Makerules: Don't suffix routine names for nonlib.
1606 * include/libc-modules.h: New file.
1607 * include/libc-symbols.h: Include libc-modules.h
1608 (IS_IN): New macro to replace IS_IN_* macros.
1609 * elf/Makefile: Set libof-* for each routine.
1610 * elf/rtld-Rules: Likewise.
1611 * extra-modules.mk: Likewise.
1612 * iconv/Makefile: Likewise.
1613 * iconvdata/Makefile: Likewise.
1614 * locale/Makefile: Likewise.
1615 * malloc/Makefile: Likewise.
1616 * nss/Makefile: Likewise.
1617 * sysdeps/gnu/Makefile: Likewise.
1618 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1619 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1620 * sysdeps/s390/s390-64/Makefile: Likewise.
1621 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1622 CPPFLAGS for nscd instead of nonlib.
1623
32fed10f
RM
16242014-11-18 Roland McGrath <roland@hack.frob.com>
1625
d71035bd
RM
1626 * nptl/createthread.c: New file.
1627
6540b991
RM
1628 * nptl/createthread.c: Moved ...
1629 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1630
32fed10f
RM
1631 * nptl/createthread.c: Add proper top-line comment.
1632 (do_clone): Folded into ...
1633 (create_thread): ... here. Take new arguments STOPPED_START and
1634 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1635 increment __nptl_threads, do event-reporting logic, do
1636 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1637 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1638 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1639 just send SIGCANCEL.
1640 * nptl/pthread_create.c: Forward-declare create_thread before
1641 including createthread.c.
1642 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1643 declaration, and new macro START_THREAD_SELF to replace argument.
1644 Remove return statement.
1645 (report_thread_creation): New function.
1646 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1647 synchronization logic, and __nptl_nthreads increment here, around
1648 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1649 PD->parent_cancelhandling here, before create_thread. When
1650 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1651 __deallocate_stack, and ENOMEM translation here.
1652
107a5bf0
JM
16532014-11-18 Joseph Myers <joseph@codesourcery.com>
1654
1655 [BZ #17616]
1656 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1657 (mptwo): Rename to __mptwo.
1658 (__inv): Use __mptwo instead of mptwo.
1659 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1660 (mptwo): Rename to __mptwo.
1661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1662 of mpone and __mptwo instead of mptwo.
1663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1664 instead of mpone.
1665 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1666 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1667 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1668 of mpone and __mptwo instead of mptwo.
1669 (__mpranred): Use __mpone instead of mpone.
1670 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1671 variable.
1672 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1673 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1674 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1675 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1676 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1677 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1678 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1679 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1680 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1681 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1682 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1683 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1684 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1685 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1686 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1687 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1688 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1689 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1690 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1691
3b679ab3
TV
16922014-11-18 Tom de Vries <tom@codesoucery.com>
1693
1694 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1695 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1696
16972014-11-17 Richard Henderson <rth@redhat.com>
1698
1699 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1700 (_FP_PACK_RAW_2): Remove.
1701 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1702 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1703 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1704 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1705 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1706 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1707 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1708 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1709 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1710 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1711 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1712 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1713 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1714 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1715 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1716 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1717
0781a777
RM
17182014-11-14 Roland McGrath <roland@hack.frob.com>
1719
1720 * signal/signal.h [__USE_MISC]
1721 (struct sigvec): Remove type.
1722 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1723 (sigvec): Remove declaration.
1724 * sysdeps/posix/sigvec.c: Moved ...
1725 * signal/sigvec.c: ... here, replacing old file.
1726 (struct sigvec): New type, copied from old signal.h definition.
1727 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1728 (__sigvec): Convert definition to prototype.
1729 (sigvec): Replace weak_alias with compat_symbol.
1730 * signal/Versions (libc: GLIBC_2.21): New version set.
1731 * include/signal.h: Remove __sigvec declaration.
1732 * sysdeps/unix/bsd/sigvec.c: Remove file.
1733 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1734 * manual/signal.texi (BSD Handler): Remove subsection.
1735 Move siginterrupt up to ...
1736 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1737 (Blocking in BSD): Fold subsection into its parent.
1738 * NEWS: Mention sigvec removal.
1739
a4733812
JM
17402014-11-14 Joseph Myers <joseph@codesourcery.com>
1741
5ae4fe60
JM
1742 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1743 (DLA_FMS): Make definition conditional only on [__FMA4__].
1744 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1745 definition.
1746
6a0dd472
JM
1747 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1748 Make definition conditional only on [PROF].
1749 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1750 definition.
1751 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1752 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1753
a4733812
JM
1754 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1755 !__GNUC__].
1756 * include/signal.h (__sigpause): Move declaration above call to
1757 libc_hidden_proto.
1758 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1759 variable.
1760 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1761 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1762
cf7246dd
DM
17632014-11-14 David S. Miller <davem@davemloft.net>
1764
1765 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1766 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1767
c1b0aadc
JM
17682014-11-14 Joseph Myers <joseph@codesourcery.com>
1769
4863355a
JM
1770 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1771 * configure: Regenerated.
1772 * manual/install.texi (Tools for Compilation): Document a
1773 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1774 compiler verified to work.
1775 * INSTALL: Regenerated.
1776
c1b0aadc
JM
1777 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1778 redeclare with asm name.
1779 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1780 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1781 including <string.h>.
1782 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1784 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1785 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1786 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1787 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1788 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1789
2a1cfd94
JM
17902014-11-13 Joseph Myers <joseph@codesourcery.com>
1791
bf438382
JM
1792 * stdlib/strtol.c (__strtol): Use prototype definition.
1793
2a1cfd94
JM
1794 [BZ #17594]
1795 * stdlib/strtol.c (SYM__): New macro.
1796 (SYM__1): Likewise.
1797 (__strtol): Likewise.
1798 (strtol): Rename to __strtol and define as weak alias of
1799 __strtol. Use libc_hidden_weak.
1800
20ed0d26
SL
18012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1802
1803 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1804 Use numbered labels in inline assembly.
1805
53244a4e
SL
18062014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1807
1808 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1809 Add setjmp LIBC_PROBE.
1810 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1811 Likewise.
1812 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1813 Add longjmp, longjmp_target LIBC_PROBE.
1814 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1815 Likewise.
1816
47df8251
SL
18172014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1818
1819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1820 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1821 to get rid of unused variable warning.
1822
618cebef
SL
18232014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1824
1825 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1826 Check for unwind_backtrace == NULL only in SHARED case.
1827 (__backchain_backtrace): Compile only in SHARED case.
1828 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1829 Likewise.
1830 (__backchain_backtrace): Declare as static.
1831
c6aab2cb
RM
18322014-11-12 Roland McGrath <roland@hack.frob.com>
1833
1834 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1835 (__libc_multiple_threads_ptr): Variable moved ...
1836 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1837
5a6fa4d7
JM
18382014-11-12 Joseph Myers <joseph@codesourcery.com>
1839
24f4f825
JM
1840 * conform/GlibcConform.pm: New file.
1841 * conform/conformtest.pl: Use GlibcConform module.
1842 * conform/linknamespace.pl: New file.
1843 * conform/list-header-symbols.pl: Likewise.
1844 * conform/Makefile (linknamespace-symlists-base): New variable.
1845 (linknamespace-symlists-tests): Likewise.
1846 (linknamespace-header-base): Likewise.
1847 (linknamespace-header-tests): Likewise.
1848 (tests-special): Add new tests.
1849 ($(linknamespace-symlists-tests)): New rule.
1850 (linknamespace-libs): New variable.
1851 ($(objpfx)symlist-stdlibs): New rule.
1852 ($(linknamespace-header-tests)): Likewise.
1853 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1854 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1855 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1856 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1857 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1858 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1859 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1860 (test-xfail-ISO/math.h/linknamespace): Likewise.
1861 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1862 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1863 (test-xfail-ISO/time.h/linknamespace): Likewise.
1864 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1865 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1866 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1867 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1868 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1869 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1870 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1871 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1872 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1873 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1874 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1875 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1876 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1877 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1878 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1879 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1880 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1881 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1882 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1883 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1884 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1885 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1886 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1887 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1888 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1889 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1890 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1891 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1892 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1893 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1894 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1895 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1896 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1897 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1898 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1899 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1900 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1901 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1902 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1903 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1904 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1905 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1906 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1907 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1908 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1909 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1910 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1911 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1912 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1913 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1914 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1915 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1916 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1917 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1918 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1919 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1920 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1921 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1922 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1923 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1924 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1925 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1926 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1927 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1928 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1929 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1930 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1931 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1932 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1933 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1934 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1935 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1936 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1937 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1938 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1939 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1940 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1941 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1942 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1943 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1944 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1945 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1946 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1947 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1948 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1949 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1950 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1951 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1952 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1953 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1954 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1955 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1956 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1957 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1958 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1959 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1960 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1961 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1962 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1963 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1964 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1965 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1966 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1967 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1968 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1969 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1970 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1971 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1972 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1973 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1974 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1975 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1976 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1977 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1978 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1979 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1980 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1981 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1982 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1983 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1984 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1985 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1986 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1987 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1988 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1989 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1990 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1991 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1992 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1993 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1994 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1995 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1996 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1997 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1998 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1999 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2000 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2001 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2002 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2003 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2004 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2005 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2006 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2007 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2008 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2009 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2010 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2011 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2012 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2013 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2014
cc67478e
JM
2015 [BZ #17589]
2016 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2017 of fgets_unlocked.
2018
9975e3d3
JM
2019 [BZ #17585]
2020 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2021 (memmem): Rename to __memmem and define as weak alias of
2022 __memmem. Use libc_hidden_weak.
2023 (__memmem): Use libc_hidden_def.
2024 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2025 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2026 memmem.
2027
c4eae752
JM
2028 [BZ #17582]
2029 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2030 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2031 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2032 and define as weak alias of __fgets_unlocked. Use
2033 libc_hidden_weak.
2034 (__fgets_unlocked): Use libc_hidden_def.
2035 * include/stdio.h (__fgets_unlocked): Declare. Use
2036 libc_hidden_proto.
2037 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2038 __fgets_unlocked instead of fgets_unlocked.
2039 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2040 (GET_NPROCS_CONF_PARSER): Likewise.
2041 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2042 (GET_NPROCS_CONF_PARSER): Likewise.
2043
01cad84e
JM
2044 [BZ #17574]
2045 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2046 weak alias of __wmemset. Use libc_hidden_weak.
2047 (__wmemset): Use libc_hidden_def.
2048 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2049 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2050 of wmemset.
2051
939da411
JM
2052 [BZ #17573]
2053 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2054 with asm name __mempcpy.
2055 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2056
293d9a41
JM
2057 [BZ #17572]
2058 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2059 and define as weak alias of __rawmemchr.
2060 (__rawmemchr): Do not define as strong alias of rawmemchr.
2061
bef8fd60
JM
2062 [BZ #17571]
2063 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2064 alias of __qsort_r.
2065 (qsort): Call __qsort_r instead of qsort_r.
2066 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2067 (__qsort_r): Declare. Call libc_hidden_proto.
2068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2069 instead of qsort_r.
2070 * nscd/gai.c (__qsort_r): Define to qsort_r.
2071 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2072 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2073 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2074
c52ff39e
JM
2075 [BZ #17570]
2076 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2077 define as weak alias of __malloc_info.
2078
2f5c1b00
JM
2079 [BZ #17584]
2080 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2081 as weak alias of __rewinddir. Don't use libc_hidden_def.
2082 (__rewinddir): Use libc_hidden_def.
2083 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2084 as weak alias of __rewinddir. Don't use libc_hidden_def.
2085 (__rewinddir): Use libc_hidden_def.
2086 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2087 weak alias of __rewinddir. Don't use libc_hidden_def.
2088 (__rewinddir): Use libc_hidden_def.
2089 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2090 (__rewinddir): Use libc_hidden_proto.
2091 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2092 rewinddir.
2093 (__getcwd): Use __rewinddir instead of rewinddir.
2094
5a6fa4d7
JM
2095 [BZ #17583]
2096 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2097 alias of __fileno. Use libc_hidden_weak.
2098 (__fileno): Use libc_hidden_def.
2099 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2100 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2101 alias of __ftello.
2102 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2103 __ftello.
2104 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2105 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2106 libc_hidden_def.
2107 (fread_unlocked): Don't use libc_hidden_ver.
2108 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2109 and define as weak alias of __fread_unlocked. Don't use
2110 libc_hidden_def.
2111 (__fread_unlocked): Use libc_hidden_def.
2112 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2113 (ftello): Don't use libc_hidden_proto.
2114 (__ftello): Declare. Use libc_hidden_proto.
2115 (fread_unlocked): Don't use libc_hidden_proto.
2116 (__fread_unlocked): Declare. Use libc_hidden_proto.
2117 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2118 and __ftello instead of fileno, fread_unlocked and ftello.
2119
2581b98e
SP
21202012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2123 GOT12.
2124 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2125 Likewise.
2126 (_dl_start_user): Likewise.
2127 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2128
533bb7c2
SP
21292014-11-12 Carlos O'Donell <carlos@redhat.com>
2130 Siddhesh Poyarekar <siddhesh@redhat.com>
2131
2132 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2133 Move argv and envp down instead of moving argc up.
2134 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2135
fffa1cf8
LH
21362014-11-12 Leonhard Holz <leonhard.holz@web.de>
2137
2138 [BZ #17506]
2139 * test-skeleton.c (main): Return successful if one of
2140 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2141 * string/tst-strcoll-overflow.c: Define expected status.
2142
fb89b46d
TU
21432014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2144
2145 [BZ #17475]
2146 * locale/iso-639.def: Define Bhili and Tulu language codes.
2147
5c40c3ba
AH
21482014-11-11 Alan Hayward <alan.hayward@arm.com>
2149
2150 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2151
b17fe01b 21522014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2153
2154 [BZ #17555]
2155 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2156
bd805071
AS
21572014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2158
2159 * configure.ac: Updated check of minimal required version to
2160 2.22.
2161 * manual/install.texi (Tools for Compilation): Updated version
2162 number.
2163 * configure: Regenerated.
2164 * INSTALL: Likewise.
2165
1400983e
AS
21662014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2167
2168 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2169 __tls_get_addr.
2170
2c46a66a
JM
21712014-11-07 Joseph Myers <joseph@codesourcery.com>
2172
2173 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2174 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2175 (__waitpid): Don't define as alias. Use libc_hidden_def not
2176 libc_hidden_weak.
2177 (waitpid): Define as alias of __waitpid.
2178 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2179 __waitpid.
2180 (__waitpid): Don't define as alias. Use libc_hidden_def not
2181 libc_hidden_weak.
2182 (waitpid): Define as alias of __waitpid.
2183 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2184 __libc_waitpid alias.
2185 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2187 Likewise.
2188 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2189 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2190 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2191 alias.
2192 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2193 __waitpid.
2194 (__waitpid): Don't define as alias. Use libc_hidden_def not
2195 libc_hidden_weak.
2196 (waitpid): Define as alias of __waitpid.
2197
da53d6db
CD
21982014-11-06 Carlos O'Donell <carlos@redhat.com>
2199
a2887bdb
CD
2200 * manual/llio.texi: Add comment that write safety has been
2201 fixed in Linux.
2202
da53d6db
CD
2203 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2204 (localplt-build-dso): Add elf/ld.so.
2205 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2206 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2207 and free for ld.so.
2208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2209 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2211 Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2215 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2216 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2217 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2218 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2219 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2220 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2221 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2222 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2225
9cf27b8d
JM
22262014-11-05 Joseph Myers <joseph@codesourcery.com>
2227
2228 [BZ #14132]
2229 * include/libc-symbols.h (INTUSE): Remove macro.
2230 (INTDEF): Likewise.
2231 (INTVARDEF): Likewise.
2232 (_INTVARDEF): Likewise.
2233 (INTDEF2): Likewise.
2234 (INTVARDEF2): Likewise.
2235 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2236 rtld_hidden_def instead of INTVARDEF.
2237 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2238 (_dl_starting_up_internal): Remove declaration.
2239 (_dl_starting_up): Use rtld_hidden_proto.
2240 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2241 declaration.
2242 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2243 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2244 _dl_starting_up.
2245 * elf/dl-writev.h (_dl_writev): Likewise.
2246 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2247 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2248 _dl_starting_up_internal.
2249
af83568d
AZ
22502014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2251
2252 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2253 test-skeleton.c.
2254
b01ee67c
WN
22552014-11-05 Will Newton <will.newton@linaro.org>
2256
2257 * benchtests/Makefile: (bench-malloc): Add malloc thread
2258 scalability benchmark.
2259 * benchtests/bench-malloc-threads.c: New file.
2260
be9d4ccc
RE
22612014-11-05 Richard Earnshaw <rearnsha@arm.com>
2262
2263 * sysdeps/aarch64/strchrnul.S: New file.
2264
7110166d
AZ
22652014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266
2267 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2268 definition.
2269 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2270 Likwise.
2271 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2272 Likewise.
2273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2274 Likewise.
2275 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2276 Likewise.
2277 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2278 Likewise.
2279
22802014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2281
2282 * catgets/test-gencat.c: Use test-skeleton.c.
2283 * catgets/tst-catgets.c: Likewise.
2284 * csu/tst-empty.c: Likewise.
2285 * elf/tst-audit2.c: Likewise.
2286 * elf/tst-global1.c: Likewise.
2287 * elf/tst-pathopt.c: Likewise.
2288 * elf/tst-piemod1.c: Likewise.
2289 * elf/tst-tls10.c: Likewise.
2290 * elf/tst-tls11.c: Likewise.
2291 * elf/tst-tls12.c: Likewise.
2292 * gnulib/tst-gcc.c: Likewise.
2293 * iconvdata/tst-e2big.c: Likewise.
2294 * iconvdata/tst-loading.c: Likewise.
2295 * iconv/tst-iconv1.c: Likewise.
2296 * iconv/tst-iconv2.c: Likewise.
2297 * inet/test-inet6_opt.c: Likewise.
2298 * inet/tst-gethnm.c: Likewise.
2299 * inet/tst-network.c: Likewise.
2300 * inet/tst-ntoa.c: Likewise.
2301 * intl/tst-codeset.c: Likewise.
2302 * intl/tst-gettext2.c: Likewise.
2303 * intl/tst-gettext3.c: Likewise.
2304 * intl/tst-ngettext.c: Likewise.
2305 * intl/tst-translit.c: Likewise.
2306 * io/test-stat.c: Likewise.
2307 * libio/test-fmemopen.c: Likewise.
2308 * libio/tst-freopen.c: Likewise.
2309 * libio/tst-sscanf.c: Likewise.
2310 * libio/tst-ungetwc1.c: Likewise.
2311 * libio/tst-ungetwc2.c: Likewise.
2312 * libio/tst-widetext.c: Likewise.
2313 * localedata/tst-ctype.c: Likewise.
2314 * localedata/tst-digits.c: Likewise.
2315 * localedata/tst-leaks.c: Likewise.
2316 * localedata/tst-mbswcs1.c: Likewise.
2317 * localedata/tst-mbswcs2.c: Likewise.
2318 * localedata/tst-mbswcs3.c: Likewise.
2319 * localedata/tst-mbswcs4.c: Likewise.
2320 * localedata/tst-mbswcs5.c: Likewise.
2321 * localedata/tst-setlocale.c: Likewise.
2322 * localedata/tst-trans.c: Likewise.
2323 * localedata/tst-wctype.c: Likewise.
2324 * localedata/tst-xlocale1.c: Likewise.
2325 * login/tst-grantpt.c: Likewise.
2326 * malloc/tst-calloc.c: Likewise.
2327 * malloc/tst-malloc.c: Likewise.
2328 * malloc/tst-mallocstate.c: Likewise.
2329 * malloc/tst-mcheck.c: Likewise.
2330 * malloc/tst-mtrace.c: Likewise.
2331 * malloc/tst-obstack.c: Likewise.
2332 * math/atest-exp2.c: Likewise.
2333 * math/atest-exp.c: Likewise.
2334 * math/atest-sincos.c: Likewise.
2335 * math/test-matherr.c: Likewise.
2336 * math/test-misc.c: Likewise.
2337 * math/test-powl.c: Likewise.
2338 * math/tst-definitions.c: Likewise.
2339 * misc/tst-dirname.c: Likewise.
2340 * misc/tst-efgcvt.c: Likewise.
2341 * misc/tst-fdset.c: Likewise.
2342 * misc/tst-hsearch.c: Likewise.
2343 * misc/tst-mntent2.c: Likewise.
2344 * nptl/tst-sem7.c: Likewise.
2345 * nptl/tst-sem8.c: Likewise.
2346 * nptl/tst-sem9.c: Likewise.
2347 * nss/test-netdb.c: Likewise.
2348 * posix/tst-fnmatch.c: Likewise.
2349 * posix/tst-getlogin.c: Likewise.
2350 * posix/tst-gnuglob.c: Likewise.
2351 * posix/tst-mmap.c: Likewise.
2352 * pwd/tst-getpw.c: Likewise.
2353 * resolv/tst-inet_ntop.c: Likewise.
2354 * rt/tst-timer.c: Likewise.
2355 * stdio-common/test-fseek.c: Likewise.
2356 * stdio-common/test-popen.c: Likewise.
2357 * stdio-common/test-vfprintf.c: Likewise.
2358 * stdio-common/tst-cookie.c: Likewise.
2359 * stdio-common/tst-fileno.c: Likewise.
2360 * stdio-common/tst-gets.c: Likewise.
2361 * stdio-common/tst-obprintf.c: Likewise.
2362 * stdio-common/tst-perror.c: Likewise.
2363 * stdio-common/tst-sprintf2.c: Likewise.
2364 * stdio-common/tst-sprintf3.c: Likewise.
2365 * stdio-common/tst-sprintf.c: Likewise.
2366 * stdio-common/tst-swprintf.c: Likewise.
2367 * stdio-common/tst-tmpnam.c: Likewise.
2368 * stdio-common/tst-unbputc.c: Likewise.
2369 * stdio-common/tst-wc-printf.c: Likewise.
2370 * stdlib/tst-environ.c: Likewise.
2371 * stdlib/tst-fmtmsg.c: Likewise.
2372 * stdlib/tst-limits.c: Likewise.
2373 * stdlib/tst-rand48-2.c: Likewise.
2374 * stdlib/tst-rand48.c: Likewise.
2375 * stdlib/tst-random2.c: Likewise.
2376 * stdlib/tst-random.c: Likewise.
2377 * stdlib/tst-strtol.c: Likewise.
2378 * stdlib/tst-strtoll.c: Likewise.
2379 * stdlib/tst-tls-atexit.c: Likewise.
2380 * stdlib/tst-xpg-basename.c: Likewise.
2381 * string/test-ffs.c: Likewise.
2382 * string/tst-bswap.c: Likewise.
2383 * string/tst-inlcall.c: Likewise.
2384 * string/tst-strtok.c: Likewise.
2385 * string/tst-strxfrm.c: Likewise.
2386 * sysdeps/x86_64/tst-audit10.c: Likewise.
2387 * sysdeps/x86_64/tst-audit3.c: Likewise.
2388 * sysdeps/x86_64/tst-audit4.c: Likewise.
2389 * sysdeps/x86_64/tst-audit5.c: Likewise.
2390 * time/tst-ftime_l.c: Likewise.
2391 * time/tst-getdate.c: Likewise.
2392 * time/tst-mktime3.c: Likewise.
2393 * time/tst-mktime.c: Likewise.
2394 * time/tst-posixtz.c: Likewise.
2395 * time/tst-strptime2.c: Likewise.
2396 * time/tst-strptime3.c: Likewise.
2397 * wcsmbs/tst-btowc.c: Likewise.
2398 * wcsmbs/tst-mbrtowc.c: Likewise.
2399 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2400 * wcsmbs/tst-wchar-h.c: Likewise.
2401 * wcsmbs/tst-wcpncpy.c: Likewise.
2402 * wcsmbs/tst-wcrtomb.c: Likewise.
2403 * wcsmbs/tst-wcsnlen.c: Likewise.
2404 * wcsmbs/tst-wcstof.c: Likewise.
2405
2004e7fb
JM
24062014-11-04 Joseph Myers <joseph@codesourcery.com>
2407
ab97ee8f
JM
2408 [BZ #14132]
2409 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2410 INTDEF.
2411 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2412 declaration.
2413 (_dl_mcount): Use rtld_hidden_proto.
2414 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2415 _dl_mcount.
2416 * elf/rtld.c (_rtld_global_ro): Likewise.
2417
c5684fdb
JM
2418 [BZ #14132]
2419 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2420 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2421 of _dl_init_internal.
2422 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2423 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2424 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2425 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2426 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2427 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2428 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2429 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2430 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2431 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2432 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2433 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2434 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2435 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2436 * sysdeps/tile/dl-start.S (_start): Likewise.
2437 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2438 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2439
4243cbea
JM
2440 [BZ #14132]
2441 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2442 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2443 (rtld_progname): Make macro definition unconditional.
2444 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2445 INTDEF.
2446 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2447 (dl_main): Likewise.
2448 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2449 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2450 instead of _dl_argv_internal.
2451 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2452 __GI__dl_argv instead of INTUSE(_dl_argv).
2453 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2454 __GI__dl_argv instead of _dl_argv_internal.
2455
2004e7fb
JM
2456 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2457 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2458 macro.
2459 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2460 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2461 New macro.
2462 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2463 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2464 macro.
2465 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2466 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2467
97827bfc
AS
24682014-11-04 Andreas Schwab <schwab@suse.de>
2469
2470 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2471
5e4df284
AZ
24722014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2473
2474 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2475 mtvsrd instruction in binary form.
2476
04b76b5a
AS
24772014-11-03 Andreas Schwab <schwab@suse.de>
2478
2479 [BZ #17522]
2480 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2481 for less than MB_LEN_MAX use a local buffer of that size.
2482 * libio/tst-fputws.c: New file.
2483 * libio/Makefile (tests): Add tst-fputws.
2484
4c6da7da
JM
24852014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2486
2487 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2488 the size of the fpu_fr.fpu_dregs[] array.
2489
1679ba8e
JM
24902014-11-01 Joseph Myers <joseph@codesourcery.com>
2491
2492 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2493 (__nanosleep): Do not define as alias.
2494 (nanosleep): Define as alias of __nanosleep.
2495 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2496 __libc_nanosleep name.
2497
2626c183
JM
24982014-10-31 Joseph Myers <joseph@codesourcery.com>
2499
2500 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2501 install.texi in comment.
2502
7f981fc2
TR
25032014-10-31 Torvald Riegel <triegel@redhat.com>
2504
2505 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2506 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2507 ... add here and use lwsync or sync ...
2508 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2509 ... and add here using lwsync.
2510
d6f373d2
MF
25112014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2512
2513 * elf/dl-machine-reject-phdr.h: New file.
2514 * elf/dl-load.c: #include that.
2515 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2516 if that returned true.
2517
67c37987
RM
25182014-10-31 Roland McGrath <roland@hack.frob.com>
2519
2520 [BZ #17496]
2521 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2522 gen-as-const-headers chunk. Add a big scare comment after the last
2523 safe place to touch before-compile.
2524
94a42455 25252014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2526
f3f5d895
JM
2527 * manual/install.texi (Tools for Compilation): Update autoconf
2528 version requirements.
2529 * INSTALL: Regenerated.
2530
f62ff286
JM
2531 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2532 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2533 (__libc_pselect): Likewise.
94a42455
JM
2534
2535 [BZ #14138]
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2540
ff9dbdc0
TR
25412014-10-31 Torvald Riegel <triegel@redhat.com>
2542
2543 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2544 correct barrier instruction.
2545 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2546 Likewise.
2547 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2548 Likewise.
2549
b4f66884
RM
25502014-10-30 Roland McGrath <roland@hack.frob.com>
2551
2552 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2553 after defining inlines. Instead, just use parens to defeat macro
2554 expansion of __isctype in its declaration.
2555
e19c95fd
JM
25562014-10-30 Joseph Myers <joseph@codesourcery.com>
2557
2558 * include/sys/uio.h (__libc_readv): Remove declaration.
2559 (__libc_writev): Likewise.
2560 * misc/readv.c (__libc_readv): Rename to __readv.
2561 (__readv): Do not define as alias.
2562 (readv): Define as alias of __readv.
2563 * misc/writev.c (__libc_writev): Rename to __writev.
2564 (__writev): Do not define as alias.
2565 (writev): Define as alias of __writev.
2566 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2567 (__readv): Do not define as alias.
2568 (readv): Define unconditionally as alias of __readv.
2569 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2570 (__writev): Do not define as alias.
2571 (writev): Define unconditionally as alias of __writev.
2572 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2573 name.
2574 (writev): Do not define __libc_writev name.
2575
65b00b6c
RM
25762014-10-30 Roland McGrath <roland@hack.frob.com>
2577
2578 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2579 (convert_charseq): New function, broken out of ...
2580 (use_from_charmap): ... here. Call it.
2581 (use_to_charmap): Use convert_charseq and free instead of duplicating
2582 its code with a variable-length stack struct.
2583
d4e157aa
JM
25842014-10-30 Joseph Myers <joseph@codesourcery.com>
2585
2586 * include/fcntl.h (__libc_creat): Remove declaration.
2587 * io/creat.c (__libc_creat): Rename to creat.
2588 (creat): Do not define as alias.
2589 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2590 of creat instead of __libc_creat.
2591 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2592 to creat.
2593 (creat): Do not define as alias.
2594 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2595 __libc_creat.
2596 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2597 __libc_creat name.
2598 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2599 Likewise.
2600
0c6891a0
CD
26012014-10-29 Carlos O'Donell <carlos@redhat.com>
2602
2603 * manual/llio.texi: Add comments discussing why write() may be
2604 considered MT-unsafe on Linux.
2605
cc00cece
CD
26062014-10-28 Carlos O'Donell <carlos@redhat.com>
2607
2608 * dl-load.c (local_strdup): Remove.
2609 (expand_dynamic_string_token): Use __strdup.
2610 (decompose_rpath): Likewise.
2611 (_dl_map_object): Likewise.
2612
51e623f2
JM
26132014-10-28 Joseph Myers <joseph@codesourcery.com>
2614
2615 [BZ #14132]
2616 * sysdeps/generic/unwind-dw2-fde.c
2617 (__register_frame_info_bases_internal): Do not declare.
2618 (__register_frame_info_table_bases_internal): Likewise.
2619 (__deregister_frame_info_bases_internal): Likewise.
2620 (__register_frame_info_bases): Declare and use hidden_proto before
2621 definition. Use hidden_def instead of INTDEF.
2622 (__register_frame_info_table_bases): Likewise.
2623 (__deregister_frame_info_bases): Likewise.
2624 (__register_frame_info): Do not use INTUSE.
2625 (__register_frame): Likewise.
2626 (__register_frame_info_table): Likewise.
2627 (__register_frame_table): Likewise.
2628 (__deregister_frame_info): Likewise.
2629 (__deregister_frame): Likewise.
2630
03d41216
GC
26312014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2632
2633 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2634 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2635 not undefine.
2636 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2637 Likewise.
2638 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2639 Likewise.
2640
a4b3624d
JM
26412014-10-27 Joseph Myers <joseph@codesourcery.com>
2642
2643 [BZ #14138]
2644 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2645 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2646 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2647 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2648 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2649 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2651 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2652 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2653 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2654 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2656 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2657 syscall.
2658 (setfsuid): Likewise.
2659 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2660 (setfsuid): Likewise.
2661 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2662 (setfsuid): Likewise.
2663 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2664 Likewise.
2665 (setfsuid): Likewise.
2666 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2667 (setfsuid): Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2669 Likewise.
2670 (setfsuid): Likewise.
2671
3574f2fd
AS
26722014-10-27 Andreas Schwab <schwab@suse.de>
2673
2674 [BZ #17501]
2675 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2676 check for Slow_SSE4_2 feature bit.
2677 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2678 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2679 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2680 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2681
70996a37
RM
26822014-10-24 Roland McGrath <roland@hack.frob.com>
2683
461a7b1e
RM
2684 * configure.ac: Validate compiler version with a empirical test of
2685 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2686 $CC -v output.
2687 * configure: Regenerated.
2688
70996a37
RM
2689 * inet/htons.c (htons): Prototypify.
2690 * inet/htonl.c (htonl): Likewise.
2691
e80514b5
WD
26922014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2693
2694 * string/strncat.c (strncat): Improve performance by using strlen.
2695
6e46de42
WD
26962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2697
2698 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2699
6a9ad2fa
WD
27002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2701
2702 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2703 Call libc_fetestexcept_aarch64.
2704
1c8810ed
WD
27052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2706
2707 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2708 Call libc_feholdexcept_aarch64.
2709
8b1af712
WD
27102014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2711
2712 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2713 Call get_rounding_mode.
2714
a7b00c11
WD
27152014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2716
2717 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2718 Simplify logic.
2719
3a84f1a6
WD
27202014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2721
2722 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2723 Simplify logic.
2724
48eb7a94
JM
27252014-10-24 Joseph Myers <joseph@codesourcery.com>
2726
c8bc4038
JM
2727 [BZ #14138]
2728 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2729 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2730 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2731 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2732 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2733 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2734 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2735 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2736 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2737 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2738 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2739 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2740 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2741 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2742 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2743 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2744 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2745 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2746 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2747 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2748 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2749 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2750 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2751 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2753 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2754 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2755 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2756 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2757 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2758 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2759 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2760 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2761 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2762 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2766 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2767 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2768 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2769 syscall.
2770 (geteuid): Likewise.
2771 (getgid): Likewise.
2772 (getuid): Likewise.
2773 (getresgid): Likewise.
2774 (getresuid): Likewise.
2775 (getgroups): Likewise.
2776 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2777 (geteuid): Likewise.
2778 (getgid): Likewise.
2779 (getuid): Likewise.
2780 (getresgid): Likewise.
2781 (getresuid): Likewise.
2782 (getgroups): Likewise.
2783 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2784 (geteuid): Likewise.
2785 (getgid): Likewise.
2786 (getuid): Likewise.
2787 (getresgid): Likewise.
2788 (getresuid): Likewise.
2789 (getgroups): Likewise.
2790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2791 Likewise.
2792 (geteuid): Likewise.
2793 (getgid): Likewise.
2794 (getuid): Likewise.
2795 (getresgid): Likewise.
2796 (getresuid): Likewise.
2797 (getgroups): Likewise.
2798 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2799 (geteuid): Likewise.
2800 (getgid): Likewise.
2801 (getuid): Likewise.
2802 (getresgid): Likewise.
2803 (getresuid): Likewise.
2804 (getgroups): Likewise.
2805 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2806 Likewise.
2807 (geteuid): Likewise.
2808 (getgid): Likewise.
2809 (getuid): Likewise.
2810 (getgroups): Likewise.
2811
48eb7a94
JM
2812 [BZ #14138]
2813 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2814 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2815 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2816 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2817 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2818 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2819 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2820 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2821 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2822 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2823 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2824 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2825 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2826 __chown.
2827 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2828 (lchown): Likewise.
2829 (fchown): Likewise.
2830 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2831 Likewise.
2832 (lchown): Likewise.
2833 (fchown): Likewise.
2834 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2835 (lchown): Likewise.
2836 (fchown): Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2838 Likewise.
2839 (lchown): Likewise.
2840 (fchown): Likewise.
2841
ea9a7c8b
WD
28422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2843
2844 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2845 Simplify logic.
2846
e226de33
WD
28472014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2848
2849 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2850 Cleanup logic.
2851
6e3d8ed3
WD
28522014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2853
2854 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2855 Remove unused include.
2856
eb04247d
WD
28572014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2858
2859 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2860 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2861 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2862 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2863
13d84554
CD
28642014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2865 Helge Deller <deller@gmx.de>
2866
2867 [BZ #17508]
2868 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2869 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2870 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2871
15f9c5df
JM
28722014-10-23 Joseph Myers <joseph@codesourcery.com>
2873
2874 [BZ #14132]
2875 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2876 Remove macro definition.
2877 (__ashrdi3_v_glibc20): Likewise.
2878 (__lshrdi3_v_glibc20): Likewise.
2879 (__cmpdi2_v_glibc20): Likewise.
2880 (__ucmpdi2_v_glibc20): Likewise.
2881 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2882 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2883 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2884 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2885 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2886 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2887
c6dfed24
RM
28882014-10-22 Roland McGrath <roland@hack.frob.com>
2889
2890 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2891 old GNU extension [0] syntax.
2892 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2893 alloca rather than an array member with variable length.
2894 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2895 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2896 (parse_opt): ... here. Likewise use alloca there.
2897 Validate the -i argument before checking for rootness.
2898 (send_shutdown): New function, broken out of ...
2899 (parse_opt): ... here.
2900
8c2b1ed8
RM
29012014-10-22 Roland McGrath <roland@hack.frob.com>
2902
2903 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2904 macro to get at the _rt_local_ro field.
2905 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2906 ([PIC] case) or _dl_hwcap ([!PIC] case).
2907 * sysdeps/arm/setjmp.S: Likewise.
2908
2909 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2910 * sysdeps/arm/configure.ac: New check to define it.
2911 * sysdeps/arm/configure: Regenerated.
2912 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2913 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2914 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2915 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2916 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2917 Use move/movt pair instead of a load.
2918 (LDST_GLOBAL): Macro removed.
2919 (LDR_GLOBAL): New macro replaces it.
2920 (LDR_HIDDEN): New macro.
2921 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2922 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2923
2924 * setjmp/tst-setjmp-static.c: New file.
2925 * setjmp/Makefile (tests): Add it.
2926 (tests-static): New variable.
2927
b5af9297
MR
29282014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2929
2930 [BZ #17485]
2931 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2932
a13d0d74
JM
29332014-10-21 Joseph Myers <joseph@codesourcery.com>
2934
2935 [BZ #14132]
2936 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2937
f05e73f6
RM
29382014-10-21 Roland McGrath <roland@hack.frob.com>
2939
2940 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2941
6ab1d1ea
RM
29422014-10-20 Roland McGrath <roland@hack.frob.com>
2943
2944 * io/fts.c (dirent_not_directory): New function.
2945 (fts_build): Call it.
2946
ab49e763
RM
29472014-10-20 Roland McGrath <roland@hack.frob.com>
2948
e436eb79
RM
2949 * nptl/version.c (__nptl_main): Use normal __write rather than
2950 INTERNAL_SYSCALL.
2951 (banner): Update copyright years.
2952
6af246cf
RM
2953 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2954 gettimeofday.
2955 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2956 * nptl/pthread_cond_timedwait.c: Likewise.
2957 * nptl/pthread_mutex_timedlock.c: Likewise.
2958 * nptl/sem_timedwait.c: Likewise.
2959
ab49e763
RM
2960 * sysdeps/nptl/bits/libc-lock.h
2961 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2962 (__libc_lock_init_recursive): Return void, not 0.
2963 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2964 (__libc_rwlock_init): Likewise.
2965 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2966
f50277c1
TR
29672014-10-20 Torvald Riegel <triegel@redhat.com>
2968
2969 [BZ #15215]
2970 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2971 (__pthread_once_slow): ... here.
2972 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2973 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2974
63668b70
TR
29752014-10-20 Torvald Riegel <triegel@redhat.com>
2976
2977 [BZ #15215]
2978 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2979 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2980 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2981 * nptl/pthread_once.c (__pthread_once): Likewise.
2982 Update comments.
2983
42b7f5d4
JM
29842014-10-20 Joseph Myers <joseph@codesourcery.com>
2985
2986 [BZ #14138]
2987 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2988 name.
2989 (writev): Use __libc_writev as strong name.
2990 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2991 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2992
b0643088
RM
29932014-10-17 Roland McGrath <roland@hack.frob.com>
2994
114c4e09
RM
2995 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2996
674b8978
RM
2997 * sysdeps/i386/nptl/tls.h
2998 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2999 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3000 New macros.
3001 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3002 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3003 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3004 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3005 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3006 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3007
184ee940
RM
3008 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3009 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3010 on [__NR_futex].
3011 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3012 broken out of ...
3013 (__pthread_mutex_init): ... here. Call it.
3014 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3015 Conditionalize PI cases on [__NR_futex].
3016 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3017 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3018 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3019
327ae257
RM
3020 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3021 conditional on [SIGSETXID].
3022 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3023 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3024 is defined. Likewise for SIGSETXID.
3025 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3026 Conditionalize definitions on [SIGSETXID].
3027 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3028 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3029 unblocking on [SIGCANCEL].
3030
b0643088
RM
3031 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3032 [__NR_set_robust_list].
3033
33cc770b
SP
30342014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3037 (do_compare): Likewise.
3038
0742aef6
LH
30392014-10-17 Leonhard Holz <leonhard.holz@web.de>
3040
3041 [BZ #15884]
3042 * string/strcoll_l.c: Don't include stdio.h.
3043 (coll_seq): Remove members idxarr and rulearr.
3044 (get_next_seq_cached): Remove function.
3045 (get_next_seq): Likewise.
3046 (get_next_seq_nocache): Rename to get_next_seq.
3047 (do_compare): Remove function.
3048 (do_compare_nocache): Rename to do_compare.
3049 (STRCOLL): Remove weight and rules cache.
3050
ee54ce44
RM
30512014-10-16 Roland McGrath <roland@hack.frob.com>
3052
3053 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3054 * sysdeps/arm/sfp-machine.h: ... to here.
3055 * sysdeps/arm/Implies: Remove arm/soft-fp.
3056
a75d3b02
JM
30572014-10-14 Joseph Myers <joseph@codesourcery.com>
3058
3059 * conform/data/sys/utsname.h-data (*_t): Allow.
3060 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3061 [POSIX] (WEXITED): Do not expect constant.
3062 [POSIX] (WSTOPPED): Likewise.
3063 [POSIX] (WNOHANG): Likewise.
3064 [POSIX] (WNOWAIT): Likewise.
3065 [POSIX] (siginfo_t): Do not expect type or elements.
3066 [POSIX] (pid_t): Do not expect type.
3067 [POSIX] (signal.h): Do not allow header.
3068 [POSIX] (sys/resource.h): Likewise.
3069 [POSIX] (si_*): Do not allow pattern.
3070 [POSIX] (W*): Likewise.
3071 [POSIX] (P_*): Likewise.
3072 [POSIX] (BUS_*): Likewise.
3073 [POSIX] (CLD_*): Likewise.
3074 [POSIX] (FPE_*): Likewise.
3075 [POSIX] (ILL_*): Likewise.
3076 [POSIX] (POLL_*): Likewise.
3077 [POSIX] (SEGV_*): Likewise.
3078 [POSIX] (SI_*): Likewise.
3079 [POSIX] (TRAP_*): Likewise.
3080 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3081 variable.
3082
fda389c8
SP
30832014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3084
3085 [BZ #12926]
3086 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3087 infinite loop when __recvmsg returns 0.
3088
6bc6bd3b
JM
30892014-10-10 Joseph Myers <joseph@codesourcery.com>
3090
fcb32af1
JM
3091 * CANCEL-FCT-WAIVE: Remove file.
3092 * CANCEL-FILE-WAIVE: Likewise.
3093
6bc6bd3b
JM
3094 [BZ #14132]
3095 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3096 instead of INTVARDEF.
3097 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3098 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3099 rtld_hidden_data_def instead of INTVARDEF.
3100 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3101 * elf/dl-deps.c (expand_dst): Likewise.
3102 * elf/dl-load.c (_dl_dst_count): Likewise.
3103 (_dl_dst_substitute): Likewise.
3104 (decompose_rpath): Likewise.
3105 (_dl_init_paths): Likewise.
3106 (open_path): Likewise.
3107 (_dl_map_object): Likewise.
3108 * elf/rtld.c (dl_main): Likewise.
3109 (process_dl_audit): Likewise.
3110 (process_envvars): Likewise.
3111 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3112 Remove declaration.
3113 (__libc_enable_secure): Use rtld_hidden_proto.
3114
b8c80a7e
KS
31152014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3116
3117 * elf/dl-load.c
3118 (add_path): New function broken out of _dl_rtld_di_serinfo.
3119 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3120
ff12c11f
JM
31212014-10-09 Joseph Myers <joseph@codesourcery.com>
3122
5c0508a3
JM
3123 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3124 parentheses around macro arguments.
3125 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3126 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3127 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3128 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3131 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3134 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3135 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3136 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3137 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3138 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3139 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3140 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3141 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3142 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3143 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3144 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3145 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3146 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3149 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3151 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3152 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3153 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3154 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3155 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3156 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3157 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3158 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3159 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3160 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3161 Likewise.
3162 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3163 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3164 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3165 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3166 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3167 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3168 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3169 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3170 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3171 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3172 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3173 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3174 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3175 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3176 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3177 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3178 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3179 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3180 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3181 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3182 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3183 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3184 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3185 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3186 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3187 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3188 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3189 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3190 (_FP_FRAC_SRS_1): Likewise.
3191 (_FP_FRAC_CLZ_1): Likewise.
3192 (_FP_MUL_MEAT_1_imm): Likewise.
3193 (_FP_MUL_MEAT_1_wide): Likewise.
3194 (_FP_MUL_MEAT_1_hard): Likewise.
3195 (_FP_SQRT_MEAT_1): Likewise.
3196 (_FP_FRAC_ASSEMBLE_1): Likewise.
3197 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3198 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3199 (__FP_CLZ_2): Likewise.
3200 (_FP_MUL_MEAT_2_wide): Likewise.
3201 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3202 (_FP_MUL_MEAT_2_gmp): Likewise.
3203 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3204 (_FP_SQRT_MEAT_2): Likewise.
3205 (_FP_FRAC_ASSEMBLE_2): Likewise.
3206 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3207 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3208 (_FP_FRAC_CLZ_4): Likewise.
3209 (_FP_MUL_MEAT_4_wide): Likewise.
3210 (_FP_MUL_MEAT_4_gmp): Likewise.
3211 (_FP_SQRT_MEAT_4): Likewise.
3212 (_FP_FRAC_ASSEMBLE_4): Likewise.
3213 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3214 * soft-fp/op-common.h (_FP_CMP): Likewise.
3215 (_FP_CMP_EQ): Likewise.
3216 (_FP_CMP_UNORD): Likewise.
3217 (_FP_TO_INT): Likewise.
3218 (_FP_FROM_INT): Likewise.
3219 [!__FP_CLZ] (__FP_CLZ): Likewise.
3220 (_FP_DIV_HELP_imm): Likewise.
3221 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3222 Likewise.
3223 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3225 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3226 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3227 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3229 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3230 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3231 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3233 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3234 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3235 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3236 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3237 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3238 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3239 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3240 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3241 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3242 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3243 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3244 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3245 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3246 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3247 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3248 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3249 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3251 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3252 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3253 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3254 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3255 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3256 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3257 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3258 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3259 (FP_UNPACK_RAW_SP): Likewise.
3260 (FP_PACK_RAW_S): Likewise.
3261 (FP_PACK_RAW_SP): Likewise.
3262 (FP_UNPACK_S): Likewise.
3263 (FP_UNPACK_SP): Likewise.
3264 (FP_UNPACK_SEMIRAW_S): Likewise.
3265 (FP_UNPACK_SEMIRAW_SP): Likewise.
3266 (FP_PACK_S): Likewise.
3267 (FP_PACK_SP): Likewise.
3268 (FP_PACK_SEMIRAW_S): Likewise.
3269 (FP_PACK_SEMIRAW_SP): Likewise.
3270 (_FP_SQRT_MEAT_S): Likewise.
3271 (FP_CMP_S): Likewise.
3272 (FP_CMP_EQ_S): Likewise.
3273 (FP_CMP_UNORD_S): Likewise.
3274 (FP_TO_INT_S): Likewise.
3275 (FP_FROM_INT_S): Likewise.
3276
a736ec37
JM
3277 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3278
ff12c11f
JM
3279 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3280 (FP_EX_INVALID_IMZ): Likewise.
3281 (FP_EX_INVALID_IMZ_FMA): Likewise.
3282 (FP_EX_INVALID_ISI): Likewise.
3283 (FP_EX_INVALID_ZDZ): Likewise.
3284 (FP_EX_INVALID_IDI): Likewise.
3285 (FP_EX_INVALID_SQRT): Likewise.
3286 (FP_EX_INVALID_CVI): Likewise.
3287 (FP_EX_INVALID_VC): Likewise.
3288 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3289 "invalid" exceptions.
3290 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3291 (_FP_ADD_INTERNAL): Likewise.
3292 (_FP_MUL): Likewise.
3293 (_FP_FMA): Likewise.
3294 (_FP_DIV): Likewise.
3295 (_FP_CMP_CHECK_NAN): Likewise.
3296 (_FP_SQRT): Likewise.
3297 (_FP_TO_INT): Likewise.
3298 (FP_EXTEND): Likewise.
3299
b6dcfe8c
AM
33002014-10-09 Allan McRae <allan@archlinux.org>
3301
3302 * po/fr.po: Update French translation from translation project.
3303
2d6a47ba
JM
33042014-10-09 Joseph Myers <joseph@codesourcery.com>
3305
cb831245
JM
3306 [BZ #14132]
3307 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3308 of INTDEF.
3309 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3310 (__cxa_atexit): Use libc_hidden_proto.
3311 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3312
5deeb190
JM
3313 [BZ #14132]
3314 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3315 declaration.
3316 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3317 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3318 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3319 [!_ISOMAC] (__iswctype_internal): Likewise.
3320 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3321 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3322 alias.
3323 (fcntl): Remove __fcntl_internal alias.
3324 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3325 __connect_internal alias.
3326 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3327 Likewise.
3328
454ac701
JM
3329 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3330 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3331 FP_DENORM_ZERO.
3332 (_FP_CHECK_FLUSH_ZERO): New macro.
3333 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3334 (_FP_CMP): Likewise.
3335 (_FP_CMP_EQ): Likewise.
3336 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3337 FP_DENORM_ZERO.
3338 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3339 (FP_TRUNC): Likewise.
3340
0022e688
JM
3341 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3342 treated as invalid conversion, not as normal exponent.
3343
73e28d9c
JM
3344 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3345 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3346 (_FP_CMP_EQ): Likewise.
3347 (_FP_CMP_UNORD): Likewise.
3348 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3349 (FP_CMP_EQ_D): Likewise.
3350 (FP_CMP_UNORD_D): Likewise.
3351 * soft-fp/extended.h (FP_CMP_E): Likewise.
3352 (FP_CMP_EQ_E): Likewise.
3353 (FP_CMP_UNORD_E): Likewise.
3354 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3355 (FP_CMP_EQ_Q): Likewise.
3356 (FP_CMP_UNORD_Q): Likewise.
3357 * soft-fp/single.h (FP_CMP_S): Likewise.
3358 (FP_CMP_EQ_S): Likewise.
3359 (FP_CMP_UNORD_S): Likewise.
3360 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3361 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3362 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3363 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3364 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3365 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3366 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3367 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3368 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3369 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3370 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3371 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3372 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3373 to FP_CMP_Q.
3374 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3375 FP_CMP_Q.
3376 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3377 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3378 FP_CMP_EQ_Q.
3379 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3380 FP_CMP_Q.
3381 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3382 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3383 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3384 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3385 FP_CMP_EQ_Q.
3386 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3387 FP_CMP_Q.
3388 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3389 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3390 FP_CMP_EQ_Q.
3391 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3392 FP_CMP_Q.
3393 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3394 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3395 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3396 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3397 FP_CMP_EQ_Q.
3398
43059f42
JM
3399 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3400 a subnormal result, set the underflow exception if trapping on
3401 underflow is enabled.
3402 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3403 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3404 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3405 redefine to 0.
3406 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3407 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3408 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3409 * soft-fp/extendxftf2.c (__extendxftf2): Use
3410 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3411
2d6a47ba
JM
3412 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3413 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3414 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3415 FP_HANDLE_EXCEPTIONS.
3416 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3417 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3418 FP_HANDLE_EXCEPTIONS.
3419 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3420 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3421 FP_HANDLE_EXCEPTIONS.
3422 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3423 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3424 FP_HANDLE_EXCEPTIONS.
3425
620f462e
JM
34262014-10-08 Joseph Myers <joseph@codesourcery.com>
3427
3428 [BZ #14132]
3429 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3430 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3431 use INTUSE.
3432 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3433 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3434 Remove alias.
3435 (__adjtimex): Define using libc_hidden_ver.
3436 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3437 Remove declaration.
3438 (ntp_gettime): Call __adjtimex directly.
3439 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3440 Remove declaration.
3441 (ntp_gettimex): Call __adjtimex directly.
3442 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3443 __adjtimex_internal alias.
3444
c763c5d2
RM
34452014-10-08 Roland McGrath <roland@hack.frob.com>
3446
3447 [BZ #17460]
3448 * nscd/nscd.c (more_help): Rewrite list of tables collection
3449 using xstrdup and asprintf.
3450
3451 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3452
7b8fb2b8
RM
34532014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3454 Roland McGrath <roland@hack.frob.com>
3455
3456 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3457 (do_lookup_unique): ... local function 'enter' here; update callers.
3458
abb280f7
JM
34592014-10-06 Joseph Myers <joseph@codesourcery.com>
3460
f7b42517
JM
3461 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3462 compat_symbol calls on [SHARED].
3463 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3464 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3465 Remove.
3466 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3467 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3468 (oldsetrlimit): Remove.
3469 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3471 (lchown): New syscall entry.
3472 (oldsetrlimit): Remove.
3473 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3474 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3475 (oldsetrlimit): Remove.
3476 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3477
abb280f7
JM
3478 [BZ #14138]
3479 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3480 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3481 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3482 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3483 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3484 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3485 (fchown): Likewise.
3486 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3487 (fchown): Likewise.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3489 Likewise.
3490
47d46237
AZ
34912014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492
3493 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3494 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3495 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3496 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3497 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3498 Likewise.
3499 (__old_sem_post): Likewise.
3500
35012014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3502
845a7343
CM
3503 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3504 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3505 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3506 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3507 Use INLINE_VSYSCALL macro.
3508 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3509 __vdso_clock_gettime.
3510 * sysdeps/unix/sysv/linux/tile/init-first.c
3511 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3512 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3513 __vdso_clock_gettime.
3514
83d641ef
CM
3515 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3516 to set up frame more cleanly.
3517
d9cd52e6
CM
3518 * sysdeps/tile/memcmp.c: New file.
3519
4b68ea11
CM
3520 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3521
c86f7b80
CM
3522 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3523 * sysdeps/tile/tilegx/strcasestr.c: New file.
3524 * sysdeps/tile/tilegx/strnlen.c: New file.
3525 * sysdeps/tile/tilegx/strstr.c: New file.
3526
1c4c1a6f
CM
3527 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3528
99d86ea3
AS
35292014-10-06 Arjun Shankar <arjun.is@lostca.se>
3530
3531 * nptl/tst-setuid3.c: Write errors to stdout.
3532
06210a44
KS
35332014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3534
3535 * elf/dl-deps.c
3536 (preload): New functions broken out of _dl_map_object_deps.
3537 (_dl_map_object_deps): Remove a nested function. Update call sites.
3538
6268f532
JM
35392014-10-01 Joseph Myers <joseph@codesourcery.com>
3540
3541 [BZ #14138]
3542 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3543 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3544
b925285f
SE
35452014-10-01 Steve Ellcey <sellcey@mips.com>
3546
3547 * sysdeps/mips/strcmp.S: New.
3548
754a15c6
JM
35492014-09-30 Joseph Myers <joseph@codesourcery.com>
3550
3551 [BZ #14138]
3552 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3553 (linkat): Likewise.
3554 (mkdirat): Likewise.
3555 (readlinkat): Likewise.
3556 (renameat): Likewise.
3557 (symlinkat): Likewise.
3558 (unlinkat): Likewise.
3559 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3560 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3561 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3562 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3563 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3564 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3565 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3566
85bb81c9
WN
35672014-09-30 Will Newton <will.newton@linaro.org>
3568
dc6fe23b
WN
3569 * math/math.h: Define long double math functions if
3570 _LIBC_TEST is defined.
3571 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3572
85bb81c9
WN
3573 * localedata/Makefile: Move assignment to tests-special
3574 into an ifdef testing run-built-tests.
3575 * timezone/Makefile: Likewise.
3576
b7e02da4
JM
35772014-09-29 Joseph Myers <joseph@codesourcery.com>
3578
3579 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3580 with $(BASH) not $(SHELL).
3581
62058ce6
CD
35822014-09-29 Carlos O'Donell <carlos@redhat.com>
3583 Matthew LeGendre <legendre1@llnl.gov>
3584
3585 [BZ #17411]
3586 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3587 l_reloc_result.
3588
8e257a29
KS
35892014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3590
3591 * stdio-common/printf_fp.c
3592 (hack_digit): New function, broken out of ...
3593 (__printf_fp): ... local function here. Update call sites.
3594 hack_digit now takes an additional parameter that is a pointer
3595 to a struct of the referenced locals. Those locals moved inside
3596 the struct and references updated.
3597
f4a58f0d
L
35982014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3599
3600 * aclocal.m4: Require autoconf 2.69.
3601 * configure: Regenerated.
3602 * sysdeps/aarch64/configure: Likewise.
3603 * sysdeps/alpha/configure: Likewise.
3604 * sysdeps/arm/armv7/configure: Likewise.
3605 * sysdeps/arm/configure: Likewise.
3606 * sysdeps/ia64/configure: Likewise.
3607 * sysdeps/mach/configure: Likewise.
3608 * sysdeps/mips/configure: Likewise.
3609 * sysdeps/s390/configure: Likewise.
3610 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3612
3613 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3614 file.
3615 * sysdeps/ia64/configure.ac: Likewise.
3616
93ae1eba
JM
36172014-09-26 Joseph Myers <joseph@codesourcery.com>
3618
1810d3ab
JM
3619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3620 specify symbol version for ld.so. Do not include entry for
3621 libpthread.
3622 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3623 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3624 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3625
93ae1eba
JM
3626 [BZ #14171]
3627 * Makeconfig [$(build-shared) = yes]
3628 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3629 makefiles.
3630 [$(build-shared) = yes && $(soversions.mk-done) = t]
3631 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3632 [$(build-shared) = yes && $(soversions.mk-done) = t]
3633 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3634 to Makerules.
3635 [$(build-shared) = yes && $(soversions.mk-done) = t]
3636 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3637 here.
3638 [$(build-shared) = yes && $(soversions.mk-done) = t]
3639 (common-generated): Don't append gnu/lib-names.h and
3640 gnu/lib-names.stmp here.
3641 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3642 (lib-names-h-abi): New variable.
3643 [$(build-shared) = yes && $(soversions.mk-done) = t]
3644 (lib-names-stmp-abi): Likewise.
3645 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3646 abi-variants] (before-compile): Append
3647 $(common-objpfx)$(lib-names-h-abi).
3648 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3649 abi-variants] (common-generated): Append gnu/lib-names.h.
3650 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3651 abi-variants] (install-others-nosubdir): Depend on
3652 $(inst_includedir)/$(lib-names-h-abi).
3653 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3654 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3655 [$(build-shared) = yes && $(soversions.mk-done) = t]
3656 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3657 [$(build-shared) = yes && $(soversions.mk-done) = t]
3658 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3659 [$(build-shared) = yes && $(soversions.mk-done) = t]
3660 (common-generated): Append $(lib-names-h-abi) and
3661 $(lib-names-stmp-abi).
3662 * scripts/lib-names.awk: Do not handle multi being set.
3663 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3664 Remove variable.
3665 (abi-lp64_be-ld-soname): Likewise.
3666 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3667 Likewise.
3668 (abi-hard-ld-soname): Likewise.
3669 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3670 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3671 Remove variable.
3672 (abi-o32_hard-ld-soname): Likewise.
3673 (abi-o32_soft_2008-ld-soname): Likewise.
3674 (abi-o32_hard_2008-ld-soname): Likewise.
3675 (abi-n32_soft-ld-soname): Likewise.
3676 (abi-n32_hard-ld-soname): Likewise.
3677 (abi-n32_soft_2008-ld-soname): Likewise.
3678 (abi-n32_hard_2008-ld-soname): Likewise.
3679 (abi-n64_soft-ld-soname): Likewise.
3680 (abi-n64_hard-ld-soname): Likewise.
3681 (abi-n64_soft_2008-ld-soname): Likewise.
3682 (abi-n64_hard_2008-ld-soname): Likewise.
3683 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3684 Likewise.
3685 (abi-64-v2-ld-soname): Likewise.
3686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3687 ld.so entries.
3688 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3689 variable.
3690 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3691 entry.
3692 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3693 variable.
3694 (abi-64-ld-soname): Likewise.
3695 (abi-x32-ld-soname): Likewise.
3696 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3697 entry.
3698 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3699
68870f12
JM
37002014-09-23 Joseph Myers <joseph@codesourcery.com>
3701
3702 [BZ #14138]
3703 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3704 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3705 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3706 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3707 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3708 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3709 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3710 syscall entry for GLIBC_2.2 symbol version.
3711 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3712 Likewise.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3714 (setrlimit): Likewise.
3715 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3716 Likewise.
3717
ea58f202
WN
37182014-09-23 Will Newton <will.newton@linaro.org>
3719
3720 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3721 _LINUX_ARM_SYSDEP_H include guard too.
3722 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3723 define.
3724
69eb9a18
RV
37252014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3726
3727 * sysdeps/unix/sysv/linux/eventfd.c:
3728 Make first argument unsigned.
3729 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3730 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3731
20e5a5f7
OB
37322014-09-20 Ondřej Bílka <neleai@seznam.cz>
3733
3734 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3735 * socket/sys/socket.h: Likewise
3736 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3737
d3c827e7
AK
37382014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3739
3740 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3741
fe1cc35a
AS
37422014-09-17 Arjun Shankar <arjun.is@lostca.se>
3743
3744 * time/tst-ftime.c: New test.
3745 * time/Makefile (tests): Add tst-ftime.
3746
4e8afe69
JM
37472014-09-17 Joseph Myers <joseph@codesourcery.com>
3748
c4fe3ea7
JM
3749 * soft-fp/extended.h: Fix comment formatting.
3750 * soft-fp/op-1.h: Likewise.
3751 * soft-fp/op-2.h: Likewise.
3752 * soft-fp/op-4.h: Likewise.
3753 * soft-fp/op-8.h: Likewise.
3754 * soft-fp/op-common.h: Likewise.
3755 * soft-fp/soft-fp.h: Likewise.
3756
4e8afe69
JM
3757 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3758
af296fcd
JM
37592014-09-16 Joseph Myers <joseph@codesourcery.com>
3760
3761 [BZ #6652]
3762 * Makeconfig (soversions-default-setname): Remove variable.
3763 ($(common-objpfx)soversions.i): Don't pass default_setname to
3764 soversions.awk.
3765 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3766 oldest_abi to abi-versions.awk.
3767 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3768 * config.make.in (oldest-abi): Remove variable.
3769 * configure.ac (--enable-oldest-abi): Remove configure option.
3770 * configure: Regenerated.
3771 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3772 text.
3773 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3774 * scripts/soversions.awk: Do not handle default_setname variable.
3775 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3776 variable.
3777 * sysdeps/mach/hurd/configure: Regenerated.
3778 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3779 variable.
3780 * sysdeps/unix/sysv/linux/configure: Regenerated.
3781
545583d6
SP
37822014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3783
d330b980
SP
3784 * elf/Makefile (CFLAGS-interp.c): Remove.
3785 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3786 path string.
3787 * elf/interp.c: Include generated runtime-linker.h
3788
02657da2
SP
3789 * Makerules (lib%.so): Don't include $(+interp) in
3790 prerequisites.
3791 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3792 * dlfcn/eval.c: Remove file.
3793
653b1080
SP
3794 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3795 macros.
3796
602f80ec
SP
3797 [BZ #17266]
3798 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3799 4.2 and newer.
3800
545583d6
SP
3801 [BZ #17370]
3802 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3803
884ddc50
SP
38042014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3805 Jakub Jelinek <jakub@redhat.com>
3806
3807 [BZ #17266]
3808 * libio/stdio.h: Check definition of __fortify_function
3809 instead of __extern_always_inline to include bits/stdio2.h.
3810 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3811 check if __extern_always_inline is defined.
3812 [__USE_MISC || __USE_XOPEN]: Likewise.
3813 [__USE_ISOC99] Likewise.
3814 * misc/sys/cdefs.h (__fortify_function): Define only if
3815 __extern_always_inline is defined.
3816 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3817 __extern_always_inline and __extern_inline only for g++-4.3
3818 and newer or a compatible gcc.
3819
a7b87268
AS
38202014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3821
3822 [BZ #17371]
3823 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3824 last change to handle zero prefix length.
3825
3f41521d
SP
38262014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3827
61fe374a
SP
3828 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3829 _SC_REGEX_VERSION.
3830
3f41521d
SP
3831 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3832 _POSIX_RAW_SOCKETS.
3833
d8f879ee
AM
38342014-09-13 Allan McRae <allan@archlinux.org>
3835
3836 * po/ru.po: Update Russian translation from translation project.
3837
c079afb7
RM
38382014-09-12 Roland McGrath <roland@hack.frob.com>
3839
a62b3c15
RM
3840 * locale/programs/locale.c (show_locale_vars): Inline local function
3841 into its sole call site. Clean up some style nits.
3842 (print_item): New function, broken out of ...
3843 (show_info): ... local function here. Clean up style nits.
3844
d7e49b19
RM
3845 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3846 out of ...
3847 (set_class_defaults): ... local function set_default here.
3848 Define set_default as a macro locally to pass constant parameters.
3849 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3850 rather than a shared local.
3851
c079afb7
RM
3852 * stdlib/rpmatch.c (try): New function, broken out of ...
3853 (rpmatch): ... local function here. Also, prototypify definition.
3854
0bd72468
JM
38552014-09-12 Joseph Myers <joseph@codesourcery.com>
3856
ba90e050
JM
3857 * scripts/soversions.awk: Do not handle configuration names.
3858 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3859 vendor and os variables to soversions.awk.
3860 * configure.ac: Do not modify gnu-* host_os.
3861 * configure: Regenerated
3862 * shlib-versions: Remove first column with configuration names.
3863 * nptl/shlib-versions: Likewise.
3864 * nptl_db/shlib-versions: Likewise.
3865 * sysdeps/hppa/shlib-versions: Likewise.
3866 * sysdeps/m68k/shlib-versions: Likewise.
3867 * sysdeps/mach/hurd/shlib-versions: Likewise.
3868 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3869 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3870 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3871 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3872 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3873 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3874 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3875 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3877 Likewise.
3878 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3879 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3880 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3881 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3882 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3883 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3886
73a39112
JM
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3888 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3890 Regenerated.
3891 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3893 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3894
c729e7c1
JM
3895 * shlib-versions: Remove OS-specific entries. Moved to files in
3896 sysdeps.
3897 * sysdeps/mach/hurd/shlib-versions: New file.
3898 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3899
dc932a24
JM
3900 * nptl/shlib-versions: Remove architecture-specific entries.
3901 Moved to files in sysdeps.
3902 * shlib-versions: Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3904 file.
3905 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3906 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3907 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3909
0bd72468
JM
3910 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3911 (UDP_NO_CHECK6_RX): Likewise.
3912
920238e0
SP
39132014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3914
3915 * sysdeps/posix/sysconf.c (__sysconf): Spell
3916 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3917
ba7b4d29
FW
39182014-08-12 Florian Weimer <fweimer@redhat.com>
3919
3920 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3921 loading.
3922 * iconv/Versions (__gconv_transliterate): Export for use from
3923 gconv modules.
3924 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3925 (struct __gconv_trans_data, __gconv_trans_fct,
3926 __gconv_trans_context_fct, __gconv_trans_query_fct,
3927 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3928 definitions.
3929 (struct __gconv_step_data): Remove __trans member.
3930 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3931 longer hidden. Remove unused trans_data argument.
3932 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3933 (__gconv_translit_find): Remove declaration.
3934 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3935 prototype.
3936 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3937 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3938 trans_data argument. Add hidden definition.
3939 (__gconv_translit_find): Remove.
3940 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3941 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3942 * iconv/skeleton.c: Remove transliteration initialization.
3943 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3944 __gconv_step_data initialization.
3945 * libio/iofwide.c (__libio_translit_): Remove.
3946 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3947 * wcsmbs/btowc.c (__btowc): Likewise.
3948 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3949 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3950 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3951 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3952 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3953 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3954 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3955 * wcsmbs/wctob.c (wctob): Likewise.
3956
5379aebd
SP
39572014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3958
3959 [BZ #16194]
3960 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3961 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3962 register usage.
3963 * sysdeps/x86/Makefile: Adjust.
3964
8c0ab919
RM
39652014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3966 Roland McGrath <roland@hack.frob.com>
3967
3968 * locale/weight.h: Add include guard.
3969 (findidx): Make static rather than auto; take new parameters
3970 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3971 * locale/weightwc.h: Likewise.
3972 * posix/fnmatch_loop.c
3973 (FCT): Change type of EXTRA from int32_t to wint_t.
3974 Don't include either header inside the function.
3975 Call FINDIDX rather than findidx, and pass new arguments.
3976 #undef FINDIDX at the end of the file.
3977 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3978 FINDIDX before including fnmatch_loop.c for the non-wide version.
3979 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3980 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3981 for the wide version.
3982 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3983 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3984 Pass new arguments to findidx.
3985 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3986 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3987 Don't #include it inside the function. Pass new arguments to findidx.
3988 * posix/regex_internal.h
3989 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3990 (re_string_elem_size_at): Don't #include it inside the function.
3991 Pass new arguments to findidx.
3992 * string/strcoll_l.c: #include WEIGHT_H at top level.
3993 (get_next_seq): Don't #include it inside the function.
3994 Pass new arguments to findidx.
3995 (get_next_seq_nocache): Likewise.
3996 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3997 (STRXFRM): Don't #include it inside the function.
3998 Pass new arguments to findidx.
3999
52ffbdf2
FW
40002014-09-11 Florian Weimer <fweimer@redhat.com>
4001
4002 [BZ #17344]
4003 * malloc/malloc.c (unlink): Turn asserts into a call to
4004 malloc_printerr.
4005
984c0ea9
TL
40062014-09-11 Tim Lammens <tim.lammens@gmail.com>
4007
4008 [BZ #17370]
4009 * libio/wfileops (do_ftell_wide): Free OUT.
4010
3daee107
CM
40112014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4012
4013 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4014
58b930ae
SP
40152014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4016
4017 [BZ #17363]
4018 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4019 group if the current group is empty.
4020
3b473fec
AZ
40212014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4022
71ae8647
AZ
4023 * benchtests/bench-memset.c (test_main): Add more test from size
4024 from 32 to 512 bytes.
4025 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4026 Add POWER8 memset object.
4027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4028 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4029 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4030 implementation.
4031 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4032 Likewise.
4033 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4034 multiarch POWER8 memset optimization.
4035 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4036 POWER8 memset optimization.
4037
3b473fec
AZ
4038 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4039 Remove bzero multiarch objects.
4040 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4041 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4043 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4044 Remove define.
4045 [__bzero]: Redefine to specific name.
4046 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4047 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4048 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4049 define.
4050 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4051 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4052
e6fb9587
FW
40532014-09-10 Florian Weimer <fweimer@redhat.com>
4054
4055 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4056 warnings into errors.
4057
4058 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4059 __cxa_thread_atexit_impl prototype.
4060
9d3a350b
SE
40612014-09-09 Steve Ellcey <sellcey@mips.com>
4062
4063 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4064 Fix capitalization of error message.
4065
0febba23
SE
40662014-09-09 Steve Ellcey <sellcey@mips.com>
4067
4068 * sysdeps/mips/preconfigure: Modify ABI tests.
4069
645a0e9c
CD
40702014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4071
4072 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4073
d83f0734
CD
40742014-09-07 Roland McGrath <roland@hack.frob.com>
4075 Carlos O'Donell <carlos@systemhalted.org>
4076
4077 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4078 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4079 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4080 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4081 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4082 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4083 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4084 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4085 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4086 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4087 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4088 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4089 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4090 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4091 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4092 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4093 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4094 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4095 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4096 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4097 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4098 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4099 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4100 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4101 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4102 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4103 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4104 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4105 Deconditionalize the code that was previously under [RESET_PID].
4106 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4107 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4108 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4109 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4110 include sysdep.h.
4111
21c83793
AM
41122014-09-08 Allan McRae <allan@archlinux.org>
4113
4114 * version.h (RELEASE): Set to "development".
4115 (VERSION): Set to "2.20.90"
4116
1cd9b65c
AM
41172014-09-07 Allan McRae <allan@archlinux.org
4118
b8079dd0
AM
4119 * version.h (RELEASE): Set to "stable".
4120 (VERSION): Set to "2.20"
4121 * include/features.h (__GLIBC_MINOR__): Set to 20.
4122
c46303ef
AM
4123 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4124 Liebler.
4125
1cd9b65c
AM
4126 * po/ko.po: Update Korean translation from translation project.
4127
8622092d
CM
41282014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4129
4130 [BZ #17354]
4131 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4132 macro for handling signed relocations.
4133
41488498
FW
41342014-09-03 Florian Weimer <fweimer@redhat.com>
4135
4136 [BZ #17325]
4137 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4138 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4139 assert.
4140 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4141 * iconvdata/ibm935.c (BODY): Likewise.
4142 * iconvdata/ibm937.c (BODY): Likewise.
4143 * iconvdata/ibm939.c (BODY): Likewise.
4144 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4145 assert.
4146 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4147 script.
4148 * iconvdata/run-iconv-test.sh: New test loop for checking for
4149 decoder crashers.
4150
a78b712d
KR
41512014-09-02 Khem Raj <raj.khem@gmail.com>
4152
4153 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4154 libm_hidden_ver.
4155
cb08abc6
AM
41562014-09-01 Allan McRae <allan@archlinux.org>
4157
2c31e102
AM
4158 * po/eo.po: Update Esperanto translation from translation project.
4159
cb08abc6
AM
4160 * po/ca.po: Update Catalan translation from translation project.
4161
17a62de1
ST
41622014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4163
4164 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4165 __proc_dostop call.
4166
9570bc53
MW
41672014-08-27 Mark Wielaard <mjw@redhat.com>
4168
4169 [BZ #17319]
4170 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4171 to call set_thread_area instead of hand written asm.
4172 (__NR_set_thread_area): Removed define.
4173 (TLS_FLAG_WRITABLE): Likewise.
4174 (__ASSUME_SET_THREAD_AREA): Remove check.
4175 (TLS_EBX_ARG): Remove define.
4176 (TLS_LOAD_EBX): Likewise.
4177
b0f955c9
ST
41782014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4179
4180 Simplify atomicity of socket creation in bind.
4181
4182 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4183 looking up the name after linking the file.
4184
529bf515
AM
41852014-08-27 Allan McRae <allan@archlinux.org>
4186
4187 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4188
a1a6a401
FW
41892014-08-26 Florian Weimer <fweimer@redhat.com>
4190
4191 [BZ #17187]
4192 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4193 trans_compare, open_translit, __gconv_translit_find):
4194 Remove module loading code.
4195
686ab290
AM
41962014-08-26 Allan McRae <allan@archlinux.org>
4197
e4e7cfd2
AM
4198 * po/vi.po: Update Vietnamese translation from translation project.
4199
6aa09f71
AM
4200 * po/uk.po: Update Ukrainian translation from translation project.
4201
edc0660e
AM
4202 * po/fr.po: Update French translation from translation project.
4203
7eea72ac
AM
4204 * po/ru.po: Update Russian translation from translation project.
4205
93c49eff
AM
4206 * po/pl.po: Update Polish translation from translation project.
4207
46acaf63
AM
4208 * po/cs.po: Update Czech translation from translation project.
4209
a9f5ce98
AM
4210 * po/de.po: Update German translation from translation project.
4211
373f2b78
AM
4212 * po/bg.po: Update Bulgarian translation from translation project.
4213
e7548bd8
AM
4214 * po/sv.po: Update Sweedish translation from translation project.
4215
c526bf4d
AM
4216 * po/nl.po: Update Dutch translation from translation project.
4217
686ab290
AM
4218 * po/es.po: Update Spanish translation from translation project.
4219
eb72478a
SP
42202014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4221
dd763fdb
SP
4222 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4223
318c7a58
SP
4224 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4225 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4226 (CPPFLAGS-iconvconfig): Likewise.
4227 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4228
eb72478a
SP
4229 * include/libc-symbols.h: Remove unnecessary check for
4230 NOT_IN_libc.
4231 * nptl/pthreadP.h: Likewise.
4232 * sysdeps/aarch64/setjmp.S: Likewise.
4233 * sysdeps/alpha/setjmp.S: Likewise.
4234 * sysdeps/arm/sysdep.h: Likewise.
4235 * sysdeps/i386/setjmp.S: Likewise.
4236 * sysdeps/m68k/setjmp.c: Likewise.
4237 * sysdeps/posix/getcwd.c: Likewise.
4238 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4239 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4240 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4241 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4242 * sysdeps/sh/sh3/setjmp.S: Likewise.
4243 * sysdeps/sh/sh4/setjmp.S: Likewise.
4244 * sysdeps/unix/alpha/sysdep.h: Likewise.
4245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4246 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4247 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4248 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4253 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4256 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4258 * sysdeps/x86_64/setjmp.S: Likewise.
4259
d44a052c
JM
42602014-08-13 Joseph Myers <joseph@codesourcery.com>
4261
4262 [BZ #17263]
4263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4264 <stdint.h>.
4265 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4266 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4267
508ce3ac
SP
42682014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4269
e44c8b0e
SP
4270 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4271
508ce3ac
SP
4272 [BZ #17262]
4273 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4274 and __x86_64__ when disabling x87 inline functions.
4275
b4acef1f
L
42762014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4277
4278 [BZ #17259]
4279 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4280 asm statement with __cpuid_count.
4281
61b1ef6e
MF
42822014-08-12 Mike Frysinger <vapier@gentoo.org>
4283
4284 * configure.ac: Change __ehdr_start code to dereference the struct.
4285 Run readelf on the output to look for relocations.
4286 * configure: Regenerated.
4287
898c62f4
JM
42882014-08-12 Joseph Myers <joseph@codesourcery.com>
4289
4290 [BZ #17261]
4291 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4292 value to 0.
4293 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4294
9a8a5720
RM
42952014-08-12 Roland McGrath <roland@hack.frob.com>
4296
4297 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4298
4e75751c
BO
42992014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4300
4301 [BZ #16892]
4302 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4303 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4304
bb2ce416
SA
43052014-08-12 Sean Anderson <seanga2@gmail.com>
4306
4307 * malloc/malloc.c: Fix typo in comment.
4308
7950a4ee
AM
43092014-08-09 Allan McRae <allan@archlinux.org>
4310
4311 * Regenerate libc.po.
4312
f469c49f
MF
43132014-08-08 Mike Frysinger <vapier@gentoo.org>
4314
4315 * intl/tst-gettext2.sh: Check every lang file for creation.
4316
656b84c2
WD
43172014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4318
4319 * sysdeps/aarch64/fpu/math_private.h
4320 (libc_feholdsetround_noex_aarch64_ctx): New function.
4321
538e9e45
W
43222014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4323
4324 * sysdeps/arm/armv6/strcpy.S (strcpy):
4325 Fix performance issue in misaligned cases.
4326
d4795e4a
AZ
43272014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4328
4329 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4330 Move definition from termios.h.
4331 (struct termio): Likewise.
4332 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4333 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4334 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4335 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4336 Likewise.
4337 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4338 Move definition to ioctl-types.h
4339 (struct termio): Likewise.
4340 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4341 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4342 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4343 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4344 Likewise.
4345
64accb62
RH
43462014-08-05 Richard Henderson <rth@redhat.com>
4347
27bb6dc0
RH
4348 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4349 exceptions.
4350 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4351 Add fraiseexcpt.
4352 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4353 Use __feraiseexcept.
4354 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4355 Protect libm symbols with IS_IN_libm.
4356
64accb62
RH
4357 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4358
e5292691
BO
43592014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4360
4361 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4362
5b4bd2d4
WN
43632014-08-04 Will Newton <will.newton@linaro.org>
4364
4365 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4366 file.
4367
fcadaeef
MF
43682014-08-04 Mike Frysinger <vapier@gentoo.org>
4369
4370 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4371 variants for each function.
4372
43a94c64
RM
43732014-08-04 Roland McGrath <roland@hack.frob.com>
4374
4375 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4376 appended ...
4377 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4378 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4379 appended ...
4380 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4381 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4382 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4383 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4384 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4385 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4386 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4387 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4388 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4389 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4390 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4391 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4392 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4393 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4394 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4395 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4396 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4397 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4398 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4399 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4400 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4401 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4402 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4403 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4404 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4405 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4406 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4408 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4410 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4411 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4412 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4413 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4414 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4415 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4416 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4417 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4418 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4419 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4420 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4421 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4422 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4423 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4424 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4425 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4426 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4427 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4428 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4429 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4430 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4431 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4432 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4433 Update #include.
4434 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4435 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4436
8f3c1fa4
RM
44372014-08-04 Roland McGrath <roland@hack.frob.com>
4438
4439 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4440 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4441 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4442 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4443 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4444 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4445
ca08746f
RM
44462014-08-04 Roland McGrath <roland@hack.frob.com>
4447
4448 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4449 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4450 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4451 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4452
9c925ff9
RM
44532014-08-04 Roland McGrath <roland@hack.frob.com>
4454
4455 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4456 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4457 (__libc_vfork): Define function under this name.
4458 (__vfork): Define as an alias.
4459 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4460 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4461
e641054c
RM
44622014-08-04 Roland McGrath <roland@hack.frob.com>
4463
4464 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4465 that was previously under [RESET_PID].
4466 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4467
dacdc867
AS
44682014-08-04 Andreas Schwab <schwab@suse.de>
4469
4470 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4471
41f725ff
MF
44722014-08-03 Mike Frysinger <vapier@gentoo.org>
4473
4474 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4475 (main): Likewise.
4476
277cfb31
RM
44772014-08-01 Roland McGrath <roland@hack.frob.com>
4478
4479 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4480
4896f049
RH
44812014-08-01 Richard Henderon <rth@redhat.com>
4482
4483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4484 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4485 typo in exact zero test.
4486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4489
6f64e7d7
RM
44902014-08-01 Roland McGrath <roland@hack.frob.com>
4491
4492 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4493 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4494 * sysdeps/arm/sysdep.h: ... here.
4495 [!__ASSEMBLER__]: Include <stdint.h>.
4496
3f3dd810
SP
44972014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4498
a476ac4b
SP
4499 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4500 (HAVE_WCTYPE_H): Likewise.
4501 (HAVE_ISWCTYPE): Likewise.
4502 (ENABLE_NLS): Likewise.
4503 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4504 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4505
78dd658a
SP
4506 * posix/regex_internal.c: Check if DEBUG is defined and is
4507 set.
4508
3f3dd810
SP
4509 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4510 (HAVE_MBSRTOWCS): Likewise.
4511 * posix/fnmatch.c: Include string.h unconditionally.
4512
95ee7fb1
SL
45132014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4514
4515 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4516 reversal.
4517
23fe486b
RM
45182014-07-31 Roland McGrath <roland@hack.frob.com>
4519
f61a113f
RM
4520 * sysdeps/generic/safe-fatal.h: New file.
4521 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4522 * nptl/forward.c: Include it.
4523 (__pthread_unwind): Use __safe_fatal as default action, rather
4524 than a bogus use of INTERNAL_SYSCALL that could never work.
4525
9fe7e787
RM
4526 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4527 * configure.ac (libc_cv_builtin_trap): New test.
4528 * configure: Regenerated.
4529 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4530 (ABORT_INSTRUCTION): Define using __builtin_trap.
4531
23fe486b
RM
4532 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4533 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4534 * sysdeps/nptl/nptl-signals.h: New file.
4535 * nptl/pthreadP.h: Include <nptl-signals.h>.
4536
f349489e
SL
45372014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4538
4539 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4540 (ONE_DIRECTION): Define.
4541 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4542 (ONE_DIRECTION): Define.
4543 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4544 (ONE_DIRECTION): Define.
4545
2f438e20
SL
45462014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4547
4548 * sysdeps/s390/Makefile: Delete file.
4549 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4550 * sysdeps/s390/__longjmp.c: Delete file.
4551 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4552 Remove fields __flags and __reserved.
4553 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4554 and add versioning.
4555 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4556 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4557 * sysdeps/s390/rtld-setjmp.S: Likewise.
4558 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4559 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4560 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4561 * sysdeps/s390/s390-32/setjmp.S: ... here.
4562 Add versioning.
4563 (__sigsetjmp): Remove setting __flags field.
4564 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4565 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4566 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4567 * sysdeps/s390/s390-64/setjmp.S: ... here.
4568 Add versioning.
4569 (__sigsetjmp): Remove setting __flags field.
4570 * sysdeps/s390/setjmp.S: Delete file.
4571 * sysdeps/s390/sigjmp.c: Likewise.
4572 * sysdeps/s390/v1-longjmp.c: Likewise.
4573 * sysdeps/s390/v1-setjmp.h: Likewise.
4574 * sysdeps/s390/v1-sigjmp.c: Likewise.
4575 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4576 Remove v1-longjmp_chk.
4577 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4578 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4579 Include debug/longjmp_chk.c and add versioning.
4580 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4581 Include nptl/pt-longjmp.c and add versioning.
4582 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4583 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4584 Include __longjmp.c.
4585 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4586 Move to ...
4587 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4588 (__getcontext): Remove setting __flags field.
4589 Add versioning.
4590 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4591 Don't restore upper high grps.
4592 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4593 Likewise.
4594 (__swapcontext): Remove setting uc_flags field.
4595 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4596 Delete file.
4597 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4598 Include __longjmp.c.
4599 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4600 Move to ...
4601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4602 (__getcontext): Remove setting __flags field.
4603 Add versioning.
4604 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4605 (__swapcontext): Remove setting uc_flags field.
4606 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4607 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4608 Remove fields uc_high_gprs and __reserved.
4609 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4610 New file with reverted content.
4611 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4612 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4613 Regenerated.
4614 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4615 Regenerated.
4616
6c9578a2
AS
46172014-07-31 Andreas Schwab <schwab@suse.de>
4618
4619 * config.h.in (HAVE_IFUNC): Define to 0.
4620 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4621 definedness.
4622
05f3633d
LM
46232014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4624
4625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4626 memmove-avx-unaligned, memcpy-avx-unaligned and
4627 mempcpy-avx-unaligned.
4628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4629 Add tests for AVX memcpy functions.
4630 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4631 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4632 memcpy_chk.
4633 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4634 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4635 memmove_chk.
4636 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4637 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4638 mempcpy_chk.
4639 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4640 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4641 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4642
a53fbd8e
AZ
46432013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4644
4645 [BZ #17213]
4646 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4647 powerpc64le.
4648
0961f7e1
JL
46492014-07-29 Jeff Layton <jlayton@poochiereds.net>
4650
4651 [BZ #16839]
4652 * manual/llio.texi: Add section about open file description locks.
4653 * manual/examples/ofdlocks.c: Example of open file description
4654 lock usage.
4655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4656 F_OFD_SETLK, and F_OFD_SETLKW.
4657
cc5fb300
AM
46582014-07-23 Allan McRae <allan@archlinux.org>
4659
4660 * po/es.po: Update Spanish translation from translation project.
4661
23329dca
AS
46622014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4663
4664 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4665
9c82da17
MR
46662014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4667
4668 [BZ #17078]
4669 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4670 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4671 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4672
29c4f53e
JM
46732014-07-17 Joseph Myers <joseph@codesourcery.com>
4674
831b9896
JM
4675 [BZ #17088]
4676 * math/fesetenv.c (__fesetenv)
4677 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4678 * math/feupdateenv.c (__feupdateenv)
4679 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4680
b21c2d50
JM
4681 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4682 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4683 (__ASSUME_SOCKETCALL): Do not define.
4684
067764ef
JM
4685 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4686 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4687 (__ASSUME_SOCKETCALL): Do not define.
4688 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4689 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4690 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4691 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4692 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4693 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4694 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4695 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4696
642530c1
JM
4697 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4698 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4699 (__ASSUME_SOCKETCALL): Do not define.
4700 (__ASSUME_IPC64): Define unconditionally.
4701 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4702 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4703 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4704 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4705 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4706 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4707 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4708 Likewise.
4709
03f77315
JM
4710 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4711 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4712 (__ASSUME_SOCKETCALL): Do not define.
4713 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4714 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4715 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4716 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4717 (__ASSUME_REQUEUE_PI): Define unconditionally.
4718 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4719 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4720 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4721 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4722 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4723 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4724
083b1f7c
JM
4725 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4726 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4727 (__ASSUME_SOCKETCALL): Do not define.
4728 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4729 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4730 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4731 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4732 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4733 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4734
5be44ea6
JM
4735 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4736 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4737 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4738 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4739 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4740 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4741 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4742 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4743 (__ASSUME_GETCPU_SYSCALL): Likewise.
4744
d95ffd4c
JM
4745 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4746 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4747 cases for individual architectures.
4748 * sysdeps/gnu/configure: Regenerated.
4749 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4750 LIBC_SLIBDIR_RTLDDIR.
4751 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4752 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4753 LIBC_SLIBDIR_RTLDDIR.
4754 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4756 LIBC_SLIBDIR_RTLDDIR.
4757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4758 Regenerated.
4759 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4760 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4761 file.
4762 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4763 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4764 file.
4765 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4766 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4767 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4768 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4769
29c4f53e
JM
4770 * sysdeps/aarch64/shlib-versions: Move to ...
4771 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4772 * sysdeps/alpha/shlib-versions: Move to ...
4773 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4774 * sysdeps/arm/shlib-versions: Move to ...
4775 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4776 * sysdeps/hppa/shlib-versions: Move all contents except for
4777 libgcc_s entry to ...
4778 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4779 entry from ...
4780 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4781 * sysdeps/ia64/shlib-versions: Move to ...
4782 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4783 entry from ...
4784 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4785 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4786 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4787 * sysdeps/microblaze/shlib-versions: Move to ...
4788 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4789 * sysdeps/mips/shlib-versions: Move to ...
4790 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4791 entry from ...
4792 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4793 * sysdeps/tile/shlib-versions: Move to ...
4794 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4795 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4796 from ...
4797 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4798 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4799 entry from ...
4800 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4801
32bead5b
WN
48022014-07-17 Will Newton <will.newton@linaro.org>
4803
57977c4b
WN
4804 * sysdeps/arm/bits/atomic.h
4805 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4806 (__arch_compare_and_exchange_bool_16_int): Likewise.
4807 (__arch_compare_and_exchange_bool_64_int): Likewise.
4808
32bead5b
WN
4809 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4810 into an #else block.
4811
37fccd41
RM
48122014-07-16 Roland McGrath <roland@hack.frob.com>
4813
4814 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4815 just Linux configurations. Test empirically that the compiler sets
4816 __ARM_EABI__, rather than using the tuple to decide.
4817 * sysdeps/arm/preconfigure: Regenerated.
4818 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4819 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4820 contents appended ...
4821 * sysdeps/arm/configure.ac: ... here.
4822 * sysdeps/arm/configure: Regenerated.
4823
b365f3ec
RM
48242014-07-15 Roland McGrath <roland@hack.frob.com>
4825
8badf496
RM
4826 * nptl/pthread_kill.c: New file.
4827 * nptl/pthread_sigmask.c: New file.
4828 * nptl/pthread_sigqueue.c: New file.
4829
3df6f22e
RM
4830 * sysdeps/nptl/lowlevellock.h: New file.
4831 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4832 * sysdeps/nptl/lowlevellock-futex.h: New file.
4833
b365f3ec
RM
4834 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4835 Remove dead declarations.
4836
f2fef657
L
48372014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4840 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4841 config-cflags-avx2.
4842 * sysdeps/x86_64/configure.ac: Likewise.
4843 * sysdeps/i386/configure: Regenerated.
4844 * sysdeps/x86_64/configure: Likewise.
4845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4846 memset-avx2 only if config-cflags-avx2 is yes.
4847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4848 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4849 defined.
4850 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4851 only if HAVE_AVX2_SUPPORT is defined.
4852 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4853
f6c44d47
AM
48542014-07-14 Alan Modra <amodra@gmail.com>
4855
4856 [BZ #17153]
4857 * elf/elf.h (DT_PPC64_NUM): Correct value.
4858 * NEWS: Add to fixed bug list.
4859
7ee03f00
JM
48602014-07-13 Jim Meyering <meyering@fb.com>
4861
4862 [BZ 17150]
4863 regex: don't deref NULL upon heap allocation failure
4864 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4865 failure in one more place.
4866 To trigger the segfault, configure grep -with-included-regex,
4867 build it, and run these commands:
4868 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4869
9d39d517
AS
48702014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4871
4872 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4873
a75b89b7
RH
48742014-07-11 Richard Henderson <rth@redhat.com>
4875
4876 * sysdeps/aarch64/libm-test-ulps: Update.
4877
771eb141
FW
48782014-07-10 Florian Weimer <fweimer@redhat.com>
4879
4880 [BZ #17135]
4881 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4882 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4883 (__nptl_setxid): Initialize error member. Call
4884 __nptl_setxid_error.
4885 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4886 * nptl/descr.h (struct xid_command): Add error member.
4887 * nptl/tst-setuid3.c: New file.
4888 * nptl/Makefile (tests): Add it.
4889
bc1da176
AZ
48902014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891
4892 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4893 New define.
4894 (__lll_trylock): Use __lll_base_trylock.
4895 (__lll_cond_trylock): Likewise.
4896
887865fc
RM
48972014-07-10 Roland McGrath <roland@hack.frob.com>
4898
c0c6bac9
RM
4899 * nptl/pthread_create.c (start_thread): Use atomic_or and
4900 lll_futex_wake directly rather than lll_robust_dead.
4901 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4902 (lll_robust_dead): Macro removed.
6a42be57 4903 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4904 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4905 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4906 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4908 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4909 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4910 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4911 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4913 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4914 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4916 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4917 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4918
887865fc
RM
4919 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4920 Use atomic_compare_and_exchange_val_acq directly rather than
4921 lll_robust_trylock.
4922 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4923 (__lll_robust_trylock, lll_robust_trylock): Removed.
4924 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4925 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4926 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4927 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4928 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4929 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4930 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4931 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4933 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4934 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4935 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4936 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4937 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4938
58536726
FW
49392014-07-02 Florian Weimer <fweimer@redhat.com>
4940
4941 * manual/locale.texi (Locale Names): New section documenting
4942 locale name syntax. Adjust menu and node chaining accordingly.
4943 (Choosing Locale): Reference Locale Names, Locale Categories.
4944 Mention setting LC_ALL=C. Reflect that name syntax is now
4945 documented.
4946 (Locale Categories): New section title. Reference Locale Names.
4947 LC_ALL is an environment variable, but not a category.
4948 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4949 description, now in Locale Name. Reference that section. Locale
4950 name syntax is now documented.
4951
4e8f95a0
FW
49522014-07-02 Florian Weimer <fweimer@redhat.com>
4953
4954 [BZ #17137]
4955 * locale/findlocale.c (name_present, valid_locale_name): New
4956 functions.
4957 (_nl_find_locale): Use the loc_name variable to store name
4958 candidates. Call name_present and valid_locale_name to check and
4959 validate locale names. Return an error if the locale is invalid.
4960
d1836456
FW
49612014-07-02 Florian Weimer <fweimer@redhat.com>
4962
4963 * locale/setlocale.c (setlocale): Use strdup for allocating
4964 composite name copy.
4965
d69b7f5a
SP
49662014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4967
888c679b
SP
4968 Sync up with gnulib.
4969 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4970 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4971 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4972 and _GL_ARG_NONNULL.
4973 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4974 [!_LIBC]: Include code for Windows and Cygwin.
4975 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4976 Include prototype for int strerror_r.
4977 [!_LIBC] (is_open): New function.
4978 (flush_stdout): New function.
4979 (print_errno_message): Use it.
4980 (error): Likewise.
4981 (error_at_line): Likewise.
4982 (error_tail) Add function attribute macros. Use
4983 __builtin_expect.
4984
180e0e4b
SP
4985 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4986
d22f1fe2
SP
4987 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4988
12f2254b
SP
4989 * io/ftw.c: Include sys/param.h unconditionally.
4990
c3c7c360
SP
4991 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4992
d62aa75a
SP
4993 [BZ #17125]
4994 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4995 libc_freeres_ptr.
4996 (freecache): New function to free CACHE on exit.
4997
d69b7f5a
SP
4998 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4999 initialization.
5000
5efe06a1
DM
50012014-07-09 David S. Miller <davem@davemloft.net>
5002
5003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5004
7000d82e
DM
5005 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5006 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5007 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5008 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5009 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5010 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5011 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5012 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5013 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5014 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5015 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5016 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5017 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5018
c213442d
AS
50192014-07-09 Andreas Schwab <schwab@suse.de>
5020
4a2552c3
AS
5021 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5022 output.
5023 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5024 (do_test): Likewise.
5025
c213442d
AS
5026 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5027
82374e65
WN
50282014-07-09 Will Newton <will.newton@linaro.org>
5029
5030 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5031 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5032 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5033 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5034 * sysdeps/hppa/start.S (_start): Likewise.
5035
6680738a
SP
50362014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5037
6ee3eab4
SP
5038 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5039
6680738a
SP
5040 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5041 defined.
5042
80b5c505
SP
50432014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5044
e35c53e3
SP
5045 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5046 after checking that it is non-NULL.
5047
80b5c505
SP
5048 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5049
91f4b564
AZ
50502014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5051
27b75f56
AZ
5052 * sysdeps/powerpc/memmove.c: Remove file.
5053 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5054 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5055 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5056 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5057 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5058 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5059 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5060 string memmove instead of removed powerpc one.
5061
e7f95bb5
AZ
5062 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5063 [weak_alias]: Fix compiler warning due trailing data.
5064 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5065 [weak_alias]: Likewise.
5066 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5067 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5068
91f4b564
AZ
5069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5070 (__libc_ifunc_impl_list): Add memmove functions.
5071
7c33f1e5
SP
50722014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5073
5074 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5075 Remove code.
5076 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5077 Likewise
5078 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5079 Likewise
5080 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5081 Likewise
5082 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5083 Likewise
5084 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5085 Likewise
5086 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5087 Likewise
5088 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5089 Likewise
5090 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5091 Likewise
5092 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5093 Likewise
5094 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5095 Likewise
5096 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5097 Likewise
5098 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5099 Likewise
5100 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5101 Likewise
5102 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5103 Likewise
5104 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5105 Likewise
5106 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5107 Likewise
5108
3f17b03b
AZ
51092014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110
87868c24
AZ
5111 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5112 to avoid alignment traps in non-cacheable memory.
5113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5114
07aedd78
AZ
5115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5116 multiarch objects.
5117 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5118 file: multiarch power7 memmove.
5119 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5120 multiarch default memmove.
5121 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5122 multiarch memove for powerpc32/power4.
5123
17762f66
AZ
5124 * string/bcopy.c: Use full path to include memmove.c.
5125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5126 multiarch objects.
5127 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5128 bcopy for powerpc64.
5129 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5130 bcopy for powerpc64.
5131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5132 and memmove implementations.
5133 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5134 optimized multiarch memmove for POWER7/powerpc64.
5135 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5136 default multiarch memmove for powerpc64.
5137 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5138 multiarch for powerpc64.
5139 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5140 for POWER7/powerpc64.
5141 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5142 memmove for POWER7/powerpc64.
5143
d6f68bbe
AZ
5144 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5145 glibc default one.
5146
3f17b03b
AZ
5147 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5148 __ELF_NATIVE_CLASS equal to 64.
5149
08192659
RM
51502014-07-07 Roland McGrath <roland@hack.frob.com>
5151
f4c4021b
RM
5152 * sysdeps/nptl/lowlevellock.h: File removed.
5153
f083450f
RM
5154 * NEWS: NPTL is no longer an add-on!
5155 * nptl/internaltypes.h: Moved ...
5156 * sysdeps/nptl/internaltypes.h: ... here.
5157 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5158 * sysdeps/nptl/fork.c: Likewise.
5159 * sysdeps/nptl/gai_misc.h: Likewise.
5160 * sysdeps/nptl/librt-cancellation.c: Likewise.
5161 * sysdeps/nptl/jmp-unwind.c: Likewise.
5162 * sysdeps/nptl/setxid.h: Likewise.
5163 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5164 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5165 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5166 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5167 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5168 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5169 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5170 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5171 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5172 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5173 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5174 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5175 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5176 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5177 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5178 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5179 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5180 * nptl/Makeconfig: Moved ...
5181 * sysdeps/nptl/Makeconfig: ... here.
5182 * nptl/configure: File removed.
5183 * nptl/ANNOUNCE: File removed.
5184 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5185 * sysdeps/unix/sysv/linux/configure: Regenerated.
5186
08192659
RM
5187 * nptl/Makefile (routines): Add libc_pthread_init,
5188 libc_multiple_threads, register-atfork and unregister-atfork.
5189 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5190 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5191 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5192 pthread-pi-defines.sym, structsem.sym.
5193 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5194 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5195 [$(subdir) = nptl] (tests): Add tst-setgetname.
5196 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5197 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5198 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5199 [!LIBC_SIGACTION]: Remove aliases.
5200 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5201 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5202 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5203 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5204 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5205 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5206 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5208 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5209 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5210 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5211 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5212 __libc_allocate_rtsig_private.
5213 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5214 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5215 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5216 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5217 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5218 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5219 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5220 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5221 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5222 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5223 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5224 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5225 * nptl/internaltypes.h: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5227 * sysdeps/nptl/jmp-unwind.c: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5229 * nptl/libc-lowlevellock.c: ... here.
5230 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5231 * nptl/libc_multiple_threads.c: ... here.
5232 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5233 * nptl/libc_pthread_init.c: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5235 * nptl/lowlevelbarrier.sym: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5237 * nptl/lowlevelcond.sym: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5239 * nptl/lowlevellock.c: ... here.
5240 * nptl/lowlevellock.h: Moved ...
5241 * sysdeps/nptl/lowlevellock.h: ... here.
5242 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5243 * nptl/lowlevelrobustlock.c: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5245 * nptl/lowlevelrobustlock.sym: ... here.
5246 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5247 * nptl/lowlevelrwlock.sym: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5249 * nptl/pt-fork.c: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5251 * nptl/pthread-pi-defines.sym: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5253 * nptl/pthread_attr_getaffinity.c: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5255 * nptl/pthread_attr_setaffinity.c: ... here.
5256 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5257 * nptl/pthread_mutex_cond_lock.c: ... here.
5258 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5259 Update #include.
5260 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5261 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5262 * nptl/pthread_once.c: ... here, replacing old file.
5263 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5264 * nptl/pthread_yield.c: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5266 * nptl/register-atfork.c: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5268 * nptl/sem_post.c: ... here.
5269 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5270 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5271 * nptl/sem_timedwait.c: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5273 * nptl/sem_trywait.c: ... here.
5274 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5275 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5276 * nptl/sem_wait.c: ... here.
5277 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5278 * nptl/structsem.sym: ... here.
5279 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5280 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5281 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5282 * nptl/unregister-atfork.c: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5284 * nptl/unwindbuf.sym: ... here.
5285 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5286 * sysdeps/nptl/fork.c: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5288 * sysdeps/nptl/fork.h: ... here.
5289 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5290 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5291 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5292 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5293 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5294 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5295 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5297 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5299 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5300 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5301 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5302 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5303 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5304 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5305 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5307 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5309 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5311 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5313 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5315 * sysdeps/unix/sysv/linux/raise.c: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5317 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5318 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5319 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5321 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5322 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5323 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5324 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5325 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5326 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5327 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5328 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5329 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5330 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5331
96baf6ff
SP
53322014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5333
5334 * sysdeps/generic/memcopy.h: Add comment for
5335 MEMCPY_OK_FOR_FWD_MEMMOVE.
5336
6b7b14b2
WN
53372014-07-04 Will Newton <will.newton@linaro.org>
5338
1570a72b
WN
5339 * string/memchr.c: Merge from gnulib.
5340 [_LIBC]: Remove conditionals.
5341 (__ptr_t): Remove define.
5342 (LONG_MAX_32_BITS): Likewise.
5343 (LONG_MAX): Likewise.
5344 (MEMCHR): Use ANSI prototype and optimize algorithm.
5345
6b7b14b2
WN
5346 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5347
38851324
SP
53482014-07-03 Roland McGrath <roland@hack.frob.com>
5349
3d9eb57c
RM
5350 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5351 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5352
78b984ae
RM
5353 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5354 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5355 in a bare environment with no <stdlib.h> installed.
5356 * sysdeps/nptl/configure: Regenerated.
5357
2d5976a5
RM
5358 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5359
c1f5acd4
RM
5360 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5361 AC_EGREP_CPP for kernel header checks, so they only succeed if
5362 including <linux/version.h> actually works right.
5363 * sysdeps/unix/sysv/linux/configure: Regenerated.
5364
4d614fe5
RM
5365 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5366 value so it's not diagnosed as unused.
5367
38851324
SP
5368 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5369 thing) with "ifeq ($(subdir),rt)".
5370
b3ec00e5
RH
53712014-07-03 Richard Henderson <rth@redhat.com>
5372
69862e25
RH
5373 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5374 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5375 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5376
d5e16ade
RH
5377 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5378 (math_force_eval): New.
5379
ca7b945c
RH
5380 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5381 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5382
cd1175a3
RH
5383 * sysdeps/alpha/fpu/s_round.c: Remove file.
5384 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5385
b3ec00e5
RH
5386 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5387 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5388 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5389 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5390 (_dl_start, print_statistics): Likewise.
5391 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5392 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5393
5394 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5395 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5396 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5397 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5399 (HP_SMALL_TIMING_AVAIL): Define.
5400 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5401 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5402 (HP_SMALL_TIMING_AVAIL): Define.
5403 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5404 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5405
5406 * sysdeps/aarch64/hp-timing.h: New file.
5407
5408 * sysdeps/generic/hp-timing.h: Remove dead comment.
5409 * sysdeps/generic/hp-timing-common.h: New file.
5410 * sysdeps/alpha/hp-timing.h: Include it.
5411 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5412 * sysdeps/i386/i686/hp-timing.h: Likewise.
5413 * sysdeps/ia64/hp-timing.h: Likewise.
5414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5415 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5416 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5417 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5418 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5419 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5420 (hp_timing_t): New.
5421
5422 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5423 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5424 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5425 * elf/rtld.c (_dl_start_final): Likewise.
5426 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5427 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5428 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5429 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5430 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5431 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5432 (HP_TIMING_DIFF_INIT): Remove.
5433 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5434 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5435 (HP_TIMING_DIFF_INIT): Remove.
5436 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5437 * sysdeps/i386/i686/hp-timing.c: Remove file.
5438 * sysdeps/x86_64/hp-timing.c: Remove file.
5439 * sysdeps/ia64/hp-timing.c: Remove file.
5440 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5441 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5442 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5443 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5444
5445 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5446 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5447 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5448 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5449 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5450 (HP_TIMING_ACCUM): Remove.
5451 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5452 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5453 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5454
5455 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5456 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5457 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5458 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5459 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5460 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5461 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5462 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5463
5464 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5465
225f410f
MR
54662014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5467
5468 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5469
3247f285
SP
54702014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5471
5472 Sync up with gettext.
5473 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5474 [_MSC_VER]: Include malloc.h
5475 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5476 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5477 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5478 TEMP_FAILURE_RETRY. Cast return of alloca.
5479 [!_LIBC] Call gl_rwlock_init.
5480 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5481
d12704c7
SP
54822014-07-02 Roland McGrath <roland@hack.frob.com>
5483
5484 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5485 before checking its value.
5486
99f8dc92
SP
54872014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5488
05fdac77
SP
5489 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5490
99f8dc92
SP
5491 * debug/memcpy_chk.c: Don't include pagecopy.h.
5492 * debug/mempcpy_chk.c: Likewise.
5493 * string/memcpy.c: Likewise.
5494 * string/memmove.c: Likewise.
5495 * sysdeps/powerpc/memmove.c: Likewise.
5496 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5497 definition of PAGE_COPY_FWD_MAYBE here...
5498 * sysdeps/generic/pagecopy.h: ... from here.
5499 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5500
bc8ea385
VR
55012014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5502 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5503
5504 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5506 optimizations.
5507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5508 (__libc_ifunc_impl_list): Likewise.
5509 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5510 multiarch strcat for PPC64.
5511 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5512 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5513
fe5f34e4
RM
55142014-07-02 Roland McGrath <roland@hack.frob.com>
5515
5516 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5517
256aa665
SP
55182014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5519
d4eb8195
SP
5520 * intl/loadmsgcat.c: Remove declaration of
5521 get_sysdep_segment_value.
5522 (get_sysdep_segment_value): Use ISO C style.
5523 (_nl_load_domain): Use ISO C style. Get rid of redundant
5524 semicolon. Fix typo and formatting in comment.
5525 (_nl_unload_domain): Use ISO C style.
5526
256aa665
SP
5527 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5528
b100f9aa
WN
55292014-07-02 Will Newton <will.newton@linaro.org>
5530
5531 * malloc/obstack.c: Merge from gnulib master.
5532 [HAVE_CONFIG_H]: Remove conditional code.
5533 [!_LIBC]: Include config.h.
5534 [!ELIDE_CODE]: Don't include inttypes.h, include
5535 stdint.h unconditionally.
5536 (print_and_abort): Mark as _Noreturn.
5537 (_obstack_allocated_p): Mark as __attribute_pure__.
5538 (obstack_free): Rename to __obstack_free.
5539 [!__attribute__]: Remove conditional code.
5540 * malloc/obstack.h: Merge from gnulib master.
5541 [__cplusplus]: Move conditional down.
5542 [!__attribute_pure__]: Define __attribute_pure__ here
5543 if it is not already defined.
5544 (_obstack_memory_used): Mark as __attribute_pure__.
5545 [!__obstack_free]: Define as obstack_free.
5546 [__GNUC__]: Remove check for ancient NeXT gcc.
5547
c4c41244
PE
55482014-07-02 Will Newton <will.newton@linaro.org>
5549 Paul Eggert <eggert@cs.ucla.edu>
5550
5551 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5552
e1e041c4
SP
55532014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5554
5555 * resolv/gethnamaddr.c: Add comment warning that the file is
5556 not maintained.
5557
ccf431ff
CD
55582014-07-01 Carlos O'Donell <carlos@redhat.com>
5559
d34570a6
CD
5560 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5561 entries.
5562
ccf431ff
CD
5563 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5564 entry for aio_cancel and aio_cancel64.
5565 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5566 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5567 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5568 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5569 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5570 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5571 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5572 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5573 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5574 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5575 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5576 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5577 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5578
ca06321d
RM
55792014-07-01 Roland McGrath <roland@hack.frob.com>
5580
5581 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5582 * nptl/pthread_mutex_lock.c: Likewise.
5583 * nptl/pthread_mutex_timedlock.c: Likewise.
5584 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5585
a1ac3184
RH
55862014-07-01 Richard henderson <rth@redhat.com>
5587
631021e0
RH
5588 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5589 (__isnan, __isnanl): Remove.
5590 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5591
a1ac3184
RH
5592 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5593
0c1d731f
SL
55942014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5595
5596 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5597
76985d3e
SP
55982014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5599
5600 * resolv/nss_dns/dns-host.c (getanswer_r)
5601 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5602
b0cb3096
JM
56032014-07-01 Joseph Myers <joseph@codesourcery.com>
5604
5605 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5606 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5607 undefine.
5608 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5609 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5610
4d76cb39
RM
56112014-07-01 Roland McGrath <roland@hack.frob.com>
5612
5613 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5614 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5615
5616 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5617 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5618
5619 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5620 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5621 ... here.
5622 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5623 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5624
5625 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5626 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5627 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5628 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5629
5630 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5631 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5632 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5633 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5634 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5635 Moved ...
5636 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5637 ... here.
5638 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5639 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5649 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5651 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5652 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5653 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5657 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5658 ... here.
5659 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5662 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5663 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5664 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5665 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5666 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5667
0cdcad17
DH
56682014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5669
5670 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5671 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5672 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5673 Add sysdep.
5674
9b71d0e3
AZ
56752014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5676
5677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5678
665390c2
JM
56792014-06-30 Joseph Myers <joseph@codesourcery.com>
5680
ae05a9d7
JM
5681 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5682 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5683
a7672a2f
JM
5684 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5685
665390c2
JM
5686 * sysdeps/arm/libm-test-ulps: Regenerated.
5687
d7a05d07
MR
56882014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5689 Roland McGrath <roland@hack.frob.com>
5690
5691 * test-skeleton.c (signal_handler): Kill the whole process group
5692 before killing the child individually.
5693 (main): Report any failure on `setpgid'.
5694
46f1d8a6
RM
56952014-06-30 Roland McGrath <roland@hack.frob.com>
5696
5697 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5698 from _TLS_H to _ARM_NPTL_TLS_H.
5699 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5700 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5701
9c37ec0b
JM
57022014-06-30 Joseph Myers <joseph@codesourcery.com>
5703
ce9c5b3e
JM
5704 [BZ #16539]
5705 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5706 (__expm1l): Return argument unchanged when small but not
5707 subnormal.
5708
3a6e9887
JM
5709 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5710 include macro name.
5711 (_FP_UNPACK_RAW_1_P): Likewise.
5712 (_FP_PACK_RAW_1): Likewise.
5713 (_FP_PACK_RAW_1_P): Likewise.
5714 (_FP_MUL_MEAT_1_wide): Likewise.
5715 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5716 (_FP_MUL_MEAT_1_hard): Likewise.
5717 (_FP_DIV_MEAT_1_imm): Likewise.
5718 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5719 (_FP_DIV_MEAT_1_udiv): Likewise.
5720 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5721 (_FP_UNPACK_RAW_2): Likewise.
5722 (_FP_UNPACK_RAW_2_P): Likewise.
5723 (_FP_PACK_RAW_2): Likewise.
5724 (_FP_PACK_RAW_2_P): Likewise.
5725 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5726 (_FP_MUL_MEAT_2_wide): Likewise.
5727 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5728 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5729 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5730 (_FP_MUL_MEAT_2_gmp): Likewise.
5731 (_FP_DIV_MEAT_2_udiv): Likewise.
5732 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5733 (_FP_FRAC_SRL_4): Likewise.
5734 (_FP_FRAC_SRST_4): Likewise.
5735 (_FP_FRAC_SRS_4): Likewise.
5736 (_FP_UNPACK_RAW_4): Likewise.
5737 (_FP_UNPACK_RAW_4_P): Likewise.
5738 (_FP_PACK_RAW_4): Likewise.
5739 (_FP_PACK_RAW_4_P): Likewise.
5740 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5741 (_FP_MUL_MEAT_4_wide): Likewise.
5742 (_FP_MUL_MEAT_4_gmp): Likewise.
5743 (umul_ppppmnnn): Likewise.
5744 (_FP_DIV_MEAT_4_udiv): Likewise.
5745 (__FP_FRAC_ADD_4): Likewise.
5746 (__FP_FRAC_SUB_3): Likewise.
5747 (__FP_FRAC_SUB_4): Likewise.
5748 (__FP_FRAC_DEC_3): Likewise.
5749 (__FP_FRAC_DEC_4): Likewise.
5750 (__FP_FRAC_ADDI_4): Likewise.
5751 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5752 (_FP_FRAC_SRL_8): Likewise.
5753 (_FP_FRAC_SRS_8): Likewise.
5754
9c37ec0b
JM
5755 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5756 include macro name.
5757 (FP_UNPACK_RAW_EP): Likewise.
5758 (FP_PACK_RAW_E): Likewise.
5759 (FP_PACK_RAW_EP): Likewise.
5760 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5761 (_FP_ISSIGNAN): Likewise.
5762 (_FP_ADD_INTERNAL): Likewise.
5763 (_FP_FMA): Likewise.
5764 (_FP_CMP): Likewise.
5765 (_FP_SQRT): Likewise.
5766 (_FP_TO_INT): Likewise.
5767 (_FP_FROM_INT): Likewise.
5768 (FP_EXTEND): Likewise.
5769 (_FP_DIV_MEAT_N_loop): Likewise.
5770
2125f674
MR
57712014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5772
5773 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5774 throughout.
5775
edea4028
JM
57762014-06-29 Joseph Myers <joseph@codesourcery.com>
5777
5778 [BZ #17097]
5779 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5780 result with correct sign in case of exponents that produce
5781 overflow except for X very close to 1.
5782
dd0ba018
PE
57832014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5784
5785 mktime: merge #if/#ifdef usage from glibc
5786 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5787 as that works with both Glibc's and Gnulib's style.
5788 See thread starting at Siddhesh Poyarekar's bug report at:
5789 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5790
64df73c2
SP
57912014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5792
5793 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5794 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5795 * sysdeps/tile/tilegx/memmove.c: Remove file.
5796
f1eafb41
JM
57972014-06-27 Joseph Myers <joseph@codesourcery.com>
5798
5799 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5800 abi-name definition.
5801 * scripts/soversions.awk: Do not handle or generate ABI lines.
5802 * shlib-versions: Remove ABI entries.
5803 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5804 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5805
58eb0862
RM
58062014-06-27 Roland McGrath <roland@hack.frob.com>
5807
37caf178
RM
5808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5809 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5810 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5811 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5815 Moved ...
5816 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5817 ... here.
5818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5819 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5827 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5829 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5831 Moved ...
5832 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5838 Moved ...
5839 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5841 Moved ...
5842 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5846 Moved ...
5847 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5849 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5851 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5855 Moved ...
5856 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5860 Moved ...
5861 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5863 Moved ...
5864 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5865 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5866 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5867 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5868 Moved ...
5869 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5870 ... here.
5871 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5872 Identical file removed.
5873 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5874 Moved ...
5875 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5877 Identical file removed.
5878 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5881 Moved ...
5882 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5884 Identical file removed.
5885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5886 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5887 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5888 Identical file removed.
5889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5890 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5892 Identical file removed.
5893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5894 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5896 Identical file removed.
5897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5898 Moved ...
5899 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5900 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5901 Identical file removed.
5902 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5903 Moved ...
5904 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5908 Identical file removed.
5909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5910 Moved ...
5911 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5912 ... here.
5913 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5914 Identical file removed.
5915 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5916 Moved ...
5917 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5918 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5919 Identical file removed.
5920 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5921 Moved ...
5922 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5923 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5924 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5926 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5928 Moved ...
5929 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5931 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5932
58eb0862
RM
5933 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5934 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5935 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5936 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5937 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5938
6f12d062
AS
59392014-06-27 Arjun Shankar <arjun.is@lostca.se>
5940
5941 [BZ #17092]
5942 * nscd/nscd.c (monitor_child): Return exit status of child
5943 instead of return value from wait syscall.
5944
be254932
JM
59452014-06-27 Joseph Myers <joseph@codesourcery.com>
5946
cb403c34
JM
5947 * configure.ac (libc_commonpagesize): Remove variable.
5948 (libc_relro_required): Likewise.
5949 (libc_cv_z_relro): Remove configure test.
5950 * configure: Regenerated.
5951 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5952 variable.
5953 (libc_relro_required): Likewise.
5954 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5955 (libc_relro_required): Likewise.
5956 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5957 (libc_relro_required): Likewise.
5958 * sysdeps/arm/preconfigure: Regenerated.
5959 * sysdeps/ia64/preconfigure: Remove file.
5960 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5961 variable.
5962 (libc_relro_required): Likewise.
5963
be254932
JM
5964 [BZ #16561]
5965 [BZ #16562]
5966 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5967 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5968 recompute overflowing results in original rounding mode.
5969 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5970 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5971 recompute overflowing results in original rounding mode.
5972 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5973 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5974 recompute overflowing results in original rounding mode.
5975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5976 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5977 recompute overflowing results in original rounding mode.
5978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5979 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5980 recompute overflowing results in original rounding mode.
5981 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5982 (libc_feholdsetround_ctx): New macro.
5983 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5986
b351d85a
JM
59872014-06-26 Joseph Myers <joseph@codesourcery.com>
5988
5989 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5990 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5991 corresponding .cpsetup call.
5992
3cb4de47
RM
59932014-06-26 Roland McGrath <roland@hack.frob.com>
5994
5995 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5996 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5997 * sysdeps/arm/Makefile [$(subdir) = csu]
5998 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5999 (static-only-routines): Add aeabi_read_tp here.
6000 (shared-only-routines): Add libc-aeabi_read_tp here.
6001 (CFLAGS-libc-start.c): Add -fexceptions here.
6002 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6003 (sysdep_routines, static-only-routines, shared-only-routines):
6004 Don't add to these here.
6005 (CFLAGS-libc-start.c): Likewise.
6006
6007 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6008 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6009 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6010 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6011 * sysdeps/arm/Makefile [$(subdir) = rt]
6012 (librt-sysdep_routines, librt-shared-only-routines):
6013 Append rt-aeabi_unwind_cpp_pr1 here.
6014 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6015 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6016 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6017 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6018 Append nptl-aeabi_unwind_cpp_pr1 here.
6019 (tests): Filter out tst-cleanupx4 here.
6020 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6021 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6022 Don't do those here.
6023
354426bb
JM
60242014-06-26 Joseph Myers <joseph@codesourcery.com>
6025
6026 * scripts/list-sources.sh: Do not handle ports specially.
6027
28b0a8c9
RM
60282014-06-26 Roland McGrath <roland@hack.frob.com>
6029
a3dd035d
RM
6030 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6031 * sysdeps/arm/feupdateenv.c: Likewise.
6032
28b0a8c9
RM
6033 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6034
e66a8203
JM
60352014-06-26 Joseph Myers <joseph@codesourcery.com>
6036
6037 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6038 trailing whitespace removed.
6039 * scripts/config.guess: Update to version 2014-03-23.
6040 * scripts/config.sub: Update to version 2014-05-01
6041 * scripts/install-sh: Update to version 2013-12-25.23.
6042 * scripts/move-if-change: Update from gnulib.
6043
74171115
SP
60442014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
b97c9ce5
SP
6046 * debug/memmove_chk.c: Remove pagecopy.h include.
6047
4000f892
SP
60482014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6049
74171115
SP
6050 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6051 identical to gnulib mktime.
6052
a8779c28
JM
60532014-06-26 Joseph Myers <joseph@codesourcery.com>
6054
e64708de
JM
6055 * configure.ac: Do not test for machine being rs6000. Do not test
6056 for powerpc*-*soft.
6057 * configure: Regenerated.
6058
a8779c28
JM
6059 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6060 test.
6061 * configure: Regenerated.
6062 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6063 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6064 Remove configure test.
6065 * sysdeps/arm/configure: Regenerated.
6066 * sysdeps/nptl/configure.ac: Do not check
6067 libc_cv_asm_cfi_directives.
6068 * sysdeps/nptl/configure: Regenerated.
6069 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6070 * sysdeps/x86_64/nptl/configure: Remove generated file.
6071 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6072 unconditional.
6073 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6074
2aac0a86
SP
60752014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6076
059bf913
SP
6077 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6078 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6079 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6080 it is defined.
6081
4cf5b6d0
SP
6082 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6083 instead of whether it is defined.
6084 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6085 * sysdeps/hppa/dl-machine.h: Likewise.
6086 * sysdeps/ia64/dl-machine.h: Likewise.
6087 * sysdeps/m68k/dl-machine.h: Likewise.
6088 * sysdeps/microblaze/dl-machine.h: Likewise.
6089 * sysdeps/mips/dl-machine.: Likewise.
6090 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6091 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6092 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6093 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6094 * sysdeps/sh/dl-machine.h: Likewise.
6095 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6096 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6097 * sysdeps/tile/dl-machine.h: Likewise.
6098 * sysdeps/x86_64/dl-machine.h: Likewise.
6099
2aac0a86
SP
6100 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6101 code.
6102 (verify_persistent_db): Likewise.
6103
6ad2df0b
RM
61042014-06-26 Roland McGrath <roland@hack.frob.com>
6105
d8a483f3
RM
6106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6107 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6109 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6111 Moved ...
6112 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6113 ... here.
6114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6115 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6117 Identical file removed.
6118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6119 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6121 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6123 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6125 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6127 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6129 Moved ...
6130 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6132 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6134 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6136 Moved ...
6137 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6139 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6141 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6143 Identical file removed.
6144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6145 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6147 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6149 Moved ...
6150 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6151 ... here.
6152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6153 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6155 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6157 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6159 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6161 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6163 Moved ...
6164 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6166 Moved ...
6167 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6169 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6171 Moved ...
6172 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6174 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6175
52ae23b4
RM
6176 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6177 folded into ...
6178 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6179 * sysdeps/unix/sysv/linux/s390/Versions
6180 (libpthread: GLIBC_2.19): New version set.
6181 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6182 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6183 (librt: GLIBC_2.3.3): New version set.
6184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6185 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6186 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6188 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6189 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6190 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6191 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6192 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6193 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6194 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6195 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6196 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6197 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6198 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6199 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6200 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6201 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6202 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6203 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6204 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6206 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6208 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6210 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6211 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6212 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6213 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6214 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6215 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6220 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6222 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6224 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6226 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6228 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6229
39507e4a
RM
6230 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6231 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6232 (__libc_vfork): Define the function under this name.
6233 [!NOT_IN_libc] (__vfork): Make this an alias.
6234 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6236 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6237 (__libc_vfork): Define the function under this name.
6238 [!NOT_IN_libc] (__vfork): Make this an alias.
6239 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6240 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6241 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6243 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6244 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6245
e549ee56
RM
6246 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6247 code that was previously under [RESET_PID].
6248 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6249 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6250 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6251
6ad2df0b
RM
6252 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6253 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6254 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6255 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6256 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6257 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6258 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6259 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6260 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6261 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6262 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6263 Moved ...
6264 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6265 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6266 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6267 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6268 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6269 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6270 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6271 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6272 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6273 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6274 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6275 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6276 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6277 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6278 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6279 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6280 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6281 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6282 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6283 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6284 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6285 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6286 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6287 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6288 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6289 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6290 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6291 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6292 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6293
7c1c1d8e
RM
62942014-06-25 Roland McGrath <roland@hack.frob.com>
6295
6296 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6297 that was previously under [RESET_PID].
6298 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6299
3e239be6
JM
63002014-06-25 Joseph Myers <joseph@codesourcery.com>
6301
74385da5
JM
6302 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6303 not undefine and redefine.
6304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6305 [O_CLOEXEC]: Make code unconditional.
6306 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6307 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6308 <kernel-features.h>.
6309 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6310 conditional variable definition.
6311 (shm_open) [O_CLOEXEC]: Make code unconditional.
6312 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6313 code.
6314
c2570a0b
JM
6315 * configure.ac (USE_REGPARMS): Don't define here.
6316 * configure: Regenerated.
6317 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6318 * sysdeps/i386/configure: Regenerated.
6319
11b076bb
JM
6320 * nptl/createthread.c: Don't include kernel-features.h.
6321 * nptl/pthread_cancel.c: Likewise.
6322 * nptl/pthread_condattr_setclock.c: Likewise.
6323 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6324 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6325 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6326 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6327 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6328 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6329 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6332 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6333 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6334 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6335 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6336 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6337 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6338 * nscd/gai.c: Likewise.
6339 * nss/nss_db/db-open.c: Likewise.
6340 * sysdeps/generic/ldsodefs.h: Likewise.
6341 * sysdeps/sh/nptl/tls.h: Likewise.
6342 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6343 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6344 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6345 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6346 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6347 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6348 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6349 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6350 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6351 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6352 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6353 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6354 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6355 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6356 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6357 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6358 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6359 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6360 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6361 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6362 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6364 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6365 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6366 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6367 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6368 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6369 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6370 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6371 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6372 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6373 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6374 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6375 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6376 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6377 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6378 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6379 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6380 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6381 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6382 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6383 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6384 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6385 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6386 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6387 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6388 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6389 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6390 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6391 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6392 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6393 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6394 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6395 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6396 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6397 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6398 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6399 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6422 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6423 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6424 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6425 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6426 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6429 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6430 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6431 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6432 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6433 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6434 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6435 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6437 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6440 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6441 * sysdeps/unix/sysv/linux/system.c: Likewise.
6442 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6443 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6444 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6445 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6446 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6447 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6448 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6449
92072d57
JM
6450 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6451 * configure: Regenerated.
6452 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6453
3e239be6
JM
6454 * configure.ac (base_machine): Do not set specially for particular
6455 machines here.
6456 * configure: Regenerated.
6457 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6458 settings from configure.ac.
6459 * sysdeps/i386/preconfigure: New file.
6460 * sysdeps/s390/preconfigure: Likewise.
6461 * sysdeps/sh/preconfigure: Likewise.
6462 * sysdeps/sparc/preconfigure: Likewise.
6463
06d50baa
RM
64642014-06-25 Roland McGrath <roland@hack.frob.com>
6465
74836003
RM
6466 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6467 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6468 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6469 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6470 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6471 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6472 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6473 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6474 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6475 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6476 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6477 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6478 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6479 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6480 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6481 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6482 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6483 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6484 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6485
6486 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6487 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6488 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6489 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6490 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6491 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6492 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6493 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6494 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6495 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6496 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6497 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6498 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6499 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6500 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6501 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6502 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6503 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6504 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6505 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6506 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6507 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6508 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6509 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6510 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6511 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6512 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6513 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6514 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6515 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6516 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6517 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6518 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6519 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6520 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6521 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6522 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6523 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6524
06d50baa
RM
6525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6526 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6528 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6530 Moved ...
6531 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6532 ... here.
6533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6534 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6536 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6538 Moved ...
6539 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6543 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6545 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6547 Moved ...
6548 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6550 Moved ...
6551 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6555 Moved ...
6556 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6558 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6560 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6562 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6564 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6566 Moved ...
6567 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6568 ... here.
6569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6570 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6572 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6574 Moved ...
6575 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6583 Moved ...
6584 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6586 Moved ...
6587 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6591 Moved ...
6592 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6594 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6596 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6597
a4ccbc9b
JM
65982014-06-25 Joseph Myers <joseph@codesourcery.com>
6599
0828edbf
JM
6600 * timezone/checktab.awk: Update from tzcode 2014e.
6601 * timezone/private.h: Likewise.
6602 * timezone/tzfile.h: Likewise.
6603 * timezone/zdump.c: Likewise.
6604 * timezone/zic.c: Likewise.
6605
a4ccbc9b
JM
6606 * sysdeps/unix/sysv/linux/kernel-features.h
6607 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6608 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6609 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6610 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6611 Remove conditional code.
6612
9aea0cb8
WN
66132014-06-25 Will Newton <will.newton@linaro.org>
6614
6615 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6616 (_dl_arm_cap_flags): Add HWCAP2 values.
6617 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6618 (_DL_HWCAP_COUNT): Increase to 37.
6619 (_DL_HWCAP_LAST): New define.
6620 (_DL_HWCAP2_LAST): New define.
6621 (_dl_procinfo): Add support for printing
6622 AT_HWCAP2 entries.
6623 (_dl_string_hwcap): Use _dl_hwcap_string.
6624
6eaa65ce
AZ
66252014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6626
6627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6628
0f5b7185
JM
66292014-06-25 Joseph Myers <joseph@codesourcery.com>
6630
cfd2ea50
JM
6631 * README: Do not mention ports directory.
6632
cecf2ed4
JM
6633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6634 Remove macro.
6635 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6636 <kernel-features.h>.
6637 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6638 conditional variable definition.
6639 (__futimes): Update comment.
6640 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6641 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6642
a638de82
JM
6643 [BZ #16560]
6644 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6645 arguments close to 0.
6646 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6647 Likewise.
6648 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6649 Likewise.
6650 * math/auto-libm-test-in: Add more tests of exp10.
6651 * math/auto-libm-test-out: Regenerated.
6652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6653
0f5b7185
JM
6654 * sysdeps/unix/sysv/linux/kernel-features.h
6655 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6656 * sysdeps/unix/sysv/linux/readv.c: Do not include
6657 <kernel-features.h>.
6658 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6659 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6660 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6661 unconditional.
6662 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6663 conditional code.
6664 * sysdeps/unix/sysv/linux/writev.c: Do not include
6665 <kernel-features.h>.
6666 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6667 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6668 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6669 unconditional.
6670 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6671 conditional code.
6672
c7aec4be
WN
66732014-06-25 Will Newton <will.newton@linaro.org>
6674
6675 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6676 comment changes throughout the file. Remove checks
6677 for HAVE_*_H definitions that are not required.
6678 (__gen_tempname): Call abort if an unknown kind value is
6679 passed.
6680
c5241f95
AS
66812014-06-25 Andreas Schwab <schwab@suse.de>
6682
6683 [BZ #17086]
6684 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6685 scalbln, scalblnf, scalblnl in libc.
6686
911422da
SP
66872014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6688
6689 [BZ #17086]
6690 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6691 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6692 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6693
0d749bbe
RM
66942014-06-24 Roland McGrath <roland@hack.frob.com>
6695
6696 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6697 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6698 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6699 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6700 Update #include.
6701 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6702 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6703 Update #include.
6704 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6705 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6706 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6707 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6708 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6709 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6710 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6711 * sysdeps/x86/bits/semaphore.h: ... here.
6712 * sysdeps/x86/nptl/elide.h: Moved ...
6713 * sysdeps/x86/elide.h: ... here.
6714 * sysdeps/x86_64/nptl/Implies: File removed.
6715 * sysdeps/i386/nptl/Implies: File removed.
6716
0ea5d373
JM
67172014-06-24 Joseph Myers <joseph@codesourcery.com>
6718
4060283d
JM
6719 [BZ #16539]
6720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6721 return the argument for normal arguments with exponent below -64.
6722 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6723 Likewise.
6724 * math/auto-libm-test-in: Add another test of expm1.
6725 * math/auto-libm-test-out: Regenerated.
6726
e7dd3c8c
JM
6727 [BZ #16287]
6728 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6729 calling __erfcl for arguments at least 16.
6730 * math/auto-libm-test-in: Add more tests of erf.
6731 * math/auto-libm-test-out: Regenerated.
6732
0ea5d373
JM
6733 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6734 individual architectures.
6735 * sysdeps/unix/sysv/linux/configure: Regenerated.
6736 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6737 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6738 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6739 (ldd_rewrite_script): Define variable.
6740 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6742 file.
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6744 generated file.
6745 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6746 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6747 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6748 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6749 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6750 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6751 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6752 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6753
2307e126
SP
67542014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 [BZ #17084]
6757 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6758 Rename member __data.d to __data.__elision_data.
6759
c0a4ed77
W
67602014-06-24 Wilco <wdijkstr@arm.com>
6761
6762 * NEWS: Add 16918 to fixed bug list.
6763
b8c00573
W
67642014-06-24 Wilco <wdijkstr@arm.com>
6765
6766 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6767
b5570d92
W
67682014-06-24 Wilco <wdijkstr@arm.com>
6769
6770 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6771 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6772 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6773 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6774 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6775 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6776 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6777 Use _FPU_MASK_RM.
6778
947bdca2
W
67792014-06-24 Wilco <wdijkstr@arm.com>
6780
6781 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6782
00f669ed
W
67832014-06-24 Wilco <wdijkstr@arm.com>
6784
6785 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6786 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6787 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6788 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6789
db59bad3
W
67902014-06-24 Wilco <wdijkstr@arm.com>
6791
6792 [BZ #16918]
6793 * sysdeps/arm/feupdateenv.c (feupdateenv):
6794 Rewrite to reduce FPSCR accesses and fix return value.
6795
001f7b77
W
67962014-06-24 Wilco <wdijkstr@arm.com>
6797
6798 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6799 Optimize to avoid unnecessary FPSCR writes.
6800 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6801 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6802 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6803 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6804
4841e6a6
W
68052014-06-24 Wilco <wdijkstr@arm.com>
6806
6807 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6808 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6809 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6810 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6811 Call libc_fetestexcept_vfp.
6812 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6813 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6814 __SOFTFP__ ifdef so that they can be built for softfp.
6815
0813022c
SP
68162014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6817
08e5862f
SP
6818 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6819 argument type signed char.
6820
0813022c
SP
6821 * Makerules (check-abi): Dump diff of symlist if the test
6822 fails.
6823
3fc7236a
RM
68242014-06-23 Roland McGrath <roland@hack.frob.com>
6825
aba8ef95
RM
6826 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6827 using abort.
6828
3fc7236a
RM
6829 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6830 Remove unused variable ST.
6831
4da6db51
JM
68322014-06-23 Joseph Myers <joseph@codesourcery.com>
6833
4648909d
JM
6834 [BZ #16354]
6835 [BZ #17061]
6836 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6837 small arguments before calling __expm1.
6838 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6839 small arguments before calling __expm1f.
6840 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6841 small arguments before calling __expm1l.
6842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6843 Likewise.
6844 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6845 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6846 spurious underflow for some cosh tests.
6847 * math/auto-libm-test-out: Regenerated.
6848 * sysdeps/i386/fpu/libm-test-ulps: Update.
6849
46a3d3c7
JM
6850 [BZ #17050]
6851 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6852 (__ieee754_y1): Set errno if return value overflows.
6853 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6854 (__ieee754_y1f): Set errno if return value overflows.
6855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6856 (__ieee754_y1l): Set errno if return value overflows.
6857 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6858 (__ieee754_y1l): Set errno if return value overflows.
6859 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6860 * math/auto-libm-test-out: Regenerated.
6861
863893ec
JM
6862 * math/gen-auto-libm-tests.c: Document use of
6863 ignore-zero-inf-sign.
6864 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6865 (input_flags): Add ignore-zero-inf-sign.
6866 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6867 * math/gen-libm-test.pl (generate_testfile): Handle
6868 ignore-zero-inf-sign.
6869 * math/auto-libm-test-in: Mark some cpow tests with
6870 ignore-zero-inf-sign and some with xfail-rounding.
6871 * math/auto-libm-test-out: Regenerated.
6872 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6873 * sysdeps/i386/fpu/libm-test-ulps: Update.
6874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6875
4da6db51
JM
6876 [BZ #16315]
6877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6878 overflowing or underflowing operations take place with sign of
6879 result.
6880 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6881 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6882 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6883 (__ieee754_pow): Recompute overflowing and underflowing results in
6884 original rounding mode.
6885 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6886 (__powl_helper): Allow negative argument X and scale negated value
6887 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6888 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6889 overflowing or underflowing operations take place with sign of
6890 result.
6891 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6892 Include <math.h>.
6893 * math/auto-libm-test-in: Add more tests of pow.
6894 * math/auto-libm-test-out: Regenerated.
6895 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6896 (pow_tonearest_test_data): Remove.
6897 (pow_test_tonearest): Likewise.
6898 (pow_towardzero_test_data): Likewise.
6899 (pow_test_towardzero): Likewise.
6900 (pow_downward_test_data): Likewise.
6901 (pow_test_downward): Likewise.
6902 (pow_upward_test_data): Likewise.
6903 (pow_test_upward): Likewise.
6904 (main): Don't call removed functions.
6905 * sysdeps/i386/fpu/libm-test-ulps: Update.
6906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6907
5686b236
RM
69082014-06-23 Roland McGrath <roland@hack.frob.com>
6909
6910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6911 Moved ...
6912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6914 Moved ...
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6917 Moved ...
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6920 Moved ...
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6923 File removed.
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6925 File removed.
6926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6927 File removed.
6928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6929 File removed.
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6931 File removed.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6933 File removed.
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6935 File removed.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6937 File removed.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6939 File removed.
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6941 File removed.
6942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6943 File removed.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6945 File removed.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6947 Moved ...
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6950 Moved ...
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6952 ... here.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6954 Moved ...
6955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6957 Moved ...
6958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6960 Moved ...
6961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6963 Moved ...
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6966 Moved ...
6967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6969 Moved ...
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6972 Moved ...
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6976 ... here.
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6978 Moved ...
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6981 Moved ...
6982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6983 ... here.
6984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6985 Moved ...
6986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6987 ... here.
6988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6989 Moved ...
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6991 ... here.
6992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6993 Moved ...
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6996 Moved ...
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7001 Moved ...
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7003 ... here.
7004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7005 Moved ...
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7007 ... here.
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7009 Moved ...
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7012 Moved ...
7013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7015 Moved ...
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7018 Moved ...
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7021 Moved ...
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7023 ... here.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7025 Moved ...
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7028 Moved ...
7029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7031 Moved ...
7032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7034 Moved ...
7035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7039 Moved ...
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7042 Moved ...
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7045 Moved ...
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7047 ... here.
7048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7049 Moved ...
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7051 ... here.
7052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7053 Moved ...
7054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7055 ... here.
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7057 Moved ...
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7060 Moved ...
7061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7063 Moved ...
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7066 Moved ...
7067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7068 ... here.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7070 Moved ...
7071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7072 ... here.
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7074 Moved ...
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7076 ... here.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7078 Moved ...
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7081 Moved ...
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7083
e6d90d67
WD
70842014-06-23 Will Newton <will.newton@linaro.org>
7085 Wilco <wdijkstr@arm.com>
7086
7087 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7088 implementation. Include get-rounding-mode.h.
7089 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7090 [!libc_feholdsetround_noex_ctx]: Define
7091 libc_feholdsetround_noex_ctx.
7092 [!libc_feholdsetround_noexf_ctx]: Define
7093 libc_feholdsetround_noexf_ctx.
7094 [!libc_feholdsetround_noexl_ctx]: Define
7095 libc_feholdsetround_noexl_ctx.
7096 (libc_feholdsetround_ctx): New function.
7097 (libc_feresetround_ctx): New function.
7098 (libc_feholdsetround_noex_ctx): New function.
7099 (libc_feresetround_noex_ctx): New function.
7100
d42df555
RM
71012014-06-23 Roland McGrath <roland@hack.frob.com>
7102
88a46474
RM
7103 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7104 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7105 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7106 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7107 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7108 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7109
15bed472
RM
7110 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7111 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7112 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7113 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7114 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7115 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7116 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7117 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7119 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7121 Moved ...
7122 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7123 ... here.
7124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7125 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7126 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7127 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7128 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7129 Moved ...
7130 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7132 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7133 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7134 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7135 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7136 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7138 Moved ...
7139 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7141 Moved ...
7142 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7143 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7144 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7146 Moved ...
7147 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7149 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7150 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7151 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7152 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7153 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7155 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7157 Moved ...
7158 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7159 ... here.
7160 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7163 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7164 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7165 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7167 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7169 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7171 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7173 Moved ...
7174 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7178 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7180 Moved ...
7181 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7185 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7186
d42df555
RM
7187 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7188 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7189 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7190 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7192 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7193 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7194 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7200 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7201 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7202 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7203 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7204 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7205 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7208 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7215
76e5216e
JM
72162014-06-23 Joseph Myers <joseph@codesourcery.com>
7217
7218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7219 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7220 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7221 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7222 (IPV6_PMTUDISC_INTERFACE): Likewise.
7223 (IPV6_PMTUDISC_OMIT): Likewise.
7224
7a81cbcc
AS
72252014-06-23 Andreas Schwab <schwab@suse.de>
7226
7227 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7228 Remove unused errout label.
7229
db224009
AZ
72302014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7231
7232 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7233 macro: hardware supports Vector Crypto instructions.
7234
f393b4aa
WN
72352014-06-23 Will Newton <will.newton@linaro.org>
7236
cc7d0447
WN
7237 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7238 rather than __builtin_expect.
7239
d6d06225
WN
7240 * elf/dl-lookup.c (undefined_msg): Remove variable.
7241 (_dl_lookup_symbol_x): Replace undefined_msg with string
7242 literal.
7243
f393b4aa
WN
7244 * elf/dl-lookup.c (do_lookup_unique): New function.
7245 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7246 to a separate function.
7247
ac60763e
AS
72482014-06-23 Andreas Schwab <schwab@suse.de>
7249
7250 [BZ #17079]
7251 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7252 before reading the next line.
7253
c5c13355
WN
72542014-06-23 Will Newton <will.newton@linaro.org>
7255
7256 * test-skeleton.c (signal_handler): Use printf and %m
7257 rather than perror. Use printf rather than fprintf to
7258 stderr. Use puts rather than fputs to stderr.
7259 (main): Likewise.
7260
bd3675f9
LC
72612014-06-22 Ludovic Courtès <ludo@gnu.org>
7262
7263 * nscd/nscd.c (thread_info_t): Remove typedef.
7264 (thread_info): Remove variable.
7265
d03efb2f
AM
72662014-06-21 Allan McRae <allan@archlinux.org>
7267
7268 * NEWS: Mention CVE-2014-4043.
7269
bc4a86fa
RM
72702014-06-20 Roland McGrath <roland@hack.frob.com>
7271
dc9a54f8
RM
7272 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7273 * nptl/smp.h: ... here.
7274
bd7022c4
RM
7275 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7276
26ffd5e6
RM
7277 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7278 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7279 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7280 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7281
93a6d082
RM
7282 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7283 * nptl/stack-aliasing.h: New file.
7284 * sysdeps/i386/i686/stack-aliasing.h: New file.
7285 * sysdeps/i386/i686/nptl/Makefile: File removed.
7286 * sysdeps/x86_64/stack-aliasing.h: New file.
7287 * sysdeps/x86_64/nptl/Makefile
7288 (CFLAGS-pthread_create.c): Variable removed.
7289
bc4a86fa
RM
7290 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7291 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7292 old file.
7293 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7294 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7295 old file.
7296
2272ffc1
JM
72972014-06-21 Joseph Myers <joseph@codesourcery.com>
7298
7299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7300 (__ASSUME_SIGFRAME_V2): Remove macro.
7301 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7302 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7303 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7304 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7305 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7306 Declare as function. Remove conditional macro definitions.
7307 (__default_rt_sa_restorer): Likewise.
7308 (__default_sa_restorer_v1): Remove declaration.
7309 (__default_sa_restorer_v2): Likewise.
7310 (__default_rt_sa_restorer_v1): Likewise.
7311 (__default_rt_sa_restorer_v2): Likewise.
7312 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7313 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7314 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7315
4b88139b
RM
73162014-06-20 Roland McGrath <roland@hack.frob.com>
7317
7318 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7319 (libpthread-routines): Add sysdep.
7320 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7321 * sysdeps/unix/sysv/linux/sparc/Versions
7322 (libpthread: GLIBC_2.3.3): New version set.
7323 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7324 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7325 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7326 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7327 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7328 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7329 Moved ...
7330 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7331 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7332 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7334 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7335 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7336 * sysdeps/sparc/nptl/sem_init.c: ... here.
7337 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7338 * sysdeps/sparc/nptl/sem_post.c: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7340 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7341 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7342 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7343 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7344 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7345 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7346 (libpthread-routines): Add cpu_relax.
7347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7348 File removed.
7349 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7350 (librt: GLIBC_2.3.3): New version set.
7351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7352 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7353 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7354 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7357 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7359 Moved ...
7360 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7362 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7364 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7366 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7368 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7370 Moved ...
7371 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7372 Update #include.
7373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7374 Moved ...
7375 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7376 Update #include.
7377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7378 Moved ...
7379 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7380 Update #include.
7381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7382 Moved ...
7383 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7384 Update #include.
7385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7386 Moved ...
7387 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7388 Update #include.
7389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7390 Moved ...
7391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7392 Update #include.
7393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7394 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7400 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7402 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7404 Moved ...
7405 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7407 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7409 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7410
d7109027
JM
74112014-06-20 Joseph Myers <joseph@codesourcery.com>
7412
9bc6103d
JM
7413 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7414 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7415 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7416 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7417 * nscd/nscd.c: Likewise.
7418 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7419 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7420 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7421 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7422
d7109027
JM
7423 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7424 <kernel-features.h>.
7425 (init_mq_netlink): Remove conditional have_sock_cloexec
7426 definitions. Remove code conditional on have_sock_cloexec < 0.
7427 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7428 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7429 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7430 <kernel-features.h>.
7431 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7432 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7433
d92d8f8a
L
74342014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7435
7436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7437 Add tests for memset_chk and memset.
7438
7439 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7440 with AVX2_Usable.
7441
4e6d2347
MR
74422014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7443
257ce712
MR
7444 [BZ #16046]
7445 * elf/tst-dl-iter-static.c: New file.
7446 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7447
4e6d2347
MR
7448 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7449 error.
7450
a2a76afe
JM
74512014-06-20 Joseph Myers <joseph@codesourcery.com>
7452
7fd00f99
JM
7453 * sysdeps/unix/sysv/linux/kernel-features.h
7454 (__ASSUME_F_GETOWN_EX): Remove macro.
7455 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7456 <kernel-features.h>.
7457 (miss_F_GETOWN_EX): Remove variable or macro.
7458 (do_fcntl): Do not check miss_F_GETOWN_EX.
7459 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7460
4a103975
JM
7461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7462 Remove macro.
7463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7464 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7465 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7466
a2a76afe
JM
7467 * sysdeps/unix/sysv/linux/kernel-features.h
7468 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7469 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7470 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7471 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7472
90e5dd48
MR
74732014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7474
7475 [BZ #17075]
7476 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7477 Fix calculation of the symbol's value.
7478 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7479 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7480 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7481 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7482 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7483 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7484 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7485 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7486 (modules-names): Add `tst-armtlsdescmod',
7487 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7488 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7489 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7490 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7491 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7492 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7493 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7494 ($(objpfx)tst-armtlsdescloc): New dependency.
7495 ($(objpfx)tst-armtlsdescextnow): Likewise.
7496 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7497 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7498 TLS scheme support.
7499 * sysdeps/arm/configure: Regenerate.
7500
809fdf0d
JM
75012014-06-20 Joseph Myers <joseph@codesourcery.com>
7502
7503 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7504 (__atfct_seterrno_2): Likewise.
7505 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7506 <kernel-features.h>.
7507 (__ASSUME_ATFCTS): Do not undefine and redefine.
7508 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7509 (__have_atfcts): Remove conditional definition.
7510 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7511 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7512 unreachable if [__ASSUME_ATFCTS].
7513 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7514 not undefine and redefine.
7515 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7516 <kernel-features.h>.
7517 (faccessat) [__NR_faccessat]: Make code unconditional.
7518 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7519 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7520 <kernel-features.h>.
7521 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7522 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7523 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7524 <kernel-features.h>.
7525 (fchownat) [__NR_fchownat]: Make code unconditional.
7526 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7527 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7528 <kernel-features.h>.
7529 (futimesat) [__NR_futimesat]: Make code unconditional.
7530 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7531 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7532 <kernel-features.h>.
7533 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7534 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7535 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7536 <kernel-features.h>.
7537 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7538 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7539 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7540 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7541 <kernel-features.h>.
7542 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7543 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7544 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7545 <kernel-features.h>.
7546 (linkat) [__NR_linkat]: Make code unconditional.
7547 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7548 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7549 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7550 <kernel-features.h>.
7551 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7552 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7553 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7554 <kernel-features.h>.
7555 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7556 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7557 * sysdeps/unix/sysv/linux/openat.c: Do not include
7558 <kernel-features.h>.
7559 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7560 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7561 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7562 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7563 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7564 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7565 <kernel-features.h>.
7566 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7567 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7568 result of INLINE_SYSCALL directly, not via int variable.
7569 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7570 <kernel-features.h>.
7571 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7572 (renameat) [__NR_renameat]: Make code unconditional.
7573 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7574 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7575 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7576 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7577 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7578 (__ASSUME_ATFCTS): Do not undefine and redefine.
7579 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7580 <kernel-features.h>.
7581 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7582 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7583 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7584 <kernel-features.h>.
7585 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7586 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7587 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7588 (__ASSUME_ATFCTS): Do not undefine and redefine.
7589 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7590 <kernel-features.h>.
7591 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7592 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7593 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7594 <kernel-features.h>.
7595 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7596 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7597
224c6c51
L
75982014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7601
aa6ec754
AS
76022014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7603
7604 [BZ #17069]
7605 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7606 constructed tree before returning error.
7607 * posix/bug-regexp36.c: Expand test case.
7608
d8c2869d
SL
76092014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7610
3ef6b850
SL
7611 [BZ #6803]
7612 * math/libm-test.inc (scalbln_test_date):
7613 Add errno expectations.
7614 * math/w_scalblnf.c: New File.
7615 Add wrapper which checks for setting errno to ERANGE.
7616 Add weak_alias for corresponding scalbln function.
7617 * math/w_scalbln.c: Likewise.
7618 * math/w_scalblnl.c: Likewise.
7619 * math/Makefile (libm-calls): Add w_scalbln.
7620 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7621 Remove weak_alias for corresponding scalbln function.
7622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7626 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7627 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7628 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7629 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7630 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7631 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7632 Remove long_double_symbol for scalblnl function in libm, libc.
7633 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7634 Add wrapper which checks for setting errno to ERANGE.
7635 Add long_double_symbol for scalblnl function in libm, libc.
7636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7637 Remove long_double_symbol for scalblnl in libm.
7638 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7639 Add wrapper which checks for setting errno to ERANGE.
7640 Add long_double_symbol for scalblnl function in libm.
7641 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7642 Do not use wrapper because of own implementation.
7643
c8daec5c
L
76442014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7645
7646 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7647 3 bytes for __pad1 for x32.
7648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7649
5c74e47c
LM
76502014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7651 H.J. Lu <hongjiu.lu@intel.com>
7652
7653 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7654 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7655 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7656 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7657 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7658
4d43ef1e
AS
76592014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7660
7661 [BZ #17069]
7662 * posix/regcomp.c (parse_expression): Deallocate partially
7663 constructed tree before returning error.
7664 * posix/Makefile.c (tests): Add bug-regex36.
7665 (generated): Add bug-regex36.mtrace.
7666 (tests-special): Add $(objpfx)bug-regex36-mem.out
7667 (bug-regex36-ENV): New variable.
7668 ($(objpfx)bug-regex36-mem.out): New rule.
7669 * posix/bug-regex36.c: New file.
7670
51a7380b
WN
76712014-06-19 Will Newton <will.newton@linaro.org>
7672
7673 * malloc/malloc.c (systrim): If extra is zero then return
7674 early.
7675
91b84fe5
SP
76762014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7677
7678 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7679
f940b965
RE
76802014-06-19 Richard Earnshaw <rearnsha@arm.com>
7681
7682 * sysdeps/aarch64/strchr.S: New file.
7683
4ba7a00f
JM
76842014-06-18 Joseph Myers <joseph@codesourcery.com>
7685
7686 [BZ #17022]
7687 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7688 from arguments -2 or below.
7689 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7690 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7691
b3a9f56b
AS
76922014-06-18 Andreas Schwab <schwab@suse.de>
7693
7694 [BZ #17062]
7695 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7696 of a bracket expr not to run off the end of the string.
7697 * posix/Makefile (tests): Add tst-fnmatch3.
7698 * posix/tst-fnmatch3.c: New file.
7699
85d89278
JM
77002014-06-18 Joseph Myers <joseph@codesourcery.com>
7701
7702 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7703 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7704 [$(cross-compiling) = no]: Likewise.
7705 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7706 [$(cross-compiling) = no]: Likewise.
7707
754c5a08
RS
77082014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7709
7710 [BZ #17031]
7711 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7712 double, adjusted for any remainder from the high double.
7713 * math/libm-test.inc (nearbyint): Add tests.
7714 (rint): Likewise.
7715
556f529d
AZ
77162014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7717
7718 * nptl/sysdeps/powerpc/Makefile: Moved ...
7719 * sysdeps/powerpc/nptl/Makefile: ... here.
7720 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7721 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7722 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7723 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7724 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7725 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7726 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7727 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7728 * nptl/sysdeps/powerpc/tls.h: Moved ...
7729 * sysdeps/powerpc/nptl/tls.h: ... here.
7730
91c03c53
JM
77312014-06-16 Joseph Myers <joseph@codesourcery.com>
7732
7733 [BZ #16681]
7734 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7735 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7736 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7737 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7738 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7739 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7740 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7741 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7742 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7743
a76e63c5
AS
77442014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7745
7746 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7747
f2f6d82f
AS
77482014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7749
ea8a15f6
AS
7750 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7751 defined operator.
7752
f2f6d82f
AS
7753 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7754 $TIMEOUTFACTOR.
7755
a7291117
FW
77562014-06-16 Florian Weimer <fweimer@redhat.com>
7757
7758 [BZ #17058]
7759 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7760 non-executed part of the test.
7761
3d7c00e3
AS
77622014-06-16 Andreas Schwab <schwab@suse.de>
7763
7764 * string/bits/string2.h (strdup, strndup): Update feature guard.
7765
6957fb31
DM
77662014-06-14 David S. Miller <davem@davemloft.net>
7767
7768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7769
11b9e55b
AS
77702014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7771
1d2a0492
AS
7772 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7773 that was previously under [RESET_PID].
7774 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7775
11b9e55b
AS
7776 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7777 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7778 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7779 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7780 (__libc_vfork): New strong alias.
7781 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7782
0f6901d0
AK
77832014-06-14 Andi Kleen <ak@linux.intel.com>
7784
7785 * sysdeps/generic/elide.h: New file.
7786
38bbbb9f
SL
77872014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7788
7789 * Makefile (installed-headers): Adjust path of pthread.h header.
7790
45193bb8
RM
77912014-06-13 Roland McGrath <roland@hack.frob.com>
7792
9a25fd1e
RM
7793 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7794 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7796 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7797
4004f7e4
RM
7798 * nptl/sysdeps/s390/Makefile: Moved ...
7799 * sysdeps/s390/nptl/Makefile: ... here.
7800 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7801 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7802 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7803 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7804 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7805 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7806 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7807 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7808 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7809 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7810 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7811 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7812 * nptl/sysdeps/s390/tls.h: Moved ...
7813 * sysdeps/s390/nptl/tls.h: ... here.
7814
45193bb8
RM
7815 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7816 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7817
f6fdf533
DM
78182014-06-13 David S. Miller <davem@davemloft.net>
7819
7820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7823 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7827 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7828 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7829 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7830 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7831 Remove RESET_PID cpp guards.
7832 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7833 Remove RESET_PID cpp guards.
7834 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7835
f5d71e14
AS
78362014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7837
7838 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7839 __sp to uintptr_t.
7840
b7aa8caa
AK
78412014-06-13 Andi Kleen <ak@linux.intel.com>
7842
4b266200
AZ
7843 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7844 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7846 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7847 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7848 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7850 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7851 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7852 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7853 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7854 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7855 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7857 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7858 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7859 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7860 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7861 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7862 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7863
7864 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7865 (pthread_rwlock_rdlock): Add elision.
7866 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7867 (pthread_rwlock_wrlock): Add elision.
7868 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7869 (pthread_rwlock_trywrlock): Add elision.
7870 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7871 (pthread_rwlock_tryrdlock): Add elision.
7872 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7873 (pthread_rwlock_tryrdlock): Add elision unlock.
7874 * nptl/sysdeps/pthread/pthread.h:
7875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7876 (PTHREAD_RWLOCK_INITIALIZER,
7877 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7878 Handle new elision field.
7879 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7880 * sysdeps/arm/nptl/bits/pthreadtypes.h
7881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7882 * sysdeps/sh/nptl/bits/pthreadtypes.h
7883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7884 * sysdeps/tile/nptl/bits/pthreadtypes.h
7885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7886 * sysdeps/a/nptl/bits/pthreadtypes.h
7887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7888 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7890 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7891 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7892 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7894 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7896 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7898 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7900 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7902 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7904 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7905 (elision_init): Set try_xbegin to zero when no RTM.
7906 * sysdeps/x86/nptl/bits/pthreadtypes.h
7907 (pthread_rwlock_t): Change __pad1 to __rwelision.
7908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7909
a832bdd3
AK
79102014-06-13 Andi Kleen <ak@linux.intel.com>
7911
7912 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7913 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7914 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7915 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7916
995a46bb
MI
79172014-06-13 Meador Inge <meadori@codesourcery.com>
7918
7919 [BZ #16996]
03ed7738 7920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7921 that the cached result has been set before returning it.
7922
45262aee
RM
79232014-06-12 Roland McGrath <roland@hack.frob.com>
7924
febf6cc5
RM
7925 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7926 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7927 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7928 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7929 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7930 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7931
e2682246
RM
7932 * nptl/sysdeps/sparc/Makefile: Moved ...
7933 * sysdeps/sparc/nptl/Makefile: ... here.
7934 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7935 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7936 * nptl/sysdeps/sparc/tls.h: Moved ...
7937 * sysdeps/sparc/nptl/tls.h: ... here.
7938 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7939 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7940 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7941 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7942 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7943 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7944 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7945 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7946 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7947 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7948 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7949 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7950 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7951 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7952 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7953 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7954 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7956 Update #include.
7957 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7959 Update #include.
7960 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7962 Update #include.
7963 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7965 Update #include.
7966
b0725f43
RM
7967 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7968
b14368b8
RM
7969 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7970 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7971
c5620eb3
RM
7972 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7973 (struct list_links): Type removed.
7974 (struct thread_node, struct timer_node): Replace struct list_links
7975 with struct list_head.
7976 (list_unlink_ip): Likewise.
7977 * sysdeps/pthread/timer_routines.c
7978 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7979 (list_append, list_insbefore): Likewise.
7980 (list_init): Function removed.
7981 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7982 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7983 * sysdeps/pthread/Makefile: ... here, new file.
7984
7985 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7986 * sysdeps/nptl/Implies: ... here.
7987 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7988 * nptl/sysdeps/pthread/list.h: Moved ...
7989 * include/list.h: ... here.
7990 * nptl/sysdeps/pthread/createthread.c: Moved ...
7991 * nptl/createthread.c: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7993 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7994 * nptl/pt-longjmp.c: ... here.
7995 * nptl/sysdeps/pthread/Makefile: Moved ...
7996 * sysdeps/nptl/Makefile: ... here.
7997 * nptl/sysdeps/pthread/Subdirs: Moved ...
7998 * sysdeps/nptl/Subdirs: ... here.
7999 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8000 * sysdeps/nptl/aio_misc.h: ... here.
8001 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8002 * sysdeps/nptl/bits/libc-lock.h: ... here.
8003 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8004 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8005 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8006 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8007 * nptl/sysdeps/pthread/configure: Moved ...
8008 * sysdeps/nptl/configure: ... here.
8009 * nptl/sysdeps/pthread/configure.ac: Moved ...
8010 * sysdeps/nptl/configure.ac: ... here.
8011 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8012 * sysdeps/nptl/gai_misc.h: ... here.
8013 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8014 * sysdeps/nptl/librt-cancellation.c: ... here.
8015 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8016 * sysdeps/nptl/malloc-machine.h: ... here.
8017 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8018 * sysdeps/nptl/pthread-functions.h: ... here.
8019 * nptl/sysdeps/pthread/pthread.h: Moved ...
8020 * sysdeps/nptl/pthread.h: ... here.
8021 * nptl/sysdeps/pthread/setxid.h: Moved ...
8022 * sysdeps/nptl/setxid.h: ... here.
8023 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8024 * sysdeps/nptl/sigfillset.c: ... here.
8025 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8026 * sysdeps/nptl/tcb-offsets.h: ... here.
8027 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8028 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8029 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8030 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8031 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8032 * sysdeps/pthread/allocalim.h: ... here.
8033 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8034 * sysdeps/pthread/bits/sigthread.h: ... here.
8035 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8036 * sysdeps/pthread/flockfile.c: ... here.
8037 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8038 * sysdeps/pthread/ftrylockfile.c: ... here.
8039 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8040 * sysdeps/pthread/funlockfile.c: ... here.
8041 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8042 * sysdeps/pthread/posix-timer.h: ... here.
8043 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8044 * sysdeps/pthread/timer_create.c: ... here.
8045 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8046 * sysdeps/pthread/timer_delete.c: ... here.
8047 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8048 * sysdeps/pthread/timer_getoverr.c: ... here.
8049 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8050 * sysdeps/pthread/timer_gettime.c: ... here.
8051 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8052 * sysdeps/pthread/timer_routines.c: ... here.
8053 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8054 * sysdeps/pthread/timer_settime.c: ... here.
8055 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8056 * sysdeps/pthread/tst-timer.c: ... here.
8057 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8058 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8059
e876b090
RM
8060 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8061 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8062
f6b07b3d
RM
8063 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8064 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8065 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8066 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8067 Update #include target.
8068 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8069 * sysdeps/i386/i686/nptl/Makefile: ... here.
8070 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8071 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8072 Update #include target.
8073 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8074 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8075 * nptl/sysdeps/i386/Makefile: Moved ...
8076 * sysdeps/i386/nptl/Makefile: ... here.
8077 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8078 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8079 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8080 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8081 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8082 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8083 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8084 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8085 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8086 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8087 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8088 * nptl/sysdeps/i386/tls.h: Moved ...
8089 * sysdeps/i386/nptl/tls.h: ... here.
8090
45262aee
RM
8091 * sysdeps/sh/Makefile [$(subdir) = csu]
8092 (gen-as-const-headers): Add tcb-offsets.sym.
8093 * nptl/sysdeps/sh/Makefile: File removed.
8094 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8095 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8096 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8097 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8098 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8099 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8100 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8101 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8102 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8103 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8104 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8105 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8106 * nptl/sysdeps/sh/tls.h: Moved ...
8107 * sysdeps/sh/nptl/tls.h: ... here.
8108 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8109 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8110 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8111 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8113 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8114 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8115 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8116 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8117 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8119 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8120 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8121 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8123 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8125 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8127 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8128 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8129 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8130 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8131 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8133 Moved ...
8134 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8136 Moved ...
8137 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8141 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8142 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8143 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8144 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8145 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8146 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8147 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8148 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8149 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8151 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8152 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8153 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8155 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8156
35a5e3e3
SL
81572014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8158
8159 * posix/spawn_faction_addopen.c: Include string.h.
8160
14642b85
RM
81612014-06-11 Roland McGrath <roland@hack.frob.com>
8162
8163 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8164 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8165 * nptl/sysdeps/x86_64/Makefile: Moved ...
8166 * sysdeps/x86_64/nptl/Makefile: ... here.
8167 * nptl/sysdeps/x86_64/configure: Moved ...
8168 * sysdeps/x86_64/nptl/configure: ... here.
8169 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8170 * sysdeps/x86_64/nptl/configure.ac: ... here.
8171 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8172 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8173 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8174 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8175 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8176 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8177 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8178 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8179 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8180 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8181 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8182 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8183 * nptl/sysdeps/x86_64/tls.h: Moved ...
8184 * sysdeps/x86_64/nptl/tls.h: ... here.
8185 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8186 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8187 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8188 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8189
8190 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8191
31c44fea
AZ
81922014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8193
8194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8195
e81a4f9a
JM
81962014-06-11 Joseph Myers <joseph@codesourcery.com>
8197
8198 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8199 type.
8200 [POSIX] (off_t): Likewise.
8201 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8202 [POSIX] (S_ISBLK): Require macro.
8203 [POSIX] (S_ISCHR): Likewise.
8204 [POSIX] (S_ISDIR): Likewise.
8205 [POSIX] (S_ISFIFO): Likewise.
8206 [POSIX] (S_ISREG): Likewise.
8207 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8208 optional-macro.
8209 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8210 type.
8211 [POSIX] (time_t): Likewise.
8212 [POSIX] (timer_t): Likewise.
8213
89e435f3
FW
82142014-06-11 Florian Weimer <fweimer@redhat.com>
8215
8216 [BZ #17048]
8217 * posix/spawn_int.h (struct __spawn_action): Make the path string
8218 non-const to support deallocation.
8219 * posix/spawn_faction_addopen.c
8220 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8221 * posix/spawn_faction_destroy.c
8222 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8223 path in all spawn_do_open actions.
8224 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8225 posix_spawn_file_actions_addopen.
8226
c3a2ebe1
CM
82272014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8228
8229 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8230 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8231 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8232 conditional code always true.
8233 (__libc_vfork): New alias.
8234
9503784a
RM
82352014-06-11 Roland McGrath <roland@hack.frob.com>
8236
c9cab3d2
RM
8237 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8238 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8239
d3996c79
RM
8240 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8241
ba5ec611
RM
8242 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8243 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8244
f12b4814
RM
8245 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8246 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8247
9503784a
RM
8248 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8249 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8250
e23d3d26
VR
82512014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8252
8253 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8254 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8255 multiarch strcmp for PPC64.
8256 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8257 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8259 multiarch optimizations.
8260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8261 (__libc_ifunc_impl_list): Likewise.
8262
42b1161e
SP
82632014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8264
8265 * benchtests/scripts/validate_benchout.py: New script.
8266 * benchtests/Makefile (bench-func): Call it.
8267 * benchtests/scripts/benchout.schema.json: New file.
8268
2d0fc4dc
CM
82692014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8270
4a594c34
AZ
8271 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8272 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8273 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8274 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8275 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8276 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8277 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8278 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8279 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8280 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8281 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8282 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8283 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8284 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8285 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8286 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8288 Moved ...
4a594c34 8289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8290 ... here.
4a594c34 8291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8292 Moved ...
4a594c34
AZ
8293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8295 Moved ...
4a594c34 8296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8297 ... here.
4a594c34 8298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8299 Moved ...
4a594c34 8300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8301 ... here.
4a594c34 8302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8303 Moved ...
4a594c34
AZ
8304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8306 Moved ...
4a594c34 8307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8308 ... here.
4a594c34 8309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8310 Moved ...
4a594c34 8311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8312 ... here.
4a594c34 8313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8314 Moved ...
4a594c34
AZ
8315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8317 Moved ...
4a594c34 8318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8319 ... here.
4a594c34 8320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8321 Moved ...
4a594c34 8322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8323 ... here.
4a594c34 8324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8325 Moved ...
4a594c34 8326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8327 ... here.
4a594c34 8328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8329 Moved ...
4a594c34
AZ
8330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8332 Moved ...
4a594c34 8333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8334 ... here.
4a594c34 8335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8336 Moved ...
4a594c34 8337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8338 ... here.
4a594c34 8339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8340 Moved ...
4a594c34 8341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8342 ... here.
4a594c34 8343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8344 Moved ...
4a594c34
AZ
8345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8347 Moved ...
4a594c34 8348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8349 ... here.
4a594c34 8350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8351 Moved ...
4a594c34 8352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8353 ... here.
4a594c34 8354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8355 Moved ...
4a594c34
AZ
8356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8358 Moved ...
4a594c34 8359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8360 ... here.
4a594c34 8361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8362 Moved ...
4a594c34
AZ
8363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8365 Moved ...
4a594c34
AZ
8366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8368 Moved ...
4a594c34 8369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8370 ... here.
4a594c34 8371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8372 Moved ...
4a594c34 8373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8374 ... here.
4a594c34 8375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8376 Moved ...
4a594c34 8377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8378 ... here.
4a594c34 8379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8380 Moved ...
4a594c34
AZ
8381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8383 Moved ...
4a594c34 8384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8385 ... here.
4a594c34 8386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8387 Moved ...
4a594c34 8388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8389 ... here.
4a594c34
AZ
8390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8391 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8393 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8395 Moved ...
4a594c34 8396 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8397 ... here.
4a594c34
AZ
8398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8399 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8401 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8403 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8405 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8406 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8407 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8409 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8411 Moved ...
4a594c34
AZ
8412 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8414 Moved ...
4a594c34
AZ
8415 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8417 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8419 Moved ...
4a594c34
AZ
8420 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8422 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8424 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8425 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8426 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8427
0570cfed
W
84282014-06-10 Wilco <wdijkstr@arm.com>
8429
8430 * math/test-fenv-return.c: New file.
8431 * math/Makefile: Add new test test-fenv-return.
8432
f8ba1b56
JM
84332014-06-10 Joseph Myers <joseph@codesourcery.com>
8434
8435 [BZ #17042]
8436 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8437 when x - 1 is zero.
8438 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8439 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8440 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8441 0.0L for an argument of 1.0L.
8442 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8443 Likewise.
8444 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8445 value when x - 1 is zero.
8446 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449
2c3520d9
BO
84502014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8451
8452 [BZ #15119]
8453 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8454
acaa4d24
RM
84552014-06-09 Roland McGrath <roland@hack.frob.com>
8456
8457 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8458 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8459
962b744d
RM
84602014-06-09 Roland McGrath <roland@hack.frob.com>
8461
d752f0cc
RM
8462 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8463 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8464
34eda6d1
RM
8465 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8466 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8467
50f0a637
RM
8468 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8469 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8470
08f41f04
RM
8471 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8472 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8473
962b744d
RM
8474 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8475 if not already defined.
8476 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8477 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8478 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8479 (TLS_INIT_TP): Use it.
8480 (TLS_DEFINE_INIT_TP): New macro.
8481 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8482
09f19b05
JM
84832014-06-09 Joseph Myers <joseph@codesourcery.com>
8484
8485 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8486 constant.
8487 [POSIX] (IXANY): Likewise.
8488 [POSIX] (OLCUC): Likewise.
8489 [POSIX || POSIX2008] (CBAUD): Do not allow.
8490 [POSIX || POSIX2008] (DEFECHO): Likewise.
8491 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8492 [POSIX || POSIX2008] (ECHOKE): Likewise.
8493 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8494 [POSIX || POSIX2008] (EXTA): Likewise.
8495 [POSIX || POSIX2008] (EXTB): Likewise.
8496 [POSIX || POSIX2008] (FLUSHO): Likewise.
8497 [POSIX || POSIX2008] (LOBLK): Likewise.
8498 [POSIX || POSIX2008] (PENDIN): Likewise.
8499 [POSIX || POSIX2008] (SWTCH): Likewise.
8500 [POSIX || POSIX2008] (VDISCARD): Likewise.
8501 [POSIX || POSIX2008] (VDSUSP): Likewise.
8502 [POSIX || POSIX2008] (VLNEXT): Likewise.
8503 [POSIX || POSIX2008] (VREPRINT): Likewise.
8504 [POSIX || POSIX2008] (VSTATUS): Likewise.
8505 [POSIX || POSIX2008] (VWERASE): Likewise.
8506 (B*): Change to B[0123456789]*.
8507 * conform/data/time.h-data [POSIX || UNIX98]
8508 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8509 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8510 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8511 [POSIX] (tm_*): Do not allow.
8512
686554bf
JM
85132014-06-07 Joseph Myers <joseph@codesourcery.com>
8514
8515 * Makefile (install): Don't set LANGUAGE.
8516 * Makefile.in (install): Likewise.
8517 * assert/Makefile (test-assert-ENV): Remove variable.
8518 (test-assert-perr-ENV): Likewise.
8519 * elf/Makefile (neededtest4-ENV): Likewise.
8520 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8521 [$(cross-compiling) = no]: Don't set LANGUAGE.
8522 * io/ftwtest-sh (LANG): Remove variable.
8523 * libio/Makefile (tst-widetext-ENV): Likewise.
8524 * manual/install.texi (Running make install): Don't refer to
8525 environment settings for make install.
8526 * INSTALL: Regenerated.
8527 * nptl/tst-tls6.sh: Don't set LANG.
8528 * posix/globtest.sh (LANG): Remove variable.
8529 * string/Makefile (tester-ENV): Likewise.
8530 (inl-tester-ENV): Likewise.
8531 (noinl-tester-ENV): Likewise.
8532 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8533 [$(cross-compiling) = no]: Don't set LANGUAGE.
8534 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8535 without explicit environment settings.
8536
68e6b6b1
RM
85372014-06-06 Roland McGrath <roland@hack.frob.com>
8538
8539 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8540 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8541 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8542 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8543
4d3ae034
CM
85442014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8545
8546 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8547 other files in the crypt directory.
8548 * crypt/crypt.c: Remove duplicate includes.
8549 * crypt/crypt-entry.c: Likewise.
8550 * crypt/crypt_util.c: Likewise.
8551
8540f6d2
JM
85522014-06-06 Joseph Myers <joseph@codesourcery.com>
8553
8554 * Makeconfig (run-program-env): New variable.
8555 (run-program-prefix-before-env): Likewise.
8556 (run-program-prefix-after-env): Likewise.
8557 (run-program-prefix): Define in terms of new variables.
8558 (built-program-cmd-before-env): New variable.
8559 (built-program-cmd-after-env): Likewise.
8560 (built-program-cmd): Define in terms of new variables.
8561 (test-program-prefix-before-env): New variable.
8562 (test-program-prefix-after-env): Likewise.
8563 (test-program-prefix): Define in terms of new variables.
8564 (test-program-cmd-before-env): New variable.
8565 (test-program-cmd-after-env): Likewise.
8566 (test-program-cmd): Define in terms of new variables.
8567 * Rules (make-test-out): Use $(run-program-env).
8568 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8569 (help): Do not mention environment variables. Mention
8570 --timeoutfactor option.
8571 (timeoutfactor): New variable.
8572 (blacklist_exports): Remove function.
8573 (exports): Remove variable.
8574 (command): Do not include ${exports}.
8575 * manual/install.texi (Configuring and compiling): Do not mention
8576 test wrappers preserving environment variables. Mention that last
8577 assignment to a variable must take precedence.
8578 * INSTALL: Regenerated.
8579 * benchtests/Makefile (run-bench): Use $(run-program-env).
8580 * catgets/Makefile ($(objpfx)test1.cat): Use
8581 $(built-program-cmd-before-env), $(run-program-env) and
8582 $(built-program-cmd-after-env).
8583 ($(objpfx)test2.cat): Do not specify environment variables
8584 explicitly.
8585 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8586 $(run-program-env) and $(built-program-cmd-after-env).
8587 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8588 $(run-program-env) and $(test-program-cmd-after-env).
8589 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8590 explicitly.
8591 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8592 run_program_env and test_program_cmd_after_env arguments.
8593 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8594 * elf/tst-pathopt.sh: Use run_program_env argument.
8595 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8596 $(test-wrapper-env) and $(run-program-env).
8597 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8598 run_program_env arguments.
8599 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8600 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8601 $(test-program-prefix-before-env), $(run-program-env) and
8602 $(test-program-prefix-after-env).
8603 ($(objpfx)tst-gettext2.out): Likewise.
8604 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8605 run_program_env and test_program_prefix_after_env arguments.
8606 * intl/tst-gettext2.sh: Likewise.
8607 * intl/tst-gettext4.sh: Do not set environment variables
8608 explicitly.
8609 * intl/tst-gettext6.sh: Likewise.
8610 * intl/tst-translit.sh: Likewise.
8611 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8612 $(test-program-prefix-before-env), $(run-program-env) and
8613 $(test-program-prefix-after-env).
8614 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8615 run_program_env and test_program_prefix_after_env arguments.
8616 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8617 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8618 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8619 explicitly with each use of ${test_wrapper_env}.
8620 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8621 $(test-program-prefix-before-env), $(run-program-env) and
8622 $(test-program-prefix-after-env).
8623 * posix/tst-getconf.sh: Do not set environment variables
8624 explicitly.
8625 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8626 run_program_env and test_program_prefix_after_env arguments.
8627 * stdio-common/tst-printf.sh: Do not set environment variables
8628 explicitly.
8629 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8630 $(test-program-prefix-before-env), $(run-program-env) and
8631 $(test-program-prefix-after-env).
8632 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8633 run_program_env and test_program_prefix_after_env arguments.
8634 Split $test calls into $test_pre and $test.
8635 * timezone/Makefile (build-testdata): Use
8636 $(built-program-cmd-before-env), $(run-program-env) and
8637 $(built-program-cmd-after-env).
8638
ed36bfa1
AZ
86392014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8640
8641 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8642 strlen for non SHARED builds.
8643
fc75bf46
SP
86442014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8645
8646 * nptl/allocatestack.c (check_list): Inlined function...
8647 (__reclaim_stacks): ... here.
8648
d89b3d80
OB
86492014-06-05 Ondřej Bílka <neleai@seznam.cz>
8650
8651 [BZ #15698]
8652 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8653 memory overrun.
8654
2bf18041
JM
86552014-06-05 Joseph Myers <joseph@codesourcery.com>
8656
8657 * Rules (make-test-out): Include
8658 LOCPATH=$(common-objpfx)localedata in default environment.
8659 * debug/Makefile (tst-chk1-ENV): Remove variable.
8660 (tst-chk2-ENV): Likewise.
8661 (tst-chk3-ENV): Likewise.
8662 (tst-chk4-ENV): Likewise.
8663 (tst-chk5-ENV): Likewise.
8664 (tst-chk6-ENV): Likewise.
8665 (tst-lfschk1-ENV): Likewise.
8666 (tst-lfschk2-ENV): Likewise.
8667 (tst-lfschk3-ENV): Likewise.
8668 (tst-lfschk4-ENV): Likewise.
8669 (tst-lfschk5-ENV): Likewise.
8670 (tst-lfschk6-ENV): Likewise.
8671 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8672 (tst-iconv7-ENV): Likewise.
8673 * intl/Makefile (LOCPATH-ENV): Likewise.
8674 (tst-codeset-ENV): Likewise.
8675 (tst-gettext3-ENV): Likewise.
8676 (tst-gettext5-ENV): Likewise.
8677 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8678 (tst-fopenloc-ENV): Likewise.
8679 (tst-fgetws-ENV): Remove variable.
8680 (tst-ungetwc1-ENV): Likewise.
8681 (tst-ungetwc2-ENV): Likewise.
8682 (bug-ungetwc2-ENV): Likewise.
8683 (tst-swscanf-ENV): Likewise.
8684 (bug-ftell-ENV): Likewise.
8685 (tst-fgetwc-ENV): Likewise.
8686 (tst-fseek-ENV): Likewise.
8687 (tst-ftell-partial-wide-ENV): Likewise.
8688 (tst-ftell-active-handler-ENV): Likewise.
8689 (tst-ftell-append-ENV): Likewise.
8690 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8691 (tst-regexloc-ENV): Likewise.
8692 (bug-regex1-ENV): Likewise.
8693 (tst-regex-ENV): Likewise.
8694 (tst-regex2-ENV): Likewise.
8695 (bug-regex5-ENV): Likewise.
8696 (bug-regex6-ENV): Likewise.
8697 (bug-regex17-ENV): Likewise.
8698 (bug-regex18-ENV): Likewise.
8699 (bug-regex19-ENV): Likewise.
8700 (bug-regex20-ENV): Likewise.
8701 (bug-regex22-ENV): Likewise.
8702 (bug-regex23-ENV): Likewise.
8703 (bug-regex25-ENV): Likewise.
8704 (bug-regex26-ENV): Likewise.
8705 (bug-regex30-ENV): Likewise.
8706 (bug-regex32-ENV): Likewise.
8707 (bug-regex33-ENV): Likewise.
8708 (bug-regex34-ENV): Likewise.
8709 (bug-regex35-ENV): Likewise.
8710 (tst-rxspencer-ENV): Likewise.
8711 (tst-rxspencer-no-utf8-ENV): Likewise.
8712 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8713 (tst-sscanf-ENV): Likewise.
8714 (tst-swprintf-ENV): Likewise.
8715 (tst-swscanf-ENV): Likewise.
8716 (test-vfprintf-ENV): Likewise.
8717 (scanf13-ENV): Likewise.
8718 (bug14-ENV): Likewise.
8719 (tst-grouping-ENV): Likewise.
8720 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8721 (tst-strtod3-ENV): Likewise.
8722 (tst-strtod4-ENV): Likewise.
8723 (tst-strtod5-ENV): Likewise.
8724 (testmb2-ENV): Likewise./
8725 * string/Makefile (tst-strxfrm-ENV): Likewise.
8726 (tst-strxfrm2-ENV): Likewise.
8727 (bug-strcoll1-ENV): Likewise.
8728 (test-strcasecmp-ENV): Likewise.
8729 (test-strncasecmp-ENV): Likewise.
8730 * time/Makefile (tst-strptime-ENV): Likewise.
8731 (tst-ftime_l-ENV): Likewise.
8732 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8733 (tst-mbrtowc-ENV): Likewise.
8734 (tst-wcrtomb-ENV): Likewise.
8735 (tst-mbrtowc2-ENV): Likewise.
8736 (tst-c16c32-1-ENV): Likewise.
8737 (tst-mbsnrtowcs-ENV): Likewise.
8738
cd1fb604
OB
87392014-06-05 Ondřej Bílka <neleai@seznam.cz>
8740
8741 * manual/resource.texi (How to get information about the memory
8742 subsystem?): Fix typo.
8743 Reported by Peon de la Parra Ivan <peon@keba.com>
8744
b42eca7d
GY
87452014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8746
8747 [BZ #16882]
8748 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8749 (pthread_spin_lock): Branch out of spin loop to proper location.
8750 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8751 (pthread_spin_lock): Likewise.
8752
902b71f9
DM
8753 * nptl/tst-spin4.c: New test.
8754 * nptl/Makefile (tests): Add tst-spin4.
8755
f9d2d032
AS
87562014-06-03 Andreas Schwab <schwab@suse.de>
8757
8758 [BZ #15946]
8759 * resolv/res_send.c (send_dg): Reload file descriptor after
8760 calling reopen.
8761
cf7bfd28
SL
87622014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8763
8764 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8765
111cc714
RH
87662014-06-03 Richard Henderson <rth@redhat.com>
8767
89b4bd6b
RH
8768 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8769 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8770 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8771 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8772 in the SAVE_PID block.
8773 (__libc_vfork): New alias.
71840409 8774 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8775
111cc714
RH
8776 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8777 child in registers, not on the stack. Remove RESET_PID conditionals.
8778 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8779
ccc39911
MS
87802014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8781
8782 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8783
693096cc
W
87842014-06-03 Wilco <wdijkstr@arm.com>
8785
8786 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8787 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8788 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8789 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8790 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8791 Likewise.
8792
0b4366bc
W
87932014-06-03 Wilco <wdijkstr@arm.com>
8794
8795 * sysdeps/aarch64/fpu/math_private.h
8796 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8797 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8798 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8799 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8800 Fix declarations.
8801
8747cd03
KS
88022014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8803
8804 * crypt/crypt-private.h: Include ufc-crypt.h.
8805 (__b64_from_24bit): Declare extern.
8806 * crypt/crypt_util.c(__b64_from_24bit): New function.
8807 (b64t): New static const variable.
8808 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8809 (b64t): Remove variable.
8810 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8811 * crypt/sha256-crypt.c: Include crypt-private.h.
8812 (b64t): Remove variable.
8813 (__sha256_crypt_r): Remove b64_from_24bit and replace
8814 with __b64_from_24bit.
8815 * crypt/sha512-crypt.c: Likewise.
8816
d936d379
RM
88172014-06-02 Roland McGrath <roland@hack.frob.com>
8818
8819 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8820 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8821 Label the code __libc_vfork rather than __vfork.
8822 [!NOT_IN_libc] (vfork): Define as weak alias.
8823 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8824 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8825 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8826
9fa76613
SP
88272014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
8829 * malloc/malloc.c (malloc_info): Fix format specifier for
8830 n_mmaps.
8831
a88dadbe
W
88322014-06-02 Wilco <wdijkstr@arm.com>
8833
8834 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8835 FPCR write.
8836
c95b3011
W
88372014-06-02 Wilco <wdijkstr@arm.com>
8838
8839 [BZ #17009]
8840 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8841 Rewrite to reduce FPCR/FPSR accesses.
8842
6b4d7a90
DM
88432014-06-01 David S. Miller <davem@davemloft.net>
8844
8845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8846
30f3d07c
DM
88472014-05-31 David S. Miller <davem@davemloft.net>
8848
8849 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8850 to occur in round to nearest mode when |x| >= 2.0
8851
74f31c18
RH
88522014-05-30 Richard Henderson <rth@twiddle.net>
8853
f0712b54
RH
8854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8855 (PSEUDO_RET_NOERRNO): Remove.
8856 (ret): Don't redefine.
8857 (ret_NOERRNO): Define in terms of ret.
8858 (ret_ERRVAL): Likewise.
8859
74f31c18
RH
8860 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8861 use of PSEUDO_RET; perform the error check directly.
8862
30477995
MM
88632014-05-30 Marko Myllynen <myllynen@redhat.com>
8864
8865 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8866 with __int128_t.
8867
62a58816
SP
88682014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8869
8870 * malloc/malloc (malloc_info): Fix formatting.
8871
4d653a59
SP
88722014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8873 Roland McGrath <roland@hack.frob.com>
8874
8875 * malloc/malloc (malloc_info): Also print mmapped statistics.
8876
5190c17f
RM
88772014-05-30 Roland McGrath <roland@hack.frob.com>
8878
8879 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8880 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8881
987c0269
OB
88822014-05-30 Ondřej Bílka <neleai@seznam.cz>
8883
8884 * malloc/malloc.c (malloc_info): Inline mi_arena.
8885
af4e8ef9
RH
88862014-05-29 Richard Henderson <rth@twiddle.net>
8887
1670e207
RH
8888 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8889 Remove comma before expanding ASM_ARGS_##nr.
8890 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8891 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8892 of ASM_ARGS_##nr.
8893 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8894 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8895 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8896 (ASM_ARGS_1): Add leading comma.
8897
11a28aee
RH
8898 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8899 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8900 to __errno_location.
8901 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8902 Remove the expected plt for __errno_location.
8903
a17e5ffb 8904 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8905 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8906 call to __read_tp.
8907
b5be4597
RH
8908 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8909 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8910 it and break it down.
8911 (DOCARGS_0, DOCARGS_1): Do nothing.
8912 (DOCARGS_2): Update to store into the new stack frame.
8913 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8914 (UNDOCARGS_1): Update to restore from the new stack frame.
8915 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8916 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8917
645d44ab
RH
8918 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8919 (SINGLE_THREAD_P): New parameter for result regno.
8920 (PSEUDO): Update to match; use cbz instead of beq.
8921
a8b4f04a
RH
8922 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8923 Use ENTRY to define the _nocancel entry point. Share the syscall
8924 and syscall error check paths with the cancel path.
8925 (PSEUDO_END): New.
8926
af4e8ef9
RH
8927 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8928 whitespace; tabs before and after asm mnemonics.
8929
26b0d2e1
EW
89302014-05-29 Eric Wong <normalperson@yhbt.net>
8931
8932 [BZ #15132]
8933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8934 Call fstat64 or stat64 internally, depending on arguments passed.
8935 Replace stat buffer argument with file descriptor argument.
8936 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8937 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8938 Pass fd to __internal_statvfs instead of calling fstat64.
8939 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8940 Pass fd to __internal_statvfs64 instead of calling fstat64.
8941 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8942 Pass -1 to __internal_statvfs instead of calling stat64.
8943 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8944 Pass -1 to __internal_statvfs64 instead of calling stat64.
8945
1efe2bd9
RM
89462014-05-28 Roland McGrath <roland@hack.frob.com>
8947
0d3b7a19
RM
8948 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8949 that was previously under [RESET_PID].
8950 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8951
1efe2bd9
RM
8952 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8953 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8954
a6bea3ca
RM
89552014-05-27 Roland McGrath <roland@hack.frob.com>
8956
30b6629e
RM
8957 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8958
a6bea3ca
RM
8959 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8960 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8961
3dfb9a5c
OB
89622014-05-27 Ondřej Bílka <neleai@seznam.cz>
8963
8964 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8965
774f9285
AS
89662014-05-27 Andreas Schwab <schwab@suse.de>
8967
8968 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8969 TLS_INIT_TP macro.
8970 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8971 * elf/rtld.c (init_tls, dl_main): Likewise.
8972 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8973 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8974 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8975 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8976 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8977 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8978 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8979 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8980 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8981 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8982 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8983 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8984 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8985 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8986 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8987 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8988 * sysdeps/generic/tls.h: Update description.
8989
36ffe739
WN
89902014-05-27 Will Newton <will.newton@linaro.org>
8991
8992 [BZ #16990]
8993 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8994 and restore r2 rather than just restoring.
8995
2482ae43
SP
89962014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8997
8998 [BZ #16724]
8999 * libio/tst-ftell-append.c: New test case.
9000 * libio/Makefile (tests): Add test case.
9001 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9002 append mode.
9003 * libio/wfileops.c (do_ftell_wide): Likewise.
9004
3d1024e8
AZ
90052014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9006
bab90016
AZ
9007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9008
c7a8d667
AZ
9009 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9010 ...
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9013 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9014 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9015 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9016 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9017 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9020 Moved ...
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9023 Moved ...
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9025 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9026 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9027 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9028 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9029 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9030 ...
9031 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9033 Moved ...
9034 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9035 here.
9036 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9037 ...
9038 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9039 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9040 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9041
daee7851
AZ
9042 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9043 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9045 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9046
50a40819
AZ
9047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9048 merge into ...
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9051 ...
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9054 ...
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9057 Moved ...
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9059 here.
9060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9061 Moved ...
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9064 Moved ...
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9066
8464c2a1
AZ
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9068 conditional [RESET_PID].
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9070 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9071 removed.
9072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9073 removed.
9074
3d1024e8
AZ
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9076 <tcb-offsets.h>.
9077 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9078 (__libc_vfork): New strong alias.
9079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9080 removed.
9081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9082 Removed.
9083
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9085 <tcb-offsets.h>.
9086 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9087 (__libc_vfork): New strong alias.
9088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9089 removed.
9090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9091 removed.
9092
fdfd175d
CD
90932014-05-26 Carlos O'Donell <carlos@redhat.com>
9094
9095 * malloc/malloc.c (mi_arena): New function.
9096 (malloc_info): Remove nested function mi_arena. Call non-nosted
9097 function mi_arena.
9098
d298c416
AZ
90992014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9100
9101 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9102 by insrwi.
9103 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9104 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9105 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9106 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9107 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9108 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9109 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9110
b60ea6ff
AS
91112014-05-26 Andreas Schwab <schwab@suse.de>
9112
9113 [BZ #16984]
9114 * locale/programs/repertoire.c (repertoire_read): Add slash
9115 between I18NPATH element and file name.
9116 * locale/programs/locfile.c (locfile_read): Likewise.
9117
67365926
SL
91182014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9119
9120 * nptl/pthread_mutexattr_settype.c
9121 (__pthread_mutexattr_settype):
9122 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9123
f8bdf1f0
SL
91242014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9125
9126 * nptl/tst-mutex5 (do_test):
9127 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9128
15eaf6ff
SP
91292014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9130
9131 * benchtests/README: Document 'init' directive.
9132 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9133 BENCH_INIT.
9134 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9135 (parse_file): Recognize 'init' directive.
9136
75f11331
KM
91372014-05-26 Kyle McMartin <kyle@redhat.com>
9138
9139 [BZ #16796]
9140 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9141 alignment of struct pthread.
9142
c3ec475c
SP
91432014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9144
9145 [BZ #16878]
9146 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9147 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9148 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9149 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9150
82aab97c
RH
91512014-05-25 Richard Henderson <rth@twiddle.net>
9152
aa2f176d
RH
9153 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9154 (SINGLE_THREAD_P_PIC): Remove.
9155 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9156 (SINGLE_THREAD_P_PIC): Remove.
9157
ca3cfa40
RH
9158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9159 branch to syscall error ...
9160 (PSEUDO): ... here.
9161 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9162 from __local_syscall_error to .Lsyscall_error.
9163 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9164 (SYSCALL_ERROR): Update label name.
9165
6e6c2d01
RH
9166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9167 Do not use DOARGS/UNDOARGS.
9168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9169 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9170 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9171 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9172 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9173
c69abcee
RH
9174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9175 block comment.
9176
82aab97c
RH
9177 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9178 define if !NOT_IN_libc.
9179 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9180 define with non-default symbol versions.
9181
8820e3ac
RH
91822014-05-23 Richard Henderson <rth@twiddle.net>
9183
900e445f
RH
9184 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9185 (vfork, __vfork): Define via compat_symbol.
9186
8820e3ac
RH
9187 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9188 [!HAVE_IFUNC] (vfork_compat): Remove.
9189 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9190
e59252a5
JM
91912014-05-23 Joseph Myers <joseph@codesourcery.com>
9192
9193 [BZ #16978]
9194 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9195 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9196 variable.
9197
132c7f5f
RH
91982014-05-23 Richard Henderson <rth@twiddle.net>
9199
bc89e962
RH
9200 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9201 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9202 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9203 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9204
9205 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9206 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9207 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9208 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9209 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9210 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9211 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9212 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9213 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9214 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9215 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9216 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9217 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9220 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9221 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9222 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9223 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9224 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9225 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9226 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9227 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9228 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9229 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9232 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9236 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9244 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9245 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9246 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9247 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9248 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9249 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9250 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9252 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9253 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9254 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9255 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9256 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9257 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9258 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9259 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9260 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9261
e2fa4bc2
RH
9262 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9263 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9264 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9265 before exiting on error.
9266 (__libc_vfork): New strong alias.
9267 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9268 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9269
279b24e2
RH
9270 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9271 that was previously under [RESET_PID].
9272 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9273
132c7f5f
RH
9274 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9275
b72592e7
JM
92762014-05-23 Joseph Myers <joseph@codesourcery.com>
9277
9278 [BZ #16977]
9279 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9280 value when x - 1 is zero.
9281 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9282 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9283 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9284 0.0L for an argument of 1.0L.
9285 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9286 Likewise.
9287 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9288 value when x - 1 is zero.
9289 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9290 * sysdeps/i386/fpu/libm-test-ulps: Update.
9291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9292
2302d679
RV
92932014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9294
9295 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9296 alphasort and versionsort.
9297
32999d63
AZ
92982014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9299
9300 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9301 macro.
9302 [copysignf]: Likewise.
9303
019324d0
SP
93042014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9305
9306 * crypt/md5-crypt.c: Fix formatting.
9307
34fff5c2
KS
93082014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9309
9310 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9311 (b64_from_24bit): New function.
9312
3d2badac
AZ
93132014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9314
9315 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9316 libc_hidden_builtin_def to ifunc.
9317 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9318 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9319
f7bb179f 93202014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9321
9322 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9323 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9324
4134b50d
JM
93252014-05-21 Joseph Myers <joseph@codesourcery.com>
9326
bb7d0337
JM
9327 * nscd/Depend (linuxthreads): Remove.
9328 (nptl): Add.
9329 * resolv/Depend (linuxthreads): Remove.
9330 * rt/Depend (linuxthreads): Remove.
9331
4134b50d
JM
9332 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9333 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9334 $(common-objpfx)elf/.
9335 (link-libc-before-gnulib): Likewise.
9336 (elfobjdir): Remove variable.
9337 * Makefile (install): Use $(elf-objpfx) instead of
9338 $(common-objpfx)elf/.
9339 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9340 $(elfobjdir)/.
9341 (link-libc-deps): Likewise.
9342 ($(common-objpfx)libc.so): Likewise.
9343 ($(common-objpfx)linkobj/libc.so): Likewise.
9344 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9345 instead of $(common-objpfx)elf/.
9346 (symbolic-link-list): Likewise.
9347 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9348 [$(cross-compiling) = no]: Likewise.
9349 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9350 $(elfobjdir)/.
9351 (static-gnulib-arch): Likewise.
9352 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9353 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9354 $(common-objpfx)elf/.
9355
3612eb8f
RH
93562014-05-21 Richard Henderson <rth@redhat.com>
9357
a6b3657b
RH
9358 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9359 (SINGLE_THREAD_P): Use the correct width load. Fold
9360 into the ldr offset.
9361
3612eb8f
RH
9362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9363 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9364
175cef41
JM
93652014-05-20 Joseph Myers <joseph@codesourcery.com>
9366
9367 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9368 (libgcc_s_resume): Use __attribute_used__.
9369 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9370 Likewise.
9371
e13bccd3
AZ
93722014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373
9374 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9375 optimization when used with float constants.
9376
7c112a38
AZ
9377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9378
ae75a883
AJ
93792014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9380
9381 [BZ #16915]
9382 * locale/nl_langinfo_l.c: Make direct reference to every
9383 _nl_current_CATEGORY symbol.
9384 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9385 (tests-static): Add tst-langinfo-static.
9386 (tests-special): Add tst-langinfo-static.out.
9387 ($(objpfx)tst-langinfo.out): Redirect output.
9388 ($(objpfx)tst-langinfo-static.out): New.
9389 * localedata/tst-langinfo.sh: Send output to stdout.
9390 * localedata/tst-langinfo-static.c: New file.
9391
4406c41c
AJ
9392 [BZ #16965]
9393 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9394 when the shift amount is modulo the limb size.
9395
4c0a1e63
RH
93962014-05-20 Richard Henderson <rth@redhat.com>
9397
de9d8f20
RH
9398 [BZ #16967]
9399 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9400 Change type of sa_flags from unsigned int to int.
9401
4c0a1e63
RH
9402 [BZ #16966]
9403 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9404
9405 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9406
a60339aa
WN
94072014-05-20 Will Newton <will.newton@linaro.org>
9408
9409 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9410 Test the return value of the system call in the nocancel case.
9411
7d05a816
YR
94122014-05-20 Will Newton <will.newton@linaro.org>
9413 Yvan Roux <yvan.roux@linaro.org>
9414
9415 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9416 #include of asm/ptrace.h.
9417 (PTRACE_GET_THREAD_AREA): Remove #undef.
9418 (PTRACE_GETHBPREGS): Likewise.
9419 (PTRACE_SETHBPREGS): Likewise.
9420 (struct user_regs_struct): New structure.
9421 (struct user_fpsimd_struct): New structure.
9422 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9423 #include of asm/ptrace.h and second #include of sys/user.h.
9424 (PTRACE_GET_THREAD_AREA): Remove #undef.
9425 (PTRACE_GETHBPREGS): Likewise.
9426 (PTRACE_SETHBPREGS): Likewise.
9427 (ELF_NGREG): Use new struct user_regs_struct.
9428 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9429
af121e37
AZ
94302014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9431
9432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9434
834caf06
JM
94352014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9436
9437 [BZ #16958]
9438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9439 membar to avoid block loads/stores to overlap previous stores.
9440
e184a918
RH
94412014-05-17 Richard Henderson <rth@redhat.com>
9442
9443 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9444 Create the __##syscall_name##_nocancel entry point.
9445 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9446 Remove; let the sysdep-cancel.h code create it.
9447
f56c7a6a
DM
94482014-05-17 David S. Miller <davem@davemloft.net>
9449
9450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9451 Protect with __USE_GNU.
9452 (TIOCSET_TEMPT): Likewise.
9453 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9454 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9455 these are already provided in bits/ioctl-types.h
9456
f75616b2
RM
94572014-05-16 Roland McGrath <roland@hack.frob.com>
9458
3edeca86
RM
9459 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9460 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9461
f75616b2
RM
9462 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9463 Use wait4 regardless of [__NR_waitpid].
9464
deb0f7f6
MR
94652014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9466
9467 PR libgcc/60166
9468 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9469 (_FP_NANSIGN_Q): Set the quiet bit.
9470
79520f4b
JM
94712014-05-16 Joseph Myers <joseph@codesourcery.com>
9472
9473 * benchtests/Makefile
9474 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9475 not $(common-objpfx)math/libm.so.
9476 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9477 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9478 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9479 $(common-objpfx)dlfcn/libdl.so.
9480 ($(objpfx)tst-audit8): Depend on $(libm), not
9481 $(common-objpfx)math/libm.so.
9482 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9483 not $(common-objpfx)dlfcn/libdl.so.
9484 * math/Makefile
9485 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9486 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9487 [$(build-shared) = yes].
9488 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9489 $(common-objpfx)nptl/libpthread.so.
9490 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9491 $(common-objpfx)math/libm.so$(libm.so-version) or
9492 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9493 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9494 $(common-objpfx)dlfcn/libdl.so.
9495 * setjmp/Makefile (link-libm): Remove variable.
9496 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9497 * stdio-common/Makefile (link-libm): Remove variable.
9498 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9499 * stdlib/Makefile (link-libm): Remove variable.
9500 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9501 ($(objpfx)tst-strtod-round): Likewise.
9502 ($(objpfx)tst-tininess): Likewise.
9503 ($(objpfx)tst-strtod-underflow): Likewise.
9504 ($(objpfx)tst-strtod6): Likewise.
9505 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9506 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9507 $(common-objpfx)dlfcn/libdl.so.
9508
026b0fe4
AZ
95092014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510
9511 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9512 BSD terminal modes definitions.
9513
def4bcb2
RM
95142014-05-16 Roland McGrath <roland@hack.frob.com>
9515
fe39b021
RM
9516 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9517 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9518
1d1fc46e 9519 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9520 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9521 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9522 Don't do #include_next.
9523 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9524 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9525 Don't do #include_next.
9526 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9527 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9528 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9529 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9530
c72399fb
AM
95312014-05-16 Allan McRae <allan@archlinux.org>
9532
d51d659d
AM
9533 * po/sv.po: Update Swedish translation from translation project.
9534
c72399fb
AM
9535 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9536 in sed expression.
9537
d0583c40
AJ
95382014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9539
9540 [BZ #16917]
9541 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9542 errno if the TIOCGPTN ioctl fails with an error different than
9543 EINVAL.
9544 * login/tst-ptsname.c: New file.
9545 * login/Makefile (tests): Add tst-ptsname.
9546
d16e6ec7
AJ
9547 [BZ #16943]
9548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9549 and prlimit64.
9550
cf26a0cb
SP
95512014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9552
9553 [BZ #16849]
9554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9555 herrno to return EAI_AGAIN.
9556
5675da1e
RM
95572014-05-14 Roland McGrath <roland@hack.frob.com>
9558
a5d87b3d
RM
9559 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9560 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9561 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9562 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9563 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9564 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9566 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9568 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9570 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9571 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9572 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9573 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9574 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9575 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9576 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9577 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9578 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9579 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9580 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9581 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9582 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9583 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9584 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9586 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9588 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9590 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9592 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9594 Moved ...
9595 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9597 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9599 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9601 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9613 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9615 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9617 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9619 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9621 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9623 Moved ...
9624 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9626 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9628 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9632 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9634 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9636 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9638 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9640 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9642 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9644 Moved ...
9645 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9647 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9648
039890a6
RM
9649 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9650 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9651 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9652 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9653 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9654 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9655 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9656 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9657 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9658 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9659 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9660 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9661 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9662 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9663 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9664 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9665 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9666 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9667 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9668 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9669 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9670 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9671 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9672 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9673 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9674 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9675 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9676 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9677 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9678 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9679 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9680
65c89320
RM
9681 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9682 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9683
348f8e8c
RM
9684 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9685 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9686 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9687 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9688 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9690 Moved ...
9691 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9693 Moved ...
9694 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9696 Moved ...
9697 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9698 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9699 Moved ...
9700 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9702 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9704 Moved ...
9705 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9706 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9707 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9708 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9709 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9710 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9711 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9712 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9716 Moved ...
9717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9718 ... here.
9719 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9720 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9721 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9722 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9723 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9724 Moved ...
9725 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9726 ... here.
9727 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9728 Moved ...
9729 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9730 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9731 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9732 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9733 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9734 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9735 Moved ...
9736 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9741 Moved ...
9742 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9743 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9744 Moved ...
9745 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9746 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9747 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9749 Moved ...
9750 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9752 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9753 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9754 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9755 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9756 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9757 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9758 Moved ...
9759 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9761 Moved ...
9762 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9763 ... here.
9764 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9765 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9766 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9767 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9768 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9769 Moved ...
9770 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9771 ... here.
9772 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9773 Moved ...
9774 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9775 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9776 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9777 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9778 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9779 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9780 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9781 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9782 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9784 Moved ...
9785 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9787 Moved ...
9788 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9789 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9790 Moved ...
9791 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9793 Moved ...
9794 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9795 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9796 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9797 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9798 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9799 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9800 Moved ...
9801 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9802 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9803 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9805 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9806 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9807 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9809 Moved ...
9810 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9812 Moved ...
9813 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9814 ... here.
9815 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9816 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9817 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9818 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9819 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9820 Moved ...
9821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9822 ... here.
9823 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9824 Moved ...
9825 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9826 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9827 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9828 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9829 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9830 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9831 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9832 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9833 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9834 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9835 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9836
5085af05
RM
9837 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9838 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9839
708f0813
RM
9840 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9841 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9842
c96067bc
RM
9843 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9844 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9845 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9846 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9847 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9848 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9849 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9850 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9851 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9852 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9853 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9854 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9855 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9856 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9857 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9859 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9861 Moved ...
9862 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9864 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9866 Moved ...
9867 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9869 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9871 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9875 Moved ...
9876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9878 Moved ...
9879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9880 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9883 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9884 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9885 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9886 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9887 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9888 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9889 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9890 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9891 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9892 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9893 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9894 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9895 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9896
ec136444
RM
9897 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9898 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9899 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9900 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9901 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9902
2fbdf533
RM
9903 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9904 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9905 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9906 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9907 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9908 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9909 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9910 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9911 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9912 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9913
4c68138b
RM
9914 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9916
4eaae765
RM
9917 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9918 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9919 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9920 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9922 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9923 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9924 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9925 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9926 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9927 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9928 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9929 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9930 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9932 Update #include.
9933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9934 Likewise.
9935 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9936 Likewise.
9937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9938 Likewise.
9939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9940 Likewise.
9941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9942 Likewise.
9943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9944 Likewise.
9945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9946 Likewise.
9947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9948 Likewise.
9949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9950 Likewise.
4ef6befa
RM
9951 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9952 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9953 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9954 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9955 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9956 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9957 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9958 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9959 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9960 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9961 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9963 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9964 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9965 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9966
941d7dfd
RM
9967 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9968 that was previously under [RESET_PID].
9969 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9970 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9971 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9972
1b731c35
RM
9973 * sysdeps/i386/nptl/Implies: New file.
9974 * sysdeps/x86_64/nptl/Implies: New file.
9975 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9976 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9977 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9978 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9979
e2787137
RM
9980 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9981 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9982 (__libc_vfork): New strong alias.
9983 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9984 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9985
9986 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9987 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9988 (__libc_vfork): New strong alias.
9989 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9990 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9991
5675da1e
RM
9992 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9993 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9994 (__libc_vfork): New strong alias.
9995 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9996 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9997 * nptl/pt-vfork.c: New file.
9998 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9999 (libpthread: GLIBC_2.20): New version set (empty).
10000
4f02e2b8
WN
100012014-05-14 Will Newton <will.newton@linaro.org>
10002
10003 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10004 rather than #if.
10005
0bf061d3
JM
100062014-05-14 Joseph Myers <joseph@codesourcery.com>
10007
1a84c3d6
JM
10008 [BZ #16564]
10009 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10010 arguments with exponent 65 or above.
10011 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10012 arguments 0x1p113L or above.
10013 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10014 to arguments 0x1p107L or above.
10015 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10016 positive arguments with exponent 65 or above.
10017 * math/auto-libm-test-in: Add more tests of log1p.
10018 * math/auto-libm-test-out: Regenerated.
10019
01dbacd2
JM
10020 [BZ #16928]
10021 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10022 non-finite arguments is +0.
10023 * math/s_cacosf.c (__cacosf): Likewise.
10024 * math/s_cacosl.c (__cacosl): Likewise.
10025 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10026 * sysdeps/i386/fpu/libm-test-ulps: Update.
10027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10028
913d03c8
JM
10029 [BZ #16927]
10030 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10031 value.
10032 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10033 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10034 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10035 for explicit high bit of mantissa when testing for argument equal
10036 to 1.
10037 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10038 * sysdeps/i386/fpu/libm-test-ulps: Update.
10039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10040
0bf061d3
JM
10041 [BZ #16516]
10042 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10043 (__erf): Scale by 16 instead of 8 in potentially underflowing
10044 case. Ensure exception if result actually underflows.
10045 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10046 (__erff): Scale by 16 instead of 8 in potentially underflowing
10047 case. Ensure exception if result actually underflows.
10048 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10049 (efx8): Remove variable.
10050 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10051 case. Ensure exception if result actually underflows.
10052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10053 (efx8): Remove variable.
10054 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10055 case. Ensure exception if result actually underflows.
10056 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10057 (efx8): Remove variable.
10058 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10059 case. Ensure exception if result actually underflows.
10060 * math/auto-libm-test-in: Add more tests of erf.
10061 * math/auto-libm-test-out: Regenerated.
10062
73ba67cb
AS
100632014-05-14 Andreas Schwab <schwab@suse.de>
10064
3d8c8bff
AS
10065 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10066 Remove code conditionalized on USE___THREAD.
10067
73ba67cb
AS
10068 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10069 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10070 not definedness.
10071
5c521ecd
JM
100722014-05-14 Joseph Myers <joseph@codesourcery.com>
10073
5e7698c6
JM
10074 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10075 Define unconditionally.
10076 (__ASSUME_O_CLOEXEC): Likewise.
10077 (__ASSUME_SOCK_CLOEXEC): Likewise.
10078 (__ASSUME_IN_NONBLOCK): Likewise.
10079 (__ASSUME_PIPE2): Likewise.
10080 (__ASSUME_EVENTFD2): Likewise.
10081 (__ASSUME_SIGNALFD4): Likewise.
10082 (__ASSUME_DUP3): Likewise.
10083 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10084 (__ASSUME_DUP3): Do not define.
10085 (__ASSUME_EVENTFD2): Likewise.
10086 (__ASSUME_IN_NONBLOCK): Likewise.
10087 (__ASSUME_O_CLOEXEC): Likewise.
10088 (__ASSUME_PIPE2): Likewise.
10089 (__ASSUME_SIGNALFD4): Likewise.
10090 (__ASSUME_SOCK_CLOEXEC): Likewise.
10091 (__ASSUME_UTIMES): Undefine.
10092 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10093 (__ASSUME_UTIMES): Do not define.
10094 (__ASSUME_O_CLOEXEC): Likewise.
10095 (__ASSUME_SOCK_CLOEXEC): Likewise.
10096 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10097 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10098 0x020621].
10099 (__ASSUME_PIPE2): Likewise.
10100 (__ASSUME_EVENTFD2): Likewise.
10101 (__ASSUME_SIGNALFD4): Likewise.
10102 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10103 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10104 Do not define.
10105 (__ASSUME_EVENTFD2): Likewise.
10106 (__ASSUME_SIGNALFD4): Likewise.
10107 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10108 (__ASSUME_32BITUIDS): Likewise.
10109 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10110 (__ASSUME_IPC64): Likewise.
10111 (__ASSUME_ST_INO_64_BIT): Likewise.
10112 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10113 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10115 (__ASSUME_UTIMES): Do not define.
10116 (__ASSUME_PSELECT): Likewise.
10117 (__ASSUME_PPOLL): Likewise.
10118 (__ASSUME_O_CLOEXEC): Likewise.
10119 (__ASSUME_SOCK_CLOEXEC): Likewise.
10120 (__ASSUME_IN_NONBLOCK): Likewise.
10121 (__ASSUME_PIPE2): Likewise.
10122 (__ASSUME_EVENTFD2): Likewise.
10123 (__ASSUME_SIGNALFD4): Likewise.
10124 (__ASSUME_DUP3): Likewise.
10125 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10126 (__ASSUME_UTIMES): Likewise.
10127 (__ASSUME_O_CLOEXEC): Likewise.
10128 (__ASSUME_SOCK_CLOEXEC): Likewise.
10129 (__ASSUME_IN_NONBLOCK): Likewise.
10130 (__ASSUME_PIPE2): Likewise.
10131 (__ASSUME_EVENTFD2): Likewise.
10132 (__ASSUME_SIGNALFD4): Likewise.
10133 (__ASSUME_DUP3): Likewise.
10134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10135 (__ASSUME_UTIMES): Likewise.
10136 (__ASSUME_O_CLOEXEC): Likewise.
10137 (__ASSUME_SOCK_CLOEXEC): Likewise.
10138 (__ASSUME_IN_NONBLOCK): Likewise.
10139 (__ASSUME_PIPE2): Likewise.
10140 (__ASSUME_EVENTFD2): Likewise.
10141 (__ASSUME_SIGNALFD4): Likewise.
10142 (__ASSUME_DUP3): Likewise.
10143 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10144 Likewise.
10145 (__ASSUME_UTIMES): Likewise.
10146 (__ASSUME_EVENTFD2): Likewise.
10147 (__ASSUME_SIGNALFD4): Likewise.
10148 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10149 (__ASSUME_O_CLOEXEC): Likewise.
10150 (__ASSUME_SOCK_CLOEXEC): Likewise.
10151 (__ASSUME_IN_NONBLOCK): Likewise.
10152 (__ASSUME_PIPE2): Likewise.
10153 (__ASSUME_EVENTFD2): Likewise.
10154 (__ASSUME_SIGNALFD4): Likewise.
10155 (__ASSUME_DUP3): Likewise.
10156 (__ASSUME_UTIMES): Undefine.
10157
5c521ecd
JM
10158 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10159 feclearexcept. Remove symbol versioning code.
10160 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10161 symbol versioning code.
10162 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10163 symbol versioning code.
10164 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10165 feupdateenv. Remove symbol versioning code.
10166 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10167 fegetexceptflag. Remove symbol versioning code.
10168 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10169 fesetexceptflag. Remove symbol versioning code.
10170 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10171 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10172 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10173 (__posix_fadvise64_l32): Remove prototype.
10174 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10175 code.
10176
5da9dfad
RM
101772014-05-13 Roland McGrath <roland@hack.frob.com>
10178
10179 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10180 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10181 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10182 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10183
893b4f37
SK
101842014-05-13 Sami Kerola <kerolasa@iki.fi>
10185
10186 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10187 current working directory
10188
e0db6517
RM
101892014-05-13 Roland McGrath <roland@hack.frob.com>
10190
58aa195d
RM
10191 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10192 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10193 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10194 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10195 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10196 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10197 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10198 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10200 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10201 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10202 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10203 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10204 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10205 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10206 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10207 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10208 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10209 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10210 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10211 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10212 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10213 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10214 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10215 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10216 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10218 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10220 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10221 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10222 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10224 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10225 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10226 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10227 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10228 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10229 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10230 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10231 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10232 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10233
8c6d01f0
RM
10234 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10235 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10236
10237 * sysdeps/unix/sysv/linux/arm/Makefile
10238 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10239 Add rt-aeabi_unwind_cpp_pr1.
10240 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10241 Add nptl-aeabi_unwind_cpp_pr1.
10242 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10243 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10244 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10245 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10246 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10247 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10248
10249 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10250 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10251 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10252 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10253
bba6da4e
RM
10254 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10255 Deconditionalize the code that was previously under [RESET_PID].
10256 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10257
e0db6517
RM
10258 * sysdeps/generic/exit-thread.h: New file.
10259 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10260 * include/unistd.h (__exit_thread): Remove declaration.
10261 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10262 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10263 * csu/libc-start.c: Include <exit-thread.h>.
10264 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10265 * nptl/pthread_create.c: Include <exit-thread.h>.
10266 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10267 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10268 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10269 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10270 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10271 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10272 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10273 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10274 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10275 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10276 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10277 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10278 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10279 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10280 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10281 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10282 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10283
01eb16fd
AS
102842014-05-13 Andreas Schwab <schwab@suse.de>
10285
10286 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10287
637461d9
JM
102882014-05-12 Joseph Myers <joseph@codesourcery.com>
10289
10290 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10291 (__ASSUME_UTIMES): Do not condition on kernel version.
10292 (__ASSUME_PSELECT): Define unconditionally.
10293 (__ASSUME_PPOLL): Likewise.
10294 (__ASSUME_ATFCTS): Likewise.
10295 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10296 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10297 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10298 (__ASSUME_UTIMENSAT): Define unconditionally.
10299 (__ASSUME_PRIVATE_FUTEX): Likewise.
10300 (__ASSUME_FALLOCATE): Likewise.
10301 (__ASSUME_O_CLOEXEC): Likewise.
10302 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10303 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10304 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10305 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10306 (__ASSUME_IN_NONBLOCK): Likewise.
10307 (__ASSUME_PIPE2): Likewise.
10308 (__ASSUME_EVENTFD2): Likewise.
10309 (__ASSUME_SIGNALFD4): Likewise.
10310 (__ASSUME_DUP3): Likewise.
10311 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10312 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10313 (__ASSUME_AT_RANDOM): Likewise.
10314 (__ASSUME_PREADV): Likewise.
10315 (__ASSUME_PWRITEV): Likewise.
10316 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10317 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10318 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10320 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10321 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10322 (__ASSUME_O_CLOEXEC): Define unconditionally.
10323 (__ASSUME_PSELECT): Do not undefine conditionally.
10324 (__ASSUME_PPOLL): Likewise.
10325 (__ASSUME_ATFCTS): Likewise.
10326 (__ASSUME_SET_ROBUST_LIST): Likewise.
10327 (__ASSUME_UTIMENSAT): Likewise.
10328 (__ASSUME_FDATASYNC): Define unconditionally.
10329 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10330 (__ASSUME_SIGFRAME_V2): Likewise.
10331 )__ASSUME_EVENTFD2): Likewise.
10332 (__ASSUME_SIGNALFD4): Likewise.
10333 (__ASSUME_PSELECT): Do not undefine conditionally.
10334 (__ASSUME_PPOLL): Likewise.
10335 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10336 (__ASSUME_PSELECT): Define unconditionally.
10337 (__ASSUME_PPOLL): Likewise.
10338 (__ASSUME_O_CLOEXEC): Likewise.
10339 (__ASSUME_SOCK_CLOEXEC): Likewise.
10340 (__ASSUME_IN_NONBLOCK): Likewise.
10341 (__ASSUME_PIPE2): Likewise.
10342 (__ASSUME_EVENTFD2): Likewise.
10343 (__ASSUME_SIGNALFD4): Likewise.
10344 (__ASSUME_DUP3): Likewise.
10345 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10346 (__ASSUME_O_CLOEXEC): Likewise.
10347 (__ASSUME_SOCK_CLOEXEC): Likewise.
10348 (__ASSUME_IN_NONBLOCK): Likewise.
10349 (__ASSUME_PIPE2): Likewise.
10350 (__ASSUME_EVENTFD2): Likewise.
10351 (__ASSUME_SIGNALFD4): Likewise.
10352 (__ASSUME_DUP3): Likewise.
10353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10354 (__ASSUME_EVENTFD2): Likewise.
10355 (__ASSUME_SIGNALFD4): Likewise.
10356 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10357
315eb1d8
AS
103582014-05-12 Andreas Schwab <schwab@suse.de>
10359
10360 [BZ #16932]
10361 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10362 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10363 than maximum RPC packet size.
10364 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10365 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10366 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10367 (_nss_nis_getservbyport_r): Likewise.
10368
91df99f7
WN
103692014-05-12 Will Newton <will.newton@linaro.org>
10370
10371 * malloc/Makefile (tests): Add tst-mallopt.
10372 * malloc/tst-mallopt.c: New file.
10373
0a982a29
RM
103742014-05-09 Roland McGrath <roland@hack.frob.com>
10375
10376 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10377 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10378
0ded08a5
AZ
103792014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10380
10381 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10382 (tst-tlsmod6.so): Likewise.
10383
55d4d550
RM
103842014-05-09 Roland McGrath <roland@hack.frob.com>
10385
10386 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10387
77d08aca
JM
103882014-05-09 Joseph Myers <joseph@codesourcery.com>
10389
10390 [BZ #16064]
10391 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10392 and <dl-procinfo.h>.
10393 (__fegetenv): Save SSE state in envp->__eip if supported.
10394 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10395 envp->__eip if supported.
10396 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10397 and <dl-procinfo.h>.
10398 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10399 __data_offset and __data_selector in environment to 0. Set SSE
10400 state if supported.
10401 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10402 test-fenv-sse.
10403 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10404 -mfpmath=sse.
10405 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10406
28162f4d
WN
104072014-05-09 Will Newton <will.newton@linaro.org>
10408
10409 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10410 and libc_relro_required for ARM.
10411 * sysdeps/arm/preconfigure: Regenerate.
10412
5a414ff7
DV
104132014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10414 Stefan Liebler <stli@linux.vnet.ibm.com>
10415
10416 * config.make.in (enable-lock-elision): New Makefile variable.
10417 * configure.ac: Likewise.
10418 * configure: Regenerate.
10419 * sysdeps/s390/configure.ac:
10420 Add check for gcc transactions support.
10421 * sysdeps/s390/configure: Regenerate.
10422 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10423 Build elision files if enabled.
10424 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10425 Add lock elision support for s390.
10426 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10427 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10428 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10429 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10430 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10431 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10432 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10433 Likewise.
10434 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10435 Likewise.
10436 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10437 Likewise.
10438 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10439 Likewise.
10440 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10441 (__lll_timedlock_elision, __lll_lock_elision)
10442 (__lll_unlock_elision, __lll_trylock_elision)
10443 (lll_timedlock_elision, lll_lock_elision)
10444 (lll_unlock_elision, lll_trylock_elision): Add.
10445 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10446 (pthread_mutex_t): Add lock elision support for s390.
10447
1a2f40e5
W
104482014-05-14 Wilco <wdijkstr@arm.com>
10449
10450 * sysdeps/arm/fclrexcpt.c: Cleanup.
10451 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10452 * sysdeps/arm/feenablxcpt.c: Cleanup.
10453 * sysdeps/arm/fegetenv.c: Cleanup.
10454 * sysdeps/arm/fegetexcept.c: Cleanup.
10455 * sysdeps/arm/fegetround.c: Cleanup.
10456 * sysdeps/arm/feholdexcpt.c: Cleanup.
10457 * sysdeps/arm/fesetenv.c: Cleanup.
10458 * sysdeps/arm/fesetround.c: Cleanup.
10459 * sysdeps/arm/feupdateenv.c: Cleanup.
10460 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10461 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10462 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10463 * sysdeps/arm/ftestexcept.c: Cleanup.
10464 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10465 * sysdeps/arm/setfpucw.c: Cleanup.
10466
f63c86fe
WN
104672014-05-09 Will Newton <will.newton@linaro.org>
10468
10469 * sysdeps/arm/armv7/strcmp.S: New file.
10470 * NEWS: Mention addition of ARMv7 optimized strcmp.
10471
7a1a51b5
RM
104722014-05-08 Roland McGrath <roland@hack.frob.com>
10473
95afbbe5
RM
10474 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10475 look for %.ac rather than %.in.
10476
10477 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10478 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10479 * sysdeps/mach/hurd/configure: Regenerated.
10480 * sysdeps/unix/sysv/linux/configure: Regenerated.
10481
7a1a51b5
RM
10482 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10483
5057ad3b
SE
104842014-05-07 Steve Ellcey <sellcey@mips.com>
10485
10486 [BZ# 16922]
10487 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10488 (LONG_SUB): Ditto.
10489 (PTR_SUB): Ditto.
10490
8dc97517
AS
104912014-05-07 Andreas Schwab <schwab@suse.de>
10492
10493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10494 when skipping over non-matching result from nscd.
10495
ce0c5b8f
OB
104962014-05-07 Ondřej Bílka <neleai@seznam.cz>
10497
10498 [BZ #16876]
10499 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10500
a1189263
OB
10501 [BZ #16877]
10502 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10503 nscd security class.
ce0c5b8f 10504
0f58d252
RM
105052014-05-06 Roland McGrath <roland@hack.frob.com>
10506
10507 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10508 * sysdeps/arm/unwind.h: ... here.
10509
83df9ad0
AJ
105102014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10511
ce0c5b8f
OB
10512 [BZ# 16916]
10513 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10514 Define.
83df9ad0 10515
f360f94a
VR
105162014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10517
10518 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10519 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10520 multiarch strncpy for PPC64.
10521 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10522 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10524 multiarch optimizations.
10525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10526 (__libc_ifunc_impl_list): Likewise.
10527 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10528 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10529 multiarch stpncpy for PPC64.
10530 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10531 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10532
978a41c3
AS
105332014-05-06 Andreas Schwab <schwab@suse.de>
10534
10535 [BZ #16912]
10536 * gmon/mcount.c (_MCOUNT_DECL): Use
10537 atomic_compare_and_exchange_bool_acq instead of
10538 catomic_compare_and_exchange_bool_acq.
10539
eb1ed03d
RM
105402014-05-05 Roland McGrath <roland@hack.frob.com>
10541
fe658845
RM
10542 * elf/Makefile (others, install-bin): Remove pldd.
10543 (pldd-modules): Variable removed.
10544 ($(objpfx)pldd): Target removed.
10545 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10546 (others, install-bin): Append pldd here.
10547 ($(objpfx)pldd): New target.
10548
eb1ed03d
RM
10549 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10550 to 0, so the first #if test emitted later doesn't see it undefined.
10551 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10552 * sysdeps/gnu/errlist.c: Regenerated.
10553
19c4bec0
AZ
105542014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10555
10556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10557 [libc_hidden_builtin_def]: Define to empty value.
10558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10559 [libc_hidden_builtin_def]: Likewise.
10560 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10561 [libc_hidden_builtin_def]: Likewise.
10562 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10563 [libc_hidden_builtin_def]: Likewise.
10564 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10565 __redirect_memcpy and define ifunc as default hidden symbol.
10566 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10567 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10568
7776e669
AC
105692014-05-04 Adam Conrad <adconrad@0c3.net>
10570
10571 * locale/iso-4217.def: Reintroduce XDR currency.
10572
d69aeb12
AM
105732014-05-04 Allan McRae <allan@archlinux.org>
10574
10575 * po/eo.po: Update Esperanto translation from translation project.
10576
8f1df5cf
CD
105772014-05-02 Carlos O'Donell <carlos@redhat.com>
10578
10579 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10580 and FEATURE_INDEX_MAX to 1.
10581 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10582
13e402e7
SE
105832014-05-01 Steve Ellcey <sellcey@mips.com>
10584
10585 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10586 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10587 * iconvdata/big5.c (ONE_DIRECTION): Define.
10588 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10589 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10590 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10591 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10592 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10593 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10594 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10595 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10596 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10597 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10598 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10599 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10600 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10601 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10602 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10603 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10604 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10605 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10606 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10607 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10608 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10609 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10610 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10611 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10612 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10613 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10614 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10615 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10616 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10617 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10618 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10619 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10620 * iconvdata/johab.c (ONE_DIRECTION): Define.
10621 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10622 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10623 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10624 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10625 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10626 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10627 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10628 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10629 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10630 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10631
c727f032
RM
106322014-05-01 Roland McGrath <roland@hack.frob.com>
10633
8f2f08d0
RM
10634 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10635 (_IO_JUMPS_OFFSET): Define to 0.
10636
c727f032
RM
10637 * nptl/sysdeps/pthread/bits/libc-lock.h
10638 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10639 (__libc_lock_define_initialized_recursive): Always define using
10640 initializer. Modern compilers treat uninitialized (implicit zero) and
10641 explicit zero initializers the same (i.e. put the datum in bss).
10642
a849e800
AS
106432014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10644
10645 * nscd/nscd-client.h: Include <string.h>.
10646
5331255b
DM
106472014-05-01 David S. Miller <davem@davemloft.net>
10648
10649 [BZ #16885]
10650 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10651 multiple zero bytes exist at the end of a string.
10652 Reported by Aurelien Jarno <aurelien@aurel32.net>
10653
10654 * string/test-strcmp.c (check): Add explicit test for situations where
10655 there are multiple zero bytes after the first.
10656
4fdfe821
AS
106572014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10658
10659 [BZ #16890]
10660 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10661 when compiling wprintf.
10662 * stdio-common/tstdiomisc.c (t3): New function.
10663 (main): Call it.
10664
0cdddc25
SE
106652014-05-01 Steve Ellcey <sellcey@mips.com>
10666
10667 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10668 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10669 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10670 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10671
6426d77e
SE
106722014-05-01 Steve Ellcey <sellcey@mips.com>
10673
10674 * stdlib/longlong.h: Updated from GCC.
10675
6d96f5e4
WN
106762014-05-01 Will Newton <will.newton@linaro.org>
10677 Bernard Ogden <bernie.ogden@linaro.org>
10678
7470db0c
WN
10679 * NEWS: Update fixed bug list.
10680
6d96f5e4
WN
10681 [BZ #15119]
10682 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10683
211d653c
DM
106842014-04-30 David S. Miller <davem@davemloft.net>
10685
4fa262fa
DM
10686 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10687 (libc_feholdexcept_setround_sparc_ctx): New function.
10688 (libc_fesetenv_sparc_ctx): Likewise.
10689 (libc_feupdateenv_sparc_ctx): Likewise.
10690 (libc_feholdsetround_sparc_ctx): Likewise.
10691 (libc_feholdexcept_setround_ctx): Define.
10692 (libc_feholdexcept_setroundf_ctx): Likewise.
10693 (libc_feholdexcept_setroundl_ctx): Likewise.
10694 (libc_fesetenv_ctx): Likewise.
10695 (libc_fesetenvf_ctx): Likewise.
10696 (libc_fesetenvl_ctx): Likewise.
10697 (libc_feupdateenv_ctx): Likewise.
10698 (libc_feupdateenvf_ctx): Likewise.
10699 (libc_feupdateenvl_ctx): Likewise.
10700 (libc_feresetround_ctx): Likewise.
10701 (libc_feresetroundf_ctx): Likewise.
10702 (libc_feresetroundl_ctx): Likewise.
10703 (libc_feholdsetround_ctx): Likewise.
10704 (libc_feholdsetroundf_ctx): Likewise.
10705 (libc_feholdsetroundl_ctx): Likewise.
10706
1d3d93ef
DM
10707 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10708 with __USE_GNU instead of XOPEN cpp guards.
10709
8aa583c3
DM
10710 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10711 0.
10712
211d653c
DM
10713 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10714 with XOPEN cpp guards.
10715
60c8f1f6
JB
107162014-04-30 Julian Brown <julian@codesourcery.com>
10717
10718 [BZ #16888]
10719 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10720 handling.
10721
9a461d46
JM
107222014-04-30 Joseph Myers <joseph@codesourcery.com>
10723
d0f5b3f8
JM
10724 [BZ #9894]
10725 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10726 Change to 2.6.32.
10727 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10728 * sysdeps/unix/sysv/linux/configure: Regenerated.
10729 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10730 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10731 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10732 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10733 * README: Update reference to required Linux kernel version.
10734 * manual/install.texi (Linux): Update reference to required Linux
10735 kernel headers version.
10736 * INSTALL: Regenerated.
10737
9a461d46
JM
10738 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10739 header inclusion.
10740 [POSIX] (limits.h): Likewise.
10741 [POSIX] (math.h): Likewise.
10742 [POSIX] (sys/wait.h): Likewise.
10743 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10744 function.
10745 [POSIX] (stddef.h): Do not allow header inclusion.
10746
1775babf
AZ
107472014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10748
57f41c40 10749 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10750
8f630cca
YY
107512014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10752
10753 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10754 Return immediately after lll_futex_wake.
10755
1cdeb237
SP
107562014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10757
bc8f194c
SP
10758 [BZ #16791]
10759 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10760 structure.
10761 (datahead_init_pos): Call datahead_init_common early.
10762 (datahead_init_neg): Likewise.
10763
1cdeb237
SP
10764 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10765 datahead_init_neg): New functions.
10766 * nscd/aicache.c (addhstaiX): Use them.
10767 * nscd/grpcache.c (cache_addgr): Likewise.
10768 * nscd/hstcache.c (cache_addhst): Likewise.
10769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10770 * nscd/netgroupcache.c (do_notfound): Likewise.
10771 (addgetnetgrentX): Likewise.
10772 (addinnetgrX): Likewise.
10773 * nscd/pwdcache.c (cache_addpw): Likewise.
10774 * nscd/servicescache.c (cache_addserv): Likewise.
10775
16b293a7
SP
107762014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10777 Atsushi Onoe <atsushi@onoe.org>
10778
10779 [BZ #14308]
10780 [BZ #12994]
10781 [BZ #13651]
10782 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10783 one response is valid.
10784 * resolv/res_send.c (send_dg): Check for validity of other
10785 response if the current response is a referral.
10786
a28a9b94
SE
107872014-04-29 Steve Ellcey <sellcey@mips.com>
10788
10789 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10790
2ca180e9
SL
107912014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10792
10793 [BZ #16823]
10794 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10795 Always divide by positive zero when computing -Inf result.
10796 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10797 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10798
18f2945a
AZ
107992014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10800
10801 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10802 FPSCR if value do not change.
10803 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10804 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10805 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10806 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10807 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10808 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10809 function.
10810
5abebba4
CD
108112014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10812
10813 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10814 * sysdeps/unix/sysv/linux/hppa: Move directory from
10815 ports/systeps/unix/sysv/linux/hppa.
10816 * README: Update listing for hppa-*-linux-gnu.
10817
f7ed60c2
OB
108182014-04-28 Ondřej Bílka <neleai@seznam.cz>
10819
fff763a5
OB
10820 [BZ #16754]
10821 * manual/stdio.texi (Hook functions): Fix types of stream hook
10822 functions.
f7ed60c2
OB
10823 [BZ #16854]
10824 * socket/sys/socket.h: Fix typo in comment.
10825
df639d73
WD
108262014-04-28 Wilco <wdijkstr@arm.com>
10827
f7ed60c2 10828 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10829 * sysdeps/arm/math_private.h: New file.
10830 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10831
48332d82
L
108322014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10835 with __int128_t.
10836 (La_x86_64_retval): Likewise.
10837
e5e0d9a4
IB
108382014-04-24 Ian Bolton <ian.bolton@arm.com>
10839
10840 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10841 fpsr if value didn't change.
10842 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10843 to fpcr if value didn't change.
10844 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10845 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10846 fpsr or fpcr if value didn't change.
10847 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10848 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10849 fpcr if value didn't change.
10850 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10851 to fpsr if value didn't change.
10852
bacc75f7
SP
108532014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10854
10855 * nptl/tst-sem3.c: Use test-skeleton.c
10856 (main): Rename to do_test. Use return instead of
10857 exit.
10858 * nptl/tst-sem4.c: Use test-skeleton.c
10859 (main): Rename to do_test.
10860
a059d359
DM
108612014-04-22 David S. Miller <davem@davemloft.net>
10862
10863 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10864 (struct sigaction): New struct member __glibc_reserved0, change
10865 type of sa_flags to int.
10866
ea6c92f3
YZ
108672014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10868
10869 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10870 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10871
766c4a36
SP
108722014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10873
10874 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10875 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10876
140cc7ab
VK
108772014-04-22 Will Newton <will.newton@linaro.org>
10878 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10879
10880 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10881 (__longjmp): Add longjmp and longjmp_target SystemTap
10882 probes.
10883 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10884 (__sigsetjmp): Add setjmp SystemTap probe.
10885
c54e5cf7
CD
108862014-04-17 Carlos O'Donell <carlos@redhat.com>
10887
10888 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10889 match manual order.
10890
75ffb047
AZ
108912014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10892
10893 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10894
2cd925f7
AZ
10895 * sysdeps/powerpc/fpu/fenv_private.h
10896 (libc_feholdexcept_setroundl_ctx): Define to
10897 libc_feholdexcept_setround_ppc_ctx.
10898 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10899 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10900 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10901 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10902
39e6cd8d
IB
109032014-04-17 Ian Bolton <ian.bolton@arm.com>
10904
10905 * sysdeps/aarch64/math-tests.h: New file.
10906
f9281df9
SY
109072014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10908
10909 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10910 New.
10911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10912 Check and set bit_AVX2_Usable.
10913 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10914 macro.
10915 (bit_AVX2): Likewise.
10916 (index_AVX2_Usable): Likewise.
10917 (CPUID_AVX2): Likewise.
10918 (HAS_AVX2): Likewise.
10919
37d35007
WN
109202014-04-17 Will Newton <will.newton@linaro.org>
10921
7c677662
WN
10922 * manual/setjmp.texi (System V contexts): Add note that
10923 calling setcontext on a context created by a call to a
10924 signal handler is undefined. Update text to note that
10925 setcontext from a signal handler is possible but not
10926 recommended.
10927
37d35007 10928 [BZ #16629]
e04a4e9d
WN
10929 * stdlib/tst-setcontext.c: Include signal.h.
10930 (main): Check that the signal stack before and
10931 after swapcontext is the same.
10932
37d35007
WN
10933 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10934 Re-implement to restore registers in user code and avoid
10935 rt_sigreturn system call.
10936
423a7160
W
109372014-04-17 Wilco <wdijkstr@arm.com>
10938
10939 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10940 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10941 * math/test-fenv.c: Skip exception trap tests on targets which only
10942 support non-stop mode.
10943
bc93ab29
IB
109442014-04-17 Ian Bolton <ian.bolton@arm.com>
10945 Wilco Dijkstra <wilco.dijkstra@arm.com>
10946
10947 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10948 (libc_feholdsetround_aarch64_ctx)
10949 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10950 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10951 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10952 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10953 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10954 (libc_feresetround_noexl_ctx): Define.
10955
95fc5fa3
RH
109562014-04-16 Richard Henderson <rth@redhat.com>
10957
ddb04724
RH
10958 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10959
d77c0899
RH
10960 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10961 unwind tables.
10962
a3df56fc
RH
10963 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10964 const from the non-libc, non-ldso copy.
10965
95fc5fa3
RH
10966 * sysdeps/alpha/libm-test-ulps: Regenerate.
10967
7e0b6763
IB
109682014-04-16 Ian Bolton <ian.bolton@arm.com>
10969 Wilco Dijkstra <wilco.dijkstra@arm.com>
10970
10971 * sysdeps/aarch64/fpu/math_private.h: New file.
10972
a9ea2e0c
MS
109732014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10974
10975 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10976
ea8ba7cd
IZ
109772014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10978
7e54fd04 10979 [BZ #16275]
ea8ba7cd
IZ
10980 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10981 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10983 Intel MPX bound registers before _dl_profile_fixup.
10984 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10985 registers after _dl_profile_fixup. Save and restore bound
10986 registers bnd0/bnd1 when calling _dl_call_pltexit.
10987 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10988 (LR_BND_OFFSET): Likewise.
10989 (LRV_BND0_OFFSET): Likewise.
10990 (LRV_BND1_OFFSET): Likewise.
10991
9f2a4fbc
ST
109922014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10993
10994 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10995 to...
10996 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10997 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10998 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10999 fields.
9f2a4fbc 11000
fd15a59b
ST
110012014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11002
11003 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11004
f19dfa0a
SL
110052014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11006
11007 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11008
4fa8bc3b
SL
110092014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11010
11011 [BZ #14770]
11012 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11013 * sysdeps/s390/configure: Regenerate.
11014
8ea587db
SL
11015 [BZ #16824]
11016 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11017 Set round-to-nearest internally to reduce error accumulation.
11018
aa5f0ff1
AM
110192014-04-16 Alan Modra <amodra@gmail.com>
11020
11021 [BZ #16740]
11022 [BZ #16619]
11023 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11024 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 11025 * NEWS: Update fixed bug list.
aa5f0ff1 11026
bb9c256f
SP
110272014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11028
11029 * benchtests/Makefile: Depend on libraries in build directory.
11030 (bench-math): Separate out math tests.
11031 (bench-pthread): Separate out pthread tests.
11032 (bench): Include math and pthread tests.
11033
f737dfd0
CD
110342014-04-14 Carlos O'Donell <carlos@redhat.com>
11035
11036 [BZ #16831]
11037 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11038 _dl_debug_initialize.
11039
0699f766
CD
11040 * configure.ac: Remove SELinux header check.
11041 * configure: Regenerate.
11042 * nscd/selinux.c (perms): Array of const char* to permission names.
11043 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11044 default policy. Call string_to_security_class and string_to_av_perm to
11045 translate strings. Enforce default policy and call avs_has_perm with
11046 results of translated strings.
11047
809bd45f
DM
110482014-04-13 David S. Miller <davem@davemloft.net>
11049
11050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11051
89e691f2
AM
110522014-04-12 Allan McRae <allan@archlinux.org>
11053
11054 [BZ #16838]
11055 * manual/string.texi (Collation Functions): Fix qsort argument
11056 order in example.
11057 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11058
9c9daaeb
CM
110592014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11060
11061 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11062 Make the test a no-op if there are no exceptions defined.
11063
95561fb9
PP
110642014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11065
fe8d072c 11066 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
11067 enable-hardcoded-path-in-tests
11068
970c602a
WN
110692014-04-11 Will Newton <will.newton@linaro.org>
11070
11071 * benchtests/Makefile (extra-objs): Add json-lib.o.
11072 (bench-func): Tidy up JSON output.
11073 * benchtests/bench-skeleton.c: Include json-lib.h.
11074 (main): Use JSON library functions to do output of
11075 benchmark results.
11076 * benchtests/bench-timing-type.c (main): Output the
11077 timing type simply, leaving formatting to the user.
11078 * benchtests/json-lib.c: New file.
11079 * benchtests/json-lib.h: Likewise.
11080
36875b06
TR
110812014-04-11 Torvald Riegel <triegel@redhat.com>
11082
11083 [BZ #15215]
11084 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11085 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11086 memory barriers. Add comments.
11087 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11088 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11089 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11090 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11091 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11092 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11093
579db35a
SL
110942014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11095
11096 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11097 * sysdeps/s390/s390-64/configure.ac: ... this ...
11098 * sysdeps/s390/configure.ac: ... to here.
11099 * sysdeps/s390/s390-32/configure: Delete file.
11100 * sysdeps/s390/s390-64/configure: Delete file.
11101 * sysdeps/s390/configure: Regenerate.
11102
c12e9f37
JAPH
111032014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11104
11105 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11106
439bda32
WN
111072014-04-11 Will Newton <will.newton@linaro.org>
11108
11109 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11110 to zero if it is not defined elsewhere. (mtrim): Test
11111 the value of MALLOC_DEBUG with #if rather than #ifdef.
11112
6a5d6ea1
TR
111132014-04-10 Torvald Riegel <triegel@redhat.com>
11114
11115 * benchtests/pthread_once-inputs: New file.
11116 * benchtests/pthread_once-source.c: New file.
11117 * benchtests/README: Update documentation.
11118
a4c75cfd
IZ
111192014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11120 H.J. Lu <hongjiu.lu@intel.com>
11121
7e54fd04 11122 [BZ #16275]
a4c75cfd
IZ
11123 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11124 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11125 * sysdeps/x86_64/configure: Regenerated.
11126 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11127 macro.
11128 (REGISTER_SAVE_RAX): Likewise.
11129 (REGISTER_SAVE_RCX): Likewise.
11130 (REGISTER_SAVE_RDX): Likewise.
11131 (REGISTER_SAVE_RSI): Likewise.
11132 (REGISTER_SAVE_RDI): Likewise.
11133 (REGISTER_SAVE_R8): Likewise.
11134 (REGISTER_SAVE_R9): Likewise.
11135 (REGISTER_SAVE_BND0): Likewise.
11136 (REGISTER_SAVE_BND1): Likewise.
11137 (REGISTER_SAVE_BND2): Likewise.
11138 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11139 bound registers when calling _dl_fixup.
11140
27822ce6
AZ
111412014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11142
11143 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11144 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11145 of its definition.
27822ce6
AZ
11146 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11147 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11148 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11149 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11150 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11151 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11152 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11153
a88ddc90
PTB
111542014-04-09 Peter Brett <peter@peter-b.co.uk>
11155
11156 [BZ #15514]
11157 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11158 pathconf(_PC_NAME_MAX).
11159
01f8eac2
AZ
111602014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11161
11162 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11163 Remove macro usage.
11164 (__PTHREAD_SPINS): Move definition to ...
11165 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11166 (__PTHREAD_SPINS): ... here.
11167 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11168 (__PTHREAD_SPIN): Likewise.
11169 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11170 (__PTHREAD_SPIN): Likewise.
11171 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11172 (__PTHREAD_SPIN): Likewise.
11173 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11174 (__PTHREAD_SPIN): Likewise.
11175 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11176 (__PTHREAD_SPIN): Likewise.
11177 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11178 (__PTHREAD_SPIN): Likewise.
11179 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11180 (__PTHREAD_SPIN): Likewise.
11181 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11182 (__PTHREAD_SPIN): Likewise.
11183 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11184 (__PTHREAD_SPIN): Likewise.
11185 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11186 (__PTHREAD_SPIN): Likewise.
11187 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11188 (__PTHREAD_SPIN): Likewise.
11189 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11190 (__PTHREAD_SPIN): Likewise.
11191
de21c33c
AZ
11192 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11194 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11195 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11196 imply folder.
11197 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11198 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11199 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11200 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11201 correct imply path.
11202 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11203 strlen symbol for non multi-arch builds.
11204 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11205 missing hidden_def and weak_alias.
11206
862c472e
CD
112072014-04-08 Carlos O'Donell <carlos@redhat.com>
11208
11209 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11210
8667f90e
WN
112112014-04-07 Will Newton <will.newton@linaro.org>
11212
11213 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11214 and contents. [!_LIBC] Remove #ifndef and contents.
11215 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11216 * string/memccpy.c (__memccpy): Use ANSI prototype.
11217 * string/memfrob.c (memfrob): Likewise.
11218 * string/strcoll.c (STRCOLL): Likewise.
11219 * string/strlen.c (strlen): Likewise.
11220 * string/strtok.c (STRTOK): Likewise.
11221 * string/strcat.c: Remove unused #include of memcopy.h.
11222 (strcat): Use ANSI prototype.
11223 * string/strchr.c: Remove unused #include of memcopy.h.
11224 (strchr): Use ANSI prototype.
11225 * string/strcmp.c: Remove unused #include of memcopy.h.
11226 (strcmp): Use ANSI prototype.
11227 * string/strcpy.c: Remove unused #include of memcopy.h.
11228 (strcpy): Use ANSI prototype.
11229
7ffa9423
AZ
112302014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11231
11232 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11233 * config.make.in (config-extra-cppflags): Set it from
11234 libc_extra_cppflags.
11235 * configure.ac (libc_extra_cflags): Make it accumulate over
11236 configure fragments.
11237 (libc_extra_cppflags): New flag.
11238 * configure. Regenerate.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11240 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11241 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11243
8bd70862
AZ
11244 [BZ #16815]
11245 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11246 result for FE_DOWNWARD rounding mode.
11247 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11248 Likewise.
11249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11250
d42f3448
CM
112512014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11252
11253 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11254 in function argument name.
11255
1c21d115
DS
112562014-04-03 David Svoboda <svoboda@cert.org>
11257
11258 [BZ #5666]
11259 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11260 explicitly.
11261
fcccd512
RM
112622014-04-03 Roland McGrath <roland@hack.frob.com>
11263
11264 * elf/dl-unmap-segments.h: New file.
11265 * sysdeps/generic/ldsodefs.h
11266 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11267 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11268 * elf/dl-fptr.c: Likewise.
11269 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11270 * sysdeps/aarch64/tlsdesc.c: Likewise.
11271 * sysdeps/arm/tlsdesc.c: Likewise.
11272 * sysdeps/i386/tlsdesc.c: Likewise.
11273 * sysdeps/tile/dl-runtime.c: Likewise.
11274 * sysdeps/x86_64/tlsdesc.c: Likewise.
11275 * elf/dl-load.h: New file.
11276 * elf/dl-load.c: Include it.
11277 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11278 Macros moved to dl-load.h.
11279 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11280 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11281 Use _dl_unmap_segments in place of __munmap.
11282 Break out segment-mapping loop into ...
11283 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11284
f6488e2b
WN
112852014-04-03 Will Newton <will.newton@linaro.org>
11286
11287 * elf/dl-lookup.c (do_lookup_x): Remove comment
11288 referring to nested function and move variable
11289 declarations down to before first use.
11290
6f05bafe
JM
112912014-04-02 Joseph Myers <joseph@codesourcery.com>
11292
a84e78c8
JM
11293 [BZ #16799]
11294 [BZ #16800]
11295 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11296 with 0 numerator.
11297 * math/s_catanf.c (__catanf): Likewise.
11298 * math/s_catanh.c (__catanh): Likewise.
11299 * math/s_catanhf.c (__catanhf): Likewise.
11300 * math/s_catanhl.c (__catanhl): Likewise.
11301 * math/s_catanl.c (__catanl): Likewise.
11302 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11303 by positive zero when computing -Inf result.
11304 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11305 (catanh_test): Likewise.
11306 * sysdeps/i386/fpu/libm-test-ulps: Update.
11307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11308
6f05bafe
JM
11309 [BZ #16789]
11310 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11311 instead of using underflowing value in computing result.
11312 * math/s_clog10.c (__clog10): Likewise.
11313 * math/s_clog10f.c (__clog10f): Likewise.
11314 * math/s_clog10l.c (__clog10l): Likewise.
11315 * math/s_clogf.c (__clogf): Likewise.
11316 * math/s_clogl.c (__clogl): Likewise.
11317 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11318 (clog10_test): Likewise.
11319 * sysdeps/i386/fpu/libm-test-ulps: Update.
11320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11321
b0abbc21
AM
113222014-04-02 Alan Modra <amodra@gmail.com>
11323
11324 [BZ #16739]
11325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11326 output when value is near a power of two. Use int64_t for lx and
11327 remove casts. Use decimal rather than hex exponent constants.
11328 Don't use long double multiplication when double will suffice.
11329 * math/libm-test.inc (nextafter_test_data): Add tests.
11330 * NEWS: Add 16739 and 16786 to bug list.
11331
af6b1797
AM
11332 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11333
483818d7
AM
11334 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11335
f6c55796
WN
113362014-04-01 Will Newton <will.newton@linaro.org>
11337
11338 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11339 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11340
13f7fe35
FW
113412014-04-01 Florian Weimer <fweimer@redhat.com>
11342
11343 [BZ #13347]
11344 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11345 * nptl/tst-setuid2.c: New file.
11346 * nptl/Makefile (xtests): Add tst-setuid2.
11347
c859b32e
AM
113482014-04-01 Alan Modra <amodra@gmail.com>
11349
11350 [BZ #16786]
11351 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11352
54fa2475
JM
113532014-03-31 Joseph Myers <joseph@codesourcery.com>
11354
8795b4a4
JM
11355 [BZ #6803]
11356 [BZ #6804]
11357 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11358 set errno as appropriate.
11359 * math/w_scalbf.c (__scalbf): Likewise.
11360 * math/w_scalbl.c (__scalbl): Likewise.
11361 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11362 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11363 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11364 Add more NaN tests.
11365
54fa2475
JM
11366 [BZ #16349]
11367 * math/w_atan2.c: Include <errno.h>.
11368 (__atan2): Set errno for result underflowing to zero.
11369 * math/w_atan2f.c: Include <errno.h>.
11370 (__atan2f): Set errno for result underflowing to zero.
11371 * math/w_atan2l.c: Include <errno.h>.
11372 (__atan2l): Set errno for result underflowing to zero.
11373 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11374 tests.
11375 * math/auto-libm-test-out: Regenerated.
11376
757d9dd5
AZ
113772014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11378
11379 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11380 Encode instruction correctly in little endian.
11381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11382 Likewise.
11383 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11384 Likewise.
11385 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11386 Likewise.
11387 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11388 Likewise.
11389
d7a68734
JM
113902014-03-31 Joseph Myers <joseph@codesourcery.com>
11391
47c5adeb
JM
11392 [BZ #9894]
11393 * sysdeps/unix/sysv/linux/kernel-features.h
11394 [__sparc__ && !__arch64__ && !__sparc_v9__]
11395 (__ASSUME_SET_ROBUST_LIST): Do not define.
11396 [__sparc__ && !__arch64__ && !__sparc_v9__]
11397 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11398 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11399 Likewise.
11400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11401 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11402 (__ASSUME_REQUEUE_PI): Likewise.
11403 (__ASSUME_SET_ROBUST_LIST): Likewise.
11404 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11405 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11406 Undefine.
11407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11408 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11409 Likewise.
11410 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11411 Likewise.
11412 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11413 Likewise.
11414 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11415 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11416 Undefine.
11417 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11418 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11419 Likewise.
11420
d7a68734
JM
11421 [BZ #16648]
11422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11424 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11425
c760f5c2
WN
114262014-03-31 Will Newton <will.newton@linaro.org>
11427
11428 * benchtests/Makefile (bench): Add ffs and ffsll to list
11429 of tests.
11430 * benchtests/ffs-inputs: New file.
11431 * benchtests/ffsll-inputs: Likewise.
11432
ea6029b1
JM
114332014-03-29 Joseph Myers <joseph@codesourcery.com>
11434
11435 [BZ #16770]
11436 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11437 too large before casting to int.
11438 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11439 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11440 * math/libm-test.inc (scalb_test_data): Add more tests.
11441
cf806aff
SP
114422014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11443
56737508
SP
11444 * benchtests/Makefile (DETAILED_OPT): New make option.
11445 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11446 set.
11447 * benchtests/bench-skeleton.c: Include stdbool.h.
11448 (main): Store and print timings per input.
11449 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11450 member to each argument value.
11451 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11452 (_print_arg_data): Initialize per-input timing to 0.
11453
cb5e4aad
SP
11454 * benchtests/Makefile (timing-type): New binary.
11455 (bench-clean): Also remove bench-timing-type.
11456 (bench): New target for timing-type.
11457 (bench-func): Print output in JSON format.
11458 * benchtests/bench-skeleton.c (main): Print output in JSON
11459 format.
11460 * benchtests/bench-timing-type.c: New file.
11461 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11462 (TIMING_PRINT_STATS): Remove.
11463 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11464 name separately.
11465
cf806aff
SP
11466 * benchtests/bench-modf.c: Remove.
11467 * benchtests/modf-inputs: New inputs file.
11468
289e0779
JM
114692014-03-28 Joseph Myers <joseph@codesourcery.com>
11470
11471 [BZ #16362]
11472 * math/s_clog10.c (M_PI_LOG10E): New macro.
11473 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11474 imaginary parts are 0.
11475 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11476 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11477 imaginary parts are 0.
11478 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11479 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11480 imaginary parts are 0.
11481 * math/libm-test.inc (clog10_test_data): Update expected results
11482 for when real and imaginary parts are 0.
11483
277ae3f1
PP
114842014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11485
11486 * elf/dl-load.c: Finish conversion of __builtin_expect into
11487 __glibc_{un}likely.
11488
03a7091f
JM
114892014-03-27 Joseph Myers <joseph@codesourcery.com>
11490
11491 [BZ #16348]
11492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11493 1+x for argument with exponent below -67.
11494 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11495 Likewise.
11496 * math/auto-libm-test-in: Add more tests of exp.
11497 * math/auto-libm-test-out: Regenerated.
11498
ea7d8b95
SP
114992014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11500
dd3022d7
SP
11501 [BZ #16759]
11502 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11503 (nscd_getnetgrent): Use it.
11504
ea7d8b95
SP
11505 [BZ #16760]
11506 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11507 of stpcpy.
11508
df5b85da
AK
115092014-03-27 Andi Kleen <ak@linux.intel.com>
11510
57f41c40
AS
11511 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11512 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11513 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11514 (lll_robust_unlock): Remove out of line section. Use cfi
11515 intrinsics.
df5b85da 11516 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11517 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11518 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11519 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11520 (lll_robust_unlock): Remove out of line section. Use cfi
11521 intrinsics.
df5b85da
AK
11522 (LLL_STUB_UNWIND_INFO*): Remove.
11523
fbd6b5a4
SP
115242014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11525
11526 [BZ #16758]
11527 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11528 blank values.
11529
1b26b855
PP
115302014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11531
11532 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11533
9be36fb8
JM
115342014-03-26 Joseph Myers <joseph@codesourcery.com>
11535
11536 [BZ #16198]
11537 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11538 fnstenv.
11539 * math/test-fenv-preserve.c: New file.
11540 * math/Makefile (tests): Add test-fenv-preserve.
11541
60a2f3c1
WN
115422014-03-26 Will Newton <will.newton@linaro.org>
11543
11544 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11545
a5e5f1e2
RM
115462014-03-25 Roland McGrath <roland@hack.frob.com>
11547
11548 * scripts/versionlist.awk: Partition the version sets and emit all
11549 GLIBC_* (sorted) before all others (sorted).
11550
00f4012a
JM
115512014-03-25 Joseph Myers <joseph@codesourcery.com>
11552
11553 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11554 GLIBC_2.2.5 version.
11555
7bc5a741
AZ
115562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557
11558 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11559 calls.
11560
7578473b
AZ
11561 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11562 previous change.
11563
f3f1dab3
AZ
11564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11565
6da36183
AS
115662014-03-25 Andreas Schwab <schwab@suse.de>
11567
11568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11569 label to be used after in6ailist is initialized.
11570
f3f1dab3 115712014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11572
7578473b 11573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11574 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11575
046651c1
JM
115762014-03-25 Joseph Myers <joseph@codesourcery.com>
11577
11578 [BZ #16357]
11579 [BZ #16599]
11580 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11581 min_plus_half.
11582 (fp_formats): Update initializers.
11583 (init_fp_formats): Initialize new field.
11584 (output_for_one_input_case): Allow underflow for results up to
11585 min_plus_half.
11586 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11587 * math/auto-libm-test-in: Don't mark some underflows from asin and
11588 atanh as spurious.
11589 * math/auto-libm-test-out: Regenerated.
11590 * sysdeps/i386/fpu/libm-test-ulps: Update.
11591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11592
003e49ed
AS
115932014-03-25 Andreas Schwab <schwab@suse.de>
11594
11595 * libio/Makefile (tst-ftell-partial-wide-ENV)
11596 (tst-ftell-active-handler-ENV): Define.
11597
de031874
SL
115982014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11599
11600 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11601
55a81e3b
PP
116022014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11603
11604 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11605
f3426898
JM
116062014-03-24 Joseph Myers <joseph@codesourcery.com>
11607
11608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11609 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11610 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11611
a42faf59
PP
116122014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11613
11614 [BZ #16634]
a42faf59 11615 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11616 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11617 (open_path): Change from boolean 'secure' to complete flag 'mode'
11618 (_dl_map_object): Adjust.
a42faf59
PP
11619 * elf/Makefile (tests): Add tst-dlopen-aout.
11620 * elf/tst-dlopen-aout.c: New test.
11621
50936127
SL
116222014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11623
11624 [BZ #16714]
11625 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11626 (struct stat): Rename member pad0 to __glibc_reserved0.
11627
26011b5c
SL
11628 [BZ #16712]
11629 * sysdeps/s390/s390-32/bits/wordsize.h
11630 (__WORDSIZE32_SIZE_ULONG): New define.
11631 * sysdeps/s390/s390-64/bits/wordsize.h
11632 (__WORDSIZE32_SIZE_ULONG): Likewise.
11633 * sysdeps/generic/stdint.h (SIZE_MAX):
11634 Define as UL if __WORDSIZE32_SIZE_ULONG.
11635
a2d86bf1
SL
11636 [BZ #16713]
11637 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11638 (__glibc_reserved0): New variable.
11639 (sa_flags): Change type to int.
11640
78b6eebc
SL
11641 * posix/Makefile (before-compile): Use += before-compile instead
11642 of a :=.
11643
f1399b5a
SL
11644 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11645 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11646
a071766e
AS
116472014-03-20 Andreas Schwab <schwab@suse.de>
11648
11649 [BZ #16743]
11650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11651 non-matching result from nscd.
11652
27c673b8
SP
116532014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11654
11655 * scripts/bench.py: Moved to ...
11656 * benchtests/scripts/bench.py: ... here.
11657 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11658
44152e4b
AS
116592014-03-24 Andreas Schwab <schwab@suse.de>
11660
11661 [BZ #16002]
11662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11663 alloca_account and account alloca use for struct in6ailist.
11664
b376a11a
JM
116652014-03-24 Joseph Myers <joseph@codesourcery.com>
11666
11667 [BZ #16284]
11668 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11669 rounding mode to recompute results that overflow to infinity or
11670 underflow to zero.
11671 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11672 bug 16284.
11673 * math/auto-libm-test-out: Regenerated.
11674 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11675 (ccosh_test): Likewise.
11676 (csin_test_data): Use plus_oflow.
11677 (csin_test): Use ALL_RM_TEST.
11678 (csinh_test_data): Use plus_oflow.
11679 (csinh_test): Use ALL_RM_TEST.
11680 * sysdeps/i386/fpu/libm-test-ulps: Update.
11681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682
f7be7376
JM
116832014-03-21 Joseph Myers <joseph@codesourcery.com>
11684
1ca2d03e
JM
11685 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11686 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11687 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11688
f7be7376
JM
11689 [BZ #16731]
11690 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11691 when x - 1 is zero.
11692 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11693 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11694 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11696 argument is 1.
11697 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11698 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11699 zero.
11700 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11701 * sysdeps/i386/fpu/libm-test-ulps: Update.
11702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703
fdf4534d
SP
117042014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11705
df26ea53
SP
11706 * scripts/bench.pl: Remove file.
11707 * scripts/bench.py: New benchmark script.
11708 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11709 * benchtests/README: Mention python dependency.
11710 * scripts/pylintrc: New file.
11711 * scripts/pylint: New file.
11712
fdf4534d
SP
11713 * bits/mathdef.h: Use #ifdef instead of #if.
11714 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11715 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11716 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11717 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11718 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11719 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11720
6f23d093
AZ
117212014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11722 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11723
11724 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11726 and strpbrk-ppc64 objects.
11727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11728 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11729 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11730 multiarch strpbrk for POWER7.
11731 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11732 multiarch strpbrk for PPC64.
11733 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11734 ifunc selector.
11735 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11736 strpbrk for POWER7.
11737
8c92dfff
JM
117382014-03-20 Joseph Myers <joseph@codesourcery.com>
11739
11740 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11741 (atan_test): Likewise.
11742 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11743 (atanh_test): Use ALL_RM_TEST.
11744 (atan2_test_data): Likewise.
11745 (cabs_test): Likewise.
11746 (cacosh_test): Likewise.
11747 (carg_test): Likewise.
11748 (casin_test): Likewise.
11749 (casinh_test): Likewise.
11750 (cbrt_test): Likewise.
11751 (csqrt_test): Likewise.
11752 (erf_test): Likewise.
11753 (erfc_test): Likewise.
11754 (pow10_test): Likewise.
11755 (exp2_test): Likewise.
11756 (hypot_test): Likewise.
11757 (j0_test): Likewise.
11758 (j1_test): Likewise.
11759 (lgamma_test): Likewise.
11760 (gamma_test): Likewise.
11761 (sincos_test): Likewise.
11762 (tanh_test): Likewise.
11763 (y0_test): Likewise.
11764 (y1_test): Likewise.
11765 * sysdeps/i386/fpu/libm-test-ulps: Update.
11766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11767
6eaf95cb
AZ
117682014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
a387428c
SP
11770 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11772 and strcspn-ppc64 objects.
11773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11774 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11775 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11776 multiarch strcspn for POWER7.
11777 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11778 multiarch strcspn for PPC64.
11779 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11780 ifunc selector.
11781 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11782 strcspn for POWER7.
11783
ae3a5dff
JM
117842014-03-20 Joseph Myers <joseph@codesourcery.com>
11785
11786 * math/gen-libm-test.pl (generate_testfile): Expect only function
11787 name as argument to AUTO_TESTS_* and pass results for all rounding
11788 modes to parse_args.
11789 (parse_auto_input): Separate inputs of automatic tests from
11790 outputs before storing in %auto_tests.
11791 * math/libm-test.inc (acos_test_data): Update call to
11792 AUTO_TESTS_f_f.
11793 (acos_test): Use ALL_RM_TEST.
11794 (acos_tonearest_test_data): Remove.
11795 (acos_test_tonearest): Likewise.
11796 (acos_towardzero_test_data): Likewise.
11797 (acos_test_towardzero): Likewise.
11798 (acos_downward_test_data): Likewise.
11799 (acos_test_downward): Likewise.
11800 (acos_upward_test_data): Likewise.
11801 (acos_test_upward): Likewise.
11802 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11803 (asin_test_data): Likewise.
11804 (asin_test): Use ALL_RM_TEST.
11805 (asin_tonearest_test_data): Remove.
11806 (asin_test_tonearest): Likewise.
11807 (asin_towardzero_test_data): Likewise.
11808 (asin_test_towardzero): Likewise.
11809 (asin_downward_test_data): Likewise.
11810 (asin_test_downward): Likewise.
11811 (asin_upward_test_data): Likewise.
11812 (asin_test_upward): Likewise.
11813 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11814 (atan_test_data): Likewise.
11815 (atanh_test_data): Likewise.
11816 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11817 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11818 (carg_test_data): Likewise.
11819 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11820 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11821 (ccosh_test_data): Likewise.
11822 (cexp_test_data): Likewise.
11823 (clog_test_data): Likewise.
11824 (clog10_test_data): Likewise.
11825 (cos_test_data): Update call to AUTO_TESTS_f_f.
11826 (cos_test): Use ALL_RM_TEST.
11827 (cos_tonearest_test_data): Remove.
11828 (cos_test_tonearest): Likewise.
11829 (cos_towardzero_test_data): Likewise.
11830 (cos_test_towardzero): Likewise.
11831 (cos_downward_test_data): Likewise.
11832 (cos_test_downward): Likewise.
11833 (cos_upward_test_data): Likewise.
11834 (cos_test_upward): Likewise.
11835 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11836 (cosh_test): Use ALL_RM_TEST.
11837 (cosh_tonearest_test_data): Remove.
11838 (cosh_test_tonearest): Likewise.
11839 (cosh_towardzero_test_data): Likewise.
11840 (cosh_test_towardzero): Likewise.
11841 (cosh_downward_test_data): Likewise.
11842 (cosh_test_downward): Likewise.
11843 (cosh_upward_test_data): Likewise.
11844 (cosh_test_upward): Likewise.
11845 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11846 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11847 (ctan_test_data): Likewise.
11848 (ctan_test): Use ALL_RM_TEST.
11849 (ctan_tonearest_test_data): Remove.
11850 (ctan_test_tonearest): Likewise.
11851 (ctan_towardzero_test_data): Likewise.
11852 (ctan_test_towardzero): Likewise.
11853 (ctan_downward_test_data): Likewise.
11854 (ctan_test_downward): Likewise.
11855 (ctan_upward_test_data): Likewise.
11856 (ctan_test_upward): Likewise.
11857 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11858 (ctanh_test): Use ALL_RM_TEST.
11859 (ctanh_tonearest_test_data): Remove.
11860 (ctanh_test_tonearest): Likewise.
11861 (ctanh_towardzero_test_data): Likewise.
11862 (ctanh_test_towardzero): Likewise.
11863 (ctanh_downward_test_data): Likewise.
11864 (ctanh_test_downward): Likewise.
11865 (ctanh_upward_test_data): Likewise.
11866 (ctanh_test_upward): Likewise.
11867 (erf_test_data): Update call to AUTO_TESTS_f_f.
11868 (erfc_test_data): Likewise.
11869 (exp_test_data): Likewise.
11870 (exp_test): Use ALL_RM_TEST.
11871 (exp_tonearest_test_data): Remove.
11872 (exp_test_tonearest): Likewise.
11873 (exp_towardzero_test_data): Likewise.
11874 (exp_test_towardzero): Likewise.
11875 (exp_downward_test_data): Likewise.
11876 (exp_test_downward): Likewise.
11877 (exp_upward_test_data): Likewise.
11878 (exp_test_upward): Likewise.
11879 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11880 (exp10_test): Use ALL_RM_TEST.
11881 (exp10_tonearest_test_data): Remove.
11882 (exp10_test_tonearest): Likewise.
11883 (exp10_towardzero_test_data): Likewise.
11884 (exp10_test_towardzero): Likewise.
11885 (exp10_downward_test_data): Likewise.
11886 (exp10_test_downward): Likewise.
11887 (exp10_upward_test_data): Likewise.
11888 (exp10_test_upward): Likewise.
11889 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11890 (expm1_test_data): Likewise.
11891 (expm1_test): Use ALL_RM_TEST.
11892 (expm1_tonearest_test_data): Remove.
11893 (expm1_test_tonearest): Likewise.
11894 (expm1_towardzero_test_data): Likewise.
11895 (expm1_test_towardzero): Likewise.
11896 (expm1_downward_test_data): Likewise.
11897 (expm1_test_downward): Likewise.
11898 (expm1_upward_test_data): Likewise.
11899 (expm1_test_upward): Likewise.
11900 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11901 (fma_test): Use ALL_RM_TEST.
11902 (fma_towardzero_test_data): Remove.
11903 (fma_test_towardzero): Likewise.
11904 (fma_downward_test_data): Likewise.
11905 (fma_test_downward): Likewise.
11906 (fma_upward_test_data): Likewise.
11907 (fma_test_upward): Likewise.
11908 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11909 (j0_test_data): Update call to AUTO_TESTS_f_f.
11910 (j1_test_data): Likewise.
11911 (jn_test_data): Update call to AUTO_TESTS_if_f.
11912 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11913 (log_test_data): Update call to AUTO_TESTS_f_f.
11914 (log10_test_data): Likewise.
11915 (log1p_test_data): Likewise.
11916 (log2_test_data): Likewise.
11917 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11918 (pow_tonearest_test_data): Likewise.
11919 (sin_test_data): Update call to AUTO_TESTS_f_f.
11920 (sin_test): Use ALL_RM_TEST.
11921 (sin_tonearest_test_data): Remove.
11922 (sin_test_tonearest): Likewise.
11923 (sin_towardzero_test_data): Likewise.
11924 (sin_test_towardzero): Likewise.
11925 (sin_downward_test_data): Likewise.
11926 (sin_test_downward): Likewise.
11927 (sin_upward_test_data): Likewise.
11928 (sin_test_upward): Likewise.
11929 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11930 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11931 (sinh_test): Use ALL_RM_TEST.
11932 (sinh_tonearest_test_data): Remove.
11933 (sinh_test_tonearest): Likewise.
11934 (sinh_towardzero_test_data): Likewise.
11935 (sinh_test_towardzero): Likewise.
11936 (sinh_downward_test_data): Likewise.
11937 (sinh_test_downward): Likewise.
11938 (sinh_upward_test_data): Likewise.
11939 (sinh_test_upward): Likewise.
11940 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11941 (sqrt_test): Use ALL_RM_TEST.
11942 (sqrt_tonearest_test_data): Remove.
11943 (sqrt_test_tonearest): Likewise.
11944 (sqrt_towardzero_test_data): Likewise.
11945 (sqrt_test_towardzero): Likewise.
11946 (sqrt_downward_test_data): Likewise.
11947 (sqrt_test_downward): Likewise.
11948 (sqrt_upward_test_data): Likewise.
11949 (sqrt_test_upward): Likewise.
11950 (tan_test_data): Update call to AUTO_TESTS_f_f.
11951 (tan_test): Use ALL_RM_TEST.
11952 (tan_tonearest_test_data): Remove.
11953 (tan_test_tonearest): Likewise.
11954 (tan_towardzero_test_data): Likewise.
11955 (tan_test_towardzero): Likewise.
11956 (tan_downward_test_data): Likewise.
11957 (tan_test_downward): Likewise.
11958 (tan_upward_test_data): Likewise.
11959 (tan_test_upward): Likewise.
11960 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11961 (tgamma_test_data): Likewise.
11962 (y0_test_data): Likewise.
11963 (y1_test_data): Likewise.
11964 (yn_test_data): Update call to AUTO_TESTS_if_f.
11965 (main): Do not call removed functions.
11966
d71aeee8
JM
119672014-03-19 Joseph Myers <joseph@codesourcery.com>
11968
11969 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11970 (ldexp_test_data): Remove.
11971 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11972 scalbn_test_data.
11973 (scalb_test): Use ALL_RM_TEST.
11974
baaf1ded
AS
119752014-03-19 Andreas Schwab <schwab@suse.de>
11976
11977 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11978
b1115e91
JM
119792014-03-19 Joseph Myers <joseph@codesourcery.com>
11980
11981 [BZ #16649]
11982 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11983 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11984 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11986 (__ASSUME_PREADV): Undefine.
11987 (__ASSUME_PWRITEV): Likewise.
11988
0283ecca
RM
119892014-03-18 Roland McGrath <roland@hack.frob.com>
11990
7d375303
RM
11991 * bits/mman-linux.h: Add comment about non-Linux use.
11992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11993 bits/mman-linux.h resting place.
11994
0283ecca
RM
11995 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11996 * bits/mman-linux.h: ... here.
11997
aebe1003
AZ
119982014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11999
12000 * conform/conformtest.pl: Add standard definition when calling C
12001 preprocessor on data files.
12002 (checknamespace): Remove unused variable.
12003
b29b6bb8
JM
120042014-03-18 Joseph Myers <joseph@codesourcery.com>
12005
12006 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12007 minus_oflow, plus_uflow and minus_uflow in expected results.
12008 * math/libm-test.inc (scalbn_test_data): Add more tests of
12009 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12010 minus_uflow.
12011 (scalbn_test): Use ALL_RM_TEST.
12012 (scalbln_test_data): Add more tests of negative arguments. Use
12013 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12014 (scalbln_test): Use ALL_RM_TEST.
12015
c8f8fa15
RM
120162014-03-18 Roland McGrath <roland@hack.frob.com>
12017
12018 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12019
fede7a5f
WN
120202014-03-18 Will Newton <will.newton@linaro.org>
12021
12022 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12023 inaccurate comment.
12024
80cf0a58
JM
120252014-03-18 Joseph Myers <joseph@codesourcery.com>
12026
12027 * Makerules [!subdir] (check-abi): Exit with error status if a
12028 test failed.
12029
b3620862
JM
120302014-03-17 Joseph Myers <joseph@codesourcery.com>
12031
12032 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12033 for rint. Include results for all rounding modes.
12034 (nearbyint_test): Use ALL_RM_TEST.
12035 (rint_test_data): Include all tests used for nearbyint.
12036
788bba36
WN
120372014-03-17 Will Newton <will.newton@linaro.org>
12038
04ec140a
WN
12039 * nptl/sysdeps/pthread/pthread.h: Revert previous
12040 change.
12041
7579d8d5
WN
12042 * sysdeps/generic/ldsodefs.h: Revert previous
12043 change.
12044
c15cf13a
WN
12045 * libio/genops.c: Revert previous change.
12046 * libio/libioP.h: Likewise.
12047 * stdio-common/vfprintf.c: Likewise.
12048
d0ac1324
WN
12049 * sysdeps/generic/math_private.h: Revert previous
12050 change.
12051
9290130a
WN
12052 * sysdeps/generic/math_private.h: Check whether
12053 HAVE_RM_CTX is defined with #ifdef rather
12054 than #if.
12055
afb466fc
WN
12056 * argp/argp-fmtstream.h: Check whether
12057 __STRICT_ANSI__ is defined with #ifdef rather
12058 than #if.
12059 * argp/argp.h: Likewise.
12060
f7efd7c3
WN
12061 * libio/genops.c: Check whether
12062 _IO_JUMPS_OFFSET is defined with #ifdef rather
12063 than #if.
12064 * libio/libioP.h: Likewise.
12065 * stdio-common/vfprintf.c: Likewise.
12066
53f1bed3
WN
12067 * sysdeps/generic/ldsodefs.h: Check whether
12068 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12069 than #if.
12070
788bba36
WN
12071 * nptl/sysdeps/pthread/pthread.h: Check
12072 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12073 its value.
12074
fcd89ebe
SP
120752014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12076
ae42bbc5
SP
12077 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12078 setting O_APPEND.
12079 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12080 test case.
12081
ea33158c
SP
12082 [BZ #16680]
12083 * libio/fileops.c (_IO_file_open): Seek to end of file but
12084 don't cache the offset.
12085 (get_file_offset): Remove function.
12086 (do_ftell): Use cached offset when available.
12087 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12088 don't cache the offset.
12089 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12090 case.
12091 (do_one_test): Call it.
12092 (do_ftell_test): Fix up expected old offset for a+ mode.
12093 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12094 available.
12095
b1dbb426
SP
12096 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12097 up test status with function return status.
12098 (do_write_test): Likewise.
12099 (do_append_test): Likewise.
12100
fcd89ebe
SP
12101 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12102 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12103 Remove.
12104
9962a2d3
JM
121052014-03-17 Joseph Myers <joseph@codesourcery.com>
12106
12107 * math/gen-libm-test.pl (parse_args): Handle results specified for
12108 each rounding mode separately.
12109 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12110 tests and results from lrint_tonearest_test_data,
12111 lrint_towardzero_test_data, lrint_downward_test_data and
12112 lrint_upward_test_data.
12113 (lrint_test): Use ALL_RM_TEST.
12114 (lrint_tonearest_test_data): Remove.
12115 (lrint_test_tonearest): Likewise.
12116 (lrint_towardzero_test_data): Likewise.
12117 (lrint_test_towardzero): Likewise.
12118 (lrint_downward_test_data): Likewise.
12119 (lrint_test_downward): Likewise.
12120 (lrint_upward_test_data): Likewise.
12121 (lrint_test_upward): Likewise.
12122 (llrint_test_data): Merge in per-rounding-mode tests and results
12123 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12124 llrint_downward_test_data and llrint_upward_test_data.
12125 (llrint_test): Use ALL_RM_TEST.
12126 (llrint_tonearest_test_data): Remove.
12127 (llrint_test_tonearest): Likewise.
12128 (llrint_towardzero_test_data): Likewise.
12129 (llrint_test_towardzero): Likewise.
12130 (llrint_downward_test_data): Likewise.
12131 (llrint_test_downward): Likewise.
12132 (llrint_upward_test_data): Likewise.
12133 (llrint_test_upward): Likewise.
12134 (rint_test_data): Merge in per-rounding-mode tests and results
12135 from rint_tonearest_test_data, rint_towardzero_test_data,
12136 rint_downward_test_data and rint_upward_test_data. Add
12137 per-rounding-mode results for tests not in those arrays.
12138 (rint_test): Use ALL_RM_TEST.
12139 (rint_tonearest_test_data): Remove.
12140 (rint_test_tonearest): Likewise.
12141 (rint_towardzero_test_data): Likewise.
12142 (rint_test_towardzero): Likewise.
12143 (rint_downward_test_data): Likewise.
12144 (rint_test_downward): Likewise.
12145 (rint_upward_test_data): Likewise.
12146 (rint_test_upward): Likewise.
12147 (main): Don't call removed functions.
12148
5006148e
RM
121492014-03-14 Roland McGrath <roland@hack.frob.com>
12150
12151 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12152 "Compiled on ..." crapola. It is anti-useful.
12153
d6fe5e58
JM
121542014-03-14 Joseph Myers <joseph@codesourcery.com>
12155
12156 * scripts/evaluate-test.sh: Handle fourth argument to determine
12157 whether test run should stop on failure.
12158 * Makeconfig (stop-on-test-failure): New variable.
12159 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12160 $(stop-on-test-failure).
12161 * Makefile (tests): Give a summary of results from testing and
12162 exit with failure status if they include an ERROR or FAIL.
12163 (xtests): Likewise.
12164 * manual/install.texi (Configuring and compiling): Mention
12165 stop-on-test-failure=y.
12166 * INSTALL: Regenerated.
12167
498a2233
RM
121682014-03-14 Roland McGrath <roland@hack.frob.com>
12169
22dbc19d
RM
12170 * scripts/versionlist.awk: New file.
12171 * Makerules [$(build-shared) = yes]
12172 (postclean-generated): Add Versions.def, not Versions.def.v and
12173 Versions.def.v.i.
12174 ($(common-objpfx)Versions.def.v.i): Target removed.
12175 ($(common-objpfx)Versions.def): New target.
12176 ($(common-objpfx)Versions.all): Depend on that rather that
12177 $(common-objpfx)Versions.def.v.
12178 * Versions.def: File removed.
12179
498a2233
RM
12180 * Makeconfig (+gccwarn): Add -Wundef.
12181 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12182 a dl-sysdep.h breaking its contract.
12183 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12184 * include/stackinfo.h: New file.
12185 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12186 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12187 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12188 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12189 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12190 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12191 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12192 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12193 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12194 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12195 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12196 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12197 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12198 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12199 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12200
c7de5025
AZ
122012014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12202
12203 [BZ #16707]
12204 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12205 implementation.
12206 * math/libm-test.inc (round_test_data): Add more tests.
12207
98fb27a3
AZ
12208 [BZ #16706]
12209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12210 implementation.
12211 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12212
374f7f61
AZ
12213 [BZ #16701]
12214 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12215 implementation.
12216 * math/libm-test.inc (ceil_test_data): Add more tests.
12217
4655c291
AZ
12218 * math/libm-test.inc (trunc_test_data): Add more tests related to
12219 BZ#16414.
12220
d7329d4b
RM
122212014-03-14 Roland McGrath <roland@hack.frob.com>
12222
12223 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12224 with #if rather than #ifdef.
12225 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12226
aa4de9ce
L
122272014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12228
12229 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12230 first. Disable AVX-512 GCC support if assembler doesn't support
12231 it.
12232 * sysdeps/x86_64/configure: Regenerated.
12233
2e03fae7
CD
122342014-03-13 Carlos O'Donell <carlos@redhat.com>
12235
12236 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12237 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12238 (__old_pthread_attr_setstack): Likewise.
12239 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12240 [!_STACK_GROWS_DOWN]: Likewise.
12241
43ca83ec
MF
122422014-03-13 Mike Frysinger <vapier@gentoo.org>
12243
12244 * config.make.in (have-bash2): Delete.
12245 * configure.ac (libc_cv_have_bash2): Delete.
12246 * configure: Regenerate.
12247 * elf/Makefile (common-ldd-rewrite): Rename to ...
12248 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12249 (sh-ldd-rewrite): Delete.
12250 (bash-ldd-rewrite): Delete.
12251 (have-bash2): Delete checks.
57f41c40
AS
12252 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12253 ldd-rewrite.
c66e48b4
MF
12254
12255 * config.make.in (have-ksh): Delete.
12256 (KSH): Delete.
12257 * configure.ac (libc_cv_have_ksh): Delete.
12258 * configure: Regenerate.
12259
b93834ef
MF
12260 * elf/Makefile: Delete $(have-ksh) check.
12261 ($(objpfx)sotruss): Change KSH to BASH.
12262 * elf/sotruss.ksh: Rename to ...
12263 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12264 function style to match POSIX. Drop ksh vim mode setting.
12265
f3a4632a
MF
12266 * manual/time.texi (Specifying the Time Zone with TZ): Change
12267 Tuesday to Thursday.
12268
5896c8bd
MF
12269 * debug/tst-longjmp_chk2.c: Update header comment.
12270 (stackoverflow_handler): Add comment. Call assert on pass value.
12271
2d63a517
IZ
122722014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12273
7e54fd04 12274 [BZ #16194]
2d63a517
IZ
12275 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12276 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12277 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12278 (La_x86_64_vector): Add zmm.
12279 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12280 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12281 ($(objpfx)tst-audit10): New target.
12282 ($(objpfx)tst-audit10.out): Likewise.
12283 (tst-audit10-ENV): New.
12284 (AVX512-CFLAGS): Likewise.
12285 (CFLAGS-tst-audit10.c): Likewise.
12286 (CFLAGS-tst-auditmod10a.c): Likewise.
12287 (CFLAGS-tst-auditmod10b.c): Likewise.
12288 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12289 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12290 * sysdeps/x86_64/configure: Regenerated.
12291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12292 AVX-512 zmm register support.
12293 (_dl_x86_64_save_sse): Likewise.
12294 (_dl_x86_64_restore_sse): Likewise.
12295 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12296 size vector registers.
12297 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12298 (ZMM_SIZE): Likewise.
12299 * sysdeps/x86_64/tst-audit10.c: New file.
12300 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12301 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12302
44c4e5d5
RM
123032014-03-13 Roland McGrath <roland@hack.frob.com>
12304
12305 * configure.ac (HAVE_EHDR_START): New check.
12306 * configure: Regenerated.
12307 * config.h.in (HAVE_EHDR_START): New #undef.
12308 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12309 assuming the lowest-addressed segment maps the start of the file.
12310
acd6e389
JM
123112014-03-13 Joseph Myers <joseph@codesourcery.com>
12312
12313 * INSTALL: Regenerated.
12314
6f918f36
WN
123152014-03-13 Will Newton <will.newton@linaro.org>
12316
12317 * manual/setjmp.texi (System V contexts): Improve
12318 clarity and grammar of documentation.
12319
798212a0
PP
123202014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12321
12322 [BZ #16381]
798212a0 12323 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12324 (tests-pie): Add tst-pie2.
798212a0
PP
12325 * elf/tst-pie2.c: New file.
12326 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12327 for ET_EXEC.
12328 * elf/rtld.c (map_doit): Load executable as lt_executable.
12329 (dl_main): Likewise.
12330
abe6d90c
JM
123312014-03-12 Joseph Myers <joseph@codesourcery.com>
12332
12333 [BZ #16642]
12334 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12335 (__ASSUME_PSELECT): Undefine.
12336
dd3946c6
AZ
123372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12338
12339 [BZ #16689]
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12341 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12342 static build.
12343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12344 selector for static builds.
12345
c44496df
SP
123462014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12347
12348 [BZ #16695]
12349 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12350 key in the buffer.
12351
27c7220a
AZ
123522014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353
57f41c40
AS
12354 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12355 IFUNC selector for static builds.
27c7220a 12356
600fa361
JM
123572014-03-11 Joseph Myers <joseph@codesourcery.com>
12358
76c96cf7
JM
12359 * sysdeps/mips/math_private.h [__mips_hard_float]
12360 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12361 libc_feresetround_mips_ctx.
12362 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12363 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12364 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12365
600fa361
JM
12366 [BZ #16677]
12367 * math/s_nextafter.c (__nextafter): Do not return value from
12368 overflowing computation.
12369 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12370 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12371 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12372 Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12374 Likewise.
12375 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12376 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12377
d7706c32
RM
123782014-03-11 Roland McGrath <roland@hack.frob.com>
12379
12380 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12381 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12382 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12383 the new mov targetting sp.
12384
4facea47
AZ
123852014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12386
12387 [BZ #16683]
12388 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12389 Define it for static builds as well.
12390 (NO_BZERO_IMPL): Likewise.
12391
e65caf1f
VR
123922014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12393
12394 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12395 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12396 multiarch strspn for PPC64.
12397 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12398 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12400 (__libc_ifunc_impl_list): Likewise.
12401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12402 multiarch optimizations
12403 * string/strspn.c (strspn): Using macro to redefine symbol name.
12404
ba9cc071
AZ
124052014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12406 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12407
12408 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12409 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12410 multiarch strncat for PPC64.
12411 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12412 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12414 (__libc_ifunc_impl_list): Likewise.
12415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12416 multiarch optimizations
12417
8b4ff974
SP
124182014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12419
12420 [BZ #16639]
12421 * nscd/nscd.service: Make service type forking.
12422
54b46a4b
AZ
124232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12424
12425 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12426 sign in non default rounding modes.
12427 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12428
e9996ef7
JM
124292014-03-08 Joseph Myers <joseph@codesourcery.com>
12430
12431 * math/libm-test.inc (ALL_RM_TEST): New macro.
12432 (ceil_test): Use ALL_RM_TEST.
12433 (cimag_test): Likewise.
12434 (conj_test): Likewise.
12435 (copysign_test): Likewise.
12436 (cproj_test): Likewise.
12437 (creal_test): Likewise.
12438 (fabs_test): Likewise.
12439 (floor_test): Likewise.
12440 (fmax_test): Likewise.
12441 (fmin_test): Likewise.
12442 (fmod_test): Likewise.
12443 (fpclassify_test): Likewise.
12444 (frexp_test): Likewise.
12445 (ilogb_test): Likewise.
12446 (isfinite_test): Likewise.
12447 (finite_test): Likewise.
12448 (isgreater_test): Likewise.
12449 (isgreaterequal_test): Likewise.
12450 (isinf_test): Likewise.
12451 (isless_test): Likewise.
12452 (islessequal_test): Likewise.
12453 (islessgreater_test): Likewise.
12454 (isnan_test): Likewise.
12455 (isnormal_test): Likewise.
12456 (issignaling_test): Likewise.
12457 (isunordered_test): Likewise.
12458 (logb_test): Likewise.
12459 (logb_downward_test_data): Remove.
12460 (logb_test_downward): Likewise.
12461 (lround_test): Use ALL_RM_TEST.
12462 (llround_test): Likewise.
12463 (modf_test): Likewise.
12464 (nexttoward_test): Likewise.
12465 (remainder_test): Likewise.
12466 (drem_test): Likewise.
12467 (remainder_tonearest_test_data): Likewise.
12468 (remainder_test_tonearest): Likewise.
12469 (drem_test_tonearest): Likewise.
12470 (remainder_towardzero_test_data): Likewise.
12471 (remainder_test_towardzero): Likewise.
12472 (drem_test_towardzero): Likewise.
12473 (remainder_downward_test_data): Likewise.
12474 (remainder_test_downward): Likewise.
12475 (drem_test_downward): Likewise.
12476 (remainder_upward_test_data): Likewise.
12477 (remainder_test_upward): Likewise.
12478 (drem_test_upward): Likewise.
12479 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12480 (round_test): Use ALL_RM_TEST.
12481 (signbit_test): Likewise.
12482 (trunc_test): Likewise.
12483 (significand_test): Likewise.
12484 (main): Don't call removed functions.
12485
bc61d27c
JM
124862014-03-07 Joseph Myers <joseph@codesourcery.com>
12487
5c780849
JM
12488 [BZ #16674]
12489 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12490 || __USE_XOPEN2K8].
12491 (ILL_ILLOPN): Likewise.
12492 (ILL_ILLADR): Likewise.
12493 (ILL_ILLTRP): Likewise.
12494 (ILL_PRVOPC): Likewise.
12495 (ILL_PRVREG): Likewise.
12496 (ILL_COPROC): Likewise.
12497 (ILL_BADSTK): Likewise.
12498 (FPE_INTDIV): Likewise.
12499 (FPE_INTOVF): Likewise.
12500 (FPE_FLTDIV): Likewise.
12501 (FPE_FLTOVF): Likewise.
12502 (FPE_FLTUND): Likewise.
12503 (FPE_FLTRES): Likewise.
12504 (FPE_FLTINV): Likewise.
12505 (FPE_FLTSUB): Likewise.
12506 (SEGV_MAPERR): Likewise.
12507 (SEGV_ACCERR): Likewise.
12508 (BUS_ADRALN): Likewise.
12509 (BUS_ADRERR): Likewise.
12510 (BUS_OBJERR): Likewise.
12511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12512 (TRAP_TRACE): Likewise.
12513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12514 __USE_XOPEN2K8].
12515 (CLD_KILLED): Likewise.
12516 (CLD_DUMPED): Likewise.
12517 (CLD_TRAPPED): Likewise.
12518 (CLD_STOPPED): Likewise.
12519 (CLD_CONTINUED): Likewise.
12520 (POLL_IN): Likewise.
12521 (POLL_OUT): Likewise.
12522 (POLL_MSG): Likewise.
12523 (POLL_ERR): Likewise.
12524 (POLL_PRI): Likewise.
12525 (POLL_HUP): Likewise.
12526 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12527 Likewise.
12528 (ILL_ILLOPN): Likewise.
12529 (ILL_ILLADR): Likewise.
12530 (ILL_ILLTRP): Likewise.
12531 (ILL_PRVOPC): Likewise.
12532 (ILL_PRVREG): Likewise.
12533 (ILL_COPROC): Likewise.
12534 (ILL_BADSTK): Likewise.
12535 (FPE_INTDIV): Likewise.
12536 (FPE_INTOVF): Likewise.
12537 (FPE_FLTDIV): Likewise.
12538 (FPE_FLTOVF): Likewise.
12539 (FPE_FLTUND): Likewise.
12540 (FPE_FLTRES): Likewise.
12541 (FPE_FLTINV): Likewise.
12542 (FPE_FLTSUB): Likewise.
12543 (SEGV_MAPERR): Likewise.
12544 (SEGV_ACCERR): Likewise.
12545 (BUS_ADRALN): Likewise.
12546 (BUS_ADRERR): Likewise.
12547 (BUS_OBJERR): Likewise.
12548 (BUS_MCEERR_AR): Likewise.
12549 (BUS_MCEERR_AO): Likewise.
12550 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12551 (TRAP_TRACE): Likewise.
12552 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12553 __USE_XOPEN2K8].
12554 (CLD_KILLED): Likewise.
12555 (CLD_DUMPED): Likewise.
12556 (CLD_TRAPPED): Likewise.
12557 (CLD_STOPPED): Likewise.
12558 (CLD_CONTINUED): Likewise.
12559 (POLL_IN): Likewise.
12560 (POLL_OUT): Likewise.
12561 (POLL_MSG): Likewise.
12562 (POLL_ERR): Likewise.
12563 (POLL_PRI): Likewise.
12564 (POLL_HUP): Likewise.
12565 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12566 (ILL_ILLOPN): Likewise.
12567 (ILL_ILLADR): Likewise.
12568 (ILL_ILLTRP): Likewise.
12569 (ILL_PRVOPC): Likewise.
12570 (ILL_PRVREG): Likewise.
12571 (ILL_COPROC): Likewise.
12572 (ILL_BADSTK): Likewise.
12573 (FPE_INTDIV): Likewise.
12574 (FPE_INTOVF): Likewise.
12575 (FPE_FLTDIV): Likewise.
12576 (FPE_FLTOVF): Likewise.
12577 (FPE_FLTUND): Likewise.
12578 (FPE_FLTRES): Likewise.
12579 (FPE_FLTINV): Likewise.
12580 (FPE_FLTSUB): Likewise.
12581 (SEGV_MAPERR): Likewise.
12582 (SEGV_ACCERR): Likewise.
12583 (BUS_ADRALN): Likewise.
12584 (BUS_ADRERR): Likewise.
12585 (BUS_OBJERR): Likewise.
12586 (BUS_MCEERR_AR): Likewise.
12587 (BUS_MCEERR_AO): Likewise.
12588 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12589 (TRAP_TRACE): Likewise.
12590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12591 __USE_XOPEN2K8].
12592 (CLD_KILLED): Likewise.
12593 (CLD_DUMPED): Likewise.
12594 (CLD_TRAPPED): Likewise.
12595 (CLD_STOPPED): Likewise.
12596 (CLD_CONTINUED): Likewise.
12597 (POLL_IN): Likewise.
12598 (POLL_OUT): Likewise.
12599 (POLL_MSG): Likewise.
12600 (POLL_ERR): Likewise.
12601 (POLL_PRI): Likewise.
12602 (POLL_HUP): Likewise.
12603 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12604 Likewise.
12605 (ILL_ILLOPN): Likewise.
12606 (ILL_ILLADR): Likewise.
12607 (ILL_ILLTRP): Likewise.
12608 (ILL_PRVOPC): Likewise.
12609 (ILL_PRVREG): Likewise.
12610 (ILL_COPROC): Likewise.
12611 (ILL_BADSTK): Likewise.
12612 (ILL_BADIADDR): Likewise.
12613 (ILL_BREAK): Likewise.
12614 (FPE_INTDIV): Likewise.
12615 (FPE_INTOVF): Likewise.
12616 (FPE_FLTDIV): Likewise.
12617 (FPE_FLTOVF): Likewise.
12618 (FPE_FLTUND): Likewise.
12619 (FPE_FLTRES): Likewise.
12620 (FPE_FLTINV): Likewise.
12621 (FPE_FLTSUB): Likewise.
12622 (FPE_DECOVF): Likewise.
12623 (FPE_DECDIV): Likewise.
12624 (FPE_DECERR): Likewise.
12625 (FPE_INVASC): Likewise.
12626 (FPE_INVDEC): Likewise.
12627 (SEGV_MAPERR): Likewise.
12628 (SEGV_ACCERR): Likewise.
12629 (SEGV_PSTKOVF): Likewise.
12630 (BUS_ADRALN): Likewise.
12631 (BUS_ADRERR): Likewise.
12632 (BUS_OBJERR): Likewise.
12633 (BUS_MCEERR_AR): Likewise.
12634 (BUS_MCEERR_AO): Likewise.
12635 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12636 (TRAP_TRACE): Likewise.
12637 (TRAP_BRANCH): Likewise.
12638 (TRAP_HWBKPT): Likewise.
12639 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12640 __USE_XOPEN2K8].
12641 (CLD_KILLED): Likewise.
12642 (CLD_DUMPED): Likewise.
12643 (CLD_TRAPPED): Likewise.
12644 (CLD_STOPPED): Likewise.
12645 (CLD_CONTINUED): Likewise.
12646 (POLL_IN): Likewise.
12647 (POLL_OUT): Likewise.
12648 (POLL_MSG): Likewise.
12649 (POLL_ERR): Likewise.
12650 (POLL_PRI): Likewise.
12651 (POLL_HUP): Likewise.
12652 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12653 (ILL_ILLOPN): Likewise.
12654 (ILL_ILLADR): Likewise.
12655 (ILL_ILLTRP): Likewise.
12656 (ILL_PRVOPC): Likewise.
12657 (ILL_PRVREG): Likewise.
12658 (ILL_COPROC): Likewise.
12659 (ILL_BADSTK): Likewise.
12660 (FPE_INTDIV): Likewise.
12661 (FPE_INTOVF): Likewise.
12662 (FPE_FLTDIV): Likewise.
12663 (FPE_FLTOVF): Likewise.
12664 (FPE_FLTUND): Likewise.
12665 (FPE_FLTRES): Likewise.
12666 (FPE_FLTINV): Likewise.
12667 (FPE_FLTSUB): Likewise.
12668 (SEGV_MAPERR): Likewise.
12669 (SEGV_ACCERR): Likewise.
12670 (BUS_ADRALN): Likewise.
12671 (BUS_ADRERR): Likewise.
12672 (BUS_OBJERR): Likewise.
12673 (BUS_MCEERR_AR): Likewise.
12674 (BUS_MCEERR_AO): Likewise.
12675 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12676 (TRAP_TRACE): Likewise.
12677 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12678 __USE_XOPEN2K8].
12679 (CLD_KILLED): Likewise.
12680 (CLD_DUMPED): Likewise.
12681 (CLD_TRAPPED): Likewise.
12682 (CLD_STOPPED): Likewise.
12683 (CLD_CONTINUED): Likewise.
12684 (POLL_IN): Likewise.
12685 (POLL_OUT): Likewise.
12686 (POLL_MSG): Likewise.
12687 (POLL_ERR): Likewise.
12688 (POLL_PRI): Likewise.
12689 (POLL_HUP): Likewise.
12690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12691 (ILL_ILLOPN): Likewise.
12692 (ILL_ILLADR): Likewise.
12693 (ILL_ILLTRP): Likewise.
12694 (ILL_PRVOPC): Likewise.
12695 (ILL_PRVREG): Likewise.
12696 (ILL_COPROC): Likewise.
12697 (ILL_BADSTK): Likewise.
12698 (FPE_INTDIV): Likewise.
12699 (FPE_INTOVF): Likewise.
12700 (FPE_FLTDIV): Likewise.
12701 (FPE_FLTOVF): Likewise.
12702 (FPE_FLTUND): Likewise.
12703 (FPE_FLTRES): Likewise.
12704 (FPE_FLTINV): Likewise.
12705 (FPE_FLTSUB): Likewise.
12706 (SEGV_MAPERR): Likewise.
12707 (SEGV_ACCERR): Likewise.
12708 (BUS_ADRALN): Likewise.
12709 (BUS_ADRERR): Likewise.
12710 (BUS_OBJERR): Likewise.
12711 (BUS_MCEERR_AR): Likewise.
12712 (BUS_MCEERR_AO): Likewise.
12713 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12714 (TRAP_TRACE): Likewise.
12715 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12716 __USE_XOPEN2K8].
12717 (CLD_KILLED): Likewise.
12718 (CLD_DUMPED): Likewise.
12719 (CLD_TRAPPED): Likewise.
12720 (CLD_STOPPED): Likewise.
12721 (CLD_CONTINUED): Likewise.
12722 (POLL_IN): Likewise.
12723 (POLL_OUT): Likewise.
12724 (POLL_MSG): Likewise.
12725 (POLL_ERR): Likewise.
12726 (POLL_PRI): Likewise.
12727 (POLL_HUP): Likewise.
12728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12729 (ILL_ILLOPN): Likewise.
12730 (ILL_ILLADR): Likewise.
12731 (ILL_ILLTRP): Likewise.
12732 (ILL_PRVOPC): Likewise.
12733 (ILL_PRVREG): Likewise.
12734 (ILL_COPROC): Likewise.
12735 (ILL_BADSTK): Likewise.
12736 (FPE_INTDIV): Likewise.
12737 (FPE_INTOVF): Likewise.
12738 (FPE_FLTDIV): Likewise.
12739 (FPE_FLTOVF): Likewise.
12740 (FPE_FLTUND): Likewise.
12741 (FPE_FLTRES): Likewise.
12742 (FPE_FLTINV): Likewise.
12743 (FPE_FLTSUB): Likewise.
12744 (SEGV_MAPERR): Likewise.
12745 (SEGV_ACCERR): Likewise.
12746 (BUS_ADRALN): Likewise.
12747 (BUS_ADRERR): Likewise.
12748 (BUS_OBJERR): Likewise.
12749 (BUS_MCEERR_AR): Likewise.
12750 (BUS_MCEERR_AO): Likewise.
12751 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12752 (TRAP_TRACE): Likewise.
12753 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12754 __USE_XOPEN2K8].
12755 (CLD_KILLED): Likewise.
12756 (CLD_DUMPED): Likewise.
12757 (CLD_TRAPPED): Likewise.
12758 (CLD_STOPPED): Likewise.
12759 (CLD_CONTINUED): Likewise.
12760 (POLL_IN): Likewise.
12761 (POLL_OUT): Likewise.
12762 (POLL_MSG): Likewise.
12763 (POLL_ERR): Likewise.
12764 (POLL_PRI): Likewise.
12765 (POLL_HUP): Likewise.
12766 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12767 (ILL_ILLOPN): Likewise.
12768 (ILL_ILLADR): Likewise.
12769 (ILL_ILLTRP): Likewise.
12770 (ILL_PRVOPC): Likewise.
12771 (ILL_PRVREG): Likewise.
12772 (ILL_COPROC): Likewise.
12773 (ILL_BADSTK): Likewise.
12774 (ILL_DBLFLT): Likewise.
12775 (ILL_HARDWALL): Likewise.
12776 (FPE_INTDIV): Likewise.
12777 (FPE_INTOVF): Likewise.
12778 (FPE_FLTDIV): Likewise.
12779 (FPE_FLTOVF): Likewise.
12780 (FPE_FLTUND): Likewise.
12781 (FPE_FLTRES): Likewise.
12782 (FPE_FLTINV): Likewise.
12783 (FPE_FLTSUB): Likewise.
12784 (SEGV_MAPERR): Likewise.
12785 (SEGV_ACCERR): Likewise.
12786 (BUS_ADRALN): Likewise.
12787 (BUS_ADRERR): Likewise.
12788 (BUS_OBJERR): Likewise.
12789 (BUS_MCEERR_AR): Likewise.
12790 (BUS_MCEERR_AO): Likewise.
12791 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12792 (TRAP_TRACE): Likewise.
12793 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12794 __USE_XOPEN2K8].
12795 (CLD_KILLED): Likewise.
12796 (CLD_DUMPED): Likewise.
12797 (CLD_TRAPPED): Likewise.
12798 (CLD_STOPPED): Likewise.
12799 (CLD_CONTINUED): Likewise.
12800 (POLL_IN): Likewise.
12801 (POLL_OUT): Likewise.
12802 (POLL_MSG): Likewise.
12803 (POLL_ERR): Likewise.
12804 (POLL_PRI): Likewise.
12805 (POLL_HUP): Likewise.
12806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12807 (ILL_ILLOPN): Likewise.
12808 (ILL_ILLADR): Likewise.
12809 (ILL_ILLTRP): Likewise.
12810 (ILL_PRVOPC): Likewise.
12811 (ILL_PRVREG): Likewise.
12812 (ILL_COPROC): Likewise.
12813 (ILL_BADSTK): Likewise.
12814 (FPE_INTDIV): Likewise.
12815 (FPE_INTOVF): Likewise.
12816 (FPE_FLTDIV): Likewise.
12817 (FPE_FLTOVF): Likewise.
12818 (FPE_FLTUND): Likewise.
12819 (FPE_FLTRES): Likewise.
12820 (FPE_FLTINV): Likewise.
12821 (FPE_FLTSUB): Likewise.
12822 (SEGV_MAPERR): Likewise.
12823 (SEGV_ACCERR): Likewise.
12824 (BUS_ADRALN): Likewise.
12825 (BUS_ADRERR): Likewise.
12826 (BUS_OBJERR): Likewise.
12827 (BUS_MCEERR_AR): Likewise.
12828 (BUS_MCEERR_AO): Likewise.
12829 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12830 (TRAP_TRACE): Likewise.
12831 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12832 __USE_XOPEN2K8].
12833 (CLD_KILLED): Likewise.
12834 (CLD_DUMPED): Likewise.
12835 (CLD_TRAPPED): Likewise.
12836 (CLD_STOPPED): Likewise.
12837 (CLD_CONTINUED): Likewise.
12838 (POLL_IN): Likewise.
12839 (POLL_OUT): Likewise.
12840 (POLL_MSG): Likewise.
12841 (POLL_ERR): Likewise.
12842 (POLL_PRI): Likewise.
12843 (POLL_HUP): Likewise.
12844 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12845 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12846
bc61d27c
JM
12847 [BZ #16670]
12848 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12849 before #include of <time.h>.
12850 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12851 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12852 (test-xfail-UNIX98/sched.h/conform): Likewise.
12853
302949e2
MS
128542014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12855
12856 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12857 error absence of trapping exception support.
12858 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12859
a00f522a
JM
128602014-03-07 Joseph Myers <joseph@codesourcery.com>
12861
6f99f280
JM
12862 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12863 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12864 * timezone/Makefile (testdata): Move definition above include of
12865 Rules.
12866 (test-zones): New variable.
12867 (tests-special): Add zone files.
12868 (build-testdata): Use $(evaluate-test).
12869
0b20a9e8
JM
12870 * elf/Makefile (tests-special): Rename tests to end with .out.
12871 ($(objpfx)noload-mem): Likewise.
12872 ($(objpfx)tst-leaks1-mem): Likewise.
12873 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12874 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12875 $(objpfx)test-iconvconfig.out.
12876 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12877 set -e inside subshell and redirect output to file.
12878 * iconvdata/Makefile (generated): Rename tests to end with .out.
12879 Correct type.
12880 (tests-special): Rename tests to end with .out.
12881 ($(objpfx)mtrace-tst-loading): Likewise.
12882 * intl/Makefile (generated): Likewise.
12883 (tests-special): Likewise.
12884 ($(objpfx)mtrace-tst-gettext): Likewise.
12885 * misc/Makefile (generated): Likewise.
12886 (tests-special): Likewise.
12887 ($(objpfx)tst-error1-mem): Likewise.
12888 * nptl/Makefile (tests-special): Likewise.
12889 ($(objpfx)tst-stack3-mem): Likewise.
12890 (generated): Likewise.
12891 * posix/Makefile (generated): Likewise.
12892 (tests-special): Likewise.
12893 (xtests-special): Likewise.
12894 ($(objpfx)tst-fnmatch-mem): Likewise.
12895 ($(objpfx)bug-regex2-mem): Likewise.
12896 ($(objpfx)bug-regex14-mem): Likewise.
12897 ($(objpfx)bug-regex21-mem): Likewise.
12898 ($(objpfx)bug-regex31-mem): Likewise.
12899 ($(objpfx)tst-vfork3-mem): Likewise.
12900 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12901 ($(objpfx)tst-pcre-mem): Likewise.
12902 ($(objpfx)tst-boost-mem): Likewise.
12903 ($(objpfx)bug-ga2-mem): Likewise.
12904 ($(objpfx)bug-glob2-mem): Likewise.
12905 * resolv/Makefile (generate): Likewise.
12906 (tests-special): Likewise.
12907 (xtests-special): Likewise.
12908 (generated): Likewise.
12909 ($(objpfx)mtrace-tst-leaks): Likewise.
12910 ($(objpfx)mtrace-tst-leaks2): Likewise.
12911
265d52ab
JM
12912 * scripts/merge-test-results.sh: New file.
12913 * Makefile (tests-special-notdir): New variable.
12914 (tests): Run merge-test-results.sh.
12915 (xtests): Likewise.
12916 * Rules (tests-special-notdir): New variable.
12917 (xtests-special-notdir): Likewise.
12918 (tests): Run merge-test-results.sh
12919 (xtests): Likewise.
12920
54ee292d
JM
12921 * Makeconfig (test-xfail-name): New variable.
12922 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12923 compute variable name for expected failures.
12924 * conform/Makefile (conformtest-headers-data): New variable.
12925 (conformtest-standards): Likewise.
12926 (conformtest-headers-ISO): Likewise.
12927 (conformtest-headers-ISO99): Likewise.
12928 (conformtest-headers-ISO11): Likewise.
12929 (conformtest-headers-POSIX): Likewise.
12930 (conformtest-headers-XPG3): Likewise.
12931 (conformtest-headers-XPG4): Likewise.
12932 (conformtest-headers-UNIX98): Likewise.
12933 (conformtest-headers-XOPEN2K): Likewise.
12934 (conformtest-headers-POSIX2008): Likewise.
12935 (conformtest-headers-XOPEN2K8): Likewise.
12936 (conformtest-header-list-base): Likewise.
12937 (conformtest-header-list-tests): Likewise.
12938 (conformtest-header-base): Likewise.
12939 (conformtest-header-tests): Likewise.
12940 (tests-special): Add $(conformtest-header-list-tests). If
12941 [$(fast-check) && !$(cross-compiling)], add
12942 $(conformtest-header-tests) instead of
12943 $(objpfx)run-conformtest.out.
12944 (generated): Add $(conformtest-header-list-base). If
12945 [$(fast-check) && !$(cross-compiling)], add
12946 $(conformtest-header-base). Remove previous setting.
12947 ($(conformtest-header-list-tests)): New target.
12948 (test-xfail-run-conformtest): Remove variable.
12949 ($(objpfx)run-conformtest.out): Remove target.
12950 (test-xfail-ISO11/complex.h/conform): New variable.
12951 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12952 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12953 (test-xfail-XPG3/varargs.h/conform): Likewise.
12954 (test-xfail-XPG4/varargs.h/conform): Likewise.
12955 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12956 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12957 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12958 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12959 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12960 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12961 (test-xfail-XPG3/ftw.h/conform): Likewise.
12962 (test-xfail-XPG3/grp.h/conform): Likewise.
12963 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12964 (test-xfail-XPG3/limits.h/conform): Likewise.
12965 (test-xfail-XPG3/pwd.h/conform): Likewise.
12966 (test-xfail-XPG3/search.h/conform): Likewise.
12967 (test-xfail-XPG3/signal.h/conform): Likewise.
12968 (test-xfail-XPG3/stdio.h/conform): Likewise.
12969 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12970 (test-xfail-XPG3/string.h/conform): Likewise.
12971 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12972 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12973 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12974 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12975 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12976 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12977 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12978 (test-xfail-XPG3/termios.h/conform): Likewise.
12979 (test-xfail-XPG3/time.h/conform): Likewise.
12980 (test-xfail-XPG3/unistd.h/conform): Likewise.
12981 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12982 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12983 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12984 (test-xfail-XPG4/netdb.h/conform): Likewise.
12985 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12986 (test-xfail-XPG4/signal.h/conform): Likewise.
12987 (test-xfail-XPG4/stdio.h/conform): Likewise.
12988 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12989 (test-xfail-XPG4/stropts.h/conform): Likewise.
12990 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12991 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12992 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12993 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12994 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12995 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12996 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12997 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12998 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12999 (test-xfail-XPG4/termios.h/conform): Likewise.
13000 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13001 (test-xfail-XPG4/unistd.h/conform): Likewise.
13002 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13003 (test-xfail-POSIX/sched.h/conform): Likewise.
13004 (test-xfail-POSIX/signal.h/conform): Likewise.
13005 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13006 (test-xfail-POSIX/tar.h/conform): Likewise.
13007 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13008 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13009 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13010 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13011 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13012 (test-xfail-UNIX98/sched.h/conform): Likewise.
13013 (test-xfail-UNIX98/signal.h/conform): Likewise.
13014 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13015 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13016 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13017 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13018 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13019 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13020 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13021 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13022 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13023 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13024 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13025 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13026 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13027 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13028 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13029 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13030 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13031 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13032 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13033 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13034 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13035 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13036 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13037 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13038 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13039 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13040 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13041 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13042 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13043 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13044 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13045 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13046 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13047 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13048 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13049 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13050 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13051 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13052 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13053 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13054 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13055 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13056 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13057 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13058 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13059 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13060 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13061 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13062 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13063 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13064 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13065 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13066 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13067 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13068 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13069 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13070 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13071 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13072 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13073 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13074 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13075 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13076 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13077 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13078 (conformtest-cc-flags): Likewise.
13079 ($(conformtest-header-tests): New target.
13080 * conform/check-header-lists.sh: New file.
13081 * conform/run-conformtest.sh: Remove.
13082
a00f522a
JM
13083 * conform/conformtest.pl: Allow ' and \ in values given for
13084 constants.
13085 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13086 inclusion.
13087 [POSIX] (sys/types.h): Likewise.
13088 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13089 inclusion.
13090 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13091 inclusion.
13092 * conform/data/signal.h-data (SIGIO): Remove expectation.
13093 [XPG3] (SIGBUS): Do not expect.
13094 [POSIX || XPG3] (SIGPOLL): Likewise.
13095 [POSIX || XPG3] (SIGPROF): Likewise.
13096 [POSIX || XPG3] (SIGSYS): Likewise.
13097 [XPG3] (SIGTRAP): Likewise.
13098 [POSIX || XPG3] (SIGURG): Likewise.
13099 [POSIX || XPG3] (SIGVTALRM): Likewise.
13100 [POSIX || XPG3] (SIGXCPU): Likewise.
13101 [POSIX || XPG3] (SIGXFSZ): Likewise.
13102 [POSIX] (SA_SIGINFO): Expect.
13103 [XPG3] (siginfo_t): Do not expect type or contents.
13104 [POSIX] (si_pid): Do not expect element.
13105 [POSIX] (si_uid): Likewise.
13106 [POSIX] (si_addr): Likewise.
13107 [POSIX] (si_status): Likewise.
13108 [POSIX] (si_band): Likewise.
13109 [XPG4] (si_value): Likewise.
13110 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13111 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13112 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13113 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13114 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13115 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13116 [POSIX || XPG3] (ILL_COPROC): Likewise.
13117 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13118 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13119 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13120 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13121 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13122 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13123 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13124 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13125 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13126 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13127 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13128 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13129 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13130 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13131 [POSIX || XPG3] (CLD_EXITED): Likewise.
13132 [POSIX || XPG3] (CLD_KILLED): Likewise.
13133 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13134 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13135 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13136 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13137 [POSIX || XPG3] (POLL_IN): Likewise.
13138 [POSIX || XPG3] (POLL_OUT): Likewise.
13139 [POSIX || XPG3] (POLL_MSG): Likewise.
13140 [POSIX || XPG3] (POLL_ERR): Likewise.
13141 [POSIX || XPG3] (POLL_PRI): Likewise.
13142 [POSIX || XPG3] (POLL_HUP): Likewise.
13143 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13144 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13145 (SIG*): Do not allow.
13146 [XPG3] (si_*): Likewise.
13147 [XPG3] (SI_*): Likewise.
13148 [XPG3 || XPG4] (sigev_*): Likewise.
13149 [XPG3 || XPG4] (SIGEV_*): Likewise.
13150 [XPG3 || XPG4] (sival_*): Likewise.
13151 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13152 [POSIX || XPG3] (BUS_*): Likewise.
13153 [POSIX || XPG3] (CLD_*): Likewise.
13154 [POSIX || XPG3] (FPE_*): Likewise.
13155 [POSIX || XPG3] (ILL_*): Likewise.
13156 [POSIX || XPG3] (POLL_*): Likewise.
13157 [POSIX || XPG3] (SEGV_*): Likewise.
13158 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13159 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13160 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13161 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13162 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13163 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13164 Specify type and value.
13165 (TVERSLEN): Likewise.
13166 (REGTYPE): Likewise.
13167 (AREGTYPE): Likewise.
13168 (LNKTYPE): Likewise.
13169 (SYMTYPE): Likewise.
13170 (CHRTYPE): Likewise.
13171 (BLKTYPE): Likewise.
13172 (DIRTYPE): Likewise.
13173 (FIFOTYPE): Likewise.
13174 (CONTTYPE): Likewise.
13175 (TSUID): Likewise.
13176 (TSGID): Likewise.
13177 (TSVTX): Likewise.
13178 (TUREAD): Likewise.
13179 (TUWRITE): Likewise.
13180 (TUEXEC): Likewise.
13181 (TGREAD): Likewise.
13182 (TGWRITE): Likewise.
13183 (TGEXEC): Likewise.
13184 (TOREAD): Likewise.
13185 (TOWRITE): Likewise.
13186 (TOEXEC): Likewise.
13187 [POSIX] (TSVTX): Expect constant.
13188
aa97dee1
JM
131892014-03-06 Joseph Myers <joseph@codesourcery.com>
13190
f214606a
JM
13191 * Makefile (tests): Change dependencies to ....
13192 (tests-special): ... additions to this variable.
13193 (tests): Depend on $(tests-special).
13194 * Makerules (check-abi-list): New variable.
13195 (check-abi): Depend on $(check-abi-list).
13196 [$(subdir) = elf] (tests-special): Add
13197 $(objpfx)check-abi-libc.out.
13198 [$(build-shared) = yes && subdir] (tests-special): Add
13199 $(check-abi-list).
13200 [$(build-shared) = yes && subdir] (tests): Do not depend on
13201 check-abi.
13202 * Rules (tests): Depend on $(tests-special).
13203 (xtests): Depend on $(xtests-special).
13204 * catgets/Makefile (tests): Change dependencies to ....
13205 (tests-special): ... additions to this variable.
13206 * conform/Makefile (tests): Change dependencies to ....
13207 (tests-special): ... additions to this variable.
13208 * elf/Makefile (tests): Change dependencies to ....
13209 (tests-special): ... additions to this variable.
13210 * grp/Makefile (tests): Change dependencies to ....
13211 (tests-special): ... additions to this variable.
13212 * iconv/Makefile (xtests): Change dependencies to ....
13213 (xtests-special): ... additions to this variable.
13214 * iconvdata/Makefile (tests): Change dependencies to ....
13215 (tests-special): ... additions to this variable.
13216 * intl/Makefile (tests): Change dependencies to ....
13217 (tests-special): ... additions to this variable. Also add
13218 $(objpfx)tst-gettext.out.
13219 * io/Makefile (tests): Change dependencies to ....
13220 (tests-special): ... additions to this variable.
13221 * libio/Makefile (tests): Change dependencies to ....
13222 (tests-special): ... additions to this variable.
13223 * malloc/Makefile (tests): Change dependencies to ....
13224 (tests-special): ... additions to this variable.
13225 * misc/Makefile (tests): Change dependencies to ....
13226 (tests-special): ... additions to this variable.
13227 * nptl/Makefile (tests): Change dependencies to ....
13228 (tests-special): ... additions to this variable.
13229 * nptl_db/Makefile (tests): Change dependencies to ....
13230 (tests-special): ... additions to this variable.
13231 * posix/Makefile (tests): Change dependencies to ....
13232 (tests-special): ... additions to this variable.
13233 (xtests): Change dependencies to ....
13234 (xtests-special): ... additions to this variable.
13235 * resolv/Makefile (tests): Change dependencies to ....
13236 (tests-special): ... additions to this variable.
13237 (xtests): Change dependencies to ....
13238 (xtests-special): ... additions to this variable.
13239 * stdio-common/Makefile (tests): Change dependencies to ....
13240 (tests-special): ... additions to this variable.
13241 (do-tst-unbputc): Remove target.
13242 (do-tst-printf): Likewise.
13243 * stdlib/Makefile (tests): Change dependencies to ....
13244 (tests-special): ... additions to this variable.
13245 * string/Makefile (tests): Change dependencies to ....
13246 (tests-special): ... additions to this variable.
13247 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13248 (tests-special): ... additions to this variable.
13249
81700b53
JM
13250 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13251 whole file.
13252 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13253 whole file.
13254 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13255 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13256
2ea18461
JM
13257 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13258 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13259 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13260 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13261 * conform/data/libgen.h-data [XPG3]: Likewise.
13262 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13263 * conform/data/ndbm.h-data [XPG3]: Likewise.
13264 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13265 * conform/data/netdb.h-data [XPG3]: Likewise.
13266 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13267 * conform/data/poll.h-data [XPG3]: Likewise.
13268 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13269 * conform/data/strings.h-data [XPG3]: Likewise.
13270 * conform/data/stropts.h-data [XPG3]: Likewise.
13271 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13272 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13273 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13274 Likewise.
13275 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13276 * conform/data/sys/time.h-data [XPG3]: Likewise.
13277 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13278 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13279 * conform/data/sys/un.h-data [XPG3]: Likewise.
13280 * conform/data/syslog.h-data [XPG3]: Likewise.
13281 * conform/data/ucontext.h-data [XPG3]: Likewise.
13282 * conform/data/utmpx.h-data [XPG3]: Likewise.
13283 * conform/data/varargs.h-data [UNIX98]: Enable file.
13284
355bc986
JM
13285 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13286
215db402
JM
13287 * math/libm-test.inc (struct test_f_f_data): Move expected results
13288 into structure for each rounding mode.
13289 (struct test_ff_f_data): Likewise.
13290 (struct test_ff_f_data_nexttoward): Likewise.
13291 (struct test_fi_f_data): Likewise.
13292 (struct test_fl_f_data): Likewise.
13293 (struct test_if_f_data): Likewise.
13294 (struct test_fff_f_data): Likewise.
13295 (struct test_c_f_data): Likewise.
13296 (struct test_f_f1_data): Likewise.
13297 (struct test_fF_f1_data): Likewise.
13298 (struct test_ffI_f1_data): Likewise.
13299 (struct test_c_c_data): Likewise.
13300 (struct test_cc_c_data): Likewise.
13301 (struct test_f_i_data): Likewise.
13302 (struct test_ff_i_data): Likewise.
13303 (struct test_f_l_data): Likewise.
13304 (struct test_f_L_data): Likewise.
13305 (struct test_fFF_11_data): Likewise.
13306 (RM_): New macro.
13307 (RM_FE_DOWNWARD): Likewise.
13308 (RM_FE_TONEAREST): Likewise.
13309 (RM_FE_TOWARDZERO): Likewise.
13310 (RM_FE_UPWARD): Likewise.
13311 (RUN_TEST_LOOP_f_f): Update references to expected results.
13312 (RUN_TEST_LOOP_2_f): Likewise.
13313 (RUN_TEST_LOOP_fff_f): Likewise.
13314 (RUN_TEST_LOOP_c_f): Likewise.
13315 (RUN_TEST_LOOP_f_f1): Likewise.
13316 (RUN_TEST_LOOP_fF_f1): Likewise.
13317 (RUN_TEST_LOOP_fI_f1): Likewise.
13318 (RUN_TEST_LOOP_ffI_f1): Likewise.
13319 (RUN_TEST_LOOP_c_c): Likewise.
13320 (RUN_TEST_LOOP_cc_c): Likewise.
13321 (RUN_TEST_LOOP_f_i): Likewise.
13322 (RUN_TEST_LOOP_f_i_tg): Likewise.
13323 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13324 (RUN_TEST_LOOP_f_b): Likewise.
13325 (RUN_TEST_LOOP_f_b_tg): Likewise.
13326 (RUN_TEST_LOOP_f_l): Likewise.
13327 (RUN_TEST_LOOP_f_L): Likewise.
13328 (RUN_TEST_LOOP_fFF_11): Likewise.
13329 * math/gen-libm-test.pl (parse_args): Output four copies of
13330 expected results for each test.
13331
67737b8f
JM
13332 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13333 (__ASSUME_UTIMES): Remove.
13334 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13335 (__ASSUME_UTIMES): Likewise.
13336
aa97dee1
JM
13337 * math/gen-auto-libm-tests.c: Update comment on output format.
13338 (output_for_one_input_case): Generate before-rounding and
13339 after-rounding information as conditions on output flags not
13340 floating-point format.
13341 * math/auto-libm-test-out: Regenerated.
13342 * math/gen-libm-test.pl (cond_value): New function.
13343 (or_cond_value): Use cond_value.
13344 (generate_testfile): Handle conditional exceptions.
13345
e6b6a857
JM
133462014-03-05 Joseph Myers <joseph@codesourcery.com>
13347
2f0a0f44
JM
13348 * math/libm-test.inc (max_valid_error): New variable.
13349 (init_max_error): Take new argument specifying whether function
13350 results are exactly determined. Set max_valid_error and bound
13351 other variables for errors based on this argument.
13352 (set_max_error): Do not record results above max_valid_error.
13353 (check_float_internal): Only accept errors of up to 0.5ulps if
13354 also at most max_valid_error.
13355 (START): Take new argument EXACT and pass it to init_max_error.
13356 (acos_test): Update call to START.
13357 (acos_test_tonearest): Likewise.
13358 (acos_test_towardzero): Likewise.
13359 (acos_test_downward): Likewise.
13360 (acos_test_upward): Likewise.
13361 (acosh_test): Likewise.
13362 (asin_test): Likewise.
13363 (asin_test_tonearest): Likewise.
13364 (asin_test_towardzero): Likewise.
13365 (asin_test_downward): Likewise.
13366 (asin_test_upward): Likewise.
13367 (asinh_test): Likewise.
13368 (atan_test): Likewise.
13369 (atanh_test): Likewise.
13370 (atan2_test): Likewise.
13371 (cabs_test): Likewise.
13372 (cacos_test): Likewise.
13373 (cacosh_test): Likewise.
13374 (carg_test): Likewise.
13375 (casin_test): Likewise.
13376 (casinh_test): Likewise.
13377 (catan_test): Likewise.
13378 (catanh_test): Likewise.
13379 (cbrt_test): Likewise.
13380 (ccos_test): Likewise.
13381 (ccosh_test): Likewise.
13382 (ceil_test): Likewise.
13383 (cexp_test): Likewise.
13384 (cimag_test): Likewise.
13385 (clog_test): Likewise.
13386 (clog10_test): Likewise.
13387 (conj_test): Likewise.
13388 (copysign_test): Likewise.
13389 (cos_test): Likewise.
13390 (cos_test_tonearest): Likewise.
13391 (cos_test_towardzero): Likewise.
13392 (cos_test_downward): Likewise.
13393 (cos_test_upward): Likewise.
13394 (cosh_test): Likewise.
13395 (cosh_test_tonearest): Likewise.
13396 (cosh_test_towardzero): Likewise.
13397 (cosh_test_downward): Likewise.
13398 (cosh_test_upward): Likewise.
13399 (cpow_test): Likewise.
13400 (cproj_test): Likewise.
13401 (creal_test): Likewise.
13402 (csin_test): Likewise.
13403 (csinh_test): Likewise.
13404 (csqrt_test): Likewise.
13405 (ctan_test): Likewise.
13406 (ctan_test_tonearest): Likewise.
13407 (ctan_test_towardzero): Likewise.
13408 (ctan_test_downward): Likewise.
13409 (ctan_test_upward): Likewise.
13410 (ctanh_test): Likewise.
13411 (ctanh_test_tonearest): Likewise.
13412 (ctanh_test_towardzero): Likewise.
13413 (ctanh_test_downward): Likewise.
13414 (ctanh_test_upward): Likewise.
13415 (erf_test): Likewise.
13416 (erfc_test): Likewise.
13417 (exp_test): Likewise.
13418 (exp_test_tonearest): Likewise.
13419 (exp_test_towardzero): Likewise.
13420 (exp_test_downward): Likewise.
13421 (exp_test_upward): Likewise.
13422 (exp10_test): Likewise.
13423 (exp10_test_tonearest): Likewise.
13424 (exp10_test_towardzero): Likewise.
13425 (exp10_test_downward): Likewise.
13426 (exp10_test_upward): Likewise.
13427 (pow10_test): Likewise.
13428 (exp2_test): Likewise.
13429 (expm1_test): Likewise.
13430 (expm1_test_tonearest): Likewise.
13431 (expm1_test_towardzero): Likewise.
13432 (expm1_test_downward): Likewise.
13433 (expm1_test_upward): Likewise.
13434 (fabs_test): Likewise.
13435 (fdim_test): Likewise.
13436 (floor_test): Likewise.
13437 (fma_test): Likewise.
13438 (fma_test_towardzero): Likewise.
13439 (fma_test_downward): Likewise.
13440 (fma_test_upward): Likewise.
13441 (fmax_test): Likewise.
13442 (fmin_test): Likewise.
13443 (fmod_test): Likewise.
13444 (fpclassify_test): Likewise.
13445 (frexp_test): Likewise.
13446 (hypot_test): Likewise.
13447 (ilogb_test): Likewise.
13448 (isfinite_test): Likewise.
13449 (finite_test): Likewise.
13450 (isgreater_test): Likewise.
13451 (isgreaterequal_test): Likewise.
13452 (isinf_test): Likewise.
13453 (isless_test): Likewise.
13454 (islessequal_test): Likewise.
13455 (islessgreater_test): Likewise.
13456 (isnan_test): Likewise.
13457 (isnormal_test): Likewise.
13458 (issignaling_test): Likewise.
13459 (isunordered_test): Likewise.
13460 (j0_test): Likewise.
13461 (j1_test): Likewise.
13462 (jn_test): Likewise.
13463 (ldexp_test): Likewise.
13464 (lgamma_test): Likewise.
13465 (gamma_test): Likewise.
13466 (lrint_test): Likewise.
13467 (lrint_test_tonearest): Likewise.
13468 (lrint_test_towardzero): Likewise.
13469 (lrint_test_downward): Likewise.
13470 (lrint_test_upward): Likewise.
13471 (llrint_test): Likewise.
13472 (llrint_test_tonearest): Likewise.
13473 (llrint_test_towardzero): Likewise.
13474 (llrint_test_downward): Likewise.
13475 (llrint_test_upward): Likewise.
13476 (log_test): Likewise.
13477 (log10_test): Likewise.
13478 (log1p_test): Likewise.
13479 (log2_test): Likewise.
13480 (logb_test): Likewise.
13481 (logb_test_downward): Likewise.
13482 (lround_test): Likewise.
13483 (llround_test): Likewise.
13484 (modf_test): Likewise.
13485 (nearbyint_test): Likewise.
13486 (nextafter_test): Likewise.
13487 (nexttoward_test): Likewise.
13488 (pow_test): Likewise.
13489 (pow_test_tonearest): Likewise.
13490 (pow_test_towardzero): Likewise.
13491 (pow_test_downward): Likewise.
13492 (pow_test_upward): Likewise.
13493 (remainder_test): Likewise.
13494 (drem_test): Likewise.
13495 (remainder_test_tonearest): Likewise.
13496 (drem_test_tonearest): Likewise.
13497 (remainder_test_towardzero): Likewise.
13498 (drem_test_towardzero): Likewise.
13499 (remainder_test_downward): Likewise.
13500 (drem_test_downward): Likewise.
13501 (remainder_test_upward): Likewise.
13502 (drem_test_upward): Likewise.
13503 (remquo_test): Likewise.
13504 (rint_test): Likewise.
13505 (rint_test_tonearest): Likewise.
13506 (rint_test_towardzero): Likewise.
13507 (rint_test_downward): Likewise.
13508 (rint_test_upward): Likewise.
13509 (round_test): Likewise.
13510 (scalb_test): Likewise.
13511 (scalbn_test): Likewise.
13512 (scalbln_test): Likewise.
13513 (signbit_test): Likewise.
13514 (sin_test): Likewise.
13515 (sin_test_tonearest): Likewise.
13516 (sin_test_towardzero): Likewise.
13517 (sin_test_downward): Likewise.
13518 (sin_test_upward): Likewise.
13519 (sincos_test): Likewise.
13520 (sinh_test): Likewise.
13521 (sinh_test_tonearest): Likewise.
13522 (sinh_test_towardzero): Likewise.
13523 (sinh_test_downward): Likewise.
13524 (sinh_test_upward): Likewise.
13525 (sqrt_test): Likewise.
13526 (sqrt_test_tonearest): Likewise.
13527 (sqrt_test_towardzero): Likewise.
13528 (sqrt_test_downward): Likewise.
13529 (sqrt_test_upward): Likewise.
13530 (tan_test): Likewise.
13531 (tan_test_tonearest): Likewise.
13532 (tan_test_towardzero): Likewise.
13533 (tan_test_downward): Likewise.
13534 (tan_test_upward): Likewise.
13535 (tanh_test): Likewise.
13536 (tgamma_test): Likewise.
13537 (trunc_test): Likewise.
13538 (y0_test): Likewise.
13539 (y1_test): Likewise.
13540 (yn_test): Likewise.
13541 (significand_test): Likewise.
13542
e6b6a857
JM
13543 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13544 individual tests in comment.
13545 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13546 (prev_max_error): New variable.
13547 (prev_real_max_error): Likewise.
13548 (prev_imag_max_error): Likewise.
13549 (compare_ulp_data): Don't refer to test names in comment.
13550 (find_test_ulps): Remove function.
13551 (find_function_ulps): Likewise.
13552 (find_complex_function_ulps): Likewise.
13553 (init_max_error): Take function name as argument. Look up ulps
13554 for that function.
13555 (print_ulps): Remove function.
13556 (print_max_error): Use prev_max_error instead of calling
13557 find_function_ulps.
13558 (print_complex_max_error): Use prev_real_max_error and
13559 prev_imag_max_error instead of calling find_complex_function_ulps.
13560 (check_float_internal): Take max_ulp parameter instead of calling
13561 find_test_ulps. Don't call print_ulps.
13562 (check_float): Update call to check_float_internal.
13563 (check_complex): Update calls to check_float_internal.
13564 (START): Pass argument to init_max_error.
13565 * math/gen-libm-test.pl (%results): Don't include "kind"
13566 information.
13567 (parse_ulps): Don't handle ulps of individual tests.
13568 (print_ulps_file): Likewise.
13569 (output_ulps): Likewise.
13570 * math/README.libm-test: Update.
13571 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13572 individual tests.
13573 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13574 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13575 * sysdeps/arm/libm-test-ulps: Likewise.
13576 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13577 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13578 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13579 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13580 * sysdeps/microblaze/libm-test-ulps: Likewise.
13581 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13582 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13584 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13585 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13586 * sysdeps/sh/libm-test-ulps: Likewise.
13587 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13588 * sysdeps/tile/libm-test-ulps: Likewise.
13589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13590
45adef3c
JM
135912014-03-04 Joseph Myers <joseph@codesourcery.com>
13592
13593 * math/libm-test.inc (print_complex_max_error): Check separately
13594 whether real and imaginary errors are within allowed range and
13595 pass 0 to print_complex_function_ulps instead of value within
13596 allowed range.
13597
000232b9
SP
135982014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13599
d4b17258
SP
13600 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13601 formatting.
13602 (get_handles_fopen): Likewise.
13603 (do_write_test): Likewise.
13604
091eff71
SP
13605 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13606
fa3cd248
SP
13607 * libio/fileops.c (do_ftell): Use cached offset when
13608 available.
13609 * libio/iofwide.c (do_ftell_wide): Likewise.
13610 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13611 _IO_file_attach.
13612 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13613
000232b9
SP
13614 [BZ #16532]
13615 * libio/libioP.h (get_file_offset): New function.
13616 * libio/fileops.c (get_file_offset): Likewise.
13617 (do_ftell): Likewise.
13618 (_IO_new_file_seekoff): Split out ftell logic.
13619 * libio/wfileops.c (do_ftell_wide): Likewise.
13620 (_IO_wfile_seekoff): Split out ftell logic.
13621 * libio/tst-ftell-active-handler.c: New test case.
13622 * libio/Makefile (tests): Add it.
13623
116f4d1a
RM
136242014-03-03 Roland McGrath <roland@hack.frob.com>
13625
13626 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13627 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13628
532a6035
SP
136292014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13630
13631 [BZ #16639]
13632 * nscd/connections.c (nscd_init): Call do_exit.
13633 (start_threads): Call do_exit and notify_parent.
13634 (begin_drop_privileges): Call do_exit.
13635 (finish_drop_privileges): Likewise.
13636 * nscd/selinux.c (preserve_capabilities): Likewise.
13637 (install_real_capabilities): Likewise.
13638 (nscd_selinux_enabled): Likewise.
13639 (avc_create_thread): Likewise.
13640 (avc_alloc_lock): Likewise.
13641 (nscd_avc_init): Likewise.
13642 * nscd/nscd.c (parent_fd): New static variable.
13643 (main): Create a pipe between parent and child processes.
13644 Skip closing parent_fd.
13645 (monitor_child): New function.
13646 (do_exit): Likewise.
13647 (notify_parent): Likewise.
13648 * nscd/nscd.h (notify_parent): Likewise.
13649 (do_exit): Likewise.
13650
d6285c9f
CD
136512014-03-03 Carlos O'Donell <carlos@redhat.com>
13652
13653 * malloc/malloc.c (__libc_calloc): Revert last change.
13654
2b85d2a0
AZ
136552014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13656
13657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13658
c7debbdf
RS
136592014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13660
13661 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13663 implementation.
13664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13665 (__libc_ifunc_impl_list): Likewise.
13666 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13667 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13668 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13669 * string/strrchr.c: Define STRRCHR.
13670
235eed86
OB
136712014-02-28 Ondřej Bílka <neleai@seznam.cz>
13672
13673 * benchtest/bench-strtok.c (simple_strtok): Delete.
13674 (strtok_string): Use as benchmark.
13675 * string/strtok (STRTOK): New macro.
13676
8e25d1e7
CD
136772014-02-28 Carlos O'Donell <carlos@redhat.com>
13678
ef563f92
CD
13679 * manual/threads.texi: Add header and standard comments to all
13680 functions.
13681
8e25d1e7
CD
13682 * elf/dl-lookup.c (check_match): New function.
13683 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13684 (do_lookup_x): Remove nested function check_match. Use non-nested
13685 function check_match.
13686
ff71cc37
RM
136872014-02-28 Roland McGrath <roland@hack.frob.com>
13688
f08e9a26
RM
13689 * csu/Makefile (generated, before-compile): Use += rather than =.
13690 * catgets/Makefile (generated, generated-dirs): Likewise.
13691 * debug/Makefile (generated): Likewise.
13692 * dlfcn/Makefile (generated): Likewise.
13693 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13694 * iconvdata/Makefile (before-compile, generated): Likewise.
13695 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13696 * libio/Makefile (generated): Likewise.
13697 * malloc/Makefile (generated): Likewise.
13698 * manual/Makefile (generated, generated-dirs): Likewise.
13699 * misc/Makefile (generated): Likewise.
13700 * posix/Makefile (generated): Likewise.
13701 * resolv/Makefile (generated): Likewise.
13702 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13703 * timezone/Makefile (generated, generated-dirs): Likewise.
13704
ff71cc37
RM
13705 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13706
fe13a20c
AZ
137072014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13708
57f41c40
AS
13709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13710 power8 implementation.
13711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13712 file: POWER8 llround ifunc implementation.
13713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13714 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13715 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13716 POWER8 llround implementation.
13717
57f41c40
AS
13718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13719 power8 implementation.
13720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13721 file: POWER8 llrint ifunc implementation.
13722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13723 Add POWER8 implementation.
1ad8950a
AZ
13724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13725 POWER8 llrint implementation.
13726
57f41c40
AS
13727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13728 power8 implementation.
13729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13730 file: POWER8 finite ifunc implementation.
13731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13732 Add POWER8 implementation.
cac626d6
AZ
13733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13734 Likewise.
13735 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13736 POWER8 finite implementation.
13737 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13738
57f41c40
AS
13739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13740 power8 implementation.
13741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13742 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13744 POWER8 implementation.
13745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13746 Likewise.
57f41c40
AS
13747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13748 isinf implementation.
4393fc11
AZ
13749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13750
57f41c40
AS
13751 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13752 (INIT_ARCH): Add hwcap2 initialization.
13753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13754 power8 implementation.
13755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13756 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13758 POWER8 implementation.
13759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13760 Likewise.
57f41c40
AS
13761 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13762 isnan implementation.
487972ae
AZ
13763 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13764
7d92b787
JY
137652014-02-27 Joey Ye <joey.ye@arm.com>
13766
13767 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13768 (_FP_NANFRAC_Q): Set to zero.
13769
1cadc858
SP
137702014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13771
13772 [BZ #16623]
13773 * math/auto-libm-test-in: New test inputs.
13774 * math/auto-libm-test-out: Regenerate.
13775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13776 and DA.
13777 (__cos): Likewise.
13778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13779
f8c17e79
JM
137802014-02-27 Joseph Myers <joseph@codesourcery.com>
13781
13782 * scripts/evaluate-test.sh: Take new argument indicating whether
13783 failure is expected.
13784 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13785 indicating whether failure is expected.
13786 * conform/Makefile (test-xfail-run-conformtest): New variable.
13787 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13788 level.
13789 * posix/Makefile (test-xfail-annexc): New variable.
13790 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13791
a5f891ac
JM
137922014-02-26 Joseph Myers <joseph@codesourcery.com>
13793
13794 * argp/Makefile: Include Makeconfig immediately after defining
13795 subdir.
13796 * assert/Makefile: Likewise.
13797 * benchtests/Makefile: Likewise.
13798 * catgets/Makefile: Likewise.
13799 * conform/Makefile: Likewise.
13800 * crypt/Makefile: Likewise.
13801 * csu/Makefile: Likewise.
13802 (all): Remove target.
13803 * ctype/Makefile: Include Makeconfig immediately after defining
13804 subdir.
13805 * debug/Makefile: Likewise.
13806 * dirent/Makefile: Likewise.
13807 * dlfcn/Makefile: Likewise.
13808 * gmon/Makefile: Likewise.
13809 * gnulib/Makefile: Likewise.
13810 * grp/Makefile: Likewise.
13811 * gshadow/Makefile: Likewise.
13812 * hesiod/Makefile: Likewise.
13813 * hurd/Makefile: Likewise.
13814 (all): Remove target.
13815 * iconvdata/Makefile: Include Makeconfig immediately after
13816 defining subdir.
13817 * inet/Makefile: Likewise.
13818 * intl/Makefile: Likewise.
13819 * io/Makefile: Likewise.
13820 * libio/Makefile: Likewise.
13821 (all): Remove target.
13822 * locale/Makefile: Include Makeconfig immediately after defining
13823 subdir.
13824 * login/Makefile: Likewise.
13825 * mach/Makefile: Likewise.
13826 (all): Remove target.
13827 * malloc/Makefile: Include Makeconfig immediately after defining
13828 subdir.
13829 (all): Remove target.
13830 * manual/Makefile: Include Makeconfig immediately after defining
13831 subdir.
13832 * math/Makefile: Likewise.
13833 * misc/Makefile: Likewise.
13834 * nis/Makefile: Likewise.
13835 * nss/Makefile: Likewise.
13836 * po/Makefile: Likewise.
13837 (all): Remove target.
13838 * posix/Makefile: Include Makeconfig immediately after defining
13839 subdir.
13840 * pwd/Makefile: Likewise.
13841 * resolv/Makefile: Likewise.
13842 * resource/Makefile: Likewise.
13843 * rt/Makefile: Likewise.
13844 * setjmp/Makefile: Likewise.
13845 * shadow/Makefile: Likewise.
13846 * signal/Makefile: Likewise.
13847 * socket/Makefile: Likewise.
13848 * soft-fp/Makefile: Likewise.
13849 * stdio-common/Makefile: Likewise.
13850 * stdlib/Makefile: Likewise.
13851 * streams/Makefile: Likewise.
13852 * string/Makefile: Likewise.
13853 * sunrpc/Makefile: Likewise.
13854 (all): Remove target.
13855 * sysvipc/Makefile: Include Makeconfig immediately after defining
13856 subdir.
13857 * termios/Makefile: Likewise.
13858 * time/Makefile: Likewise.
13859 * timezone/Makefile: Likewise.
13860 (all): Remove target.
13861 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13862 subdir.
13863 * wctype/Makefile: Likewise.
13864
5b456e9d
SE
138652014-02-26 Steve Ellcey <sellcey@mips.com>
13866
13867 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13868 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13869 (libc_feholdexcept_setround_mips): Ditto.
13870 (libc_feholdsetround): New.
13871 (libc_feholdsetroundf): New.
13872 (libc_feholdsetroundl): New.
13873 (libc_feupdateenv_test_mips): New.
13874 (libc_feupdateenv_test): New.
13875 (libc_feupdateenv_testf): New.
13876 (libc_feupdateenv_testl): New.
13877 (libc_feresetround): New.
13878 (libc_feresetroundf): New.
13879 (libc_feresetroundl): New.
13880 (libc_fetestexcept_mips): New.
13881 (libc_fetestexcept): New.
13882 (libc_fetestexceptf): New.
13883 (libc_fetestexceptl): New.
13884 (HAVE_RM_CTX): New.
13885 (libc_feholdexcept_setround_mips_ctx): New.
13886 (libc_feholdexcept_setround_ctx): New.
13887 (libc_feholdexcept_setroundf_ctx): New.
13888 (libc_feholdexcept_setroundl_ctx): New.
13889 (libc_fesetenv_mips_ctx): New.
13890 (libc_fesetenv_ctx): New.
13891 (libc_fesetenv_ctxf): New.
13892 (libc_fesetenv_ctxl): New.
13893 (libc_feupdateenv_mips_ctx): New.
13894 (libc_feupdateenv_ctx): New.
13895 (libc_feupdateenvf_ctx): New.
13896 (libc_feupdateenvl_ctx): New.
13897 (libc_feholdsetround_mips_ctx): New.
13898 (libc_feholdsetround_ctx): New.
13899 (libc_feholdsetroundf_ctx): New.
13900 (libc_feholdsetroundl_ctx): New.
13901 (libc_feresetround_mips_ctx): New.
13902 (libc_feresetround_ctx): New.
13903 (libc_feresetroundf_ctx): New.
13904 (libc_feresetroundl_ctx): New.
13905
085d0e35
CD
139062014-02-26 Carlos O'Donell <carlos@redhat.com>
13907
f067bf1f
CD
13908 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13909
085d0e35
CD
13910 * manual/ipc.texi: New file.
13911 * manual/Makefile (chapters): Add ipc.
13912 * manual/job.texi: Add "Inter-Process Communication" to next.
13913 * manual/process.texi: Add "Inter-Process Communication" to prev.
13914
86e58c08
AZ
139152014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13916
13917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13918
4248f0da
OB
139192014-02-26 Ondřej Bílka <neleai@seznam.cz>
13920
13921 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13922
cf822e3c
OB
13923 * manual/arith.texi: Fix spaces after sentences.
13924 * manual/charset.texi: Likewise.
13925 * manual/errno.texi: Likewise.
13926 * manual/install.texi: Likewise.
13927 * manual/llio.texi: Likewise.
13928 * manual/locale.texi: Likewise.
13929 * manual/maint.texi: Likewise.
13930 * manual/math.texi: Likewise.
13931 * manual/memory.texi: Likewise.
13932 * manual/message.texi: Likewise.
13933 * manual/probes.texi: Likewise.
13934 * manual/resource.texi: Likewise.
13935 * manual/signal.texi: Likewise.
13936 * manual/socket.texi: Likewise.
13937 * manual/stdio.texi: Likewise.
13938 * manual/string.texi: Likewise.
13939 * manual/time.texi: Likewise.
13940 * manual/users.texi: Likewise.
13941
ade40b10
CD
139422014-02-25 Carlos O'Donell <carlos@redhat.com>
13943
13944 [BZ #16632]
13945 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13946 _DEFAULT_SOURCE is defined.
13947
d0503676
CD
139482014-02-25 Ulrich Drepper <drepper@gmail.com>
13949 Carlos O'Donell <carlos@redhat.com>
13950
13951 [BZ #16613]
13952 * elf/dl-tls.c (_dl_count_modids): New function.
13953 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13954 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13955 audit library and increment generation counter.
13956 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13957 * elf/tst-audit9.c: New file.
13958 * elf/tst-auditmod9a.c: New file.
13959 * elf/tst-auditmod9b.c: New file.
13960 * elf/Makefile: Add rules to build and run tst-audit9.
13961
4cbf380c
FW
139622014-02-25 Florian Weimer <fweimer@redhat.com>
13963
13964 [BZ #15347]
13965 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13966
80a56cc3
WN
139672014-02-25 Will Newton <will.newton@linaro.org>
13968
13969 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13970 (__longjmp): Restore sp and lr before restoring callee
13971 saved registers. Add longjmp and longjmp_target
13972 SystemTap probe point.
13973 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13974 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13975 Define to zero to match jmpbuf layout.
13976 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13977 (__sigsetjmp): Save sp and lr before saving callee
13978 saved registers. Add setjmp SystemTap probe point.
13979
3ea0f74e
SL
139802014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13981
13982 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13983
b04acb26
AS
139842014-02-24 Andreas Schwab <schwab@suse.de>
13985
13986 [BZ #15804]
13987 * elf/pldd.c (wait_for_ptrace_stop): New function.
13988 (main): Call it after attaching.
13989
098ad55c
RM
139902014-02-22 Roland McGrath <roland@hack.frob.com>
13991
d4ec6ae1
RM
13992 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13993 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13994 Versions files is now verboten.
13995 * hurd/Versions (libc: GLIBC_2.0):
13996 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13997 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13998 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13999 * mach/Versions: Likewise.
14000
098ad55c
RM
14001 * csu/Versions: Remove unused %include.
14002 * resolv/Versions: Likewise.
14003
acd7f096
JM
140042014-02-21 Joseph Myers <joseph@codesourcery.com>
14005
f0881698
JM
14006 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14007 ($(objpfx)check-local-headers.out): Likewise.
14008 ($(objpfx)begin-end-check.out): Likewise.
14009 * Makerules (check-abi-%.out): Likewise.
14010 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14011 ($(objpfx)test2.cat): Likewise.
14012 ($(objpfx)de/libc.cat): Likewise.
14013 ($(objpfx)test-gencat.out): Likewise.
14014 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14015 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14016 ($(objpfx)noload-mem): Likewise.
14017 ($(objpfx)tst-pathopt.out): Likewise.
14018 ($(objpfx)tst-rtld-load-self.out): Likewise.
14019 ($(objpfx)tst-array1-cmp.out): Likewise.
14020 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14021 ($(objpfx)tst-array2-cmp.out): Likewise.
14022 ($(objpfx)tst-array3-cmp.out): Likewise.
14023 ($(objpfx)tst-array4-cmp.out): Likewise.
14024 ($(objpfx)tst-array5-cmp.out): Likewise.
14025 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14026 ($(objpfx)check-textrel.out): Likewise.
14027 ($(objpfx)check-execstack.out): Likewise.
14028 ($(objpfx)check-localplt.out): Likewise.
14029 ($(objpfx)order2-cmp.out): Likewise.
14030 ($(objpfx)tst-leaks1-mem): Likewise.
14031 ($(objpfx)tst-leaks1-static-mem): Likewise.
14032 ($(objpfx)tst-initorder-cmp.out): Likewise.
14033 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14034 ($(objpfx)tst-unused-dep.out): Likewise.
14035 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14036 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14037 * iconv/Makefile (test-iconvconfig): Likewise.
14038 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14039 ($(objpfx)iconv-test.out): Likewise.
14040 ($(objpfx)tst-tables.out): Likewise.
14041 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14042 ($(objpfx)tst-gettext.out): Likewise.
14043 ($(objpfx)tst-translit.out): Likewise.
14044 ($(objpfx)tst-gettext2.out): Likewise.
14045 ($(objpfx)tst-gettext4.out): Likewise.
14046 ($(objpfx)tst-gettext6.out): Likewise.
14047 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14048 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14049 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14050 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14051 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14052 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14053 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14054 ($(objpfx)wordexp-tst.out): Likewise.
14055 ($(objpfx)annexc.out): Likewise.
14056 ($(objpfx)tst-fnmatch-mem): Likewise.
14057 ($(objpfx)bug-regex2-mem): Likewise.
14058 ($(objpfx)bug-regex14-mem): Likewise.
14059 ($(objpfx)bug-regex21-mem): Likewise.
14060 ($(objpfx)bug-regex31-mem): Likewise.
14061 ($(objpfx)tst-vfork3-mem): Likewise.
14062 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14063 ($(objpfx)tst-pcre-mem): Likewise.
14064 ($(objpfx)tst-boost-mem): Likewise.
14065 ($(objpfx)tst-getconf.out): Likewise.
14066 ($(objpfx)bug-ga2-mem): Likewise.
14067 ($(objpfx)bug-glob2-mem): Likewise.
14068 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14069 ($(objpfx)mtrace-tst-leaks2): Likewise.
14070 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14071 ($(objpfx)tst-printf.out): Likewise.
14072 ($(objpfx)tst-setvbuf1.out): Likewise.
14073 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14074 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14075 ($(objpfx)tst-fmtmsg.out): Likewise.
14076 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14077 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14078
acd7f096
JM
14079 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14080 * bits/sigaction.h [__USE_MISC]: Likewise.
14081 * bits/waitstatus.h: Update #endif comments.
14082 * ctype/ctype.h: Likewise.
14083 * dirent/dirent.h: Likewise.
14084 [__USE_MISC]: Remove redundant conditionals.
14085 * grp/grp.h: Update #endif comments.
14086 [__USE_GNU]: Remove redundant conditionals.
14087 [__USE_MISC]: Likewise.
14088 * inet/netinet/in.h [__USE_GNU]: Likewise.
14089 * io/sys/stat.h [__USE_MISC]: Likewise.
14090 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14091 * libio/bits/stdio.h: Update #endif comments.
14092 [__USE_MISC]: Remove redundant conditionals.
14093 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14094 * libio/stdio.h: Update #endif comments.
14095 [__USE_MISC]: Remove redundant conditionals.
14096 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14097 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14098 * math/math.h: Update #else and #endif comments.
14099 [__USE_MISC]: Remove redundant conditionals.
14100 * misc/sys/uio.h: Update #endif comments.
14101 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14102 * posix/glob.h [__USE_MISC]: Likewise.
14103 * posix/sys/types.h: Update #endif comments.
14104 [__USE_MISC]: Remove redundant conditionals.
14105 * posix/sys/wait.h: Update #endif comments.
14106 [__USE_MISC]: Remove redundant conditionals.
14107 * posix/unistd.h: Update #endif comments.
14108 [__USE_MISC]: Remove redundant conditionals.
14109 * pwd/pwd.h [__USE_GNU]: Likewise.
14110 [__USE_MISC]: Likewise.
14111 * resolv/netdb.h [__USE_GNU]: Likewise.
14112 * signal/signal.h: Update #endif comments.
14113 [__USE_MISC]: Remove redundant conditionals.
14114 * stdlib/stdlib.h: Update #else and #endif comments.
14115 [__USE_MISC]: Remove redundant conditionals.
14116 [__USE_GNU]: Likewise.
14117 * string/bits/string2.h [__USE_MISC]: Likewise.
14118 * string/string.h: Update #endif comments.
14119 [__USE_MISC]: Remove redundant conditionals.
14120 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14121 Likewise.
14122 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14123 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14124 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14125 Likewise.
14126 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14127 Likewise.
14128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14129 comments.
14130 [__USE_MISC]: Remove redundant conditionals.
14131 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14132 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14133 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14134 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14135 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14136 Likewise.
14137 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14138 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14139 Likewise.
14140 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14141 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14142 Likewise.
14143 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14144 Likewise.
14145 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14146 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14147 Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14149 Likewise.
14150 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14151 * sysdeps/x86/bits/string.h: Update #endif comments.
14152 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14153 conditionals.
14154 * time/sys/time.h: Update #endif comments.
14155 * time/time.h: Likewise.
14156 [__USE_MISC]: Remove redundant conditionals.
14157
a5d82e4e
YG
141582014-02-21 Yury Gribov <y.gribov@samsung.com>
14159
14160 [BZ #16600]
14161 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14162
9a80491d
AS
141632014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14164
14165 * Versions.def (librt): Add GLIBC_2.17.
14166
105fa381
AC
141672014-02-21 Adam Conrad <adconrad@0c3.net>
14168
14169 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14170 synonym for _SYS_AUXV_H to allow direct inclusion.
14171 * sysdeps/sparc/bits/hwcap.h: Likewise.
14172 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14173 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14174 * sysdeps/sparc/sysdep.h: Likewise.
14175
b8cd1c4e
SP
141762014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14177
14178 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14179
bd939d23
RS
141802014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14181
14182 * benchtests/bench-strrchr.c: Print length instead of position.
14183
5d7b57ca
JM
141842014-02-20 Joseph Myers <joseph@codesourcery.com>
14185
bc688c10
JM
14186 [BZ #16611]
14187 * sysdeps/unix/sysv/linux/kernel-features.h
14188 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14189 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14190 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14191 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14192 Likewise.
14193 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14194 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14195 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14196 (__ASSUME_SENDMMSG): Define instead of using previous
14197 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14198 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14199 (__ASSUME_SENDMMSG_SYSCALL): Define.
14200 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14201 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14202 Likewise.
14203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14204 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14205 Likewise.
14206 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14207 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14208 Likewise.
14209 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14210 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14211 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14212 [__ASSUME_SENDMMSG]: Change conditionals to
14213 [__ASSUME_SENDMMSG_SOCKETCALL].
14214 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14215 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14216 Define.
14217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14218 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14219 Likewise.
14220 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14221 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14222 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14223 [!__ASSUME_SENDMMSG]: Change conditional to
14224 [!__ASSUME_SENDMMSG_SOCKETCALL].
14225 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14226 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14227 Define.
14228
0e31b18c
JM
14229 [BZ #16610]
14230 * sysdeps/unix/sysv/linux/kernel-features.h
14231 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14232 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14233 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14234 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14235 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14236 [__i386__ || __sparc__]
14237 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14238 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14239 (__ASSUME_RECVMMSG): Define instead of using previous
14240 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14241 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14242 (__ASSUME_RECVMMSG_SYSCALL): Define.
14243 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14244 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14245 Likewise.
14246 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14247 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14248 Likewise.
14249 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14251 Likewise.
14252 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14253 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14254 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14255 [__ASSUME_RECVMMSG]: Change condition to
14256 [__ASSUME_RECVMMSG_SOCKETCALL].
14257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14258 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14259 Define.
14260 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14261 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14262 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14263 Likewise.
14264 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14265 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14266 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14267 [!__ASSUME_RECVMMSG]: Change condition to
14268 [!__ASSUME_RECVMMSG_SOCKETCALL].
14269 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14270 (__ASSUME_RECVMMSG_SYSCALL): Define.
14271
dd481ccf
JM
14272 [BZ #16609]
14273 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14274 __powerpc__ || __s390__ || __sh__ || __sparc__]
14275 (__ASSUME_SOCKETCALL): Define.
14276 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14277 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14278 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14279 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14280 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14281 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14282 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14283 (__ASSUME_ACCEPT4): Define instead of using previous
14284 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14285 __powerpc__ || __sparc__ || __s390__)] condition.
14286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14287 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14288 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14289 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14290 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14291 [!__ASSUME_ACCEPT4]: Change condition to
14292 [!__ASSUME_ACCEPT4_SOCKETCALL].
14293 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14294 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14295 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14297 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14298 __ASSUME_ACCEPT4_SYSCALL.
14299 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14300 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14301 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14302 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14303 __ASSUME_ACCEPT4_SYSCALL.
14304 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14305 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14306 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14307 [__ASSUME_ACCEPT4]: Change condition to
14308 [__ASSUME_ACCEPT4_SOCKETCALL].
14309 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14310 (__ASSUME_SOCKETCALL): Define.
14311 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14312 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14313 (__ASSUME_SOCKETCALL): Define.
14314 (__ASSUME_ACCEPT4): Remove.
14315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14316 Define.
14317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14318 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14319 Likewise.
14320 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14321 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14322
5d7b57ca
JM
14323 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14324 macro.
14325 (HWCAP_ARM_LPAE): Likewise.
14326 (HWCAP_ARM_EVTSTRM): Likewise.
14327 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14328 Add vpfd32, lpae and evtstrm.
14329 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14330 Increase to 22.
14331
63689d61
JM
143322014-02-19 Joseph Myers <joseph@codesourcery.com>
14333
14334 * math/auto-libm-test-in: Add tests of clog10.
14335 * math/auto-libm-test-out: Regenerated.
14336 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14337 * sysdeps/i386/fpu/libm-test-ulps: Update.
14338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14339
ab09bf61
AS
143402014-02-18 Andreas Schwab <schwab@suse.de>
14341
14342 [BZ #16574]
14343 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14344 Store non-zero if the second buffer was newly allocated.
14345 (send_dg): Likewise.
14346 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14347 to send_vc and send_dg.
14348 (res_nsend): Pass NULL for ansp2_malloced.
14349 * resolv/res_query.c (__libc_res_nquery): Add parameter
14350 answerp2_malloced and pass it down to __libc_res_nsend.
14351 (res_nquery): Pass additional NULL to __libc_res_nquery.
14352 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14353 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14354 second answer buffer if answerp2_malloced was set.
14355 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14356 (__libc_res_nquerydomain): Add parameter
14357 answerp2_malloced and pass it down to __libc_res_nquery.
14358 (res_nquerydomain): Pass additional NULL to
14359 __libc_res_nquerydomain.
14360 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14361 additional NULL to __libc_res_nsend and __libc_res_nquery.
14362 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14363 additional NULL to __libc_res_nsearch.
14364 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14365 parameter of __libc_res_nsearch to check for separately allocated
14366 second buffer.
14367 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14368 __libc_res_nquery.
14369 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14370 additional NULL to __libc_res_nquery.
14371 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14372 __libc_res_nsearch.
14373 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14374 * include/resolv.h: Update prototypes of __libc_res_nquery,
14375 __libc_res_nsearch, __libc_res_nsend.
14376
a4fb7861
JM
143772014-02-18 Joseph Myers <joseph@codesourcery.com>
14378
c6af2d89
JM
14379 * math/auto-libm-test-in: Add tests of fma.
14380 * math/auto-libm-test-out: Regenerated.
14381 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14382 (fma_towardzero_test_data): Likewise.
14383 (fma_downward_test_data): Likewise.
14384 (fma_upward_test_data): Likewise.
14385 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14386 mpc_mode.
14387 (rounding_modes): Add values for new field.
14388 (func_calc_method): Add value mpfr_fff_f.
14389 (func_calc_desc): Add mpfr_fff_f union field.
14390 (test_function): Add field exact_args.
14391 (FUNC): Add macro argument EXACT_ARGS.
14392 (FUNC_mpfr_f_f): Update call to FUNC.
14393 (FUNC_mpfr_f_f): Likewise.
14394 (FUNC_mpfr_ff_f): Likewise.
14395 (FUNC_mpfr_if_f): Likewise.
14396 (FUNC_mpc_c_f): Likewise.
14397 (FUNC_mpc_c_c): Likewise.
14398 (test_functions): Add fma. Update calls to FUNC.
14399 (handle_input_arg): Add argument exact_args.
14400 (add_test): Update call to handle_input_arg.
14401 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14402 (output_for_one_input_case): Update call to calc_generic_results.
14403 Recalculate exact zero results in each rounding mode.
14404
a4fb7861
JM
14405 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14406 non-negative before setting low bit.
14407 * math/auto-libm-test-in: Mark one asin test possibly having
14408 spurious underflow.
14409 * math/auto-libm-test-out: Regenerated.
14410 * sysdeps/i386/fpu/libm-test-ulps: Update.
14411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14412
ef114eaf
DH
144132014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14414
2b7f4f2c
SP
14415 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14416 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14417 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14418 * README: Add missing listing for microblaze*-*-linux-gnu.
14419
8125aedc
AM
144202014-02-16 Ondřej Bílka <neleai@seznam.cz>
14421
14422 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14423 duplicate code
14424
c70a4b1d
MF
144252014-02-16 Mike Frysinger <vapier@gentoo.org>
14426
14427 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14428 * sysdeps/unix/sysv/linux/ia64: Move directory from
14429 ports/sysdeps/unix/sysv/linux/ia64.
14430 * README: Update listing for ia64-*-linux-gnu.
14431
591aeaf7
TD
144322014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14433 Joseph Myers <joseph@codesourcery.com>
14434
14435 * Makeconfig (test-name): New variable.
14436 (evaluate-test): Likewise.
14437 * Makerules (do-test-clean): Remove .test-result files.
14438 (common-mostlyclean): Likewise.
14439 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14440 * scripts/evaluate-test.sh: New file.
14441
6e89caf1
JM
144422014-02-14 Joseph Myers <joseph@codesourcery.com>
14443
7f98f180
JM
14444 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14445 separate $(objpfx)tst-fopenloc-cmp.out and
14446 $(objpfx)tst-fopenloc-mem.out targets.
14447 (tests): Update dependencies.
14448 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14449 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14450 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14451 (tst-rxspencer-no-utf8-ARGS): New variable.
14452 (tst-rxspencer-no-utf8-ENV): Likewise.
14453 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14454 instead of $(objpfx)tst-rxspencer-mem.
14455 ($(objpfx)tst-rxspencer-mem): Change target to
14456 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14457 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14458 * posix/tst-rxspencer-no-utf8.c: New file.
14459
6e89caf1
JM
14460 * elf/Makefile ($(objpfx)order.out): Remove rule.
14461 [$(run-built-tests) = yes] (tests): Depend on
14462 $(objpfx)order-cmp.out.
14463 ($(objpfx)order-cmp.out): New rule.
14464 [$(run-built-tests) = yes] (tests): Depend on
14465 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14466 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14467 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14468 $(objpfx)tst-array5-static-cmp.out.
14469 ($(objpfx)tst-array1.out): Remove rule.
14470 ($(objpfx)tst-array1-cmp.out): New rule.
14471 ($(objpfx)tst-array1-static.out): Remove rule.
14472 ($(objpfx)tst-array1-static-cmp.out): New rule.
14473 ($(objpfx)tst-array2.out): Remove rule.
14474 ($(objpfx)tst-array2-cmp.out): New rule.
14475 ($(objpfx)tst-array3.out): Remove rule.
14476 ($(objpfx)tst-array3-cmp.out): New rule.
14477 ($(objpfx)tst-array4.out): Remove rule.
14478 ($(objpfx)tst-array4-cmp.out): New rule.
14479 ($(objpfx)tst-array5.out): Remove rule.
14480 ($(objpfx)tst-array5-cmp.out): New rule.
14481 ($(objpfx)tst-array5-static.out): Remove rule.
14482 ($(objpfx)tst-array5-static-cmp.out): New rule.
14483 [$(run-built-tests) = yes] (tests): Depend on
14484 $(objpfx)order2-cmp.out.
14485 ($(objpfx)order2.out): Remove rule.
14486 ($(objpfx)order2-cmp.out): New rule.
14487 ($(objpfx)tst-initorder.out): Remove rule.
14488 [$(run-built-tests) = yes] (tests): Depend on
14489 $(objpfx)tst-initorder-cmp.out.
14490 ($(objpfx)tst-initorder-cmp.out): New rule.
14491 ($(objpfx)tst-initorder2.out): Remove rule.
14492 [$(run-built-tests) = yes] (tests): Depend on
14493 $(objpfx)tst-initorder2-cmp.out.
14494 ($(objpfx)tst-initorder2-cmp.out): New rule.
14495 [$(run-built-tests) = yes] (tests): Depend on
14496 $(objpfx)tst-unused-dep-cmp.out.
14497 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14498 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14499 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14500 on $(objpfx)tst-setvbuf1-cmp.out.
14501 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14502 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14503 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14504 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14505 ($(objpfx)tst-svc.out): Remove rule.
14506 ($(objpfx)tst-svc-cmp.out): New rule.
14507
ed9a38e2
JM
145082014-02-13 Joseph Myers <joseph@codesourcery.com>
14509
14510 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14511 * ctype/ctype.h [__USE_MISC]: Likewise.
14512 * dirent/dirent.h [__USE_MISC]: Likewise.
14513 * grp/grp.h [__USE_MISC]: Likewise.
14514 * io/fcntl.h [__USE_MISC]: Likewise.
14515 * io/sys/stat.h [__USE_MISC]: Likewise.
14516 * libio/stdio.h [__USE_MISC]: Likewise.
14517 * posix/unistd.h [__USE_MISC]: Likewise.
14518 * pwd/pwd.h [__USE_MISC]: Likewise.
14519 * stdlib.h [__USE_MISC]: Likewise.
14520 * string/bits/string2.h [__USE_MISC]: Likewise.
14521 * string/string.h [__USE_MISC]: Likewise.
14522 * time/time.h [__USE_MISC]: Likewise.
14523
d6680619
AS
145242014-02-13 Andreas Schwab <schwab@suse.de>
14525
14526 [BZ #16574]
14527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14528 second answer buffer if it was separately allocated.
14529
ace614b8
JM
145302014-02-12 Joseph Myers <joseph@codesourcery.com>
14531
743151ae
JM
14532 * sysdeps/mips/math-tests.h: Include <features.h>.
14533 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14534 (ROUNDING_TESTS_long_double): Do not define.
14535 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14536 (EXCEPTION_TESTS_long_double): Likewise.
14537 * sysdeps/mips/mips64/libm-test-ulps: Update.
14538
498afc54
JM
14539 * include/features.h (__USE_BSD): Remove macro definitions.
14540 (__USE_SVID): Likewise.
14541 (_BSD_SOURCE): Likewise.
14542 (_SVID_SOURCE): Likewise.
14543 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14544 from definition of _DEFAULT_SOURCE.
14545 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14546 [_DEFAULT_SOURCE].
14547 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14548 * bits/mman.h [__USE_BSD]: Likewise.
14549 * bits/termios.h [__USE_BSD]: Likewise.
14550 * bits/waitstatus.h [__USE_BSD]: Likewise.
14551 * ctype/ctype.h [__USE_SVID]: Likewise.
14552 * dirent/dirent.h [__USE_BSD]: Likewise.
14553 * grp/grp.h [__USE_SVID]: Likewise.
14554 [__USE_BSD]: Likewise.
14555 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14556 * io/fcntl.h [__USE_BSD]: Likewise.
14557 * io/ftw.h [__USE_BSD]: Likewise.
14558 * io/sys/stat.h [__USE_BSD]: Likewise.
14559 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14560 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14561 * libio/stdio.h [__USE_SVID]: Likewise.
14562 [__USE_BSD]: Likewise.
14563 * math/math.h [__USE_SVID]: Likewise.
14564 [__USE_BSD]: Likewise.
14565 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14566 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14567 * misc/search.h [__USE_SVID]: Likewise.
14568 * misc/sys/mman.h [__USE_BSD]: Likewise.
14569 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14570 * misc/sys/uio.h [__USE_BSD]: Likewise.
14571 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14572 * posix/glob.h [__USE_BSD]: Likewise.
14573 * posix/regex.h [__USE_BSD]: Likewise.
14574 * posix/sys/types.h [__USE_BSD]: Likewise.
14575 [__USE_SVID]: Likewise.
14576 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14577 * posix/sys/wait.h [__USE_BSD]: Likewise.
14578 [__USE_SVID]: Likewise.
14579 * posix/unistd.h [__USE_BSD]: Likewise.
14580 [__USE_SVID]: Likewise.
14581 * pwd/pwd.h [__USE_SVID]: Likewise.
14582 * resolv/netdb.h [__USE_BSD]: Likewise.
14583 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14584 * signal/signal.h [__USE_BSD]: Likewise.
14585 [__USE_SVID]: Likewise.
14586 * socket/sys/socket.h [__USE_BSD]: Likewise.
14587 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14588 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14589 [__USE_SVID]: Likewise.
14590 * string/bits/string2.h [__USE_BSD]: Likewise.
14591 [__USE_SVID]: Likewise.
14592 * string/bits/string3.h [__USE_BSD]: Likewise.
14593 * string/endian.h [__USE_BSD]: Likewise.
14594 * string/string.h [__USE_SVID]: Likewise.
14595 [__USE_BSD]: Likewise.
14596 * string/strings.h [__USE_BSD]: Likewise.
14597 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14598 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14599 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14600 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14601 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14602 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14603 Likewise.
14604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14605 Likewise.
14606 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14607 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14608 Likewise.
14609 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14610 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14611 Likewise.
14612 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14613 Likewise.
14614 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14615 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14617 Likewise.
14618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14619 Likewise.
14620 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14621 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14622 * termios/termios.h [__USE_BSD]: Likewise.
14623 * time/sys/time.h [__USE_BSD]: Likewise.
14624 * time/time.h [__USE_BSD]: Likewise.
14625 [__USE_SVID]: Likewise.
14626
dd7b064c
JM
14627 * Makefile (subdir_targets): Remove subdir_lint.out.
14628
a2c4c199
JM
14629 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14630 (do-tst-printf): Likewise.
14631 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14632 $(objpfx)tst-printf.out.
14633
8756f740
JM
14634 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14635
1b6dd3f1
JM
14636 * Makerules (check-abi-%): Change target to
14637 $(objpfx)check-abi-%.out.
14638 (check-abi target): Update dependencies.
14639 (check-abi-pattern variable): Redirect output of diff to $@.
14640 (check-abi variable): Likewise.
14641 * elf/Makefile (check-abi): Update dependencies.
14642
ace614b8
JM
14643 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14644 unused.
14645 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14646 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14647 subnormal range.
14648 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14649 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14650 value has largest subnormal exponent.
14651 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14652 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14653 * sysdeps/aarch64/soft-fp/sfp-machine.h
14654 (_FP_TININESS_AFTER_ROUNDING): New macro.
14655 * sysdeps/alpha/soft-fp/sfp-machine.h
14656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14657 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14658 Likewise.
14659 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14660 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14661 * sysdeps/mips/soft-fp/sfp-machine.h
14662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14663 * sysdeps/powerpc/soft-fp/sfp-machine.h
14664 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14665 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14666 Likewise.
14667 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14671 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14672 Likewise.
14673
fbfdf9cb
DAS
146742014-02-12 Dylan Alex Simon <dylan@dylex.net>
14675
14676 [BZ #16545]
14677 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14678 model 1.
14679
68b7efaa
RH
146802014-02-12 Richard Henderson <rth@redhat.com>
14681
c70a4b1d 14682 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14683 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14684 * sysdeps/unix/sysv/linux/alpha: Move directory from
14685 ports/sysdeps/unix/sysv/linux/alpha.
14686 * README: Update listing for alpha-*-linux-gnu.
14687
cb4a2928
JM
146882014-02-11 Joseph Myers <joseph@codesourcery.com>
14689
c941736c
JM
14690 * include/features.h: Update comment documenting feature test
14691 macros.
14692 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14693 _DEFAULT_SOURCE.
14694 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14695 (_SVID_SOURCE): Likewise.
14696 (_DEFAULT_SOURCE): Update description of default features.
14697 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14698 with _GNU_SOURCE.
14699 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14700 (S_ISVTX): Likewise.
14701 * manual/math.texi (Mathematical Constants): Likewise.
14702 * manual/signal.texi (Interrupted Primitives): Likewise.
14703 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14704 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14705 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14706 Don't refer to _SVID_SOURCE in warning text.
14707
e8d8d7ec
JM
14708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14709
cb4a2928
JM
14710 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14711 already defined.
14712 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14713 * sysdeps/mips/dl-lookup.c: Remove.
14714 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14715
7e6424e3
AK
147162014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14717
14718 [BZ #16447]
14719 * math/auto-libm-test-in: Add testcase for expl.
14720 * math/auto-libm-test-out: Regenerate.
14721 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14722 calculation of unsafe.
14723 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14724
75eff3fe
MS
147252014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14726
14727 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14728 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14729 ports/sysdeps/unix/sysv/linux/aarch64.
14730 * README: Update listing for aarch64*-*-linux-gnu.
14731
d35f1e80
WN
147322014-02-11 Will Newton <will.newton@linaro.org>
14733
14734 * manual/probes.texi (Mathematical Function Probes): Use
14735 "triggered" instead of "hit".
14736
7b3436d4
WN
14737 * manual/probes.texi (Internal Probes): Add documentation
14738 of setjmp, longjmp and longjmp_target probes.
14739
b4f12ca3
WN
14740 * include/stap-probe.h: Add comment about probe argument
14741 format.
14742
c13a72b7
WN
14743 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14744 definition. (tr_where, tr_freehook, tr_mallochook,
14745 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14746
195b8165
DM
147472014-02-11 David S. Miller <davem@davemloft.net>
14748
14749 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14750 processing int_tests.
14751
2ad7600b
JM
147522014-02-10 Joseph Myers <joseph@codesourcery.com>
14753
14754 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14755 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14756 * sysdeps/unix/sysv/linux/mips: Move directory from
14757 ports/sysdeps/unix/sysv/linux/mips.
14758 * README: Update listing for mips-*-linux-gnu and
14759 mips64-*-linux-gnu.
14760
73588a72
AS
147612014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14762
14763 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14764 * sysdeps/unix/sysv/linux/m68k: Move directory from
14765 ports/sysdeps/unix/sysv/linux/m68k.
14766 * README: Update listing for m68k-*-linux-gnu.
14767
4372980f
CM
147682014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14769
14770 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14771 * sysdeps/unix/sysv/linux/generic: Move directory from
14772 ports/sysdeps/unix/sysv/linux/generic.
14773 * sysdeps/unix/sysv/linux/tile: Move directory from
14774 ports/sysdeps/unix/sysv/linux/tile.
14775 * README: Update listing for tile*-*-linux-gnu.
14776
a1ffb40e
OB
147772014-02-10 Ondřej Bílka <neleai@seznam.cz>
14778
57f41c40
AS
14779 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14780 __builtin_expect.
a1ffb40e
OB
14781 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14782 * catgets/open_catalog.c (__open_catalog): Likewise.
14783 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14784 * debug/confstr_chk.c: Likewise.
14785 * debug/fread_chk.c (__fread_chk): Likewise.
14786 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14787 * debug/getgroups_chk.c: Likewise.
14788 * debug/mbsnrtowcs_chk.c: Likewise.
14789 * debug/mbsrtowcs_chk.c: Likewise.
14790 * debug/mbstowcs_chk.c: Likewise.
14791 * debug/memcpy_chk.c: Likewise.
14792 * debug/memmove_chk.c: Likewise.
14793 * debug/mempcpy_chk.c: Likewise.
14794 * debug/memset_chk.c: Likewise.
14795 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14796 * debug/strcat_chk.c (__strcat_chk): Likewise.
14797 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14798 * debug/strncat_chk.c (__strncat_chk): Likewise.
14799 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14800 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14801 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14802 * debug/wcpncpy_chk.c: Likewise.
14803 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14804 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14805 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14806 * debug/wcsncpy_chk.c: Likewise.
14807 * debug/wcsnrtombs_chk.c: Likewise.
14808 * debug/wcsrtombs_chk.c: Likewise.
14809 * debug/wcstombs_chk.c: Likewise.
14810 * debug/wmemcpy_chk.c: Likewise.
14811 * debug/wmemmove_chk.c: Likewise.
14812 * debug/wmempcpy_chk.c: Likewise.
14813 * debug/wmemset_chk.c: Likewise.
14814 * dirent/scandirat.c (SCANDIRAT): Likewise.
14815 * dlfcn/dladdr1.c (dladdr1): Likewise.
14816 * dlfcn/dladdr.c (dladdr): Likewise.
14817 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14818 * dlfcn/dlerror.c (__dlerror): Likewise.
14819 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14820 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14821 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14822 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14823 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14824 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14825 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14826 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14827 Likewise.
14828 * elf/dl-conflict.c: Likewise.
14829 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14830 * elf/dl-dst.h: Likewise.
14831 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14832 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14833 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14834 * elf/dl-init.c (call_init, _dl_init): Likewise.
14835 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14836 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14837 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14838 Likewise.
a1ffb40e
OB
14839 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14840 Likewise.
14841 * elf/dl-minimal.c (__libc_memalign): Likewise.
14842 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14843 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14844 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14845 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14846 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14847 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14848 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14849 * elf/dl-writev.h (_dl_writev): Likewise.
14850 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14851 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14852 (dl_main): Likewise.
a1ffb40e
OB
14853 * elf/setup-vdso.h (setup_vdso): Likewise.
14854 * grp/compat-initgroups.c (compat_call): Likewise.
14855 * grp/fgetgrent.c (fgetgrent): Likewise.
14856 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14857 * grp/putgrent.c (putgrent): Likewise.
14858 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14859 Likewise.
14860 * hurd/hurdinit.c: Likewise.
14861 * iconvdata/8bit-gap.c (struct): Likewise.
14862 * iconvdata/ansi_x3.110.c : Likewise.
14863 * iconvdata/big5.c : Likewise.
14864 * iconvdata/big5hkscs.c : Likewise.
14865 * iconvdata/cp1255.c: Likewise.
14866 * iconvdata/cp1258.c : Likewise.
14867 * iconvdata/cp932.c : Likewise.
14868 * iconvdata/euc-cn.c: Likewise.
14869 * iconvdata/euc-jisx0213.c : Likewise.
14870 * iconvdata/euc-jp.c: Likewise.
14871 * iconvdata/euc-jp-ms.c : Likewise.
14872 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14873 * iconvdata/gb18030.c : Likewise.
14874 * iconvdata/gbbig5.c (const): Likewise.
14875 * iconvdata/gbgbk.c: Likewise.
14876 * iconvdata/gbk.c : Likewise.
14877 * iconvdata/ibm1364.c : Likewise.
14878 * iconvdata/ibm930.c : Likewise.
14879 * iconvdata/ibm932.c: Likewise.
14880 * iconvdata/ibm933.c : Likewise.
14881 * iconvdata/ibm935.c : Likewise.
14882 * iconvdata/ibm937.c : Likewise.
14883 * iconvdata/ibm939.c : Likewise.
14884 * iconvdata/ibm943.c: Likewise.
14885 * iconvdata/iso_11548-1.c: Likewise.
14886 * iconvdata/iso-2022-cn.c : Likewise.
14887 * iconvdata/iso-2022-cn-ext.c : Likewise.
14888 * iconvdata/iso-2022-jp-3.c: Likewise.
14889 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14890 * iconvdata/iso-2022-kr.c : Likewise.
14891 * iconvdata/iso646.c (gconv_end): Likewise.
14892 * iconvdata/iso_6937-2.c : Likewise.
14893 * iconvdata/iso_6937.c : Likewise.
14894 * iconvdata/iso8859-1.c: Likewise.
14895 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14896 * iconvdata/shift_jisx0213.c : Likewise.
14897 * iconvdata/sjis.c : Likewise.
14898 * iconvdata/t.61.c : Likewise.
14899 * iconvdata/tcvn5712-1.c : Likewise.
14900 * iconvdata/tscii.c: Likewise.
14901 * iconvdata/uhc.c : Likewise.
14902 * iconvdata/unicode.c (gconv_end): Likewise.
14903 * iconvdata/utf-16.c (gconv_end): Likewise.
14904 * iconvdata/utf-32.c (gconv_end): Likewise.
14905 * iconvdata/utf-7.c (base64): Likewise.
14906 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14907 * iconv/gconv_close.c (__gconv_close): Likewise.
14908 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14909 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14910 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14911 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14912 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14913 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14914 * iconv/iconv.c (iconv): Likewise.
14915 * iconv/iconv_close.c: Likewise.
14916 * iconv/loop.c (SINGLE): Likewise.
14917 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14918 * include/atomic.h: Likewise.
14919 * inet/inet6_option.c (option_alloc): Likewise.
14920 * intl/bindtextdom.c (set_binding_values): Likewise.
14921 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14922 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14923 * intl/localealias.c (read_alias_file): Likewise.
14924 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14925 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14926 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14927 * libio/fmemopen.c (fmemopen): Likewise.
14928 * libio/iofgets.c (_IO_fgets): Likewise.
14929 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14930 * libio/iofgetws.c (fgetws): Likewise.
14931 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14932 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14933 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14934 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14935 * locale/findlocale.c (_nl_find_locale): Likewise.
14936 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14937 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14938 Likewise.
14939 * locale/setlocale.c (setlocale): Likewise.
14940 * login/programs/pt_chown.c (main): Likewise.
14941 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14942 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14943 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14944 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14945 * math/e_exp2l.c: Likewise.
14946 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14947 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14948 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14949 * math/s_catan.c (__catan): Likewise.
14950 * math/s_catanf.c (__catanf): Likewise.
14951 * math/s_catanh.c (__catanh): Likewise.
14952 * math/s_catanhf.c (__catanhf): Likewise.
14953 * math/s_catanhl.c (__catanhl): Likewise.
14954 * math/s_catanl.c (__catanl): Likewise.
14955 * math/s_ccosh.c (__ccosh): Likewise.
14956 * math/s_ccoshf.c (__ccoshf): Likewise.
14957 * math/s_ccoshl.c (__ccoshl): Likewise.
14958 * math/s_cexp.c (__cexp): Likewise.
14959 * math/s_cexpf.c (__cexpf): Likewise.
14960 * math/s_cexpl.c (__cexpl): Likewise.
14961 * math/s_clog10.c (__clog10): Likewise.
14962 * math/s_clog10f.c (__clog10f): Likewise.
14963 * math/s_clog10l.c (__clog10l): Likewise.
14964 * math/s_clog.c (__clog): Likewise.
14965 * math/s_clogf.c (__clogf): Likewise.
14966 * math/s_clogl.c (__clogl): Likewise.
14967 * math/s_csin.c (__csin): Likewise.
14968 * math/s_csinf.c (__csinf): Likewise.
14969 * math/s_csinh.c (__csinh): Likewise.
14970 * math/s_csinhf.c (__csinhf): Likewise.
14971 * math/s_csinhl.c (__csinhl): Likewise.
14972 * math/s_csinl.c (__csinl): Likewise.
14973 * math/s_csqrt.c (__csqrt): Likewise.
14974 * math/s_csqrtf.c (__csqrtf): Likewise.
14975 * math/s_csqrtl.c (__csqrtl): Likewise.
14976 * math/s_ctan.c (__ctan): Likewise.
14977 * math/s_ctanf.c (__ctanf): Likewise.
14978 * math/s_ctanh.c (__ctanh): Likewise.
14979 * math/s_ctanhf.c (__ctanhf): Likewise.
14980 * math/s_ctanhl.c (__ctanhl): Likewise.
14981 * math/s_ctanl.c (__ctanl): Likewise.
14982 * math/w_pow.c: Likewise.
14983 * math/w_powf.c: Likewise.
14984 * math/w_powl.c: Likewise.
14985 * math/w_scalb.c (sysv_scalb): Likewise.
14986 * math/w_scalbf.c (sysv_scalbf): Likewise.
14987 * math/w_scalbl.c (sysv_scalbl): Likewise.
14988 * misc/error.c (error_tail): Likewise.
14989 * misc/pselect.c (__pselect): Likewise.
14990 * nis/nis_callback.c (__nis_create_callback): Likewise.
14991 * nis/nis_call.c (__nisfind_server): Likewise.
14992 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14993 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14994 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14995 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14996 * nis/nis_lookup.c (nis_lookup): Likewise.
14997 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14998 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14999 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 15000 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
15001 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15002 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15003 * nis/nss_compat/compat-initgroups.c (add_group)
15004 (internal_getgrent_r): Likewise.
15005 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15006 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15007 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15008 (internal_getspnam_r): Likewise.
15009 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15010 (_nss_nis_getaliasbyname_r): Likewise.
15011 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15012 (_nss_nis_getntohost_r): Likewise.
15013 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15014 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15015 (_nss_nis_getgrgid_r): Likewise.
15016 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15017 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15018 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15019 (_nss_nis_gethostbyname4_r): Likewise.
15020 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15021 (initgroups_netid): Likewise.
a1ffb40e 15022 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
15023 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15024 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15025 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15026 (_nss_nis_getprotobynumber_r): Likewise.
15027 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15028 (_nss_nis_getsecretkey): Likewise.
15029 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15030 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15031 (_nss_nis_getpwuid_r): Likewise.
15032 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15033 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15034 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15035 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15036 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15037 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
15038 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15039 Likewise.
57f41c40
AS
15040 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15041 (_nss_nisplus_getntohost_r): Likewise.
15042 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15043 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15044 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15045 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 15046 Likewise.
57f41c40
AS
15047 * nis/nss_nisplus/nisplus-initgroups.c
15048 (_nss_nisplus_initgroups_dyn): Likewise.
15049 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15050 (_nss_nisplus_getnetbyaddr_r): Likewise.
15051 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15052 (_nss_nisplus_getprotobynumber_r): Likewise.
15053 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15054 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
15055 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15056 Likewise.
57f41c40
AS
15057 * nis/nss_nisplus/nisplus-service.c
15058 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15059 (_nss_nisplus_getservbyport_r): Likewise.
15060 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15061 (_nss_nisplus_getspnam_r): Likewise.
15062 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15063 Likewise.
a1ffb40e
OB
15064 * nscd/aicache.c (addhstaiX): Likewise.
15065 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
15066 * nscd/connections.c (register_traced_file, send_ro_fd)
15067 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15068 (main_loop_epoll): Likewise.
a1ffb40e
OB
15069 * nscd/grpcache.c (addgrbyX): Likewise.
15070 * nscd/hstcache.c (addhstbyX): Likewise.
15071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15072 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
15073 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15074 (addinnetgrX): Likewise.
15075 * nscd/nscd-client.h (__nscd_acquire_maplock)
15076 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
15077 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15078 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15079 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15080 Likewise.
15081 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15082 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
15083 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15084 (__nscd_get_map_ref): Likewise.
a1ffb40e 15085 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
15086 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15087 Likewise.
a1ffb40e
OB
15088 * nscd/pwdcache.c (addpwbyX): Likewise.
15089 * nscd/selinux.c (preserve_capabilities): Likewise.
15090 * nscd/servicescache.c (addservbyX): Likewise.
15091 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15092 * posix/fnmatch.c (fnmatch): Likewise.
15093 * posix/getopt.c (_getopt_internal_r): Likewise.
15094 * posix/glob.c (glob, glob_in_dir): Likewise.
15095 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
15096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15097 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
15098 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15099 * resolv/res_init.c: Likewise.
15100 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15101 * resolv/res_query.c (__libc_res_nquery): Likewise.
15102 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15103 Likewise.
15104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15105 * stdio-common/perror.c (perror): Likewise.
15106 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15107 * stdio-common/tmpnam.c (tmpnam): Likewise.
15108 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15109 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
15110 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15111 Likewise.
a1ffb40e
OB
15112 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15113 * stdlib/putenv.c (putenv): Likewise.
15114 * stdlib/setenv.c (__add_to_environ): Likewise.
15115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15116 * stdlib/strtol_l.c (INTERNAL): Likewise.
15117 * string/memmem.c (memmem): Likewise.
15118 * string/strerror.c (strerror): Likewise.
15119 * string/strnlen.c (__strnlen): Likewise.
15120 * string/test-memmem.c (simple_memmem): Likewise.
15121 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15122 * sunrpc/pm_getport.c (__get_socket): Likewise.
15123 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15124 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
15125 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15126 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
15127 Likewise.
15128 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15130 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15131 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15132 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
15133 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15134 Likewise.
15135 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15136 Likewise.
a1ffb40e
OB
15137 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15138 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15140 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15141 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15143 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15145 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15147 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15148 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15149 Likewise.
15150 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15151 Likewise.
15152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15153 Likewise.
15154 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15157 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15158 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15159 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15160 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15163 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15164 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15167 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15170 Likewise.
a1ffb40e
OB
15171 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15172 Likewise.
15173 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15174 Likewise.
15175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15176 Likewise.
15177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15179 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15180 Likewise.
15181 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15182 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15183 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15184 * sysdeps/posix/sleep.c: Likewise.
15185 * sysdeps/posix/tempname.c: Likewise.
15186 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15187 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15188 Likewise.
57f41c40
AS
15189 * sysdeps/powerpc/powerpc32/dl-machine.h
15190 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15193 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15194 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15195 Likewise.
15196 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15197 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15198 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15199 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15200 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15201 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15202 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15203 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15205 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15207 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15208 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15210 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15211 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15212 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15213 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15214 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15215 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15216 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15217 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15219 Likewise.
15220 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15221 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15222 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15223 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15224 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15225 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15226 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15227 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15228 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15230 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15231 Likewise.
15232 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15233 (__posix_fallocate64_l64): Likewise.
15234 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15235 (posix_fallocate): Likewise.
57f41c40
AS
15236 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15237 Likewise.
a1ffb40e 15238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15239 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15240 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15241 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15242 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15243 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15244 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15245 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15246 (__posix_fallocate64_l64): Likewise.
15247 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15248 Likewise.
15249 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15250 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15251 (__get_clockfreq): Likewise.
a1ffb40e
OB
15252 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15253 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15254 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15257 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15258 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15260 Likewise.
15261 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15262 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15263 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15266 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15267 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15268 Likewise.
15269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15270 (posix_fallocate): Likewise.
15271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15272 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15273 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15274 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15275 (elf_machine_rela, elf_machine_rela_relative)
15276 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15277 * time/asctime.c (asctime_internal): Likewise.
15278 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15279 * time/tzset.c (__tzset_parse_tz): Likewise.
15280 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15281 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15282 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15283 * wcsmbs/wcsmbsload.h: Likewise.
15284
f3d338c9
OB
15285 [BZ #15894]
15286 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15287
57f41c40
AS
15288 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15289 (arena_get2): Remove THREAD_STATS conditionals.
15290 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15291 (__malloc_stats, int): Likewise.
bdfe308a 15292
d674667c
MF
152932014-02-08 Mike Frysinger <vapier@gentoo.org>
15294
15295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15296 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15297
6349768c
MF
15298 * manual/setjmp.texi: Fix typos/grammar errors.
15299
0b7c7473
MF
15300 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15301 Only return early when n is <= 0. Delete unused return statement.
15302
ac8cc9e3
MF
15303 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15304 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15305 * debug/tst-longjmp_chk3.c: New file.
15306
c5bb8e23
MF
15307 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15308 (test_main): Replace code with set_fortify_handler call.
15309 * debug/test-strcpy_chk.c: Likewise.
15310 * debug/tst-chk1.c: Likewise.
15311 * debug/tst-longjmp_chk.c: Likewise.
15312 * test-skeleton.c: Include fcntl.h & paths.h
15313 (set_fortify_handler): Define.
15314
10444e42
MF
15315 * debug/tst-longjmp_chk.c: Add header comment and include
15316 ../test-skeleton.c.
15317 (do_test): Mark static.
15318 (TEST_FUNCTION): Define.
15319
1e805e8d
MF
15320 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15321 (IP_PMTUDISC_INTERFACE): Likewise.
15322 (IP_MULTICAST_IF): Likewise.
15323 (IP_MULTICAST_TTL): Likewise.
15324 (IP_MULTICAST_LOOP): Likewise.
15325 (IP_ADD_MEMBERSHIP): Likewise.
15326 (IP_DROP_MEMBERSHIP): Likewise.
15327 (IP_UNBLOCK_SOURCE): Likewise.
15328 (IP_BLOCK_SOURCE): Likewise.
15329 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15330 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15331 (IP_MSFILTER): Likewise.
15332 (MCAST_JOIN_GROUP): Likewise.
15333 (MCAST_BLOCK_SOURCE): Likewise.
15334 (MCAST_UNBLOCK_SOURCE): Likewise.
15335 (MCAST_LEAVE_GROUP): Likewise.
15336 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15337 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15338 (MCAST_MSFILTER): Likewise.
15339 (IP_MULTICAST_ALL): Likewise.
15340 (IP_UNICAST_IF): Likewise.
15341
73f79bb7
MF
15342 * timezone/Makefile: Delete $(have-ksh) check.
15343 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15344 * timezone/tzselect.ksh: Add +x mode bits.
15345
8da79b60
MF
15346 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15347 (ANON_INODE_FS_MAGIC): Likewise.
15348 (BDEVFS_MAGIC): Likewise.
15349 (BINFMTFS_MAGIC): Likewise.
15350 (BTRFS_TEST_MAGIC): Likewise.
15351 (CRAMFS_MAGIC_WEND): Likewise.
15352 (DEBUGFS_MAGIC): Likewise.
15353 (ECRYPTFS_SUPER_MAGIC): Likewise.
15354 (EXT3_SUPER_MAGIC): Likewise.
15355 (EXT4_SUPER_MAGIC): Likewise.
15356 (FUTEXFS_SUPER_MAGIC): Likewise.
15357 (HOSTFS_SUPER_MAGIC): Likewise.
15358 (HUGETLBFS_MAGIC): Likewise.
15359 (MINIX3_SUPER_MAGIC): Likewise.
15360 (MTD_INODE_FS_MAGIC): Likewise.
15361 (NILFS_SUPER_MAGIC): Likewise.
15362 (OPENPROM_SUPER_MAGIC): Likewise.
15363 (PIPEFS_MAGIC): Likewise.
15364 (PSTOREFS_MAGIC): Likewise.
15365 (QNX6_SUPER_MAGIC): Likewise.
15366 (RAMFS_MAGIC): Likewise.
15367 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15368 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15369 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15370 (SECURITYFS_MAGIC): Likewise.
15371 (SELINUX_MAGIC): Likewise.
15372 (SMACK_MAGIC): Likewise.
15373 (SOCKFS_MAGIC): Likewise.
15374 (SQUASHFS_MAGIC): Likewise.
15375 (STACK_END_MAGIC): Likewise.
15376 (TMPFS_MAGIC): Likewise.
15377 (USBDEVICE_SUPER_MAGIC): Likewise.
15378 (V9FS_MAGIC): Likewise.
15379 (XENFS_SUPER_MAGIC): Likewise.
15380 (CRAMFS_MAGIC): Fix typo in comment.
15381 (EXT2_SUPER_MAGIC): Update comment.
15382 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15383
464263cc
JM
153842014-02-08 Joseph Myers <joseph@codesourcery.com>
15385
c6bfe5c4
JM
15386 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15387 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15388 * sysdeps/unix/sysv/linux/arm: Move directory from
15389 ports/sysdeps/unix/sysv/linux/arm.
15390 * README: Update listing for arm-*-linux-gnueabi.
15391
464263cc
JM
15392 * README: Remove mention of am33.
15393
32749f6c
RM
153942014-02-07 Roland McGrath <roland@hack.frob.com>
15395
15396 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15397 than the comma operator, to avoid "rhs of comma has no effect"
15398 compiler warnings.
15399 (__sigfillset, __sigandset, __sigorset): Likewise.
15400 * include/signal.h (__sigemptyset): Likewise.
15401 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15402
d5b396c1
AM
154032014-02-07 Allan McRae <allan@archlinux.org>
15404
15405 * version.h (RELEASE): Set to "development".
15406 (VERSION): Set to "2.19.90"
15407 * NEWS: Add 2.20 section.
15408
3bfff2ed
CD
154092014-02-06 Carlos O'Donell <carlos@redhat.com>
15410
15411 [BZ #16529]
15412 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15413
ee7cc385
SP
154142014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15415
15416 * manual/contrib.texi: Update entry for Carlos O'Donell,
15417 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15418
f877c4f2
CD
154192014-02-05 Carlos O'Donell <carlos@rehdat.com>
15420
27e839f6
CD
15421 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15422
f877c4f2
CD
15423 * sysdeps/unix/sysv/linux/kernel-features.h
15424 [__LINUX_KERNEL_VERSION >= 0x020621]
15425 (__ASSUME_PROC_PID_TASK_COMM): Define.
15426
68159946
SP
154272014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15428
ba17cdbd
SP
15429 [BZ #16398]
15430 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15431 conversion when destination buffer does not have enough space.
15432 * libio/tst-ftell-partial-wide.c: New test case.
15433 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15434
68159946
SP
15435 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15436 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15437 Leonard and Allan McRae.
15438
2b528732
DM
154392014-02-04 David S. Miller <davem@davemloft.net>
15440
15441 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15442 32-bit.
15443
0ff82463
AZ
154442014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15445
57f41c40
AS
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15447 New file
c01603f7
AZ
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15449 New file
57f41c40
AS
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15451 New file.
15452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15453 New file.
c01603f7
AZ
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15455 New file.
57f41c40
AS
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15457 New file.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15459 New file.
c01603f7
AZ
15460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15461 New file.
15462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15463 New file.
15464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15465 New file.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15467 New file.
15468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15469 New file.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15471 New file.
15472
154732014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15474
0ff82463
AZ
15475 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15476 * shlib-versions: Likewise.
15477
1695c773
AZ
154782014-02-04 Roland McGrath <roland@hack.frob.com>
15479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15480
15481 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15482 (abilist-pattern): New variable, set to %-le.abilist.
15483
15484 * Makerules (abilist-pattern): New variable.
15485 (vpath): Use $(abilist-pattern) in place of %.abilist.
15486 (check-abi-% pattern rule): Likewise.
15487 (check-abi, update-abi): Likewise.
15488
6c0ce4b4
EW
154892014-02-04 Eric Wong <normalperson@yhbt.net>
15490
15491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15492
481e3524
CD
154932014-02-03 Carlos O'Donell <carlos@redhat.com>
15494
15495 * manual/startup.texi: Add next, previous, and top entries for
15496 the `Program Arguments' and `Environment Variables' nodes.
15497
375592d3
AO
154982014-02-03 Alexandre Oliva <aoliva@redhat.com>
15499
15500 * manual/macros.texi: Add comments before MTASC-safety macros.
15501
f54838ba
AO
15502 * manual/users.texi: Document MTASC-safety properties.
15503
57f41c40
AS
15504 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15505 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15506 @deftypefun, and add @safety note.
15507 * manual/signal.texi: Move comments that analyze the above
15508 functions to their home place.
15509
fd3daba4
AM
155102014-02-03 Allan McRae <allan@archlinux.org>
15511
15512 * po/sl.po: Update Slovenian translation from translation project.
15513
597636d7
AO
155142014-02-02 Alexandre Oliva <aoliva@redhat.com>
15515
15516 * manual/time.texi (timegm): Add missing blank after @c.
15517 Reported by Joseph Myers <joseph@codesourcery.com>.
15518
ee196e3c
AO
155192014-02-01 Alexandre Oliva <aoliva@redhat.com>
15520
15521 * manual/check-safety.sh: New.
15522 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15523
f8d529d5
AO
15524 * manual/terminal.texi: Document MTASC-safety properties.
15525
de55fdf4
AO
15526 * manual/filesys.texi: Document MTASC-safety properties.
15527
c3299c08
AO
15528 * manual/errno.texi: Document MTASC-safety properties.
15529
06e90b14
AO
15530 * manual/intro.texi: Document safety identifiers and
15531 conditionals.
15532
1acd4371
AO
15533 * manual/string.texi (wcstok): Fix prototype.
15534 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15535
23e5b8cb
AO
15536 * manual/time.texi: Document MTASC-safety properties.
15537
11087373
AO
15538 * manual/string.texi: Document MTASC-safety properties.
15539
5da2c93d
AO
15540 * manual/threads.texi: Document MTASC-safety properties.
15541
171e9210
AO
15542 * manual/stdio.texi: Document MTASC-safety properties.
15543
d9e02532
AO
15544 * manual/syslog.texi: Document MTASC-safety properties.
15545
6af8bab7
AO
15546 * manual/sysinfo.texi: Document MTASC-safety properties.
15547
663b02d7
AO
15548 * manual/startup.texi: Document MTASC-safety properties.
15549
973f180b
AO
15550 * manual/socket.texi: Document MTASC-safety properties.
15551
8f3c25c8
AO
15552 * manual/signal.texi: Document MTASC-safety properties.
15553
542210fb
AO
155542014-01-31 Alexandre Oliva <aoliva@redhat.com>
15555
15556 * manual/setjmp.texi: Document MTASC-safety properties.
15557
433c45a2
AO
15558 * manual/search.texi: Document MTASC-safety properties.
15559
c8ce789c
AO
15560 * manual/resource.texi: Document MTASC-safety properties.
15561
19f5d29c
AO
15562 * manual/process.texi: Document MTASC-safety properties.
15563
e2dfb7f4
AO
15564 * manual/platform.texi: Document MTASC-safety properties.
15565
8c1413f5
AO
15566 * manual/pipe.texi: Document MTASC-safety properties.
15567
03483ada
AO
15568 * manual/pattern.texi: Document MTASC-safety properties.
15569
29e7e2df
AO
15570 * manual/message.texi: Document MTASC-safety properties.
15571
9f529d7c
AO
15572 [BZ #12751]
15573 * manual/memory.texi: Document MTASC-safety properties.
15574
27aaa791
AO
15575 * manual/math.texi: Document MTASC-safety properties.
15576
f2d58726
AO
15577 * manual/locale.texi: Document MTASC-safety properties.
15578
2cc3615c
AO
15579 * manual/llio.texi: Document MTASC-safety properties.
15580
d9f0ec97
AO
15581 * manual/libdl.texi: New.
15582
e7c4409a
AO
15583 * manual/lang.texi: Document MTASC-safety properties.
15584
27bdc63c
AO
15585 * manual/job.texi: Document MTASC-safety properties.
15586
a7b90ea9
AO
15587 * manual/getopt.texi: Document MTASC-safety properties.
15588
c49130e3
AO
15589 * manual/ctype.texi: Document MTASC-safety properties.
15590
0d23a5c1
MR
155912014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15592
15593 [BZ #16046]
15594 * csu/libc-tls.c (static_map): Remove variable.
15595 (__libc_setup_tls): Use main executable's link map for TLS data.
15596 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15597 casing for LM_ID_BASE and GL(dl_nns).
15598 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15599 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15600 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15601 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15602 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15603 member.
15604 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15605 l_phnum members.
15606
0037bb60
AO
156072014-01-30 Alexandre Oliva <aoliva@redhat.com>
15608
15609 * manual/debug.texi: Document MTASC-safety properties.
15610
409e00bd
L
156112014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15612
15613 [BZ #16510]
15614 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15615 of __x86_64__ when disabling x87 inline functions.
15616
86e60666
AO
156172014-01-29 Alexandre Oliva <aoliva@redhat.com>
15618
15619 * manual/charset.texi: Document MTASC-safety properties.
15620
76167637
AO
15621 * manual/crypt.texi: Document MTASC-safety properties.
15622
e567f2a0
AO
15623 * manual/conf.texi: Document MTASC-safety properties.
15624
b719dafd
AO
15625 * manual/arith.texi: Document MTASC-safety properties.
15626
4a16c662
AO
15627 * manual/argp.texi: Document MTASC-safety properties.
15628
0a57b83e
AO
15629 * manual/macros.texi: Introduce macros to document multi
15630 thread, asynchronous signal and asynchronous cancellation
15631 safety properties.
15632 * manual/intro.texi: Introduce the properties themselves.
15633
feab2397
KK
156342014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15635
15636 * sysdeps/sh/sh4/Makefile: New file.
15637
1c0d11bc
AS
156382014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15639
15640 * math/gen-libm-test.pl ($srcdir): New variable.
15641 ($auto_input): Use it.
15642
af37a8a3
SP
156432014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15644
d7b00f98
SP
15645 [BZ #16506]
15646 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15647 access beyond array bounds when parsing netgroups file.
15648
af37a8a3
SP
15649 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15650 the old buffer before realloc.
15651
0c00f062
AM
156522014-01-27 Allan McRae <allan@archlinux.org>
15653
15654 * po/fr.po: Update French translation from translation project.
15655
7d69a1b0
KK
156562014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15657
15658 * sysdeps/sh/libm-test-ulps: Regenerate.
15659
6e697ff7
DM
156602014-01-24 David S. Miller <davem@davemloft.net>
15661
15662 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15663
9cadb35c
KK
156642014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15665
15666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15667 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15668
5d41dadf
SP
156692013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15670
15671 [BZ #16474]
15672 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15673 string pointers after reallocation.
15674
0bad441c
KK
156752014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15676
15677 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15678 __SH4A__ instead of __SH_FPU_ANY__.
15679
7007c661
KK
156802014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15681
15682 * sysdeps/sh/fpu_control.h: New file.
15683 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15684 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15685 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15686 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15687 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15688 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15689 * sysdeps/sh/sys/ucontext.h: Remove.
15690 * sysdeps/sh/sys: Remove directory.
15691
0f0c35e4
AK
156922014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15693
15694 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15695 s390/sys/ucontext.h.
15696 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15697 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15698
4959e284
L
156992014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15700
15701 [BZ #15605]
15702 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15703
d98720e0
AZ
157042014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15705
15706 [BZ#16431]
15707 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15708 Adjust the vDSO correctly for internal calls.
15709 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15710
91cbd0bc
AM
157112014-01-20 Allan McRae <allan@archlinux.org>
15712
15713 * po/ca.po: Update Catalan translation from translation project.
15714
7a02cfad
MF
157152014-01-16 Mike Frysinger <vapier@gentoo.org>
15716
15717 * sysdeps/s390/sotruss-lib.c: New file.
15718
736c304a
AZ
157192014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15720
15721 [BZ#16430]
6e077ee5 15722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15723 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15724 local calls issues by not having a PLT stub required for IFUNC calls.
15725 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15726
94d0cea0
JM
157272014-01-16 Joseph Myers <joseph@codesourcery.com>
15728
15729 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15730 * math/test-fpucw-static.c: Likewise.
15731
980cb518
SP
157322013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15733
15734 [BZ #16453]
15735 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15736
2393fc01
AZ
157372014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15738
15739 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15740 implementation for powerpc.
15741
d359bcc2
OB
157422014-01-15 Ondřej Bílka <neleai@seznam.cz>
15743
15744 [BZ #14782]
15745 * sysdeps/posix/system.c (__libc_system): Do not enable
15746 asynchronous cancellation.
15747
7beb48cb
AK
157482014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15749
15750 [BZ #16427]
15751 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15752 handling only for numbers special also in the IEEE case.
15753
c20d5bf5
AK
157542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15755
15756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15757
e83bd4ee
AM
157582014-01-11 Allan McRae <allan@archlinux.org>
15759
76d0ea69
AM
15760 * po/bg.po: Update Bulgarian translation from translation project.
15761
e83bd4ee
AM
15762 * po/de.po: Update German translation from translation project.
15763
bc2ba20a
RM
157642014-01-10 Roland McGrath <roland@hack.frob.com>
15765
15766 * sysdeps/generic/gcc-compat.h: New file.
15767
649ecea2
SP
157682014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15769
15770 * benchtests/asin-inputs: Correct slow inputs.
15771 * benchtests/acos-inputs: Likewise.
15772
1b19c006
AM
157732014-01-10 Allan McRae <allan@archlinux.org>
15774
a46dab08
AM
15775 * po:sv.po: Update Swedish translation from translation project.
15776
421df74a
AM
15777 * po/vi.po: Update Vietnamese translation from translation project.
15778
d61c51a7
AM
15779 * po/eo.po: Update Esperanto translation from translation project.
15780
0339a319
AM
15781 * po/cs.po: Update Czech translation from translation project.
15782
94ad3e99
AM
15783 * po/nl.po: Update Dutch translation from translation project.
15784
e349ca71
AM
15785 * po/pl.po: Update Polish translation from translation project.
15786
ddf930c1
AM
15787 * po/ru.po: Update Russian translation from translation project.
15788
1b19c006
AM
15789 * po/uk.po: Update Ukrainian translation from translation project.
15790
9f236c49
BM
157912014-01-08 Brooks Moses <bmoses@google.com>
15792
15793 * elf/dl-load.c: Fix comment typo.
15794
cd6701cf
CD
157952014-01-08 Carlos O'Donell <carlos@redhat.com>
15796
15797 * po/header.pot: Rename to...
15798 * po/pot.header: ... this.
15799 * po/Makefile: Use pot.header.
15800
66671c84
YK
158012014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15802 Maxim Kuvyrkov <maxim@kugelworks.com>
15803
15804 [BZ #16394]
cd6701cf
CD
15805 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15806 SRC and DEST against LEN.
66671c84 15807
38f34581
AZ
158082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15809
15810 [BZ #16414]
15811 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15812 implementation.
15813 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15814
158152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15816
15817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15818
4c327f2a
JM
158192014-01-08 Joseph Myers <joseph@codesourcery.com>
15820
15821 [BZ #16408]
15822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15823 for large positive arguments.
15824
b821f414
JM
158252014-01-07 Joseph Myers <joseph@codesourcery.com>
15826
1f0f2067
JM
15827 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15828
a5a326f6
JM
15829 * math/auto-libm-test-in: Mark various tests with
15830 xfail-rounding:ldbl-128ibm.
15831 * math/auto-libm-test-out: Regenerated.
15832
b821f414
JM
15833 [BZ #16407]
15834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15835 Increase overflow threshold.
15836
94c8a4bc
OB
158372014-01-07 Ondřej Bílka <neleai@seznam.cz>
15838
15839 [BZ #14286]
15840 * stdio-common/vfprintf.c: Check for integer overflow.
15841
87ded0c3
AK
158422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15843
15844 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15845 the first argument and return value of __tls_get_addr_internal.
15846
c5eebdd0
AK
158472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15848
15849 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15850 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15851
05d138ef
AK
158522014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15853
15854 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15855 * sysdeps/s390/rtld-global-offsets.sym: New file.
15856 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15857 GLIBC_2.19 symbol.
15858 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15860 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15861 ... this.
15862 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15864 ... this.
15865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15866 Regenerate.
15867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15868 Regenerate.
15869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15870 halfs of GPRs for high_gprs contexts.
15871 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15872 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15873 field.
15874 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15875 uc_flags field.
15876 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15877 64 bit versions:
15878 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15879 for high GPRs (uc_high_gprs) and for future extensions
15880 (__reserved).
15881 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15882 for future extensions (__reserved).
15883 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15884 64 bit versions:
15885 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15886 SC_HIGHGPRS offset definition.
15887 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15888 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15889
93a45ff1
AK
15890 * Versions.def: Add GLIBC_2.19 for libpthread.
15891 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15892 siglongjmp for libpthread with GLIBC_2.19 symver.
15893 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15894 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15895 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15896 * sysdeps/s390/__longjmp.c: New file.
15897 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15898 * sysdeps/s390/longjmp.c: New file.
15899 * sysdeps/s390/setjmp.S: New file.
15900 * sysdeps/s390/sigjmp.S: New file.
15901 * sysdeps/s390/v1-longjmp.c: New file.
15902 * sysdeps/s390/v1-setjmp.h: New file.
15903 * sysdeps/s390/v1-sigjmp.c: New file.
15904 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15905 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15906 GLIBC_2.19 version.
15907 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15908 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15909 versioned symbols for ____longjmp_chk.
15910 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15911 Likewise.
15912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15913 Regenerate.
15914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15915 Regenerate.
15916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15917 Regenerate.
15918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15919 Regenerate.
15920 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15921 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15922 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15923 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15924 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15925 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15926 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15927 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15928 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15929 * sysdeps/s390/rtld-__longjmp.c: New file.
15930 * sysdeps/s390/rtld-setjmp.S: New file.
15931
eb3fc44b
JM
159322014-01-06 Joseph Myers <joseph@codesourcery.com>
15933
15934 [BZ #16400]
15935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15936 Return -__logl (x) for small positive arguments without evaluating
15937 a polynomial.
15938
9341dde4
MF
159392014-01-06 Mike Frysinger <vapier@gentoo.org>
15940
15941 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15942 Rename to ...
15943 (__ptrace_peeksiginfo_args): ... this.
15944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15947
4cff0293
AM
159482014-01-06 Allan McRae <allan@archlinux.org>
15949
15950 * inet/netinet/in.h: Fix typo in comment.
15951
75595dcf
AJ
159522014-01-05 Andreas Jaeger <aj@suse.de>
15953
15954 * sysdeps/i386/fpu/libm-test-ulps: Update.
15955
79c1e109
AM
159562014-01-05 Allan McRae <allan@archlinux.org>
15957
dd804818
AM
15958 * po/libc.pot: Regenerated.
15959
79c1e109
AM
15960 * malloc/memusagestat.c: Fix gettext call formatting.
15961
0c813d1f
SK
159622014-01-04 Sami Kerola <kerolasa@iki.fi>
15963
15964 * nscd/nscd.c: Improve usage() output.
15965
20f4a8d9
MF
159662014-01-04 Mike Frysinger <vapier@gentoo.org>
15967
15968 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15969 * sysdeps/unix/sysv/linux/configure: Regenerated.
15970 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15971 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15972
22562bb2
JM
159732014-01-03 Joseph Myers <joseph@codesourcery.com>
15974
15975 [BZ #16390]
15976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15977 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15978
d7ad2d9b
AZ
159792014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15980
15981 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15982 extra tokens at end of #undef directive.
15983 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15984 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15986
7dd009d8
JM
159872014-01-03 Joseph Myers <joseph@codesourcery.com>
15988
24db925a
JM
15989 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15990
7dd009d8
JM
15991 * math/auto-libm-test-in: Mark various tests with
15992 xfail-rounding:ldbl-128ibm.
15993 * math/auto-libm-test-out: Regenerated.
15994
396e3ecf
JM
159952014-01-02 Joseph Myers <joseph@codesourcery.com>
15996
819e5d50
JM
15997 [BZ #16386]
15998 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15999 numbers with subnormal high part when calculating exponent.
16000
90b6a1e5
JM
16001 [BZ #16385]
16002 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16003 fabs.
16004
396e3ecf
JM
16005 [BZ #16384]
16006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16007 M_LN2l.
16008 (__ieee754_acoshl): Use __log1pl not __log1p.
16009
6c8dbf00
OB
160102013-01-02 Ondřej Bílka <neleai@seznam.cz>
16011
57f41c40
AS
16012 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16013 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16014 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16015 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16016 (reused_arena, arena_get2): Convert to GNU style.
16017 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16018 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16019 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 16020 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
16021 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16022 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16023 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16024 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16025 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16026 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 16027 * malloc/malloc.h: Likewise.
57f41c40
AS
16028 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16029 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 16030 * malloc/mcheck.h: Likewise.
57f41c40
AS
16031 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16032 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
16033 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16034 * malloc/morecore.c (__default_morecore): Likewise.
16035 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
16036 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16037 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16038 (print_and_abort): Likewise.
6c8dbf00
OB
16039 * malloc/obstack.h: Likewise.
16040 * malloc/set-freeres.c (__libc_freeres): Likewise.
16041 * malloc/tst-mallocstate.c (main): Likewise.
16042 * malloc/tst-mtrace.c (main): Likewise.
16043 * malloc/tst-realloc.c (do_test): Likewise.
16044
d4124212
SP
160452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16046
9a3c6a6f
SP
16047 [BZ #16366]
16048 * nscd/netgroupcache.c (do_notfound): New function.
16049 (addgetnetgrentX): Use it.
16050
d4124212
SP
16051 [BZ # 16365]
16052 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16053 NSS_STATUS_NOTFOUND.
16054
97b9a009
JM
160552014-01-01 Joseph Myers <joseph@codesourcery.com>
16056
16057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16059
d4697bc9
AM
160602014-01-01 Allan McRae <allan@archlinux.org>
16061
ddb3687f
AM
16062 * scripts/update-copyrights: Update configure input file suffix.
16063
88726d48
AM
16064 * NEWS: Update copyright year.
16065 * catgets/gencat.c: Likewise.
16066 * csu/version.c: Likewise.
16067 * debug/catchsegv.sh: Likewise.
16068 * debug/pcprofiledump.c: Likewise.
16069 * debug/xtrace.sh: Likewise.
16070 * elf/ldconfig.c: Likewise.
16071 * elf/ldd.bash.in: Likewise.
16072 * elf/pldd.c: Likewise.
16073 * elf/sotruss.ksh: Likewise.
16074 * elf/sprof.c: Likewise.
16075 * iconv/iconv_prog.c: Likewise.
16076 * iconv/iconvconfig.c: Likewise.
16077 * locale/programs/locale.c: Likewise.
16078 * locale/programs/localedef.c: Likewise.
16079 * login/programs/pt_chown.c: Likewise.
16080 * malloc/memusage.sh: Likewise.
16081 * malloc/memusagestat.c: Likewise.
16082 * malloc/mtrace.pl: Likewise.
16083 * manual/libc.texinfo: Likewise.
16084 * nscd/nscd.c: Likewise.
16085 * nss/getent.c: Likewise.
16086 * nss/makedb.c: Likewise.
16087 * posix/getconf.c: Likewise.
16088 * scripts/test-installation.pl: Likewise.
16089
d4697bc9
AM
16090 * All files with FSF copyright notices: Update copyright dates
16091 using scripts/update-copyrights.
16092 * intl/plural.c: Regenerated.
16093 * locale/programs/charmap-kw.h: Likewise.
16094 * locale/programs/locfile-kw.h: Likewise.
16095
c8590f9d
MF
160962013-12-31 Mike Frysinger <vapier@gentoo.org>
16097
16098 * sysdeps/unix/sysv/linux/configure: Regenerated.
16099 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16100 the linux/fanotify.h header.
16101 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16102 HAVE_LINUX_FANOTIFY_H is defined.
16103
b19221b9
SP
161042013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16105
dd1d85e5
SP
16106 * benchtests/cos-inputs: New inputs.
16107 * benchtests/sin-inputs: Likewise.
16108
1acbb90f
SP
16109 * benchtests/atan-inputs: New inputs. Fix name of multiple
16110 precision fallback inputs.
16111
4c012ed3
SP
16112 * benchtests/atanh-inputs: New inputs.
16113 * benchtests/tanh-inputs: Likewise.
16114
eff98324
SP
16115 * benchtests/acosh-inputs: New inputs.
16116 * benchtests/asinh-inputs: Likewise.
16117
ce641152
SP
16118 * benchtests/cosh-inputs: New inputs.
16119 * benchtests/sinh-inputs: Likewise.
16120
b19221b9
SP
16121 * benchtests/acos-inputs: Add more inputs.
16122 * benchtests/asin-inputs: Likewise.
16123
030a4976 161242013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 16125
030a4976 16126 [BZ #16375]
9dcc8f11
VS
16127 * manual/arith.texi: Fix spelling.
16128 * manual/charset.texi: Likewise.
16129 * manual/errno.texi: Likewise.
16130 * manual/filesys.texi: Likewise.
16131 * manual/lang.texi: Likewise.
16132 * manual/llio.texi: Likewise.
16133 * manual/locale.texi: Likewise.
16134 * manual/message.texi: Likewise.
16135 * manual/resource.texi: Likewise.
16136 * manual/search.texi: Likewise.
16137 * manual/setjmp.texi: Likewise.
16138 * manual/stdio.texi: Likewise.
16139 * manual/string.texi: Likewise.
16140 * manual/sysinfo.texi: Likewise.
16141 * manual/time.texi: Likewise.
16142
11520a57
CD
161432013-12-27 Carlos O'Donell <carlos@redhat.com>
16144
16145 * po/sl.po: New file.
16146
471103ae
MF
161472013-12-27 Mike Frysinger <vapier@gentoo.org>
16148
16149 * .gitignore: Add core/.gdbinit/.gdb_history.
16150
6c9642ed
AM
161512013-12-27 Allan McRae <allan@archlinux.org>
16152
16153 [BZ #16369]
16154 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16155 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16156
3f637079
BM
161572013-12-24 Brooks Moses <bmoses@google.com>
16158
16159 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16160 all compilers that claim C++98 compliance, not just GCC.
16161 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16162 Likewise.
16163
abc26e99
MK
161642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16165
16166 * NEWS: Restore accidentally deleted bug-fix entries.
16167
362b47fe
MK
161682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16169 Ondřej Bílka <neleai@seznam.cz>
16170
16171 [BZ #15073]
16172 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16173 have_lock.
362b47fe 16174
b9bcbbcb
OB
161752013-12-23 Ondřej Bílka <neleai@seznam.cz>
16176
16177 [BZ #12986]
16178 * manual/stdio.texi (String Input Conversions): Clarify that character
16179 classes are not supported.
16180
fb55fcd2
AZ
161812013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16182
16183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16184
ef7344f0
JM
161852013-12-22 Joseph Myers <joseph@codesourcery.com>
16186
4f40e4b3
JM
16187 [BZ #16337]
16188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16189 Calculate results for small negative arguments directly rather
16190 than using reflection formula with special underflow handling.
16191
ef7344f0
JM
16192 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16193 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16194 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16195 (fchflags): Likewise.
16196 (revoke): Likewise.
16197 (setlogin): Likewise.
16198 (sigaltstack): Likewise.
16199 (wait4): Likewise.
16200 (sigblock): Remove.
16201 (sigsetmask): Likewise.
16202 (wait3): Likewise.
16203 (waitpid): Likewise.
16204 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16205 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16206 file.
16207 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16208 * sysdeps/unix/bsd/Makefile: ... here.
16209 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16210 * sysdeps/unix/bsd/Versions: ... here.
16211 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16212 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16213 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16214 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16215 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16216 * sysdeps/unix/bsd/sigblock.c: ... here.
16217 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16218 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16219 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16220 * sysdeps/unix/bsd/sigvec.c: ... here.
16221 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16222 * sysdeps/unix/bsd/tcdrain.c: ... here.
16223 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16224 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16225 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16226 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16227 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16228 * sysdeps/unix/bsd/wait.c: ... here.
16229 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16230 * sysdeps/unix/bsd/wait3.c: ... here.
16231 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16232 * sysdeps/unix/bsd/waitpid.c: ... here.
16233
5b0626b9
JM
162342013-12-21 Joseph Myers <joseph@codesourcery.com>
16235
16236 [BZ #16356]
16237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16238 round-to-nearest for [!USE_AS_EXPM1L].
16239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16240 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16241 more tests of exp and exp10. Expect some exp10 tests to miss
16242 exceptions or fail in directed rounding modes.
16243 * math/auto-libm-test-out: Regenerated.
16244 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16245 (exp10_test_tonearest): New function.
16246 (exp10_towardzero_test_data): New array.
16247 (exp10_test_towardzero): New function.
16248 (exp10_downward_test_data): New array.
16249 (exp10_test_downward): New function.
16250 (exp10_upward_test_data): New array.
16251 (exp10_test_upward): New function.
16252 (main): Call the new functions.
16253 * sysdeps/i386/fpu/libm-test-ulps: Update.
16254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255
7fda5682
JM
162562013-12-20 Joseph Myers <joseph@codesourcery.com>
16257
31e3a405
JM
16258 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16259 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16260 * math/auto-libm-test-out: Regenerated.
16261 * math/libm-test.inc (acosh_test_data): Add more tests.
16262 (atanh_test_data): Likewise.
16263 (ceil_test_data): Likewise.
16264 (copysign_test_data): Likewise.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update.
16266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16267
85bff96a
JM
16268 * timezone/checktab.awk: Update from tzcode 2013i.
16269 * timezone/private.h: Likewise.
16270 * timezone/scheck.c: Likewise.
16271 * timezone/tzfile.h: Likewise.
16272 * timezone/tzselect.ksh: Likewise.
16273 * timezone/zdump.c: Likewise.
16274 * timezone/zic.c: Likewise.
16275
b7867a3b
JM
16276 * math/auto-libm-test-in: Add tests of cpow.
16277 * math/auto-libm-test-out: Regenerated.
16278 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16279 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16280 mpc_cc_c.
16281 (func_calc_desc): Add mpc_cc_c union field.
16282 (test_functions): Add cpow.
16283 (special_fill_2pi): New function.
16284 (special_real_inputs): Add 2pi.
16285 (calc_generic_results): Handle mpc_cc_c.
16286 * sysdeps/i386/fpu/libm-test-ulps: Update.
16287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16288
7fda5682
JM
16289 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16290 csqrt, ctan and ctanh.
16291 * math/auto-libm-test-out: Regenerated.
16292 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16293 (TEST_COND_x86): Likewise.
16294 (ccos_test_data): Use AUTO_TESTS_c_c.
16295 (ccosh_test_data): Likewise.
16296 (cexp_test_data): Likewise.
16297 (clog_test_data): Likewise.
16298 (csqrt_test_data): Likewise.
16299 (ctan_test_data): Likewise.
16300 (ctan_tonearest_test_data): Likewise.
16301 (ctan_towardzero_test_data): Likewise.
16302 (ctan_downward_test_data): Likewise.
16303 (ctan_upward_test_data): Likewise.
16304 (ctanh_test_data): Likewise.
16305 (ctanh_tonearest_test_data): Likewise.
16306 (ctanh_towardzero_test_data): Likewise.
16307 (ctanh_downward_test_data): Likewise.
16308 (ctanh_upward_test_data): Likewise.
16309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16310 mpc_c_c.
16311 (func_calc_desc): Add mpc_c_c union field.
16312 (FUNC_mpc_c_c): New macro.
16313 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16314 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16315 ctanh.
16316 (special_fill_min_subnorm_p120): New function.
16317 (special_real_inputs): Add min_subnorm_p120.
16318 (calc_generic_results): Handle mpc_c_c.
16319 * sysdeps/i386/fpu/libm-test-ulps: Update.
16320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16321
5ff8d60e
SP
163222013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16323
57f41c40
AS
16324 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16325 (do_sin_slow): New functions.
16326 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16327 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16328
84ba214c
SP
16329 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16330 Use M to change sign of result instead of X. Assume X is
16331 positive.
16332 (csloww1): Likewise.
16333 (__sin): Adjust.
16334 (__cos): Adjust.
16335
975195e4
SP
16336 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16337 arguments A and DA.
16338 (__sin): Adjust.
16339 (__cos): Likewise.
16340
5ff8d60e
SP
16341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16342 (__cos): Likewise.
16343 (sloww1): Don't adjust sign of DX.
16344 (csloww1): Likewise.
16345 (sloww2): Use X directly and don't adjust sign of DX.
16346 (csloww2): Likewise.
16347
eb983568
JM
163482013-12-19 Joseph Myers <joseph@codesourcery.com>
16349
64a17f1a
JM
16350 * math/auto-libm-test-in: Add tests of cabs and carg.
16351 * math/auto-libm-test-out: Regenerated.
16352 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16353 (carg_test_data): Likewise.
16354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16355 mpc_c_f.
16356 (func_calc_desc): Add mpc_c_f union field.
16357 (test_functions): Add cabs and carg.
16358 (calc_generic_results): Handle mpc_c_f.
16359
eb983568
JM
16360 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16361 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16362 as a macro and a compat symbol.
16363 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16364 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16365 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16366 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16367 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16368 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16369 not use .hidden.
16370 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16371 Likewise.
16372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16373 Likewise.
16374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16375 Likewise.
16376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16377 Likewise.
16378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16379 Likewise.
16380 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16381 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16382 from GLIBC_2.3.2.
16383
6eeb678a
AZ
163842013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16385
16386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16387
6f6fc482
JM
163882013-12-19 Joseph Myers <joseph@codesourcery.com>
16389
21fea2e2
JM
16390 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16391 trailing whitespace removed.
16392 * scripts/config.guess: Update to version 2013-11-29.
16393 * scripts/config.sub: Update to version 2013-10-01.
16394
6f6fc482
JM
16395 * math/auto-libm-test-in: Add tests of sincos.
16396 * math/auto-libm-test-out: Regenerated.
16397 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16399 mpfr_f_11.
16400 (func_calc_desc): Add mpfr_f_11 union field.
16401 (test_functions): Add sincos.
16402 (calc_generic_results): Handle mpfr_f_11.
16403 * sysdeps/i386/fpu/libm-test-ulps: Update.
16404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16405
83f5c32d
AS
164062013-12-19 Andreas Schwab <schwab@suse.de>
16407
16408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16409 CALL_MCOUNT.
16410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16411 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16412 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16413
c688b419
JM
164142013-12-19 Joseph Myers <joseph@codesourcery.com>
16415
335ee092
JM
16416 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16417 * sysdeps/i386/fpu/libm-test-ulps: Update.
16418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16419
f88acd39
JM
16420 [BZ #16293]
16421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16422 round-to-nearest mode when using frndint.
16423 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16424 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16426 Likewise.
16427 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16428 sinh test to fail.
16429 * math/auto-libm-test-out: Regenerated.
16430 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16431 (TEST_COND_x86): Likewise.
16432 (expm1_tonearest_test_data): New array.
16433 (expm1_test_tonearest): New function.
16434 (expm1_towardzero_test_data): New array.
16435 (expm1_test_towardzero): New function.
16436 (expm1_downward_test_data): New array.
16437 (expm1_test_downward): New function.
16438 (expm1_upward_test_data): New array.
16439 (expm1_test_upward): New function.
16440 (main): Run the new test functions.
16441 * sysdeps/i386/fpu/libm-test-ulps: Update.
16442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16443
c688b419
JM
16444 * include/features.h: Update comment documenting feature test
16445 macros. Mention _DEFAULT_SOURCE in comment.
16446 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16447 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16448 _BSD_SOURCE and _SVID_SOURCE.
16449 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16450 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16451 !_SVID_SOURCE]: Likewise.
16452 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16453 (__USE_POSIX_IMPLICITLY): Define.
16454 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16455 (_POSIX_SOURCE): Undefine and redefine.
16456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16457 (_POSIX_C_SOURCE): Likewise.
16458 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16459 (Feature Test Macros): Update documentation of default features.
16460
9f6e964c
RS
164612013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16462
16463 * benchtests/Makefile: Add bench-strtok.
16464 * benchtests/bench-strtok.c: New file: strtok benchtest.
16465
ee0a148a
AM
164662013-12-19 Allan McRae <allan@archlinux.org>
16467
16468 * manual/install.texi: Suppress menu for plain text output.
16469 * INSTALL: Regenerated.
16470
b9ab448f
BM
164712013-12-18 Brooks Moses <bmoses@google.com>
16472
16473 [BZ #15846]
16474 * misc/getauxval.c: Include errno.h.
16475 (__getauxval): Set errno to ENOENT if the requested type is not
16476 found.
16477 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16478 don't declare with __attribute_const__.
16479 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16480 * manual/startup.texi: Document that getauxval sets errno.
16481
23776487
JM
164822013-12-18 Joseph Myers <joseph@codesourcery.com>
16483
f889953b
JM
16484 * math/auto-libm-test-in: Add tests of jn and yn.
16485 * math/auto-libm-test-out: Regenerated.
16486 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16487 (yn_test_data): Likewise.
16488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16489 mpfr_if_f.
16490 (func_calc_desc): Add mpfr_if_f union field.
16491 (FUNC_mpfr_if_f): New macro.
16492 (test_functions): Add jn and yn.
16493 (calc_generic_results): Assert type of second input for
16494 mpfr_ff_f. Handle mpfr_if_f.
16495 (output_for_one_input_case): Disable all checking for arguments
16496 fitting floating-point types in case of an integer argument.
16497 * sysdeps/i386/fpu/libm-test-ulps: Update.
16498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499
23776487
JM
16500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16501 Don't expect fegetround reference in libm.so.
16502
cb756c6d
MS
165032013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16504
16505 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16506 $(config-cflags-nofma).
16507
2dec468f
JM
165082013-12-18 Joseph Myers <joseph@codesourcery.com>
16509
5953eb3a
JM
16510 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16511 * math/auto-libm-test-out: Regenerated.
16512
2dec468f
JM
16513 [BZ #16338]
16514 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16515 to determine exponent and adjust argument to have exponent of -1.
16516 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16517 log2.
16518 * math/auto-libm-test-out: Regenerated.
16519 * sysdeps/i386/fpu/libm-test-ulps: Update.
16520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16521
4d84e6ad
OB
165222013-12-18 Ondřej Bílka <neleai@seznam.cz>
16523
16524 * manual/probes.texi: Remove cases when per-thread arenas are
16525 disabled.
16526
1818483b
AS
165272013-12-18 Andreas Schwab <schwab@suse.de>
16528
16529 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16530 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16531 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16533 * sysdeps/i386/i686/multiarch/Makefile: Update.
16534 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16535
25de95bf
JM
165362013-12-17 Joseph Myers <joseph@codesourcery.com>
16537
16538 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16539 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16540
674762d9
PE
165412013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16542
ed27ed83 16543 [BZ #15968]
0748546f
PE
16544 Support TZ transition times < 00:00:00.
16545 This is needed for version-3 tz-format files; it supports time
16546 stamps past 2037 for America/Godthab (the only entry in the tz
16547 database for which this change is relevant).
16548 * manual/time.texi (TZ Variable): Document transition times
16549 from -167:59:59 through -00:00:01.
16550 * time/tzset.c (tz_rule): Time of day is now signed.
16551 (__tzset_parse_tz): Parse negative time of day.
16552
4480e934
PE
16553 Document TZ transition times >= 25:00:00.
16554 * manual/time.texi (TZ Variable): Document transition times from
16555 25:00:00 through 167:59:59. These are already supported, and this
16556 support will help with version-3 tz-format files.
16557
69947401
PE
16558 * manual/time.texi (TZ Variable): Modernize North America example
16559 to reflect current (i.e., 2007-and-later) daylight saving rules.
16560
674762d9
PE
16561 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16562
7011c262
JM
165632013-12-17 Joseph Myers <joseph@codesourcery.com>
16564
2fc6557e
JM
16565 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16566 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16569 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16570 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16571 * sysdeps/unix/bsd/clock.c: Likewise.
16572 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16573 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16574 * sysdeps/unix/bsd/init-posix.c: Likewise.
16575 * sysdeps/unix/bsd/poll.c: Likewise.
16576 * sysdeps/unix/bsd/ptsname.c: Likewise.
16577 * sysdeps/unix/bsd/seekdir.c: Likewise.
16578 * sysdeps/unix/bsd/setegid.c: Likewise.
16579 * sysdeps/unix/bsd/seteuid.c: Likewise.
16580 * sysdeps/unix/bsd/setgid.c: Likewise.
16581 * sysdeps/unix/bsd/setrgid.c: Likewise.
16582 * sysdeps/unix/bsd/setruid.c: Likewise.
16583 * sysdeps/unix/bsd/setsid.c: Likewise.
16584 * sysdeps/unix/bsd/setuid.c: Likewise.
16585 * sysdeps/unix/bsd/sigaction.c: Likewise.
16586 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16587 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16588 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16589 * sysdeps/unix/bsd/telldir.c: Likewise.
16590 * sysdeps/unix/bsd/times.c: Likewise.
16591 * sysdeps/unix/bsd/usleep.c: Likewise.
16592
029c7b25
JM
16593 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16594 ($(objpfx)libbsd-compat.a): Remove rule.
16595
7011c262
JM
16596 * include/features.h (__FAVOR_BSD): Do not define.
16597 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16598 features conflicting with POSIX.
16599 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16600 (_BSD_SOURCE): Remove description of not being a subset of other
16601 feature test macros.
16602 * manual/job.texi (getpgrp): Do not document BSD version.
16603 (getpgid): Do not document by reference to BSD getpgrp.
16604 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16605 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16606 * signal/signal.h [__FAVOR_BSD]: Likewise.
16607 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16608 instead of making contents conditional on [__FAVOR_BSD].
16609 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16610
affb6f78
AZ
166112013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16612
16613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16614
c88769dd
JM
166152013-12-17 Joseph Myers <joseph@codesourcery.com>
16616
6432a540
JM
16617 [BZ #16314]
16618 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16619 values below 2**-450, not 2**-500.
16620 * math/auto-libm-test-in: Don't allow spurious underflow from
16621 hypot.
16622 * math/auto-libm-test-out: Regenerated.
16623
c88769dd
JM
16624 [BZ #16316]
16625 [BZ #16330]
16626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16627 values of ha and hb and sort them after adjusting subnormal
16628 arguments.
16629 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16630 Likewise.
16631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16632 values of ea and eb and sort them after adjusting subnormal
16633 arguments.
16634 * math/auto-libm-test-in: Do not expect some hypot tests of
16635 subnormals to fail. Add more hypot tests.
16636 * math/auto-libm-test-out: Regenerated.
16637
29618f6b
KK
166382013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16639
16640 [BZ #13304]
16641 * sysdeps/sh/s_fma.c: New file.
16642 * sysdeps/sh/s_fmaf.c: New file.
16643 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16644 version.
16645 * sysdeps/sh/Implies: Add sh/soft-fp.
16646
eacfdfbf
RM
166472013-12-16 Roland McGrath <roland@hack.frob.com>
16648
16649 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16650 level of indirection to members `objname', `errstring', `malloced'.
16651 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16652 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16653 it as the __longjmp argument (just pass 1 instead).
16654 (_dl_catch_error): Initialize C with argument pointers and address of
16655 volatile local ERRCODE rather than copying values out of C at return.
16656
ff362e5b
JM
166572013-12-16 Joseph Myers <joseph@codesourcery.com>
16658
16659 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16660 * math/auto-libm-test-out: Regenerated.
16661 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16662 (hypot_test_data): Likewise.
16663 (pow_test_data): Likewise.
16664 (pow_tonearest_test_data): Likewise.
16665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16666 mpfr_ff_f.
16667 (func_calc_desc): Add mpfr_ff_f union field.
16668 (FUNC_mpfr_ff_f): New macro.
16669 (test_functions): Add atan2, hypot and pow.
16670 (special_fill_min): New function.
16671 (special_fill_minus_min): Likewise.
16672 (special_fill_min_subnorm): Likewise.
16673 (special_fill_minus_min_subnorm): Likewise.
16674 (special_real_inputs): Add min, -min, min_subnorm and
16675 -min_subnorm.
16676 (calc_generic_results): Handle mpfr_ff_f.
16677 * sysdeps/i386/fpu/libm-test-ulps: Update.
16678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16679
5764c27f
WN
166802013-12-16 Will Newton <will.newton@linaro.org>
16681
16682 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16683 (Aligned Memory Blocks): Add documentation for aligned_alloc
16684 and suggest it as an alternative to posix_memalign.
16685 (Hooks for Malloc): Document __memalign_hook is also called
16686 for aligned_alloc. (Summary of Malloc): Add summary for
16687 aligned alloc. Document __memalign_hook is also called
16688 for aligned_alloc.
16689
0a096e44
WN
166902013-12-16 Will Newton <will.newton@linaro.org>
16691
16692 * manual/memory.texi (Malloc Examples): Clarify default
16693 alignment documentation. Suggest posix_memalign rather
16694 than memalign or valloc.
16695 (Aligned Memory Blocks): Remove suggestion to use memalign
16696 or valloc. Remove obsolete comment about BSD.
16697 Document memalign errno values and mark the function obsolete.
16698 Document posix_memalign returned error codes. Mark valloc
16699 as obsolete. (Hooks for Malloc): __memalign_hook is also
16700 called for posix_memalign and valloc.
16701 (Summary of Malloc): Add posix_memalign to function summary.
16702 __memalign_hook is also called for posix_memalign and valloc.
16703
8d561986
SP
167042013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16705
16706 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16707 TAYLOR_SIN.
16708 (__sin): Adjust.
16709 (__cos): Likewise.
16710 (sloww): Use mynumber union. Expand ternary operator into
16711 if-else statements.
16712 (cslow): use mynumber union.
16713
73616a74
AM
167142013-12-16 Allan McRae <allan@archlinux.org>
16715
9e8ac24b
AM
16716 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16717 * configure: Regenerated.
16718
6f8e37eb
AM
16719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16720
8894bad3
AM
16721 [BZ #14120]
16722 * configure.ac: Added --enable-maintainer-mode. Check for
16723 autoconf when enabled.
16724 * configure: Regenerated.
16725
73616a74
AM
16726 * nscd/nscd.service: New file.
16727 * nscd/nscd.tmpfiles: New file.
16728
584b18eb
OB
167292013-12-14 Ondřej Bílka <neleai@seznam.cz>
16730
16731 [BZ #12100]
16732 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16733 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16734 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16735 (strstr): Add __strstr_sse2_unaligned ifunc.
16736 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16737 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16738 (strcasestr): Remove __strcasestr_sse42 ifunc.
16739 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16742
8a5c7897
KK
167432013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16744
16745 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16746 * sysdeps/sh/bits/fenv.h: ... here.
16747 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16748
fd712ef3
AZ
167492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16750
16751 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16752
42fcb46c
AZ
16753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16754 hypotf multiarch implementations.
16755 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16756 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16757 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16758 multiarch hypot for PPC64.
16759 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16762 multiarch hypotf for PPC64.
16763
83efded4
AZ
16764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16765 modff multiarch implementations.
16766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16769 multiarch modf for PPC64.
16770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16773 multiarch modff for PPC64.
16774
43e246d2
AZ
16775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16776 and logl multiarch implementations.
16777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16780 multiarch logb for PPC64.
16781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16784 multiarch logb for PPC64.
16785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16788 multiarch logb for PPC64.
16789
8fdad123
AZ
16790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16791 isinff multiarch implementation.
16792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16793 file.
16794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16796 multiarch isinf for PPC64.
16797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16798 file.
16799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16800 multiarch isinff for PPC64.
16801
1481d706
AZ
16802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16803 finitef multiarch implementation.
16804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16805 file.
16806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16808 multiarch finite for PPC64.
16809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16810 file.
16811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16812 multiarch finitef for PPC64.
16813
5ccd5fc8
AZ
16814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16815 lrint multiarch implementation.
16816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16817 file.
16818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16820 multiarch llrint for PPC64.
16821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16822 multiarch lrint for PPC64.
16823
2568f3fa
AZ
16824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16825 copysignf multiarch implementation.
16826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16827 file.
16828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16829 file.
16830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16831 multiarch copysign for PPC64.
16832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16833 multiarch copysignf for PPC64.
16834
1cb341fd
AZ
16835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16836 multiarch implementation.
16837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16838 file.
16839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16840 file.
16841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16842 file.
16843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16844 file.
16845 multiarch llround for PPC64.
16846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16847 multiarch trunc for PPC64.
16848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16849 multiarch truncf for PPC64.
16850
59a3e194
AZ
16851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16852 multiarch implementation.
16853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16854 file.
16855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16856 file.
16857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16858 file.
16859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16860 file.
16861 multiarch llround for PPC64.
16862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16863 multiarch round for PPC64.
16864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16865 multiarch roundf for PPC64.
16866
357fd3b4
AZ
16867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16868 multiarch implementation.
16869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16870 file.
16871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16872 file.
16873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16874 file.
16875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16876 file.
16877 multiarch llround for PPC64.
16878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16879 multiarch floor for PPC64.
16880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16881 multiarch floorf for PPC64.
16882
96770f12
AZ
16883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16884 multiarch implementation.
16885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16886 file.
16887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16888 file.
16889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16890 file.
16891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16892 file.
16893 multiarch llround for PPC64.
16894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16895 multiarch ceil for PPC64.
16896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16897 multiarch ceilf for PPC64.
16898
c3627f6e
AZ
16899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16900 multiarch implementation.
16901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16902 file.
16903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16904 file.
16905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16906 file.
16907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16908 multiarch llround for PPC64.
16909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16910 multiarch lround for PPC64.
16911
b2284ad7
AZ
16912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16913 multiarch implementation.
16914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16917 file.
16918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16921 multiarch isnan for PPC64.
16922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16923 multiarch isnanf for PPC64.
16924
69bbc63d
AZ
16925 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16926 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16927 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16928 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16929 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16931
c24517c9
AZ
16932 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16936
a52374e8
AZ
16937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16938 multiarch implementations.
16939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16940 (__libc_ifunc_impl_list): Likewise.
16941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16942 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16943 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16944 multiarch stpcpy for PPC64.
16945
7f5ec113
AZ
16946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16947 multiarch implementations.
16948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16949 (__libc_ifunc_impl_list): Likewise.
16950 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16951 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16952 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16953 multiarch strcpy for PPC64.
16954
e28bcd42
AZ
16955 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16956 redefine function name.
16957 (_wordcopy_fwd_dest_aligned): Likewise.
16958 (_wordcopy_bwd_aligned): Likewise.
16959 (_wordcopy_bwd_dest_aligned): Likewise.
16960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16961 multiarch implementations.
16962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16963 (__libc_ifunc_impl_list): Likewise.
16964 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16965 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16967 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16968 multiarch wcscpy for PPC64.
16969
92cacfce
AZ
16970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16971 multiarch implementations.
16972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16973 (__libc_ifunc_impl_list): Likewise.
16974 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16975 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16976 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16977 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16978 multiarch wcscpy for PPC64.
16979
7b714620
AZ
16980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16981 multiarch implementations.
16982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16983 (__libc_ifunc_impl_list): Likewise.
16984 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16985 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16986 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16987 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16988 multiarch wcsrchr for PPC64.
16989
16fd2ae3
AZ
16990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16991 multiarch implementations.
16992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16993 (__libc_ifunc_impl_list): Likewise.
16994 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16995 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16996 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16997 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16998 multiarch wcschr for PPC64.
16999
9ee2969b
AZ
17000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17001 multiarch implementations.
17002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17003 (__libc_ifunc_impl_list): Likewise.
17004 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17005 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17006 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17007 multiarch strchrnul for PPC64.
17008
372dc060
AZ
17009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17010 implementations.
17011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17012 (__libc_ifunc_impl_list): Likewise.
17013 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17014 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17015 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17016 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17017 strchr for PPC64.
17018
24c2c3b9
AZ
17019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17020 implementations.
17021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17022 (__libc_ifunc_impl_list): Likewise.
17023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17024 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17025 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17026 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17027 strncmp for PPC64.
17028
1c92d9a0
AZ
17029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17030 multiarch implementations.
17031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17032 (__libc_ifunc_impl_list): Likewise.
17033 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17034 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17035 strncasecmp for PPC64.
17036 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17037 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17038 multiarch strncasecmp_l for PPC64.
17039
17de3ee3
AZ
17040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17041 multiarch implementations.
17042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17043 (__libc_ifunc_impl_list): Likewise.
17044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17046 multiarch strcasecmp for PPC64.
17047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17048 file.
17049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17050 multiarch strcasecmp_l for PPC64.
17051
62982bf9
AZ
17052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17053 implementations.
17054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17055 (__libc_ifunc_impl_list): Likewise.
17056 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17057 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17058 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17059 strnlen for PPC64.
17060
a65f4904
AZ
17061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17062 implementations.
17063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17064 (__libc_ifunc_impl_list): Likewise.
17065 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17066 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17067 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17068 strlen for PPC64.
17069
1fd005ad
AZ
17070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17071 implementations.
17072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17073 (__libc_ifunc_impl_list): Likewise.
17074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17075 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17076 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17077 rawmemrchr for PPC64.
17078
cd05ba91
AZ
17079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17080 implementation.
17081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17082 (__libc_ifunc_impl_list): Likewise.
17083 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17084 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17085 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17086 memrchr for PPC64.
17087
870f8676
AZ
17088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17089 implementation.
17090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17091 (__libc_ifunc_impl_list): Likewise.
17092 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17093 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17094 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17095 memchr for PPC64.
17096
f00be62b
AZ
17097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17098 implementation.
17099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17100 (__libc_ifunc_impl_list): Likewise.
17101 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17102 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17103 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17104 mempcpy for PPC64.
17105
8a29a3d0
AZ
17106 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17107 avoid cretion of __bzero symbol.
17108 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17109 Likewise.
17110 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17111 Likewise.
17112 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17113 Likewise.
17114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17115 multiarch implementations.
17116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17117 (__libc_ifunc_impl_list): Likewise.
17118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17119 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17120 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17121 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17122 bzero for PPC32.
17123 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17124 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17125 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17126 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17127 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17128 memset for PPC64.
17129 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17130
07253fcf
AZ
17131 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17133 implementations.
17134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17135 (__libc_ifunc_impl_list): Likewise.
17136 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17137 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17138 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17139 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17140 memcmp for PPC64.
17141
b5beafbc
AZ
17142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17143 multiarch for POWER/PPC64.
17144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17145 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17146 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17152 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17153 memcpy for PPC64.
17154
5e6a4d4b
AZ
17155 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17156 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17157 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17158 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17159 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17160 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17161 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17162 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17163 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17164 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17165 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17166 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17167 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17168 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17169 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17177
ddfab6dc
KK
171782013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17179
17180 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17181
19b5525e
SP
171822013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17183
17184 * benchtests/Makefile (bench): Add exp2 and log2.
17185 (LDLIBS-bench-exp2): Add -lm.
17186 (LDLIBS-bench-log2): Likewise.
17187 * benchtests/exp2-inputs: New inputs file.
17188 * benchtests/log2-inputs: New inputs file.
17189 * benchtests/log-inputs: Add new inputs.
17190 * benchtests/tan-inputs: Likewise.
17191
196f7f5d
SP
171922013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17193
7a74607f
SP
17194 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17195 definition...
57f41c40
AS
17196 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17197 (csloww2): ... from here.
7a74607f 17198
196f7f5d
SP
17199 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17200 instead of structures.
17201 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17202 (POLYNOMIAL): Likewise.
17203 (TAYLOR_SLOW): Likewise.
17204 (__sin): Likewise.
17205 (__cos): Likewise.
17206 (slow1): Likewise.
17207 (slow2): Likewise.
17208 (sloww): Likewise.
17209 (sloww1); Likewise.
17210 (sloww2): Likewise.
17211 (bsloww1): Likewise.
17212 (bsloww2): Likewise.
17213 (cslow2): Likewise.
17214 (csloww): Likewise.
17215 (csloww1): Likewise.
17216 (csloww2): Likewise.
17217
0dfa665c
OB
172182013-12-10 Ondřej Bílka <neleai@seznam.cz>
17219
17220 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17221 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17222 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17223 * malloc/hooks.c (realloc_check): Likewise.
17224
5782a80f
OB
17225 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17226 * malloc/arena.c: Remove PER_THREAD conditional.
17227 [!PER_THREAD]: Remove code.
17228 (ptmalloc_unlock_all2): Likewise.
17229 (ptmalloc_init): Likewise.
17230 (_int_new_arena): Likewise.
17231 (arena_get2): Likewise.
17232 * malloc/hooks.c (__malloc_get_state): Likewise.
17233 (__malloc_set_state): Likewise.
17234 * malloc/malloc.c: Likewise.
17235 (struct malloc_state): Likewise.
17236 (struct malloc_par): Likewise.
17237 (__libc_realloc): Likewise.
17238 (__libc_mallopt): Likewise.
17239
aeb95445
AZ
172402013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17241
17242 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17243
e8349efd
OB
172442013-12-09 Ondřej Bílka <neleai@seznam.cz>
17245
17246 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17247 macro to a function. Check for zero perturb_byte.
17248 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17249
f3eeb3fc 17250 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17251 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17252 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17253 force_reg by atomic_forced_read.
17254 * malloc/arena.c (ptmalloc_init): Likewise.
17255 * malloc/hooks.c (top_check): Likewise.
17256
be2f9009
AZ
172572013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17258
17259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17260
e7b914bd
MT
172612013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17262
17263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17264
9f0be4f8
JM
172652013-12-08 Joseph Myers <joseph@codesourcery.com>
17266
17267 * math/auto-libm-test-in: Add tests of lgamma.
17268 * math/auto-libm-test-out: Regenerated.
17269 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17270 (M_LOG_2_SQRT_PIl): Likewise.
17271 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17272 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17273 mpfr_f_f1.
17274 (func_calc_desc): Add mpfr_f_f1 union field.
17275 (ARGS1): New macro.
17276 (ARGS2): Likewise.
17277 (ARGS3): Likewise.
17278 (ARGS4): Likewise.
17279 (RET1): Likewise.
17280 (RET2): Likewise.
17281 (CALC): Likewise.
17282 (FUNC): Likewise.
17283 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17284 (test_functions): Add lgamma.
17285 (calc_generic_results): Handle mpfr_f_f1.
17286 * sysdeps/i386/fpu/libm-test-ulps: Update.
17287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17288
24eeafdb
AZ
172892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17290
17291 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17292 __mpn_add_n for PowerPC64/POWER7.
17293 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17294 __mpn_sub_n for PowerPC64/POWER7.
17295
4a2c0fd4
AZ
17296 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17297 __mpn_addmul_1 for PowerPC64.
17298 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17299 __mpn_submul_1 for PowerPC64.
17300 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17301 for PowerPC64.
17302 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17303 for PowerPC64.
17304
4b5b548c
FS
173052013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17306
17307 [BZ #15089]
17308 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17309
0a3ac0aa
AZ
173102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17311
17312 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17313
ccdc8438
AZ
17314 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17315 add multiarch folders.
17316 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17317 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17318 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17319 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17320 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17321 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17322 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17323 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17324 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17325 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17326 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17333
2e973d99
AZ
17334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17335 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17337 New file.
17338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17339 New file.
17340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17341 multiarch __ieee754_hypot for PowerPC32.
17342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17343 New file.
17344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17345 New file.
17346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17347 multiarch __ieee754_hypotf for PowerPC32.
17348
2d9470b2
AZ
17349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17350 long_double_symbol only if __logbl is defined.
17351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17352 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17354 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17356 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17358 path for implementation.
17359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17362 logb, and logbl multiarch implementations for PowerPC32.
17363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17364 file.
17365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17366 file.
17367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17368 multiarch logb for PowerPC32.
17369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17370 file.
17371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17372 file.
17373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17374 multiarch logbf for PowerPC32.
17375 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17377 file.
17378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17379 multiarch logbl implementation for PowerPC32.
17380
5212ffce
AZ
17381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17382 and modff multiarch implementations.
17383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17384 New file.
17385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17386 New file.
17387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17388 multiarch modf for PowerPC32.
17389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17390 New file.
17391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17392 New file.
17393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17394 multiarch modff for PowerPC32.
17395
79dccf31
AZ
17396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17397 and lrintf multiarch implementations.
17398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17399 New file.
17400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17401 New file.
17402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17403 multiarch lrint for PowerPC32.
17404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17405 file: multiarch lrintf for PowerPC32.
17406
deb66480
AZ
17407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17408 and lroundf multiarch implementations.
17409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17410 New file.
17411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17412 New file.
17413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17414 New file.
17415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17416 multiarch lround for PowerPC32.
17417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17418 file: multiarch lroundf for PowerPC32.
17419
264b036b
AZ
17420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17421 copysign and copysignf multiarch implementations.
17422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17423 New file.
17424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17425 New file.
17426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17427 file: multiarch copysign for PowerPC32.
17428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17429 file: multiarch copysignf for PowerPC32.
17430
d47db6c9
AZ
17431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17432 and truncf multiarch implementations.
17433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17434 New file.
17435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17436 file.
17437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17438 multiarch trunc for PowerPC32.
17439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17440 New file.
17441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17442 New file.
17443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17444 multiarch truncf for PowerPC32.
17445
ddb60b5a
AZ
17446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17447 and roundf multiarch implementations.
17448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17449 New file.
17450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17451 file.
17452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17453 multiarch round for PowerPC32.
17454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17455 New file.
17456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17457 New file.
17458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17459 multiarch roundf for PowerPC32.
17460
bedcf49b
AZ
17461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17462 and floorf multiarch implementations.
17463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17464 New file.
17465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17466 file.
17467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17468 multiarch floor for PowerPC32.
17469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17470 New file.
17471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17472 New file.
17473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17474 multiarch floorf for PowerPC32.
17475
35ae5b40
AZ
17476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17477 and ceilf multiarch implementations.
17478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17479 New file.
17480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17481 file.
17482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17483 multiarch ceil for PowerPC32.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17485 New file.
17486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17487 file.
17488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17489 multiarch ceilf for PowerPC32.
17490
ae1a4cd9
AZ
17491 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17492 is defined.
17493 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17494 FINITEF is defined.
17495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17496 and finitef multiarch implementations.
17497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17498 New file.
17499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17500 file.
17501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17502 multiarch finite for PowerPC32.
17503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17504 New file.
17505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17506 file: multiarch finitef for PowerPC32.
17507
64fffd65
AZ
17508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17509 and isinff multiarch implementations.
17510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17511 file.
17512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17513 file.
17514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17515 multiarch isinf for PowerPC32.
17516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17517 New file.
17518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17519 multiarch isinff for PowerPC32.
17520
8e4e7ba2
AZ
17521 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17522 alias when __isnan is defined.
17523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17524 and isnanf multiarch implementations.
17525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17526 file.
17527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17528 file.
17529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17530 file.
17531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17532 file.
17533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17534 multiarch isnan for PowerPC32.
17535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17536 New file.
17537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17538 New file.
17539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17540 multiarch isnanf for PowerPC32.
17541
ddba588e
AZ
17542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17543 and sqrtf multiarch implementations.
17544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17545 file.
17546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17547 file.
17548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17549 multiarch sqrt for PowerPC32.
17550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17551 file.
17552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17553 file.
17554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17555 multiarch sqrtf for PowerPC32.
17556
0f96a2f0
AZ
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17558 and llroundf multiarch implementations.
17559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17560 New file.
17561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17562 New file.
17563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17564 New file.
17565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17566 file: multiarch llround for PowerPC32.
17567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17568 file: multiarch llroundf for PowerPC32.
17569
c9b5d79e
AZ
17570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17571 multiarch PowerPC32 fpu implementations.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17573 New file.
17574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17575 New file.
17576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17577 multiarch llrint for PowerPC32.
17578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17579 New file.
17580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17581 New file.
17582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17583 file.
17584
9cbb3aab
AZ
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17586
ea5a72f8
AZ
17587 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17588 file.
17589 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17590 file.
17591 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17592 file.
17593 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17594 multiarch wordcopy for PPC32.
17595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17596 wordcopy objects.
17597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17598 (__libc_ifunc_impl_list): Likewise.
17599 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17600 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17602 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17603 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17604 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17605
93be09e7
AZ
17606 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17608 file.
17609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17610 file.
17611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17612 file.
17613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17614 multiarch wcscpy for PPC32.
17615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17616 multiarch objects.
17617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17618 (__libc_ifunc_impl_list): Likewise.
17619 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17620 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17621 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17622 sysdeps/powerpc/power6/wcscpy.c.
17623
bb04e529
AZ
17624 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17626 file.
17627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17628 file.
17629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17630 file.
17631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17632 multiarch wcsrchr for PPC32.
17633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17634 multiarch objects.
17635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17636 (__libc_ifunc_impl_list): Likewise.
17637 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17638 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17639 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17640 sysdeps/powerpc/power6/wcsrchr.c.
17641
05b5cd1c
AZ
17642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17643 file.
17644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17645 file.
17646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17648 multiarch wcschr for PPc32.
17649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17650 multiarch objects.
17651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17652 (__libc_ifunc_impl_list): Likewise.
17653 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17654 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17655 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17656 sysdeps/powerpc/power6/wcschr.c.
17657
ba964147
AZ
17658 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17660 file.
17661 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17662 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17663 file: multiarch strchr for PPC32.
17664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17665 multiarch objects.
17666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17667 (__libc_ifunc_impl_list): Likewise.
17668
31c81aaa
AZ
17669 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17670 name.
17671 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17672 file.
17673 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17674 file.
17675 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17676 multiarch strchrnul for PPC32.
17677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17678 multiarch objects.
17679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17680 (__libc_ifunc_impl_list): Likewise.
17681
0d0607d9
AZ
17682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17683 file.
17684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17685 multiarch strncasecmp for PPC32.
17686 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17687 file.
17688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17689 multiarch strncasecmp_l for PPC32.
17690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17691 strncasecmp multiarch objects.
17692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17693 (__libc_ifunc_impl_list): Likewise.
17694
4dfd5c86
AZ
17695 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17696 file.
17697 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17698 multiarch strncasecmp for PPC32.
17699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17700 New file.
17701 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17702 multiarch strcasecmp_l for PPC32.
17703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17704 multiarch objects.
17705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17706 (__libc_ifunc_impl_list): Likewise.
17707
a19e01a3
AZ
17708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17709 file.
17710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17711 file.
17712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17713 multiarch strncmp for PPC32.
17714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17715 multiarch objects.
17716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17717 (__libc_ifunc_impl_list): Likewise.
17718
ae9cf7a2
AZ
17719 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17720 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17721 file.
17722 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17723 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17725 multiarch objects.
17726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17727 (__libc_ifunc_impl_list): Likewise.
17728
3148bb7d
AZ
17729 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17730 file.
17731 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17732 file.
17733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17735 multiarch objects.
17736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17737 (__libc_ifunc_impl_list): Likewise.
17738
7af8b946
AZ
17739 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17740 file.
17741 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17742 file.
17743 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17744 multiarch rawmemchr for PPC32.
17745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17746 multiarch objects.
17747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17748 (__libc_ifunc_impl_list): Likewise.
17749
03a6aa6a
AZ
17750 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17751 file.
17752 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17753 file.
17754 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17755 file: memrchr multiarch for PPC32.
17756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17757 multiarch objects.
17758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17759 (__libc_ifunc_impl_list): Likewise.
17760
1c62e6d9
AZ
17761 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17763 file.
17764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17766 multiarch memchr for PPC32.
17767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17768 multiarch objects.
17769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17770 (__libc_ifunc_impl_list): Likewise.
17771
87da8bdb
AZ
17772 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17773 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17774 file.
17775 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17776 file.
17777 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17778 file: multiarch mempcpy for PPC32.
17779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17780 multiarch objects.
17781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17782 (__libc_ifunc_impl_list): Likewise.
17783
20ed4714
AZ
17784 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17786 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17788 multiarch bzero for PPC32.
17789 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17790 file.
17791 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17792 file.
17793 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17794 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17795 file: multiarch memset for PPC32.
17796 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17798 memset multiarch objects.
17799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17800 (__libc_ifunc_impl_list): Likewise.
17801
ab3e3a46
AZ
17802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17803 file.
17804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17806 memcmp for PPC32.
17807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17809 multiarch objects.
17810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17811 (__libc_ifunc_impl_list): Likewise.
17812
930de6f0
AZ
17813 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17816 file.
17817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17818 file.
17819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17820 file.
17821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17822 multiarch memcpy for PPC32.
17823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17824 multiarch objects.
17825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17826 (__libc_ifunc_impl_list): Likewise.
17827
4c628e00
AZ
17828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17829 support multiarch for POWER/PPC32.
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17831 Likewise.
17832 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17834 Implies file to make multiarch folder appers before the fpu and
17835 default folder for power4 configuration.
17836
f4479220
SP
178372013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17838
17839 * scripts/bench.pl: Append volatile keyword to type.
17840
8517800f
KK
178412013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17842
17843 * sysdeps/sh/sotruss-lib.c: New file.
17844 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17845
180138f1
AZ
178462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17847
17848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17849
bbf37bdc
JM
178502013-12-05 Joseph Myers <joseph@codesourcery.com>
17851
e47cc4e0
JM
17852 [BZ #6810]
17853 * math/w_tgamma.c: Include <errno.h>.
17854 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17855 * math/w_tgammaf.c: Include <errno.h>.
17856 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17857 * math/w_tgammal.c: Include <errno.h>.
17858 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17859 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17860 underflow. Add more tgamma tests.
17861 * math/auto-libm-test-out: Regenerated.
17862 * sysdeps/i386/fpu/libm-test-ulps: Update.
17863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17864
bbf37bdc
JM
17865 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17866 sin, sinh, tan, tanh, tgamma, y0 and y1.
17867 * math/auto-libm-test-out: Regenerated.
17868 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17869 (TEST_COND_x86): Likewise.
17870 (M_E2l): Remove macro.
17871 (M_E3l): Likewise.
17872 (M_2_SQRT_PIl): Likewise.
17873 (M_SQRT_PIl): Likewise.
17874 (M_1_DIV_El): Likewise.
17875 (log_test_data): Use AUTO_TESTS_f_f.
17876 (log10_test_data): Likewise.
17877 (log1p_test_data): Likewise.
17878 (log2_test_data): Likewise.
17879 (sin_test_data): Likewise.
17880 (sin_tonearest_test_data): Likewise.
17881 (sin_towardzero_test_data): Likewise.
17882 (sin_downward_test_data): Likewise.
17883 (sin_upward_test_data): Likewise.
17884 (sinh_test_data): Likewise.
17885 (sinh_tonearest_test_data): Likewise.
17886 (sinh_towardzero_test_data): Likewise.
17887 (sinh_downward_test_data): Likewise.
17888 (sinh_upward_test_data): Likewise.
17889 (tan_test_data): Likewise.
17890 (tan_tonearest_test_data): Likewise.
17891 (tan_towardzero_test_data): Likewise.
17892 (tan_downward_test_data): Likewise.
17893 (tan_upward_test_data): Likewise.
17894 (tanh_test_data): Likewise.
17895 (tgamma_test_data): Likewise.
17896 (y0_test_data): Likewise.
17897 (y1_test_data): Likewise.
17898 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17899 (special_real_inputs): Add pi/4.
17900 * sysdeps/i386/fpu/libm-test-ulps: Update.
17901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17902
eb5ad6b9
AZ
179032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17904
17905 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17906 "longjmp_target" static probes.
17907 (__longjmp): Rename to __longjmp_symbol.
17908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17909 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17910 on which longjmp to generate.
17911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17913 probe.
17914 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17915 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17916 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17917 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17918 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17919 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17921 __longjmp_symbol based on which __longjmp to generate.
17922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17923 probe.
17924 (setjmp): Rename to setjmp_symbol.
17925 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17926 (_setjmp): Rename to _setjmp_symbol.
17927 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17928 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17929 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17930 which setjmp to generate.
17931 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17932 "longjmp_target" static probes.
17933
d136c6dc
SP
179342013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17935
9298ecba
SP
17936 * benchtests/README: Add note about output arguments.
17937 * benchtests/bench-sincos.c: Remove file.
17938 * benchtests/sincos-inputs: New file.
17939 * scripts/bench.pl: Identify output arguments and define
17940 static variables for them.
17941
232983e9
SP
17942 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17943
d136c6dc
SP
17944 [BZ #15941]
17945 * Makefile (INSTALL): Add install-plain.texi as the primary
17946 dependency.
17947 * manual/install-plain.texi: New file.
17948 * manual/install.texi: Include node directive only for
17949 non-plaintext output.
17950
699ff837
JM
179512013-12-04 Joseph Myers <joseph@codesourcery.com>
17952
ab07cea8
JM
17953 * stdlib/longlong.h: Update from GCC.
17954
699ff837
JM
17955 [BZ #6807]
17956 [BZ #15901]
17957 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17958 * math/w_j0f.c (y0f): Likewise.
17959 * math/w_j0l.c (__y0l): Likewise.
17960 * math/w_j1.c (y1): Likewise.
17961 * math/w_j1f.c (y1f): Likewise.
17962 * math/w_j1l.c (__y1l): Likewise
17963 * math/w_jn.c (yn): Likewise.
17964 * math/w_jnf.c (ynf): Likewise.
17965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17966 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17967 value for Bessel function domain errors outside _SVID_ mode.
17968 Adjust sign of return value for yn (negative integer, 0).
17969 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17970 by zero in return for negative x and set sign appropriately for
17971 negative n.
17972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17973 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17974 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17975 expectations in error cases.
17976 (y1_test_data): Likewise.
17977 (yn_test_data): Likewise.
17978 * sysdeps/i386/fpu/libm-test-ulps: Update.
17979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17980
5b118558
UW
179812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17982
17983 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17984 "64" to "64-v1". Add "64-v2".
17985 (abi-64-options): Rename to ...
17986 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17987 (abi-64-condition): Rename to ...
17988 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17989 (abi-64-ld-soname): Rename to ...
17990 (abi-64-v1-ld-soname): ... this.
17991 (abi-64-v2-options): Define.
17992 (abi-64-v2-condition): Likewise.
17993 (abi-64-v2-ld-soname): Likewise.
17994 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17995 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17999
61cd8fe4
UW
180002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18001 Alan Modra <amodra@gmail.com>
18002
18003 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18004 New versions for use with the ELFv2 ABI.
18005 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18006 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18007 declaration.
18008 (struct La_ppc64v2_retval): Likewise.
18009 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18010 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18011 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18012 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18013 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18014 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18015 Do not save or restore CR.
18016 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18017 (_dl_profile_resolve): Do no save or restore CR. Support extended
18018 return values for ELFv2 ABI. Fix location of FPR return registers.
18019 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18020 updated values for _CALL_ELF == 2.
18021 (La_regs, La_retval, int_retval): Likewise.
18022
8b8a692c
UW
180232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18024
18025 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18026 (FRAME_MIN_SIZE_PARM): Likewise.
18027 (FRAME_BACKCHAIN): Likewise.
18028 (FRAME_CR_SAVE): Likewise.
18029 (FRAME_LR_SAVE): Likewise.
18030 (FRAME_TOC_SAVE): Likewise.
18031 (FRAME_PARM_SAVE): Likewise.
18032 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18033 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18034 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18035 (call_mcount_parm_offset): New macro.
18036 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18037 (PROF): Use symbolic stack frame offsets.
18038 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18040 Redefine in terms of FRAME_MIN_SIZE.
18041 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18042 (_dl_profile_resolve): Likewise. Update comment.
18043 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18044 symbols stack frame offsets.
18045 (__sigsetjmp): Likewise.
18046 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18047 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18048 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18049 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18050
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18052 (FRAME_BACKCHAIN): Remove.
18053 (FRAME_CR_SAVE): Likewise.
18054 (FRAME_LR_SAVE): Likewise.
18055 (FRAME_COMPILER_DW): Likewise.
18056 (FRAME_LINKER_DW): Likewise.
18057 (FRAME_TOC_SAVE): Likewise.
18058 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
18059 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18060 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18061 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18063 (CHECK_SP): Use symbolic stack frame offsets.
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18065 zone" instead of caller's parameter save area for temp storage.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18067 Likewise. Also, use symbolic stack frame offsets.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18069 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18070 our own stack frame instead of the caller's.
18071 (__socket): Use symbolic stack frame offsets.
18072
122b66de
UW
180732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18074 Alan Modra <amodra@gmail.com>
18075
18076 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18077 Define.
57f41c40
AS
18078 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18079 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
18080 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18081 New function.
18082 (elf_machine_fixup_plt): Call it.
18083 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18084 reloc arguments.
18085 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
18086 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18087 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
18088 r2 before calling target.
18089
696caf1d
UW
180902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18091 Alan Modra <amodra@gmail.com>
18092
18093 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18094 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18095 versions of macros to support ELFv2 ABI.
18096 (LOCALENTRY): New macro.
18097 (ENTRY, EALIGN): Use it.
18098 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18099 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18100 fall through into ENTRY entry point.
18101 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18102 Only define if _CALL_ELF != 2.
18103
18104 (elf_machine_matches_host): Verify ABI version matches.
18105 (RTLD_START): Use LOCALENTRY.
18106 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18107 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18108 (PLT_ENTRY_WORDS): New macro.
18109 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18110 (elf_machine_runtime_setup): Support ELFv2 ABI.
18111 (elf_machine_fixup_plt): Likewise.
18112 (elf_machine_plt_conflict): Likewise.
18113 (resolve_ifunc): Likewise.
18114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18115 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18116 Likewise.
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18118 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18120 (makecontext): Support ELFv2 ABI.
18121 * elf/elf.h (EF_PPC64_ABI): Define.
18122
d31beafa
UW
181232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18124
57f41c40
AS
18125 * sysdeps/powerpc/powerpc64/sysdep.h
18126 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18127 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18128 (ENTRY) [ASSEMBLER]: ... but instead here ...
18129 (EALIGN) [ASSEMBLER]: ... and here.
18130 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18131 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18132 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
18133 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18134 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18136 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18137 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18139 Use PPC64_LOAD_FUNCPTR.
18140
b525166b
UW
18141 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18142
7ec07d9a
AM
181432013-12-04 Alan Modra <amodra@gmail.com>
18144
18145 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18146 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18147 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18148 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18149
18150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18151 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18152 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18153 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18154 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18155 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18156
5162e7dd
UW
181572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18158
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18160 (__makecontext): Fix incorrect CFI when backtracing out of
18161 context created via makecontext.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18163 (__setcontext): Fix incorrect CFI during switch to new context.
18164 (__novec_setcontext): Likewise.
18165
19e3372b
OB
181662013-12-04 Ondřej Bílka <neleai@seznam.cz>
18167
18168 [BZ #4772]
18169 * time/strptime_l.c (__strptime_internal): Allow modifiers
18170 in strptime.
18171 * time/tst-strptime.c (day_tests): Add testcase.
18172
ecaf142d
SP
181732013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18174
18175 * scripts/bench.pl: Skip over blank lines.
18176
fbf964ae
PE
181772013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18178
18179 [BZ #926]
18180 * manual/time.texi (Calendar Time): Clarify what timezone functions
18181 use.
18182
fa60a674
AZ
181832013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18184
18185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18186
d674f0ef
OB
181872013-12-04 Ondřej Bílka <neleai@seznam.cz>
18188
18189 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18190 implementation.
18191 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18192 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18193 * debug/memset_chk.c (__memset_chk): Likewise.
18194 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18195 * debug/strncpy_chk.c: Likewise.
18196
17dea188
JM
181972013-12-03 Joseph Myers <joseph@codesourcery.com>
18198
749008ff
JM
18199 [BZ #15268]
18200 [BZ #15425]
18201 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18202 (__ieee754_exp): For possibly underflowing results, check size of
18203 result and force underflow exception if required.
18204 * math/auto-libm-test-in: Add more tests of exp.
18205 * math/auto-libm-test-out: Regenerated.
18206 * sysdeps/i386/fpu/libm-test-ulps: Update.
18207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18208
17dea188
JM
18209 [BZ #16283]
18210 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18211 * math/w_exp2f.c (__exp2f): Likewise.
18212 * math/w_exp2l.c (__exp2l): Likewise.
18213 * math/auto-libm-test-in: Do not allow missing errno on exp2
18214 underflow.
18215 * math/auto-libm-test-out: Regenerated.
18216
b20de2c3
OB
182172013-12-03 Ondřej Bílka <neleai@seznam.cz>
18218
18219 [BZ #16274]
18220 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18221 handle filename validation.
18222 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18223 (do_open): Delete.
18224
d8e2dbe3
JM
182252013-12-03 Joseph Myers <joseph@codesourcery.com>
18226
34e16df5
JM
18227 [BZ #6786]
18228 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18229 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18230 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18231 <float.h>.
18232 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18234 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18236 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18238 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18239 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18240 Add more erfc tests.
18241 * math/auto-libm-test-out: Regenerated.
18242 * sysdeps/i386/fpu/libm-test-ulps: Update.
18243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18244
d8e2dbe3
JM
18245 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18246 exp2, expm1, j0 and j1.
18247 * math/auto-libm-test-out: Regenerated.
18248 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18249 (erfc_test_data): Likewise.
18250 (exp_test_data): Likewise.
18251 (exp_tonearest_test_data): Likewise.
18252 (exp_towardzero_test_data): Likewise.
18253 (exp_downward_test_data): Likewise.
18254 (exp_upward_test_data): Likewise.
18255 (exp10_test_data): Likewise.
18256 (exp2_test_data): Likewise.
18257 (expm1_test_data): Likewise.
18258 (j0_test_data): Likewise.
18259 (j1_test_data): Likewise.
18260 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18261 (input_flag_type): Add flag_xfail_rounding.
18262 (input_flags): Add xfail-rounding.
18263 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18264 (output_for_one_input_case): Handle flag_xfail_rounding.
18265 * sysdeps/i386/fpu/libm-test-ulps: Update.
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18267
18d14251
AJ
182682013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18269
3d2e6075 18270 [BZ #16289]
18d14251
AJ
18271 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18272 division by 0.
18273
520d437b
SP
182742013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18275
18276 [BZ #16195]
18277 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18278 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18279 (STAP_PROBE0): New macro.
18280 (STAP_PROBE1): Likewise.
18281 (STAP_PROBE2): Likewise.
18282 (STAP_PROBE3): Likewise.
18283 (STAP_PROBE4): Likewise.
18284
416e0145
OB
182852013-12-02 Ondřej Bílka <neleai@seznam.cz>
18286
18287 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18288
9d17796a
SE
182892013-12-02 Steve Ellcey <sellcey@mips.com>
18290
18291 * benchtests/Makefile (bench): Add sqrt.
18292 (LDLIBS-bench-sqrt): New.
18293 * benchtests/sqrt-input: New.
18294
f524d6a8
PS
182952013-12-02 Pavel Simerda <psimerda@redhat.com>
18296
639a0ef8
PS
18297 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18298 (GAIH_EAI): Likewise.
18299 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18300 (gaih_inet): Likewise.
18301 (getaddrinfo): Don't use GAIH_EAI.
18302
f524d6a8
PS
18303 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18304 (struct gaih): Remove definition.
18305
df3aedaf
SP
183062013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18307
18308 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18309 Use HERRNOP directly.
18310
1ab19dec
AZ
183112013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312
b42ad38d 18313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18314
176b0c79
JM
183152013-11-30 Joseph Myers <joseph@codesourcery.com>
18316
18317 * math/gen-auto-libm-tests.c (test_functions): Add more
18318 single-argument functions.
18319 (special_fill_pi_2): New function.
18320 (special_fill_minus_pi_2): Likewise.
18321 (special_fill_pi_6): Likewise.
18322 (special_fill_minus_pi_6): Likewise.
18323 (special_fill_pi_3): Likewise.
18324 (special_fill_2pi_3): Likewise.
18325 (special_fill_e): Likewise.
18326 (special_fill_1_e): Likewise.
18327 (special_fill_e_minus_1): Likewise.
18328 (special_real_inputs): Add more special inputs.
18329 (output_for_one_input_case): Do not require ERANGE on underflow to
18330 zero if round-to-nearest result does not underflow to zero, unless
18331 exact results required.
18332 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18333 atan, atanh, cbrt, cos and cosh.
18334 * math/auto-libm-test-out: Regenerated.
18335 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18336 (acos_tonearest_test_data): Likewise.
18337 (acos_towardzero_test_data): Likewise.
18338 (acos_downward_test_data): Likewise.
18339 (acos_upward_test_data): Likewise.
18340 (acosh_test_data): Likewise.
18341 (asin_test_data): Likewise.
18342 (asin_tonearest_test_data): Likewise.
18343 (asin_towardzero_test_data): Likewise.
18344 (asin_upward_test_data): Likewise.
18345 (asinh_test_data): Likewise.
18346 (atan_test_data): Likewise.
18347 (atanh_test_data): Likewise.
18348 (cbrt_test_data): Likewise.
18349 (cos_test_data): Likewise.
18350 (cos_tonearest_test_data): Likewise.
18351 (cos_towardzero_test_data): Likewise.
18352 (cos_downward_test_data): Likewise.
18353 (cos_upward_test_data): Likewise.
18354 (cosh_test_data): Likewise.
18355 (cosh_tonearest_test_data): Likewise.
18356 (cosh_towardzero_test_data): Likewise.
18357 (cosh_downward_test_data): Likewise.
18358 (cosh_upward_test_data): Likewise.
18359 * sysdeps/i386/fpu/libm-test-ulps: Update.
18360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18361
ffb536d0
JM
183622013-11-29 Joseph Myers <joseph@codesourcery.com>
18363
2a77a467
JM
18364 [BZ #6787]
18365 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18366 * math/w_exp10f.c (__exp10f): Likewise.
18367 * math/w_exp10l.c (__exp10l): Likewise.
18368 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18369 errno settings in existing tests.
18370
ea3bc4e8
JM
18371 [BZ #14032]
18372 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18373 precision control set to double precision.
18374 * sysdeps/i386/fpu/w_sqrt.c: New file.
18375 * math/auto-libm-test-in: Add more tests.
18376 * math/auto-libm-test-out: Update.
18377
0712c9d8
JM
18378 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18379 (sqrt_test_tonearest): New function.
18380 (sqrt_towardzero_test_data): New variable.
18381 (sqrt_test_towardzero): New function.
18382 (sqrt_downward_test_data): New variable.
18383 (sqrt_test_downward): New function.
18384 (sqrt_upward_test_data): New variable.
18385 (sqrt_test_upward): New function.
18386 (main): Call the new functions.
18387
ffb536d0
JM
18388 * math/gen-auto-libm-tests.c: New file.
18389 * math/auto-libm-test-in: Likewise.
18390 * math/auto-libm-test-out: New generated file.
18391 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18392 variables.
18393 (%beautify): Add generated representations of zero.
18394 (top level): Set $auto_input and call parse_auto_input.
18395 (beautify): Remove trailing "f" from hex float constants.
18396 (parse_args): Handle XFAIL_TEST.
18397 (convert_condition): New function.
18398 (or_value): Likewise.
18399 (or_cond_value): Likewise.
18400 (generate_testfile): Handle AUTO_TESTS_* lines.
18401 (parse_auto_input): New function.
18402 * math/libm-test.inc (XFAIL_TEST): New macro.
18403 (ERRNO_UNCHANGED): Update value.
18404 (ERRNO_EDOM): Likewise.
18405 (ERRNO_ERANGE): Likewise.
18406 (IGNORE_RESULT): Likewise.
18407 (TEST_COND_flt_32): New macro.
18408 (TEST_COND_dbl_64): Likewise.
18409 (TEST_COND_ldbl_96_intel): Likewise.
18410 (TEST_COND_ldbl_96_m68k): Likewise.
18411 (TEST_COND_ldbl_128): Likewise.
18412 (TEST_COND_ldbl_128ibm): Likewise.
18413 (TEST_COND_long32): Likewise.
18414 (TEST_COND_long64): Likewise.
18415 (TEST_COND_before_rounding): Likewise.
18416 (TEST_COND_after_rounding): Likewise.
18417 (enable_test): Handle XFAIL_TEST flag.
18418 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18419 with finite results.
18420 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18421 auto-libm-test-out.
18422
acd98a8e
AK
184232013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18425
18426 [BZ #16214]
18427 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18428 __tls_get_addr_internal instead of __tls_get_offset in order to
18429 avoid GOT pointer dependency. Make rtld export
18430 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18431 __tls_get_addr since we are a __tls_get_offset platform.
18432 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18433 GOT pointer being set up before.
18434 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18435
3c1c46a6
JM
184362013-11-28 Joseph Myers <joseph@codesourcery.com>
18437
7475aef5
JM
18438 * manual/math.texi (Errors in Math Functions): Document accuracy
18439 goals.
18440
8bca7cd8
JM
18441 [BZ #15004]
18442 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18444 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18445 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18446 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18447 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18448 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18449 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18450 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18451 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18452 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18453 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18454 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18455 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18457 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18458
91a1f3fe
JM
18459 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18460 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18461 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18462 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18463 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18464 Likewise.
18465 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18466 Likewise.
18467 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18468 Likewise.
18469 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18471 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18472 atomic-feupdateenv and flt-rounds.
18473 * sysdeps/powerpc/nofpu/Versions (libc): Add
18474 __atomic_feholdexcept, __atomic_feclearexcept,
18475 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18477 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18478 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18479 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18480 here.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18482 Update.
18483
c5df7609
JM
18484 * manual/arith.texi (FP Exceptions): Document that exceptions may
18485 not be raised when matherr is used.
18486 (Math Error Reporting): Document overflow in directed rounding
18487 modes. Document that errno may not be set when finite values are
18488 returned on overflow. Document intent to set errno on underflow
18489 only for underflow to zero.
18490
3c1c46a6
JM
18491 [BZ #16271]
18492 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18493 round-to-nearest then adjust result for other rounding modes.
18494 * include/fenv.h (fegetround): Use libm_hidden_proto.
18495 * math/fegetround.c (fegetround): Use libm_hidden_def.
18496 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18497 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18498 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18500 Likewise.
18501 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18502 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18503 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18504 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18505
5a4c6d53
SP
185062013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18507
18508 [BZ #16077]
18509 * nss/Versions (libnss_files): Add
18510 _nss_files_gethostbyname3_r.
18511 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18512 New function.
18513 (HOST_DB_LOOKUP): Remove macro.
18514 (_nss_files_gethostbyname_r): Implement function without the
18515 HOST_DB_LOOKUP macro.
18516 (_nss_files_gethostbyname2_r): Likewise.
18517
897b98ba
OB
185182013-11-28 Ondřej Bílka <neleai@seznam.cz>
18519
18520 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18521
6f476861
UB
185222013-11-26 Uros Bizjak <ubizjak@gmail.com>
18523
18524 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18525 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18526 warning.
18527
bd12ab55
AZ
185282013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18529
18530 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18531 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18532 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18533 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18534 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18535 __fe_nomask_env_priv and attribute_hidden.
18536 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18537 (libc_feupdateenv_test_ppc): Likewise.
18538 (libc_feresetround_ppc): Likewise.
18539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18540 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18541 compat_symbol macro.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18543 (__fe_nomask_env): Likewise.
18544 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18545
52bb6543
OB
185462013-11-26 Ondřej Bílka <neleai@seznam.cz>
18547
18548 * string/Makefile: Remove ifunc tests.
18549 * string/test-string.h: Define TEST_IFUNC.
18550 * string/test-bcopy-ifunc.c: Remove.
18551 * string/test-bzero-ifunc.c: Likewise.
18552 * string/test-memccpy-ifunc.c: Likewise.
18553 * string/test-memchr-ifunc.c: Likewise.
18554 * string/test-memcmp-ifunc.c: Likewise.
18555 * string/test-memcpy-ifunc.c: Likewise.
18556 * string/test-memmem-ifunc.c: Likewise.
18557 * string/test-memmove-ifunc.c: Likewise.
18558 * string/test-mempcpy-ifunc.c: Likewise.
18559 * string/test-memrchr-ifunc.c: Likewise.
18560 * string/test-memset-ifunc.c: Likewise.
18561 * string/test-rawmemchr-ifunc.c: Likewise.
18562 * string/test-stpcpy-ifunc.c: Likewise.
18563 * string/test-stpncpy-ifunc.c: Likewise.
18564 * string/test-strcasecmp-ifunc.c: Likewise.
18565 * string/test-strcasestr-ifunc.c: Likewise.
18566 * string/test-strcat-ifunc.c: Likewise.
18567 * string/test-strchr-ifunc.c: Likewise.
18568 * string/test-strchrnul-ifunc.c: Likewise.
18569 * string/test-strcmp-ifunc.c: Likewise.
18570 * string/test-strcpy-ifunc.c: Likewise.
18571 * string/test-strcspn-ifunc.c: Likewise.
18572 * string/test-strlen-ifunc.c: Likewise.
18573 * string/test-strncasecmp-ifunc.c: Likewise.
18574 * string/test-strncat-ifunc.c: Likewise.
18575 * string/test-strncmp-ifunc.c: Likewise.
18576 * string/test-strncpy-ifunc.c: Likewise.
18577 * string/test-strnlen-ifunc.c: Likewise.
18578 * string/test-strpbrk-ifunc.c: Likewise.
18579 * string/test-strrchr-ifunc.c: Likewise.
18580 * string/test-strspn-ifunc.c: Likewise.
18581 * string/test-strstr-ifunc.c: Likewise.
18582
ab260039 185832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18584
18585 * benchtests/Makefile: Remove ifunc tests.
18586 * benchtests/bench-string.h: Define TEST_IFUNC.
18587 * benchtests/bench-bcopy-ifunc.c: Remove.
18588 * benchtests/bench-bzero-ifunc.c: Likewise.
18589 * benchtests/bench-memccpy-ifunc.c: Likewise.
18590 * benchtests/bench-memchr-ifunc.c: Likewise.
18591 * benchtests/bench-memcmp-ifunc.c: Likewise.
18592 * benchtests/bench-memcpy-ifunc.c: Likewise.
18593 * benchtests/bench-memmem-ifunc.c: Likewise.
18594 * benchtests/bench-memmove-ifunc.c: Likewise.
18595 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18596 * benchtests/bench-memrchr-ifunc.c: Likewise.
18597 * benchtests/bench-memset-ifunc.c: Likewise.
18598 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18599 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18600 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18601 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18602 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18603 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18604 * benchtests/bench-strcat-ifunc.c: Likewise.
18605 * benchtests/bench-strchr-ifunc.c: Likewise.
18606 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18607 * benchtests/bench-strcmp-ifunc.c: Likewise.
18608 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18609 * benchtests/bench-strcpy-ifunc.c: Likewise.
18610 * benchtests/bench-strcspn-ifunc.c: Likewise.
18611 * benchtests/bench-strlen-ifunc.c: Likewise.
18612 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18613 * benchtests/bench-strncat-ifunc.c: Likewise.
18614 * benchtests/bench-strncmp-ifunc.c: Likewise.
18615 * benchtests/bench-strncpy-ifunc.c: Likewise.
18616 * benchtests/bench-strnlen-ifunc.c: Likewise.
18617 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18618 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18619 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18620 * benchtests/bench-strspn-ifunc.c: Likewise.
18621 * benchtests/bench-strstr-ifunc.c: Likewise.
18622
186232013-11-26 Ondřej Bílka <neleai@seznam.cz>
18624
ab260039
OB
18625 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18626
d1d9eaf4 186272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18628
d1d9eaf4
OB
18629 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18630 * rt/aio.h: Likewise.
18631 * sysdeps/gnu/bits/utmp.h: Likewise.
18632 * sysdeps/gnu/bits/utmpx.h: Likewise.
18633 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18634 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18635 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18636 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18637 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18638 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18639 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18640 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18644 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18645 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18648 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18649 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18650 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18651 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18652 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18654 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18655 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18656 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18657 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18659 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18660 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18663 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18664 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18665 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18667 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18668 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18669 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18670 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18671 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18672 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18673 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18674 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18675
a7624ed9
CD
186762013-11-25 Carlos O'Donell <carlos@redhat.com>
18677
18678 [BZ #16245]
18679 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18680 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18681
63cfe52b
JM
186822013-11-25 Joseph Myers <joseph@codesourcery.com>
18683
18684 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18685 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18686 Likewise.
18687
41e8926a
AZ
186882013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18689
18690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18691 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18692 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18693 (__fesetround): Remove define.
18694 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18695 rounding and exceptions handling.
18696 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18697 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18698 (__fe_nomask_env): Likewise.
18699 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18700 __fegetround instead of fegetround.
18701 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18702 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18703
6851bd4d
RM
187042013-11-21 Roland McGrath <roland@hack.frob.com>
18705
070906ff
RM
18706 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18707 it's there.
18708
6851bd4d
RM
18709 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18710
84ae135d
MI
187112013-11-21 Meador Inge <meadori@codesourcery.com>
18712
18713 [BZ #11157]
18714 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18715 (encrypt_r): Likewise.
18716 * malloc/obstack.h (obstack_free): Likewise.
18717 * posix/unistd.h (encrypt): Likewise.
18718
daf75146
GM
187192013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18720
18721 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18722 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18723 DL_CALL_DT_FINI() that call the functions directly.
18724 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18725 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18726 * elf/dl-fini.c: Likewise.
18727
10ad46bc
OB
187282013-11-20 Ondřej Bílka <neleai@seznam.cz>
18729
18730 * malloc/hooks.c (memalign_check): Add alignment rounding.
18731 * malloc/malloc.c (_mid_memalign): New function.
18732 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18733 Implement by calling _mid_memalign.
18734 * manual/probes.texi (Memory Allocation Probes): Remove
18735 memory_valloc_retry and memory_pvalloc_retry.
18736
f3fd2628
SP
187372013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18738
4712799f
SP
18739 * locale/programs/locarchive.c (open_archive): Add const
18740 qualifier to ARCHIVEFNAME and copy default fname to
18741 DEFAULT_FNAME.
18742
0417b20f
SP
18743 [BZ #15601]
18744 * libio/tst-widetext.input: Rename Oriya to Odia.
18745 * locale/iso-639.def: Likewise.
18746
f3fd2628
SP
18747 * manual/probes.texi (Mathematical Function Probes): Add
18748 documentation for sin, cos, asin and acos probes.
18749 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18750 (__sin32): Add slowasin probe.
18751 (__cos32): Add slowacos probe.
18752 (__mpsin): Add slowsin probe.
18753 (__mpcos): Add slowcos probe.
18754
73c1ce4f
JM
187552013-11-19 Joseph Myers <joseph@codesourcery.com>
18756
18757 [BZ #15483]
18758 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18759 thread-local __sim_exceptions_thread and global
18760 __sim_exceptions_global.
18761 (__sim_disabled_exceptions): Change to thread-local
18762 __sim_disabled_exceptions_thread and global
18763 __sim_disabled_exceptions_global.
18764 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18765 and global __sim_round_mode_global.
18766 (__simulate_exceptions): Use thread-local floating-point state and
18767 set global state from it as needed.
18768 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18769 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18770 __sim_round_mode_thread.
18771 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18772 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18773 and global __sim_exceptions_global.
18774 (__sim_disabled_exceptions): Change to thread-local
18775 __sim_disabled_exceptions_thread and global
18776 __sim_disabled_exceptions_global.
18777 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18778 and global __sim_round_mode_global.
18779 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18780 (SIM_SET_GLOBAL): Likewise.
18781 * sysdeps/powerpc/soft-fp/sfp-machine.h
18782 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18783 __sim_round_mode_thread.
18784 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18785 __sim_disabled_exceptions_thread.
18786 (__sim_exceptions): Change to __sim_exceptions_thread.
18787 (__sim_disabled_exceptions): Change to
18788 __sim_disabled_exceptions_thread.
18789 (__sim_round_mode): Change to __sim_round_mode_thread.
18790 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18791 thread-local floating-point state and set global state from it as
18792 needed.
18793 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18794 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18795 (__sim_disabled_exceptions): Remove extern declaration.
18796 (feenableexcept): Use thread-local floating-point state and set
18797 global state from it as needed.
18798 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18799 extern declaration.
18800 (__sim_disabled_exceptions): Likewise.
18801 (__sim_round_mode): Likewise.
18802 (__fegetenv): Use thread-local floating-point state.
18803 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18804 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18805 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18806 floating-point state and set global state from it as needed.
18807 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18808 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18809 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18810 Likewise.
18811 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18812 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18813 Likewise.
18814 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18815 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18816 Use __sim_round_mode_thread.
18817 * math/test-fenv-tls.c: New file.
18818 * math/Makefile (tests): Add test-fenv-tls.
18819 ($(objpfx)test-fenv-tls): Depend on
18820 $(common-objpfx)nptl/libpthread.so.
18821
b5449b12
AS
188222013-11-19 Andreas Schwab <schwab@suse.de>
18823
18824 * locale/programs/locale.c (show_info): Decode wordarray elements.
18825 * locale/categories.def (LC_MONETARY): Add element for
18826 _NL_MONETARY_CRNCYSTR.
18827 * locale/C-monetary.c (conversion_rate): New variable.
18828 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18829 element.
18830
e186536b
CM
188312013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18832
18833 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18834 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18835
5c349950
PP
188362013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18837
18838 * elf/Makefile (tst-auxv): New test.
18839 * elf/tst-auxv.c: New
18840 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18841
699df45b
JM
188422013-11-18 Joseph Myers <joseph@codesourcery.com>
18843
18844 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18845 (hidden_proto): Caller changed.
18846 (hidden_tls_proto): New macro.
18847 (libc_hidden_tls_proto): Likewise.
18848 (rtld_hidden_tls_proto): Likewise.
18849 (libm_hidden_tls_proto): Likewise.
18850 (libresolv_hidden_tls_proto): Likewise.
18851 (librt_hidden_tls_proto): Likewise.
18852 (libdl_hidden_tls_proto): Likewise.
18853 (libnss_files_hidden_tls_proto): Likewise.
18854 (libnsl_hidden_tls_proto): Likewise.
18855 (libnss_nisplus_hidden_tls_proto): Likewise.
18856 (libutil_hidden_tls_proto): Likewise.
18857
b7589107
OB
188582013-11-18 Ondřej Bílka <neleai@seznam.cz>
18859
18860 [BZ #10253]
18861 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18862 (decompose_rpath): Defer expansion to fillin_rpath.
18863 (_dl_init_paths): Pass linkmap to fillin_rpath.
18864
250c23bd
RS
188652013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18866
18867 * benchtests/Makefile: Add strsep.
18868 * benchtests/bench-strsep.c: New file: strsep benchtest.
18869 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18870
a7931fcf
AS
188712013-11-18 Andreas Schwab <schwab@suse.de>
18872
18873 * locale/programs/locale.c (show_info) [case byte]: Check for
18874 '\377' instead of '\177'.
18875 * locale/C-monetary.c (not_available): Always use "\377".
18876 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18877 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18878 detect unavailable sign_posn locale elements.
18879 * locale/localeconv.c (__localeconv): For grouping and
18880 mon_grouping handle "\177" and "\377" like no grouping.
18881 (INT_ELEM): New macro. Use it to set all numeric members.
18882 * locale/programs/ld-monetary.c (monetary_read)
18883 <tok_mon_grouping>: Normalize single -1 to the empty string.
18884 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18885 Likewise.
18886
728dab0e
OB
188872013-11-07 Ondřej Bílka <neleai@seznam.cz>
18888
18889 [BZ #16055]
18890 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18891 when we match (nil).
18892 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18893
66294491
JM
188942013-11-16 Joseph Myers <joseph@codesourcery.com>
18895
ce665817
JM
18896 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18897 (NO_TEST_INLINE): Update value.
18898 (ERRNO_UNCHANGED): Likewise.
18899 (ERRNO_EDOM): Likewise.
18900 (ERRNO_ERANGE): Likewise.
18901 (IGNORE_RESULT): Likewise.
18902 (check_float_internal): Check signs of NaN results if
18903 TEST_NAN_SIGN used.
18904 (check_complex): Pass TEST_NAN_SIGN flag through to second
18905 check_float_internal call.
18906 (copysign_test_data): Add tests with quiet NaNs as second
18907 argument. Use TEST_NAN_SIGN.
18908 (fabs_test_data): Add test of negative quiet NaN argument. Use
18909 TEST_NAN_SIGN.
18910 (signbit_test_data): Add tests of quiet NaN argument.
18911 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18912
ee1466a9
JM
18913 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18914 $ignore_result.
18915 (parse_args): Handle function results specified as IGNORE.
18916 * math/libm-test.inc (IGNORE_RESULT): New macro.
18917 (check_float_internal): Do not check numerical result if flag
18918 IGNORE_RESULT set.
18919 (check_complex): Pass through IGNORE_RESULT to second
18920 check_float_internal call.
18921 (check_int): Do not check numerical result if flag IGNORE_RESULT
18922 set.
18923 (check_long): Likewise.
18924 (check_bool): Likewise.
18925 (check_longlong): Likewise.
18926 (lrint_test_data): Add tests of infinite and NaN arguments.
18927 (lrint_tonearest_test_data): Likewise.
18928 (lrint_towardzero_test_data): Likewise.
18929 (lrint_downward_test_data): Likewise.
18930 (lrint_upward_test_data): Likewise.
18931 (llrint_test_data): Likewise.
18932 (llrint_tonearest_test_data): Likewise.
18933 (llrint_towardzero_test_data): Likewise.
18934 (llrint_downward_test_data): Likewise.
18935 (llrint_upward_test_data): Likewise.
18936 (lround_test_data): Likewise.
18937 (llround_test_data): Likewise.
18938
14407b7e
JM
18939 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18940 (ERRNO_UNCHANGED): Update value.
18941 (ERRNO_EDOM): Likewise.
18942 (ERRNO_ERANGE): Likewise.
18943 (NO_TEST_INLINE_FLOAT): New macro.
18944 (NO_TEST_INLINE_DOUBLE): Likewise.
18945 (enable_test): New function.
18946 (RUN_TEST_f_f): Check enable_test before running test.
18947 (RUN_TEST_2_f): Likewise.
18948 (RUN_TEST_fff_f): Likewise.
18949 (RUN_TEST_c_f): Likewise.
18950 (RUN_TEST_f_f1): Likewise.
18951 (RUN_TEST_fF_f1): Likewise.
18952 (RUN_TEST_fI_f1): Likewise.
18953 (RUN_TEST_ffI_f1): Likewise.
18954 (RUN_TEST_c_c): Likewise.
18955 (RUN_TEST_cc_c): Likewise.
18956 (RUN_TEST_f_i): Likewise.
18957 (RUN_TEST_f_i_tg): Likewise.
18958 (RUN_TEST_ff_i_tg): Likewise.
18959 (RUN_TEST_f_b): Likewise.
18960 (RUN_TEST_f_b_tg): Likewise.
18961 (RUN_TEST_f_l): Likewise.
18962 (RUN_TEST_f_L): Likewise.
18963 (RUN_TEST_fFF_11): Likewise.
18964 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18965 conditionals.
18966 (cosh_test_data): Likewise.
18967 (exp_test_data): Likewise.
18968 (expm1_test_data): Likewise.
18969 (hypot_test_data): Likewise.
18970 (pow_test_data): Likewise.
18971 (sinh_test_data): Likewise.
18972 (tanh_test_data): Likewise.
18973 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18974 flags argument.
18975
ca07f197
JM
18976 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18977 tests with quiet NaN input and output.
18978 (acosh_test_data): Likewise.
18979 (asin_test_data): Likewise.
18980 (asinh_test_data): Likewise.
18981 (atan_test_data): Likewise.
18982 (atanh_test_data): Likewise.
18983 (atan2_test_data): Likewise.
18984 (cbrt_test_data): Likewise.
18985 (cos_test_data): Likewise.
18986 (cosh_test_data): Likewise.
18987 (erf_test_data): Likewise.
18988 (erfc_test_data): Likewise.
18989 (exp_test_data): Likewise.
18990 (exp10_test_data): Likewise.
18991 (exp2_test_data): Likewise.
18992 (expm1_test_data): Likewise.
18993 (hypot_test_data): Likewise.
18994 (j0_test_data): Likewise.
18995 (j1_test_data): Likewise.
18996 (jn_test_data): Likewise.
18997 (lgamma_test_data): Likewise.
18998 (log_test_data): Likewise.
18999 (log10_test_data): Likewise.
19000 (log1p_test_data): Likewise.
19001 (log2_test_data): Likewise.
19002 (pow_test_data): Likewise.
19003 (scalb_test_data): Likewise.
19004 (sin_test_data): Likewise.
19005 (sincos_test_data): Likewise.
19006 (sinh_test_data): Likewise.
19007 (tan_test_data): Likewise.
19008 (tanh_test_data): Likewise.
19009 (tgamma_test_data): Likewise.
19010 (y0_test_data): Likewise.
19011 (y1_test_data): Likewise.
19012 (yn_test_data): Likewise.
19013
66294491
JM
19014 [BZ #16167]
19015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19016 argument being NaN and avoid computations with second argument in
19017 that case.
19018 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19019 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19020 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19021
1820b143
CL
190222013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19023
19024 * locale/iso-639.def: Add Chitwani Tharu (the).
19025
714bd261
AS
190262013-11-14 Andreas Schwab <schwab@suse.de>
19027
19028 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19029 word instead of empty string.
19030
7ab44563
AZ
190312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19032
19033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19034 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19036 (__fe_nomask_env): Likewise.
19037
e8470ea2
SE
190382013-11-13 Steve Ellcey <sellcey@mips.com>
19039
19040 * benchtests/bench-timing.h: Include time.h.
19041
17c1d9f0
L
190422013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19043
19044 [BZ #15997]
19045 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19046 to 3.4.0 for x32.
19047 * sysdeps/unix/sysv/linux/configure: Regenerated.
19048
9310c284
JM
190492013-11-13 Joseph Myers <joseph@codesourcery.com>
19050
19051 [BZ #16151]
19052 * stdlib/strtod_l.c (round_and_return): Do not consider
19053 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19054 exponent one less than half the least subnormal exponent.
19055 * stdlib/test-strtod-round-data: Add more tests.
19056 * stdlib/tst-strtod-round.c (tests): Regenerated.
19057
7a2ad8cf
AZ
190582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19059
19060 [BZ #14143]
19061 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19062 (__fe_mask_env): Likewise.
19063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19064 libm_hidden_proto and add function prototype.
19065 (__fe_mask_env): Add function prototype.
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19067 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19069 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19071 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19072
50727aa7
MS
190732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19074
b2f386c1 19075 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
19076 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19077
a615be46
MS
190782013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19079
19080 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19081 of htab_find_slot().
19082
7ddace62
DM
190832013-11-11 David S. Miller <davem@davemloft.net>
19084
19085 [BZ #16150]
19086 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19087 symbol in the non-vis3 case in static builds.
19088 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19089 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19090 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19091 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19092
9182aa67
JK
190932013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19094
19095 [BZ #387]
19096 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19097 it is empty.
19098
450a2e2d
AZ
190992013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19100
b2f386c1
SP
19101 * benchtests/Makefile: Add bench-strtod.
19102 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 19103
8ec3f656
AS
191042013-11-11 Andreas Schwab <schwab@suse.de>
19105
19106 [BZ #16153]
19107 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19108 terminating NUL in key length.
19109
76a9b998
AZ
191102013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19111
19112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19113 Add artificial ODP entry for vDSO symbol for PPC64.
19114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19115 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19116
e4368156
OB
191172013-11-07 Ondřej Bílka <neleai@seznam.cz>
19118
19119 [BZ #15374]
19120 * nss/getent.c (services_keys): Recognize services starting with digit.
19121
8d6bb57c
DM
191222013-11-06 David S. Miller <davem@davemloft.net>
19123
19124 [BZ #15985]
19125 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19126 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19127
e256c421
WN
191282013-11-06 Will Newton <will.newton@linaro.org>
19129
19130 * manual/memory.texi (Malloc Examples): Remove register
19131 keyword from examples.
19132
f6e12daa 191332013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 19134
f6e12daa 19135 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19136
9d880655
AS
191372013-11-04 Joseph Myers <joseph@codesourcery.com>
19138
fd2f9486 19139 [BZ #6981]
9d880655
AS
19140 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19141 depending on [__GCC_IEC_559 > 0].
19142 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19143 depending on [__GCC_IEC_559_COMPLEX > 0].
19144
ae129d3c
CL
191452013-11-03 Chris Leonard <cjl@sugarlabs.org>
19146
19147 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19148 to iso-639.def.
19149
4a15c2a4 191502013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19151
19152 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19153
8b35e35d
OB
191542013-11-01 Ondřej Bílka <neleai@seznam.cz>
19155
19156 [BZ #16112]
19157 * malloc/malloc (malloc_info): Do not handle first bin as
19158 special case.
19159
1d70fd6c
CL
191602013-11-01 Chris Leonard <cjl@sugarlabs.org>
19161
19162 * locale/iso-639.def: Add Central Nahuatl (nhn).
19163
8c5c2600
BH
191642013-11-01 Bruno Haible <bruno@clisp.org>
19165
19166 [BZ #7003]
19167 * manual/math.texi (BSD Random): Specify range upper bound as
19168 in POSIX.
19169
da5579c2
CL
191702013-10-31 Chris Leonard <cjl@sugarlabs.org>
19171
19172 * locale/iso-639.def: Add Meadow Mari (mhr).
19173
5d30d853
OB
191742013-10-31 Ondřej Bílka <neleai@seznam.cz>
19175
19176 [BZ #14752], [BZ #15763]
19177 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19178 Validate name.
19179 * rt/tst_shm.c: Add test for escaping directory.
19180
a4966c61
AS
191812013-10-31 Andreas Schwab <schwab@suse.de>
19182
8a43e768 19183 [BZ #15917]
a4966c61
AS
19184 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19185 followed by 'x' as part of digit sequence.
19186 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19187
28d708c4
MAP
191882013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19189
19190 [BZ #16037]
19191 * configure.ac: allow GNU Make 4.0 and greater.
19192 * configure: Regenerated.
19193
a56ee40b
WN
191942013-10-30 Will Newton <will.newton@linaro.org>
19195
19196 [BZ #16038]
19197 * malloc/hooks.c (memalign_check): Limit alignment to the
19198 maximum representable power of two.
19199 * malloc/malloc.c (__libc_memalign): Likewise.
19200 * malloc/tst-memalign.c (do_test): Add test for very
19201 large alignment values.
19202 * malloc/tst-posix_memalign.c (do_test): Likewise.
19203
c6e4925d
OB
192042013-10-30 Ondřej Bílka <neleai@seznam.cz>
19205
19206 [BZ #11087]
19207 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19208 (munmap_chunk): Likewise.
19209 (mremap_chunk): Likewise.
19210
192112013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19212
8a43e768 19213 [BZ #15799]
bbea82f7
OB
19214 * stdlib/div.c (div): Remove obsolete code.
19215 * stdlib/ldiv.c (ldiv): Likewise.
19216 * stdlib/lldiv.c (lldiv): Likewise.
19217
977f4b31
SP
192182013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19219
19220 [BZ #16071]
19221 * nss/nss_files/files-XXX.c (get_contents_ret): New
19222 enumerator.
19223 (get_contents): New function.
19224 (internal_getent): Use it. Expand size of LINEBUFLEN.
19225
cb8a6dbd
MF
192262013-10-30 Mike Frysinger <vapier@gentoo.org>
19227
19228 * configure.in: Moved to ...
19229 * configure.ac: ... here. Change reference to configure.in
19230 to configure.ac.
19231 * sysdeps/arm/preconfigure.ac: ... here.
19232 configure.in to configure.ac.
19233 * sysdeps/gnu/configure.in: Moved to ...
19234 * sysdeps/gnu/configure.ac: ... here.
19235 * sysdeps/i386/configure.in: Moved to ...
19236 * sysdeps/i386/configure.ac: ... here.
19237 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19238 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19239 * sysdeps/mach/configure.in: Moved to ...
19240 * sysdeps/mach/configure.ac: ... here.
19241 * sysdeps/mach/hurd/configure.in: Moved to ...
19242 * sysdeps/mach/hurd/configure.ac: ... here.
19243 * sysdeps/powerpc/configure.in: Moved to ...
19244 * sysdeps/powerpc/configure.ac: ... here.
19245 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19246 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19247 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19248 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19249 * sysdeps/s390/s390-32/configure.in: Moved to ...
19250 * sysdeps/s390/s390-32/configure.ac: ... here.
19251 * sysdeps/s390/s390-64/configure.in: Moved to ...
19252 * sysdeps/s390/s390-64/configure.ac: ... here.
19253 * sysdeps/sh/configure.in: Moved to ...
19254 * sysdeps/sh/configure.ac: ... here.
19255 * sysdeps/sparc/configure.in: Moved to ...
19256 * sysdeps/sparc/configure.ac: ... here.
19257 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19258 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19259 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19260 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19261 * sysdeps/x86_64/configure.in: Moved to ...
19262 * sysdeps/x86_64/configure.ac: ... here.
19263 * sysdeps/x86_64/preconfigure.in: Moved to ...
19264 * sysdeps/x86_64/preconfigure.ac: ... here.
19265 * aclocal.m4: Change reference to configure.in to configure.ac.
19266 * config.h.in: Likewise.
19267 * manual/install.texi: Likewise.
19268 * manual/maint.texi: Likewise.
19269 * Makefile: Likewise.
19270 * malloc/Makefile: Likewise.
19271 * nscd/Makefile: Likewise.
19272 * Makeconfig: Change reference to configure.in and
19273 preconfigure.in to configure.ac and preconfigure.ac
19274 respectively.
19275 * INSTALL: Regenerated.
19276 * configure: Likewise.
19277 * sysdeps/gnu/configure: Likewise.
19278 * sysdeps/i386/configure: Likewise.
19279 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19280 * sysdeps/mach/configure: Likewise.
19281 * sysdeps/mach/hurd/configure: Likewise.
19282 * sysdeps/powerpc/configure: Likewise.
19283 * sysdeps/powerpc/powerpc32/configure: Likewise.
19284 * sysdeps/powerpc/powerpc64/configure: Likewise.
19285 * sysdeps/s390/s390-32/configure: Likewise.
19286 * sysdeps/s390/s390-64/configure: Likewise.
19287 * sysdeps/sh/configure: Likewise.
19288 * sysdeps/sparc/configure: Likewise.
19289 * sysdeps/unix/sysv/linux/configure: Likewise.
19290 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19291 * sysdeps/x86_64/configure: Likewise.
19292 * sysdeps/x86_64/preconfigure: Likewise.
19293
36a4953a
AS
192942013-10-29 Andreas Schwab <schwab@suse.de>
19295
19296 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19297
c79a1204
SP
192982013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19299
dfa1b402
SP
19300 * benchtests/pow-inputs: Add new inputs.
19301
54f73d9c
SP
19302 * benchtests/exp-inputs: Add new inputs.
19303
c79a1204
SP
19304 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19305 conditional check for return value.
19306 (__cos32): Likewise.
19307
67beb545 193082013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19309
19310 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19311 to provide a boost for large inputs with word alignment.
19312 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19313 implementation based on optimized PPC64 strcpy.
19314 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19315 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19316 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19317 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19318
151659f6
OB
193192013-10-25 Ondřej Bílka <neleai@seznam.cz>
19320
482a077e 19321 [BZ #2801]
151659f6
OB
19322 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19323
10b0f26b
OB
193242013-10-25 Ondřej Bílka <neleai@seznam.cz>
19325
19326 [BZ #14876]
19327 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19328 * time/tst-strptime.c (day_tests): Add testcase.
19329
ca42d35e
OB
193302013-10-25 Ondřej Bílka <neleai@seznam.cz>
19331
482a077e 19332 [BZ #14029]
ca42d35e
OB
19333 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19334
52e6d801
FB
193352013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19336
19337 [BZ #16074]
19338 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19339 MAP_FAILED on error.
19340
7cbcdb36
SP
193412013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19342
19343 [BZ #16072]
19344 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19345 heap for large requests.
19346
894f3f10
AM
193472013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19348
19349 [BZ #9954]
19350 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19351 result if the result has no associated interface.
19352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19353 interface for all 127.X.Y.Z addresses.
19354
b85545a6
CL
193552013-10-24 Chris Leonard <cjl@sugarlabs.org>
19356
19357 * locale/iso-639.def: Add Ligurian (lij)
19358
d1f23d46
OB
193592013-10-21 Ondřej Bílka <neleai@seznam.cz>
19360
19361 [BZ #15825]
19362 * sunrpc/rpc_main.c: Document rpcgen -5.
19363
4db5b08f
MS
193642013-10-19 Michael Stahl <mstahl@redhat.com>
19365
19366 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19367
a471e96a
OB
193682013-10-19 Ondřej Bílka <neleai@seznam.cz>
19369
d1f23d46 19370 [BZ #10278]
a471e96a
OB
19371 * posix/glob.c: Match only directories when trailing slash is present.
19372 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19373 (main): Add testcase.
19374
45c30c61
OB
193752013-10-19 Ondřej Bílka <neleai@seznam.cz>
19376
19377 [BZ #15670]
19378 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19379
484c12fb
CD
193802013-10-18 Carlos O'Donell <carlos@redhat.com>
19381
3d7dc513
CD
19382 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19383 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19384 AUTH_DES and cindex for FIPS 140-2.
19385 (DES Encryption): Add cindex FIPS 46-3.
19386
484c12fb
CD
19387 * locale/locarchive.h (struct locarhandle): Add fname.
19388 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19389 if an optional argument was specified to --list-archive,
19390 otherwise NULL.
19391 * locale/programs/locarchive.c (show_archive_content): Take new
19392 argument fname and pass it via ah.fname to open_archive.
19393 * locale/programs/localedef.h: Update decl.
19394 (open_archive): If AH->fname is non-null, open that file
19395 rather than the default file name, and don't ignore ENOENT.
19396 (create_archive): Set AH.fname to NULL.
19397 (delete_locales_from_archive): Likewise.
19398 (add_locales_to_archive): Likewise.
19399 * locale/programs/locfile.c (write_all_categories): Likewise.
19400
3c8325fb
JM
194012013-10-18 Joseph Myers <joseph@codesourcery.com>
19402 Aldy Hernandez <aldyh@redhat.com>
19403
19404 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19405 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19406 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19407 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19408 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19409 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19410 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19412 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19413 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19414 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19415 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19416 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19417 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19418 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19419 Likewise.
19420 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19421 Likewise.
19422 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19423 Likewise.
19424 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19425 Likewise.
19426 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19427 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19428 Likewise.
19429 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19430 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19431 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19432 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19433 Likewise.
19434 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19435 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19436 * sysdeps/powerpc/preconfigure: Likewise.
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19438 Likewise.
19439 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19440 Replace contents of file by #include of <fenv_libc.h>.
19441 * sysdeps/powerpc/soft-fp/sfp-machine.h
19442 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19443 and <sys/prctl.h>.
19444 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19457 Allow copysignl PLT reference to be missing.
19458
5abe0682
RS
194592013-10-18 Richard Sandiford <richard@codesourcery.com>
19460 Joseph Myers <joseph@codesourcery.com
19461
19462 [BZ #15948]
19463 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19464 single character.
19465 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19466
c7738d08
SP
194672013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19468
19469 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19470 * elf/tst-tls1.c: Likewise.
19471 * elf/tst-tls10.h: Likewise.
19472 * elf/tst-tls14.c: Likewise.
19473 * elf/tst-tls2.c: Likewise.
19474 * elf/tst-tls3.c: Likewise.
19475 * elf/tst-tls4.c: Likewise.
19476 * elf/tst-tls5.c: Likewise.
19477 * elf/tst-tls6.c: Likewise.
19478 * elf/tst-tls7.c: Likewise.
19479 * elf/tst-tls8.c: Likewise.
19480 * elf/tst-tls9.c: Likewise.
19481 * elf/tst-tlsmod1.c: Likewise.
19482 * elf/tst-tlsmod13.c: Likewise.
19483 * elf/tst-tlsmod13a.c: Likewise.
19484 * elf/tst-tlsmod14a.c: Likewise.
19485 * elf/tst-tlsmod16a.c: Likewise.
19486 * elf/tst-tlsmod16b.c: Likewise.
19487 * elf/tst-tlsmod2.c: Likewise.
19488 * elf/tst-tlsmod3.c: Likewise.
19489 * elf/tst-tlsmod4.c: Likewise.
19490 * elf/tst-tlsmod5.c: Likewise.
19491 * elf/tst-tlsmod6.c: Likewise.
19492
0bfcf2c7
OB
194932013-10-18 Ondřej Bílka <neleai@seznam.cz>
19494
19495 [BZ #12486]
19496 * malloc/malloc.c: remove checks for statistics.
19497
264aad1e
OB
194982013-10-17 Ondřej Bílka <neleai@seznam.cz>
19499
19500 [BZ #15277]
19501 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19502 * inet/tst-network.c: Add testcase.
19503
b957ced8
AS
195042013-10-17 Andreas Schwab <schwab@suse.de>
19505
19506 [BZ #15218]
19507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19508 to determine canonical name.
19509
c5d5d574
OB
195102013-10-17 Ondřej Bílka <neleai@seznam.cz>
19511
19512 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19513 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19536 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19537 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19540 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19541 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19555 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19570
e5c2c2d0
JM
195712013-10-17 Joseph Myers <joseph@codesourcery.com>
19572
19573 [BZ #16041]
19574 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19575 make result into a quiet NaN.
19576
51ca9e29
JM
195772013-10-16 Joseph Myers <joseph@codesourcery.com>
19578
19579 * soft-fp/adddf3.c: Fix horizontal whitespace.
19580 * soft-fp/addsf3.c: Likewise.
19581 * soft-fp/addtf3.c: Likewise.
19582 * soft-fp/divdf3.c: Likewise.
19583 * soft-fp/divsf3.c: Likewise.
19584 * soft-fp/divtf3.c: Likewise.
19585 * soft-fp/double.h: Likewise.
19586 * soft-fp/eqdf2.c: Likewise.
19587 * soft-fp/eqsf2.c: Likewise.
19588 * soft-fp/eqtf2.c: Likewise.
19589 * soft-fp/extenddftf2.c: Likewise.
19590 * soft-fp/extended.h: Likewise.
19591 * soft-fp/extendsfdf2.c: Likewise.
19592 * soft-fp/extendsftf2.c: Likewise.
19593 * soft-fp/extendxftf2.c: Likewise.
19594 * soft-fp/fixdfdi.c: Likewise.
19595 * soft-fp/fixdfsi.c: Likewise.
19596 * soft-fp/fixdfti.c: Likewise.
19597 * soft-fp/fixsfdi.c: Likewise.
19598 * soft-fp/fixsfsi.c: Likewise.
19599 * soft-fp/fixsfti.c: Likewise.
19600 * soft-fp/fixtfdi.c: Likewise.
19601 * soft-fp/fixtfsi.c: Likewise.
19602 * soft-fp/fixtfti.c: Likewise.
19603 * soft-fp/fixunsdfdi.c: Likewise.
19604 * soft-fp/fixunsdfsi.c: Likewise.
19605 * soft-fp/fixunsdfti.c: Likewise.
19606 * soft-fp/fixunssfdi.c: Likewise.
19607 * soft-fp/fixunssfsi.c: Likewise.
19608 * soft-fp/fixunssfti.c: Likewise.
19609 * soft-fp/fixunstfdi.c: Likewise.
19610 * soft-fp/fixunstfsi.c: Likewise.
19611 * soft-fp/fixunstfti.c: Likewise.
19612 * soft-fp/floatdidf.c: Likewise.
19613 * soft-fp/floatdisf.c: Likewise.
19614 * soft-fp/floatditf.c: Likewise.
19615 * soft-fp/floatsidf.c: Likewise.
19616 * soft-fp/floatsisf.c: Likewise.
19617 * soft-fp/floatsitf.c: Likewise.
19618 * soft-fp/floattidf.c: Likewise.
19619 * soft-fp/floattisf.c: Likewise.
19620 * soft-fp/floattitf.c: Likewise.
19621 * soft-fp/floatundidf.c: Likewise.
19622 * soft-fp/floatundisf.c: Likewise.
19623 * soft-fp/floatunditf.c: Likewise.
19624 * soft-fp/floatunsidf.c: Likewise.
19625 * soft-fp/floatunsisf.c: Likewise.
19626 * soft-fp/floatunsitf.c: Likewise.
19627 * soft-fp/floatuntidf.c: Likewise.
19628 * soft-fp/floatuntisf.c: Likewise.
19629 * soft-fp/floatuntitf.c: Likewise.
19630 * soft-fp/fmadf4.c: Likewise.
19631 * soft-fp/fmasf4.c: Likewise.
19632 * soft-fp/fmatf4.c: Likewise.
19633 * soft-fp/gedf2.c: Likewise.
19634 * soft-fp/gesf2.c: Likewise.
19635 * soft-fp/getf2.c: Likewise.
19636 * soft-fp/ledf2.c: Likewise.
19637 * soft-fp/lesf2.c: Likewise.
19638 * soft-fp/letf2.c: Likewise.
19639 * soft-fp/muldf3.c: Likewise.
19640 * soft-fp/mulsf3.c: Likewise.
19641 * soft-fp/multf3.c: Likewise.
19642 * soft-fp/negdf2.c: Likewise.
19643 * soft-fp/negsf2.c: Likewise.
19644 * soft-fp/negtf2.c: Likewise.
19645 * soft-fp/op-1.h: Likewise.
19646 * soft-fp/op-2.h: Likewise.
19647 * soft-fp/op-4.h: Likewise.
19648 * soft-fp/op-8.h: Likewise.
19649 * soft-fp/op-common.h: Likewise.
19650 * soft-fp/quad.h: Likewise.
19651 * soft-fp/single.h: Likewise.
19652 * soft-fp/soft-fp.h: Likewise.
19653 * soft-fp/sqrtdf2.c: Likewise.
19654 * soft-fp/sqrtsf2.c: Likewise.
19655 * soft-fp/sqrttf2.c: Likewise.
19656 * soft-fp/subdf3.c: Likewise.
19657 * soft-fp/subsf3.c: Likewise.
19658 * soft-fp/subtf3.c: Likewise.
19659 * soft-fp/truncdfsf2.c: Likewise.
19660 * soft-fp/trunctfdf2.c: Likewise.
19661 * soft-fp/trunctfsf2.c: Likewise.
19662 * soft-fp/trunctfxf2.c: Likewise.
19663 * soft-fp/unorddf2.c: Likewise.
19664 * soft-fp/unordsf2.c: Likewise.
19665 * soft-fp/unordtf2.c: Likewise.
19666
9ebb0332
JM
196672013-10-15 Joseph Myers <joseph@codesourcery.com>
19668
19669 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19670 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19671
4b1a6d8b
OB
196722013-10-15 Ondřej Bílka <neleai@seznam.cz>
19673
19674 * elf/dl-libc.c: Clear initfini list after freeing.
19675
1e145589
JM
196762013-10-14 Joseph Myers <joseph@codesourcery.com>
19677
19678 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19679 * soft-fp/addsf3.c: Likewise.
19680 * soft-fp/addtf3.c: Likewise.
19681 * soft-fp/divdf3.c: Likewise.
19682 * soft-fp/divsf3.c: Likewise.
19683 * soft-fp/divtf3.c: Likewise.
19684 * soft-fp/double.h: Likewise.
19685 * soft-fp/eqdf2.c: Likewise.
19686 * soft-fp/eqsf2.c: Likewise.
19687 * soft-fp/eqtf2.c: Likewise.
19688 * soft-fp/extenddftf2.c: Likewise.
19689 * soft-fp/extended.h: Likewise.
19690 * soft-fp/extendsfdf2.c: Likewise.
19691 * soft-fp/extendsftf2.c: Likewise.
19692 * soft-fp/extendxftf2.c: Likewise.
19693 * soft-fp/fixdfdi.c: Likewise.
19694 * soft-fp/fixdfsi.c: Likewise.
19695 * soft-fp/fixdfti.c: Likewise.
19696 * soft-fp/fixsfdi.c: Likewise.
19697 * soft-fp/fixsfsi.c: Likewise.
19698 * soft-fp/fixsfti.c: Likewise.
19699 * soft-fp/fixtfdi.c: Likewise.
19700 * soft-fp/fixtfsi.c: Likewise.
19701 * soft-fp/fixtfti.c: Likewise.
19702 * soft-fp/fixunsdfdi.c: Likewise.
19703 * soft-fp/fixunsdfsi.c: Likewise.
19704 * soft-fp/fixunsdfti.c: Likewise.
19705 * soft-fp/fixunssfdi.c: Likewise.
19706 * soft-fp/fixunssfsi.c: Likewise.
19707 * soft-fp/fixunssfti.c: Likewise.
19708 * soft-fp/fixunstfdi.c: Likewise.
19709 * soft-fp/fixunstfsi.c: Likewise.
19710 * soft-fp/fixunstfti.c: Likewise.
19711 * soft-fp/floatdidf.c: Likewise.
19712 * soft-fp/floatdisf.c: Likewise.
19713 * soft-fp/floatditf.c: Likewise.
19714 * soft-fp/floatsidf.c: Likewise.
19715 * soft-fp/floatsisf.c: Likewise.
19716 * soft-fp/floatsitf.c: Likewise.
19717 * soft-fp/floattidf.c: Likewise.
19718 * soft-fp/floattisf.c: Likewise.
19719 * soft-fp/floattitf.c: Likewise.
19720 * soft-fp/floatundidf.c: Likewise.
19721 * soft-fp/floatundisf.c: Likewise.
19722 * soft-fp/floatunsidf.c: Likewise.
19723 * soft-fp/floatunsisf.c: Likewise.
19724 * soft-fp/floatuntidf.c: Likewise.
19725 * soft-fp/floatuntisf.c: Likewise.
19726 * soft-fp/floatuntitf.c: Likewise.
19727 * soft-fp/fmadf4.c: Likewise.
19728 * soft-fp/fmasf4.c: Likewise.
19729 * soft-fp/fmatf4.c: Likewise.
19730 * soft-fp/gedf2.c: Likewise.
19731 * soft-fp/gesf2.c: Likewise.
19732 * soft-fp/getf2.c: Likewise.
19733 * soft-fp/ledf2.c: Likewise.
19734 * soft-fp/lesf2.c: Likewise.
19735 * soft-fp/letf2.c: Likewise.
19736 * soft-fp/muldf3.c: Likewise.
19737 * soft-fp/mulsf3.c: Likewise.
19738 * soft-fp/multf3.c: Likewise.
19739 * soft-fp/negdf2.c: Likewise.
19740 * soft-fp/negsf2.c: Likewise.
19741 * soft-fp/negtf2.c: Likewise.
19742 * soft-fp/op-1.h: Likewise.
19743 * soft-fp/op-2.h: Likewise.
19744 * soft-fp/op-4.h: Likewise.
19745 * soft-fp/op-8.h: Likewise.
19746 * soft-fp/op-common.h: Likewise.
19747 * soft-fp/quad.h: Likewise.
19748 * soft-fp/single.h: Likewise.
19749 * soft-fp/soft-fp.h: Likewise.
19750 * soft-fp/sqrtdf2.c: Likewise.
19751 * soft-fp/sqrtsf2.c: Likewise.
19752 * soft-fp/sqrttf2.c: Likewise.
19753 * soft-fp/subdf3.c: Likewise.
19754 * soft-fp/subsf3.c: Likewise.
19755 * soft-fp/subtf3.c: Likewise.
19756 * soft-fp/truncdfsf2.c: Likewise.
19757 * soft-fp/trunctfdf2.c: Likewise.
19758 * soft-fp/trunctfsf2.c: Likewise.
19759 * soft-fp/trunctfxf2.c: Likewise.
19760 * soft-fp/unorddf2.c: Likewise.
19761 * soft-fp/unordsf2.c: Likewise.
19762 * soft-fp/unordtf2.c: Likewise.
19763
17c48a60
OB
197642013-10-14 Ondřej Bílka <neleai@seznam.cz>
19765
19766 [BZ #15672]
19767 * misc/error.c (error_tail): Fix possible buffer overflow.
19768
cabba934
OB
197692013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19770
19771 [BZ #13028]
19772 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19773 address.
19774
94bf958a
PM
197752013-10-14 P. J. McDermott <pj@pehjota.net>
19776
19777 [BZ #832]
19778 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19779 testing pipefail option.
19780
71b4dea7
JM
197812013-10-12 Joseph Myers <joseph@codesourcery.com>
19782
19783 * soft-fp/double.h: Indent preprocessor directives inside #if.
19784 * soft-fp/extended.h: Likewise.
19785 * soft-fp/op-2.h: Likewise.
19786 * soft-fp/op-4.h: Likewise.
19787 * soft-fp/op-common.h: Likewise.
19788 * soft-fp/quad.h: Likewise.
19789 * soft-fp/single.h: Likewise.
19790 * soft-fp/soft-fp.h: Likewise.
19791
55602758
YC
197922013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19793
19794 * iconv/iconv_prog.c: Fix typos.
19795 * stdio-common/psiginfo-data.h: Likewise.
19796
9cd83302
RT
197972013-10-12 Reuben Thomas <rrt@sc3d.org>
19798
19799 [BZ #15764]
19800 * locale/setlocale.c: Fix typo.
19801
99fd9f47
JM
198022013-10-12 Joseph Myers <joseph@codesourcery.com>
19803
b7ea74f0
JM
19804 [BZ #16036]
19805 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19806 signaling NaN arguments.
19807 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19808 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19809
8a509447
JM
19810 [BZ #14910]
19811 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19812 unordered operands.
19813 * soft-fp/gesf2.c (__gesf2): Likewise.
19814 * soft-fp/getf2.c (__getf2): Likewise.
19815 * soft-fp/ledf2.c (__ledf2): Likewise.
19816 * soft-fp/lesf2.c (__lesf2): Likewise.
19817 * soft-fp/letf2.c (__letf2): Likewise.
19818
98998e9f
JM
19819 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19820 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19821 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19822 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19823 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19824 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19825 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19826 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19827 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19828 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19829 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19830 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19831 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19832 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19833 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19834 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19835 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19836 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19837 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19838 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19839 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19840 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19841 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19842 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19843 * soft-fp/floattidf.c (__floattidf): Likewise.
19844 * soft-fp/floattisf.c (__floattisf): Likewise.
19845 * soft-fp/floattitf.c (__floattitf): Likewise.
19846 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19847 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19848 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19849 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19850 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19851 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19852 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19853 * soft-fp/gesf2.c (__gesf2): Likewise.
19854 * soft-fp/getf2.c (__getf2): Likewise.
19855 * soft-fp/ledf2.c (__ledf2): Likewise.
19856 * soft-fp/lesf2.c (__lesf2): Likewise.
19857 * soft-fp/letf2.c (__letf2): Likewise.
19858
8edc4a11
JM
19859 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19860 Undefine and redefine.
19861 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19862 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19863 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19864 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19865 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19866 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19867 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19868 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19869 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19870 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19871 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19872 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19873 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19874 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19875 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19876
8399acaf
JM
19877 [BZ #16032]
19878 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19879 without decrementing exponent if mantissa >= that for the
19880 denominator, not >.
19881 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19882 denominator, not >. Decrement exponent in < case instead of
19883 incrementing in >= case.
19884 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19885 without decrementing exponent if mantissa >= that for the
19886 denominator, not >.
19887
99fd9f47
JM
19888 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19889 computing saturated result for unsigned overflow.
19890
10e1cf6b
SP
198912013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19892 Jeff Law <law@redhat.com>
19893
19894 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19895 (atan2Mp): Add systemtap probe marker.
19896 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19897 (__ieee754_log): Add systemtap probe marker.
19898 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19899 (atanMp): Add systemtap probe marker.
19900 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19901 (tanMp): Add systemtap probe marker.
19902 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19903 (__slowexp): Add systemtap probe marker.
19904 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19905 (__slowpow): Add systemtap probe marker.
19906 * manual/probes.texi: Document probes.
19907
3d110c7c
EB
199082013-10-11 Eric Biggers <ebiggers3@gmail.com>
19909
19910 [BZ #15362]
19911 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19912 written.
19913 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19914 written.
19915 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19916 written to buffer but not flushed.
19917 * libio/iofwrite_u.c: Likewise.
19918 * libio/iopadn.c: Return bytes returned even if EOF was
19919 encountered.
19920 * libio/iowpadn.c: Likewise.
19921 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19922 if _IO_padn does not write the whole buffer.
19923 [!COMPILE_WPRINTF] (PAD): Likewise.
19924
75b4202a
DM
199252013-10-10 David S. Miller <davem@davemloft.net>
19926
19927 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19928 directory block.
19929
6c6352e6
JM
199302013-10-10 Joseph Myers <joseph@codesourcery.com>
19931
33b853c3
JM
19932 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19933 instead of FSF address.
19934 * soft-fp/fixdfti.c: Likewise.
19935 * soft-fp/fixsfti.c: Likewise.
19936 * soft-fp/fixtfti.c: Likewise.
19937 * soft-fp/fixunsdfti.c: Likewise.
19938 * soft-fp/fixunssfti.c: Likewise.
19939 * soft-fp/fixunstfti.c: Likewise.
19940 * soft-fp/floattidf.c: Likewise.
19941 * soft-fp/floattisf.c: Likewise.
19942 * soft-fp/floattitf.c: Likewise.
19943 * soft-fp/floatuntidf.c: Likewise.
19944 * soft-fp/floatuntisf.c: Likewise.
19945 * soft-fp/floatuntitf.c: Likewise.
19946 * soft-fp/trunctfxf2.c: Likewise.
19947
6c6352e6
JM
19948 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19949 * soft-fp/fixdfti.c: Likewise.
19950 * soft-fp/fixsfti.c: Likewise.
19951 * soft-fp/fixtfti.c: Likewise.
19952 * soft-fp/fixunsdfti.c: Likewise.
19953 * soft-fp/fixunssfti.c: Likewise.
19954 * soft-fp/fixunstfti.c: Likewise.
19955 * soft-fp/floattidf.c: Likewise.
19956 * soft-fp/floattisf.c: Likewise.
19957 * soft-fp/floattitf.c: Likewise.
19958 * soft-fp/floatuntidf.c: Likewise.
19959 * soft-fp/floatuntisf.c: Likewise.
19960 * soft-fp/floatuntitf.c: Likewise.
19961 * soft-fp/trunctfxf2.c: Likewise.
19962
3bf78b71
DM
199632013-10-10 David S. Miller <davem@davemloft.net>
19964
19965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19966
6f10289e
JM
199672013-10-10 Joseph Myers <joseph@codsourcery.com>
19968
bd878fc0
JM
19969 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19970 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19971 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19972 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19973 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19974 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19975 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19976
6f10289e
JM
19977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19978 for NaNs before doing comparisons on argument.
19979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19980 Likewise.
19981
321e2684
WN
199822013-10-10 Will Newton <will.newton@linaro.org>
19983
19984 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19985 passed to _int_memalign does not overflow.
19986
40fefba1
TR
199872013-10-10 Torvald Riegel <triegel@redhat.com>
19988
19989 * scripts/bench.pl: Add include-sources directive.
19990 * benchtests/README: Update documentation.
19991
2ae21ed2
JM
199922013-10-10 Joseph Myers <joseph@codesourcery.com>
19993
dcc2dd3f
JM
19994 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19995 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19996 instead of FP_INIT_ROUNDMODE.
19997 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19998 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19999
2ae21ed2
JM
20000 [BZ #16034]
20001 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20002 copy class of input value.
20003 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20004 not handle exceptions.
20005 * soft-fp/negsf2.c (__negsf2): Likewise.
20006 * soft-fp/negtf2.c (__negtf2): Likewise.
20007 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20008
cb8f9562
JM
200092013-10-09 Joseph Myers <joseph@codesourcery.com>
20010
20011 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20012 semicolon. From Linux kernel.
20013
5b60c59d
AB
200142013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20015
20016 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20017
b86835ca
YC
200182013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20019
20020 [BZ #156]
20021 * manual/socket.texi: Added statement about buffer
20022 for gethostbyname2_r.
20023
e7044ea7
OB
200242013-10-08 Ondřej Bílka <neleai@seznam.cz>
20025
20026 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20027 Use .p2align directive instead, throughout.
20028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20029 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20030 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20033 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20034 * sysdeps/x86_64/strchr.S: Likewise.
20035 * sysdeps/x86_64/strrchr.S: Likewise.
20036
09544cbc
SP
200372013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20038
88576635
SP
20039 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20040
e7b2d1dd
SP
20041 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20042
09544cbc
SP
20043 * sysdeps/generic/math_private.h (__mpsin1): Remove
20044 declaration.
20045 (__mpcos1): Likewise.
20046 (__mpsin): New argument __range_reduce.
20047 (__mpcos): Likewise.
20048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20049 (slow): Use __mpsin and __mpcos.
20050 (slow1): Likewise.
20051 (slow2): Likewise.
20052 (sloww): Likewise.
20053 (sloww1): Likewise.
20054 (sloww2): Likewise.
20055 (bsloww): Likewise.
20056 (bsloww1): Likewise.
20057 (bsloww2): Likewise.
20058 (cslow2): Likewise.
20059 (csloww): Likewise.
20060 (csloww1): Likewise.
20061 (csloww2): Likewise.
20062 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20063 range_reduce. Merge in __mpsin1.
20064 (__mpcos): Likewise.
20065 (__mpsin1): Remove.
20066 (__mpcos1): Likewise.
20067
7602d070
JM
200682013-10-07 Joseph Myers <joseph@codesourcery.com>
20069
20070 * locale/loadlocale.c (_nl_intern_locale_data): Use
20071 LOCFILE_ALIGNED_P.
20072 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20073 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20074 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20075 obstack data is appropriately aligned.
20076 (obstack_int32_grow_fast): Likewise.
20077 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20078 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20079 (add_locale_uint32_array): Likewise.
20080
a357259b
SP
200812013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20082
20083 * benchtests/Makefile: Remove ARGLIST and RET variables.
20084 ($(objpfx)bench-%.c): Pass only function name to the script.
20085 * benchtests/README: Update documentation.
20086 * benchtests/acos-inputs: Add new directives.
20087 * benchtests/acosh-inputs: Likewise.
20088 * benchtests/asin-inputs: Likewise.
20089 * benchtests/asinh-inputs: Likewise.
20090 * benchtests/atan-inputs: Likewise.
20091 * benchtests/atanh-inputs: Likewise.
20092 * benchtests/cos-inputs: Likewise.
20093 * benchtests/cosh-inputs: Likewise.
20094 * benchtests/exp-inputs: Likewise.
20095 * benchtests/log-inputs: Likewise.
20096 * benchtests/pow-inputs: Likewise.
20097 * benchtests/rint-inputs: Likewise.
20098 * benchtests/sin-inputs: Likewise.
20099 * benchtests/sinh-inputs: Likewise.
20100 * benchtests/tan-inputs: Likewise.
20101 * benchtests/tanh-inputs: Likewise.
20102 * scripts/bench.pl: Add support for new directives.
20103
9ec1b13d
AM
201042013-10-07 Alan Modra <amodra@gmail.com>
20105
20106 * README: Fix careless merge.
20107
8b7d57cd
AM
201082013-10-05 Alan Modra <amodra@gmail.com>
20109
20110 * NEWS: Mention powerpc64le support and bugs fixed.
20111 * README: Both big-endian and little-endian powerpc64 supported.
20112
7b7bab13
ST
201132013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20114
57f41c40
AS
20115 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20116 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
20117 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20118 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20119
d39baad1
RA
201202013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20121
20122 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20123 match prototype.
20124
cd78f7e7
JM
201252013-10-04 Joseph Myers <joseph@codesourcery.com>
20126
29d73d86
JM
20127 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20128 Move -mhard-float appending from
20129 ports/sysdeps/powerpc/powerpc32/Makefile.
20130 [$(with-fp) = yes] (ASFLAGS): Likewise.
20131 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20132 * sysdeps/powerpc/nofpu: Move directory from
20133 ports/sysdeps/powerpc/nofpu.
20134 * sysdeps/powerpc/soft-fp: Move directory from
20135 ports/sysdeps/powerpc/soft-fp.
20136 * sysdeps/powerpc/powerpc32/405: Move directory from
20137 ports/sysdeps/powerpc/powerpc32/405.
20138 * sysdeps/powerpc/powerpc32/440: Move directory from
20139 ports/sysdeps/powerpc/powerpc32/440.
20140 * sysdeps/powerpc/powerpc32/464: Move directory from
20141 ports/sysdeps/powerpc/powerpc32/464.
20142 * sysdeps/powerpc/powerpc32/476: Move directory from
20143 ports/sysdeps/powerpc/powerpc32/476.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20147 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20149 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20151 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20153 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20154 * README: Update for powerpc-*-linux-gnu software floating point
20155 support in libc.
20156
e246b347
JM
20157 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20158 case to powerpc/powerpc32*.
20159 * sysdeps/unix/sysv/linux/configure: Regenerated.
20160
89c2003e
JM
20161 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20162 (_FPU_MASK_OM): Define as 0x04.
20163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20165 0x00c10080.
20166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20167 0x0000003c.
20168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20169
cd78f7e7
JM
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20171 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20172 getcontext_e500.
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20174 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20175 setcontext_e500.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20177 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20178 and setcontext_e500.
20179
c755294d
CL
201802013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20181
20182 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20183
e16d221c
SP
201842013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20185
20186 * manual/threads.texi (Default Thread Attributes): Fix typo.
20187
215c7d43
WN
201882013-10-04 Will Newton <will.newton@linaro.org>
20189
20190 * malloc/Makefile: Add tst-memalign.
20191 * malloc/tst-memalign.c: New file.
20192
27d0461b
WN
20193 * malloc/tst-posix_memalign.c: Add comments.
20194 (do_test): Add comments and call free on all potentially
20195 allocated pointers. Add space after cast.
20196
1bc92709
WN
20197 * malloc/tst-pvalloc.c: Add comments.
20198 (do_test): Add comments and call free on all potentially
20199 allocated pointers. Remove duplicate check for NULL pointer.
20200 Add space after cast.
20201
66a9be9d
WN
20202 * malloc/tst-valloc.c: Add comments.
20203 (do_test): Add comments and call free on all potentially
20204 allocated pointers. Remove duplicate check for NULL pointer.
20205 Add space after cast.
20206
4cb81307
AM
202072013-10-04 Alan Modra <amodra@gmail.com>
20208
20209 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20210 Use stdint types in rather than __attribute__((mode())).
20211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20212
f8e3e9f3
AM
202132013-10-04 Alan Modra <amodra@gmail.com>
20214
20215 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20216 Correct handling of unaligned relocs for little-endian.
20217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20218
8f9ebb08
AM
202192013-10-04 Alan Modra <amodra@gmail.com>
20220
20221 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20222 * configure: Regenerate.
20223 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20224 * shlib-versions: Likewise.
20225
0edf96c2
AM
202262013-10-04 Alan Modra <amodra@gmail.com>
20227
20228 * string/tester.c (test_memrchr): Increment reported test cycle.
20229
e0f7a380
AM
202302013-10-04 Alan Modra <amodra@gmail.com>
20231
20232 * string/test-memcpy.c (do_one_test): When reporting errors, print
20233 string address and don't overrun end of string.
20234
466b0393
AM
202352013-10-04 Alan Modra <amodra@gmail.com>
20236
20237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20238 insrdi. Make better use of reg selection to speed exit slightly.
20239 Schedule entry path a little better. Remove useless "are we done"
20240 checks on entry to main loop. Handle wrapping around zero address.
20241 Correct main loop count. Handle single left-over word from main
20242 loop inline rather than by using loop_small. Remove extra word
20243 case in loop_small caused by wrong loop count. Add little-endian
20244 support.
20245 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20247 cache hint.
20248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20249 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20250 support. Avoid rlwimi.
20251 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20252
3be87c77
AM
202532013-10-04 Alan Modra <amodra@gmail.com>
20254
20255 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20256 insrdi. Formatting.
3be87c77
AM
20257 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20258 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20259 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20260 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20261 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20262 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20263
759cfef3
AM
202642013-10-04 Alan Modra <amodra@gmail.com>
20265
20266 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20270 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20273 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20274 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20275 use of regs. Use power7 mtocrf. Tidy function tails.
20276
fe6e95d7
AM
202772013-10-04 Alan Modra <amodra@gmail.com>
20278
20279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20280 Formatting. Consistently use rXXX register defines or rN defines.
20281 Use early exit labels that avoid restoring unused non-volatile regs.
20282 Make cr field use more consistent with rWORDn compares. Rename
20283 regs used as shift registers for unaligned loop, using rN defines
20284 for short lifetime/multiple use regs.
20285 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20286 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20287 addi 1,1,64 to pop stack frame. Simplify return value code.
20288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20289
664318c3
AM
202902013-10-04 Alan Modra <amodra@gmail.com>
20291
20292 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20293 support. Correct typos, formatting. Optimize tail. Use insrdi
20294 rather than rlwimi.
20295 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20296 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20297 little-endian support. Correct typos.
20298 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20299 rather than rlwimi.
20300 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20301 in loop and entry code to keep "and." results.
20302 (strchr): Add little-endian support. Comment. Move cntlzd
20303 earlier in tail.
20304 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20305
43b84013
AM
203062013-10-04 Alan Modra <amodra@gmail.com>
20307
20308 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20309 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20310 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20311 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20312
8a7413f9
AM
203132013-10-04 Alan Modra <amodra@gmail.com>
20314
20315 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20316 (rTMP): Define as r11.
20317 (strcmp): Add little-endian support. Optimise tail.
20318 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20319 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20320 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20321 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20322 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20325
33ee81de
AM
203262013-10-04 Alan Modra <amodra@gmail.com>
20327
20328 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20329 little-endian support. Remove unnecessary "are we done" tests.
20330 Handle "s" wrapping around zero and extremely large "size".
20331 Correct main loop count. Handle single left-over word from main
20332 loop inline rather than by using small_loop. Correct comments.
20333 Delete "zero" tail, use "end_max" instead.
20334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20335
db9b4570
AM
203362013-10-04 Alan Modra <amodra@gmail.com>
20337
20338 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20339 support. Don't branch over align.
20340 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20341 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20342 support. Rearrange tmp reg use to suit. Comment.
20343 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20344
f7c399cf
AM
203452013-10-04 Alan Modra <amodra@gmail.com>
20346
20347 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20348
0b2c2ace
AM
203492013-10-04 Alan Modra <amodra@gmail.com>
20350
20351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20352 conditional form of branch and link when obtaining pc.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20354
02f04a6c
AM
203552013-10-04 Alan Modra <amodra@gmail.com>
20356
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20358 HIWORD/LOWORD.
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20361
9b874b2f
AM
203622013-10-04 Alan Modra <amodra@gmail.com>
20363
20364 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20365 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20366 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20367 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20368 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20369 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20370 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20371 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20372 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20373 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20374
be1e5d31
AB
203752013-10-04 Anton Blanchard <anton@au1.ibm.com>
20376 Alistair Popple <alistair@ozlabs.au.ibm.com>
20377 Alan Modra <amodra@gmail.com>
20378
20379 [BZ #15723]
20380 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20382 _dl_hwcap access for little-endian.
20383 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20384 destroy vmx regs when saving unaligned.
20385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20387 destroy vmx regs when saving unaligned.
20388
fef13a78
AM
203892013-10-04 Alan Modra <amodra@gmail.com>
20390
20391 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20392 Don't use a union to pack hi/low value.
20393
76a66d51
AB
203942013-10-04 Anton Blanchard <anton@au1.ibm.com>
20395
20396 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20397 for little-endian.
20398 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20400 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20401 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20402 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20403
6a31fe7f
AM
204042013-10-04 Alan Modra <amodra@gmail.com>
20405
20406 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20407 constants to usual value for .cst8 section, and remove redundant
20408 high address load.
20409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20410 constant for 0x1p52. Load little-endian words of double from
20411 correct stack offsets.
20412
7b88401f
AM
204132013-10-04 Alan Modra <amodra@gmail.com>
20414
20415 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20416 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20417 words of double from correct stack offsets.
20418 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20419 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20423 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20424 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20425 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20426 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20428 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20429 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20430 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20431 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20432 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20433 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20434 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20435
9c008155
AM
204362013-10-04 Alan Modra <amodra@gmail.com>
20437
20438 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20439 64-bit int/double union.
20440 (_FPU_SETCW): Likewise.
20441 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20442 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20443
da13146d
AM
204442013-10-04 Alan Modra <amodra@gmail.com>
20445
20446 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20447 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20448
603e8410
AM
204492013-10-04 Alan Modra <amodra@gmail.com>
20450
20451 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20452 use vector int constants.
20453 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20454
4a28b3ca
AB
204552013-10-04 Anton Blanchard <anton@au1.ibm.com>
20456
20457 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20458 array with long long.
20459 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20460 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20461 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20462 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20463 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20464 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20465 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20466 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20467 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20468 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20469 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20470 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20471 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20472
2ca85d2b
AB
204732013-10-04 Anton Blanchard <anton@au1.ibm.com>
20474
20475 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20476 (__signbit): Likewise. Correct for little-endian.
20477 (__signbitl): Call __signbit.
20478 (lrint): Correct for little-endian.
20479 (lrintf): Call lrint.
20480
62a728ae
AM
204812013-10-04 Alan Modra <amodra@gmail.com>
20482
20483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20484 union 32-bit int array member with 64-bit int array.
20485 (t515, tm256): Double rather than long double.
20486 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20487
32c301df
AM
204882013-10-04 Alan Modra <amodra@gmail.com>
20489
20490 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20491 Delete.
20492 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20494 version of math_ldbl.h.
20495
650ef4bd
AM
204962013-10-04 Alan Modra <amodra@gmail.com>
20497
20498 [BZ #15734], [BZ #15735]
20499 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20500 all uses of ieee875 long double macros and unions. Simplify test
20501 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20502 ldbl_extract_mantissa value for ix,iy exponents. Properly
20503 normalize after ldbl_extract_mantissa, and don't add hidden bit
20504 already handled. Don't treat low word of ieee854 mantissa like
20505 low word of IBM long double and mask off bit when testing for
20506 zero.
20507 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20508 all uses of ieee875 long double macros and unions. Simplify tests
20509 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20510 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20511 two1022, instead use their values. Recognise that tests for large
20512 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20514 Rewrite all uses of ieee875 long double macros and unions. Simplify
20515 test for 0.0L and nan. Correct negation.
20516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20517 ieee875 long double macros and unions. Correct output for large
20518 magnitude x. Correct absolute value calculation.
20519 (__erfcl): Likewise.
20520 * math/libm-test.inc: Add tests for errors discovered in IBM long
20521 double versions of fmodl, remainderl, erfl and erfcl.
20522
765714ca
AM
205232013-10-04 Alan Modra <amodra@gmail.com>
20524
20525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20526 all uses of ieee854 long double macros and unions. Simplify tests
20527 for long doubles that are fully specified by the high double.
20528 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20529 Likewise.
20530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20531 Remove dead code too.
20532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20533 (__ieee754_ynl): Likewise.
20534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20537 Remove dead code too.
20538 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20539 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20541 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20542 Simplify.
20543 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20544 Simplify.
20545 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20547 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20548 Comment on variable precision.
20549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20551 Likewise.
20552 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20553 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20554 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20555 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20556 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20557
4ebd120c
AM
205582013-10-04 Alan Modra <amodra@gmail.com>
20559
20560 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20561 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20562 all uses of ieee854 long double macros and unions.
20563 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20564 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20565 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20566 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20567 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20568 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20569 Likewise.
20570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20576 Simplify sign and nan test too.
20577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20581 Likewise.
20582 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20583 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20584 Likewise.
20585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20586 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20587 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20589 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20591
1b6adf88
AM
205922013-10-04 Alan Modra <amodra@gmail.com>
20593
20594 * stdio-common/printf_size.c (__printf_size): Don't use
20595 union ieee854_long_double in fpnum union.
20596 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20597 signbit macro to retrieve sign from long double.
20598 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20599 retrieve sign from long double.
20600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20601 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20603 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20604 * math/test-misc.c (main): Don't use union ieee854_long_double.
20605
4cf69995
AM
206062013-10-04 Alan Modra <amodra@gmail.com>
20607
20608 [BZ #15680]
20609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20610 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20611 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20612 calculation. Remove unnecessary test for denormal exponent.
20613 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20614 Correct handling of denormals. Avoid undefined shift behaviour.
20615 Correct normalisation of low mantissa when low double is denormal.
20616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20617 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20618 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20619 Correct normalisation of low mantissa. Test for overflow of high
20620 mantissa and normalise.
20621 (ldbl_nearbyint): Use more readable constant for two52.
20622 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20623 (__mpn_construct_long_double): Fix test for overflow of high
20624 mantissa and correct normalisation. Avoid undefined shift.
20625
9605ca6c
AM
206262013-10-04 Alan Modra <amodra@gmail.com>
20627
20628 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20629 (union ibm_extended_long_double): Define as an array of ieee754_double.
20630 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20631 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20632 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20633 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20635 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20637 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20638 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20639 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20640 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20641
975569d0
JM
206422013-10-03 Joseph Myers <joseph@codesourcery.com>
20643
d3d23756
JM
20644 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20645 page size instead of calling getpagesize.
20646
975569d0
JM
20647 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20648 (LOCFILE_ALIGN_MASK): Likewise.
20649 (LOCFILE_ALIGN_UP): Likewise.
20650 (LOCFILE_ALIGNED_P): Likewise.
20651 * locale/programs/ld-collate.c (collate_output): Use the new
20652 macros instead of __alignof__ (int32_t).
20653 * locale/weight.h (findidx): Likewise.
20654
b1fe1f2b
OB
206552013-10-03 Ondřej Bílka <neleai@seznam.cz>
20656
20657 [BZ #431]
20658 * manual/string.texi: Fix strncat and wcsncat.
20659
5f855e35
BM
206602013-10-03 Brooks Moses <bmoses@google.com>
20661
20662 [BZ #15915]
20663 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20664 * Makerules: ...here, and adjust associated comments.
20665
3cef6009
WN
206662013-10-02 Will Newton <will.newton@linaro.org>
20667
20668 * malloc/Makefile: Add tst-pvalloc.
20669 * malloc/tst-pvalloc.c: New file.
20670
7815420b
WN
206712013-10-02 Will Newton <will.newton@linaro.org>
20672
20673 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20674 improve test coverage.
20675
4868b204
WN
206762013-10-02 Will Newton <will.newton@linaro.org>
20677
20678 * malloc/Makefile: Add tst-posix_memalign.
20679 * malloc/tst-posix_memalign.c: New file.
20680
29c793b3
EB
206812013-10-01 Eric Blake <eblake@redhat.com>
20682
20683 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20684 Use __THROWNL rather than __THROW on static functions.
20685
fd967522
PM
206862013-09-30 Petr Machata <pmachata@redhat.com>
20687
20688 * elf/elf.h (R_AARCH64_ABS16): New macro.
20689 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20690 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20691 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20692 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20693 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20694 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20695 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20696 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20697 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20698 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20699 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20700 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20701 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20702 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20703 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20704 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20705 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20706 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20707 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20708 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20709 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20710 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20711 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20712 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20713 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20714 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20715 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20716 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20717 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20718 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20719 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20720 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20721 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20722 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20723 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20724 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20725 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20726 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20727 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20728 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20729 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20730 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20731 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20732 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20733 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20734 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20735 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20736 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20737 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20738 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20739 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20740 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20741 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20742 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20743 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20744 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20745 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20746 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20747 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20748 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20749 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20750 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20751 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20752 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20753 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20754 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20755 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20756 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20757 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20758 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20759 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20760 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20761 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20762 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20763 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20764 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20765 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20766 (R_AARCH64_TLSDESC_LDR): Likewise.
20767 (R_AARCH64_TLSDESC_ADD): Likewise.
20768 (R_AARCH64_TLSDESC_CALL): Likewise.
20769
b2179107
AS
207702013-09-30 Andreas Schwab <schwab@suse.de>
20771
20772 [BZ #15048]
20773 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20774 the nss database lookup.
20775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20777
47f28d0a
MF
207782013-09-28 Mike Frysinger <vapier@gentoo.org>
20779
20780 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20781
207822013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20783
20784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20785 ${Bash-specific parameter/pattern/string} parameter expansion.
20786 * sysdeps/unix/make-syscalls.sh: Likewise.
20787
f4518a17
KK
207882013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20789
20790 * sysdeps/sh/stackguard-macros.h: New file.
20791
dc1a95c7
OB
207922013-09-26 Ondřej Bílka <neleai@seznam.cz>
20793
20794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20796 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20799 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20800
5ebbff8f
AZ
208012013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20802
20803 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20804 Fix thread ID register.
20805
4fd2cf9f
JM
208062013-09-25 Joseph Myers <joseph@codesourcery.com>
20807
20808 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20809 [POSIX || UNIX98]: Require rather than permitting all symbols from
20810 <time.h>.
20811 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20812 element of struct sched_param.
20813 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20814 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20815 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20816 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20817 constant.
20818
12c22bc4
OL
208192013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20820
20821 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20822 argument calculation.
20823
a03d8ea7
JM
208242013-09-24 Joseph Myers <joseph@codesourcery.com>
20825
20826 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20827 Expect macro.
20828 [POSIX] (pthread_attr_t): Do not require type.
20829 [POSIX] (pthread_cond_t): Likewise.
20830 [POSIX] (pthread_condattr_t): Likewise.
20831 [POSIX] (pthread_key_t): Likewise.
20832 [POSIX] (pthread_mutex_t): Likewise.
20833 [POSIX] (pthread_mutexattr_t): Likewise.
20834 [POSIX] (pthread_once_t): Likewise.
20835 [POSIX] (pthread_t): Likewise.
20836 [POSIX-based standards] (pthread_atfork): Expect function.
20837
6055173a
JM
208382013-09-24 Joseph Myers <joseph@codesourcery.com>
20839 Richard Sandiford <richard@codesourcery.com>
20840
20841 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20842 (swap_endianness_p): New extern variable.
20843 (set_big_endian): New inline function.
20844 (maybe_swap_uint32): Likewise.
20845 (maybe_swap_uint32_array): Likewise.
20846 (maybe_swap_uint32_obstack): Likewise.
20847 * locale/programs/locfile.c: Include <stdbool.h>.
20848 (swap_endianness_p): New variable.
20849 (add_locale_uint32): Call maybe_swap_uint32.
20850 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20851 (write_locale_data): Call maybe_swap_uint32_array.
20852 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20853 maybe_swap_uint32.
20854 (obstack_int32_grow_fast): Likewise.
20855 (output_weightwc): Call maybe_swap_uint32_obstack.
20856 (collate_output): Likewise.
20857 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20858 (OPT_LITTLE_ENDIAN): Likewise.
20859 (options): Add --little-endian and --big-endian options.
20860 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20861 * locale/programs/locarchive.c: Include "locfile.h".
20862 (GET): New macro.
20863 (SET): Likewise.
20864 (INC): Likewise.
20865 (create_archive): Use the new macros to access fields of
20866 structures directly mapped from or written to locale archives.
20867 (oldlocrecentcmp): Likewise.
20868 (enlarge_archive): Likewise.
20869 (insert_name): Likewise.
20870 (add_alias): Likewise.
20871 (add_locale): Likewise.
20872 (delete_locales_from_archive): Likewise.
20873 (show_archive_content): Likewise.
20874 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20875 locale data.
20876
39bf0bb4
RM
208772013-09-24 Roland McGrath <roland@hack.frob.com>
20878
20879 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20880 http://www.gnu.org/doc/freemanuals.texi.
20881 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20882
f02eed10
WN
208832013-09-24 Will Newton <will.newton@linaro.org>
20884
20885 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20886 macro.
20887
a3a6c312
JM
208882013-09-23 Joseph Myers <joseph@codesourcery.com>
20889
20890 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20891 unsigned char.
20892
107375ac
MR
208932013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20894
20895 * manual/threads.texi (POSIX Threads): Fix a typo.
20896
141f3a77
SP
208972013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20898
303e567a
SP
20899 [BZ #14547]
20900 * string/tst-strcoll-overflow.c: New test case.
20901 * string/Makefile (xtests): Add tst-strcoll-overflow.
20902 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20903 cache if string sizes may cause integer overflow.
20904
141f3a77
SP
20905 [BZ #14547]
20906 * string/strcoll_l.c (coll_seq): New members rule, idx,
20907 save_idx and back_us.
20908 (get_next_seq_nocache): New function.
20909 (do_compare_nocache): New function.
20910 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20911 when malloc fails.
20912
c61b4d41
CD
209132013-09-23 Carlos O'Donell <carlos@redhat.com>
20914
0b1f8e35
CD
20915 [BZ #15754]
20916 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20917 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20918 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20919
c61b4d41
CD
20920 [BZ #15754]
20921 * elf/Makefile (tests): Add tst-ptrguard1.
20922 (tests-static): Add tst-ptrguard1-static.
20923 (tst-ptrguard1-ARGS): Define.
20924 (tst-ptrguard1-static-ARGS): Define.
20925 * elf/tst-ptrguard1.c: New file.
20926 * elf/tst-ptrguard1-static.c: New file.
20927 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20928 * sysdeps/i386/stackguard-macros.h: Likewise.
20929 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20930 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20931 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20932 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20933 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20934 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20935
209362013-09-23 Hector Marco <hecmargi@upv.es>
20937 Ismael Ripoll <iripoll@disca.upv.es>
20938 Carlos O'Donell <carlos@redhat.com>
20939
20940 [BZ #15754]
20941 * sysdeps/generic/stackguard-macros.h: Define
20942 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20943 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20944 Define __pointer_chk_guard_local.
20945 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20946 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20947
f5f4e7b4
VV
209482013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20949
20950 [BZ #15859]
20951 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20952
5bb43a43
AS
209532013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20954
20955 * include/string.h (__ffs): Declare as hidden.
20956 * string/ffs.c (__ffs): Define as hidden.
20957 * sysdeps/i386/ffs.c (__ffs): Likewise.
20958 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20959 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20960 * sysdeps/s390/ffs.c (__ffs): Likewise.
20961 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20962
3ea5be54
AO
209632013-09-20 Alexandre Oliva <aoliva@redhat.com>
20964
ffb89e53
AO
20965 * NEWS: Mention malloc probes.
20966
322dea08
AO
20967 * malloc/arena.c (new_heap): New memory_heap_new probe.
20968 (grow_heap): New memory_heap_more probe.
20969 (shrink_heap): New memory_heap_less probe.
20970 (heap_trim): New memory_heap_free probe.
20971 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20972 (systrim): New memory_sbrk_less probe.
20973 * manual/probes.texi: Document them.
20974
655673f3
AO
20975 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20976 * manual/probes.texi: Document it.
20977
35fed6f1
AO
20978 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20979 (__libc_realloc): Add memory_realloc_retry probe.
20980 (__libc_memalign): Add memory_memalign_retry probe.
20981 (__libc_valloc): Add memory_valloc_retry probe.
20982 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20983 (__libc_calloc): Add memory_calloc_retry probe.
20984 * manual/probes.texi: Document them.
20985
6999d38c
AO
20986 * malloc/arena.c (get_free_list): Add probe
20987 memory_arena_reuse_free_list.
20988 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20989 and memory_arena_reuse.
20990 (arena_get2) [!PER_THREAD]: Likewise.
20991 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20992 memory_arena_reuse_realloc.
20993 * manual/probes.texi: Document them.
20994
0653427f
AO
20995 * malloc/malloc.c (__libc_free): Add
20996 memory_mallopt_free_dyn_thresholds probe.
20997 (__libc_mallopt): Add multiple memory_mallopt probes.
20998 * manual/probes.texi: Document them.
20999
3ea5be54
AO
21000 * malloc/malloc.c: Include stap-probe.h.
21001 (__libc_mallopt): Add memory_mallopt probe.
21002 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21003 * manual/probes.texi: New.
21004 * manual/Makefile (chapters): Add probes.
21005 * manual/threads.texi: Set next node.
21006
e35696c3 210072013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 21008
e35696c3
CL
21009 [BZ #15963, #13985]
21010 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21011 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21012 Add `Chinese' to `nan' entry name.
21013
4aafb73c
SP
210142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21015
21016 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21017 (POLYNOMIAL): Likewise.
21018 (TAYLOR_SINCOS): Likewise.
21019 (TAYLOR_SLOW): Likewise.
21020 (__sin): Use TAYLOR_SINCOS.
21021 (__cos): Likewise.
21022 (slow): Use TAYLOR_SLOW.
21023 (sloww): Likewise.
21024 (bsloww): Likewise.
21025 (csloww): Likewise.
21026
d84f25c7
LD
210272013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21028
21029 * stdlib/strtod_l.c: Fix buffer overrun.
21030
5eea0404
SP
210312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21032
7849ff93
SP
21033 * benchtests/Makefile (bench): Add sincos.
21034 * benchtests/bench-sincos.c: New file.
21035
cfa3c886
SP
21036 * math/libm-test.inc (cos_test_data): New test inputs.
21037 (sin_test_data): Likewise.
21038
b348e1e3
SP
21039 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21040 macro.
21041 (__sin): Use it.
21042 (__cos): Likewise.
21043 (slow1): Likewise.
21044 (slow2): Likewise.
21045 (sloww1): Likewise.
21046 (sloww2): Likewise.
21047 (bsloww1): Likewise.
21048 (bsloww2): Likewise.
21049 (cslow2): Likewise.
21050 (csloww1): Likewise.
21051 (csloww2): Likewise.
21052
6cce25f8
SP
21053 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21054 function.
21055 (__sin): Use it.
21056 (__cos): Likewise.
21057
5eea0404
SP
21058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21059 gotos.
21060 (__cos): Likewise.
21061
9c21573c
MR
210622013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21063
21064 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21065 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21066 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21067 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21068 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21069 * elf/cache.c (print_entry): Handle the new cache flags.
21070
24d22e65
JM
210712013-09-18 Joseph Myers <joseph@codesourcery.com>
21072 Aldy Hernandez <aldyh@redhat.com>
21073
21074 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21075 Change condition to [_SOFT_FLOAT].
21076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21088 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21091 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21092 declaration.
21093
d13ef066
JM
210942013-09-18 Joseph Myers <joseph@codesourcery.com>
21095
2e071de0
JM
21096 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21097 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21098 (__longjmp): Use LOAD_GP to load saved GPRs.
21099 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21100 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21101 (__sigsetjmp): Use SAVE_GP to save GPRs.
21102
d13ef066
JM
21103 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21104 Do not append -msoft-float.
21105 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21106
97a0650b
SP
211072013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21108
21109 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21110
11ca09e9
JM
211112013-09-17 Joseph Myers <joseph@codesourcery.com>
21112
21113 [BZ #15966]
21114 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21115 (_FPU_GETCW): Use initial "__" on variable and field names but not
21116 on macro parameter name.
21117 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21118 parentheses around reference to macro parameter.
21119
08ffcf34
RS
211202013-09-13 Richard Sandiford <richard@codesourcery.com>
21121
21122 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21123 prototype.
21124 (ctype_startup): Use uint32_t in cast and sizeof for
21125 ctype->charnames.
21126
ae7080d3
JL
211272013-09-11 Jia Liu <proljc@gmail.com>
21128
21129 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21130 __daddr_t_defined.
21131 [__FreeBSD__]: Likewise.
21132
5905e7b3
OB
211332013-09-11 Ondřej Bílka <neleai@seznam.cz>
21134
21135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21136 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21137 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21138 (strchr): Remove __strchr_sse42 ifunc selection.
21139 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21140 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21141
b987c776
WN
211422013-09-11 Will Newton <will.newton@linaro.org>
21143
21144 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21145 parameter to RES. Remove hardcoded 1000 value.
21146 * benchtests/bench-skeleton.c (main): Pass RES parameter
21147 to TIMING_INIT and multiply result by 1000.
21148
ddf985af
AZ
211492013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21150
21151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21152
ffdd3181
AS
211532013-09-11 Andreas Schwab <schwab@suse.de>
21154
21155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21156 if not defined.
21157 (O_TMPFILE) [__USE_GNU]: Define.
21158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21159 Define.
21160
b73ed247
WN
211612013-09-11 Will Newton <will.newton@linaro.org>
21162
21163 [BZ #15857]
21164 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21165 does not overflow.
21166
55e17aad
WN
211672013-09-11 Will Newton <will.newton@linaro.org>
21168
21169 [BZ #15856]
21170 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21171 does not overflow.
21172
1159a193
WN
211732013-09-11 Will Newton <will.newton@linaro.org>
21174
21175 [BZ #15855]
21176 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21177 does not overflow.
21178
5905e7b3 211792013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21180
21181 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21186
cdfc721b
AM
211872013-09-10 Allan McRae <allan@archlinux.org>
21188
aa04af00
AM
21189 [BZ #15748]
21190 * manual/arith.texi (Parsing of Floats): Clarify
21191 cross-reference.
21192
cdfc721b
AM
21193 [BZ #15849]
21194 * manual/install.texi (Running make install): Mention
21195 --enable-pt-chown.
21196 * INSTALL: Regenerated.
21197
95e7cf29
MR
211982013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21199
21200 * csu/init-first.c (_init): Remove the !SHARED condition around
21201 FPU control word initialization.
21202 * elf/dl-support.c (_dl_fpu_control): New variable.
21203 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21204 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21205 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21206 * math/test-fpucw-static.c: New file.
21207 * math/test-fpucw-ieee.c: New file.
21208 * math/test-fpucw-ieee-static.c: New file.
21209 * math/Makefile (tests): Add `test-fpucw-ieee' and
21210 `$(tests-static)'.
21211 (tests-static): New variable.
21212 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21213 dependency to...
21214 [($(build-shared),yes)]
21215 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21216 ... this.
21217 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21218 New dependency.
21219
83e43bf0
AM
212202013-09-09 Allan McRae <allan@archlinux.org>
21221
a9f5ce09
AM
21222 [BZ #15939]
21223 * manual/string.texi (Collation Functions): Fix typo in
21224 strcoll example.
21225 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21226
34829bc2
AM
21227 [BZ #15893]
21228 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21229
3932737d
AM
21230 [BZ #15892]
21231 * libio/memstream.c (open_memstream): Fix memory leak.
21232 * libio/wmemstream.c (open_wmemstream): Likewise.
21233
83e43bf0
AM
21234 [BZ #15895]
21235 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21236
0c66b8e9
WN
212372013-09-09 Will Newton <will.newton@linaro.org>
21238
21239 * malloc/Makefile: Add tst-realloc to tests.
21240 * malloc/tst-realloc.c: New file.
21241
f6b00fd1
AM
212422013-09-09 Allan McRae <allan@archlinux.org>
21243
21244 [BZ #15844]
21245 * COPYING: Update from GNU website to fix FSF address.
21246 * COPYING.LIB: Likewise.
21247
eec55e16
DM
212482013-09-06 David S. Miller <davem@davemloft.net>
21249
21250 * po/zh_TW.po: Update Chinese (traditional) translation from
21251 translation project.
21252
1ecbb381
RS
212532013-09-06 Richard Sandiford <richard@codesourcery.com>
21254 Joseph Myers <joseph@codesourcery.com>
21255
21256 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21257 "localeinfo.h".
21258 (obstack_chunk_alloc): New macro.
21259 (obstack_chunk_free): Likewise.
21260 (record_offset): New function.
21261 (init_locale_data): Likewise.
21262 (align_locale_data): Likewise.
21263 (add_locale_empty): Likewise.
21264 (add_locale_raw_data): Likewise.
21265 (add_locale_raw_obstack): Likewise.
21266 (add_locale_string): Likewise.
21267 (add_locale_wstring): Likewise.
21268 (add_locale_uint32): Likewise.
21269 (add_locale_uint32_array): Likewise.
21270 (add_locale_char): Likewise.
21271 (start_locale_structure): Likewise.
21272 (end_locale_structure): Likewise.
21273 (start_locale_prelude): Likewise.
21274 (end_locale_prelude): Likewise.
21275 (write_locale_data): Take locale_file structure rather than an
21276 iovec.
21277 * locale/programs/locfile.h: Include "obstack.h".
21278 (struct locale_file): Change to store locale file contents instead
21279 of header.
21280 (init_locale_data): New prototype.
21281 (align_locale_data): Likewise.
21282 (add_locale_empty): Likewise.
21283 (add_locale_raw_data): Likewise.
21284 (add_locale_raw_obstack): Likewise.
21285 (add_locale_string): Likewise.
21286 (add_locale_wstring): Likewise.
21287 (add_locale_uint32): Likewise.
21288 (add_locale_uint32_array): Likewise.
21289 (add_locale_char): Likewise.
21290 (start_locale_structure): Likewise.
21291 (end_locale_structure): Likewise.
21292 (start_locale_prelude): Likewise.
21293 (end_locale_prelude): Likewise.
21294 (write_locale_data): Update prototype.
21295 * locale/programs/3level.h (struct TABLE): Remove result field.
21296 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21297 Use new locale_file interface.
21298 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21299 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21300 * locale/programs/ld-address.c (address_output): Use new
21301 locale_file interface.
21302 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21303 NO_ADD_LOCALE.
21304 (collate_finish): Don't call collseq_table_finalize.
21305 (collate_output): Use new locale_file interface.
21306 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21307 in file.
21308 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21309 (TABLE): Move defines earlier in file.
21310 (ELEMENT): Likewise.
21311 (DEFAULT): Likewise.
21312 (wctrans_table_add): Move macro and inline function earlier in
21313 file.
21314 (struct wctype_table): Move type earlier in file.
21315 (add_locale_wctype_table): New static prototype.
21316 (struct locale_ctype_t): Use logical types instead of struct iovec
21317 pointers for members.
21318 (ctype_output): Use new locale_file interface.
21319 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21320 new locale_file interface.
21321 (allocate_arrays): Update for use of new locale_file interface.
21322 * locale/programs/ld-identification.c (identification_output): Use
21323 new locale_file interface.
21324 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21325 * locale/programs/ld-messages.c (messages_output): Likewise.
21326 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21327 * locale/programs/ld-name.c (name_output): Likewise.
21328 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21329 * locale/programs/ld-paper.c (paper_output): Likewise.
21330 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21331 * locale/programs/ld-time.c (time_output): Likewise.
21332
e029e2e5
AZ
213332013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21334
21335 * benchtests/Makefile: Add memrchr benchmark.
21336 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21337 benchmark as memrchr.
21338 * benchtests/bench-memrchr-ifunc.c: New file.
21339 * benchtests/bench-memrchr.c: New file.
21340
bbf6e8e4
WN
213412013-09-06 Will Newton <will.newton@linaro.org>
21342
21343 * benchtests/Makefile (string-bench): Add memcpy.
21344
6c82a2f8
CD
213452013-09-05 Carlos O'Donell <carlos@redhat.com>
21346 Cong Wang <amwang@redhat.com>
21347
e732c5f0 21348 [BZ #15850]
6c82a2f8
CD
21349 * sysdeps/unix/sysv/linux/bits/in.h
21350 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21351 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21352 before __USE_KERNEL_IPV6_DEFS uses.
21353 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21354 IPPROTO_BEETPH.
21355 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21356 sockaddr_in6, or ipv6_mreq.
21357
5430fc65
AZ
213582013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21359
21360 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21361 memory access for final bytes in some large inputs.
21362 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21363
4660856c
AZ
213642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21365
21366 * string/test-memrchr.c: New file.
21367 * string/test-memrchr-ifunc.c: New file.
21368 * string/Makefile: Add new memrchr testcase.
21369
bb8ea713
MF
213702013-09-05 Mike Frysinger <vapier@gentoo.org>
21371
21372 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21373 fanotify_init returns EPERM.
21374
b92a20b5
JM
213752013-09-04 Joseph Myers <joseph@codesourcery.com>
21376
21377 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21378 errors.
21379 (top level): Treat second token from macro or constant entries for
21380 allowed headers as allowed.
21381 * include/complex.h: Condition internal declarations on
21382 [!_ISOMAC].
21383 * include/fenv.h: Condition include of <stdbool.h> and internal
21384 declarations on [!_ISOMAC].
7447ccd9
CL
21385
213862013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21387
3e181dda 21388 [BZ #15923]
7447ccd9
CL
21389 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21390
3f2e46a4
JM
213912013-09-04 Joseph Myers <joseph@codesourcery.com>
21392
21393 * configure.in (--enable-versioning): Remove configure option.
21394 (libc_cv_asm_symver_directive): Remove configure test.
21395 (libc_cv_ld_version_script_option): Likewise.
21396 (VERSIONING): Remove variable and AC_SUBST.
21397 (DO_VERSIONING): Remove AC_DEFINE.
21398 * configure: Regenerated.
21399 * config.h.in (DO_VERSIONING): Remove macro.
21400 * Makerules [$(versioning) = yes]: Change conditionals to
21401 [$(build-shared) = yes].
21402 * config.make.in (versioning): Remove variable.
21403 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21404 [$(build-shared) = yes].
21405 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21406 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21407 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21408 [$(build-shared) = yes].
21409 * extra-lib.mk [$(versioning) = yes]: Likewise.
21410 * hurd/Makefile [$(versioning) = yes]: Likewise.
21411 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21412 [SHARED].
21413 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21414 [SHARED].
21415 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21416 [SHARED && !NO_HIDDEN].
21417 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21418 [SHARED].
21419 [SHARED && DO_VERSIONING]: Likewise..
21420 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21421 [$(build-shared) = yes].
21422 * manual/install.texi (--disable-versioning): Remove
21423 documentation.
21424 * INSTALL: Regenerated.
21425 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21426 to [SHARED].
21427 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21428 [$(build-shared) = yes].
21429 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21430 * sysdeps/i386/i686/multiarch/strstr-c.c
21431 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21432 [SHARED && !NO_HIDDEN].
21433 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21434 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21435 * sysdeps/powerpc/powerpc32/dl-machine.c
21436 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21437 * sysdeps/powerpc/powerpc32/sysdep.h
21438 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21439 to [SHARED && PIC && !NO_HIDDEN].
21440 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21441 conditional to [SHARED].
21442
44558701
WN
214432013-09-04 Will Newton <will.newton@linaro.org>
21444
21445 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21446 * benchtests/bench-string.h: Include bench-timing.h instead
21447 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21448 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21449 call to HP_TIMING_DIFF_INIT.
21450 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21451 instead of hp-timing.h macros.
21452 * benchtests/bench-memchr.c: Likewise.
21453 * benchtests/bench-memcmp.c: Likewise.
21454 * benchtests/bench-memcpy.c: Likewise.
21455 * benchtests/bench-memmem.c: Likewise.
21456 * benchtests/bench-memmove.c: Likewise.
21457 * benchtests/bench-memset.c: Likewise.
21458 * benchtests/bench-rawmemchr.c: Likewise.
21459 * benchtests/bench-strcasecmp.c: Likewise.
21460 * benchtests/bench-strcasestr.c: Likewise.
21461 * benchtests/bench-strcat.c: Likewise.
21462 * benchtests/bench-strchr.c: Likewise.
21463 * benchtests/bench-strcmp.c: Likewise.
21464 * benchtests/bench-strcpy.c: Likewise.
21465 * benchtests/bench-strcpy_chk.c: Likewise.
21466 * benchtests/bench-strlen.c: Likewise.
21467 * benchtests/bench-strncasecmp.c: Likewise.
21468 * benchtests/bench-strncat.c: Likewise.
21469 * benchtests/bench-strncmp.c: Likewise.
21470 * benchtests/bench-strncpy.c: Likewise.
21471 * benchtests/bench-strnlen.c: Likewise.
21472 * benchtests/bench-strpbrk.c: Likewise.
21473 * benchtests/bench-strrchr.c: Likewise.
21474 * benchtests/bench-strspn.c: Likewise.
21475 * benchtests/bench-strstr.c: Likewise.
21476
cae16d66
WN
214772013-09-04 Will Newton <will.newton@linaro.org>
21478
21479 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21480
ffa3cd7f
JM
214812013-09-03 Joseph Myers <joseph@codesourcery.com>
21482
21483 [BZ #15427]
21484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21485 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21486 * math/libm-test.inc (lgamma_test_data): Add more tests.
21487 * sysdeps/i386/fpu/libm-test-ulps: Update.
21488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21489
8f02859f
OB
214902013-09-03 Ondřej Bílka <neleai@seznam.cz>
21491
21492 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21494 Add ifunc.
21495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21496 Add strcmp-sse2-unaligned
21497 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21498
18d43716
MF
214992013-09-02 Mike Frysinger <vapier@gentoo.org>
21500
21501 * Versions.def (libc): Add GLIBC_2.19.
21502
ac444012
MF
215032013-09-02 Mike Frysinger <vapier@gentoo.org>
21504
21505 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21506 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21507
b7835e32
JM
215082013-09-02 Joseph Myers <joseph@codesourcery.com>
21509
21510 [BZ #14155]
21511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21512 intermediate calculations in recurrence.
21513 (__ieee754_ynf): Likewise.
21514 * math/libm-test.inc (jn_test_data): Do not allow spurious
21515 underflow exception. Add more tests.
21516 (yn_test_data): Add more tests.
21517 * sysdeps/i386/fpu/libm-test-ulps: Update.
21518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21519
8220f4f0
OB
215202013-09-02 Ondřej Bílka <neleai@seznam.cz>
21521
21522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21523
f24a6d08
OB
215242013-08-30 Ondřej Bílka <neleai@seznam.cz>
21525
21526 * csu/init-first.c: Fix then/than typos.
21527 * locale/programs/ld-collate.c: Likewise.
21528 * locale/programs/linereader.h: Likewise.
21529 * manual/charset.texi: Likewise.
21530 * manual/filesys.texi: Likewise.
21531 * manual/stdio.texi: Likewise.
21532 * manual/string.texi: Likewise.
21533 * stdlib/fmtmsg.c: Likewise.
21534 * sysdeps/i386/stpncpy.S: Likewise.
21535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21536 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21537 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21538 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21539
382466e0
OB
215402013-08-30 Ondřej Bílka <neleai@seznam.cz>
21541
21542 * elf/dl-open.c: Fix typos.
21543 * iconvdata/gbbig5.c: Likewise.
21544 * iconvdata/iso-2022-jp.c: Likewise.
21545 * iconv/gconv_int.h: Likewise.
21546 * iconv/loop.c: Likewise.
21547 * nis/rpcsvc/nis.h: Likewise.
21548 * resolv/ns_name.c: Likewise.
21549 * stdio-common/vfscanf.c: Likewise.
21550 * streams/stropts.h: Likewise.
21551 * sunrpc/rpc_thread.c: Likewise.
21552 * sysdeps/i386/strpbrk.S: Likewise.
21553 * sysdeps/ieee754/k_standard.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21556 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21557 * sysdeps/mach/hurd/profil.c: Likewise.
21558 * sysdeps/s390/dl-procinfo.h: Likewise.
21559 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21560 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21561 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21562 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21563 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21564
0186c6e9
OB
215652013-08-30 Ondřej Bílka <neleai@seznam.cz>
21566
21567 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21569
d4e16af1
OB
215702013-08-29 Ondřej Bílka <neleai@seznam.cz>
21571
21572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21573 aix specific files.
21574 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21575 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21576 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21577 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21578 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21579 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21580 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21581 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21582
88335980
TS
215832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21584 Roland McGrath <roland@hack.frob.com>
21585
21586 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21587 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21588
ed479b02
ST
215892013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21590
21591 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21592 __executable_start symbol instead of _start.
21593
f1cc4c86
TS
215942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21595
d821f07c
TS
21596 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21597 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21598 Move macros to...
21599 * sysdeps/gnu/ldsodefs.h: ... this new file.
21600
c54290cf
TS
21601 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21602 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21603 instead of ELFOSABI_LINUX.
21604
0007fc9b 21605 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21606 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21607 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21608 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21609 Likewise.
21610 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21611 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21613 Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21615 (ibm_extended_long_double): Add ieee_nan member.
21616 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21617 (do_test): New function.
21618
f1cc4c86
TS
21619 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21620 TEST_TRUNC.
21621 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21622 functions, renamed from truncdfsf_test, trunctfsf_test,
21623 trunctfdf_test.
21624 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21625 functions.
21626 (do_test): Run all these.
21627
6f65e668
OB
216282013-08-29 Ondřej Bílka <neleai@seznam.cz>
21629
21630 * argp/argp-help.c: Fix typos.
21631 * argp/argp-parse.c: Likewise.
21632 * debug/backtracesyms.c: Likewise.
21633 * elf/elf.h: Likewise.
21634 * malloc/malloc.c: Likewise.
21635 * nis/nis_print.c: Likewise.
21636 * resolv/res_comp.c: Likewise.
21637 * stdlib/stdlib.h: Likewise.
21638 * sunrpc/clnt_tcp.c: Likewise.
21639 * sunrpc/clnt_udp.c: Likewise.
21640 * sunrpc/clnt_unix.c: Likewise.
21641 * sysdeps/unix/bsd/ptsname.c: Likewise.
21642 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21645 Likewise.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21647 Likewise.
21648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21649 Likewise.
6f65e668
OB
21650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21651
3a309239
SP
216522013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21653
21654 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21656
3b813b29
MF
216572013-08-27 Mike Frysinger <vapier@gentoo.org>
21658
21659 [BZ #15897]
21660 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21661 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21662 ($(objpfx)bug-dl-leaf): New rule.
21663 ($(objpfx)bug-dl-leaf.so): Likewise.
21664 ($(objpfx)bug-dl-leaf.out): Likewise.
21665 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21666 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21667 * dlfcn/bug-dl-leaf.c: New test.
21668 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21669 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21670 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21671 (dlclose): Likewise.
21672 (dlmopen): Likewise.
21673
8cc3269f
RM
216742013-08-27 Roland McGrath <roland@hack.frob.com>
21675
7f9d0034
RM
21676 * include/netdb.h [!_ISOMAC]:
21677 Don't include <tls.h>.
21678 (h_errno, __libc_h_errno): Move declaration and macros out of
21679 [_LIBC_REENTRANT].
21680
fb431262
RM
21681 * include/resolv.h [_RESOLV_H_]:
21682 Don't include <tls.h>.
21683 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21684 * resolv/res_libc.c: Don't include <tls.h>.
21685 (_res): Use __attribute__ ((nocommon)) in place of
21686 __attribute__ ((section (".bss"))).
21687
bd81123a
RM
21688 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21689 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21690
c4e42566
RM
21691 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21692
f890a59b
RM
21693 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21694 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21695
21696 * resolv/res_mkquery.c: Include <sys/time.h>.
21697
5d1f0a09
RM
21698 * inet/ifreq.c: Moved to ...
21699 * sysdeps/unix/ifreq.c: ... here.
21700 * inet/ifreq.c: New file, true stub version.
21701
6fcf28b3
RM
21702 * socket/sa_len.c: New file.
21703 * socket/Makefile (aux): Add it.
21704 * sysdeps/unix/sysv/linux/Makefile
21705 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21706 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21707 and #include <socket/sa_len.c>.
21708 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21709 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21710
e041fb8b
RM
21711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21712 * bits/socket.h: ... here.
21713
8cc3269f
RM
21714 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21715 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21716 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21717
5d228a43
AS
217182013-08-27 Andreas Schwab <schwab@suse.de>
21719
45b8accc
AS
21720 [BZ #15736]
21721 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21722 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21723 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21724 * string/test-strcasecmp.c (test_main): Run tests in several
21725 locales.
21726 * string/test-strncasecmp.c (test_main): Likewise.
21727
5d228a43
AS
21728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21729 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21730 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21732 (__strncasecmp_ssse3) [PIC]: Likewise.
21733
59d112a4
RM
217342013-08-26 Roland McGrath <roland@hack.frob.com>
21735
53234cc3
RM
21736 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21737
59d112a4
RM
21738 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21739 instead of explicitly declaring xdecrypt.
21740 * nis/nss_nis/nis-publickey.c: Likewise.
21741
595aba70
SP
217422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21743
21744 [BZ #15890]
21745 * nscd/aicache.c: Include res_hconf.h.
21746 (addhstaiX): Initialize res_hconf.
21747
ffabd393
AS
217482013-08-26 Andreas Schwab <schwab@suse.de>
21749
21750 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21751 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21752
e0a69f5c
SP
217532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21754
21755 * nscd/aicache.c (addhstaiX): Fix indentation.
21756
8c12f01d
MF
217572013-08-25 Mike Frysinger <vapier@gentoo.org>
21758
21759 * configure.ac: Quote $build_pt_chown test.
21760 * configure: Regenerated.
21761
8fe89494
JM
217622013-08-23 Joseph Myers <joseph@codesourcery.com>
21763
21764 [BZ #15532]
21765 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21766 * math/s_cexpf.c (__cexpf): Likewise.
21767 * math/s_cexpl.c (__cexpl): Likewise.
21768 * math/libm-test.inc (cexp_test_data): Correct expected return
21769 value for NaN + i0. Add another test.
21770
75b181d6
DM
217712013-08-22 David S. Miller <davem@davemloft.net>
21772
21773 * po/ca.po: Update Catalan translation from translation project.
936241e4 21774 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21775
acd06bb1
JM
217762013-08-21 Joseph Myers <joseph@codesourcery.com>
21777
21778 [BZ #15797]
21779 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21780 is infinite, not alongside NaN test.
21781 * math/s_fdimf.c (__fdimf): Likewise.
21782 * math/s_fdiml.c (__fdiml): Likewise.
21783 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21784 errno is unchanged.
21785
c0c3f78a
OB
217862013-08-21 Ondřej Bílka <neleai@seznam.cz>
21787
21788 * argp/argp-help.c: Fix typos.
21789 * crypt/speeds.c: Likewise.
21790 * csu/check_fds.c: Likewise.
21791 * elf/dl-load.c: Likewise.
21792 * elf/dl-open.c: Likewise.
21793 * elf/reldep3.c: Likewise.
21794 * elf/reldep.c: Likewise.
21795 * elf/sprof.c: Likewise.
21796 * iconv/iconv_charmap.c: Likewise.
21797 * iconv/skeleton.c: Likewise.
21798 * iconv/strtab.c: Likewise.
21799 * io/lockf64.c: Likewise.
21800 * libio/libioP.h: Likewise.
21801 * resolv/gai_notify.c: Likewise.
21802 * resolv/ns_name.c: Likewise.
21803 * resolv/ns_samedomain.c: Likewise.
21804 * resolv/res_send.c: Likewise.
21805 * stdlib/random.c: Likewise.
21806 * sunrpc/rpc/xdr.h: Likewise.
21807 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21808 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21809 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21810 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21812 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21815 * sysdeps/mach/hurd/check_fds.c: Likewise.
21816 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21820 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21822 * sysdeps/pthread/aio_notify.c: Likewise.
21823 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21824 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21827 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21828
46ed1038
LD
218292013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21830
21831 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21832 version if bit_Slow_SSE4_2 is set.
21833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21835
d400dcac
AZ
218362013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21837
21838 [BZ #15867]
21839 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21840 trampoline stack frame information.
21841 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21843 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21844 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21845 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21846 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21847 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21848 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21849 sa_flags value.
21850 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21851 interrupting a syscall and set with option SA_SIGINFO.
21852
42c8fdd8
JM
218532013-08-20 Joseph Myers <joseph@codesourcery.com>
21854
c980f2f4
JM
21855 [BZ #15531]
21856 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21857 argument is infinite.
21858 * math/s_cprojf.c (__cprojf): Likewise.
21859 * math/s_cprojl.c (__cprojl): Likewise.
21860 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21861 * math/libm-test.inc (cproj_test_data): Add more tests.
21862
0716c4fc
JM
21863 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21864
42c8fdd8
JM
21865 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21866 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21867 size. Use __ffs to determine corresponding shift.
21868
b31469d0
JM
218692013-08-20 Joseph Myers <joseph@codesourcery.com>
21870 Roland McGrath <roland@hack.frob.com>
21871
21872 * Makefile (INSTALL): Remove trailing blank lines from output of
21873 makeinfo.
21874
4e39af6e
AK
218752013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21876
21877 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21878 Align 32 bit compat elf_greg to 8 bytes.
21879
f315524e
AA
218802013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21881
21882 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21883
1326ba1a
SP
218842013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21885
21886 * string/strcoll_l.c (coll_seq): New structure.
21887 (get_next_seq_cached): New function.
21888 (get_next_seq): New function.
21889 (do_compare): New function.
21890 (STRCOLL): Use GNU style definition. Simplify implementation
21891 by using get_next_seq, get_next_seq_cached and do_compare.
21892
91ce4085
FW
218932013-08-16 Florian Weimer <fweimer@redhat.com>
21894
21895 [BZ #14699]
21896 CVE-2013-4237
21897 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21898 member.
21899 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21900 member.
21901 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21902 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21903 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21904 conditional.
21905 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21906 GETDENTS_64BIT_ALIGNED.
21907 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21908 * manual/filesys.texi (Reading/Closing Directory): Document
21909 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21910 strongly.
21911 * manual/conf.texi (Limits for Files): Add portability note to
21912 NAME_MAX, PATH_MAX.
21913 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21914
ca0a6bc4
AS
219152013-08-13 Andreas Schwab <schwab@suse.de>
21916
21917 [BZ #15749]
21918 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21919 of fabs.
21920 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21921 LDBL_MAX_EXP >= 16384]: Add tests for it.
21922
6c1fd795
DM
219232013-08-12 David S. Miller <davem@davemloft.net>
21924
21925 * version.h (RELEASE): Set to "development".
21926 (VERSION): Set to "2.18.90".
21927 * NEWS: Add 2.19 section.
21928
31ad488d
DM
219292013-08-03 David S. Miller <davem@davemloft.net>
21930
21931 * po/ko.po: Update Korean translation from translation project.
21932
db24e684
DM
219332013-08-01 David S. Miller <davem@davemloft.net>
21934
21935 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21936 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21937 Bilka.
21938
f723285b
DM
219392013-07-30 David S. Miller <davem@davemloft.net>
21940
21941 * po/fr.po: Update French translation from translation project.
21942
3cbc52db
DM
219432013-07-28 David S. Miller <davem@davemloft.net>
21944
30bbc0cc
DM
21945 * po/cs.po: Update Czech translation from translation project.
21946
3cbc52db
DM
21947 * po/sv.po: Update Swedish translation from translation project.
21948
d492e6d0
DM
219492013-07-27 David S. Miller <davem@davemloft.net>
21950
f1a7f492
DM
21951 * po/eo.po: Update Esperanto translation from translation project.
21952
90e62a4a
DM
21953 * po/vi.po: Update Vietnamese translation from translation project.
21954
d492e6d0
DM
21955 * po/de.po: Update German translation from translation project.
21956
d4baa62d
DM
219572013-07-26 David S. Miller <davem@davemloft.net>
21958
641aa7b4
DM
21959 * po/bg.po: Update Bulgarian translation from translation project.
21960
d4baa62d
DM
21961 * po/nl.po: Update Dutch translation from translation project.
21962 * po/pl.po: Update Polish translation from translation project.
21963 * po/ru.po: Update Russian translation from translation project.
21964
61a9dcb9
DM
219652013-07-24 David S. Miller <davem@davemloft.net>
21966
21967 * po/libc.pot: Update.
21968
7b1f8b58
AZ
219692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21970
21971 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21972 variable page size.
21973 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21974 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21975 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21976
a8fc7a03
AK
219772013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21978
21979 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21980
e4608715
CD
219812013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21982 Andreas Schwab <schwab@suse.de>
21983 Roland McGrath <roland@hack.frob.com>
21984 Joseph Myers <joseph@codesourcery.com>
21985 Carlos O'Donell <carlos@redhat.com>
21986
21987 [BZ #15755]
21988 * config.h.in: Define HAVE_PT_CHOWN.
21989 * config.make.in (build-pt-chown): New variable.
21990 * configure.in (--enable-pt_chown): New configure option.
21991 * configure: Regenerate.
21992 * login/Makefile: Include Makeconfig. Build pt_chown only if
21993 build-pt-chown is enabled.
21994 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21995 pt_chown to fix pty ownership.
21996 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21997 CLOSE_ALL_FDS.
21998 * manual/install.texi (Configuring and compiling): Mention
21999 --enable-pt_chown. Add @findex for grantpt.
22000 * INSTALL: Regenerate.
22001
da2d62df
DM
220022013-07-20 David S. Miller <davem@davemloft.net>
22003
22004 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22005 difference between 32-bit and 64-bit.
22006
d7e06450
CD
220072013-07-15 Carlos O'Donell <carlos@redhat.com>
22008
22009 [BZ #15711]
22010 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22011 Avoid system header dependency with -ffreestanding.
22012 ($(objpfx)bits/syscall%d): Likewise.
22013
f959cfd7
DM
220142013-07-13 David S. Miller <davem@davemloft.net>
22015
22016 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22017 underflows from atanl/atan2l due to bug 15319.
22018 (casinh_test_data): Likewise.
22019
c61f8513
DM
220202013-07-07 David S. Miller <davem@davemloft.net>
22021
22022 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22023
72c90ed0
JA
220242013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22025
22026 * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22028
52dfbe13
SP
220292013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22030
22031 * configure.in (--enable-lock-elision): Fix message text.
22032 * INSTALL: Regenerate.
22033 * configure: Regenerate.
22034
3f169543
AZ
220352013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22036
22037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22038
521c6785
AJ
220392013-07-03 Andreas Jaeger <aj@suse.de>
22040
22041 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22042 define.
22043 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22044 (ptrace_peeksiginfo_args): Add.
22045 (__ptrace_peeksiginfo_flags): Add.
22046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22049
d2cc15cb
AM
220502013-07-03 Allan McRae <allan@archlinux.org>
22051
22052 * sysdeps/i386/fpu/libm-test-ulps: Update.
22053
3aaeeca7
DM
220542013-07-02 David S. Miller <davem@davemloft.net>
22055
22056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22057
5314ed1a
MT
220582013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22059
22060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22061
67338156
JM
220622013-07-02 Joseph Myers <joseph@codesourcery.com>
22063
22064 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22066
1717da59
AK
220672013-07-02 Andi Kleen <ak@linux.intel.com>
22068
22069 * config.h.in (ENABLE_LOCK_ELISION): Add.
22070 * configure.in (--enable-lock-elision): Add option.
22071 * manual/install.texi: Document --enable lock elision.
22072 * configure: Regenerate
22073 * INSTALL: Regenerate.
22074
1c81621c
L
220752013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22076
22077 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22078 SSE4.2 strcasecmp for libc.a.
22079 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22080
77f01ab5
JM
220812013-07-02 Joseph Myers <joseph@codesourcery.com>
22082
22083 [BZ #13304]
22084 * soft-fp/op-common.h (_FP_FMA): New macro.
22085 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22086 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22087 (_FP_MUL_MEAT_1_imm): ... here.
22088 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22089 (_FP_MUL_MEAT_1_wide): ... here.
22090 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22091 (_FP_MUL_MEAT_1_hard): ... here.
22092 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22093 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22094 (_FP_MUL_MEAT_2_wide): ... here.
22095 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22096 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22097 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22098 (_FP_MUL_MEAT_2_gmp): ... here.
22099 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22100 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22101 (_FP_MUL_MEAT_4_wide): ... here.
22102 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22103 (_FP_MUL_MEAT_4_gmp): ... here.
22104 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22105 (_FP_WFRACBITS_DW_S): Likewise.
22106 (_FP_WFRACXBITS_DW_S): Likewise.
22107 (_FP_HIGHBIT_DW_S): Likewise.
22108 (FP_FMA_S): Likewise.
22109 (_FP_FRAC_HIGH_DW_S): Likewise.
22110 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22111 (_FP_WFRACBITS_DW_D): Likewise.
22112 (_FP_WFRACXBITS_DW_D): Likewise.
22113 (_FP_HIGHBIT_DW_D): Likewise.
22114 (FP_FMA_D): Likewise.
22115 (_FP_FRAC_HIGH_DW_D): Likewise.
22116 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22117 (_FP_WFRACBITS_DW_E): Likewise.
22118 (_FP_WFRACXBITS_DW_E): Likewise.
22119 (_FP_HIGHBIT_DW_E): Likewise.
22120 (FP_FMA_E): Likewise.
22121 (_FP_FRAC_HIGH_DW_E): Likewise.
22122 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22123 (_FP_WFRACBITS_DW_Q): Likewise.
22124 (_FP_WFRACXBITS_DW_Q): Likewise.
22125 (_FP_HIGHBIT_DW_Q): Likewise.
22126 (FP_FMA_Q): Likewise.
22127 (_FP_FRAC_HIGH_DW_Q): Likewise.
22128 * soft-fp/fmasf4.c: New file.
22129 * soft-fp/fmadf4.c: Likewise.
22130 * soft-fp/fmatf4.c: Likewise.
22131
6308fd9a
LD
221322013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22133
22134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22135 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22136 Silvermont.
22137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22138 macro.
22139 (index_Slow_SSE4_2): Likewise.
22140 (index_Prefer_PMINUB_for_stringop): Likewise.
22141 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22142 bit_Slow_SSE4_2 is set.
22143 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22144 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22145
89cd9569
RA
221462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22147
22148 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22149 rtld_global._dl_hwcap2.
22150 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22151 POWER8.
22152 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22153 POWER8 feature descriptions defined in _dl_hwcap2.
22154 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22155 string handling for POWER8 feature bits.
22156 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22157 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22158 _dl_powerpc_cap_flags.
22159 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22160 * sysdeps/powerpc/rtld-global-offsets.sym
22161 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22162 _dl_hwcap2 in the rtld_global_ro structure.
22163
1ae8bfe0
RA
221642013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22165
22166 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22167 hardware capabilities in support of AT_HWCAP2.
22168 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22169 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22170 GLRO(dl_hwcap2).
22171 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22172 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22173 explicitly the unknown a_type display mechanism is used.
22174 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22175 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22176 struct member.
22177 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22178 to macro prototype for AT_HWCAP2 support.
22179 * sysdeps/i386/dl-procinfo.h: Likewise.
22180 * sysdeps/s390/dl-procinfo.h: Likewise.
22181 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22182 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22183 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22184 return -1 for unknown a_type display fallback.
22185 * sysdeps/sparc/dl-procinfo.h: Likewise.
22186 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22187 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22188
8fbec010
JM
221892013-06-28 Joseph Myers <joseph@codesourcery.com>
22190
22191 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22192 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22193
0432680e
PY
221942013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22195
22196 [BZ #12492]
22197 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22198 mprotect making __stack_prot writable.
22199
ce61a2ad
NF
222002013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22201 Joseph Myers <joseph@codesourcery.com>
22202
22203 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22204 as being properly aligned.
22205
f91f1c0f
MR
222062013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22207
3d0f5d0c
MR
22208 * dlfcn/modstatic5.c: New file.
22209 * dlfcn/tststatic5.c: New file.
22210 * dlfcn/Makefile (tests): Add tststatic5.
22211 (tests-static): Likewise.
22212 (modules-names): Add modstatic5.
22213 (tststatic5-ENV): New variable.
22214 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22215
f91f1c0f
MR
22216 [BZ #15022]
22217 * elf/dl-support.c (_dl_main_map): New variable.
22218 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22219 (_dl_nns, _dl_load_adds): Set to 1.
22220 (_dl_initial_searchlist): Refer to _dl_main_map.
22221 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22222 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22223 call to _dl_get_origin.
22224 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22225 around call_map.
22226 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22227 * dlfcn/modstatic3.c: New file.
22228 * dlfcn/tststatic3.c: New file.
22229 * dlfcn/tststatic4.c: New file.
22230 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22231 (tests-static): Likewise.
22232 (modules-names): Add modstatic3.
22233 (tststatic3-ENV, tststatic4-ENV): New variables.
22234 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22235 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22236
cbe7d24b
JM
222372013-06-26 Joseph Myers <joseph@codesourcery.com>
22238
22239 * configure.in (CC): Require GCC version 4.4 or later.
22240 * configure: Regenerated.
22241 * manual/install.texi (Tools for Compilation): Update GCC version
22242 requirement.
22243 * INSTALL: Regenerated.
22244
11b8a0e1
LD
222452013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22246
22247 [BZ #15674]
bb5bb87c
L
22248 * string/test-memcmp.c (check2): New.
22249 (main): Call check2.
22250
11b8a0e1
LD
22251 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22252
b0037103
MR
222532013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22254
22255 [BZ #15022]
22256 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22257 over to...
22258 (dl_open_worker) [!SHARED]: ... here.
22259
c18c701d
RA
222602013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22261
22262 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22263
1d17fa5f
RH
222642013-06-25 Richard Henderson <rth@redhat.com>
22265
22266 * locale/programs/locarchive.c: Include <libc-internal.h>
22267
8fcb833a
JM
222682013-06-25 Joseph Myers <joseph@codesourcery.com>
22269
22270 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22271 trailing whitespace removed.
22272
17db6e8d
MF
222732013-06-24 Mike Frysinger <vapier@gentoo.org>
22274
22275 [BZ #10283]
17db6e8d
MF
22276 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22277 * locale/programs/locarchive.c: Include libc-mmap.h.
22278 (prepare_address_space): Take two new outputs (the mmap base and len).
22279 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22280 values.
22281 (create_archive): Declare new mmap base and len values for
22282 prepare_address_space, and store the result in ah.
22283 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22284 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22285 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22286 Declare new mmap base and len values for
22287 prepare_address_space, and store the result in new_ah.
22288 (open_archive): Declare new mmap base and len values for
22289 prepare_address_space, and store the result in ah.
22290 (close_archive): If ah->mmap_base is not NULL, use that and
22291 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22292 * sysdeps/generic/libc-mmap.h: New file.
22293
d605071e
MF
222942013-06-24 Mike Frysinger <vapier@gentoo.org>
22295
22296 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22297 (ALIGN_UP): Likewise.
22298 (PTR_ALIGN_DOWN): Likewise.
22299 (PTR_ALIGN_UP): Likewise.
22300
2f063a6e
RA
223012013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22302
22303 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22304 entry mapped to PPC_PLATFORM_POWER8.
22305 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22306 POWER8.
22307 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22308 (_dl_string_platform): Add case for exporting platform position for
22309 POWER8.
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22311 search path to sysdeps/powerpc/powerpc32/power8 directory.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22313 search path to sysdeps/powerpc/powerpc64/power8 directory.
22314 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22315 power7 directories.
22316 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22317 power7 directories.
22318
a31ee4b3
SP
223192013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22320
a74ca98f
SP
22321 * INSTALL: Regenerate.
22322
a31ee4b3
SP
22323 * nscd/connections.c (nscd_init): Fix comment.
22324
695c378f
JM
223252013-06-22 Joseph Myers <joseph@codesourcery.com>
22326
d8412221
JM
22327 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22328
695c378f
JM
22329 [BZ #15667]
22330 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22331 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22332
d1d54715
MR
223332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22334
22335 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22336 DL_DST_REQ_STATIC.
22337 (DL_DST_REQ_STATIC): Remove macro.
22338
8fdda7af
JM
223392013-06-21 Joseph Myers <joseph@codesourcery.com>
22340
22341 [BZ #7006]
22342 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22343 with a shift of 0 bits.
22344
f3bc5e5a
MR
223452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22346
22347 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22348 $(tststatic-ENV).
22349
be09e8c9
KK
223502013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22351
22352 [BZ #15655]
22353 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22354
85c2e611
AZ
223552013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22356
22357 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22358 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22359 accepts -fno-tree-loop-distribute-patterns.
22360 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22361 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22362 recursive call.
22363 * string/memset.c (memset): Likewise.
22364 * string/test-memmove.c (simple_memmove): Disable loop transformation
22365 to library calls.
22366 * string/test-memset.c (simple_memset): Likewise.
22367 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22368 * benchtests/bench-memset.c (simple_memset): Likewise.
22369 * configure: Regenerated.
22370
c91e0825
JM
223712013-06-20 Joseph Myers <joseph@codesourcery.com>
22372
b8c792af
JM
22373 * math/test-misc.c (main): Ignore fesetround failure when failures
22374 of subsequent rounding tests would be ignored.
22375
c91e0825
JM
22376 [BZ #15654]
22377 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22378 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22379 * math/fegetenv.c (__fegetenv): Return 0.
22380 * math/fegetexcept.c (fegetexcept): Return 0.
22381 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22382 FE_TONEAREST.
22383 * math/feholdexcpt.c (feholdexcept): Return 0.
22384 * math/fesetenv.c (__fesetenv): Return 0.
22385 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22386 argument FE_TONEAREST.
22387 * math/feupdateenv.c (__feupdateenv): Return 0.
22388 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22389
bfcacbde
RM
223902013-06-18 Roland McGrath <roland@hack.frob.com>
22391
22392 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22393 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22394 ($(objpfx)rtld-%.os rules): Use them.
22395
e55a9b25
AZ
223962013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22397
22398 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22399 fields.
22400
346d65b3
RM
224012013-06-17 Roland McGrath <roland@hack.frob.com>
22402
12086fb4
RM
22403 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22404 length of target pattern, then descending length of dependency pattern.
22405 * configure.in (AWK): Require gawk 3.1.2 or newer.
22406 * manual/install.texi (Tools for Compilation): Say that we do.
22407 * configure: Regenerated.
22408
346d65b3
RM
22409 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22410 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22411 * scripts/sysd-rules.awk: ... this new script.
22412 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22413 than a glob-style pattern.
22414
1a846317
JM
224152013-06-17 Joseph Myers <joseph@codesourcery.com>
22416
22417 * math/test-misc.c (main): Do not treat incorrectly rounded
22418 conversions as failure unless ROUNDING_TESTS passes.
22419
8fc75e6f
JM
224202013-06-15 Joseph Myers <joseph@codesourcery.com>
22421
3711a167
JM
22422 [BZ #15631]
22423 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22424 restore exception state around main square root computation, then
22425 check for inexactness explicitly.
22426
8fc75e6f
JM
22427 * math/libm-test.inc (fma_test_data): Add another test.
22428
61dd6208
SP
224292013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22430
adf23d2c
SP
22431 * manual/threads.texi (Non-POSIX Extensions): New document
22432 node. Document pthread_getattr_default_np and
22433 pthread_setattr_default_np.
22434
61dd6208
SP
22435 * Versions.def (libpthread): Add GLIBC_2.18.
22436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22438 Likewise.
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22440 Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22442 Likewise.
22443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22444 Likewise.
22445 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22446 Likewise.
22447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22448 Likewise.
22449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22450 Likewise.
22451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22452 Likewise.
22453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22454 Likewise.
22455
d086fc7b
LD
224562013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22457
22458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22459 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22460
747ef469
SP
224612013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22462 H.J. Lu <hjl.tools@gmail.com>
22463
22464 [BZ #15627]
22465 * sysdeps/x86_64/rtld-memset.c: Remove file.
22466 * sysdeps/x86_64/rtld-memset.S: New file.
22467
1b2feed2
JM
224682013-06-14 Joseph Myers <joseph@codesourcery.com>
22469
22470 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22471 (test_in_one_mode): Take arguments for whether the rounding mode
22472 is supported for each floating-point type.
22473 (do_test): Pass new arguments to test_in_one_mode using
22474 ROUNDING_TESTS.
22475
a58ad3f8
RM
224762013-06-13 Roland McGrath <roland@hack.frob.com>
22477
22478 * posix/tst-waitid.c (do_test): Distinguish different instances of
22479 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22480 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22481 before entering the kernel for waitpid.
22482
c204ab28
SP
224832013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22484
22485 * NEWS: Fix note on clock function precision. Text by Roland
22486 McGrath.
22487
f4a29fba
RM
224882013-06-13 Roland McGrath <roland@hack.frob.com>
22489
22490 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22491 it into place only when and if the sanity check passes.
22492
1f24b9ad
JM
224932013-06-13 Joseph Myers <joseph@codesourcery.com>
22494
22495 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22496 output for whether conversion result is exact. Take argument
22497 indicating whether type is IBM long double.
22498 (round_for_all): Change need_exact field to ibm_ld.
22499 * stdlib/tst-strtod-round.c (struct exactness): New type.
22500 (struct test): Change bool ld_ok field to struct exactness exact.
22501 (TEST): Update all definitions for change to field.
22502 (tests): Regenerate array contents.
22503 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22504 field value. Check for IBM long double here.
22505 (do_test): Update calls to test_in_one_mode.
22506
58206c68
SP
225072013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22508
22509 [BZ #12515]
22510 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22511 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22512
2d6f4c5b 225132013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22514
22515 [BZ #15605]
22516 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22517 generated by the compiler on loop optimizations.
22518 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22519 general definitions.
22520
94f2c076
JM
225212013-06-12 Joseph Myers <joseph@codesourcery.com>
22522
22523 * math/bug-nextafter.c: Include <math-tests.h>.
22524 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22525 the relevant type.
22526 * math/bug-nexttoward.c: Include <math-tests.h>.
22527 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22528 the relevant type.
22529 * math/test-misc.c: Include <math-tests.h>.
22530 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22531 the relevant type.
22532
e0e50a0a
AJ
225332013-06-12 Andreas Jaeger <aj@suse.de>
22534
22535 * po/ia.po: Update Interlingua translation from translation
22536 project.
22537
25061094
SP
225382013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22539
22540 * include/fenv.h: Include stdbool.h.
22541 (struct rm_ctx): New structure.
22542 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22543 Define macro.
22544 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22545 (SET_RESTORE_ROUNDF): Likewise.
22546 (SET_RESTORE_ROUNDL): Likewise.
22547 (SET_RESTORE_ROUND_NOEX): Likewise.
22548 (SET_RESTORE_ROUND_NOEXF): Likewise.
22549 (SET_RESTORE_ROUND_NOEXL): Likewise.
22550 (SET_RESTORE_ROUND_53BIT): Likewise.
22551 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22552 (libc_feresetround_noexf_ctx): Likewise.
22553 (libc_feresetround_noexl_ctx): Likewise.
22554 (libc_feholdsetround_53bit_ctx): Likewise.
22555 (libc_feresetround_53bit_ctx): Likewise.
22556 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22557 (libc_feholdexcept_setround_sse_ctx): New function.
22558 (libc_fesetenv_sse_ctx): Likewise.
22559 (libc_feupdateenv_sse_ctx): Likewise.
22560 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22561 (libc_feholdexcept_setround_387_ctx): Likewise.
22562 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22563 (libc_feholdsetround_387_prec_ctx): Likewise.
22564 (libc_feholdsetround_387_ctx): Likewise.
22565 (libc_feholdsetround_387_53bit_ctx): Likewise.
22566 (libc_feholdsetround_sse_ctx): Likewise.
22567 (libc_feresetround_sse_ctx): Likewise.
22568 (libc_feresetround_387_ctx): Likewise.
22569 (libc_feupdateenv_387_ctx): Likewise.
22570 (libc_feholdexcept_setroundf_ctx): Define macro.
22571 (libc_fesetenvf_ctx): Likewise.
22572 (libc_feupdateenvf_ctx): Likewise.
22573 (libc_feholdsetroundf_ctx): Likewise.
22574 (libc_feresetroundf_ctx): Likewise.
22575 (libc_feholdexcept_setround_ctx): Likewise.
22576 (libc_fesetenv_ctx): Likewise.
22577 (libc_feupdateenv_ctx): Likewise.
22578 (libc_feholdsetround_ctx): Likewise.
22579 (libc_feresetround_ctx): Likewise.
22580 (libc_feholdexcept_setroundl_ctx): Likewise.
22581 (libc_feupdateenvl_ctx): Likewise.
22582 (libc_feholdsetroundl_ctx): Likewise.
22583 (libc_feresetroundl_ctx): Likewise.
22584 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22585 (libc_feresetround_53bit_ctx): Likewise.
22586
59b30555
SP
225872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22588
22589 * locale/iso-639.def: Convert to UTF-8.
22590
f1d73d30
JM
225912013-06-11 Joseph Myers <joseph@codesourcery.com>
22592
22593 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22594 (EXCEPTION_TESTS_double): Likewise.
22595 (EXCEPTION_TESTS_long_double): Likewise.
22596 (EXCEPTION_TESTS): Likewise.
22597 * math/libm-test.inc (test_exceptions): Only test exceptions if
22598 EXCEPTION_TESTS (FLOAT).
22599
94aca5e7
SP
226002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22601
22602 * benchtests/Makefile (string-bench): Add strcpy_chk and
22603 stpcpy_chk.
22604 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22605 * benchtests/bench-stpcpy_chk.c: New file.
22606 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22607 * benchtests/bench-strcpy_chk.c: New file.
22608 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22609 code.
22610 (do_test): Likewise.
22611
fac0c5f2
RA
226122013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22613
22614 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22615 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22616 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22617 with tabs where appropriate.
22618 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22619 dl-procinfo.h.
22620 [PPC_PLATFORM_PPC440]: Likewise.
22621 [PPC_PLATFORM_PPC464]: Likewise.
22622 [PPC_PLATFORM_PPC476]: Likewise.
22623 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22624 ppc464, and ppc476 platform strings merging from ports/
22625 dl-procinfo.h.
22626
f22bc486
AS
226272013-06-11 Andreas Schwab <schwab@suse.de>
22628
22629 [BZ #14991]
22630 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22631 (from_ucs4_idx): Regenerate.
22632 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22633 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22634 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22635 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22636 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22637 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22638 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22639 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22640 from FROM_LOOP and TO_LOOP specific macros.
22641 (BODY): Handle combining characters.
22642 * iconvdata/BIG5HKSCS.irreversible: Update.
22643 * iconvdata/BIG5HKSCS.precomposed: New file.
22644 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22645 characters.
22646 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22647
c1f75dc3
SP
226482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22649
4eacded2
SP
22650 * include/sys/time.h: Fix indentation and add copyright header.
22651
fec799f8
SP
22652 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22653 (do_test): Likewise.
22654 * string/test-memchr.c (do_one_test): Likewise.
22655 (do_test): Likewise.
22656 * string/test-memcmp.c (do_one_test): Likewise.
22657 (do_test): Likewise.
22658 * string/test-memcpy.c (do_one_test): Likewise.
22659 (do_test): Likewise.
22660 * string/test-memmem.c (do_one_test): Likewise.
22661 (do_test): Likewise.
22662 (do_random_tests): Likewise.
22663 * string/test-memmove.c (do_one_test): Likewise.
22664 (do_test): Likewise.
22665 * string/test-memset.c (do_one_test): Likewise.
22666 (do_test): Likewise.
22667 * string/test-rawmemchr.c (do_one_test): Likewise.
22668 (do_test): Likewise.
22669 * string/test-strcasecmp.c (do_one_test): Likewise.
22670 (do_test): Likewise.
22671 * string/test-strcasestr.c (do_one_test): Likewise.
22672 (do_test): Likewise.
22673 * string/test-strcat.c (do_one_test): Likewise.
22674 (do_test): Likewise.
22675 * string/test-strchr.c (do_one_test): Likewise.
22676 (do_test): Likewise.
22677 * string/test-strcmp.c (do_one_test): Likewise.
22678 (do_test): Likewise.
22679 * string/test-strcpy.c (do_one_test): Likewise.
22680 (do_test): Likewise.
22681 * string/test-string.h: Likewise.
22682 (test_init): Likewise.
22683 * string/test-strlen.c (do_one_test): Likewise.
22684 (do_test): Likewise.
22685 * string/test-strncasecmp.c (do_one_test): Likewise.
22686 (do_test): Likewise.
22687 * string/test-strncat.c (do_one_test): Likewise.
22688 (do_test): Likewise.
22689 * string/test-strncmp.c (do_one_test): Likewise.
22690 (do_test_limit): Likewise.
22691 (do_test): Likewise.
22692 * string/test-strncpy.c (do_one_test): Likewise.
22693 (do_test): Likewise.
22694 * string/test-strnlen.c (do_one_test): Likewise.
22695 (do_test): Likewise.
22696 * string/test-strpbrk.c (do_one_test): Likewise.
22697 (do_test): Likewise.
22698 * string/test-strrchr.c (do_one_test): Likewise.
22699 (do_test): Likewise.
22700 * string/test-strspn.c (do_one_test): Likewise.
22701 (do_test): Likewise.
22702 * string/test-strstr.c (do_one_test): Likewise.
22703 (do_test): Likewise.
22704
97020474
SP
22705 * benchtests/Makefile (string-bench): Add string benchmarks.
22706 * benchtests/bench-bcopy-ifunc.c: New file.
22707 * benchtests/bench-bcopy.c: New file.
22708 * benchtests/bench-bzero-ifunc.c: New file.
22709 * benchtests/bench-bzero.c: New file.
22710 * benchtests/bench-memccpy-ifunc.c: New file.
22711 * benchtests/bench-memccpy.c: New file.
22712 * benchtests/bench-memchr-ifunc.c: New file.
22713 * benchtests/bench-memchr.c: New file.
22714 * benchtests/bench-memcmp-ifunc.c: New file.
22715 * benchtests/bench-memcmp.c: New file.
22716 * benchtests/bench-memmem-ifunc.c: New file.
22717 * benchtests/bench-memmem.c: New file.
22718 * benchtests/bench-memmove-ifunc.c: New file.
22719 * benchtests/bench-memmove.c: New file.
22720 * benchtests/bench-mempcpy-ifunc.c: New file.
22721 * benchtests/bench-mempcpy.c: New file.
22722 * benchtests/bench-memset-ifunc.c: New file.
22723 * benchtests/bench-memset.c: New file.
22724 * benchtests/bench-rawmemchr-ifunc.c: New file.
22725 * benchtests/bench-rawmemchr.c: New file.
22726 * benchtests/bench-stpcpy-ifunc.c: New file.
22727 * benchtests/bench-stpcpy.c: New file.
22728 * benchtests/bench-stpncpy-ifunc.c: New file.
22729 * benchtests/bench-stpncpy.c: New file.
22730 * benchtests/bench-strcasecmp-ifunc.c: New file.
22731 * benchtests/bench-strcasecmp.c: New file.
22732 * benchtests/bench-strcasestr-ifunc.c: New file.
22733 * benchtests/bench-strcasestr.c: New file.
22734 * benchtests/bench-strcat-ifunc.c: New file.
22735 * benchtests/bench-strcat.c: New file.
22736 * benchtests/bench-strchr-ifunc.c: New file.
22737 * benchtests/bench-strchr.c: New file.
22738 * benchtests/bench-strchrnul-ifunc.c: New file.
22739 * benchtests/bench-strchrnul.c: New file.
22740 * benchtests/bench-strcmp-ifunc.c: New file.
22741 * benchtests/bench-strcmp.c: New file.
22742 * benchtests/bench-strcpy-ifunc.c: New file.
22743 * benchtests/bench-strcpy.c: New file.
22744 * benchtests/bench-strcspn-ifunc.c: New file.
22745 * benchtests/bench-strcspn.c: New file.
22746 * benchtests/bench-strlen-ifunc.c: New file.
22747 * benchtests/bench-strlen.c: New file.
22748 * benchtests/bench-strncasecmp-ifunc.c: New file.
22749 * benchtests/bench-strncasecmp.c: New file.
22750 * benchtests/bench-strncat-ifunc.c: New file.
22751 * benchtests/bench-strncat.c: New file.
22752 * benchtests/bench-strncmp-ifunc.c: New file.
22753 * benchtests/bench-strncmp.c: New file.
22754 * benchtests/bench-strncpy-ifunc.c: New file.
22755 * benchtests/bench-strncpy.c: New file.
22756 * benchtests/bench-strnlen-ifunc.c: New file.
22757 * benchtests/bench-strnlen.c: New file.
22758 * benchtests/bench-strpbrk-ifunc.c: New file.
22759 * benchtests/bench-strpbrk.c: New file.
22760 * benchtests/bench-strrchr-ifunc.c: New file.
22761 * benchtests/bench-strrchr.c: New file.
22762 * benchtests/bench-strspn-ifunc.c: New file.
22763 * benchtests/bench-strspn.c: New file.
22764 * benchtests/bench-strstr-ifunc.c: New file.
22765 * benchtests/bench-strstr.c: New file.
22766
c1f75dc3
SP
22767 * benchtests/Makefile: Disable parallel execution of targets.
22768 (string-bench): Add memcpy.
22769 (benchset): New variable to store a list of benchmark sets.
22770 (bench-func): Renamed from bench.
22771 (bench-set): New target.
22772 (bench): Depend on bench-func and bench-set.
22773 * benchtests/README: Add section on benchmark sets.
22774 * benchtests/bench-memcpy-ifunc.c: New file.
22775 * benchtests/bench-memcpy.c: New file.
22776 * benchtests/bench-string.h: New file.
22777
50fd745b
AS
227782013-06-11 Andreas Schwab <schwab@suse.de>
22779
22780 [BZ #15577]
22781 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22782 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22783 values in the triple.
22784 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22785 terminator in the group key.
22786
3ee7e9fe
AJ
227872013-06-11 Andreas Jaeger <aj@suse.de>
22788
22789 * po/zh_TW.po: Update Chinese (traditional) translation from
22790 translation project.
22791
89fb6835
SP
227922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22793
22794 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22795 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22796 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22798 (clock_getcpuclockid): Likewise.
22799 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22800 Add weak_alias and libc_hidden_def.
22801 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22802 * rt/clock_gettime.c (clock_gettime): Rename to
22803 __clock_gettime. Add weak_alias and libc_hidden_def.
22804 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22805 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22806 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22807 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22808 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22809 Likewise.
22810 * rt/clock_settime.c (clock_settime): Rename to
22811 __clock_settime. Add weak_alias and libc_hidden_def.
22812 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22813
0efa6f8b
JM
228142013-06-10 Joseph Myers <joseph@codesourcery.com>
22815
b8c61b4b
JM
22816 * mach/err_boot.sub: Remove trailing whitespace.
22817 * mach/err_ipc.sub: Likewise.
22818 * mach/err_mach.sub: Likewise.
22819
0efa6f8b
JM
22820 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22821 (ROUNDING_TESTS_double): Likewise.
22822 (ROUNDING_TESTS_long_double): Likewise.
22823 (ROUNDING_TESTS): Likewise.
22824 * math/libm-test.inc: Include <math-tests.h>.
22825 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22826 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22827 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22828 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22829
50b818bf
SP
228302013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22831
22832 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22833 of assigning.
22834
60d2f8f3
JM
228352013-06-08 Joseph Myers <joseph@codesourcery.com>
22836
4902d2c3
JM
22837 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22838 otherwise empty TRANS lines.
22839 * sysdeps/gnu/errlist.c: Regenerated.
22840
60d2f8f3
JM
22841 * catgets/gencat.c (error_print): Use (void) in function
22842 definition.
22843 * crypt/crypt_util.c (__init_des): Likewise.
22844 * crypt/speeds.c (Stop): Likewise.
22845 (main): Likewise.
22846 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22847 * inet/ruserpass.c (token): Likewise.
22848 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22849 * intl/localealias.c (extend_alias_table): Likewise.
22850 * intl/plural-exp.c (init_germanic_plural): Likewise.
22851 * libio/fcloseall.c (__fcloseall): Likewise.
22852 * libio/genops.c (_IO_flush_all): Likewise.
22853 (_IO_flush_all_linebuffered): Likewise.
22854 (_IO_cleanup): Likewise.
22855 (_IO_iter_begin): Likewise.
22856 (_IO_iter_end): Likewise.
22857 (_IO_list_lock): Likewise.
22858 (_IO_list_unlock): Likewise.
22859 (_IO_list_resetlock): Likewise.
22860 * libio/getchar.c (getchar): Likewise.
22861 * libio/getchar_u.c (getchar_unlocked): Likewise.
22862 * libio/getwchar.c (getwchar): Likewise.
22863 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22864 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22865 * login/getpt.c (__getpt): Likewise.
22866 * login/tst-utmp.c (main): Likewise.
22867 * malloc/hooks.c (__malloc_check_init): Likewise.
22868 * malloc/malloc.c (__malloc_stats): Likewise.
22869 * malloc/mtrace.c (tr_break): Likewise.
22870 (mtrace): Likewise.
22871 (muntrace): Likewise.
22872 * misc/fstab.c (endfsent): Likewise.
22873 * misc/getclktck.c (__getclktck): Likewise.
22874 * misc/getdtsz.c (__getdtablesize): Likewise.
22875 * misc/gethostid.c (gethostid): Likewise.
22876 * misc/getpagesize.c (__getpagesize): Likewise.
22877 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22878 (__get_nprocs): Likewise.
22879 (__get_phys_pages): Likewise.
22880 (__get_avphys_pages): Likewise.
22881 * misc/getttyent.c (getttyent): Likewise.
22882 (setttyent): Likewise.
22883 (endttyent): Likewise.
22884 * misc/getusershell.c (getusershell): Likewise.
22885 (endusershell): Likewise.
22886 (setusershell): Likewise.
22887 (initshells): Likewise.
22888 * misc/hsearch.c (__hdestroy): Likewise.
22889 * misc/sync.c (sync): Likewise.
22890 * misc/syslog.c (closelog_internal): Likewise.
22891 (closelog): Likewise.
22892 * misc/ttyslot.c (ttyslot): Likewise.
22893 * misc/vhangup.c (vhangup): Likewise.
22894 * posix/fork.c (__fork): Likewise.
22895 * posix/getegid.c (__getegid): Likewise.
22896 * posix/geteuid.c (__geteuid): Likewise.
22897 * posix/getgid.c (__getgid): Likewise.
22898 * posix/getpid.c (__getpid): Likewise.
22899 * posix/getppid.c (__getppid): Likewise.
22900 * posix/getuid.c (__getuid): Likewise.
22901 * posix/pause.c (pause): Likewise.
22902 * posix/setpgrp.c (setpgrp): Likewise.
22903 * posix/setsid.c (__setsid): Likewise.
22904 * posix/test-vfork.c (noop): Likewise.
22905 * resolv/gethnamaddr.c (_endhtent): Likewise.
22906 (_gethtent): Likewise.
22907 (ht_endhostent): Likewise.
22908 (gethostent): Likewise.
22909 (dns_service): Likewise.
22910 * stdlib/drand48.c (drand48): Likewise.
22911 * stdlib/lrand48.c (lrand48): Likewise.
22912 * stdlib/mrand48.c (mrand48): Likewise.
22913 * stdlib/rand.c (rand): Likewise.
22914 * stdlib/random.c (__random): Likewise.
22915 * stdlib/setenv.c (clearenv): Likewise.
22916 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22917 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22918 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22919 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22920 (__get_nprocs): Likewise.
22921 (__get_phys_pages): Likewise.
22922 (__get_avphys_pages): Likewise.
22923 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22924 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22925 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22926 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22927 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22928 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22929 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22930 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22931 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22932 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22933 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22934 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22935 * sysdeps/posix/clock.c (clock): Likewise.
22936 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22937 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22938 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22939 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22940 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22942 (__get_nprocs_conf): Likewise.
22943 (__get_phys_pages): Likewise.
22944 (__get_avphys_pages): Likewise.
22945 * time/clock.c (clock): Likewise.
22946 * time/tzset.c (__tzname_max): Likewise.
22947
2e09a79a
JM
229482013-06-07 Joseph Myers <joseph@codesourcery.com>
22949
22950 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22951 (__bswap_32): Do not use "register".
22952 * crypt/crypt.c (_ufc_doit_r): Likewise.
22953 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22954 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22955 * gmon/gmon.c (__monstartup): Likewise.
22956 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22957 * hurd/hurdmalloc.c (more_memory): Likewise.
22958 (malloc): Likewise.
22959 (free): Likewise.
22960 (realloc): Likewise.
22961 (malloc_fork_prepare): Likewise.
22962 (malloc_fork_parent): Likewise.
22963 (malloc_fork_child): Likewise.
22964 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22965 (_svcauth_des): Likewise.
22966 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22967 * inet/inet_net.c (inet_network): Likewise.
22968 * inet/inet_netof.c (inet_netof): Likewise.
22969 * inet/rcmd.c (__validuser2_sa): Likewise.
22970 * io/fts.c (fts_open): Likewise.
22971 (fts_load): Likewise.
22972 (fts_close): Likewise.
22973 (fts_read): Likewise.
22974 (fts_children): Likewise.
22975 (fts_build): Likewise.
22976 (fts_stat): Likewise.
22977 (fts_sort): Likewise.
22978 (fts_alloc): Likewise.
22979 (fts_lfree): Likewise.
22980 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22981 (_IO_file_xsgetn): Likewise.
22982 (_IO_file_xsgetn_mmap): Likewise.
22983 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22984 (_IO_cookie_write): Likewise.
22985 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22986 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22987 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22988 * malloc/obstack.c (_obstack_begin): Likewise.
22989 (_obstack_begin_1): Likewise.
22990 (_obstack_newchunk): Likewise.
22991 (_obstack_allocated_p): Likewise.
22992 (obstack_free): Likewise.
22993 (_obstack_memory_used): Likewise.
22994 * misc/getttyent.c (getttynam): Likewise.
22995 (getttyent): Likewise.
22996 (skip): Likewise.
22997 (value): Likewise.
22998 * misc/getusershell.c (initshells): Likewise.
22999 * misc/syslog.c (__vsyslog_chk): Likewise.
23000 * misc/ttyslot.c (ttyslot): Likewise.
23001 * nis/nis_hash.c (__nis_hash): Likewise.
23002 * posix/fnmatch_loop.c (FCT): Likewise.
23003 * posix/getconf.c (print_all): Likewise.
23004 (main): Likewise.
23005 * posix/getopt.c (exchange): Likewise.
23006 * posix/glob.c (globfree): Likewise.
23007 (prefix_array): Likewise.
23008 (__glob_pattern_type): Likewise.
23009 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23010 (NS_GET32): Likewise.
23011 (NS_PUT16): Likewise.
23012 (NS_PUT32): Likewise.
23013 * resolv/gethnamaddr.c (getanswer): Likewise.
23014 (gethostbyname2): Likewise.
23015 (gethostbyaddr): Likewise.
23016 (_gethtent): Likewise.
23017 (_gethtbyname2): Likewise.
23018 (_gethtbyaddr): Likewise.
23019 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23020 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23021 * resolv/res_init.c (__res_vinit): Likewise.
23022 (net_mask): Likewise.
23023 * resolv/res_mkquery.c (outchar): Likewise.
23024 (PRINT): Likewise.
23025 * stdio-common/printf_fp.c (outchar): Likewise.
23026 (PRINT): Likewise.
23027 * stdio-common/printf_fphex.c (outchar): Likewise.
23028 (PRINT): Likewise.
23029 * stdio-common/printf_size.c (outchar): Likewise.
23030 (PRINT): Likewise.
23031 * stdio-common/test_rdwr.c (main): Likewise.
23032 * stdio-common/tfformat.c (matches): Likewise.
23033 * stdio-common/vfprintf.c (outchar): Likewise.
23034 (printf_unknown): Likewise.
23035 (buffered_vfprintf): Likewise.
23036 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23037 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23038 (ReadFile): Likewise.
23039 * stdlib/qsort.c (SWAP): Likewise.
23040 (_quicksort): Likewise.
23041 * stdlib/setenv.c (__add_to_environ): Likewise.
23042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23043 * stdlib/strtol_l.c (__strtol_l): Likewise.
23044 * stdlib/tst-strtod.c (main): Likewise.
23045 * stdlib/tst-strtol.c (main): Likewise.
23046 * stdlib/tst-strtoll.c (main): Likewise.
23047 * string/bits/string2.h (__strcmp_cc): Likewise.
23048 (__strcmp_cg): Likewise.
23049 (__strcspn_c1): Likewise.
23050 (__strcspn_c2): Likewise.
23051 (__strcspn_c3): Likewise.
23052 (__strspn_c1): Likewise.
23053 (__strspn_c2): Likewise.
23054 (__strspn_c3): Likewise.
23055 (__strsep_1c): Likewise.
23056 (__strsep_2c): Likewise.
23057 (__strsep_3c): Likewise.
23058 * string/memccpy.c (__memccpy): Likewise.
23059 * string/stpcpy.c (__stpcpy): Likewise.
23060 * string/strcmp.c (strcmp): Likewise.
23061 * string/strrchr.c (strrchr): Likewise.
23062 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23063 Likewise.
23064 * sysdeps/mach/hurd/getcwd.c
23065 (_hurd_canonicalize_directory_name_internal): Likewise.
23066 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23067 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23068 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23069 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23070 Likewise, in both definitions.
23071 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23072 definitions.
23073 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23074 64] (__bswap_64): Likewise.
23075 * time/test_time.c (main): Likewise.
23076 * time/tzfile.c (__tzfile_read): Likewise.
23077 (__tzfile_compute): Likewise.
23078 * time/tzset.c (__tzset_parse_tz): Likewise.
23079 (tzset_internal): Likewise.
23080 (compute_change): Likewise.
23081 * wcsmbs/wcscat.c (__wcscat): Likewise.
23082 * wcsmbs/wcschr.c (wcschr): Likewise.
23083 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23084 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23085 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23086 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23087 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23088 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23089 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23090 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23091 * wcsmbs/wmemset.c (wmemset): Likewise.
23092
9e54314b
JM
230932013-06-06 Joseph Myers <joseph@codesourcery.com>
23094
23095 * scripts/config.guess: Update to version 2013-05-16.
23096 * scripts/config.sub: Update to version 2013-04-24.
23097 * scripts/install-sh: Update to version 2011-11-20.07.
23098 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23099 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23100
350635a5
OB
231012013-06-06 Ondřej Bílka <neleai@seznam.cz>
23102
23103 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23104 * elf/sln.c: Likewise.
23105 * hurd/hurd/ioctl.h: Likewise.
23106 * hurd/hurdmalloc.c: Likewise.
23107 * hurd/xattr.c: Likewise.
23108 * include/shlib-compat.h: Likewise.
23109 * inet/ruserpass.c: Likewise.
23110 * libio/iofgets_u.c: Likewise.
23111 * libio/iofgetws_u.c: Likewise.
23112 * locale/programs/ld-identification.c: Likewise.
23113 * locale/programs/ld-time.c: Likewise.
23114 * mach/msg-destroy.c: Likewise.
23115 * nss/nss_files/files-netgrp.c: Likewise.
23116 * resolv/res_data.c: Likewise.
23117 * soft-fp/op-1.h: Likewise.
23118 * soft-fp/op-2.h: Likewise.
23119 * soft-fp/op-4.h: Likewise.
23120 * soft-fp/op-common.h: Likewise.
23121 * stdio-common/printf_fphex.c: Likewise.
23122 * stdlib/strtod_l.c: Likewise.
23123 * sunrpc/rpc/clnt.h: Likewise.
23124 * sysdeps/generic/framestate.c: Likewise.
23125 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23126 * sysdeps/i386/bsd-setjmp.S: Likewise.
23127 * sysdeps/i386/__longjmp.S: Likewise.
23128 * sysdeps/i386/setjmp.S: Likewise.
23129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23130 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23131 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23134 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23138 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23144 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23147 * sysdeps/ieee754/support.c: Likewise.
23148 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23149 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23150 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23151 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23152 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23153 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23154 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23155 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23156 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23157 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23158 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23159 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23160 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23161 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23162 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23163 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23164 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23166
44a988af
OB
231672013-06-05 Ondřej Bílka <neleai@seznam.cz>
23168
25506f09 23169 * posix/transbug.c: Remove executable mode.
44a988af 23170
9c84384c
JM
231712013-06-05 Joseph Myers <joseph@codesourcery.com>
23172
23173 * crypt/speeds.c: Remove trailing whitespace.
23174 * dlfcn/default.c: Likewise.
23175 * elf/ifuncdep2.c: Likewise.
23176 * elf/ifuncmain1.c: Likewise.
23177 * elf/ifuncmain1vis.c: Likewise.
23178 * elf/testobj.h: Likewise.
23179 * elf/tst-stackguard1.c: Likewise.
23180 * gmon/sys/gmon.h: Likewise.
23181 * hurd/hurdmsg.c: Likewise.
23182 * hurd/new-fd.c: Likewise.
23183 * hurd/ports-get.c: Likewise.
23184 * iconvdata/ibm1008_420.c: Likewise.
23185 * inet/tst-getni1.c: Likewise.
23186 * inet/tst-getni2.c: Likewise.
23187 * libio/ioungetc.c: Likewise.
23188 * libio/wfiledoalloc.c: Likewise.
23189 * manual/libm-err-tab.pl: Likewise.
23190 * math/w_dremf.c: Likewise.
23191 * misc/ftruncate.c: Likewise.
23192 * posix/bug-glob2.c: Likewise.
23193 * posix/tst-pcre.c: Likewise.
23194 * posix/wait4.c: Likewise.
23195 * resolv/README: Likewise.
23196 * resolv/res_debug.h: Likewise.
23197 * resolv/tst-inet_ntop.c: Likewise.
23198 * setjmp/bug269-setjmp.c: Likewise.
23199 * soft-fp/extended.h: Likewise.
23200 * soft-fp/op-1.h: Likewise.
23201 * soft-fp/op-2.h: Likewise.
23202 * soft-fp/op-4.h: Likewise.
23203 * soft-fp/op-8.h: Likewise.
23204 * soft-fp/testit.c: Likewise.
23205 * stdio-common/bug16.c: Likewise.
23206 * stdlib/random.c: Likewise.
23207 * sunrpc/rpcsvc/rquota.x: Likewise.
23208 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23214 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23219 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23224 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23226 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23227 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23229 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23230 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23237 * sysdeps/ieee754/s_lib_version.c: Likewise.
23238 * sysdeps/mach/hurd/check_fds.c: Likewise.
23239 * sysdeps/mach/hurd/getsockname.c: Likewise.
23240 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23241 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23242 * sysdeps/powerpc/bits/link.h: Likewise.
23243 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23244 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23245 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23246 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23247 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23248 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23249 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23250 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23251 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23252 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23253 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23254 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23255 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23256 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23257 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23258 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23260 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23261 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23262 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23263 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23264 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23266 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23269 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23273 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23274 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23277 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23278 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23279 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23280 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23281 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23282 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23283 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23284 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23285 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23286 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23287 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23288 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23289 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23290 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23291 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23292 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23297 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23298 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23299 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23303 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23304 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23305 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23306 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23307 * sysdeps/powerpc/sysdep.h: Likewise.
23308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23309 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23310 * sysdeps/sh/dl-trampoline.S: Likewise.
23311 * sysdeps/sh/memset.S: Likewise.
23312 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23313 * sysdeps/sh/strlen.S: Likewise.
23314 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23315 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23316 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23317 * sysdeps/sparc/sparc32/rem.S: Likewise.
23318 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23319 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23320 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23321 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23322 * sysdeps/sparc/sparc32/urem.S: Likewise.
23323 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23324 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23325 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23326 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23328 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23329 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23330 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23331 * sysdeps/unix/bsd/times.c: Likewise.
23332 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23333 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23337 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23338 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23339 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23341 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23342 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23343 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23344 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23345 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23346 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23347 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23348 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23349 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23350 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23351 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23352 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23353 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23354 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23355 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23356 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23357 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23358 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23359 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23360 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23361 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23362 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23363 * sysdeps/x86_64/strcspn.S: Likewise.
23364
869378a5
RA
233652013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23366
23367 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23368 generated file. Regenerate properly from gen-translit.pl.
23369 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23370 locale/C-translit.h.
23371
840e2943
AS
233722013-06-05 Andreas Schwab <schwab@suse.de>
23373
23374 [BZ #15100]
23375 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23376 week as 6 instead of -1.
23377 * time/tst-strptime.c (day_tests): Add test case.
23378
4c60cb0c
SP
233792013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23380
23381 * sysdeps/generic/math_private.h
23382 (libc_feholdexcept_setround_53bit): Replace with
23383 libc_feholdsetround_53bit.
23384 (libc_feupdateenv_53bit): Replace with
23385 libc_feresetround_53bit.
23386 (SET_RESTORE_ROUND_53BIT): Adjust.
23387
d180203e
SP
233882013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23389
96df079a
SP
23390 * string/test-strchrnul.c: Add copyright header.
23391
d180203e
SP
23392 * posix/tst-getaddrinfo4.c: Increase test timeout.
23393
8b0ccb2d
CD
233942013-06-03 Carlos O'Donell <carlos@redhat.com>
23395
23396 [BZ #15536]
23397 * math/libm-test.inc (MAX_EXP): Remove
23398 (MIN_EXP): Define.
23399 (ulp): Use MIN_EXP - MANT_DIG.
23400 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23401
3b3c4d40
CD
234022013-05-31 Carlos O'Donell <carlos@redhat.com>
23403
23404 * po/be.po: Revert last change.
23405 * po/zh_CN.po: Likewise.
23406 * po/header.pot: Likewise.
23407
fab7ce3f
JM
234082013-05-31 Joseph Myers <joseph@codesourcery.com>
23409
23410 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23411 link-libc-deps to empty as target-specific variable.
23412 * Makerules (link-libc-args): New variable.
23413 (libc-for-link): Likewise.
23414 (link-libc-deps): Likewise.
23415 (lib%.so): Depend on $(link-libc-deps). Link with
23416 $(link-libc-args).
23417 (build-module): Link with $(link-libc-args).
23418 (build-module-asneeded): Likewise.
23419 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23420 list of objects.
23421 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23422 target-specific variable.
23423 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23424 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23425 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23426 libc.
23427 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23428 libc and ld.so.
23429 ($(objpfx)libpcprofile.so): Likewise.
23430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23431 libc_nonshared.a.
23432 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23433 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23434 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23435 $(link-libc-deps).
23436 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23437 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23438 * login/Makefile ($(objpfx)libutil.so): Likewise.
23439 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23440 * math/Makefile ($(objpfx)libm.so): Likewise.
23441 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23442 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23443 variable instead of depending directly on libc.
23444 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23445 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23446 $(link-libc-deps).
23447 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23448 libc.
23449 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23450 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23451 ($(objpfx)libanl.so): Likewise.
23452 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23453 ld.so.
23454 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23455 $(link-libc-deps).
23456 * sysdeps/i386/fpu/Makefile: Remove file.
23457 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23458 ($(objpfx)libm.so): Remove dependency on ld.so.
23459
eca5920c
PF
234602013-05-30 Patsy Franklin <pfrankli@redhat.com>
23461
23462 [BZ # 15553]
23463 * nis/yp_xdr.c (XDRMAXNAME): Define.
23464 (XDRMAXRECORD): Define.
23465 (xdr_domainname): Use XDRMAXNAME.
23466 (xdr_mapname): Likewise.
23467 (xdr_peername): Likewise.
23468 (xdr_keydat): Use XDRMAXRECORD.
23469 (xdr_valdat): Likewise.
23470
234712013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23472
23473 [BZ #14256]
23474 * manual/errno.texi (ESTALE): Update to account for more than
23475 just NFS file systems.
23476 * sysdeps/gnu/errlist.c: Regenerated.
23477
b9375348
SP
234782013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23479
23480 [BZ #15465]
23481 * elf/Makefile (tests): Add tst-null-argv.
23482 (modules-names): Add tst-null-argv-lib.
23483 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23484 (tst-null-argv-ENV): Set environment for tst-null-argv.
23485 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23486 (RTLD_PROGNAME): New macro.
23487 * elf/tst-null-argv.c: New test case.
23488 * elf/tst-null-argv-lib.c: Library for test case.
23489 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23490 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23491 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23492 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23493 * elf/dl-init.c (call_init): Likewise.
23494 (_dl_init): Likewise.
23495 * elf/dl-load.c (print_search_path): Likewise.
23496 (_dl_map_object): Likewise.
23497 * elf/dl-lookup.c (do_lookup_x): Likewise.
23498 (add_dependency): Likewise.
23499 (_dl_lookup_symbol_x): Likewise.
23500 (_dl_debug_bindings): Likewise.
23501 * elf/dl-open.c (_dl_show_scope): Likewise.
23502 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23503 * elf/dl-version.c (match_symbol): Likewise.
23504 (_dl_check_map_versions): Likewise.
23505 * elf/rtld.c (dl_main): Likewise.
23506 (print_unresolved): Use RTLD_PROGNAME.
23507 (print_missing_version): Likewise.
23508 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23509 (elf_machine_rela): Likewise.
23510 * sysdeps/powerpc/powerpc32/dl-machine.c
23511 (__process_machine_rela): Likewise.
23512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23513 Likewise.
23514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23515 Likewise.
23516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23517 Likewise.
23518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23520 Likewise.
23521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23522 Likewise.
23523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23524
8a9f20c8
CD
235252013-05-28 Carlos O'Donell <carlos@redhat.com>
23526
23527 * po/be.po: Add descriptive title.
23528 * po/zh_CN.po: Likewise.
23529 * po/header.pot: Likewise.
23530
0e60d68e
MF
235312013-05-28 Mike Frysinger <vapier@gentoo.org>
23532
23533 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23534 error message.
23535 (enlarge_archive): Likewise.
23536
56b672e9
BN
235372013-05-28 Ben North <ben@redfrontdoor.org>
23538
23539 * manual/arith.texi (frexp): It is the magnitude of the return
23540 value which lies in [0.5, 1), not the return value itself.
23541
5e056687
AZ
235422013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23543
23544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23545
2b66ef5d
TS
235462013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23547
528c2405
TS
23548 * stdio-common/bug26.c (main): Correct fscanf template.
23549
07b4c13d
TS
23550 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23551 declare _dl_skip_args.
23552
ec9dd97c
TS
23553 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23554 Don't declare.
23555
2b66ef5d
TS
23556 * manual/platform.texi: Add missing @end deftypefun.
23557
4f8dfe27
JM
235582013-05-24 Joseph Myers <joseph@codesourcery.com>
23559
0323d086
JM
23560 [BZ #15529]
23561 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23562 bit of mantissa of 2^16382.
23563 * math/libm-test.inc (hypot_test_data): Add more tests.
23564
dd4259b9
JM
23565 * math/libm-test.inc: Add drem and pow10 to list of tested
23566 functions.
23567 (pow10_test): New function.
23568 (drem_test): Likewise.
23569 (drem_test_tonearest): Likewise.
23570 (drem_test_towardzero): Likewise.
23571 (drem_test_downward): Likewise.
23572 (drem_test_upward): Likewise.
23573 (main): Call the new functions.
23574
4f8dfe27
JM
23575 * math/libm-test.inc (finite_test_data): Remove.
23576 (finite_test): Run tests from isfinite_test_data.
23577 (gamma_test_data): Remove.
23578 (gamma_test): Run tests from lgamma_test_data.
23579 * sysdeps/i386/fpu/libm-test-ulps: Update.
23580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23581
d116b7c4
AZ
235822013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23583
23584 * manual/platform.texi: Add PowerPC PPR function set documentation.
23585 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23586 implementation.
23587
e96e3767
CD
235882013-05-24 Carlos O'Donell <carlos@redhat.com>
23589
23590 * math/libm-test.inc (MAX_EXP): Define.
23591 (ULPDIFF): Define.
23592 (ulp): New function.
23593 (check_float_internal): Use ULPDIFF.
23594 (cpow_test): Disable failing test.
23595 (check_ulp): Test ulp() implemetnation.
23596 (main): Call check_ulp before starting tests.
23597
b679a606
JM
235982013-05-24 Joseph Myers <joseph@codesourcery.com>
23599
e8bdba36
JM
23600 * math/gen-libm-test.pl (generate_testfile): Do not handle
23601 START_DATA and END_DATA.
23602 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23603 END_DATA.
23604 (acos_tonearest_test_data): Likewise.
23605 (acos_towardzero_test_data): Likewise.
23606 (acos_downward_test_data): Likewise.
23607 (acos_upward_test_data): Likewise.
23608 (acosh_test_data): Likewise.
23609 (asin_test_data): Likewise.
23610 (asin_tonearest_test_data): Likewise.
23611 (asin_towardzero_test_data): Likewise.
23612 (asin_downward_test_data): Likewise.
23613 (asin_upward_test_data): Likewise.
23614 (asinh_test_data): Likewise.
23615 (atan_test_data): Likewise.
23616 (atanh_test_data): Likewise.
23617 (atan2_test_data): Likewise.
23618 (cabs_test_data): Likewise.
23619 (cacos_test_data): Likewise.
23620 (cacosh_test_data): Likewise.
23621 (carg_test_data): Likewise.
23622 (casin_test_data): Likewise.
23623 (casinh_test_data): Likewise.
23624 (catan_test_data): Likewise.
23625 (catanh_test_data): Likewise.
23626 (cbrt_test_data): Likewise.
23627 (ccos_test_data): Likewise.
23628 (ccosh_test_data): Likewise.
23629 (ceil_test_data): Likewise.
23630 (cexp_test_data): Likewise.
23631 (cimag_test_data): Likewise.
23632 (clog_test_data): Likewise.
23633 (clog10_test_data): Likewise.
23634 (conj_test_data): Likewise.
23635 (copysign_test_data): Likewise.
23636 (cos_test_data): Likewise.
23637 (cos_tonearest_test_data): Likewise.
23638 (cos_towardzero_test_data): Likewise.
23639 (cos_downward_test_data): Likewise.
23640 (cos_upward_test_data): Likewise.
23641 (cosh_test_data): Likewise.
23642 (cosh_tonearest_test_data): Likewise.
23643 (cosh_towardzero_test_data): Likewise.
23644 (cosh_downward_test_data): Likewise.
23645 (cosh_upward_test_data): Likewise.
23646 (cpow_test_data): Likewise.
23647 (cproj_test_data): Likewise.
23648 (creal_test_data): Likewise.
23649 (csin_test_data): Likewise.
23650 (csinh_test_data): Likewise.
23651 (csqrt_test_data): Likewise.
23652 (ctan_test_data): Likewise.
23653 (ctan_tonearest_test_data): Likewise.
23654 (ctan_towardzero_test_data): Likewise.
23655 (ctan_downward_test_data): Likewise.
23656 (ctan_upward_test_data): Likewise.
23657 (ctanh_test_data): Likewise.
23658 (ctanh_tonearest_test_data): Likewise.
23659 (ctanh_towardzero_test_data): Likewise.
23660 (ctanh_downward_test_data): Likewise.
23661 (ctanh_upward_test_data): Likewise.
23662 (erf_test_data): Likewise.
23663 (erfc_test_data): Likewise.
23664 (exp_test_data): Likewise.
23665 (exp_tonearest_test_data): Likewise.
23666 (exp_towardzero_test_data): Likewise.
23667 (exp_downward_test_data): Likewise.
23668 (exp_upward_test_data): Likewise.
23669 (exp10_test_data): Likewise.
23670 (exp2_test_data): Likewise.
23671 (expm1_test_data): Likewise.
23672 (fabs_test_data): Likewise.
23673 (fdim_test_data): Likewise.
23674 (finite_test_data): Likewise.
23675 (floor_test_data): Likewise.
23676 (fma_test_data): Likewise.
23677 (fma_towardzero_test_data): Likewise.
23678 (fma_downward_test_data): Likewise.
23679 (fma_upward_test_data): Likewise.
23680 (fmax_test_data): Likewise.
23681 (fmin_test_data): Likewise.
23682 (fmod_test_data): Likewise.
23683 (fpclassify_test_data): Likewise.
23684 (frexp_test_data): Likewise.
23685 (gamma_test_data): Likewise.
23686 (hypot_test_data): Likewise.
23687 (ilogb_test_data): Likewise.
23688 (isfinite_test_data): Likewise.
23689 (isgreater_test_data): Likewise.
23690 (isgreaterequal_test_data): Likewise.
23691 (isinf_test_data): Likewise.
23692 (isless_test_data): Likewise.
23693 (islessequal_test_data): Likewise.
23694 (islessgreater_test_data): Likewise.
23695 (isnan_test_data): Likewise.
23696 (isnormal_test_data): Likewise.
23697 (issignaling_test_data): Likewise.
23698 (isunordered_test_data): Likewise.
23699 (j0_test_data): Likewise.
23700 (j1_test_data): Likewise.
23701 (jn_test_data): Likewise.
23702 (ldexp_test_data): Likewise.
23703 (lgamma_test_data): Likewise.
23704 (lrint_test_data): Likewise.
23705 (lrint_tonearest_test_data): Likewise.
23706 (lrint_towardzero_test_data): Likewise.
23707 (lrint_downward_test_data): Likewise.
23708 (lrint_upward_test_data): Likewise.
23709 (llrint_test_data): Likewise.
23710 (llrint_tonearest_test_data): Likewise.
23711 (llrint_towardzero_test_data): Likewise.
23712 (llrint_downward_test_data): Likewise.
23713 (llrint_upward_test_data): Likewise.
23714 (log_test_data): Likewise.
23715 (log10_test_data): Likewise.
23716 (log1p_test_data): Likewise.
23717 (log2_test_data): Likewise.
23718 (logb_test_data): Likewise.
23719 (logb_downward_test_data): Likewise.
23720 (lround_test_data): Likewise.
23721 (llround_test_data): Likewise.
23722 (modf_test_data): Likewise.
23723 (nearbyint_test_data): Likewise.
23724 (nextafter_test_data): Likewise.
23725 (nexttoward_test_data): Likewise.
23726 (pow_test_data): Likewise.
23727 (pow_tonearest_test_data): Likewise.
23728 (pow_towardzero_test_data): Likewise.
23729 (pow_downward_test_data): Likewise.
23730 (pow_upward_test_data): Likewise.
23731 (remainder_test_data): Likewise.
23732 (remainder_tonearest_test_data): Likewise.
23733 (remainder_towardzero_test_data): Likewise.
23734 (remainder_downward_test_data): Likewise.
23735 (remainder_upward_test_data): Likewise.
23736 (remquo_test_data): Likewise.
23737 (rint_test_data): Likewise.
23738 (rint_tonearest_test_data): Likewise.
23739 (rint_towardzero_test_data): Likewise.
23740 (rint_downward_test_data): Likewise.
23741 (rint_upward_test_data): Likewise.
23742 (round_test_data): Likewise.
23743 (scalb_test_data): Likewise.
23744 (scalbn_test_data): Likewise.
23745 (scalbln_test_data): Likewise.
23746 (signbit_test_data): Likewise.
23747 (sin_test_data): Likewise.
23748 (sin_tonearest_test_data): Likewise.
23749 (sin_towardzero_test_data): Likewise.
23750 (sin_downward_test_data): Likewise.
23751 (sin_upward_test_data): Likewise.
23752 (sincos_test_data): Likewise.
23753 (sinh_test_data): Likewise.
23754 (sinh_tonearest_test_data): Likewise.
23755 (sinh_towardzero_test_data): Likewise.
23756 (sinh_downward_test_data): Likewise.
23757 (sinh_upward_test_data): Likewise.
23758 (sqrt_test_data): Likewise.
23759 (tan_test_data): Likewise.
23760 (tan_tonearest_test_data): Likewise.
23761 (tan_towardzero_test_data): Likewise.
23762 (tan_downward_test_data): Likewise.
23763 (tan_upward_test_data): Likewise.
23764 (tanh_test_data): Likewise.
23765 (tgamma_test_data): Likewise.
23766 (trunc_test_data): Likewise.
23767 (y0_test_data): Likewise.
23768 (y1_test_data): Likewise.
23769 (yn_test_data): Likewise.
23770 (significand_test_data): Likewise.
23771
b679a606
JM
23772 * math/gen-libm-test.pl (@functions): Remove variable.
23773 (generate_testfile): Don't handle START and END lines.
23774 * math/libm-test.inc (START): New macro.
23775 (END): Likewise.
23776 (END_COMPLEX): Likewise.
23777 (acos_test): Use END macro without arguments.
23778 (acos_test_tonearest): Likewise.
23779 (acos_test_towardzero): Likewise.
23780 (acos_test_downward): Likewise.
23781 (acos_test_upward): Likewise.
23782 (acosh_test): Likewise.
23783 (asin_test): Likewise.
23784 (asin_test_tonearest): Likewise.
23785 (asin_test_towardzero): Likewise.
23786 (asin_test_downward): Likewise.
23787 (asin_test_upward): Likewise.
23788 (asinh_test): Likewise.
23789 (atan_test): Likewise.
23790 (atanh_test): Likewise.
23791 (atan2_test): Likewise.
23792 (cabs_test): Likewise.
23793 (cacos_test): Use END_COMPLEX macro without arguments.
23794 (cacosh_test): Likewise.
23795 (carg_test): Use END macro without arguments.
23796 (casin_test): Use END_COMPLEX macro without arguments.
23797 (casinh_test): Likewise.
23798 (catan_test): Likewise.
23799 (catanh_test): Likewise.
23800 (cbrt_test): Use END macro without arguments.
23801 (ccos_test): Use END_COMPLEX macro without arguments.
23802 (ccosh_test): Likewise.
23803 (ceil_test): Use END macro without arguments.
23804 (cexp_test): Use END_COMPLEX macro without arguments.
23805 (cimag_test): Use END macro without arguments.
23806 (clog_test): Use END_COMPLEX macro without arguments.
23807 (clog10_test): Likewise.
23808 (conj_test): Likewise.
23809 (copysign_test): Use END macro without arguments.
23810 (cos_test): Likewise.
23811 (cos_test_tonearest): Likewise.
23812 (cos_test_towardzero): Likewise.
23813 (cos_test_downward): Likewise.
23814 (cos_test_upward): Likewise.
23815 (cosh_test): Likewise.
23816 (cosh_test_tonearest): Likewise.
23817 (cosh_test_towardzero): Likewise.
23818 (cosh_test_downward): Likewise.
23819 (cosh_test_upward): Likewise.
23820 (cpow_test): Use END_COMPLEX macro without arguments.
23821 (cproj_test): Likewise.
23822 (creal_test): Use END macro without arguments.
23823 (csin_test): Use END_COMPLEX macro without arguments.
23824 (csinh_test): Likewise.
23825 (csqrt_test): Likewise.
23826 (ctan_test): Likewise.
23827 (ctan_test_tonearest): Likewise.
23828 (ctan_test_towardzero): Likewise.
23829 (ctan_test_downward): Likewise.
23830 (ctan_test_upward): Likewise.
23831 (ctanh_test): Likewise.
23832 (ctanh_test_tonearest): Likewise.
23833 (ctanh_test_towardzero): Likewise.
23834 (ctanh_test_downward): Likewise.
23835 (ctanh_test_upward): Likewise.
23836 (erf_test): Use END macro without arguments.
23837 (erfc_test): Likewise.
23838 (exp_test): Likewise.
23839 (exp_test_tonearest): Likewise.
23840 (exp_test_towardzero): Likewise.
23841 (exp_test_downward): Likewise.
23842 (exp_test_upward): Likewise.
23843 (exp10_test): Likewise.
23844 (exp2_test): Likewise.
23845 (expm1_test): Likewise.
23846 (fabs_test): Likewise.
23847 (fdim_test): Likewise.
23848 (finite_test): Likewise.
23849 (floor_test): Likewise.
23850 (fma_test): Likewise.
23851 (fma_test_towardzero): Likewise.
23852 (fma_test_downward): Likewise.
23853 (fma_test_upward): Likewise.
23854 (fmax_test): Likewise.
23855 (fmin_test): Likewise.
23856 (fmod_test): Likewise.
23857 (fpclassify_test): Likewise.
23858 (frexp_test): Likewise.
23859 (gamma_test): Likewise.
23860 (hypot_test): Likewise.
23861 (ilogb_test): Likewise.
23862 (isfinite_test): Likewise.
23863 (isgreater_test): Likewise.
23864 (isgreaterequal_test): Likewise.
23865 (isinf_test): Likewise.
23866 (isless_test): Likewise.
23867 (islessequal_test): Likewise.
23868 (islessgreater_test): Likewise.
23869 (isnan_test): Likewise.
23870 (isnormal_test): Likewise.
23871 (issignaling_test): Likewise.
23872 (isunordered_test): Likewise.
23873 (j0_test): Likewise.
23874 (j1_test): Likewise.
23875 (jn_test): Likewise.
23876 (ldexp_test): Likewise.
23877 (lgamma_test): Likewise.
23878 (lrint_test): Likewise.
23879 (lrint_test_tonearest): Likewise.
23880 (lrint_test_towardzero): Likewise.
23881 (lrint_test_downward): Likewise.
23882 (lrint_test_upward): Likewise.
23883 (llrint_test): Likewise.
23884 (llrint_test_tonearest): Likewise.
23885 (llrint_test_towardzero): Likewise.
23886 (llrint_test_downward): Likewise.
23887 (llrint_test_upward): Likewise.
23888 (log_test): Likewise.
23889 (log10_test): Likewise.
23890 (log1p_test): Likewise.
23891 (log2_test): Likewise.
23892 (logb_test): Likewise.
23893 (logb_test_downward): Likewise.
23894 (lround_test): Likewise.
23895 (llround_test): Likewise.
23896 (modf_test): Likewise.
23897 (nearbyint_test): Likewise.
23898 (nextafter_test): Likewise.
23899 (nexttoward_test): Likewise.
23900 (pow_test): Likewise.
23901 (pow_test_tonearest): Likewise.
23902 (pow_test_towardzero): Likewise.
23903 (pow_test_downward): Likewise.
23904 (pow_test_upward): Likewise.
23905 (remainder_test): Likewise.
23906 (remainder_test_tonearest): Likewise.
23907 (remainder_test_towardzero): Likewise.
23908 (remainder_test_downward): Likewise.
23909 (remainder_test_upward): Likewise.
23910 (remquo_test): Likewise.
23911 (rint_test): Likewise.
23912 (rint_test_tonearest): Likewise.
23913 (rint_test_towardzero): Likewise.
23914 (rint_test_downward): Likewise.
23915 (rint_test_upward): Likewise.
23916 (round_test): Likewise.
23917 (scalb_test): Likewise.
23918 (scalbn_test): Likewise.
23919 (scalbln_test): Likewise.
23920 (signbit_test): Likewise.
23921 (sin_test): Likewise.
23922 (sin_test_tonearest): Likewise.
23923 (sin_test_towardzero): Likewise.
23924 (sin_test_downward): Likewise.
23925 (sin_test_upward): Likewise.
23926 (sincos_test): Likewise.
23927 (sinh_test): Likewise.
23928 (sinh_test_tonearest): Likewise.
23929 (sinh_test_towardzero): Likewise.
23930 (sinh_test_downward): Likewise.
23931 (sinh_test_upward): Likewise.
23932 (sqrt_test): Likewise.
23933 (tan_test): Likewise.
23934 (tan_test_tonearest): Likewise.
23935 (tan_test_towardzero): Likewise.
23936 (tan_test_downward): Likewise.
23937 (tan_test_upward): Likewise.
23938 (tanh_test): Likewise.
23939 (tgamma_test): Likewise.
23940 (trunc_test): Likewise.
23941 (y0_test): Likewise.
23942 (y1_test): Likewise.
23943 (yn_test): Likewise.
23944 (significand_test): Likewise.
23945
bae143d2
OB
239462013-05-24 Ondřej Bílka <neleai@seznam.cz>
23947
23948 [BZ #15381]
23949 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23950
9323d39b
EM
239512013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23952
d4ea44a0 23953 [BZ #14894]
9323d39b
EM
23954 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23955 __ppc_mdoio and __ppc_mdoom.
23956 * manual/platform.texi: Document new functions __ppc_yield,
23957 __ppc_mdoio and __ppc_mdoom.
23958
13e23af7
CD
239592013-05-22 Carlos O'Donell <carlos@redhat.com>
23960
23961 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23962 (main): Mention "tls" pseudo-hwcap is legacy.
23963 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23964
351fe550
JM
239652013-05-22 Joseph Myers <joseph@codesourcery.com>
23966
23967 * math/gen-libm-test.pl (parse_args): Output only string of
23968 arguments as text for test name, not full call or descriptions of
23969 tests for extra outputs.
23970 (generate_testfile): Do not pass function name to parse_args.
23971 Generate this_func variable from START.
23972 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23973 field to arg_str.
23974 (struct test_ff_f_data): Likewise.
23975 (test_ff_f_data_nexttoward): Likewise.
23976 (struct test_fi_f_data): Likewise.
23977 (struct test_fl_f_data): Likewise.
23978 (struct test_if_f_data): Likewise.
23979 (struct test_fff_f_data): Likewise.
23980 (struct test_c_f_data): Likewise.
23981 (struct test_f_f1_data): Likewise. Remove field extra_name.
23982 (struct test_fF_f1_data): Likewise.
23983 (struct test_ffI_f1_data): Likewise.
23984 (struct test_c_c_data): Rename test_name field to arg_str.
23985 (struct test_cc_c_data): Likewise.
23986 (struct test_f_i_data): Likewise.
23987 (struct test_ff_i_data): Likewise.
23988 (struct test_f_l_data): Likewise.
23989 (struct test_f_L_data): Likewise.
23990 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23991 and extra2_name.
23992 (COMMON_TEST_SETUP): New macro.
23993 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23994 (COMMON_TEST_CLEANUP): Likewise.
23995 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23996 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23997 macros.
23998 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23999 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24000 macros.
24001 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24002 (RUN_TEST_fff_f): Take argument string. Call new setup and
24003 cleanup macros.
24004 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24005 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24006 macros.
24007 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24008 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24009 macros.
24010 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24011 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24012 cleanup macros.
24013 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24014 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24015 cleanup macros.
24016 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24017 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24018 cleanup macros.
24019 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24020 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24021 macros.
24022 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24023 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24024 macros.
24025 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24026 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24027 macros.
24028 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24029 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24030 cleanup macros.
24031 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24032 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24033 cleanup macros.
24034 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24035 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24036 macros.
24037 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24038 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24039 cleanup macros.
24040 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24041 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24042 macros.
24043 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24044 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24045 macros.
24046 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24047 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24048 cleanup macros.
24049 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24050
85118d4d
EBM
240512013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24052
24053 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24054 to _sifields.sigfault.
24055 (si_addr_lsb): Define new macro.
24056 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24058 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24059
7a44c18f
CD
240602013-05-03 Carlos O'Donell <carlos at redhat.com>
24061
24062 [BZ #15441]
24063 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24064 returns -1.
24065 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24066 null return -1.
24067 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24068 loading the domain.
24069
b50a7181
JM
240702013-05-22 Joseph Myers <joseph@codesourcery.com>
24071
24072 * math/gen-libm-test.pl (parse_args): Do not include expected
24073 result in test name.
24074 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24077 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24080
051063c8
SP
240812013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24082
3ce9e010
SP
24083 * benchtests/Makefile: Sort function entries.
24084
051063c8
SP
24085 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24086 tanh, asinh, acosh, atanh.
24087 * benchtests/acos-inputs: New file.
24088 * benchtests/acosh-inputs: New file.
24089 * benchtests/asin-inputs: New file.
24090 * benchtests/asinh-inputs: New file.
24091 * benchtests/atanh-inputs: New file.
24092 * benchtests/cosh-inputs: New file.
24093 * benchtests/log-inputs: New file.
24094 * benchtests/sinh-inputs: New file.
24095 * benchtests/tanh-inputs: New file.
24096
47c22455
DL
240972013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24098
24099 [BZ #15339]
24100 * posix/tst-getaddrinfo4.c: New test.
24101 * posix/Makefile (tests): Add it.
24102
3d04f5db
SP
241032013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24104
24105 [BZ #15339]
24106 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24107 when no services were used.
24108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24109 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24110
d5dd6189
AS
241112013-05-21 Andreas Schwab <schwab@suse.de>
24112
24113 [BZ #15014]
24114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24115 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24116 successful.
24117 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24118 redundant variable declarations and reallocation of buffer when
24119 parsing as IPv6 address. Always set NSS status when called from
24120 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24121 buffer too small. Correct computation of needed size.
24122 * nss/Makefile (tests): Add test-digits-dots.
24123 * nss/test-digits-dots.c: New test.
24124
fef94eab
SP
241252013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24126
24127 * benchtests/Makefile: Remove instructions for adding
24128 benchmark tests.
24129 * benchtests/README: New file to explain how to execute and
24130 enhance the benchmark tests.
24131
e39adf43
AS
241322013-05-21 Andreas Schwab <schwab@suse.de>
24133
24134 [BZ #15493]
24135 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24136 * setjmp/tst-sigsetjmp.c: New test.
24137
b2b671b6
OB
241382013-05-20 Ondřej Bílka <neleai@seznam.cz>
24139
24140 * sysdeps/x86_64/memset.S (memset): New implementation.
24141 (__bzero): Likewise.
24142 (__memset_tail): New function.
24143
2d48b41c
OB
241442013-05-20 Ondřej Bílka <neleai@seznam.cz>
24145
24146 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24147 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24148 __memcpy_sse2_unaligned ifunc selection.
24149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24150 Add memcpy-sse2-unaligned.S.
24151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24152 Add: __memcpy_sse2_unaligned.
24153
f16cc3eb
JM
241542013-05-19 Joseph Myers <joseph@codesourcery.com>
24155
3e694268
JM
24156 [BZ #15490]
24157 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24158 math_force_eval before restoring floating-point envrionment.
24159 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24161 Likewise.
24162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24163 <math_private.h>.
24164 (__nearbyintl): Use math_force_eval before restoring
24165 floating-point environment.
24166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24167
db62a907
JM
24168 * math/gen-libm-test.pl (special_functions): Remove.
24169 (parse_args): Don't handle TEST_extra. Handle functions with no
24170 return value.
24171 * math/libm-test.inc (struct test_sincos_data): Replace with
24172 struct test_fFF_11_data.
24173 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24174 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24175 (sincos_test_data): Change element type to struct
24176 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24177 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24178 RUN_TEST_LOOP_sincos.
24179 * math/README.libm-test: Don't mention special handling of
24180 individual functions.
24181 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24187
f16cc3eb
JM
24188 * math/gen-libm-test.pl (get_variable): Remove function.
24189 (parse_args): Don't show pointer parameters to call in test
24190 names. Use "extra output N" in test names for extra outputs
24191 rather than naming variables.
24192
3779b5b6
JM
241932013-05-18 Joseph Myers <joseph@codesourcery.com>
24194
2ee094ff
JM
24195 [BZ #15488]
24196 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24197 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24198 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24199 double tests.
24200 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24201 disable.
24202 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24203 check_long_double.
24204
3779b5b6
JM
24205 * math/gen-libm-test.pl (@tests): Remove variable.
24206 ($count): Likewise.
24207 (new_test): Remove function.
24208 (show_exceptions): New function.
24209 (special_functions): Use show_exceptions instead of new_test.
24210 (parse_args): Likewise.
24211 (generate_testfile): Pass only function name in generated call to
24212 print_max_error or print_complex_max_error.
24213 (get_ulps): Do not handle complex tests specially.
24214 (output_test): Rename to ...
24215 (get_all_ulps_for_test): ... this. Return a string rather than
24216 printing to a file. Require ulps to be present.
24217 (output_ulps): Generate arrays rather than #defines.
24218 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24219 (struct ulp_data): New type.
24220 (BUILD_COMPLEX_ULP): Remove macro.
24221 (compare_ulp_data): New function.
24222 (find_ulps): Likewise.
24223 (find_test_ulps): Likewise.
24224 (find_function_ulps): Likewise.
24225 (find_complex_function_ulps): Likewise.
24226 (print_max_error): Determine allowed ulps using
24227 find_function_ulps.
24228 (print_complex_max_error): Determine allowed ulps using
24229 find_complex_function_ulps.
24230 (check_float_internal): Determine max ulps using find_test_ulps.
24231 (check_float): Do not take max_ulp parameter. Update call to
24232 check_float_internal.
24233 (check_complex): Likewise.
24234 (check_int): Do not take max_ulp parameter.
24235 (check_long): Likewise.
24236 (check_bool): Likewise.
24237 (check_longlong): Likewise.
24238 (struct test_f_f_data): Remove max_ulp field.
24239 (struct test_ff_f_data): Likewise.
24240 (struct test_ff_f_data_nexttoward): Likewise.
24241 (struct test_fi_f_data): Likewise.
24242 (struct test_fl_f_data): Likewise.
24243 (struct test_if_f_data): Likewise.
24244 (struct test_fff_f_data): Likewise.
24245 (struct test_c_f_data): Likewise.
24246 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24247 (struct test_fF_f1_data): Likewise.
24248 (struct test_ffI_f1_data): Likewise.
24249 (struct test_c_c_data): Remove max_ulp field.
24250 (struct test_cc_c_data): Likewise.
24251 (struct test_f_i_data): Likewise.
24252 (struct test_ff_i_data): Likewise.
24253 (struct test_f_l_data): Likewise.
24254 (struct test_f_L_data): Likewise.
24255 (struct test_sincos_data): Likewise.
24256 (RUN_TEST_f_f): Do not handle ulps.
24257 (RUN_TEST_LOOP_f_f): Likewise.
24258 (RUN_TEST_2_f): Likewise.
24259 (RUN_TEST_LOOP_2_f): Likewise.
24260 (RUN_TEST_fff_f): Likewise.
24261 (RUN_TEST_LOOP_fff_f): Likewise.
24262 (RUN_TEST_c_f): Likewise.
24263 (RUN_TEST_LOOP_c_f): Likewise.
24264 (RUN_TEST_f_f1): Likewise.
24265 (RUN_TEST_LOOP_f_f1): Likewise.
24266 (RUN_TEST_fF_f1): Likewise.
24267 (RUN_TEST_LOOP_fF_f1): Likewise.
24268 (RUN_TEST_fI_f1): Likewise.
24269 (RUN_TEST_LOOP_fI_f1): Likewise.
24270 (RUN_TEST_ffI_f1): Likewise.
24271 (RUN_TEST_LOOP_ffI_f1): Likewise.
24272 (RUN_TEST_c_c): Likewise.
24273 (RUN_TEST_LOOP_c_c): Likewise.
24274 (RUN_TEST_cc_c): Likewise.
24275 (RUN_TEST_LOOP_cc_c): Likewise.
24276 (RUN_TEST_f_i): Likewise.
24277 (RUN_TEST_LOOP_f_i): Likewise.
24278 (RUN_TEST_f_i_tg): Likewise.
24279 (RUN_TEST_LOOP_f_i_tg): Likewise.
24280 (RUN_TEST_ff_i_tg): Likewise.
24281 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24282 (RUN_TEST_f_b): Likewise.
24283 (RUN_TEST_LOOP_f_b): Likewise.
24284 (RUN_TEST_f_b_tg): Likewise.
24285 (RUN_TEST_LOOP_f_b_tg): Likewise.
24286 (RUN_TEST_f_l): Likewise.
24287 (RUN_TEST_LOOP_f_l): Likewise.
24288 (RUN_TEST_f_L): Likewise.
24289 (RUN_TEST_LOOP_f_L): Likewise.
24290 (RUN_TEST_sincos): Likewise.
24291 (RUN_TEST_LOOP_sincos): Likewise.
24292
8269107f
JM
242932013-05-17 Joseph Myers <joseph@codesourcery.com>
24294
bb38759d
JM
24295 [BZ #15480]
24296 [BZ #15485]
24297 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24298 main case of finite arguments, set rounding mode to FE_TONEAREST
24299 and discard exceptions.
24300 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24301 exceptions.
24302 (remainder_tonearest_test_data): New variable.
24303 (remainder_test_tonearest): New function.
24304 (remainder_towardzero_test_data): New variable.
24305 (remainder_test_towardzero): New function.
24306 (remainder_downward_test_data): New variable.
24307 (remainder_test_downward): New function.
24308 (remainder_upward_test_data): New variable.
24309 (remainder_test_upward): New function.
24310 (main): Call the new test functions.
24311
a00bdcf0
JM
24312 * math/libm-test.inc (struct test_f_f1_data): Remove field
24313 extra_init.
24314 (struct test_fF_f1_data): Likewise.
24315 (struct test_ffI_f1_data): Likewise.
24316 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24317 based on value of EXTRA_EXPECTED.
24318 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24319 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24320 EXTRA_VAR based on value of EXTRA_EXPECTED.
24321 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24322 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24323 EXTRA_VAR based on value of EXTRA_EXPECTED.
24324 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24325 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24326 EXTRA_VAR based on value of EXTRA_EXPECTED.
24327 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24328 * math/gen-libm-test.pl (parse_args): Don't output initializers
24329 for extra output values.
24330
de407f79
JM
24331 * math/libm-test.inc (check_int): Expect result to be exactly
24332 equal to expected value and do not handle ulps.
24333 (check_long): Likewise.
24334 (check_longlong): Likewise.
24335
8269107f
JM
24336 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24337 exceptions.
24338 (cimag_test_data): Likewise.
24339 (conj_test_data): Likewise.
24340 (copysign_test_data): Likewise.
24341 (cproj_test_data): Likewise.
24342 (creal_test_data): Likewise.
24343 (fabs_test_data): Likewise.
24344 (fdim_test_data): Likewise.
24345 (finite_test_data): Likewise.
24346 (floor_test_data): Likewise.
24347 (fmax_test_data): Likewise.
24348 (fmin_test_data): Likewise.
24349 (fmod_test_data): Likewise.
24350 (fpclassify_test_data): Likewise.
24351 (frexp_test_data): Likewise.
24352 (ilogb_test_data): Likewise.
24353 (isfinite_test_data): Likewise.
24354 (isgreater_test_data): Likewise.
24355 (isgreaterequal_test_data): Likewise.
24356 (isinf_test_data): Likewise.
24357 (isless_test_data): Likewise.
24358 (islessequal_test_data): Likewise.
24359 (islessgreater_test_data): Likewise.
24360 (isnan_test_data): Likewise.
24361 (isnormal_test_data): Likewise.
24362 (issignaling_test_data): Likewise.
24363 (isunordered_test_data): Likewise.
24364 (ldexp_test_data): Likewise.
24365 (lrint_test_data): Likewise.
24366 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24367 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24368 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24369 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24370 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24371 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24372 test input.
24373 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24374 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24375 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24376 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24377 that test input.
24378 (lrint_downward_test_data): Test for "inexact" exceptions.
24379 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24380 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24381 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24382 test input.
24383 (lrint_upward_test_data): Test for "inexact" exceptions.
24384 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24385 test input.
24386 (llrint_test_data): Test for "inexact" exceptions.
24387 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24388 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24389 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24390 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24391 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24392 (llrint_downward_test_data): Test for "inexact" exceptions.
24393 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24394 (llrint_upward_test_data): Test for "inexact" exceptions.
24395 (logb_test_data): Likewise.
24396 (logb_downward_test_data): Likewise.
24397 (nextafter_test_data): Likewise.
24398 (nexttoward_test_data): Likewise.
24399 (remainder_test_data): Likewise.
24400 (remquo_test_data): Likewise.
24401 (scalbn_test_data): Likewise.
24402 (scalbln_test_data): Likewise.
24403 (signbit_test_data): Likewise.
24404 (sqrt_test_data): Likewise.
24405 (significand_test_data): Likewise.
24406
48a18de1
SP
244072013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24408
24409 [BZ #15424]
24410 * benchtests/bench-modf.c (struct args): Mark arg0 as
24411 volatile.
24412 * scripts/bench.pl: Mark members of struct args as volatile.
24413
13d3b41a
AZ
244142013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24415
68191c1d 24416 [BZ # 15497]
13d3b41a
AZ
24417 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24418 negative infinity on POWER6 or lower.
24419 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24420
2848b105
MR
244212013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24422
24423 [BZ #15442]
24424 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24425 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24426 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24427 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24428 (_FP_SETQNAN): New macro.
24429 (_FP_SETQNAN_SEMIRAW): Likewise.
24430 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24431 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24432 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24433 (FP_EXTEND): Use _FP_FRAC_SNANP.
24434 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24435 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24436 into account.
24437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24438 New macro.
24439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24440 Likewise.
24441
323e5cb7
JM
244422013-05-16 Joseph Myers <joseph@codesourcery.com>
24443
c58b274f
JM
24444 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24445 with DIVIDE_BY_ZERO_EXCEPTION.
24446 (gamma_test_data): Likewise.
24447 (lgamma_test_data): Likewise.
24448 (log_test_data): Likewise.
24449 (log10_test_data): Likewise.
24450 (log2_test_data): Likewise.
24451 (tgamma_test_data): Likewise.
24452
0ab34904
JM
24453 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24454 (acos_test_tonearest): Likewise.
24455 (acos_test_towardzero): Likewise.
24456 (acos_test_downward): Likewise.
24457 (acos_test_upward): Likewise.
24458 (acosh_test): Likewise.
24459 (asin_test): Likewise.
24460 (asin_test_tonearest): Likewise.
24461 (asin_test_towardzero): Likewise.
24462 (asin_test_downward): Likewise.
24463 (asin_test_upward): Likewise.
24464 (asinh_test): Likewise.
24465 (atan_test): Likewise.
24466 (atanh_test): Likewise.
24467 (atan2_test): Likewise.
24468 (cabs_test): Likewise.
24469 (cacos_test): Likewise.
24470 (cacosh_test): Likewise.
24471 (casin_test): Likewise.
24472 (casinh_test): Likewise.
24473 (catan_test): Likewise.
24474 (catanh_test): Likewise.
24475 (cbrt_test): Likewise.
24476 (ccos_test): Likewise.
24477 (ccosh_test): Likewise.
24478 (cexp_test): Likewise.
24479 (clog_test): Likewise.
24480 (clog10_test): Likewise.
24481 (cos_test): Likewise.
24482 (cos_test_tonearest): Likewise.
24483 (cos_test_towardzero): Likewise.
24484 (cos_test_downward): Likewise.
24485 (cos_test_upward): Likewise.
24486 (cosh_test): Likewise.
24487 (cosh_test_tonearest): Likewise.
24488 (cosh_test_towardzero): Likewise.
24489 (cosh_test_downward): Likewise.
24490 (cosh_test_upward): Likewise.
24491 (cpow_test): Likewise.
24492 (csin_test): Likewise.
24493 (csinh_test): Likewise.
24494 (csqrt_test): Likewise.
24495 (ctan_test): Likewise.
24496 (ctan_test_tonearest): Likewise.
24497 (ctan_test_towardzero): Likewise.
24498 (ctan_test_downward): Likewise.
24499 (ctan_test_upward): Likewise.
24500 (ctanh_test): Likewise.
24501 (ctanh_test_tonearest): Likewise.
24502 (ctanh_test_towardzero): Likewise.
24503 (ctanh_test_downward): Likewise.
24504 (ctanh_test_upward): Likewise.
24505 (erf_test): Likewise.
24506 (erfc_test): Likewise.
24507 (exp_test): Likewise.
24508 (exp_test_tonearest): Likewise.
24509 (exp_test_towardzero): Likewise.
24510 (exp_test_downward): Likewise.
24511 (exp_test_upward): Likewise.
24512 (exp10_test): Likewise.
24513 (exp2_test): Likewise.
24514 (expm1_test): Likewise.
24515 (fmod_test): Likewise.
24516 (gamma_test): Likewise.
24517 (hypot_test): Likewise.
24518 (j0_test): Likewise.
24519 (j1_test): Likewise.
24520 (jn_test): Likewise.
24521 (lgamma_test): Likewise.
24522 (log_test): Likewise.
24523 (log10_test): Likewise.
24524 (log1p_test): Likewise.
24525 (log2_test): Likewise.
24526 (logb_test_downward): Likewise.
24527 (pow_test): Likewise.
24528 (pow_test_tonearest): Likewise.
24529 (pow_test_towardzero): Likewise.
24530 (pow_test_downward): Likewise.
24531 (pow_test_upward): Likewise.
24532 (remainder_test): Likewise.
24533 (remquo_test): Likewise.
24534 (sin_test): Likewise.
24535 (sin_test_tonearest): Likewise.
24536 (sin_test_towardzero): Likewise.
24537 (sin_test_downward): Likewise.
24538 (sin_test_upward): Likewise.
24539 (sincos_test): Likewise.
24540 (sinh_test): Likewise.
24541 (sinh_test_tonearest): Likewise.
24542 (sinh_test_towardzero): Likewise.
24543 (sinh_test_downward): Likewise.
24544 (sinh_test_upward): Likewise.
24545 (sqrt_test): Likewise.
24546 (tan_test): Likewise.
24547 (tan_test_tonearest): Likewise.
24548 (tan_test_towardzero): Likewise.
24549 (tan_test_downward): Likewise.
24550 (tan_test_upward): Likewise.
24551 (tanh_test): Likewise.
24552 (tgamma_test): Likewise.
24553 (y0_test): Likewise.
24554 (y1_test): Likewise.
24555 (yn_test): Likewise.
24556
323e5cb7
JM
24557 * math/gen-libm-test.pl (adjust_arg): Remove function.
24558 (special_function): Remove argument $in_func. Only handle
24559 generating output for tables of tests, not inside functions.
24560 (parse_args): Likewise.
24561 (generate_testfile): Remove variable $in_func. Update call to
24562 parse_args.
24563 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24564 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24565 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24566 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24567 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24568 (MAX_VALUE_INIT): Rename macro to max_value.
24569 (MIN_VALUE_INIT): Rename macro to min_value.
24570 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24571 (plus_zero): Remove variable.
24572 (minus_zero): Likewise.
24573 (plus_infty): Likewise.
24574 (minus_infty): Likewise.
24575 (qnan_value): Likewise.
24576 (max_value): Likewise.
24577 (min_value): Likewise.
24578 (min_subnorm_value): Likewise.
24579
e054f494
RA
245802013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24581
24582 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24583 uint64_t or uint32_t usage.
24584 * crypt/sha256-block.c: Likewise.
24585 * crypt/sha256-crypt.c: Likewise.
24586 * crypt/sha256.c: Likewise.
24587 * crypt/sha512-block.c: Likewise.
24588 * crypt/sha512-crypt.c: Likewise.
24589 * crypt/sha512.c: Likewise.
24590 * debug/backtrace-tst.c: Likewise.
24591 * debug/pcprofiledump.c: Likewise.
24592 * elf/cache.c: Likewise.
24593 * elf/dl-cache.c: Likewise.
24594 * elf/dl-misc.c: Likewise.
24595 * elf/dl-profile.c: Likewise.
24596 * elf/dl-support.c: Likewise.
24597 * elf/ldconfig.c: Likewise.
24598 * elf/sprof.c: Likewise.
24599 * iconv/dummy-repertoire.c: Likewise.
24600 * iconv/iconv_charmap.c: Likewise.
24601 * iconv/skeleton.c: Likewise.
24602 * iconvdata/8bit-generic.c: Likewise.
24603 * iconvdata/cp737.h: Likewise.
24604 * iconvdata/cp775.h: Likewise.
24605 * iconvdata/ibm1008.h: Likewise.
24606 * iconvdata/ibm1025.h: Likewise.
24607 * iconvdata/ibm1046.h: Likewise.
24608 * iconvdata/ibm1097.h: Likewise.
24609 * iconvdata/ibm1112.h: Likewise.
24610 * iconvdata/ibm1122.h: Likewise.
24611 * iconvdata/ibm1123.h: Likewise.
24612 * iconvdata/ibm1124.h: Likewise.
24613 * iconvdata/ibm1129.h: Likewise.
24614 * iconvdata/ibm1130.h: Likewise.
24615 * iconvdata/ibm1132.h: Likewise.
24616 * iconvdata/ibm1133.h: Likewise.
24617 * iconvdata/ibm1137.h: Likewise.
24618 * iconvdata/ibm1140.h: Likewise.
24619 * iconvdata/ibm1141.h: Likewise.
24620 * iconvdata/ibm1142.h: Likewise.
24621 * iconvdata/ibm1143.h: Likewise.
24622 * iconvdata/ibm1144.h: Likewise.
24623 * iconvdata/ibm1145.h: Likewise.
24624 * iconvdata/ibm1146.h: Likewise.
24625 * iconvdata/ibm1147.h: Likewise.
24626 * iconvdata/ibm1148.h: Likewise.
24627 * iconvdata/ibm1149.h: Likewise.
24628 * iconvdata/ibm1153.h: Likewise.
24629 * iconvdata/ibm1154.h: Likewise.
24630 * iconvdata/ibm1155.h: Likewise.
24631 * iconvdata/ibm1156.h: Likewise.
24632 * iconvdata/ibm1157.h: Likewise.
24633 * iconvdata/ibm1158.h: Likewise.
24634 * iconvdata/ibm1160.h: Likewise.
24635 * iconvdata/ibm1161.h: Likewise.
24636 * iconvdata/ibm1162.h: Likewise.
24637 * iconvdata/ibm1163.h: Likewise.
24638 * iconvdata/ibm1164.h: Likewise.
24639 * iconvdata/ibm1166.h: Likewise.
24640 * iconvdata/ibm1167.h: Likewise.
24641 * iconvdata/ibm12712.h: Likewise.
24642 * iconvdata/ibm1390.h: Likewise.
24643 * iconvdata/ibm1399.h: Likewise.
24644 * iconvdata/ibm16804.h: Likewise.
24645 * iconvdata/ibm4517.h: Likewise.
24646 * iconvdata/ibm4899.h: Likewise.
24647 * iconvdata/ibm4909.h: Likewise.
24648 * iconvdata/ibm4971.h: Likewise.
24649 * iconvdata/ibm5347.h: Likewise.
24650 * iconvdata/ibm803.h: Likewise.
24651 * iconvdata/ibm856.h: Likewise.
24652 * iconvdata/ibm901.h: Likewise.
24653 * iconvdata/ibm902.h: Likewise.
24654 * iconvdata/ibm9030.h: Likewise.
24655 * iconvdata/ibm9066.h: Likewise.
24656 * iconvdata/ibm921.h: Likewise.
24657 * iconvdata/ibm922.h: Likewise.
24658 * iconvdata/ibm9448.h: Likewise.
24659 * iconvdata/isiri-3342.h: Likewise.
24660 * iconvdata/jis0201.h: Likewise.
24661 * include/link.h: Likewise.
24662 * include/netdb.h: Likewise.
24663 * inet/check_native.c: Likewise.
24664 * inet/check_pf.c: Likewise.
24665 * inet/getipv4sourcefilter.c: Likewise.
24666 * inet/getnameinfo.c: Likewise.
24667 * inet/getsourcefilter.c: Likewise.
24668 * inet/htonl.c: Likewise.
24669 * inet/setipv4sourcefilter.c: Likewise.
24670 * inet/setsourcefilter.c: Likewise.
24671 * inet/test-inet6_opt.c: Likewise.
24672 * inet/tst-network.c: Likewise.
24673 * locale/C-collate.c: Likewise.
24674 * locale/C-ctype.c: Likewise.
24675 * locale/C-time.c: Likewise.
24676 * locale/C-translit.h: Likewise.
24677 * locale/loadarchive.c: Likewise.
24678 * locale/programs/3level.h: Likewise.
24679 * locale/programs/charmap.c: Likewise.
24680 * locale/programs/charmap.h: Likewise.
24681 * locale/programs/ld-address.c: Likewise.
24682 * locale/programs/ld-collate.c: Likewise.
24683 * locale/programs/ld-ctype.c: Likewise.
24684 * locale/programs/ld-identification.c: Likewise.
24685 * locale/programs/ld-measurement.c: Likewise.
24686 * locale/programs/ld-messages.c: Likewise.
24687 * locale/programs/ld-monetary.c: Likewise.
24688 * locale/programs/ld-name.c: Likewise.
24689 * locale/programs/ld-numeric.c: Likewise.
24690 * locale/programs/ld-paper.c: Likewise.
24691 * locale/programs/ld-telephone.c: Likewise.
24692 * locale/programs/ld-time.c: Likewise.
24693 * locale/programs/linereader.c: Likewise.
24694 * locale/programs/locale.c: Likewise.
24695 * locale/programs/locarchive.c: Likewise.
24696 * locale/programs/locfile.h: Likewise.
24697 * locale/programs/repertoire.c: Likewise.
24698 * locale/programs/simple-hash.c: Likewise.
24699 * locale/programs/simple-hash.h: Likewise.
24700 * malloc/memusage.c: Likewise.
24701 * malloc/memusagestat.c: Likewise.
24702 * nis/nis_defaults.c: Likewise.
24703 * nis/nis_hash.c: Likewise.
24704 * nis/nis_print.c: Likewise.
24705 * nis/nis_xdr.c: Likewise.
24706 * nscd/connections.c: Likewise.
24707 * nscd/hstcache.c: Likewise.
24708 * nscd/nscd_gethst_r.c: Likewise.
24709 * nscd/nscd_getserv_r.c: Likewise.
24710 * nscd/nscd_helper.c: Likewise.
24711 * nscd/servicescache.c: Likewise.
24712 * nss/makedb.c: Likewise.
24713 * nss/nss_db/db-XXX.c: Likewise.
24714 * nss/nss_db/db-initgroups.c: Likewise.
24715 * nss/nss_db/db-netgrp.c: Likewise.
24716 * nss/nss_files/files-network.c: Likewise.
24717 * nss/nss_files/files-parse.c: Likewise.
24718 * posix/bug-regex5.c: Likewise.
24719 * posix/fnmatch_loop.c: Likewise.
24720 * posix/regcomp.c: Likewise.
24721 * posix/regexec.c: Likewise.
24722 * posix/tst-rfc3484-2.c: Likewise.
24723 * posix/tst-rfc3484-3.c: Likewise.
24724 * posix/tst-rfc3484.c: Likewise.
24725 * resolv/nss_dns/dns-canon.c: Likewise.
24726 * resolv/nss_dns/dns-network.c: Likewise.
24727 * resolv/res_init.c: Likewise.
24728 * resolv/res_mkquery.c: Likewise.
24729 * resolv/tst-aton.c: Likewise.
24730 * stdlib/cxa_atexit.c: Likewise.
24731 * stdlib/cxa_finalize.c: Likewise.
24732 * stdlib/gen-fpioconst.c: Likewise.
24733 * stdlib/strtol_l.c: Likewise.
24734 * string/tst-endian.c: Likewise.
24735 * sunrpc/auth_des.c: Likewise.
24736 * sunrpc/clnt_udp.c: Likewise.
24737 * sunrpc/rtime.c: Likewise.
24738 * sunrpc/svcauth_des.c: Likewise.
24739 * sunrpc/xdr.c: Likewise.
24740 * sunrpc/xdr_intXX_t.c: Likewise.
24741 * sunrpc/xdr_rec.c: Likewise.
24742 * sysdeps/generic/ldconfig.h: Likewise.
24743 * sysdeps/generic/ldsodefs.h: Likewise.
24744 * sysdeps/generic/memusage.h: Likewise.
24745 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24747 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24755 * sysdeps/posix/getaddrinfo.c: Likewise.
24756 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24757 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24758 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24759 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24760 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24761 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24762 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24763 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24764 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24765 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24766 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24767 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24768 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24769 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24770 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24771 * sysdeps/x86_64/dl-tls.h: Likewise.
24772 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24773 * time/alt_digit.c: Likewise.
24774 * time/era.c: Likewise.
24775 * wcsmbs/tst-c16c32-1.c: Likewise.
24776
8c75f674
JM
247772013-05-16 Joseph Myers <joseph@codesourcery.com>
24778
24779 * math/libm-test.inc (struct test_sincos_data): New type.
24780 (RUN_TEST_LOOP_sincos): New macro.
24781 (sincos_test_data): New variable.
24782 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24783
e6e49e59
RH
247842013-05-16 Richard Henderson <rth@redhat.com>
24785
24786 * math/atest-exp2.c (LIMB64): New macro.
24787 (CONSTSZ): New macro.
24788 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24789 (hexdig): Move ...
24790 (print_mpn_fp): ... to function scope.
24791 (read_mpn_hex): Remove.
24792 (get_log2): Remove.
24793 (exp2_mpn): Use mp_log2.
24794 (main): Use mp_exp1.
24795
15c7c18d
JM
247962013-05-16 Joseph Myers <joseph@codesourcery.com>
24797
105a07df
JM
24798 * math/libm-test.inc: Remove comment about not testing "inexact"
24799 exceptions.
24800 (INEXACT_EXCEPTION): New macro.
24801 (NO_INEXACT_EXCEPTION): Likewise.
24802 (INVALID_EXCEPTION_OK): Update value.
24803 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24804 (OVERFLOW_EXCEPTION_OK): Likewise.
24805 (UNDERFLOW_EXCEPTION_OK): Likewise.
24806 (IGNORE_ZERO_INF_SIGN): Likewise.
24807 (ERRNO_UNCHANGED): Likewise.
24808 (ERRNO_EDOM): Likewise.
24809 (ERRNO_ERANGE): Likewise.
24810 (test_exceptions): Handle testing "inexact" exceptions.
24811 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24812 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24813 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24814 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24815 INEXACT_EXCEPTION.
24816 (rint_towardzero_test_data): Likewise.
24817 (rint_downward_test_data): Likewise.
24818 (rint_upward_test_data): Likewise.
24819
e9eee333
JM
24820 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24821 with OVERFLOW_EXCEPTION.
24822 (exp10_test_data): Likewise.
24823 (exp2_test_data): Likewise.
24824 (expm1_test_data): Likewise.
24825 (lgamma_test_data): Likewise.
24826 (pow_test_data): Likewise.
24827 (tgamma_test_data): Likewise.
24828 (yn_test_data): Remove duplicate test of overflow.
24829
1c38ff73
JM
24830 * math/libm-test.inc (struct test_cc_c_data): New type.
24831 (RUN_TEST_LOOP_cc_c): New macro.
24832 (cpow_test_data): New variable.
24833 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24834
15c7c18d
JM
24835 * math/libm-test.inc (struct test_f_L_data): New type.
24836 (RUN_TEST_LOOP_f_L): New macro.
24837 (llrint_test_data): New variable.
24838 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24839 (llrint_tonearest_test_data): New variable.
24840 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24841 (llrint_towardzero_test_data): New variable.
24842 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24843 (llrint_downward_test_data): New variable.
24844 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24845 (llrint_upward_test_data): New variable.
24846 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24847 (llround_test_data): New variable.
24848 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24849
f137ff13
PC
248502013-05-13 Peter Collingbourne <pcc@google.com>
24851
24852 * math/atest-exp2.c (get_log2): Remove const attribute.
24853
3608cb24
JM
248542013-05-15 Joseph Myers <joseph@codesourcery.com>
24855
24856 * math/libm-test.inc (struct test_f_l_data): New type.
24857 (RUN_TEST_LOOP_f_l): New macro.
24858 (lrint_test_data): New variable.
24859 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24860 (lrint_tonearest_test_data): New variable.
24861 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24862 (lrint_towardzero_test_data): New variable.
24863 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24864 (lrint_downward_test_data): New variable.
24865 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24866 (lrint_upward_test_data): New variable.
24867 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24868 (lround_test_data): New variable.
24869 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24870
39b1f617
PC
248712013-05-15 Peter Collingbourne <pcc@google.com>
24872
1deff3dc
PC
24873 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24874 (EXTRACT_WORDS64) Use where appropriate.
24875 (INSERT_WORDS64) Likewise.
24876
791f3ba0
PC
24877 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24878 constraints with x constraints.
24879 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24880
39b1f617
PC
24881 * malloc/obstack.c (_obstack_compat): Add initializer.
24882
12fba011
EM
248832013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24884
24885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24886 si_trapno and add si_addr_lsb to _sifields.sigfault.
24887 (si_trapno): Remove macro.
24888 (si_addr_lsb): Define new macro.
24889 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24890
d369f531
JM
248912013-05-15 Joseph Myers <joseph@codesourcery.com>
24892
b861c6c4
JM
24893 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24894 instead of TEST_f_l.
24895 (llrint_test_tonearest): Likewise.
24896 (llrint_test_towardzero): Likewise.
24897 (llrint_test_downward): Likewise.
24898 (llrint_test_upward): Likewise.
24899 (llround_test): Likewise.
24900
7abeee12
JM
24901 * math/libm-test.inc (struct test_f_i_data): Add comment.
24902 (RUN_TEST_LOOP_f_b): New macro.
24903 (RUN_TEST_LOOP_f_b_tg): Likewise.
24904 (finite_test_data): New variable.
24905 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24906 (isfinite_test_data): New variable.
24907 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24908 (isinf_test_data): New variable.
24909 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24910 (isnan_test_data): New variable.
24911 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24912 (isnormal_test_data): New variable.
24913 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24914 (issignaling_test_data): New variable.
24915 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24916 (signbit_test_data): New variable.
24917 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24918
cbe8c4d3
JM
24919 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24920 with INVALID_EXCEPTION.
24921 (acosh_test_data): Likewise.
24922 (asin_test_data): Likewise.
24923 (atanh_test_data): Likewise.
24924 (fmod_test_data): Likewise.
24925 (log_test_data): Likewise.
24926 (log10_test_data): Likewise.
24927 (log2_test_data): Likewise.
24928 (pow_test_data): Likewise.
24929 (sqrt_test_data): Likewise.
24930 (y0_test_data): Likewise.
24931 (y1_test_data): Likewise.
24932 (yn_test_data): Likewise.
24933
5575c0e5
JM
24934 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24935 function contents.
24936
d369f531
JM
24937 * math/libm-test.inc (struct test_ff_i_data): New type.
24938 (RUN_TEST_LOOP_ff_i_tg): New macro.
24939 (isgreater_test_data): New variable.
24940 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24941 (isgreaterequal_test_data): New variable.
24942 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24943 (isless_test_data): New variable.
24944 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24945 (islessequal_test_data): New variable.
24946 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24947 (islessgreater_test_data): New variable.
24948 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24949 (isunordered_test_data): New variable.
24950 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24951
781fd748
DM
249522013-05-14 David S. Miller <davem@davemloft.net>
24953
24954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24955
87aa21df
JM
249562013-05-14 Joseph Myers <joseph@codesourcery.com>
24957
5e908270
JM
24958 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24959
f71172e5
JM
24960 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24961 extra_test to int.
24962 (struct test_f_i_data): Change type of max_ulp to int.
24963
8cfa635a
JM
24964 * math/libm-test.inc (test_ffI_f1_data): New type.
24965 (RUN_TEST_LOOP_ffI_f1): New macro.
24966 (remquo_test_data): New variable.
24967 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24968
2bcb36b2
JM
24969 * setjmp/tst-setjmp-fp.c: New file.
24970 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24971 (link-libm): New variable.
24972 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24973
acbd839a
JM
24974 * math/libm-test.inc (struct test_f_i_data): New type.
24975 (RUN_TEST_LOOP_f_i): New macro.
24976 (RUN_TEST_LOOP_f_i_tg): Likewise.
24977 (fpclassify_test_data): New variable.
24978 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24979 (ilogb_test_data): New variable.
24980 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24981
e414d745
JM
24982 * math/libm-test.inc (scalbln_test): Correct function name in END
24983 call.
24984
d9c2a0fd
JM
24985 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24986 (RUN_TEST_LOOP_fI_f1): New macro.
24987 (frexp_test_data): New variable.
24988 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24989
9dc9095d
JM
24990 * math/libm-test.inc (struct test_fF_f1_data): New type.
24991 (RUN_TEST_LOOP_fF_f1): New macro.
24992 (modf_test_data): New variable.
24993 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24994
87aa21df
JM
24995 * math/libm-test.inc (struct test_f_f1_data): New type.
24996 (RUN_TEST_LOOP_f_f1): New macro.
24997 (gamma_test_data): New variable.
24998 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24999 (lgamma_test_data): New variable.
25000 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25001
141af660
CD
250022013-05-13 Carlos O'Donell <carlos@redhat.com>
25003
25004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25005 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25006 (main): Comment "tls" pseudo-hwcap.
25007
6d33265c
JM
250082013-05-13 Joseph Myers <joseph@codesourcery.com>
25009
68fc074c
JM
25010 * math/libm-test.inc (struct test_fl_f_data): New type.
25011 (RUN_TEST_LOOP_fl_f): New variable.
25012 (scalbln_test_data): New variable.
25013 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25014
243216e1
JM
25015 * math/libm-test.inc (struct test_fi_f_data): New type.
25016 (RUN_TEST_LOOP_fi_f): New macro.
25017 (ldexp_test_data): New variable.
25018 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25019 (scalbn_test_data): New variable.
25020 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25021
6a1992e2
JM
25022 * math/libm-test.inc (struct test_c_f_data): New type.
25023 (RUN_TEST_LOOP_c_f): New macro.
25024 (cabs_test_data): New variable.
25025 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25026 (carg_test_data): New variable.
25027 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25028 (cimag_test_data): New variable.
25029 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25030 (creal_test_data): New variable.
25031 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25032
0e400df5
JM
25033 * math/libm-test.inc (struct test_if_f_data): New type.
25034 (RUN_TEST_LOOP_if_f): New macro.
25035 (jn_test_data): New variable.
25036 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25037 (yn_test_data): New variable.
25038 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25039
6d33265c
JM
25040 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25041
f98ece5f
AZ
250422013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25043
25044 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25045 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25046
0f7d347b
SP
250472013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25048
43fe811b
SP
25049 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25050 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25051 (bench-deps): Add bench-timing.h.
25052 * benchtests-bench-skeleton.c: Include bench-timing.h.
25053 (main): Use TIMING_* macros instead of clock_gettime.
25054 * benchtests/bench-timing.h: New file.
25055
0f7d347b
SP
25056 [BZ #14582]
25057 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25058 Renamed from _LIB_VERSION.
25059 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25060
601a3a5f
JM
250612013-05-12 Joseph Myers <joseph@codesourcery.com>
25062
4f184d30
JM
25063 * math/libm-test.inc (struct test_fff_f_data): New type.
25064 (RUN_TEST_LOOP_fff_f): New macro.
25065 (fma_test_data): New variable.
25066 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25067 (fma_towardzero_test_data): New variable.
25068 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25069 (fma_downward_test_data): New variable.
25070 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25071 (fma_upward_test_data): New variable.
25072 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25073
08198877
JM
25074 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25075 (struct test_c_c_data): New type.
25076 (RUN_TEST_LOOP_c_c): New macro.
25077 (cacos_test_data): New variable.
25078 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25079 (cacosh_test_data): New variable.
25080 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25081 (casin_test_data): New variable.
25082 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25083 (casinh_test_data): New variable.
25084 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25085 (catan_test_data): New variable.
25086 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25087 (catanh_test_data): New variable.
25088 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25089 (ccos_test_data): New variable.
25090 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25091 (ccosh_test_data): New variable.
25092 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25093 (cexp_test_data): New variable.
25094 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25095 (clog_test_data): New variable.
25096 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25097 (clog10_test_data): New variable.
25098 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25099 (conj_test_data): New variable.
25100 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25101 (cproj_test_data): New variable.
25102 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25103 (csin_test_data): New variable.
25104 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25105 (csinh_test_data): New variable.
25106 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25107 (csqrt_test_data): New variable.
25108 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25109 (ctan_test_data): New variable.
25110 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25111 (ctan_tonearest_test_data): New variable.
25112 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25113 (ctan_towardzero_test_data): New variable.
25114 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25115 (ctan_downward_test_data): New variable.
25116 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25117 (ctan_upward_test_data): New variable.
25118 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25119 (ctanh_test_data): New variable.
25120 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25121 (ctanh_tonearest_test_data): New variable.
25122 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25123 (ctanh_towardzero_test_data): New variable.
25124 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25125 (ctanh_downward_test_data): New variable.
25126 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25127 (ctanh_upward_test_data): New variable.
25128 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25129 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25130 of BUILD_COMPLEX.
25131
601a3a5f
JM
25132 * math/libm-test.inc (struct test_ff_f_data): New type.
25133 (struct test_ff_f_data_nexttoward): Likewise.
25134 (RUN_TEST_LOOP_2_f): New macro.
25135 (RUN_TEST_LOOP_ff_f): Likewise.
25136 (atan2_test_data): New variable.
25137 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25138 (copysign_test_data): New variable.
25139 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25140 (fdim_test_data): New variable.
25141 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25142 (fmax_test_data): New variable.
25143 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25144 (fmin_test_data): New variable.
25145 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25146 (fmod_test_data): New variable.
25147 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25148 (hypot_test_data): New variable.
25149 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25150 (nextafter_test_data): New variable.
25151 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25152 (nexttoward_test_data): New variable.
25153 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25154 (pow_test_data): New variable.
25155 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25156 (pow_tonearest_test_data): New variable.
25157 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25158 (pow_towardzero_test_data): New variable.
25159 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25160 (pow_downward_test_data): New variable.
25161 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25162 (pow_upward_test_data): New variable.
25163 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25164 (remainder_test_data): New variable.
25165 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25166 (scalb_test_data): New variable.
25167 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25168 * sysdeps/i386/fpu/libm-test-ulps: Update.
25169
74c57478
JM
251702013-05-11 Joseph Myers <joseph@codesourcery.com>
25171
8329e4da
JM
25172 * math/libm-test.inc (fma_test): Use max_value instead of local
25173 variable fltmax.
25174 (nextafter_test): Likewise.
25175
74c57478
JM
25176 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25177 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25178 (acos_downward_test_data): New variable.
25179 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25180 (acos_upward_test_data): New variable.
25181 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25182 (acosh_test_data): New variable.
25183 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25184 (asin_test_data): New variable.
25185 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25186 (asin_tonearest_test_data): New variable.
25187 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25188 (asin_towardzero_test_data): New variable.
25189 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25190 (asin_downward_test_data): New variable.
25191 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25192 (asin_upward_test_data): New variable.
25193 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25194 (asinh_test_data): New variable.
25195 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25196 (atan_test_data): New variable.
25197 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25198 (atanh_test_data): New variable.
25199 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25200 (cbrt_test_data): New variable.
25201 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25202 (ceil_test_data): New variable.
25203 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25204 (cos_test_data): New variable.
25205 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25206 (cos_tonearest_test_data): New variable.
25207 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25208 (cos_towardzero_test_data): New variable.
25209 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25210 (cos_downward_test_data): New variable.
25211 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25212 (cos_upward_test_data): New variable.
25213 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25214 (cosh_test_data): New variable.
25215 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25216 (cosh_tonearest_test_data): New variable.
25217 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25218 (cosh_towardzero_test_data): New variable.
25219 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25220 (cosh_downward_test_data): New variable.
25221 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25222 (cosh_upward_test_data): New variable.
25223 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25224 (erf_test_data): New variable.
25225 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25226 (erfc_test_data): New variable.
25227 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25228 (exp_test_data): New variable.
25229 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25230 (exp_tonearest_test_data): New variable.
25231 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25232 (exp_towardzero_test_data): New variable.
25233 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25234 (exp_downward_test_data): New variable.
25235 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25236 (exp_upward_test_data): New variable.
25237 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25238 (exp10_test_data): New variable.
25239 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25240 (exp2_test_data): New variable.
25241 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25242 (expm1_test_data): New variable.
25243 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25244 (fabs_test_data): New variable.
25245 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25246 (floor_test_data): New variable.
25247 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25248 (j0_test_data): New variable.
25249 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25250 (j1_test_data): New variable.
25251 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25252 (log_test_data): New variable.
25253 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25254 (log10_test_data): New variable.
25255 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25256 (log1p_test_data): New variable.
25257 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25258 (log2_test_data): New variable.
25259 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25260 (logb_test_data): New variable.
25261 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25262 (logb_downward_test_data): New variable.
25263 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25264 (nearbyint_test_data): New variable.
25265 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25266 (rint_test_data): New variable.
25267 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25268 (rint_tonearest_test_data): New variable.
25269 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25270 (rint_towardzero_test_data): New variable.
25271 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25272 (rint_downward_test_data): New variable.
25273 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25274 (rint_upward_test_data): New variable.
25275 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25276 (round_test_data): New variable.
25277 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25278 (sin_test_data): New variable.
25279 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25280 (sin_tonearest_test_data): New variable.
25281 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25282 (sin_towardzero_test_data): New variable.
25283 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25284 (sin_downward_test_data): New variable.
25285 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25286 (sin_upward_test_data): New variable.
25287 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25288 (sinh_test_data): New variable.
25289 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25290 (sinh_tonearest_test_data): New variable.
25291 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25292 (sinh_towardzero_test_data): New variable.
25293 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25294 (sinh_downward_test_data): New variable.
25295 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25296 (sinh_upward_test_data): New variable.
25297 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25298 (sqrt_test_data): New variable.
25299 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25300 (tan_test_data): New variable.
25301 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25302 (tan_tonearest_test_data): New variable.
25303 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25304 (tan_towardzero_test_data): New variable.
25305 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25306 (tan_downward_test_data): New variable.
25307 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25308 (tan_upward_test_data): New variable.
25309 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25310 (tanh_test_data): New variable.
25311 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25312 (tgamma_test_data): New variable.
25313 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25314 (trunc_test_data): New variable.
25315 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25316 (y0_test_data): New variable.
25317 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25318 (y1_test_data): New variable.
25319 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25320 (significand_test_data): New variable.
25321 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25322
7187d844
CG
253232013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25324
25325 [BZ #12387]
25326 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25327
f63fae73
PT
253282013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25329
25330 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25331
8a67a4b3
AJ
253322013-05-10 Andreas Jaeger <aj@suse.de>
25333
25334 [BZ #15448]
25335 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25336 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25337
51df539d
JM
253382013-05-10 Joseph Myers <joseph@codesourcery.com>
25339
25340 * math/gen-libm-test.pl (adjust_arg): New function.
25341 (special_functions): Handle generating output in both functions
25342 and arrays.
25343 (parse_args): Likewise.
25344 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25345 $in_func argument to parse_args.
25346 * math/libm-test.inc (struct test_f_f_data): New type.
25347 (IF_ROUND_INIT_): New macro.
25348 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25349 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25350 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25351 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25352 (ROUND_RESTORE_): Likewise.
25353 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25354 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25355 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25356 (ROUND_RESTORE_FE_UPWARD): Likewise.
25357 (RUN_TEST_LOOP_f_f): New macro.
25358 (acos_test_data): New variable.
25359 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25360 (acos_tonearest_test_data): New variable.
25361 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25362
5c637fe5
SP
253632013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25364
25365 * benchtests/bench-skeleton.c (startup): Fix coding style.
25366
ab2b9461
JM
253672013-05-10 Joseph Myers <joseph@codesourcery.com>
25368
25369 [BZ #6809]
25370 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25371 negative infinity argument.
25372 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25373 negative infinity argument.
25374 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25375 negative infinity argument.
25376 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25377 domain errors.
25378
4c0fe6fe
FW
253792013-05-10 Florian Weimer <fweimer@redhat.com>
25380
25381 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25382 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25383 * iconv/iconv_prog.c (main): Likewise.
25384 * locale/programs/charmap-dir.c (charmap_readdir)
25385 (fopen_uncompressed): Likewise.
25386 * locale/programs/locfile.c (siblings_uncached)
25387 (write_locale_data): Use lstat64 instead of lstat.
25388 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25389 stat.
25390
a3375d29
AJ
253912013-05-10 Andreas Jaeger <aj@suse.de>
25392
25393 [BZ #15395]
25394 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25395 localization.
25396 Include <locale.h>.
25397
36129722
CD
253982013-05-09 Carlos O'Donell <carlos@redhat.com>
25399
25400 * elf/dl-close.c (_dl_close_worker): Add comments.
25401
faa7f811
JM
254022013-05-09 Joseph Myers <joseph@codesourcery.com>
25403
ed41ffef
JM
25404 [BZ #15359]
25405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25406 high part of pi/2.
25407 (__ieee754_rem_pio2l): Update comments.
25408
d0213cd0
JM
25409 [BZ #15429]
25410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25411 high part of pi/2.
25412 (__ieee754_rem_pio2l): Update comments.
25413
0d3e777a
JM
25414 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25415 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25416
24f56066
JM
25417 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25418 M_PI_4l.
25419
faa7f811
JM
25420 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25421 (M_PI_34_LOG10El): Likewise.
25422 (M_PI2_LOG10El): Likewise.
25423 (M_PI4_LOG10El): Likewise.
25424 (M_PI_LOG10El): Likewise.
25425
e9a5e0fd
AZ
254262013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25427
25428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25429
d8cd06db
JM
254302013-05-08 Joseph Myers <joseph@codesourcery.com>
25431
a0d9f9d7
JM
25432 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25433 (MINUS_ZERO_INIT): Likewise.
25434 (PLUS_INFTY_INIT): Likewise.
25435 (MINUS_INFTY_INIT): Likewise.
25436 (QNAN_VALUE_INIT): Likewise.
25437 (MAX_VALUE_INIT): Likewise.
25438 (MIN_VALUE_INIT): Likewise.
25439 (MIN_SUBNORM_VALUE_INIT): Likewise.
25440 (plus_zero): Initialize with PLUS_ZERO_INIT.
25441 (minus_zero): Initialize with MINUS_ZERO_INIT.
25442 (plus_infty): Initialize with PLUS_INFTY_INIT.
25443 (minus_infty): Initialize with MINUS_INFTY_INIT.
25444 (qnan_value): Initialize with QNAN_VALUE_INIT.
25445 (max_value): Initialize with MAX_VALUE_INIT.
25446 (min_value): Initialize with MIN_VALUE_INIT.
25447 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25448
ae08db3b
JM
25449 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25450 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25451 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25452 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25453
f44bf14a
JM
25454 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25455 (RUN_TEST_2_f): Likewise.
25456 (RUN_TEST_ff_f): Likewise.
25457 (RUN_TEST_fi_f): Likewise.
25458 (RUN_TEST_fl_f): Likewise.
25459 (RUN_TEST_fff_f): Likewise.
25460 (RUN_TEST_c_f): Likewise.
25461 (RUN_TEST_f_f1): Likewise.
25462 (RUN_TEST_fF_f1): Likewise.
25463 (RUN_TEST_fI_f1): Likewise.
25464 (RUN_TEST_ffI_f1): Likewise.
25465 (RUN_TEST_c_c): Likewise.
25466 (RUN_TEST_cc_c): Likewise.
25467 (RUN_TEST_f_i): Likewise.
25468 (RUN_TEST_f_i_tg): Likewise.
25469 (RUN_TEST_ff_i_tg): Likewise.
25470 (RUN_TEST_f_b): Likewise.
25471 (RUN_TEST_f_b_tg): Likewise.
25472 (RUN_TEST_f_l): Likewise.
25473 (RUN_TEST_f_L): Likewise.
25474 (RUN_TEST_sincos): Likewise.
25475 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25476 whether to show exceptions. Do not include ");\n" in return
25477 value.
25478 (special_functions): Output call to RUN_TEST_sincos instead of
25479 check_float calls. Update calls to new_test.
25480 (parse_args): Output call to single RUN_TEST_* macro instead of
25481 check_* calls and other assignments. Update calls to new_test.
25482
d8cd06db
JM
25483 [BZ #2546]
25484 [BZ #2560]
25485 [BZ #5159]
25486 [BZ #15426]
25487 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25488 input to result for tgamma overflow.
25489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25490 (gamma_coeff): New variable.
25491 (NCOEFF): New macro.
25492 (gamma_positive): New function.
25493 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25494 underflow here. Use gamma_positive instead of exp (lgamma) for
25495 other arguments.
25496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25497 (gamma_coeff): New variable.
25498 (NCOEFF): New macro.
25499 (gammaf_positive): New function.
25500 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25501 underflow here. Use gamma_positive instead of exp (lgamma) for
25502 other arguments.
25503 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25504 (gamma_coeff): New variable.
25505 (NCOEFF): New macro.
25506 (gammal_positive): New function.
25507 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25508 underflow here. Use gamma_positive instead of exp (lgamma) for
25509 other arguments.
25510 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25511 (gamma_coeff): New variable.
25512 (NCOEFF): New macro.
25513 (gammal_positive): New function.
25514 (__ieee754_gammal_r): Handle positive infinity, overflow and
25515 underflow here. Handle NaN the same as positive infinity. Remove
25516 check x < 0xffffffff for negative integers. Use gamma_positive
25517 instead of exp (lgamma) for other arguments.
25518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25519 (gamma_coeff): New variable.
25520 (NCOEFF): New macro.
25521 (gammal_positive): New function.
25522 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25523 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25527 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25528 * sysdeps/generic/math_private.h (__gamma_productf): New
25529 prototype.
25530 (__gamma_product): Likewise.
25531 (__gamma_productl): Likewise.
25532 * math/Makefile (libm-calls): Add gamma_product.
25533 * math/libm-test.inc (tgamma_test): Add more tests.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25536
bb7cf681
OB
255372013-05-08 Ondřej Bílka <neleai@seznam.cz>
25538
25539 * benchtests/bench-skeleton.c (main): Preheat CPU.
25540
ba853947
AJ
255412013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25542
25543 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25544
8347c74c
RM
255452013-05-07 Roland McGrath <roland@hack.frob.com>
25546
25547 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25548 and _dl_skip_args_internal.
25549
e8dd4791
CD
255502013-05-07 Carlos O'Donell <carlos@redhat.com>
25551
25552 * manual/message.texi (Message Translation): Talk about users.
25553 Message to key mapping impacts design.
25554
c7405830
RM
255552013-05-06 Roland McGrath <roland@hack.frob.com>
25556
a9173057
RM
25557 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25558
976e2f03
RM
25559 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25560
9723ffc5
RM
25561 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25562 * sysdeps/wordsize-64/glob64.c: ... here.
25563
962e6658
RM
25564 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25565 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25566 New macros.
25567
ee586a6d
RM
25568 * debug/getlogin_r_chk.c: Moved to ...
25569 * login/getlogin_r_chk.c: ... here.
25570 * debug/Makefile (routines): Move getlogin_r_chk to ...
25571 * login/Makefile (routines): ... here.
25572 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25573 * login/Versions (libc: GLIBC_2.4): ... here.
25574
355f9165
RM
25575 * io/poll.c (__poll): Renamed from poll.
25576 Add libc_hidden_def.
25577 (poll): Define as weak alias.
25578
bd9ffde6
RM
25579 * debug/ptsname_r_chk.c: Moved to ...
25580 * login/ptsname_r_chk.c: ... here.
25581 * debug/Makefile (routines): Move ptsname_r_chk to ...
25582 * login/Makefile (routines): ... here.
25583 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25584 * login/Versions (libc: GLIBC_2.4): ... here.
25585
8fb16a04
RM
25586 * posix/getlogin.c: Moved to ...
25587 * login/getlogin.c: ... here.
25588 * posix/getlogin_r.c: Moved to ...
25589 * login/getlogin_r.c: ... here.
25590 * posix/getlogin_r.c: Moved to ...
25591 * login/getlogin_r.c: ... here.
25592 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25593 * login/Makefile (routines): ... here.
25594 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25595 * login/Versions (libc: GLIBC_2.0): ... here.
25596
b99b892f
RM
25597 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25598 (setrlimit): Define as weak alias.
25599
c7405830
RM
25600 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25601 Call __ names for open, ftruncate, and close.
25602 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25603 (truncate): Define as weak alias.
25604
5bf96de5
JM
256052013-05-06 Joseph Myers <joseph@codesourcery.com>
25606
9ea3513c
JM
25607 * math/gen-libm-test.pl (parse_args): Initialize x before each
25608 test of frexp, modf and remquo.
25609
5bf96de5
JM
25610 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25611 test signgam value.
25612
16e616a7
AZ
256132013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25614
25615 [BZ #15418]
25616 [BZ #15419]
25617 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25618 internal tests.
25619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25620
d5e82754
RM
256212013-05-06 Roland McGrath <roland@hack.frob.com>
25622
25623 * elf/dl-writev.h: New file.
25624 * elf/dl-misc.c: Include it.
25625 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25626 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25627
a7548d41
JM
256282013-05-04 Joseph Myers <joseph@codesourcery.com>
25629
b7dab1e4
JM
25630 * math/libm-test.inc (noXFails): Remove variable.
25631 (noXPasses): Likewise.
25632 (BUILD_COMPLEX_INT): Remove macro.
25633 (print_screen): Remove xfail argument.
25634 (print_screen_max_error): Likewise.
25635 (update_stats): Likewise.
25636 (print_max_error): Likewise. Update calls to other affected
25637 functions.
25638 (print_complex_max_error): Likewise.
25639 (test_single_exception): Update calls to print_screen.
25640 (test_single_errno): Likewise.
25641 (check_float_internal): Remove xfail argument. Update calls to
25642 other affected functions.
25643 (check_float): Likewise.
25644 (check_complex): Likewise.
25645 (check_int): Likewise.
25646 (check_long): Likewise.
25647 (check_bool): Likewise.
25648 (check_longlong): Likewise.
25649 (main): Don't print noXFails and noXPasses.
25650 * math/gen-libm-test.pl (top level): Don't mention expected
25651 failure handling in comment.
25652 (new_test): Don't handle expected failures.
25653 (parse_args): Don't mention expected failure handling in comment.
25654 (generate_testfile): Don't handle expected failures.
25655 (parse_ulps): Likewise.
25656 (print_ulps_file): Likewise.
25657 (get_failure): Remove function.
25658 (output_test): Don't handle expected failures.
25659 * make/README.libm-test: Don't mention expected failure handling.
25660
a7548d41
JM
25661 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25662 (minus_zero): Likewise.
25663 (plus_infty): Likewise.
25664 (minus_infty): Likewise.
25665 (qnan_value): Likewise.
25666 (max_value): Likewise.
25667 (min_value): Likewise.
25668 (min_subnorm_value): Likewise.
25669 (initialize): Do not initialize those variables dynamically.
25670
60bfd54c
RM
256712013-05-03 Roland McGrath <roland@hack.frob.com>
25672
cc0e6ed8
RM
25673 * io/open.c (__open_2): Moved to ...
25674 * io/open_2.c: ... this new file.
25675 * io/open64.c (__open64_2): Moved to ...
25676 * io/open64_2.c: ... this new file.
25677 * io/openat.c (__openat_2): Moved to ...
25678 * io/openat_2.c: ... this new file.
25679 * io/openat64.c (__openat64_2): Moved to ...
25680 * io/openat64_2.c: ... this new file.
25681 * io/Makefile (routines): Add them.
25682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25683 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25684 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25685 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25686 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25687 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25688 (__openat64): Add hidden_ver.
25689 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25690 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25691
60bfd54c
RM
25692 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25693 Separately conditionalize setting of GLRO(dl_sysinfo) so
25694 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25695 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25696
83e7640f
AZ
256972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25698
25699 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25701 definition.
25702 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25703 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25704 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25705 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25706 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25707
d5dc2af3
JM
257082013-05-03 Joseph Myers <joseph@codesourcery.com>
25709
c31a5b1e
JM
25710 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25711 test signgam value.
25712
d5dc2af3
JM
25713 * math/libm-test.inc (hypot_test): Do not use
25714 IGNORE_ZERO_INF_SIGN.
25715
164fd39d
AJ
257162013-05-03 Andreas Jaeger <aj@suse.de>
25717
25718 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25719 Linux 3.9.
25720 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25721 (PF_MAX): Adjust for VSOCK change.
25722
8237f48c
AZ
257232013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25724
25725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25726
9df02941
CD
257272013-05-02 Carlos O'Donell <carlos@redhat.com>
25728
25729 [BZ #15264]
25730 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25731 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25732 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25733
d422395e
DM
257342013-05-02 David S. Miller <davem@davemloft.net>
25735
25736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25737
a07c5731
OB
257382013-05-01 Ondřej Bílka <neleai@seznam.cz>
25739
25740 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25741
1324e37f
RM
257422013-05-01 Roland McGrath <roland@hack.frob.com>
25743
25744 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25745
0695940b
RS
257462013-05-01 Richard Smith <richard@metafoo.co.uk>
25747
bb5f27ad 25748 [BZ #14952]
0695940b
RS
25749 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25750 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25751 Use __attribute__ ((__gnu_inline__)).
25752 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25753 Don't use __attribute__ ((__gnu_inline__)).
25754
10de07f5
JM
257552013-05-01 Joseph Myers <joseph@codesourcery.com>
25756
25757 [BZ #15423]
25758 * math/s_catan.c (__catan): Handle small real or imaginary part of
25759 input specially to avoid spurious underflow.
25760 * math/s_catanf.c (__catanf): Likewise.
25761 * math/s_catanh.c (__catanh): Likewise.
25762 * math/s_catanhf.c (__catanhf): Likewise.
25763 * math/s_catanhl.c (__catanhl): Likewise.
25764 * math/s_catanl.c (__catanl): Likewise.
25765 * math/libm-test.inc (catan_test): Add more tests.
25766 (catanh_test): Likewise.
25767 * sysdeps/i386/fpu/libm-test-ulps: Update.
25768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25769
cb4d5414
AZ
257702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25771
25772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25773
caf84319
JM
257742013-04-30 Joseph Myers <joseph@codesourcery.com>
25775
25776 [BZ #15416]
25777 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25778 accurately for denominator in atan2.
25779 * math/s_catanf.c (__catanf): Likewise.
25780 * math/s_catanh.c (__catanh): Likewise.
25781 * math/s_catanhf.c (__catanhf): Likewise.
25782 * math/s_catanhl.c (__catanhl): Likewise.
25783 * math/s_catanl.c (__catanl): Likewise.
25784 * math/libm-test.inc (catan_test): Add more tests.
25785 (catanh_test): Likewise.
25786 * sysdeps/i386/fpu/libm-test-ulps: Update.
25787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25788
d569c6ee
SP
257892013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25790
6dbe713d
SP
25791 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25792
f0ee064b
SP
25793 * benchtests/Makefile (bench): Remove slow benchmarks.
25794 * benchtests/atan-inputs: Add slow benchmark inputs.
25795 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25796 (BENCH_FUNC): Accept variant offset.
25797 (VARIANT): Define.
25798 * benchtests/bench-skeleton.c (main): Run benchmark for each
25799 variant.
25800 * benchtests/cos-inputs: Add slow benchmark inputs.
25801 * benchtests/exp-inputs: Likewise.
25802 * benchtests/pow-inputs: Likewise.
25803 * benchtests/sin-inputs: Likewise.
25804 * benchtests/slowatan-inputs: Remove.
25805 * benchtests/slowatan.c: Remove.
25806 * benchtests/slowcos-inputs: Remove.
25807 * benchtests/slowcos.c: Remove.
25808 * benchtests/slowexp-inputs: Remove.
25809 * benchtests/slowexp.c: Remove.
25810 * benchtests/slowpow-inputs: Remove.
25811 * benchtests/slowpow.c: Remove.
25812 * benchtests/slowsin-inputs: Remove.
25813 * benchtests/slowsin.c: Remove.
25814 * benchtests/slowtan-inputs: Remove.
25815 * benchtests/slowtan.c: Remove.
25816 * benchtests/tan-inputs: Add slow benchmark inputs.
25817 * scripts/bench.pl: Parse comments and directives.
25818
d569c6ee
SP
25819 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25820 in CPPFLAGS.
25821 ($(objpfx)bench-%.c): Remove *-ITER.
25822 * benchtests/bench-modf.c: Remove definition of ITER.
25823 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25824 (main): Loop for DURATION seconds instead of fixed number of
25825 iterations.
25826 * scripts/bench.pl: Don't expect iterations in parameters.
25827
a6a242fe
RM
258282013-04-29 Roland McGrath <roland@hack.frob.com>
25829
25830 * io/fchdir.c (__fchdir): Renamed from fchdir.
25831 (fchdir): Define as weak alias.
25832
f2da7793
JM
258332013-04-29 Joseph Myers <joseph@codesourcery.com>
25834
25835 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25836 (ERRNO_EDOM): Likewise.
25837 (ERRNO_ERANGE): Likewise.
25838 (noErrnoTests): New variable.
25839 (init_max_error): Set errno to 0.
25840 (test_single_errno): New function.
25841 (test_errno): Likewise.
25842 (check_float_internal): Call test_errno. Set errno to 0.
25843 (check_complex): Refer to errno tests in comment.
25844 (check_int): Call test_errno. Set errno to 0.
25845 (check_long): Likewise.
25846 (check_bool): Likewise.
25847 (check_longlong): Likewise.
25848 (cos_test): Use ERRNO_* flags for errno tests instead of
25849 check_int.
25850 (expm1_test): Likewise.
25851 (fmod_test): Likewise.
25852 (ilogb_test): Likewise.
25853 (lgamma_test): Likewise.
25854 (pow_test): Likewise.
25855 (remainder_test): Likewise.
25856 (sin_test): Likewise.
25857 (tan_test): Likewise.
25858 (yn_test): Likewise.
25859 (initialize): Set errno to 0.
25860 (main): Print number of errno tests.
25861 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25862
b1a36ceb
AJ
258632013-04-29 Andreas Jaeger <aj@suse.de>
25864
c3ed8088
AJ
25865 [BZ #15084]
25866 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25867 and RES_USEVC.
25868
f1a24198
AJ
25869 [BZ #15085]
25870 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25871 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25872 unimplemented.
25873
9ce3b2cb
AJ
25874 [BZ #15380]
25875 * stdlib/random.c (__initstate): Return NULL if
25876 __initstate fails.
25877
f1a24198 25878 [BZ #15086]
b1a36ceb
AJ
25879 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25880 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25881 RES_SNGLKUPREOP.
25882
7e7b6f36
AZ
258832013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25884
25885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25886
4d14f449
JM
258872013-04-29 Joseph Myers <joseph@codesourcery.com>
25888
25889 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25890 of individual tests.
25891 (casin_test): Likewise.
25892 (casinh_test): Likewise.
25893
5b4217d7
JM
258942013-04-27 Joseph Myers <joseph@codesourcery.com>
25895
25896 [BZ #15409]
25897 * math/s_catan.c (__catan): Handle arguments with large real or
25898 imaginary part separately without squaring.
25899 * math/s_catanf.c (__catanf): Likewise.
25900 * math/s_catanh.c (__catanh): Likewise.
25901 * math/s_catanhf.c (__catanhf): Likewise.
25902 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25903 and redefine.
25904 (__catanhl): Handle arguments with large real or imaginary part
25905 separately without squaring.
25906 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25907 and redefine.
25908 (__catanl): Handle arguments with large real or imaginary part
25909 separately without squaring.
25910 * math/libm-test.inc (catan_test): Add more tests.
25911 (catanh_test): Likewise.
25912 * sysdeps/i386/fpu/libm-test-ulps: Update.
25913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25914
4220c3ef
AJ
259152013-04-27 Andreas Jaeger <aj@suse.de>
25916
25917 [BZ #15007]
25918 * stdlib/stdlib.h: Update guards for qecvt.
25919 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25920 <stdlib.h>.
25921
4721b2d1
AM
259222013-04-27 Allan McRae <allan@archlinux.org>
25923
25924 * sysdeps/i386/fpu/libm-test-ulps: Update.
25925
f0302940
JM
259262013-04-26 Joseph Myers <joseph@codesourcery.com>
25927
9457fd95
JM
25928 [BZ #15406]
25929 * math/s_catan.c: Include <float.h>.
25930 (__catan): Ensure underflow exception occurs for underflowed
25931 result.
25932 * math/s_catanf.c: Include <float.h>.
25933 (__catanf): Ensure underflow exception occurs for underflowed
25934 result.
25935 * math/s_catanh.c: Include <float.h>.
25936 (__catanh): Ensure underflow exception occurs for underflowed
25937 result.
25938 * math/s_catanhf.c: Include <float.h>.
25939 (__catanhf): Ensure underflow exception occurs for underflowed
25940 result.
25941 * math/s_catanhl.c: Include <float.h>.
25942 (__catanhl): Ensure underflow exception occurs for underflowed
25943 result.
25944 * math/s_catanl.c: Include <float.h>.
25945 (__catanl): Ensure underflow exception occurs for underflowed
25946 result.
25947 * math/libm-test.inc (catan_test): Add more tests.
25948 (catanh_test): Likewise.
25949
f0302940
JM
25950 [BZ #15405]
25951 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25952 underflowed result.
25953 * math/s_ccoshf.c (__ccoshf): Likewise.
25954 * math/s_ccoshl.c (__ccoshl): Likewise.
25955 * math/s_csin.c (__csin): Likewise.
25956 * math/s_csinf.c (__csinf): Likewise.
25957 * math/s_csinh.c (__csinh): Likewise.
25958 * math/s_csinhf.c (__csinhf): Likewise.
25959 * math/s_csinhl.c (__csinhl): Likewise.
25960 * math/s_csinl.c (__csinl): Likewise.
25961 * math/libm-test.inc (ccos_test): Add more tests.
25962 (ccosh_test): Likewise.
25963 (csin_test): Likewise.
25964 (csinh_test): Likewise.
25965
aa630f59
AZ
259662013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25967
25968 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25969 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25970 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25971 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25972 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25973 powerpc/power5+/fpu folders.
25974 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25975
25976
1b835983
MT
259772013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25978
25979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25980
73709b26
JM
259812013-04-25 Joseph Myers <joseph@codesourcery.com>
25982
25983 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25984 additions to variable.
25985 [$(config-machine) = x86_64] (modules-names): Likewise.
25986 ($(objpfx)tst-audit3): Remove dependency.
25987 ($(objpfx)tst-audit3.out): Likewise.
25988 ($(objpfx)tst-audit4): Likewise.
25989 ($(objpfx)tst-audit4.out): Likewise.
25990 ($(objpfx)tst-audit5): Likewise.
25991 ($(objpfx)tst-audit5.out): Likewise.
25992 ($(objpfx)tst-audit6): Likewise.
25993 ($(objpfx)tst-audit6.out): Likewise.
25994 ($(objpfx)tst-audit7): Likewise.
25995 ($(objpfx)tst-audit7.out): Likewise.
25996 (tst-audit3-ENV): Remove variable.
25997 (tst-audit4-ENV): Likewise.
25998 (tst-audit5-ENV): Likewise.
25999 (tst-audit6-ENV): Likewise.
26000 (tst-audit7-ENV): Likewise.
26001 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26002 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26003 addition to variable.
26004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26005 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26006 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26007 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26008 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26009 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26010 tst-audit3, tst-audit4 and tst-audit5.
26011 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26012 tst-audit6 and tst-audit7.
26013 [$(subdir) = elf] (modules-names): Add audit modules for those
26014 tests.
26015 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26016 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26017 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26018 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26019 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26020 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26021 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26022 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26023 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26024 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26025 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26026 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26027 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26028 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26029 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26030 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26031 Likewise.
26032 [$(subdir) = elf && $(config-cflags-avx) = yes]
26033 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26034 [$(subdir) = elf && $(config-cflags-avx) = yes]
26035 (CFLAGS-tst-auditmod4a.c): Likewise.
26036 [$(subdir) = elf && $(config-cflags-avx) = yes]
26037 (CFLAGS-tst-auditmod4b.c): Likewise.
26038 [$(subdir) = elf && $(config-cflags-avx) = yes]
26039 (CFLAGS-tst-auditmod6b.c): Likewise.
26040 [$(subdir) = elf && $(config-cflags-avx) = yes]
26041 (CFLAGS-tst-auditmod6c.c): Likewise.
26042 [$(subdir) = elf && $(config-cflags-avx) = yes]
26043 (CFLAGS-tst-auditmod7b.c): Likewise.
26044 * elf/tst-audit3.c: Move to ...
26045 * sysdeps/x86_64/tst-audit3.c: ... here.
26046 * elf/tst-audit4.c: Move to ...
26047 * sysdeps/x86_64/tst-audit4.c: ... here.
26048 * elf/tst-audit5.c: Move to ...
26049 * sysdeps/x86_64/tst-audit5.c: ... here.
26050 * elf/tst-audit6.c: Move to ...
26051 * sysdeps/x86_64/tst-audit6.c: ... here.
26052 * elf/tst-audit7.c: Move to ...
26053 * sysdeps/x86_64/tst-audit7.c: ... here.
26054 * elf/tst-auditmod3a.c: Move to ...
26055 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26056 * elf/tst-auditmod3b.c: Move to ...
26057 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26058 * elf/tst-auditmod4a.c: Move to ...
26059 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26060 * elf/tst-auditmod4b.c: Move to ...
26061 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26062 * elf/tst-auditmod5a.c: Move to ...
26063 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26064 * elf/tst-auditmod5b.c: Move to ...
26065 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26066 * elf/tst-auditmod6a.c: Move to ...
26067 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26068 * elf/tst-auditmod6b.c: Move to ...
26069 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26070 * elf/tst-auditmod6c.c: Move to ...
26071 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26072 * elf/tst-auditmod7a.c: Move to ...
26073 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26074 * elf/tst-auditmod7b.c: Move to ...
26075 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26076
1ef74943
PP
260772013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26078
26079 [BZ #15366]
26080 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26081 define unconditionally.
26082 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26083 define unconditionally.
26084 (INT8_C, INT16_C, etc.): Likewise.
26085
93fd48c5
MR
260862013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26087
ae9552cf
MR
26088 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26089 __ehdr_start with hidden visibility.
26090
93fd48c5
MR
26091 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26092
418601aa
CD
260932013-04-24 Carlos O'Donell <carlos@redhat.com>
26094
26095 * math/libm-test.inc (cos_test): Use accurate hex constants.
26096 (sincost_test): Likewise.
26097
2f38fbfe
JM
260982013-04-24 Joseph Myers <joseph@codesourcery.com>
26099
5e221800
JM
26100 * math/libm-test.inc (catan_test): Add more tests.
26101 (catanh_test): Likewise.
26102
77f143fd
JM
26103 * math/s_catanf.c (__catanf): Use suffixed floating-point
26104 constants.
26105 * math/s_catanhf.c (__catanhf): Likewise.
26106 * math/s_catanhl.c (__catanhl): Likewise.
26107 * math/s_catanl.c (__catanl): Likewise.
26108
2f38fbfe
JM
26109 [BZ #15394]
26110 * math/s_catan.c (__catan): Calculate imaginary part of result
26111 with log1p not log unless computing log of number close to 0.
26112 * math/s_catanf.c (__catanf): Likewise.
26113 * math/s_catanl.c (__catanl): Likewise.
26114 * math/s_catanh.c (__catanh): Calculate real part of result with
26115 log1p not log unless computing log of number close to 0.
26116 * math/s_catanhf.c (__catanhf): Likewise.
26117 * math/s_catanhl.c (__catanhl): Likewise.
26118 * math/libm-test.inc (catan_test): Add more tests.
26119 (catanh_test): Likewise.
26120 * sysdeps/i386/fpu/libm-test-ulps: Update.
26121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26122
45d69176
SP
261232013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26124
26125 * benchtests/Makefile: Mention files in which fast and slow
26126 paths of math functions are implemented.
26127
87f51853
RM
261282013-04-23 Roland McGrath <roland@hack.frob.com>
26129
26130 * sysdeps/posix/timespec_get.c: New file.
26131
3c026539
AZ
261322013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26133
26134 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26135 POWER.
26136 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26137 for POWER.
26138 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26139 powerpc/power5/fpu folders.
26140 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26141 * benchtests/Makefile: Add modf testcase.
26142 * benchtests/bench-modf.c: New file: Benchmark test for mo
26143
ff491d14
SP
261442013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26145
26146 [BZ #14888]
26147 * time/Makefile (tests): Add tst-strptime-whitespace.
26148 * time/strptime_l.c (get_number): Use ISSPACE.
26149 (__strptime_internal): Likewise.
26150 * time/tst-strptime-whitespace.c: New test case.
26151
7ed3f4e8
AS
261522013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26153
26154 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26155 member.
26156 (_nss_files_init): Set it here.
26157
5c95f7b6
HC
261582013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26159
26160 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26161 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26162 unsigned.
26163
d34c9158
JBG
261642013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26165
26166 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26167
2169712d
SP
261682013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26169
26170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26171 size just once.
26172
29c5de99
DM
261732013-04-21 David S. Miller <davem@davemloft.net>
26174
26175 * po/ru.po: Update Russion translation from translation project.
26176
ccdad15d
AC
261772013-04-17 Adam Conrad <adconrad@0c3.net>
26178
26179 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26180 and setfsgid.
26181
0f122b8d
CD
261822013-04-17 Carlos O'Donell <carlos@redhat.com>
26183
5c5b07da 26184 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26185 * configure: Regenerate.
5c5b07da 26186 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26187 Add example to error message.
26188 * sysdeps/i386/configure: Regenerate.
26189
037714dd
SP
261902013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26191
26192 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26193 slowtan.
26194 * benchtests/cos-inputs: New file.
26195 * benchtests/slowcos-inputs: New file.
26196 * benchtests/slowcos.c: New file.
26197 * benchtests/slowtan-inputs: New file.
26198 * benchtests/slowtan.c: New file.
26199 * benchtests/tan-inputs: New file.
26200
e913141d
RM
262012013-04-16 Roland McGrath <roland@hack.frob.com>
26202
26203 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26204 considered kosher.
26205
a2964074
SP
262062013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26207
4856bcd2
SP
26208 * benchtests/Makefile: Include cppflags-iterator.mk to add
26209 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26210
a2964074
SP
26211 * Makefile.in (bench-clean): New target.
26212 * benchtests/Makefile (bench-clean): Likewise.
26213
9fbf9aca
DH
262142013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26215
26216 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26217
207d1e2a
TS
262182013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26219
26220 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26221
306dfba9
AS
262222013-04-15 Andreas Schwab <schwab@suse.de>
26223
26224 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26226 * nscd/pwdcache.c (cache_addpw): Likewise.
26227 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26228 more than recsize.
26229
206a6699
SP
262302013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26231
26232 * benchtests/Makefile (bench): Write all output to
26233 bench-out.tmp together.
26234
0582f6b3
AS
262352013-04-15 Andreas Schwab <schwab@suse.de>
26236
26237 * nscd/nscd.c (main): Don't fork again after closing files.
26238
acb4325f
SP
262392013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26240
5cb26d0a
SP
26241 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26242
acb4325f
SP
26243 * benchtests/Rules (bench-deps): Collect dependencies into a
26244 single variable. Add Makefile to dependencies.
26245 ($(objpfx)bench-%.c): Depend on bench-deps.
26246
47792506
RM
262472013-04-12 Roland McGrath <roland@hack.frob.com>
26248 Xavier Roche <roche+kml2@exalead.com>
26249
26250 [BZ #15361]
26251 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26252 just that it's a file descriptor.
26253 * manual/llio.texi (Synchronizing AIO Operations): Update description
26254 for EBADF error from aio_fsync.
26255
8fc1bee5
SP
262562013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26257
26258 * Rules (bench): Move target definition...
26259 * benchtests/Makefile: ... here.
26260
aba5e333
CD
262612013-04-11 Carlos O'Donell <carlos@redhat.com>
26262
26263 * math/libm-test.inc (cos_test): Fix PI/2 test.
26264 (sincos_test): Likewise.
26265 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26266 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26267
273cdee8
AS
262682013-04-11 Andreas Schwab <schwab@suse.de>
26269
6ecec3b6
AS
26270 [BZ #13988]
26271 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26272 accept exponent character only when digits were seen.
26273 * stdio-common/Makefile (tests): Add bug26.
26274 * stdio-common/bug26.c: New file.
26275
273cdee8
AS
26276 [BZ #14293]
26277 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26278 non-freeable.
26279
8da491f5
SP
262802013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26281
01dc6df9
SP
26282 * Makeconfig (rtld-prefix): Define built linker prefix.
26283 * Rules (run-bench): Use it.
26284 * math/Makefile (run-regen-ulps): Likewise.
26285
8da491f5
SP
26286 * Rules (bench): Remove eval.
26287
abe7f530
SP
262882013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26289 Roland McGrath <roland@hack.frob.com>
26290 Ondrej Bilka <neleai@seznam.cz>
26291
26292 [BZ #15346]
26293 * time/getdate.c: Include ctype.h and alloca.h.
26294 (__getdate_r): Trim leading and trailing spaces of input.
26295 * time/tst-getdate.c (tests): Add tests with leading and
26296 trailing spaces.
26297
61c23e62
RM
262982013-04-08 Roland McGrath <roland@hack.frob.com>
26299
26300 [BZ #14280]
26301 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26302 when computing value.
26303
7208a313
CD
263042013-04-06 Carlos O'Donell <carlos@redhat.com>
26305
085b2d41
CD
26306 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26307 Use testrun.sh to run libm tests.
26308
7208a313
CD
26309 [BZ #15309]
26310 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26311
872c0acd
MM
263122013-04-06 Marko Myllynen <myllynen@redhat.com>
26313
26314 [BZ #15264]
26315 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26316
26510bdd
CD
263172013-04-06 Carlos O'Donell <carlos@redhat.com>
26318
26319 * Makefile.in (regen-ulps): New target.
26320 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26321 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26322 [ifneq (no,$(PERL)] (regen-ulps): New target.
26323 [ifeq (no,$(PERL)] (regen-ulps): New target.
26324 * math/libm-test.inc (ulps_file_name): Define.
26325 (output_dir): New variable.
26326 (options): Add "output-dir" option.
26327 (parse_opt): Handle 'o' case.
26328 (main): If output_dir is non-NULL use it as a prefix
26329 otherwise use "".
26330 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26331
a01f19c8
CD
263322013-04-06 Carlos O'Donell <carlos@redhat.com>
26333
26334 [BZ #10060, #10062]
26335 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26336 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26337 fail configure if __sync_val_compare_and_swap is not inlined.
26338 * sysdeps/i386/configure: Regenerate.
26339 * configure.in: Build for i686 when configured for i386.
26340 * configure: Regenerate.
26341 * README: Remove i386 reference.
26342
b7a329a5
CD
263432013-04-06 Carlos O'Donell <carlos@redhat.com>
26344
26345 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26346 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26347
bf0f50df
TS
263482013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26349
ee091edf
TS
26350 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26351 (lmsnanval): New variables.
26352 (F): Add conversion tests.
26353 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26354 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26355
a8b792d6
TS
26356 * stdio-common/tstdiomisc.c (F): Properly collect individual
26357 tests' results.
26358
a1cbf437
TS
26359 [BZ #14686, #15336]
26360 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26361 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26362 Instead, use input NaN values or generate a qNaN by arithmetic
26363 operation. Also fix bugs to comply with the standard.
26364 * math/libm-test.inc (remainder_test): Add more tests.
26365
8b43a0c9
TS
26366 [BZ #15335, #15342]
26367 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26369 input NaN values or generate a qNaN by arithmetic operation.
26370
d91da4ce
TS
26371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26372 unreachable code.
26373
bf0f50df
TS
26374 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26375 definitions.
26376
05e166c8
JM
263772013-04-03 Joseph Myers <joseph@codesourcery.com>
26378
26379 [BZ #14478]
26380 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26381 underflowed result.
26382 * math/s_cexpf.c (__cexpf): Likewise.
26383 * math/s_cexpl.c (__cexpl): Likewise.
26384 * math/libm-test.inc (cexp_test): Add more tests.
26385
1cef1b19
AS
263862013-04-03 Andreas Schwab <schwab@suse.de>
26387
26388 [BZ #15330]
26389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26390 order arrays from heap if bigger than alloca cutoff.
26391
74d87055
TS
263922013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26393
26394 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26395 (SNAN_TESTS_double): Refer to GCC PR56831.
26396 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26397 GCC PR56828.
26398
d755bba4
SP
263992013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26400
90d5d5bb
SP
26401 * Rules (bench): Move bench.out after the run is complete.
26402
73e0cd5d
SP
26403 * Rules (bench): Echo currently running benchmark.
26404
64aabd4b
SP
26405 * benchtests/Makefile (bench): Add atan and slowatan.
26406 * benchtests/atan-inputs: New file.
26407 * benchtests/slowatan-inputs: New file.
26408 * benchtests/slowatan.c: New file.
26409
c871eccd
SP
26410 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26412 its value.
26413
d755bba4
SP
26414 [BZ #15305]
26415 * sysdeps/unix/sysv/linux/kernel-features.h
26416 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26417 __ASSUME_XFS_RESTRICTED_CHOWN.
26418 * sysdeps/unix/sysv/linux/pathconf.c
26419 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26420 Save and restore errno.
26421
52ce4860
JM
264222013-04-02 Joseph Myers <joseph@codesourcery.com>
26423
26424 [BZ #15327]
26425 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26426 arguments using __kernel_casinh.
26427 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26428 arguments using __kernel_casinhf.
26429 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26430 arguments using __kernel_casinhl.
26431 * math/libm-test.inc (cacosh_test): Add more tests.
26432 * sysdeps/i386/fpu/libm-test-ulps: Update.
26433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26434
81f311c2
SP
264352013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26436
e7906a47
SP
26437 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26439
92e3664b
SP
26440 * bench/Makefile (bench): Add sin and slowsin.
26441 * benchtests/sin-inputs: New file.
26442 * benchtests/slowsin-inputs: New file.
26443 * benchtests/slowsin.c: New file.
26444
81f311c2
SP
26445 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26446 (bench): Add slowexp and slowpow.
26447 (exp-ITER): Increase iterations.
26448 (pow-ITER): Likewise.
26449 * benchtests/exp-inputs: Change input.
26450 * benchtests/pow-inputs: Likewise.
26451 * benchtests/slowexp-inputs: New file.
26452 * benchtests/slowexp.c: New file.
26453 * benchtests/slowpow-inputs: New file.
26454 * benchtests/slowpow.c: New file.
26455
ab0f1aa9
AZ
264562013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26457
26458 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26459 instructions.
26460 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26461 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26462 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26463 * benchtests/Makefile: Add rint benchtest.
26464 * benchtests/rint-inputs: Input for rint benchtest.
26465
57267616
TS
264662013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26467
26468 * Versions.def (libm): Add GLIBC_2.18.
26469 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26470 hidden libm prototypes.
26471 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26472 * math/Makefile (libm-calls): Add s_issignaling.
26473 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26474 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26475 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26476 declaration.
26477 * math/math.h [__USE_GNU] (issignaling): New macro.
26478 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26479 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26480 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26481 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26482 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26483 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26484 * manual/arith.texi (issignaling): New section.
26485 * manual/libm-err-tab.pl (@all_functions): Update comment.
26486 * math/gen-libm-test.pl (parse_args): Apply special handling for
26487 issignaling.
26488 * math/libm-test.inc (print_float, issignaling_test): New
26489 functions.
26490 (check_float_internal): Add issignaling checks.
26491 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26492 default definition.
26493 * sysdeps/powerpc/math-tests.h: New file.
26494 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26495 tests.
26496 * math/test-snan.c (TEST_FUNC): Likewise.
26497
6142896d
DM
264982013-03-30 David S. Miller <davem@davemloft.net>
26499
26500 * po/de.po: Update from translation team.
26501
ccc8cadf
JM
265022013-03-30 Joseph Myers <joseph@codesourcery.com>
26503
26504 [BZ #10357]
26505 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26506 imaginary part less than 1.0 and real part less than 0.5
26507 specially.
26508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26510 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26511 (cacos_test): Add more tests.
26512 (casin_test): Likewise.
26513 (casinh_test): Likewise.
26514 * sysdeps/i386/fpu/libm-test-ulps: Update.
26515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26516
0f6a8d4b
SP
265172013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26518
0d1029de
SP
26519 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26520 ONE with its value.
26521
c2d94018
SP
26522 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26523 (__pow_mp): Replace ONE and MONE with their values.
26524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26526 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26527 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26528 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26529 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26530
27ec37f1
SP
26531 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26532
a64d7e0e
SP
26533 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26534 (__pow_mp): Replace ZERO and MZERO with their values.
26535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26536 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26539 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26540 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26541 (__sqr): Likewise.
26542
d26dd3eb
SP
26543 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26544
0f6a8d4b
SP
26545 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26546
e57b0c61
RM
265472013-03-28 Roland McGrath <roland@hack.frob.com>
26548
26549 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26550 Declare with __attribute__ ((weak)).
26551 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26552 Call __call_tls_dtors only if it's not NULL.
26553
356b3480
RM
265542013-03-28 Roland McGrath <roland@hack.frob.com>
26555
288f7d79
RM
26556 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26557 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26558 magic __ehdr_start linker symbol if it's defined.
26559 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26560 them up here if it was already done.
26561
dc0a0263
RM
26562 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26563 (_dl_aux_init): Use const in cast when setting it.
26564 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26565 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26566 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26567
3d3436ae
RM
26568 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26569 Declare them here.
26570 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26571 * csu/libc-tls.c: Nor here.
26572 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26573
356b3480
RM
26574 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26575 (__libc_message): Never call vsyslog.
26576
b0f1246a
AM
265772013-03-28 Alan Modra <amodra@gmail.com>
26578
26579 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26580 Define as empty.
26581 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26582 Likewise.
26583
fbbe2b9a
AZ
265842013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26585
26586 [BZ #15214]
26587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26588 underflow.
26589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26590
1728ab37
SP
265912013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26592
7a86be6e
SP
26593 [BZ #15304]
26594 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26595 Don't add gid passed as argument.
26596
1728ab37
SP
26597 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26598
3a7182a1
JM
265992013-03-27 Joseph Myers <joseph@codesourcery.com>
26600
26601 [BZ #15307]
26602 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26603 imaginary part between 1.0 and 1.5 and real part less than 0.5
26604 specially.
26605 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26606 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26607 * math/libm-test.inc (cacos_test): Add more tests.
26608 (casin_test): Likewise.
26609 (casinh_test): Likewise.
26610 * sysdeps/i386/fpu/libm-test-ulps: Update.
26611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26612
6f2e90e7
SP
266132013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26614
5739f705
SP
26615 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26616 constants.
26617 (norm): Likewise.
26618 (denorm): Likewise.
26619 (__dbl_mp): Likewise.
26620 (add_magnitudes): Likewise.
26621 (sub_magnitudes): Likewise.
26622 (__add): Likewise.
26623 (__sub): Likewise.
26624 (__mul): Likewise.
26625 (__sqr): Likewise.
26626 (__inv): Likewise.
26627 (__dvd): Likewise.
26628
e375e83d
SP
26629 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26630 commented code.
26631 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26632 (__dubcos): Likewise.
26633 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26634 (__ieee754_acos): Likewise.
26635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26636 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26637 (__exp1): Likewise.
26638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26640 (log1): Likewise.
26641 (my_log2): Likewise.
26642 (checkint): Likewise.
26643 * sysdeps/ieee754/dbl-64/e_remainder.c
26644 (__ieee754_remainder): Likewise.
26645 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26647 (bsloww): Likewise.
26648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26649
6f2e90e7
SP
26650 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26652 MANTISSA_STORE_T to store computations on mantissa. Use
26653 macros for rounding and division.
26654 (denorm): Likewise.
26655 (__dbl_mp): Likewise.
26656 (add_magnitudes): Likewise.
26657 (sub_magnitudes): Likewise.
26658 (__mul): Likewise.
26659 (__sqr): Likewise.
26660 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26661 powers of two in terms of TWOPOW macro.
26662 (mp_no): Make type of mantissa as MANTISSA_T.
26663 [!RADIXI]: Define RADIXI.
26664 [!TWO52]: Define TWO52.
26665 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26666
fce14d4e
AZ
266672013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26668
26669 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26670 llroundl symbol when building for PPC32.
26671
9ad027fb
MW
266722013-03-24 Mark H Weaver <mhw@netris.org>
26673
26674 * manual/arith.texi (Normalization Functions): Fix prototypes for
26675 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26676
e42a38dd
AZ
266772013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26678
26679 [BZ #13889]
26680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26681 high value to check if expl overflow.
26682 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26683 to check for underflow and overflow.
26684 * math/libm-test.inc: Add exp test.
26685
2e0fb521
DL
266862013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26687
26688 [BZ #11120]
26689 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26690 with NOT_IN_libc.
26691
b5784d95
AZ
266922013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26693
26694 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26695 symbol.
26696
5aa4a1a1
TS
266972013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26698
bdef0be7
TS
26699 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26700 wrap blocks consisting of several statements.
26701
5aa4a1a1
TS
26702 * sysdeps/generic/math-tests.h: New file.
26703 * sysdeps/i386/fpu/math-tests.h: Likewise.
26704 * math/test-snan.c: Include it.
26705 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26706
98c48fe5
JM
267072013-03-21 Joseph Myers <joseph@codesourcery.com>
26708
26709 [BZ #15285]
26710 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26711 (__ieee754_j0l): Do not improve calculations using cos of twice
26712 input for inputs above LDBL_MAX / 2.0L.
26713 (__ieee754_y0l): Likewise.
26714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26715 (__ieee754_j1l): Do not improve calculations using cos of twice
26716 input for inputs above LDBL_MAX / 2.0L.
26717 (__ieee754_y1l): Likewise.
26718 * math/libm-test.inc (j0_test): Add another test.
26719 (j1_test): Likewise.
26720 (y0_test): Likewise.
26721 (y1_test): Likewise.
26722 * sysdeps/i386/fpu/libm-test-ulps: Update.
26723
3775a8bc
SP
267242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26725
26726 * Rules ($(objpfx)bench-%.c): Include code from a C source
26727 file.
26728
0a1b2ae6
JM
267292013-03-21 Joseph Myers <joseph@codesourcery.com>
26730
26731 [BZ #15287]
26732 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26733 imaginary part 1.0 and real part less than 0.5 specially.
26734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26736 * math/libm-test.inc (cacos_test): Add more tests.
26737 (casin_test): Likewise.
26738 (casinh_test): Likewise.
26739 * sysdeps/i386/fpu/libm-test-ulps: Update.
26740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26741
b33d4ce4
SP
267422013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26743
26744 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26745 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26746
bef0b507
JM
267472013-03-20 Joseph Myers <joseph@codesourcery.com>
26748
26749 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26750 * config.make.in (config-cflags-sse4): Remove variable.
26751 (config-cflags-avx): Likewise.
26752 (config-cflags-sse2avx): Likewise.
26753 (config-cflags-novzeroupper): Likewise.
26754 (config-asflags-i686): Likewise.
26755 (have-mfma4): Likewise.
26756 (have-as-vis3): Likewise.
26757 (MIG): Likewise.
26758 * configure.in (MIG): Do not AC_SUBST.
26759 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26760 (libc_cv_cc_sse4): Do not AC_SUBST.
26761 (libc_cv_cc_avx): Likewise.
26762 (libc_cv_cc_sse2avx): Likewise.
26763 (libc_cv_cc_novzeroupper): Likewise.
26764 (libc_cv_cc_fma4): Likewise.
26765 (libc_cv_as_i686): Likewise.
26766 (libc_cv_sparc_as_vis3): Likewise.
26767 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26768 LIBC_CONFIG_VAR.
26769 (config-asflags-i686): Likewise.
26770 (config-cflags-avx): Likewise.
26771 (config-cflags-sse2avx): Likewise.
26772 (have-mfma4): Likewise.
26773 (config-cflags-novzeroupper): Likewise.
26774 * sysdeps/mach/configure.in (MIG): Likewise.
26775 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26776 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26777 LIBC_CONFIG_VAR.
26778 (config-cflags-avx): Likewise.
26779 (config-cflags-sse2avx): Likewise.
26780 (have-mfma4): Likewise.
26781 (config-cflags-novzeroupper): Likewise.
26782 * configure: Regenerated.
26783 * sysdeps/i386/configure: Likewise.
26784 * sysdeps/mach/configure: Likewise.
26785 * sysdeps/sparc/configure: Likewise.
26786 * sysdeps/x86_64/configure: Likewise.
26787
912cc4b3
RM
267882013-03-20 Roland McGrath <roland@hack.frob.com>
26789
26790 [BZ #14812]
26791 * locale/programs/localedef.c (options): Put N_ translation marker
26792 on argument names, not just descriptions.
26793
04eed2b0
MS
267942013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26795
26796 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26797
a065ceff
OB
267982013-03-20 Ondřej Bílka <neleai@seznam.cz>
26799
9bb2a810 26800 [BZ #14176]
a065ceff
OB
26801 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26802
a600e5ce
RM
268032013-03-19 Roland McGrath <roland@hack.frob.com>
26804
26805 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26806 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26807 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26808 [!BEFORE_ABORT] (before_abort): New function.
26809 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26810 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26811 (writev_for_fatal): New function.
26812 (WRITEV_FOR_FATAL): New macro; call that.
26813 (backtrace_and_maps): New function.
26814 (BEFORE_ABORT): New macro; call that.
26815 (struct str_list): Type removed.
26816 (__libc_message, __libc_fatal): Functions removed.
26817 Include <sysdeps/posix/libc_fatal.c> instead.
26818
6b18bea6
JM
268192013-03-19 Joseph Myers <joseph@codesourcery.com>
26820
26821 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26822 constants.
26823 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26824 double constants.
26825
aaa8cb4b
AS
268262013-03-19 Andreas Schwab <schwab@suse.de>
26827
44673770
AS
26828 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26829 * sysdeps/gnu/configure: Regenerate.
26830
aaa8cb4b
AS
26831 * configure.in: Substitute libc_cv_rtlddir.
26832 * configure: Regenerate.
26833 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26834 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26835 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26836 * elf/Makefile (install-others, CFLAGS-interp.c)
26837 (ldso_install, common-ldd-rewrite): Likewise.
26838 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26839 $(inst_slibdir)/$(rtld-installed-name).
26840 * scripts/rellns-sh: Add -p option.
26841 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26842 for source.
26843
d3cfc668
SP
268442013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26845
26846 * manual/nptl.texi: Renamed to ...
26847 * manual/threads.texi: ... this.
26848 * manual/Makefile (chapters): Update.
26849
0e2b9cdd
RM
268502013-03-18 Roland McGrath <roland@hack.frob.com>
26851
26852 [BZ #14812]
26853 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26854 on argument names, not just descriptions.
0e2b9cdd
RM
26855 * malloc/memusagestat.c (options): Likewise.
26856 * nss/getent.c (options): Likewise.
63270c24
RM
26857
268582013-03-18 Benno Schulenberg <bensberg@justemail.net>
26859
26860 [BZ #14812]
26861 * iconv/iconv_prog.c (options): Put N_ translation marker
26862 on argument names, not just descriptions.
26863 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26864
b2e1393c
OB
268652013-03-18 Ondrej Bilka <neleai@seznam.cz>
26866
26867 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26868 implementation which is faster on all x86_64 architectures.
26869 Tested on AMD, Intel Nehalem, SNB, IVB.
26870 * sysdeps/x86_64/strnlen.S: Likewise.
26871
26872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26873 Remove all multiarch strlen and strnlen versions.
26874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26875 Remove strlen and strnlen related parts.
26876
26877 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26878 Inline strlen part.
26879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26880
26881 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26882 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26883 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26884 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26885 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26886 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26887
ec4ff04d
CD
268882013-03-17 Carlos O'Donell <carlos@redhat.com>
26889
26890 * manual/memory.texi (Malloc Tunable Parameters):
26891 Sort parameters alphabetically. Add comments for missing entries.
26892
cd18e90a
DM
268932013-03-17 David S. Miller <davem@davemloft.net>
26894
26895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26896
2a185d32
JM
268972013-03-16 Joseph Myers <joseph@codesourcery.com>
26898
d2f9799e
JM
26899 [BZ #15283]
26900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26901 for arguments at most half maximum finite value.
26902 * math/libm-test.inc (j0_test): Add more tests.
26903 (j1_test): Likewise.
26904 (y0_test): Likewise.
26905 (y1_test): Likewise.
26906 * sysdeps/i386/fpu/libm-test-ulps: Update.
26907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26908
2a185d32
JM
26909 [BZ #14155]
26910 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26911 1 / x and functions P and Q for arguments above 0x1p256L.
26912 (__ieee754_y0l): Likewise.
26913 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26914 (__ieee754_y1l): Likewise.
26915 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26916 (j1_test): Likewise.
26917 (y0_test): Likewise.
26918 (y1_test): Likewise.
26919
6cbec759
TS
269202013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26921
26922 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26923 variable.
26924
bc16e260
RM
269252013-03-15 Roland McGrath <roland@hack.frob.com>
26926
aefc9b8c
RM
26927 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26928 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26929 zero since it's initialized to EXEC_PAGESIZE.
26930
bc16e260
RM
26931 * sysdeps/unix/sysv/linux/ldsodefs.h
26932 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26933 * sysdeps/generic/ldsodefs.h: ... here.
26934
a57da955
TS
269352013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26936
af00a34d
TS
26937 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26938
495ded2c
TS
26939 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26940 math/test-snan.c.
26941 * math/test-snan.c: Renamed from
26942 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26943 * math/Makefile (tests): Add test-snan.
26944 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26945 test-powerpc-snan.
26946
777b0332
TS
26947 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26948 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26949 functions.
26950 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26951 __builtin_nan family of functions.
26952 * math/libm-test.inc (initialize): Initialize qnan_value with
26953 __builtin_nan family of functions.
26954 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26955 Remove variables.
26956 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26957 Remove functions.
26958 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26959 storage class. Initialize qNaN_var and sNaN_var with
26960 __builtin_nan and __builtin_nans families of functions,
26961 respectively.
26962
64d063b8
TS
26963 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26964 (sqrt_test): Remove duplicate test with qNaN input.
26965 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26966 (round_test, signbit_test, significand_test): Note missing +/-Inf
26967 as well as qNaN tests.
26968
67e971f1
TS
26969 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26970 qNaN_var. Fix a few strings, too.
26971 * math/libm-test.inc (nan_value): Rename to qnan_value.
26972 * math/gen-libm-test.pl (%beautify): Adjust to that.
26973 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26974 * math/test-misc.c (main): Likewise.
26975 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26976 to __qnan_bytes, and __qnan_union, respectively.
26977 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26978 Likewise.
26979 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26980 and lqnanval, respectively.
26981 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26982 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26984 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26985
64487e12
TS
26986 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26987 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26988 doubles.
26989
e015e27b
TS
26990 * math/test-misc.c (main): Fix copy'n'pastos.
26991 * misc/tst-efgcvt.c (special): Likewise.
26992
a57da955
TS
26993 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26994 Remove declarations.
26995
1e380345
SP
269962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26997
26998 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26999 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27000 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27001 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27002
ef26eece
AZ
270032013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27004
27005 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27006 macro to return vdso values correctly in IFUNC implementations.
27007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27008 Optimization by using IFUNC.
27009
8cfdb7e0
SP
270102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27011 Richard Henderson <rth@redhat.com>
27012 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27013
27014 * Makefile.in (bench): New target.
27015 * NEWS: Mention the benchmark framework.
27016 * Rules (bench): Likewise.
27017 (binaries-bench): Generate binaries for functions to
27018 benchmark.
27019 * benchtests/Makefile: New makefile for benchmark tests.
27020 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27021 programs.
27022 * benchtests/exp-inputs: New input file for EXP function.
27023 * benchtests/pow-inputs: New input file for POW function.
27024 * scripts/bench.pl: New script to generate source files for
27025 benchmark programs.
27026
bcda9880
SP
270272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27028
d22ca8cd
SP
27029 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27030 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27031 computations on mantissa. Use macros for rounding and
27032 division.
27033 (denorm): Likewise.
27034 (__dbl_mp): Likewise.
27035 (add_magnitudes): Likewise.
27036 (sub_magnitudes): Likewise.
27037 (__mul): Likewise.
27038 (__sqr): Likewise.
27039 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27040 powers of two in terms of TWOPOW macro.
27041 (mp_no): Make type of mantissa as MANTISSA_T.
27042 [!RADIXI]: Define RADIXI.
27043 [!TWO52]: Define TWO52.
27044 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27045
bcda9880
SP
27046 * manual/nptl.texi (cindex): Modify threads to pthreads.
27047
06d5adfb
JM
270482013-03-15 Joseph Myers <joseph@codesourcery.com>
27049
27050 * sysdeps/x86_64/preconfigure: Regenerated.
27051
41c7328e
JM
270522013-03-14 Joseph Myers <joseph@codesourcery.com>
27053
27054 [BZ #14155]
27055 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27056 0x1p28 and above.
27057 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27058 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27059 0x1p28 and above.
27060 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27061 * math/libm-test.inc (j0_test): Do not allow one spurious
27062 underflow exception.
27063 (y1_test): Likewise.
27064
e25cfa60
SP
270652013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27066
0409959c
SP
27067 * manual/Makefile (chapters): Add nptl.
27068 * manual/debug.texi (Debugging Support): Add link to Threads
27069 chapter.
27070 * manual/nptl.texi: New file.
27071
e25cfa60
SP
27072 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27073
58a1335e
PB
270742013-03-14 Petr Baudis <pasky@ucw.cz>
27075
27076 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27077 for non-NULL pointer before the memory validity test. Pointed
27078 out by Holger Brunck <holger.brunck@keymile.com>.
27079
9dc7c64f
AS
270802013-03-13 Andreas Schwab <schwab@suse.de>
27081
27082 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27083 instead of .os.
27084
54206aa6
JM
270852013-03-13 Joseph Myers <joseph@codesourcery.com>
27086
27087 * timezone/zic.c: Update from tzcode 2013b.
27088
e98cdb38
CD
270892013-03-12 Carlos O'Donell <carlos@redhat.com>
27090
27091 * manual/install.texi (Configuring and compiling):
27092 Mention i686 and i586.
27093 * INSTALL: Regenerate.
27094
9967e003
RM
270952013-03-12 Roland McGrath <roland@hack.frob.com>
27096
27097 * sysdeps/init_array/elf-init.c: New file.
27098 * csu/elf-init.c
27099 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27100 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27101
27102 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27103 __gmon_start__ as global, but as static with a .preinit_array pointer.
27104 * sysdeps/init_array/gmon-start.c: New file. Use that.
27105 * sysdeps/init_array/crti.S: New file, empty except for comments.
27106 * sysdeps/init_array/crtn.S: Likewise.
27107
e6b5a293 271082013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
27109
27110 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27111 definining bcopy.
80f844c9
OB
27112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27113 Remove Prefer_SSE_for_memop.
27114 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27115 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27116 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
27117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27118 memset-x86-64.
80f844c9 27119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 27120 Remove bzero, memset ifunc support.
80f844c9
OB
27121 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27122 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27123 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27124 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27125
fb6b0fcb
AS
271262013-03-11 Andreas Schwab <schwab@suse.de>
27127
27128 [BZ #15234]
27129 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27130 by SHLIB_COMPAT.
27131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27132 (GLIBC_2.16): Remove pthread_atfork.
27133
3e6bd4b1
PP
271342013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27135
27136 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27137 (ptestcases.h): Likewise.
27138
222d7f00
RM
271392013-03-08 Roland McGrath <roland@hack.frob.com>
27140
27141 * Makeconfig ($(common-objpfx)config.status): Depend on
27142 sysdeps/*/preconfigure{,.in} too.
27143
1ba4f030
JM
271442013-03-08 Joseph Myers <joseph@codesourcery.com>
27145
a222d91a
JM
27146 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27147 (__free_hook): Use void * instead of __malloc_ptr_t.
27148 (__malloc_hook): Likewise.
27149 (__realloc_hook): Likewise.
27150 (__memalign_hook): Likewise.
27151 (__after_morecore_hook): Likewise.
27152 * malloc/arena.c (save_malloc_hook): Likewise.
27153 (save_free_hook): Likewise.
27154 * malloc/hooks.c (malloc_hook_ini): Likewise.
27155 (realloc_hook_ini): Likewise.
27156 (memalign_hook_ini): Likewise.
27157 * malloc/malloc.c (malloc_hook_ini): Likewise.
27158 (realloc_hook_ini): Likewise.
27159 (memalign_hook_ini): Likewise.
27160 (__free_hook): Likewise.
27161 (__malloc_hook): Likewise.
27162 (__realloc_hook): Likewise.
27163 (__memalign_hook): Likewise.
27164 (__libc_malloc): Likewise.
27165 (__libc_free): Likewise.
27166 (__libc_realloc): Likewise.
27167 (__libc_memalign): Likewise.
27168 (__libc_valloc): Likewise.
27169 (__libc_pvalloc): Likewise.
27170 (__libc_calloc): Likewise.
27171 (__posix_memalign): Likewise.
27172 * malloc/morecore.c (__sbrk): Likewise.
27173 (__default_morecore): Likewise.
27174
5cc45e10
JM
27175 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27176
dd54b864
JM
27177 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27178 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27179 __malloc_ptrdiff_t.
27180
1ba4f030
JM
27181 * malloc/malloc.h (__malloc_size_t): Remove macro.
27182 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27183 __malloc_size_t.
27184 (old_memalign_hook): Likewise.
27185 (old_realloc_hook): Likewise.
27186 (struct hdr): Likewise.
27187 (flood): Likewise.
27188 (mallochook): Likewise.
27189 (memalignhook): Likewise.
27190 (reallochook): Likewise.
27191 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27192 (tr_old_realloc_hook): Likewise.
27193 (tr_old_memalign_hook): Likewise.
27194 (tr_mallochook): Likewise.
27195 (tr_reallochook): Likewise.
27196 (tr_memalignhook): Likewise.
27197
edf66e57
AZ
271982013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27199
27200 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27201 default_ldbl_pack and using as default implementation.
27202 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27203 implementation.
27204 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27205 redundant definition.
27206 (ldbl_insert_mantissa): Likewise.
27207 (ldbl_canonicalize): Likewise.
27208 (ldbl_nearbyint): Likewise.
27209 (ldbl_pack): Rename to ldbl_pack_ppc.
27210 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27211 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27212 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27213
6d9145d8
SP
272142013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27215
27216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27217 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27218 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27219 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27221 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27222 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27223 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27224
4dd4e157
AJ
272252013-03-07 Andreas Jaeger <aj@suse.de>
27226
27227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27228 bits/mman-linux.h.
27229
adbb8027
SP
272302013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27231
ce544b5b
SP
27232 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27233 Include mpa.h and declare __MPEXP.
27234 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27235 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27236 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27237 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27238 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27239 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27240 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27241
4cc149fd
SP
27242 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27243 (__slowpow): Use long double EXPL and LOGL functions to
27244 compute POW.
27245 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27246 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27247 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27248 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27249 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27250 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27251
e6ebd4a7
SP
27252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27253 intermediate variable to calculate exponent.
27254 (__sqr): Likewise.
27255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27256 Likewise.
27257 (__sqr): Likewise.
27258
82a9811d
SP
27259 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27260 [!NO__SQR]: Define __sqr.
27261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27262 and NO__SQR. Remove all code except __mul and __sqr. Include
27263 sysdeps/ieee754/dbl-64/mpa.c.
27264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27265
adbb8027
SP
27266 [BZ #12723]
27267 * posix/Makefile (tests): Add tst-pathconf.
27268 * posix/tst-pathconf.c: New test case.
27269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27270 _PC_PIPE_BUF.
27271 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27272
39120df9
PF
272732013-03-06 Patsy Franklin <pfrankli@redhat.com>
27274
27275 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27276
67525cb8
AJ
272772013-03-06 Andreas Jaeger <aj@suse.de>
27278
664a9ce4
AJ
27279 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27280 definition via __MAP_ANONYMOUS.
27281
8e39047d
AJ
27282 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27283 it's not part of Linux headers.
27284
67525cb8
AJ
27285 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27286 (MAP_HUGE_MASK): Define.
27287
27288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27289 Define.
27290 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27292 Define.
27293 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27294 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27295 Define.
27296 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27298 Define.
27299 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27300
27301 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27302 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27303 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27304 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27305 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27306 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27307
27308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27309 Handle f2fs.
27310
27311 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27312 Handle f2fs and efivarfs.
27313
27314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27315 f2fs.
27316
27317 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27318 (EFIVARFS_MAGIC): Add.
27319 (F2FS_LINK_MAX): Add.
27320
e1b42695
PP
273212013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27322
27323 * stdio-common/vfprintf.c: Replace __builtin_expect with
27324 __glibc_unlikely.
27325
2d67d91a
JM
273262013-03-06 Joseph Myers <joseph@codesourcery.com>
27327
27328 [BZ #13550]
27329 * sysdeps/generic/bp-sym.h: Remove file.
27330 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27331 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27332 <bp-sym.h> and <bp-asm.h>.
27333 (__longjmp): Don't use BP_SYM.
27334 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27335 and <bp-asm.h>.
27336 (memcpy): Don't use BP_SYM.
27337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27338 <bp-sym.h> and <bp-asm.h>.
27339 (memcpy): Don't use BP_SYM.
27340 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27341 <bp-asm.h>.
27342 (memcpy): Don't use BP_SYM.
27343 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27344 <bp-asm.h>.
27345 (memset): Don't use BP_SYM.
27346 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27347 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27348 (__bzero): Don't use BP_SYM.
27349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27351 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27352 <bp-sym.h> and <bp-asm.h>.
27353 (memcmp): Don't use BP_SYM. Remove comment about bounded
27354 pointers.
27355 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27356 <bp-sym.h> and <bp-asm.h>.
27357 (memcpy): Don't use BP_SYM.
27358 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27359 <bp-sym.h> and <bp-asm.h>.
27360 (memset): Don't use BP_SYM.
27361 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27362 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27363 (__bzero): Don't use BP_SYM.
27364 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27365 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27367 <bp-sym.h> and <bp-asm.h>.
27368 (strncmp): Don't use BP_SYM. Remove comment about bounded
27369 pointers.
27370 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27371 <bp-sym.h> and <bp-asm.h>.
27372 (memcpy): Don't use BP_SYM.
27373 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27374 <bp-sym.h> and <bp-asm.h>.
27375 (memset): Don't use BP_SYM.
27376 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27377 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27378 (__bzero): Don't use BP_SYM.
27379 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27380 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27382 <bp-sym.h> and <bp-asm.h>.
27383 (__memchr): Don't use BP_SYM.
27384 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27385 <bp-sym.h> and <bp-asm.h>.
27386 (memcmp): Don't use BP_SYM. Remove comment about bounded
27387 pointers.
27388 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27389 <bp-sym.h> and <bp-asm.h>.
27390 (memcpy): Don't use BP_SYM.
27391 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27392 <bp-sym.h> and <bp-asm.h>.
27393 (__mempcpy): Don't use BP_SYM.
27394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27395 <bp-sym.h> and <bp-asm.h>.
27396 (__memrchr): Don't use BP_SYM.
27397 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27398 <bp-sym.h> and <bp-asm.h>.
27399 (memset): Don't use BP_SYM.
27400 (__bzero): Likewise.
27401 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27402 <bp-sym.h> and <bp-asm.h>.
27403 (__rawmemchr): Don't use BP_SYM.
27404 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27405 <bp-sym.h> and <bp-asm.h>.
27406 (__STRCMP): Don't use BP_SYM.
27407 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27408 <bp-sym.h> and <bp-asm.h>.
27409 (strchr): Don't use BP_SYM.
27410 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27411 <bp-sym.h> and <bp-asm.h>.
27412 (__strchrnul): Don't use BP_SYM.
27413 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27414 <bp-sym.h> and <bp-asm.h>.
27415 (strlen): Don't use BP_SYM.
27416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27417 <bp-sym.h> and <bp-asm.h>.
27418 (strncmp): Don't use BP_SYM. Remove comment about bounded
27419 pointers.
27420 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27421 <bp-sym.h> and <bp-asm.h>.
27422 (__strnlen): Don't use BP_SYM.
27423 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27424 <bp-sym.h> and <bp-asm.h>.
27425 (__GI__setjmp): Don't use BP_SYM.
27426 (_setjmp): Likewise.
27427 (__sigsetjmp): Likewise.
27428 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27429 (L(start_addresses)): Don't use BP_SYM.
27430 (_start): Likewise.
27431 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27432 <bp-asm.h>.
27433 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27434 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27435 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27436 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27437 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27438 <bp-asm.h>.
27439 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27440 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27441 about bounded pointers.
27442 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27443 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27444 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27445 <bp-asm.h>.
27446 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27447 about bounded pointers. Remove GKM FIXME comments.
27448 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27449 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27450 <bp-asm.h>.
27451 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27452 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27453 Remove GKM FIXME comments.
27454 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27455 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27456 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27457 <bp-asm.h>.
27458 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27459 about bounded pointers. Remove GKM FIXME comment.
27460 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27461 and <bp-asm.h>.
27462 (strncmp): Don't use BP_SYM. Remove comment about bounded
27463 pointers.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27465 <bp-sym.h> and <bp-asm.h>.
27466 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27468 <bp-sym.h> and <bp-asm.h>.
27469 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27470 comment.
27471
cdcf361f
PP
274722013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27473
27474 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27475 call free(NULL).
27476
3c4a2b15
DM
274772013-03-05 David S. Miller <davem@davemloft.net>
27478
27479 * po/es.po: Update from translation team.
27480
cdcf361f 274812013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27482
27483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27484 <bits/mman-linux.h>.
27485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27486 is fine.
27487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27488 <bits/mman-linux.h> to end of file.
27489 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27490 is fine.
27491 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27492 <bits/mman-linux.h> to end of file.
27493 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27494 is fine.
27495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27496 <bits/mman-linux.h> to end of file.
27497
27498 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27499 (MCL_CURRENT, MCL_FUTURE): Define here.
27500
5f67c04f
AK
275012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27502
8a4473cc 27503 [BZ #15232]
5f67c04f
AK
27504 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27505 attribute_hidden.
27506 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27507
c3e94a95
AK
275082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27509
27510 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27511 fourth parameter needed for rt_sigprocmask syscall.
27512 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27513 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27514 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27515 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27516 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27517 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27518
cfb6382a
JM
275192013-03-04 Joseph Myers <joseph@codesourcery.com>
27520
27521 [BZ #13550]
27522 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27523 comment about bounded pointers.
27524 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27525 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27526
539d8e01
AJ
275272013-03-04 Andreas Jaeger <aj@suse.de>
27528
27529 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27530 common definitions.
27531
27532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27533 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27534 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27536 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27538
2e167a70 275392013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27540
27541 [BZ #15055]
27542 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27543 __ieee754_sqrl instead of __sqrl.
27544
68508633
JM
275452013-03-01 Joseph Myers <joseph@codesourcery.com>
27546
27547 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27548 * sysdeps/powerpc/fpu_control.h: ... here.
27549 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27550 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27551 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27552 * sysdeps/powerpc/bits/mathinline.h: ... here.
27553
7775448e
RM
275542013-03-01 Roland McGrath <roland@hack.frob.com>
27555
27556 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27557 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27558 to just [NEED_DL_SYSINFO_DSO].
27559 * elf/dl-support.c: Likewise.
27560 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27561 * elf/rtld.c (dl_main): Likewise.
27562 * elf/setup-vdso.h (setup_vdso): Likewise.
27563 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27564 * sysdeps/unix/sysv/linux/dl-sysdep.c
27565 (_dl_discover_osversion): Likewise.
27566
4e9b5995
CD
275672013-03-01 Carlos O'Donell <carlos@redhat.com>
27568
27569 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27570 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27571
e23872c8
SP
275722013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27573
e5c74c63
SP
27574 * NEWS: Mention libm performance improvements and non-x86 PI
27575 futex support.
27576
e23872c8
SP
27577 * csu/libc-start.c (__pthread_initialize_minimal): Change
27578 function arguments.
27579 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27580
b5510883
JM
275812013-02-28 Joseph Myers <joseph@codesourcery.com>
27582
27583 [BZ #13550]
27584 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27585 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27586 <bp-sym.h> and <bp-asm.h>.
27587 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27589 and <bp-asm.h>.
27590 (memcpy): Don't use BP_SYM.
27591 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27592 <bp-asm.h>.
27593 (__mpn_add_n): Don't use BP_SYM.
27594 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27595 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27596 and <bp-asm.h>.
27597 (__mpn_addmul_1): Don't use BP_SYM.
27598 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27599 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27600 <bp-sym.h>.
27601 (_setjmp): Don't use BP_SYM.
27602 (__novmx_setjmp): Likewise.
27603 (__GI__setjmp): Likewise.
27604 (__vmx_setjmp): Likewise.
27605 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27606 <bp-sym.h>.
27607 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27608 (__bzero): Don't use BP_SYM.
27609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27611 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27612 <bp-sym.h> and <bp-asm.h>.
27613 (memcpy): Don't use BP_SYM.
27614 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27615 <bp-sym.h> and <bp-asm.h>.
27616 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27618 <bp-sym.h> and <bp-asm.h>.
27619 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27620 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27621 <bp-asm.h>.
27622 (__mpn_lshift): Don't use BP_SYM.
27623 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27624 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27625 <bp-asm.h>.
27626 (memset): Don't use BP_SYM.
27627 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27628 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27629 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27630 <bp-asm.h>.
27631 (__mpn_mul_1): Don't use BP_SYM.
27632 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27634 <bp-sym.h> and <bp-asm.h>.
27635 (memcmp): Don't use BP_SYM.
27636 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27637 <bp-sym.h> and <bp-asm.h>.
27638 (memcpy): Don't use BP_SYM.
27639 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27640 <bp-sym.h> and <bp-asm.h>.
27641 (memset): Don't use BP_SYM.
27642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27643 <bp-sym.h> and <bp-asm.h>.
27644 (strncmp): Don't use BP_SYM.
27645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27646 <bp-sym.h> and <bp-asm.h>.
27647 (memcpy): Don't use BP_SYM.
27648 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27649 <bp-sym.h> and <bp-asm.h>.
27650 (memset): Don't use BP_SYM.
27651 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27652 <bp-sym.h> and <bp-asm.h>.
27653 (__memchr): Don't use BP_SYM.
27654 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27655 <bp-sym.h> and <bp-asm.h>.
27656 (memcmp): Don't use BP_SYM.
27657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27658 <bp-sym.h> and <bp-asm.h>.
27659 (memcpy): Don't use BP_SYM.
27660 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27661 <bp-sym.h> and <bp-asm.h>.
27662 (__mempcpy): Don't use BP_SYM.
27663 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27664 <bp-sym.h> and <bp-asm.h>.
27665 (__memrchr): Don't use BP_SYM.
27666 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27667 <bp-sym.h> and <bp-asm.h>.
27668 (memset): Don't use BP_SYM.
27669 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27670 <bp-sym.h> and <bp-asm.h>.
27671 (__rawmemchr): Don't use BP_SYM.
27672 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27673 <bp-sym.h> and <bp-asm.h>.
27674 (__STRCMP): Don't use BP_SYM.
27675 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27676 <bp-sym.h> and <bp-asm.h>.
27677 (strchr): Don't use BP_SYM.
27678 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27679 <bp-sym.h> and <bp-asm.h>.
27680 (__strchrnul): Don't use BP_SYM.
27681 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27682 <bp-sym.h> and <bp-asm.h>.
27683 (strlen): Don't use BP_SYM.
27684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27685 <bp-sym.h> and <bp-asm.h>.
27686 (strncmp): Don't use BP_SYM.
27687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27688 <bp-sym.h> and <bp-asm.h>.
27689 (__strnlen): Don't use BP_SYM.
27690 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27691 <bp-asm.h>.
27692 (__mpn_rshift): Don't use BP_SYM.
27693 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27694 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27695 <bp-sym.h> and <bp-asm.h>.
27696 (__sigsetjmp): Don't use BP_SYM.
27697 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27698 (L(start_addresses)): Don't use BP_SYM.
27699 (_start): Likewise.
27700 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27701 <bp-asm.h>.
27702 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27703 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27704 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27705 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27706 <bp-asm.h>.
27707 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27708 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27709 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27710 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27711 <bp-asm.h>.
27712 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27713 comments.
27714 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27715 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27716 <bp-asm.h>.
27717 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27718 FIXME comments.
27719 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27720 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27721 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27722 <bp-asm.h>.
27723 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27724 comment.
27725 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27726 and <bp-asm.h>.
27727 (strncmp): Don't use BP_SYM,
27728 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27729 <bp-asm.h>.
27730 (__mpn_sub_n): Don't use BP_SYM.
27731 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27732 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27733 and <bp-asm.h>.
27734 (__mpn_submul_1): Don't use BP_SYM.
27735 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27737 <bp-sym.h> and <bp-asm.h>.
27738 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27740 <bp-sym.h> and <bp-asm.h>.
27741 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27742 comment.
27743
8d19fe64
SP
277442013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27745
27746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27747 Use ZK to minimize writes to Z.
27748 (sub_magnitudes): Simplify code a bit.
27749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27750 Use ZK to minimize writes to Z.
27751 (sub_magnitudes): Simplify code a bit.
27752
85bd816a
RM
277532013-02-27 Roland McGrath <roland@hack.frob.com>
27754
27755 * csu/gmon-start.c: Add special exception to license text.
27756
b5977bf2
RH
277572013-02-27 Richard Henderson <rth@redhat.com>
27758
27759 * scripts/config.guess: Update from config.git.
27760 * scripts/config.sub: Likewise.
27761
11d6e2f2
SP
277622013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27763
09c14ed2
SP
27764 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27765
a688864e
SP
27766 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27767
6295157a
SP
27768 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27769
b8de2202
SP
27770 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27771
11d6e2f2
SP
27772 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27773
7e80ddb8
RM
277742013-02-26 Roland McGrath <roland@hack.frob.com>
27775
27776 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27777 [$(build-shared = yes].
7e80ddb8 27778
7da6d9ed
SP
277792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27780
45f05884
SP
27781 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27782 (__mul): Reduce iterations for calculating mantissa.
27783
2236d359
SP
27784 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27785 MPTWO.
27786 (__mpranred): Likewise.
27787
7da6d9ed
SP
27788 [BZ #15160]
27789 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27790 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27791
b7688c42
PE
277922013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27793
27794 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27795 Define __attribute__.
27796
53a5c423
SP
277972013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27798
27799 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27800 unused.
27801 * posix/regex_internal.h (__attribute): Remove.
27802 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27803 (re_string_context_at): Likewise.
27804 (bitset_not): Use __attribute__ and mark function as possibly
27805 unused.
27806 (bitset_merge): Likewise.
27807 (bitset_mask): Likewise.
27808 (re_string_char_size_at): Likewise.
27809 (re_string_wchar_at): Likewise.
27810 (re_string_elem_size_at): Likewise.
27811
60f5a8b5
SP
278122013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27813
2a983a2e
SP
27814 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27815 code.
27816 (cc32): Likewise.
27817
e69804d1
SP
27818 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27819 (__acr): Likewise.
27820 (__cpy): Likewise.
27821 (norm): Likewise.
27822 (denorm): Likewise.
27823 (__dbl_mp): Likewise.
27824 (add_magnitudes): Likewise.
27825 (sub_magnitudes): Likewise.
27826 (__mul): Likewise.
27827 (__inv): Likewise.
27828
2f22a1e8
SP
27829 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27830 style.
27831
8930ddc7
SP
27832 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27833 style.
27834
dc60cb11
SP
27835 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27836 code.
27837
60f5a8b5
SP
27838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27839 up changes with default code.
27840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27841 Likewise.
27842
b4d1fd33
AM
278432013-02-24 Allan McRae <allan@archlinux.org>
27844
faf6f8bc
AM
27845 * manual/socket.texi (The Internet Namespace): Order menu items
27846 to match that in the file.
27847
b4d1fd33
AM
27848 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27849 node listing of the info page menu.
27850
2366713d
JM
278512013-02-21 Joseph Myers <joseph@codesourcery.com>
27852
27853 [BZ #13550]
27854 * sysdeps/i386/bp-asm.h: Remove file.
27855 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27856 (PARMS): Do not use macros from bp-asm.h.
27857 (S1): Likewise.
27858 (S2): Likewise.
27859 (SIZE): Likewise.
27860 (__mpn_add_n): Do not use BP_SYM
27861 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27862 "bp-asm.h".
27863 (PARMS): Do not use macros from bp-asm.h.
27864 (S1): Likewise.
27865 (SIZE): Likewise.
27866 (__mpn_addmul_1): Do not use BP_SYM
27867 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27868 "bp-asm.h".
27869 (PARMS): Do not use macros from bp-asm.h.
27870 (SIGMSK): Likewise.
27871 (_setjmp): Likewise. Do not use BP_SYM.
27872 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27873 "bp-asm.h".
27874 (PARMS): Do not use macros from bp-asm.h.
27875 (SIGMSK): Likewise.
27876 (setjmp): Likewise. Do not use BP_SYM.
27877 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27878 "bp-asm.h".
27879 (PARMS): Do not use macros from bp-asm.h.
27880 (__frexp): Do not use BP_SYM.
27881 (frexp): Likewise.
27882 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27883 "bp-asm.h".
27884 (PARMS): Do not use macros from bp-asm.h.
27885 (__frexpf): Do not use BP_SYM.
27886 (frexpf): Likewise.
27887 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27888 "bp-asm.h".
27889 (PARMS): Do not use macros from bp-asm.h.
27890 (__frexpl): Do not use BP_SYM.
27891 (frexpl): Likewise.
27892 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27893 "bp-asm.h".
27894 (PARMS): Do not use macros from bp-asm.h.
27895 (__remquo): Do not use BP_SYM.
27896 (remquo): Likewise.
27897 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27898 "bp-asm.h".
27899 (PARMS): Do not use macros from bp-asm.h.
27900 (__remquof): Do not use BP_SYM.
27901 (remquof): Likewise.
27902 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27903 "bp-asm.h".
27904 (PARMS): Do not use macros from bp-asm.h.
27905 (__remquol): Do not use BP_SYM.
27906 (remquol): Likewise.
27907 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27908 "bp-asm.h".
27909 (PARMS): Do not use macros from bp-asm.h.
27910 (DEST): Likewise.
27911 (SRC): Likewise.
27912 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27913 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27914 "bp-asm.h".
27915 (PARMS): Do not use macros from bp-asm.h.
27916 (strlen): Do not use BP_SYM.
27917 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27918 "bp-asm.h".
27919 (PARMS): Do not use macros from bp-asm.h.
27920 (S1): Likewise.
27921 (S2): Likewise.
27922 (SIZE): Likewise.
27923 (__mpn_add_n): Do not use BP_SYM.
27924 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27925 "bp-asm.h".
27926 (PARMS): Do not use macros from bp-asm.h.
27927 (S1): Likewise.
27928 (SIZE): Likewise.
27929 (__mpn_addmul_1): Do not use BP_SYM.
27930 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27931 weak_alias.
27932 (bzero): Likewise.
27933 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27934 "bp-asm.h".
27935 (PARMS): Do not use macros from bp-asm.h.
27936 (S): Likewise.
27937 (SIZE): Likewise.
27938 (__mpn_lshift): Do not use BP_SYM.
27939 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27940 "bp-asm.h".
27941 (PARMS): Do not use macros from bp-asm.h.
27942 (DEST): Likewise.
27943 (SRC): Likewise.
27944 (LEN): Likewise.
27945 (memcpy): Likewise. Do not use BP_SYM.
27946 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27947 libc_hidden_def and weak_alias.
27948 (mempcpy): Do not use BP_SYM in weak_alias.
27949 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27950 "bp-asm.h".
27951 (PARMS): Do not use macros from bp-asm.h.
27952 (DEST): Likewise.
27953 (LEN): Likewise.
27954 [!BZERO_P] (CHR): Likewise.
27955 (memset): Likewise. Do not use BP_SYM.
27956 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27957 "bp-asm.h".
27958 (PARMS): Do not use macros from bp-asm.h.
27959 (S1): Likewise.
27960 (SIZE): Likewise.
27961 (__mpn_mul_1): Do not use BP_SYM.
27962 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27963 "bp-asm.h".
27964 (PARMS): Do not use macros from bp-asm.h.
27965 (S): Likewise.
27966 (SIZE): Likewise.
27967 (__mpn_rshift): Do not use BP_SYM.
27968 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27969 "bp-asm.h".
27970 (PARMS): Do not use macros from bp-asm.h.
27971 (STR): Likewise.
27972 (CHR): Likewise.
27973 (strchr): Likewise. Do not use BP_SYM.
27974 (index): Do not use BP_SYM in weak_alias.
27975 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27976 "bp-asm.h".
27977 (PARMS): Do not use macros from bp-asm.h.
27978 (DEST): Likewise.
27979 (SRC): Likewise.
27980 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27981 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27982 "bp-asm.h".
27983 (PARMS): Do not use macros from bp-asm.h.
27984 (strlen): Do not use BP_SYM.
27985 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27986 "bp-asm.h".
27987 (PARMS): Do not use macros from bp-asm.h.
27988 (S1): Likewise.
27989 (S2): Likewise.
27990 (SIZE): Likewise.
27991 (__mpn_sub_n): Do not use BP_SYM.
27992 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27993 "bp-asm.h".
27994 (PARMS): Do not use macros from bp-asm.h.
27995 (S1): Likewise.
27996 (SIZE): Likewise.
27997 (__mpn_submul_1): Do not use BP_SYM.
27998 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27999 "bp-asm.h".
28000 (PARMS): Do not use macros from bp-asm.h.
28001 (S1): Likewise.
28002 (S2): Likewise.
28003 (SIZE): Likewise.
28004 (__mpn_add_n): Do not use BP_SYM.
28005 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28006 weak_alias.
28007 (bzero): Likewise.
28008 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28009 "bp-asm.h".
28010 (PARMS): Do not use macros from bp-asm.h.
28011 (BLK2): Likewise.
28012 (LEN): Likewise.
28013 (memcmp): Do not use BP_SYM.
28014 (bcmp): Do not use BP_SYM in weak_alias.
28015 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28016 "bp-asm.h".
28017 (PARMS): Do not use macros from bp-asm.h.
28018 (DEST): Likewise.
28019 (SRC): Likewise.
28020 (LEN): Likewise.
28021 (memcpy): Likewise. Do not use BP_SYM.
28022 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28023 "bp-asm.h".
28024 (PARMS): Do not use macros from bp-asm.h.
28025 (DEST): Likewise.
28026 (SRC): Likewise.
28027 (LEN): Likewise.
28028 (memmove): Likewise. Do not use BP_SYM.
28029 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28030 "bp-asm.h".
28031 (PARMS): Do not use macros from bp-asm.h.
28032 (DEST): Likewise.
28033 (SRC): Likewise.
28034 (LEN): Likewise.
28035 (__mempcpy): Likewise. Do not use BP_SYM.
28036 (mempcpy): Do not use BP_SYM in weak_alias.
28037 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28038 "bp-asm.h".
28039 (PARMS): Do not use macros from bp-asm.h.
28040 (DEST): Likewise.
28041 (LEN): Likewise.
28042 [!BZERO_P] (CHR): Likewise.
28043 (memset): Likewise. Do not use BP_SYM.
28044 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28045 "bp-asm.h".
28046 (PARMS): Do not use macros from bp-asm.h.
28047 (STR2): Likewise.
28048 (strcmp): Do not use BP_SYM.
28049 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28050 "bp-asm.h".
28051 (PARMS): Do not use macros from bp-asm.h.
28052 (STR): Likewise.
28053 (DELIM): Likewise.
28054 [USE_AS_STRTOK_R] (SAVE): Likewise.
28055 (FUNCTION): Likewise. Do not use BP_SYM.
28056 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28057 aliases.
28058 (strtok_r): Likewise.
28059 (__GI___strtok_r): Likewise.
28060 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28061 (PARMS): Do not use macros from bp-asm.h.
28062 (S): Likewise.
28063 (SIZE): Likewise.
28064 (__mpn_lshift): Do not use BP_SYM.
28065 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28066 (PARMS): Do not use macros from bp-asm.h.
28067 (STR): Likewise.
28068 (CHR): Likewise.
28069 (__memchr): Do not use BP_SYM.
28070 (memchr): Do not use BP_SYM in weak_alias.
28071 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28072 (PARMS): Do not use macros from bp-asm.h.
28073 (BLK2): Likewise.
28074 (LEN): Likewise.
28075 (memcmp): Do not use BP_SYM.
28076 (bcmp): Do not use BP_SYM in weak_alias.
28077 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28078 (PARMS): Do not use macros from bp-asm.h.
28079 (S1): Likewise.
28080 (SIZE): Likewise.
28081 (__mpn_mul_1): Do not use BP_SYM.
28082 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28083 "bp-asm.h".
28084 (PARMS): Do not use macros from bp-asm.h.
28085 (STR): Likewise.
28086 (CHR): Likewise.
28087 (__rawmemchr): Do not use BP_SYM.
28088 (rawmemchr): Do not use BP_SYM in weak_alias.
28089 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28090 (PARMS): Do not use macros from bp-asm.h.
28091 (S): Likewise.
28092 (SIZE): Likewise.
28093 (__mpn_rshift): Do not use BP_SYM.
28094 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28095 (PARMS): Do not use macros from bp-asm.h.
28096 (SIGMSK): Likewise.
28097 (__sigsetjmp): Likewise. Do not use BP_SYM.
28098 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28099 (_start): Do not use BP_SYM.
28100 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28101 (PARMS): Do not use macros from bp-asm.h.
28102 (DEST): Likewise.
28103 (SRC): Likewise.
28104 (__stpcpy): Likewise. Do not use BP_SYM.
28105 (stpcpy): Do not use BP_SYM in weak_alias.
28106 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28107 "bp-asm.h".
28108 (PARMS): Do not use macros from bp-asm.h.
28109 (DEST): Likewise.
28110 (SRC): Likewise.
28111 (LEN): Likewise.
28112 (__stpncpy): Likewise. Do not use BP_SYM.
28113 (stpncpy): Do not use BP_SYM in weak_alias.
28114 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28115 (PARMS): Do not use macros from bp-asm.h.
28116 (STR): Likewise.
28117 (CHR): Likewise.
28118 (strchr): Likewise. Do not use BP_SYM.
28119 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28120 "bp-asm.h".
28121 (PARMS): Do not use macros from bp-asm.h.
28122 (STR): Likewise.
28123 (CHR): Likewise.
28124 (__strchrnul): Likewise. Do not use BP_SYM.
28125 (strchrnul): Do not use BP_SYM in weak_alias.
28126 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28127 "bp-asm.h".
28128 (PARMS): Do not use macros from bp-asm.h.
28129 (STOP): Likewise.
28130 (strcspn): Do not use BP_SYM.
28131 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28132 "bp-asm.h".
28133 (PARMS): Do not use macros from bp-asm.h.
28134 (STR): Likewise.
28135 (STOP): Likewise.
28136 (strpbrk): Likewise. Do not use BP_SYM.
28137 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28138 "bp-asm.h".
28139 (PARMS): Do not use macros from bp-asm.h.
28140 (STR): Likewise.
28141 (CHR): Likewise.
28142 (strrchr): Likewise. Do not use BP_SYM.
28143 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28144 (PARMS): Do not use macros from bp-asm.h.
28145 (SKIP): Likewise.
28146 (strspn): Do not use BP_SYM.
28147 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28148 (PARMS): Do not use macros from bp-asm.h.
28149 (STR): Likewise.
28150 (DELIM): Likewise.
28151 (SAVE): Likewise.
28152 (FUNCTION): Likewise. Do not use BP_SYM.
28153 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28154 aliases.
28155 (strtok_r): Likewise.
28156 (__GI___strtok_r): Likewise.
28157 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28158 (PARMS): Do not use macros from bp-asm.h.
28159 (S1): Likewise.
28160 (S2): Likewise.
28161 (SIZE): Likewise.
28162 (__mpn_sub_n): Do not use BP_SYM.
28163 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28164 "bp-asm.h".
28165 (PARMS): Do not use macros from bp-asm.h.
28166 (S1): Likewise.
28167 (SIZE): Likewise.
28168 (__mpn_submul_1): Do not use BP_SYM.
28169 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28170 <bp-sym.h>.
28171 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28172 and <bp-asm.h>.
28173 (PARMS): Do not use macros from bp-asm.h.
28174 (FLAGS): Likewise.
28175 (PTID): Likewise.
28176 (TLS): Likewise.
28177 (CTID): Likewise.
28178 (__clone): Do not use BP_SYM.
28179 (clone): Do not use BP_SYM in weak_alias.
28180 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28181 and <bp-asm.h>.
28182 (PARMS): Do not use macros from bp-asm.h.
28183 (LEN): Likewise.
28184 (__mmap64): Do not use BP_SYM.
28185 (mmap64): Do not use BP_SYM in weak_alias.
28186 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28187 <bp-sym.h> and <bp-asm.h>.
28188 (PARMS): Do not use macros from bp-asm.h.
28189 (__posix_fadvise64_l64): Do not use BP_SYM.
28190 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28191 (PARMS): Do not use macros from bp-asm.h.
28192 (NSOPS): Likewise.
28193 (semtimedop): Do not use BP_SYM.
28194 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28195 and <bp-asm.h>.
28196
582a3cff
AM
281972013-02-21 Allan McRae <allan@archlinux.org>
28198
28199 * manual/message.texi (Charset conversion in gettext):
28200 Move @end statement to beginning of line.
28201
bab8a695
SP
282022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28203
80945231
SP
28204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28205 static.
28206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28207 Likewise.
28208
bab8a695
SP
28209 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28210 (denorm): Likewise.
28211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28213
e21d7aa7
AK
282142013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28215
28216 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28217 tail-call to the resolved function if pltexit isn't needed.
28218
4c7a4263
SP
282192013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28220
28221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28222 or Y being zero as being unlikely.
28223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28224 Likewise.
28225
41f49342
CD
282262013-02-20 Carlos O'Donell <carlos@redhat.com>
28227
28228 * manual/nss.texi (System Databases and Name Service Switch):
28229 Remove frobnicate @pxref.
28230
50022a93
TS
282312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28232
28233 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28234 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28235
08cbd996
PM
282362013-02-20 Petr Machata <pmachata@redhat.com>
28237
28238 * elf/elf.h (R_ARM_TARGET1): New macro.
28239 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28240 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28241 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28242 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28243 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28244 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28245 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28246 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28247 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28248 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28249 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28250 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28251 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28252 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28253 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28254 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28255 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28256 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28257 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28258 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28259 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28260 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28261 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28262 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28263 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28264 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28265 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28266 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28267 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28268 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28269 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28270 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28271 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28272 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28273 (R_ARM_THM_GOT_BREL12): Likewise.
28274 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28275 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28276 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28277 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28278 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28279 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28280 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28281 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28282 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28283
c7b275d6
TS
282842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28285
28286 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28287 __attribute_used__ to __attribute__ ((unused)).
28288
20cd7fb3
SP
282892013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28290
28291 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28292 powerpc mpa.c.
28293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28294 comment formatting.
28295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28296
92945b52
JM
282972013-02-19 Joseph Myers <joseph@codesourcery.com>
28298
28299 [BZ #13550]
28300 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28301 Remove macro.
28302 (ENTER): Remove both macro definitions.
28303 (LEAVE): Likewise.
28304 (CHECK_BOUNDS_LOW): Likewise.
28305 (CHECK_BOUNDS_HIGH): Likewise.
28306 (CHECK_BOUNDS_BOTH): Likewise.
28307 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28308 (RETURN_BOUNDED_POINTER): Likewise.
28309 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28310 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28311 (POP_ERRNO_LOCATION_RETURN): Likewise.
28312 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28313 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28314 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28315 macros.
28316 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28317 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28318 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28319 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28320 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28321 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28322 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28323 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28324 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28325 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28326 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28327 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28328 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28329 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28330 removed macros.
28331 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28332 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28333 macros.
28334 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28335 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28336 * sysdeps/i386/i586/memset.S (memset): Likewise.
28337 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28339 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28340 macros.
28341 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28342 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28343 Change uses of L(2) to L(out).
28344 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28345 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28346 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28347 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28348 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28349 removed macros.
28350 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28351 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28352 macros.
28353 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28354 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28355 (RETURN): Do not use macro LEAVE.
28356 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28357 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28358 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28359 * sysdeps/i386/i686/memset.S (memset): Likewise.
28360 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28361 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28362 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28363 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28364 Likewise.
28365 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28366 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28367 L(1_2) and L(1_3) into L(1).
28368 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28369 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28370 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28371 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28372 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28373 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28374 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28375 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28376 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28377 macros.
28378 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28379 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28380 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28381 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28382 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28383 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28384 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28385 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28386 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28387 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28388 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28389 * sysdeps/i386/strspn.S (strspn): Likewise.
28390 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28391 conditional code.
28392 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28393 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28394 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28395 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28396 L(1_3) into L(1_1).
28397 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28398 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28399 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28400 macros.
28401 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28402
2389741a
JJ
284032013-02-19 Jakub Jelinek <jakub@redhat.com>
28404
28405 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28406 macro.
28407
2016b3cd
SP
284082013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28409
e4f22324
SP
28410 * math/atest-exp.c (exp_mpn): Remove ROUND.
28411 * math/atest-exp2.c (exp_mpn): Likewise.
28412 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28413
2016b3cd
SP
28414 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28415 * stdlib/tst-tls-atexit-lib.c: Likewise.
28416 * stdlib/tst-tls-atexit.c: Likewise.
28417
4be9b544
MF
284182013-02-18 Mike Frysinger <vapier@gentoo.org>
28419
28420 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28421 and __attribute_alloc_size__.
28422
2f62b9ee
MF
284232013-02-18 Mike Frysinger <vapier@gentoo.org>
28424
28425 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28426 __attribute_alloc_size__.
28427 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28428 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28429
6ff444c4
MF
284302013-02-18 Mike Frysinger <vapier@gentoo.org>
28431
28432 * include/programs/xmalloc.h: New file.
28433 * catgets/gencat.c: Include it.
28434 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28435 * elf/pldd.c: Likewise.
28436 * iconv/iconv_charmap.c: Likewise.
28437 * iconv/iconvconfig.c: Likewise.
28438 * iconv/strtab.c: Likewise.
28439 * locale/programs/locale.c: Likewise.
28440 * locale/programs/localedef.h: Likewise.
28441 * locale/programs/simple-hash.c: Likewise.
28442 * nscd/nscd.h: Likewise.
28443 * nss/makedb.c: Likewise.
28444 * sysdeps/generic/ldconfig.h: Likewise.
28445
be179c8a
SP
284462013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28447
ba384f6e
SP
28448 * Versions.def: Add GLIBC_2.18.
28449 * include/link.h (struct link_map): New member l_tls_dtor_count.
28450 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28451 (__call_tls_dtors): Likewise.
28452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28453 __cxa_thread_atexit_impl.
28454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28455 Likewise.
28456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28457 Likewise.
28458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28459 Likewise.
28460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28461 Likewise.
28462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28464 Likewise.
28465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28466 Likewise.
28467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28469 Likewise.
28470 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28471 (tests): Add test case tst-tls-atexit.
28472 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28473 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28474 (GLIBC_PRIVATE): Add __call_tls_dtors.
28475 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28476 for libstdc++.
28477 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28478 * stdlib/tst-tls-atexit.c: New test case.
28479 * stdlib/tst-tls-atexit-lib.c: New test case.
28480
ffaa74cf 28481 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28482
be179c8a
SP
28483 * elf/Versions (ld): Add _dl_find_dso_for_object.
28484 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28485 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28486 (dl_open_worker): Use _dl_find_dso_for_object.
28487 * elf/dl-sym.c (do_sym): Likewise.
28488 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28489
f78b5caa
AK
284902013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28491
28492 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28493 Syntactic changes only.
28494 (_dl_runtime_profile): Do a tail-call to the resolved function.
28495
29691210
JM
284962013-02-17 Joseph Myers <joseph@codesourcery.com>
28497
28498 [BZ #13550]
28499 * sysdeps/x86_64/bp-asm.h: Remove file.
28500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28501 <bp-sym.h> and <bp-asm.h>.
28502 (__clone): Do not use BP_SYM.
28503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28504 <bp-sym.h> and <bp-asm.h>.
28505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28506 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28507 "bp-asm.h".
28508 (_setjmp): Do not use BP_SYM.
28509 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28510 "bp-asm.h".
28511 (setjmp): Do not use BP_SYM.
28512 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28513 libc_hidden_def.
28514 (mempcpy): Do not use BP_SYM in weak_alias.
28515 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28516 "bp-asm.h".
28517 (strchr): Do not use BP_SYM.
28518 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28519 "bp-asm.h".
28520 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28521 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28522 (_start): Do not use BP_SYM.
28523 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28524 "bp-asm.h".
28525 (strcat): Do not use BP_SYM.
28526 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28527 "bp-asm.h".
28528 (STRCMP): Do not use BP_SYM.
28529 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28530 "bp-asm.h".
28531 (STRCPY): Do not use BP_SYM.
28532 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28533 "bp-asm.h".
28534 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28535 "bp-asm.h".
28536 (FUNCTION): Do not use BP_SYM.
28537 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28538 weak_alias.
28539 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28540
f238fd19
AJ
285412013-02-17 Andreas Jaeger <aj@suse.de>
28542
28543 * time/Versions: Sort entries.
28544 * string/Versions: Likewise.
28545 * resolv/Versions: Likewise.
28546 * posix/Versions: Likewise.
28547 * iconv/Versions: Likewise.
28548 * elf/Versions: Likewise.
28549 * wcsmbs/Versions: Likewise.
28550
bd07f23c 285512013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28552
22af19f9
SP
28553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28554 loop termination condition.
28555
4709fe76
SP
28556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28557 variable to calculate EZ.
28558 (__sqr): Likewise.
2d0e0f29
SP
28559
28560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28561 the lower precision input.
28562
daaa7713
JM
285632013-02-15 Joseph Myers <joseph@codesourcery.com>
28564
28565 [BZ #13550]
28566 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28567 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28568 (run-via-rtld-prefix): Do not handle %-bp tests.
28569 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28570 (all-object-suffixes): Remove .ob.
28571 (bppfx): Remove variable.
28572 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28573 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28574 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28575 [$(build-bounded) = yes] (libtype.ob): Likewise.
28576 * Makerules (elide-routines.ob): Remove variable.
28577 (do-tests-clean): Do not handle *-bp.out.
28578 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28579 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28580 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28581 (tests): Do not include $(tests-bp.out).
28582 (xtests): Do not include $(xtests-bp.out).
28583 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28584 [$(build-bounded) = yes] ($(addprefix
28585 $(objpfx),$(binaries-bounded))): Remove rule.
28586 ($(objpfx)%-bp.out): Remove rule.
28587 * config.make.in (build-bounded): Remove variable.
28588 * crypt/Makefile [$(build-bounded) = yes]
28589 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28590 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28591 append to variable.
28592 [$(build-bounded) = yes] (install-lib): Likewise.
28593 [$(build-bounded) = yes] (generated): Likewise.
28594 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28595 Remove rule.
28596 * intl/Makefile [$(build-bounded) = yes]
28597 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28598 * math/Makefile [$(build-bounded) = yes]
28599 ($(tests:%=$(objpfx)%-bp): Likewise.
28600 * misc/Makefile [$(build-bounded) = yes]
28601 ($(objpfx)tst-tsearch-bp): Likewise.
28602 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28603 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28604 Remove dependency.
28605 * string/Makefile (o-objects.ob): Remove variable.
28606 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28607 (CFLAGS-.ob): Remove variable.
28608 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28609 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28610 both definitions of variable.
28611 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28612 (ASFLAGS-.ob): Remove variable.
28613
e97ed6dd
JM
286142013-02-14 Joseph Myers <joseph@codesourcery.com>
28615
2bdd4ca6
JM
28616 [BZ #13550]
28617 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28618 Remove __BOUNDED_POINTERS__ from condition.
28619 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28620 * string/bits/string2.h [!__NO_STRING_INLINES &&
28621 !__BOUNDED_POINTERS__]: Likewise.
28622 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28623 Likewise.
28624 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28625 Remove conditional code.
28626 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28627 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28628 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28629 condition.
28630
e97ed6dd
JM
28631 [BZ #13550]
28632 * csu/libc-start.c: Do not include <bp-sym.h>.
28633 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28634 * elf/dl-open.c: Do not include <bp-sym.h>.
28635 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28636 * math/fegetenv.c: Do not include <bp-sym.h>.
28637 (fegetenv): Do not use BP_SYM in versioned symbols.
28638 * nptl/sysdeps/pthread/bits/libc-lockP.h
28639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28640 <bp-sym.h>.
28641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28642 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28644 (__pthread_mutex_destroy): Likewise.
28645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28646 (__pthread_mutex_lock): Likewise.
28647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28648 (__pthread_mutex_trylock): Likewise.
28649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28650 (__pthread_mutex_unlock): Likewise.
28651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28652 (__pthread_mutexattr_init): Likewise.
28653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28654 (__pthread_mutexattr_destroy): Likewise.
28655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28656 (__pthread_mutexattr_settype): Likewise.
28657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28658 (__pthread_rwlock_init): Likewise.
28659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28660 (__pthread_rwlock_destroy): Likewise.
28661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28662 (__pthread_rwlock_rdlock): Likewise.
28663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28664 (__pthread_rwlock_tryrdlock): Likewise.
28665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28666 (__pthread_rwlock_wrlock): Likewise.
28667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28668 (__pthread_rwlock_trywrlock): Likewise.
28669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28670 (__pthread_rwlock_unlock): Likewise.
28671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28672 (__pthread_key_create): Likewise.
28673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28674 (__pthread_setspecific): Likewise.
28675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28676 (__pthread_getspecific): Likewise.
28677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28678 Likewise.
28679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28680 (_pthread_cleanup_push_defer): Likewise.
28681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28682 (_pthread_cleanup_pop_restore): Likewise.
28683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28684 (pthread_setcancelstate): Likewise.
28685 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28686 <bp-sym.h>.
28687 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28688 (memchr): Do not use BP_SYM in weak_alias.
28689 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28690 (fegetenv): Do not use BP_SYM in versioned symbols.
28691 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28692 (fesetenv): Do not use BP_SYM in versioned symbols.
28693 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28694 (feupdateenv): Do not use BP_SYM in versioned symbols.
28695 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28696 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28697 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28698 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28699 (open64): Do not use BP_SYM in weak_alias.
28700 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28701 (fegetenv): Do not use BP_SYM in versioned symbols.
28702 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28703 (fesetenv): Do not use BP_SYM in versioned symbols.
28704 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28705 (feupdateenv): Do not use BP_SYM in versioned symbols.
28706 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28707 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28708 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28709 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28710 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28711 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28712 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28713 <bp-sym.h>.
28714 (__libc_start_main): Do not use BP_SYM.
28715
d6752ccd
SP
287162013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28717
cb57ce60
SP
28718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28719 redundant return line.
28720 (norm): Likewise.
28721 (denorm): Likewise.
28722 (dbl_mp): Likewise.
28723 (sub_magnitudes): Likewise.
28724 (__add): Likewise.
28725 (__sub): Likewise.
28726 (__mul): Likewise.
28727 (__inv): Likewise.
28728 (__dvd): Likewise.
28729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28730 (norm): Likewise.
28731 (denorm): Likewise.
28732 (dbl_mp): Likewise.
28733 (sub_magnitudes): Likewise.
28734 (__add): Likewise.
28735 (__sub): Likewise.
28736 (__mul): Likewise.
28737 (__inv): Likewise.
28738 (__dvd): Likewise.
28739
f414520d
SP
28740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28741 instead of __mul.
28742 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28743 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28744 (cc32): Likewise.
28745
d6752ccd
SP
28746 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28747 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28749 of __mul for squares.
28750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28751 function
28752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28753 Likewise.
28754 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28756
70d9946a
JM
287572013-02-13 Joseph Myers <joseph@codesourcery.com>
28758
28759 [BZ #13550]
28760 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28761 code.
28762 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28763 prototype or function definition. Rename ubp_* variables and
28764 parameters. Remove argv definitions conditional on
28765 [__BOUNDED_POINTERS__].
28766 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28767 * elf/dl-runtime.c (_dl_fixup): Likewise.
28768 * include/set-hooks.h (RUN_HOOK): Likewise.
28769 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28770 definition.
28771 * string/strcpy.c (strcpy): Do not use __unbounded.
28772 * sysdeps/generic/frame.h (struct layout): Likewise.
28773 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28774 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28775 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28776 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28777 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28778 (__backtrace): Likewise.
28779 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28780 use __ptrvalue.
28781 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28782 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28783 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28784 Likewise.
28785 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28786 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28787 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28788 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28789 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28790 Do not use __unbounded.
28791 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28792 Rename __unboundedrlimits parameter to rlimits in prototype.
28793 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28794 Do not use __unbounded.
28795 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28796 not use __ptrvalue.
28797 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28798 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28799 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28800 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28801 __ptrvalue or __unbounded.
28802 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28803 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28804 use __unbounded.
28805 (__new_msgctl): Do not use __ptrvalue.
28806 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28807 __unbounded.
28808 (__libc_msgrcv): Do not use __ptrvalue.
28809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28810 startup_info): Do not use __unbounded.
28811 (__libc_start_main): Likewise. Rename ubp_* variables and
28812 parameters. Remove argv definitions conditional on
28813 [__BOUNDED_POINTERS__].
28814 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28815 __ptrvalue.
28816 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28817 use __unbounded.
28818 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28819 or __ptrvalue.
28820 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28821 use __unbounded.
28822 (__new_shmctl): Do not use __ptrvalue.
28823 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28824 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28825 Likewise.
28826 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28828 (__libc_sigaction): Likewise.
28829 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28830 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28831 Likewise.
28832 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28833
cc7834d6
OB
288342013-02-13 Ondřej Bílka <neleai@seznam.cz>
28835
ffb1ec7b 28836 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28837
28838 * string/mempcpy.c: Implement by calling memcpy.
28839
bdf02814
SP
288402013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28841
c2af38aa
SP
28842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28843
4e92d59e
SP
28844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28845 evaluation.
28846
909279a5
SP
28847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28848 values in the mantissa.
28849
bdf02814
SP
28850 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28851 minimize writes to Z.
28852 (sub_magnitudes): Simplify code a bit.
28853
cd525923
RM
288542013-02-12 Roland McGrath <roland@hack.frob.com>
28855
28856 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28857 from the message. The linker prefixes all warnings with that already.
28858
7e2f0d2d
AS
288592013-02-12 Andreas Schwab <schwab@suse.de>
28860
a445af0b
AS
28861 [BZ #15078]
28862 * posix/regexec.c (extend_buffers): Add parameter min_len.
28863 (check_matching): Pass minimum needed length.
28864 (clean_state_log_if_needed): Likewise.
28865 (get_subexp): Likewise.
28866 * posix/Makefile (tests): Add bug-regex34.
28867 (bug-regex34-ENV): Define.
28868 * posix/bug-regex34.c: New file.
28869
7e2f0d2d
AS
28870 [BZ #11561]
28871 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28872 elements compare against the byte sequence of it, not its name.
28873 * posix/Makefile (tests): Add bug-regex35.
28874 (bug-regex35-ENV): Define.
28875 * posix/bug-regex35.c: New file.
28876
a175b684
TV
288772013-02-11 Tom de Vries <tom@codesourcery.com>
28878
28879 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28880 comment.
28881 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28882 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28883 (CHECK_EOL): Add undef.
28884
310998fe 288852013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28886
28887 * bits/stdlib-bsearch.h: New file.
28888 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28889 * stdlib/stdlib.h: Likewise.
41eda41d 28890
8ded91fb
RM
288912013-02-11 Roland McGrath <roland@hack.frob.com>
28892
28893 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28894 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28895 declaration.
28896 * manual/search.texi (Array Search Function): Add missing const in
28897 lfind prototype.
28898 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28899 declaration to use rlim_t.
28900 (Basic Scheduling Functions): Remove erroneous const from
28901 sched_getparam prototype. Remove erroneous * from
28902 sched_get_priority_max and sched_get_priority_min prototypes.
28903 (Resource Usage): Fix summary @comment on vtimes to refer to
28904 sys/vtimes.h rather than vtimes.h.
28905 Add missing *s in vtimes prototype.
28906 (Limits on Resources): Fix ulimit prototype to return long int.
28907 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28908 prototypes to use long int rather than double.
28909 (BSD Random): Fix initstate and setstate to use char *, not void *.
28910 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28911 prototype to make second argument 'struct aiocb64 *const[]'.
28912 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28913 (Status of AIO Operations): Remove erroneous const in aio_return and
28914 aio_return64 prototypes.
28915 (Synchronizing I/O): Fix sync prototype to return void.
28916 * manual/startup.texi (Suboptions): Remove an erroneous const in
28917 getsubopt prototype.
28918 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28919 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28920 use size_t rather than int.
28921 (Scanning All Users): Likewise for getpwent_r.
28922 (Setting Groups): Add missing const to setgroups prototype.
28923 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28924 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28925 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28926 'const void *' rather than 'const char *'.
28927 (Host Address Functions): Likewise for inet_ntop.
28928 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28929 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28930 ssize_t for return value.
28931 (Sending Data): Likewise for send, sendto, sendmsg.
28932 (Socket Option Functions): Add a missing const in setsockopt prototype.
28933 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28934 use wchar_t for the argument.
28935 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28936 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28937 take no arguments.
28938 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28939 double/float/long double for second argument.
28940 Fix return types of significand, significandf, significandl.
28941 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28942 argument in fchmod prototype.
28943 (File Owner): Use uid_t and gid_t in fchown prototype.
28944 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28945 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28946 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28947 use 'const struct dirent **' as argument types to CMP function pointer
28948 argument.
28949 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28950 (File Times): Fix summary magic @comment for struct utimbuf and utime
28951 to refer to utime.h, not time.h.
28952 * manual/string.texi (Argz Functions): Add missing const in
28953 argz_extract and argz_next prototypes.
28954 (Finding Tokens in a String): Likewise for basename.
28955 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28956 (Copying and Concatenation): Fix typo in wmemmove prototype.
28957 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28958 (Signal Stack): Remove erroneous const in sigstack prototype.
28959 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28960 prototype.
28961 (Simple Calendar Time): Likewise for stime.
28962 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28963 prototype.
28964 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28965 say sys/sysctl.h instead.
28966 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28967 and vsyslog prototypes.
28968
fe77fe6d
TV
289692013-02-11 Tom de Vries <tom@codesourcery.com>
28970
28971 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28972 Remove.
28973
3a09b620
RM
289742013-02-11 Roland McGrath <roland@hack.frob.com>
28975
28976 * misc/sys/mman.h: Fix typo in mremap comment.
28977
550a0b89
RM
289782013-02-08 Roland McGrath <roland@hack.frob.com>
28979
28980 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28981 the '\0' terminator.
28982
a2da1673
JM
289832013-02-08 Joseph Myers <joseph@codesourcery.com>
28984
28985 [BZ #13550]
28986 * debug/segfault.c: Don't include <bp-checks.h>.
28987 * sysdeps/generic/bp-checks.h: Remove file.
28988 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28989 (__GETDENTS): Don't use CHECK_N.
28990 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28991 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28992 (__getgroups): Don't use CHECK_N.
28993 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28994 (setgroups): Don't use CHECK_N.
28995 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28996 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28997 (__libc_msgrcv): Don't use CHECK_N.
28998 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28999 (__libc_msgsnd): Don't use CHECK_N.
29000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29001 <bp-checks.h>.
29002 (__libc_pread): Don't use CHECK_N.
29003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29004 include <bp-checks.h>.
29005 (__libc_pread64): Don't use CHECK_N.
29006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29007 include <bp-checks.h>.
29008 (__libc_pwrite): Don't use CHECK_N.
29009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29010 include <bp-checks.h>.
29011 (__libc_pwrite64): Don't use CHECK_N.
29012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29013 <bp-checks.h>.
29014 (__libc_pread): Don't use CHECK_N.
29015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29016 include <bp-checks.h>.
29017 (__libc_pread64): Don't use CHECK_N.
29018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29019 include <bp-checks.h>.
29020 (__libc_pwrite): Don't use CHECK_N.
29021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29022 include <bp-checks.h>.
29023 (__libc_pwrite64): Don't use CHECK_N.
29024 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29025 (do_pread): Don't use CHECK_N.
29026 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29027 (do_pread64): Don't use CHECK_N.
29028 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29029 (do_pwrite): Don't use CHECK_N.
29030 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29031 (do_pwrite64): Don't use CHECK_N.
29032 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29033 (__libc_readv): Don't use CHECK_N.
29034 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29035 (semop): Don't use CHECK_N.
29036 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29037 <bp-checks.h>.
29038 (semtimedop): Don't use CHECK_N.
29039 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29040 (__libc_pread): Don't use CHECK_N.
29041 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29042 <bp-checks.h>.
29043 (__libc_pread64): Don't use CHECK_N.
29044 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29045 <bp-checks.h>.
29046 (__libc_pwrite): Don't use CHECK_N.
29047 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29048 <bp-checks.h>.
29049 (__libc_pwrite64): Don't use CHECK_N.
29050 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29051 <bp-checks.h>.
29052 (__libc_msgrcv): Don't use CHECK_N.
29053 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29054 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29055 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29056 (__libc_writev): Don't use CHECK_N.
29057
b84660a8
RM
290582013-02-08 Roland McGrath <roland@hack.frob.com>
29059
7f3e75f8
RM
29060 * string/strcpy.c: Removed unused variable.
29061
b84660a8
RM
29062 * Makeconfig (+sysdep-includes): Define with := rather than =.
29063 Use an existing include/ subdir of each sysdeps dir before it.
29064
471514d3
CD
290652013-02-08 Carlos O'Donell <carlos@redhat.com>
29066
29067 * nscd/connection.c (register_traced_file): Comment function.
29068 [HAVE_INOTIFY] (union __inev): Define.
29069 [HAVE_INOTIFY] (inotify_check_files): New function.
29070 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29071 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29072 clear_db_cache.
29073 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29074
b2d3c3be
CD
290752013-02-08 Carlos O'Donell <carlos@redhat.com>
29076
29077 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29078 loaded if not already and that a failure is permanent.
29079
b39949d2
CD
290802013-02-08 Carlos O'Donell <carlos@redhat.com>
29081
ddacd1db 29082 [BZ #15006]
b39949d2
CD
29083 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29084 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29085
b2c9eff4
JM
290862013-02-08 Joseph Myers <joseph@codesourcery.com>
29087
f3aae3f3
JM
29088 [BZ #13550]
29089 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29090 (CHECK_1_NULL_OK): Likewise.
29091 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29092 (__fxstat): Do not use CHECK_1.
29093 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29094 <bp-checks.h>.
29095 (___fxstat64): Do not use CHECK_1.
29096 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29097 <bp-checks.h>.
29098 (__fxstatat): Do not use CHECK_1.
29099 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29100 <bp-checks.h>.
29101 (__fxstatat64): Do not use CHECK_1.
29102 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29103 <bp-checks.h>.
29104 (__fxstat): Do not use CHECK_1.
29105 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29106 <bp-checks.h>.
29107 (__fxstatat): Do not use CHECK_1.
29108 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29109 <bp-checks.h>.
29110 (__getresgid): Do not use CHECK_1.
29111 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29112 <bp-checks.h>.
29113 (__getresuid): Do not use CHECK_1.
29114 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29115 <bp-checks.h>.
29116 (__lxstat): Do not use CHECK_1.
29117 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29118 <bp-checks.h>.
29119 (__old_msgctl): Do not use CHECK_1.
29120 (__new_msgctl): Likewise.
29121 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29122 <bp-checks.h>.
29123 (__new_setrlimit): Do not use CHECK_1.
29124 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29125 <bp-checks.h>.
29126 (__old_shmctl): Do not use CHECK_1.
29127 (__new_shmctl): Likewise.
29128 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29129 <bp-checks.h>.
29130 (__xstat): Do not use CHECK_1.
29131 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29132 (__lxstat): Do not use CHECK_1.
29133 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29134 <bp-checks.h>.
29135 (___lxstat64): Do not use CHECK_1.
29136 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29137 (__old_msgctl): Do not use CHECK_1.
29138 (__new_msgctl): Likewise.
29139 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29140 <bp-checks.h>.
29141 (__gettimeofday): Do not use CHECK_1.
29142 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29143 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29144 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29145 <bp-checks.h>.
29146 (__gettimeofday): Do not use CHECK_1.
29147 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29148 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29149 (__new_shmctl): Do not use CHECK_1.
29150 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29151 <bp-checks.h>.
29152 (do_sigtimedwait): Do not use CHECK_1.
29153 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29154 <bp-checks.h>.
29155 (do_sigwaitinfo): Do not use CHECK_1.
29156 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29157 <bp-checks.h>.
29158 (msgctl): Do not use CHECK_1.
29159 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29160 <bp-checks.h>.
29161 (shmctl): Do not use CHECK_1.
29162 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29163 (ustat): Do not use CHECK_1.
29164 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29165 <bp-checks.h>.
29166 (__fxstat): Do not use CHECK_1.
29167 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29168 <bp-checks.h>.
29169 (__fxstatat): Do not use CHECK_1.
29170 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29171 <bp-checks.h>.
29172 (__lxstat): Do not use CHECK_1.
29173 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29174 <bp-checks.h>.
29175 (__xstat): Do not use CHECK_1.
29176 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29177 (__xstat): Do not use CHECK_1.
29178 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29179 (___xstat64): Do not use CHECK_1.
29180
b2c9eff4
JM
29181 [BZ #13550]
29182 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29183 definitions.
29184 (CHECK_BOUNDS_HIGH): Likewise.
29185 * string/strcpy.c: Do not include <bp-checks.h>.
29186 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29187
f1d70dad
RM
291882013-02-07 Roland McGrath <roland@hack.frob.com>
29189
29190 * nscd/nscd-client.h (__nscd_drop_map_ref):
29191 Add __attribute__ ((unused)).
29192 * nis/nss-nisplus.h (niserr2nss): Likewise.
29193
29194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29195 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29196
29197 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29198 Remove inline keyword.
29199 * include/rounding-mode.h (round_away): Likewise.
29200 * libio/wfileops.c (adjust_wide_data): Likewise.
29201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29202 (__m128i_strloadu_tolower): Likewise.
29203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29204 (__m128i_strloadu_tolower): Likewise.
29205 * time/mktime.c (ydhms_diff): Likewise.
29206 * locale/elem-hash.h (elem_hash): Likewise.
29207 * locale/setlocale.c (setdata): Likewise.
29208 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29209 (re_string_wchar_at): Likewise.
29210 (bitset_not, bitset_merge, bitset_mask): Likewise.
29211 [!(__GNUC__ > 3)] (inline): Remove macro.
29212 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29213 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29214 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29215 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29216 * string/memcmp.c (memcmp_bytes): Likewise.
29217 * locale/programs/locarchive.c (compute_hashval): Likewise.
29218 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29219 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29220 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29221 * nss/getent.c (print_rpc, print_protocols): Likewise.
29222 (print_passwd, print_group, print_aliases): Likewise.
29223 * nis/nss-nisplus.h (niserr2nss): Likewise.
29224 * nscd/connections.c (restart_p): Likewise.
29225 Change return type to bool.
29226
eab55bfb
RM
292272013-02-05 Roland McGrath <roland@hack.frob.com>
29228
7bd642f5
RM
29229 * Makeconfig (all-Depend-files): Add existing
29230 $(sorted-subdirs:=/Depend) files.
29231 (all-subdirs): Remove nss.
29232 * sysdeps/unix/inet/Subdirs: Add it here instead.
29233 * hesiod/Depend: New file.
29234
573c29b2
RM
29235 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29236 instead of calling alloca.
29237
b2e25af0
RM
29238 * io/lseek.c (__lseek): Rename to __libc_lseek.
29239 Define __lseek as an alias.
29240
eab55bfb
RM
29241 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29242
9a0d1941
CD
292432013-02-04 Carlos O'Donell <carlos@redhat.com>
29244
29245 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29246 else clause and remove check for non-standard endianness.
29247
b83bbec4
DM
292482013-02-04 David S. Miller <davem@davemloft.net>
29249
29250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29251
6277fdab
JM
292522013-02-04 Joseph Myers <joseph@codesourcery.com>
29253
29254 [BZ #13550]
29255 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29256 (__ubp_memchr): Remove prototype.
29257 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29258 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29259 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29260 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29261 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29262 Remove alias.
29263 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29264 (__ubp_memchr): Likewise.
29265 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29266 (__ubp_memchr): Likewise.
29267 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29268 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29269 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29270 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29271 CHECK_STRING.
29272 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29273 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29274 (__getcwd): Do not use CHECK_STRING.
29275 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29276 <bp-checks.h>.
29277 (__real_chown): Do not use CHECK_STRING.
29278 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29279 <bp-checks.h>.
29280 (fchownat): Do not use CHECK_STRING.
29281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29282 CHECK_STRING.
29283 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29284 <bp-checks.h>.
29285 (__lchown): Do not use CHECK_STRING.
29286 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29287 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29288 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29289 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29291 include <bp-checks.h>.
29292 (truncate64): Do not use CHECK_STRING.
29293 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29294 <bp-checks.h>.
29295 (__real_chown): Do not use CHECK_STRING.
29296 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29297 <bp-checks.h>.
29298 (__lchown): Do not use CHECK_STRING.
29299 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29300 <bp-checks.h>.
29301 (__chown): Do not use CHECK_STRING.
29302 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29303 <bp-checks.h>.
29304 (truncate64): Do not use CHECK_STRING.
29305 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29306 Likewise.
29307 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29308 (__xmknod): Do not use CHECK_STRING.
29309 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29310 <bp-checks.h>.
29311 (__xmknodat): Do not use CHECK_STRING.
29312 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29313 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29314
903ae060
AS
293152013-02-04 Andreas Schwab <schwab@suse.de>
29316
29317 [BZ #14142]
29318 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29319 * include/netdb.h: Likewise for h_errno.
29320 * elf/tst-stackguard1.c: Include <tls.h>.
29321
542f9466
JK
293222013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29323
29324 * elf/link.h (struct link_map): Extend the l_addr comment.
29325 * include/link.h (struct link_map): Likewise.
29326
e782a927
JM
293272013-02-01 Joseph Myers <joseph@codesourcery.com>
29328
29329 [BZ #13550]
29330 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29331 (BOUNDED_1): Remove macro.
29332 * debug/backtrace.c: Don't include <bp-checks.h>.
29333 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29334 (__backtrace): Likewise.
29335 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29336 <bp-checks.h>.
29337 (__backtrace): Don't use BOUNDED_1.
29338 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29339 <bp-checks.h>.
29340 (__backtrace): Don't use BOUNDED_1.
29341 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29342 (__backtrace): Don't use BOUNDED_1.
29343 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29344 (shmat): Don't use BOUNDED_N.
29345
8cf28c5e
JM
293462013-01-31 Joseph Myers <joseph@codesourcery.com>
29347
3a7ac8a0
JM
29348 [BZ #13550]
29349 * sysdeps/generic/bp-start.h: Remove file.
29350 * csu/libc-start.c: Don't include <bp-start.h>.
29351 (LIBC_START_MAIN): Set up __environ directly instead of using
29352 INIT_ARGV_and_ENVIRON.
29353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29354 <bp-start.h>.
29355
f3499f95
JM
29356 [BZ #13550]
29357 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29358 definitions.
29359 (CHECK_FCNTL): Likewise.
29360 (CHECK_N_PAGES): Likewise.
29361
32a45bea
JM
29362 [BZ #13550]
29363 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29364 definitions.
29365 (CHECK_SIGSET_NULL_OK): Likewise.
29366 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29367 <bp-checks.h>.
29368 (sigpending): Don't use CHECK_SIGSET.
29369 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29370 <bp-checks.h>.
29371 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29372 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29373 <bp-checks.h>.
29374 (do_sigsuspend): Don't use CHECK_SIGSET.
29375 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29376 use CHECK_SIGSET.
29377 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29378 (do_sigwait): Don't use CHECK_SIGSET.
29379 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29380 use CHECK_SIGSET.
29381 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29382 include <bp-checks.h>.
29383 (sigpending): Don't use CHECK_SIGSET.
29384 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29385 include <bp-checks.h>.
29386 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29387 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29388 <bp-checks.h>.
29389 (sigpending): Don't use CHECK_SIGSET.
29390 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29391 <bp-checks.h>.
29392 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29393
2e8a5c8c
JM
29394 [BZ #13550]
29395 * sysdeps/generic/bp-semctl.h: Remove file.
29396 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29397 <bp-checks.h> and <bp-semctl.h>.
29398 (__old_semctl): Don't use CHECK_SEMCTL.
29399 (__new_semctl): Likewise.
29400 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29401 and <bp-semctl.h>.
29402 (__old_semctl): Don't use CHECK_SEMCTL.
29403 (__new_semctl): Likewise.
29404 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29405 <bp-checks.h> and <bp-semctl.h>.
29406 (__old_semctl): Don't use CHECK_SEMCTL.
29407 (__new_semctl): Likewise.
29408 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29409 <bp-checks.h> and <bp-semctl.h>.
29410 (semctl): Don't use CHECK_SEMCTL.
29411
c2d54929
JM
29412 [BZ #13550]
29413 * Makerules (elide-bp-thunks): Remove variable.
29414 (elide-routines.oS): Don't use $(elide-bp-thunks).
29415 (elide-routines.os): Likewise.
29416 (elide-routines.o): Likewise.
29417 (elide-routines.op): Likewise.
29418 (elide-routines.og): Likewise.
29419 (objects): Don't use $(bp-thunks).
29420 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29421 include.
29422 (common-generated): Do not add s-proto-bp.d.
29423 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29424 (int): Likewise.
29425 (typ): Likewise.
29426 Do not generate makefile rules for bounded-pointer thunks.
29427 * sysdeps/generic/bp-thunks.h: Remove file.
29428 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29429 * sysdeps/unix/s-proto-bp.S: Likewise.
29430
8cf28c5e
JM
29431 [BZ #15062]
29432 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29433 parts of result separately when argument is not close to line from
29434 -i to i and one part of argument is small.
29435 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29436 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29437 * math/libm-test.inc (cacos_test): Add more tests.
29438 (casin_test): Likewise.
29439 (casinh_test): Likewise.
29440 * sysdeps/i386/fpu/libm-test-ulps: Update.
29441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29442
c4e33b8d
DM
294432013-01-31 David S. Miller <davem@davemloft.net>
29444
29445 * po/de.po: Update from translation team.
29446
3b60b421
MK
294472013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29448
29449 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29450
bb931195
TS
294512013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29452
b5a5da23
TS
29453 * configure.in (_AC_PROG_CC_C89): New definition.
29454 * configure: Regenerate.
29455
bb931195
TS
29456 * configure.in (AC_PROG_CPP): New definition.
29457 * configure: Regenerate.
29458
8c53a12c
JM
294592013-01-23 Joseph Myers <joseph@codesourcery.com>
29460
29461 * debug/tst-backtrace.h: New file.
29462 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29463 (ret): Remove variable.
29464 (x): Likewise.
29465 (FAIL): Remove macro.
29466 (NO_INLINE): Likewise.
29467 (fn1): Use match function instead of strstr.
29468 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29469 (ret): Remove variable.
29470 (x): Likewise.
29471 (FAIL): Remove macro.
29472 (NO_INLINE): Likewise.
29473 (fn): Use match function instead of strstr.
29474 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29475 (ret): Remove variable.
29476 (x): Likewise.
29477 (FAIL): Remove macro.
29478 (NO_INLINE): Likewise.
29479 (handle_signal): Use match function instead of strstr.
29480 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29481 (ret): Remove variable.
29482 (x): Likewise.
29483 (FAIL): Remove macro.
29484 (NO_INLINE): Likewise.
29485 (handle_signal): Use match function instead of strstr.
29486
4858fa2a
RM
294872013-01-23 Roland McGrath <roland@hack.frob.com>
29488
29489 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29490
bae8e7f5
DM
294912013-01-23 David S. Miller <davem@davemloft.net>
29492
29493 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29494 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29495 argument of CAS if possible.
29496 * sysdeps/sparc/sparc64/bits/atomic.h
29497 (__arch_compare_and_exchange_val_32_acq): Likewise.
29498 (__arch_compare_and_exchange_val_64_acq): Likewise.
29499
9cbbc4ae
PT
295002013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29501
29502 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29503 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29504 Include <limits.h>.
67b3f58c 29505 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29506
5655a0b5
AC
295072013-01-23 Adam Conrad <adconrad@0c3.net>
29508
29509 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29510 (LDFLAGS-tst-array5): Likewise.
29511
052aff95
JM
295122013-01-23 Joseph Myers <joseph@codesourcery.com>
29513
29514 [BZ #15036]
29515 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29516 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29517 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29518 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29519
7c1e01aa
DM
295202013-01-21 David S. Miller <davem@davemloft.net>
29521
29522 * sysdeps/sparc/backtrace.c: New file.
29523 * sysdeps/sparc/sparc32/backtrace.h: New file.
29524 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29525 * sysdeps/sparc/sparc64/backtrace.h: New file.
29526 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29527 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29528 -funwind-tables.
29529
ab087e0a
AS
295302013-01-21 Andreas Schwab <schwab@suse.de>
29531
29532 [BZ #15020]
29533 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29534 closed its stdout.
29535
ed689c2f
AS
295362013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29537
29538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29539 "mpa2.h".
29540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29541
31d470ac
JM
295422013-01-18 Joseph Myers <joseph@codesourcery.com>
29543 Mark Mitchell <mark@codesourcery.com>
29544 Tom de Vries <tom@codesourcery.com>
29545 Paul Pluzhnikov <ppluzhnikov@google.com>
29546
29547 * debug/tst-backtrace2.c: New file.
29548 * debug/tst-backtrace3.c: Likewise.
29549 * debug/tst-backtrace4.c: Likewise.
29550 * debug/tst-backtrace5.c: Likewise.
29551 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29552 (CFLAGS-tst-backtrace3.c): Likewise.
29553 (CFLAGS-tst-backtrace4.c): Likewise.
29554 (CFLAGS-tst-backtrace5.c): Likewise.
29555 (LDFLAGS-tst-backtrace2): Likewise.
29556 (LDFLAGS-tst-backtrace3): Likewise.
29557 (LDFLAGS-tst-backtrace4): Likewise.
29558 (LDFLAGS-tst-backtrace5): Likewise.
29559 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29560 tst-backtrace4 and tst-backtrace5.
29561
90567f30 295622013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29563 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29564
29565 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29566 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29567 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29568 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29570 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29571 "+r" and remove output regs list as redundant. Add explicit inline
29572 asm to specify register of return val to work around compiler codegen
29573 bug. Remove (int) cast on return value. Add return type parameter to
29574 use in macro so that this macro does not truncate return value for
29575 64-bit values.
29576 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29577 pass to INTERNAL_VSYSCALL_NCS.
29578 (INLINE_VSYSCALL): Add 'long int' as return type to
29579 INTERNAL_VSYSCALL_NCS macro invocation.
29580 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29581 INTERNAL_VSYSCALL_NCS macro invocation.
29582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29583
d3b9ea61
SP
295842013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29585
0b57daeb
SP
29586 [BZ #14496]
29587 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29588 Fix application of SIMD FP exception mask.
29589
caa99d06
SP
29590 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29591 mp_no from a power of two.
29592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29593 __mpexp_twomm1. Use __pow_mp.
29594
d3b9ea61
SP
29595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29596 multiplication.
29597
1dbaee3c
DM
295982013-01-17 David S. Miller <davem@davemloft.net>
29599
29600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29601
728d7b43
JM
296022013-01-17 Joseph Myers <joseph@codesourcery.com>
29603
29604 [BZ #15023]
29605 * include/complex.h: Condition contents on [!_COMPLEX_H].
29606 (__kernel_casinhf): New prototype.
29607 (__kernel_casinh): Likewise.
29608 (__kernel_casinhl): Likewise.
29609 * math/Makefile (libm_calls): Add k_casinh.
29610 * math/k_casinh.c: New file.
29611 * math/k_casinhf.c: Likewise.
29612 * math/k_casinhl.c: Likewise.
29613 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29614 finite nonzero arguments.
29615 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29616 finite nonzero arguments.
29617 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29618 finite nonzero arguments.
29619 * math/s_casinh.c: Do not include <float.h>.
29620 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29621 * math/s_casinhf.c: Do not include <float.h>.
29622 (__casinhf): Move code for finite nonzero arguments to
29623 k_casinhf.c.
29624 * math/s_casinhl.c: Do not include <float.h>.
29625 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29626 redefine.
29627 (__casinhl): Move code for finite nonzero arguments to
29628 k_casinhl.c.
29629 * math/libm-test.inc (cacos_test): Add more tests.
29630 * sysdeps/i386/fpu/libm-test-ulps: Update.
29631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29632
2a26ef3a
PT
296332013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29634
29635 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29636 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29637 [!HAVE_MREMAP]: Remove [defined linux] case.
29638 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29639
a897655d
SP
296402013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29641
29642 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29643
881ebe89 296442013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29645
29646 * elf/elf.h (R_386_SIZE32): New relocation.
29647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29648 R_386_SIZE32.
29649 (elf_machine_rela): Likewise.
29650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29651 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29652
59981e9b
JM
296532013-01-17 Joseph Myers <joseph@codesourcery.com>
29654
29655 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29656 (FP_FAST_FMA): Do not define.
29657 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29658 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29659 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29660 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29661 !_SOFT_FLOAT]: Likewise.
29662 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29663 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29664 value.
29665 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29666 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29667 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29669 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29670 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29671 file.
29672
cfa8054f
AS
296732013-01-16 Andreas Schwab <schwab@suse.de>
29674
29675 [BZ #14327]
29676 * include/stdlib.h (__mktemp): Add declaration.
29677 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29678 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29679
dd930cc5
SP
296802013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29681
881ebe89
SP
29682 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29683 definitions.
29684 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29685 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29686 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29687 definitions here.
29688 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29689 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29690 definitions.
29691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29692 and ONE.
29693 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29694 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29695 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29696 definitions.
29697 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29698 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29699 definitions.
29700 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29701
dd930cc5
SP
29702 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29703
c19a9f89
DM
297042013-01-15 David S. Miller <davem@davemloft.net>
29705
1aa61767
DM
29706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29707 trunc{,f} to libm-sysdep_routes.
29708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29710 file.
29711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29713 file.
29714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29715 file.
29716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29718 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29719 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29720 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29721 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29722 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29723 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29724
c42d5e98
DM
29725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29726 nearbyint{,f} to libm-sysdep_routes.
29727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29729 New file.
29730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29731 file.
29732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29733 New file.
29734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29735 file.
29736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29738 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29739 file.
29740 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29742 file.
29743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29744 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29745 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29746
c19a9f89
DM
29747 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29748 libc_feholdexcept and libc_fesetenv.
29749
357679d2
MF
297502013-01-15 Mike Frysinger <vapier@gentoo.org>
29751
29752 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29753
65a82e3d
DM
297542013-01-14 David S. Miller <davem@davemloft.net>
29755
8b954ab9
DM
29756 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29757 (SPARC_ASM_VIS2_IFUNC): Likewise.
29758 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29760 use of 'siam' instruction.
29761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29762 Likewise.
29763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29764 Likewise.
29765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29766 Likewise.
29767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29772 file.
29773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29774 file.
29775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29776 file.
29777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29778 file.
29779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29784 new VIS2 routines.
29785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29788 Likewise.
29789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29794 routines to libm-sysdep_routines.
29795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29796
65a82e3d
DM
29797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29798 fdim/fdimf to libm-sysdep_routines.
29799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29800 file.
29801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29803 file.
29804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29807 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29808 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29809 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29810 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29811
e34ab705
SP
298122013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29813
2a91b573
SP
29814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29815 to optimize copies.
29816
1066a534
SP
29817 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29820
e34ab705
SP
29821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29822 local variable MPTWO.
29823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29824 Likewise.
29825
aba5e596
MF
298262013-01-13 Mike Frysinger <vapier@gentoo.org>
29827
29828 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29829 GLOB_NOESCAPE.
29830
e557e9e5
MF
298312013-01-13 Mike Frysinger <vapier@gentoo.org>
29832
29833 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29834
0428cec9
MF
298352013-01-13 Mike Frysinger <vapier@gentoo.org>
29836
29837 * manual/pattern.texi (glob_t): Document gl_flags.
29838 (glob64_t): Likewise.
29839
8794a964
DM
298402013-01-11 David S. Miller <davem@davemloft.net>
29841
66438c3f
RM
29842 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29843 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29844 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29845 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29846 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29847 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29848 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29849 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29850 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29851 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29852 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29853 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29854 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29855
4ae4244d
DM
29856 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29857 sparc V9 rather than using V8 code.
29858 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29859 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29860
8794a964
DM
29861 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29862 Move to...
29863 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29864 Here.
29865
6270516e
RM
298662013-01-11 Roland McGrath <roland@hack.frob.com>
29867
29868 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29869 not in the main loop.
29870 * configure: Regenerated.
29871
6a57d931
JM
298722013-01-11 Joseph Myers <joseph@codesourcery.com>
29873
29874 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29875 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29876 to just #else.
29877 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29878 [!__GLIBC_HAVE_LONG_LONG] case.
29879 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29880 condition to just #else.
29881 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29882 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29883 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29884 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29885 unconditional.
29886 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29887 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29888 #elif condition to just #else.
29889 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29890 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29891 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29892 #elif condition to just #else.
29893
0e8529e9
SE
298942013-01-11 Steve Ellcey <sellcey@mips.com>
29895
29896 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29897 (EF_MIPS_ARCH_64): Fix value.
29898 (EF_MIPS_ARCH_32R2): New.
29899 (EF_MIPS_ARCH_64R2): New.
29900
740b3dbe
L
299012013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29902
29903 * Makeconfig (+link-pie-before-libc): New.
29904 (+link-pie-after-libc): Likewise.
29905 (+link-pie-tests): Likewise.
29906 (+link-pie): Rewritten.
29907 (link-before-libc): Remove $(config-LDFLAGS).
29908 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29909 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29910 (config-LDFLAGS): Renamed to ...
29911 (rtld-LDFLAGS): This.
29912 (rtld-tests-LDFLAGS): New macro.
29913 (link-libc-rpath-link): Likewise.
29914 (link-libc-tests-rpath-link): Likewise.
29915 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29916 (link-libc): Prepand $(link-libc-rpath-link).
29917 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29918 (test-program-prefix): New macro.
29919 (test-via-rtld-prefix): Likewise.
29920 (test-program-cmd): Likewise.
29921 (host-test-program-cmd): Likewise.
29922 * Makefile ($(common-objpfx)testrun.sh): Replace
29923 $(run-program-prefix) with $(test-program-prefix).
29924 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29925 $(rtld-LDFLAGS).
29926 ($(common-objpfx)shlib.lds): Likewise.
29927 (build-module-helper): Likewise.
29928 ($(common-objpfx)format.lds): Likewise.
29929 * Rules (binaries-pie-tests): New.
29930 (binaries-pie-notests): Likewise.
29931 (binaries-pie): Rewritten.
29932 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29933 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29934 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29935 (make-test-out): Replace $(host-built-program-cmd) with
29936 $(host-test-program-cmd).
29937 * config.make.in (build-hardcoded-path-in-tests): New variable.
29938 * configure.in (--enable-hardcoded-path-in-tests): New configure
29939 option.
29940 (hardcoded_path_in_tests): New AC_SUBST.
29941 * configure: Regenerated.
29942 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29943 $(built-program-cmd) with $(test-program-cmd).
29944 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29945 (test_program_cmd): This.
29946 * elf/Makefile ($(objpfx)order.out): Run test with
29947 $(test-program-prefix).
29948 ($(objpfx)order2.out): Likewise.
29949 ($(objpfx)tst-initorder.out): Likewise.
29950 ($(objpfx)tst-initorder2.out): Likewise.
29951 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29952 $(test-program-cmd).
29953 ($(objpfx)tst-array1-static.out): Likewise.
29954 ($(objpfx)tst-array2.out): Likewise.
29955 ($(objpfx)tst-array3.out): Likewise.
29956 ($(objpfx)tst-array4.out): Likewise.
29957 ($(objpfx)tst-array5.out): Likewise.
29958 ($(objpfx)tst-array5-static.out): Likewise.
29959 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29960 $(test-program-cmd).
29961 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29962 $(run-program-prefix) with $(test-program-prefix).
29963 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29964 (test_program_prefix): This.
29965 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29966 $(run-program-prefix) with $(test-program-prefix).
29967 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29968 (test_program_prefix): This.
29969 * iconvdata/tst-tables.sh: Likewise.
29970 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29971 $(run-program-prefix) with $(test-program-prefix).
29972 ($(objpfx)tst-translit.out): Likewise.
29973 ($(objpfx)tst-gettext2.out): Likewise.
29974 ($(objpfx)tst-gettext4.out): Likewise.
29975 ($(objpfx)tst-gettext6.out): Likewise.
29976 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29977 (test_program_prefix): This.
29978 * intl/tst-gettext2.sh: Likewise.
29979 * intl/tst-gettext4.sh Likewise.
29980 * intl/tst-gettext6.sh: Likewise.
29981 * intl/tst-translit.sh: Likewise.
29982 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29983 with $(test-program-cmd).
29984 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29985 $(run-program-prefix) with $(test-program-prefix).
29986 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29987 (test_program_prefix): This.
29988 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29989 $(run-program-prefix) with $(test-program-prefix).
29990 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29991 (test_program_prefix): This.
29992 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29993 * posix/Makefile ($(objpfx)globtest.out): Replace
29994 $(run-via-rtld-prefix) and $(test-wrapper) with
29995 $(test-program-prefix) and $(test-via-rtld-prefix).
29996 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29997 $(test-program-prefix).
29998 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29999 $(host-test-program-cmd).
30000 (tst-spawn-ARGS): Likewise.
30001 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30002 $(test-program-prefix).
30003 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30004 (test_via_rtld_prefix): This.
30005 (test_wrapper): Renamed to ...
30006 (test_program_prefix): This.
30007 (run_program_prefix): Replaced by test_program_prefix.
30008 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30009 (test_program_prefix): This.
30010 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30011 with $(host-test-program-cmd).
30012 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30013 $(run-program-prefix) with $(test-program-prefix).
30014 ($(objpfx)tst-printf.out): Likewise.
30015 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30016 $(test-program-cmd).
30017 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30018 (test_program_prefix): This.
30019 * stdio-common/tst-unbputc.sh: Likewise.
30020 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30021 $(run-program-prefix) with $(test-program-prefix).
30022 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30023 (test_program_prefix): This.
30024 * string/Makefile ($(objpfx)tst-svc.out): Replace
30025 $(built-program-cmd) with $(test-program-cmd).
30026
c6fe55cf
AJ
300272013-01-11 Andreas Jaeger <aj@suse.de>
30028
30029 [BZ #15003]
30030 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30031 value. Sync with Linux 3.7.
30032
9e6919c8
DM
300332013-01-10 David S. Miller <davem@davemloft.net>
30034
30035 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30036 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30037 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30038
1c9f1a02
RM
300392013-01-10 Roland McGrath <roland@hack.frob.com>
30040
30041 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30042 never set.
30043 * configure: Regenerated.
30044
b9de2dde
DM
300452013-01-10 David S. Miller <davem@davemloft.net>
30046
30047 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30048 sparc V9 rather than using V8 code.
30049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30051
e7f68ef4
RM
300522013-01-10 Roland McGrath <roland@hack.frob.com>
30053
30054 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30055 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30056 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30057 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30058 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30059 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30060 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30061 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30062 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30063 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30064 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30065 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30066 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30067 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30068 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30069 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30070 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30071 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30072 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30073 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30074 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30075 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30076 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30077 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30078 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30079 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30080 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30081
5a47cc9c
DM
300822013-01-10 David S. Miller <davem@davemloft.net>
30083
30084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30085
4cf8f209
L
300862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30087
30088 * posix/Makefile (tests-static): New variable.
30089 (tests): Add $(tests-static).
30090 (tst-exec-static-ARGS): New variable.
30091 (tst-spawn-static-ARGS): Likewise.
30092 * posix/tst-exec-static.c: New file.
30093 * posix/tst-spawn-static.c: Likewise.
30094 * posix/tst-exec.c: Support run directly.
30095 * posix/tst-spawn.c: Likewise.
30096
fed0faa1
JM
300972013-01-10 Joseph Myers <joseph@codesourcery.com>
30098
828beb13
JM
30099 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30100 long.
30101 * math/bits/mathcalls.h (llrint): Likewise.
30102 (llround): Likewise.
30103 * stdlib/stdlib.h (struct drand48_data): Likewise.
30104 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30105 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30106 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30107 Likewise.
30108 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30109 Likewise.
30110 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30111 (elf_greg_t): Likewise.
30112 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30113 (__jmp_buf): Likewise.
30114 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30115 definitions.
30116 (llrint): Likewise, for all definitions.
30117 (llrintl): Likewise.
30118
fed0faa1
JM
30119 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30120 Remove [__GNUC__] condition.
30121 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30122 condition to just [__USE_ISOC99].
30123 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30124
1a20cb20
L
301252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30126
30127 [BZ #14200]
30128 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30129 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30130 defined.
30131 (_POSIX_V6_ILP32_OFF32): Likewise.
30132 (_XBS5_ILP32_OFF32): Likewise.
30133 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30134 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30135
751b85f7
SP
301362013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30137
7490eb81
SP
30138 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30139
751b85f7
SP
30140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30141 doubles __mpexp_twomm1. Adjust usage.
30142 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30143 Remove.
30144
988197f0
AS
301452013-01-10 Andreas Schwab <schwab@suse.de>
30146
30147 [BZ #14964]
30148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30149 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30150
e83d7298
DM
301512013-01-09 David S. Miller <davem@davemloft.net>
30152
034ed64b 30153 [BZ #15003]
57f41c40
AS
30154 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30155 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30156 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30157 (TCP_FASTOPEN): Define.
e83d7298
DM
30158 (tcp_repair_opt): New structure.
30159 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30160 enum values.
57f41c40
AS
30161 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30162 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30163 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30164 (tcp_cookie_transactions): New structure.
30165
d5e0b9bd
AB
301662013-01-09 Anton Blanchard <anton@samba.org>
30167
30168 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30169 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30171 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30172
0c07e3ea
JM
301732013-01-09 Joseph Myers <joseph@codesourcery.com>
30174
30175 * include/features.h (__USE_ANSI): Remove.
30176
232f7002
RM
301772013-01-09 Roland McGrath <roland@hack.frob.com>
30178
ad98e30c
RM
30179 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30180
232f7002
RM
30181 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30182
950c99ca
SP
301832013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30184
b5792741
SP
30185 * sysdeps/s390/fpu/libm-test-ulps: Update.
30186
47cf2278
SP
30187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30188
950c99ca
SP
30189 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30190 (__acr): Likewise.
30191 (__cpy): Likewise.
30192 (norm): Likewise.
30193 (denorm): Likewise.
30194 (__mp_dbl): Likewise.
30195 (__dbl_mp): Likewise.
30196 (add_magnitudes): Likewise.
30197 (sub_magnitudes): Likewise.
30198 (__add): Likewise.
30199 (__sub): Likewise.
30200 (__mul): Likewise.
30201 (__inv): Likewise.
30202 (__dvd): Likewise.
30203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30204 (__acr): Likewise.
30205 (__cpy): Likewise.
30206 (norm): Likewise.
30207 (denorm): Likewise.
30208 (__mp_dbl): Likewise.
30209 (__dbl_mp): Likewise.
30210 (add_magnitudes): Likewise.
30211 (sub_magnitudes): Likewise.
30212 (__add): Likewise.
30213 (__sub): Likewise.
30214 (__mul): Likewise.
30215 (__inv): Likewise.
30216 (__dvd): Likewise.
30217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30218 (__acr): Likewise.
30219 (__cpy): Likewise.
30220 (norm): Likewise.
30221 (denorm): Likewise.
30222 (__mp_dbl): Likewise.
30223 (__dbl_mp): Likewise.
30224 (add_magnitudes): Likewise.
30225 (sub_magnitudes): Likewise.
30226 (__add): Likewise.
30227 (__sub): Likewise.
30228 (__mul): Likewise.
30229 (__inv): Likewise.
30230 (__dvd): Likewise.
30231
eede9df9
JM
302322013-01-08 Joseph Myers <joseph@codesourcery.com>
30233
30234 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30235 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30236 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30237 2 && __USE_EXTERN_INLINES]: Likewise.
30238
c40ea3d9
AJ
302392013-01-08 Andreas Jaeger <aj@suse.de>
30240
30241 [BZ# 14985]
30242 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30243 Remove.
30244 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30245 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30246
2ccdea26
AB
302472013-01-07 Anton Blanchard <anton@samba.org>
30248
30249 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30250 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30251 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30252 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30253 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30254 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30255 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30256 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30258 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30259 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30260 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30261 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30262 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30263 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30264 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30265 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30266 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30267 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30268 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30270 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30272 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30273 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30274 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30275 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30276 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30277 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30278 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30279 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30283 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30284 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30286 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30287 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30288 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30289 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30291 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30292
a9708fed
JM
302932013-01-07 Joseph Myers <joseph@codesourcery.com>
30294
375607b9
JM
30295 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30296 (__MALLOC_PMT): Likewise.
30297 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30298 [__GNUC__], only on [_LIBC].
30299 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30300 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30301 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30302 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30303 forward declaration.
30304 (realloc_hook_ini): Likewise.
30305 (memalign_hook_ini): Likewise.
30306 (__libc_memalign): Do not use __MALLOC_PMT in variable
30307 declaration.
30308 (__libc_valloc): Likewise.
30309 (__libc_pvalloc): Likewise.
30310 (__libc_calloc): Likewise.
30311 (__posix_memalign): Likewise.
30312
a9708fed
JM
30313 [BZ #14996]
30314 * math/s_casinh.c: Include <float.h>.
30315 (__casinh): Do not do computation with squaring and square root
30316 for large arguments.
30317 * math/s_casinhf.c: Include <float.h>.
30318 (__casinhf): Do not do computation with squaring and square root
30319 for large arguments.
30320 * math/s_casinhl.c: Include <float.h>.
30321 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30322 (__casinhl): Do not do computation with squaring and square root
30323 for large arguments.
30324 * math/libm-test.inc (casin_test): Add more tests.
30325 (casinh_test): Likewise.
30326 * sysdeps/i386/fpu/libm-test-ulps: Update.
30327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30328
afec409a
L
303292013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30330
30331 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30332 (__x86_64_raw_data_cache_size): Likewise.
30333 (__x86_64_data_cache_size_half): Likewise.
30334 (__x86_64_raw_data_cache_size_half): Likewise.
30335 (__x86_64_shared_cache_size): Likewise.
30336 (__x86_64_raw_shared_cache_size): Likewise.
30337 (__x86_64_shared_cache_size_half): Likewise.
30338 (__x86_64_raw_shared_cache_size_half): Likewise.
30339 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30340 to ...
30341 (__x86_data_cache_size): This.
30342 (__x86_64_raw_data_cache_size): Renamed to ...
30343 (__x86_raw_data_cache_size): This.
30344 (__x86_64_data_cache_size_half): Renamed to ...
30345 (__x86_data_cache_size_half): This.
30346 (__x86_64_raw_data_cache_size_half): Renamed to ...
30347 (__x86_raw_data_cache_size_half): This.
30348 (__x86_64_shared_cache_size): Renamed to ...
30349 (__x86_shared_cache_size): This.
30350 (__x86_64_raw_shared_cache_size): Renamed to ...
30351 (__x86_raw_shared_cache_size): This.
30352 (__x86_64_shared_cache_size_half): Renamed to ...
30353 (__x86_shared_cache_size_half): This.
30354 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30355 (__x86_raw_shared_cache_size_half): This.
30356 * sysdeps/x86_64/memcpy.S: Updated.
30357 * sysdeps/x86_64/memset.S: Likewise.
30358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30359 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30360 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30361
0b3986d0
DM
303622013-01-04 David S. Miller <davem@davemloft.net>
30363
30364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30365
e47686e9
AS
303662013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30367
d643bac1
AS
30368 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30369 1 to avoid redefinition warning.
30370 (__USE_GNU): Don't define.
30371 (init_signaling_nan): Protoize.
30372
e47686e9
AS
30373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30374
b18decba
SP
303752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30376
fffb407f
SP
30377 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30379 (__cpymn): Likewise.
30380 (norm): Remove commented code.
30381 (denorm): Likewise.
30382 (__mp_dbl): Likewise.
30383 (__inv): Likewise.
30384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30385 (__cpymn): Likewise.
30386 (norm): Remove commented code.
30387 (denorm): Likewise.
30388 (__mp_dbl): Likewise.
30389 (__inv): Likewise.
30390
b18decba
SP
30391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30392 mp_no value for 1.0 and 2.0.
30393 (norm): Use RADIXI instead of radixi.d.
30394 (denorm): Likewise.
30395 (__mul): Use 0.0 instead of zero.d.
30396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30397 mp_no value for 1.0 and 2.0.
30398 (norm): Use RADIXI instead of radixi.d.
30399 (denorm): Likewise.
30400 (__mul): Use 0.0 instead of zero.d.
30401
cdc1c96f
JM
304022013-01-04 Joseph Myers <joseph@codesourcery.com>
30403
30404 [BZ #14994]
30405 * math/s_casinh.c (__casinh): Reduce finite argument to first
30406 quadrant then set signs of results at the end.
30407 * math/s_casinhf.c (__casinhf): Likewise.
30408 * math/s_casinhl.c (__casinhl): Likewise.
30409 * math/libm-test.inc (casin_test): Add more tests.
30410 (casinh_test): Likewise.
30411 * sysdeps/i386/fpu/libm-test-ulps: Update.
30412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30413
302913e1
SP
304142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30415
6420d207
SP
30416 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30417
a9e48ab4
SP
30418 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30419
b7837264
SP
30420 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30421 declarations.
30422 (denorm): Likewise.
30423 (__mp_dbl): Likewise.
30424 (__inv): Likewise.
30425
f8af25d2
SP
30426 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30427 and adjust the header comment.
30428
302913e1
SP
30429 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30430 variable name from declaration.
30431
5d7dd1ca
L
304322013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30433
30434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30435 Initialize COMMON_CPUID_INDEX_7 element.
30436 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30437 (CPUID_RTM): Likewise.
30438 (HAS_RTM): Likewise.
30439 (COMMON_CPUID_INDEX_7): New enum.
30440
2f5f40f4
AS
304412013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30442
30443 [BZ #14981]
30444 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30445 size is zero, record memory as freed.
30446
4056f4a0
AJ
304472013-01-03 Andreas Jaeger <aj@suse.de>
30448
30449 * po/ia.po: Add new Interlingua translation.
30450
ab15736f 304512012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30452
30453 * locale/programs/localedef.c: Fix description of '--posix' flag.
30454
568035b7
JM
304552013-01-02 Joseph Myers <joseph@codesourcery.com>
30456
e6898b8d
JM
30457 * NEWS: Update dates in second copyright notice.
30458 * README: Update copyright dates in example.
30459 * manual/libc.texinfo: Update copyright dates.
30460 * scripts/test-installation.pl: Update copyright date in --version
30461 output.
30462
0e2f9562
JM
30463 * hurd/ctty-input.c: Fix copyright notice formatting.
30464 * hurd/ctty-output.c: Likewise.
30465 * hurd/dtable.c: Likewise.
30466 * hurd/hurd-raise.c: Likewise.
30467 * hurd/hurdprio.c: Likewise.
30468 * hurd/msgportdemux.c: Likewise.
30469 * misc/sys/file.h: Likewise.
30470 * misc/sys/ioctl.h: Likewise.
30471 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30472 * sysdeps/mach/hurd/chdir.c: Likewise.
30473 * sysdeps/mach/hurd/fchdir.c: Likewise.
30474 * sysdeps/mach/hurd/rename.c: Likewise.
30475 * sysdeps/mach/hurd/rmdir.c: Likewise.
30476 * sysdeps/mach/hurd/seekdir.c: Likewise.
30477 * sysdeps/mach/hurd/setsid.c: Likewise.
30478 * sysdeps/posix/wait3.c: Likewise.
30479
568035b7
JM
30480 * All files with FSF copyright notices: Update copyright dates
30481 using scripts/update-copyrights.
30482 * intl/plural.c: Regenerated.
30483 * locale/programs/charmap-kw.h: Likewise.
30484 * locale/programs/locfile-kw.h: Likewise.
30485
da08f647
SP
304862013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30487
0f5477af
SP
30488 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30489 four values.
30490
44e0d4c2
SP
30491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30492 calculation loop and add branch prediction.
30493
4d55b4e5
SP
30494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30495 check access beyond bounds of m1np.
30496
da08f647
SP
30497 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30498 MPTWO.
30499 (__inv): Remove local variable MPTWO to use the global
30500 constant.
30501 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30502 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30503 variable MPTWO.
30504 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30505 MP3HALFS static const.
30506
8e051029
DM
305072013-01-01 David S. Miller <davem@davemloft.net>
30508
30509 * po/ca.po: Update from translation team.
30510
f4cf5f2d
JM
305112013-01-01 Joseph Myers <joseph@codesourcery.com>
30512
30513 * scripts/update-copyrights: New file.
30514 * Makeconfig: Reformat copyright notice.
30515 * ctype/ctype.h: Likewise.
30516 * debug/swprintf_chk.c: Likewise.
30517 * elf/dl-cache.c: Likewise.
30518 * elf/dl-debug.c: Likewise.
30519 * elf/dl-object.c: Likewise.
30520 * grp/initgroups.c: Likewise.
30521 * hurd/Makefile: Likewise.
30522 * hurd/hurd/signal.h: Likewise.
30523 * hurd/hurdfault.c: Likewise.
30524 * hurd/hurdioctl.c: Likewise.
30525 * hurd/hurdlookup.c: Likewise.
30526 * hurd/intr-msg.c: Likewise.
30527 * iconv/gconv_open.c: Likewise.
30528 * libio/swprintf.c: Likewise.
30529 * locale/lc-ctype.c: Likewise.
30530 * locale/nl_langinfo.c: Likewise.
30531 * mach/Machrules: Likewise.
30532 * mach/Makefile: Likewise.
30533 * malloc/obstack.h: Likewise.
30534 * manual/Makefile: Likewise.
30535 * manual/tsort.awk: Likewise.
30536 * misc/bits/stab.def: Likewise.
30537 * nis/nis_print_group_entry.c: Likewise.
30538 * nis/nis_table.c: Likewise.
30539 * nis/nss_compat/compat-pwd.c: Likewise.
30540 * nis/nss_compat/compat-spwd.c: Likewise.
30541 * po/Makefile: Likewise.
30542 * posix/fnmatch.c: Likewise.
30543 * posix/regex.h: Likewise.
30544 * resolv/Makefile: Likewise.
30545 * resolv/nss_dns/dns-network.c: Likewise.
30546 * resolv/res_hconf.c: Likewise.
30547 * scripts/gen-sorted.awk: Likewise.
30548 * soft-fp/soft-fp.h: Likewise.
30549 * stdio-common/printf.h: Likewise.
30550 * stdlib/monetary.h: Likewise.
30551 * stdlib/random.c: Likewise.
30552 * stdlib/random_r.c: Likewise.
30553 * sysdeps/generic/Makefile: Likewise.
30554 * sysdeps/gnu/Makefile: Likewise.
30555 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30578 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30579 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30581 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30582 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30583 * sysdeps/mach/hurd/errnos.awk: Likewise.
30584 * sysdeps/mach/hurd/fork.c: Likewise.
30585 * sysdeps/mach/hurd/getcwd.c: Likewise.
30586 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30587 * sysdeps/mach/hurd/mmap.c: Likewise.
30588 * sysdeps/mach/hurd/utimes.c: Likewise.
30589 * sysdeps/mach/hurd/xmknod.c: Likewise.
30590 * sysdeps/posix/profil.c: Likewise.
30591 * sysdeps/posix/readdir_r.c: Likewise.
30592 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30593 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30594 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30595 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30597 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30598 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30599 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30601 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30602 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30603 * sysdeps/pthread/lio_listio.c: Likewise.
30604 * sysdeps/sparc/dl-procinfo.h: Likewise.
30605 * sysdeps/unix/i386/sysdep.S: Likewise.
30606 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30607 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30608 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30609 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30611 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30612 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30613 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30614 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30615 * sysdeps/wordsize-32/divdi3.c: Likewise.
30616 * time/sys/time.h: Likewise.
30617 * wcsmbs/Makefile: Likewise.
30618
0549fbba
DM
306192013-01-01 David S. Miller <davem@davemloft.net>
30620
a141f1a7
DM
30621 * po/fr.po: Update from translation team.
30622
0549fbba
DM
30623 * catgets/gencat.c: Update copyright year.
30624 * csu/version.c: Likewise.
30625 * debug/catchsegv.sh: Likewise.
30626 * debug/pcprofiledump.c: Likewise.
30627 * debug/xtrace.sh: Likewise.
30628 * elf/ldconfig.c: Likewise.
30629 * elf/ldd.bash.in: Likewise.
30630 * elf/pldd.c: Likewise.
30631 * elf/sotruss.ksh: Likewise.
30632 * elf/sprof.c: Likewise.
30633 * iconv/iconv_prog.c: Likewise.
30634 * iconv/iconvconfig.c: Likewise.
30635 * locale/programs/locale.c: Likewise.
30636 * locale/programs/localedef.c: Likewise.
30637 * login/programs/pt_chown.c: Likewise.
30638 * malloc/memusage.sh: Likewise.
30639 * malloc/memusagestat.c: Likewise.
30640 * malloc/mtrace.pl: Likewise.
30641 * nscd/nscd.c: Likewise.
30642 * nss/getent.c: Likewise.
30643 * nss/makedb.c: Likewise.
30644 * posix/getconf.c: Likewise.
30645
18ea052c
SP
306462012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30647
30648 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30649 numbers.
30650
9c89fca6
MF
306512012-12-30 Mike Frysinger <vapier@gentoo.org>
30652
30653 * math/bits/mathcalls.h (modf): Use __nonnull.
30654
085ec079
SP
306552012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30656
30657 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30658 (split): Use macro CN instead of the bare value.
30659 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30660 could be used.
30661 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30662 instead of the bare value.
30663 (power1): Likewise.
30664
6d9f97e1
SP
306652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30666
d63f73be
SP
30667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30668 __ATAN_TWOM.
30669 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30670
6d9f97e1
SP
30671 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30672 their values.
30673 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30675 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30676 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30677
4c4febf5
AJ
306782012-12-28 Andreas Jaeger <aj@suse.de>
30679
af5843ef
AJ
30680 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30681 values are from Linux 3.7.
30682
4c4febf5
AJ
30683 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30684 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30685
99136f82
SP
306862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30687
2f216c3c 30688 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30689 TRUE case.
30690
99136f82
SP
30691 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30692 (norm): Likewise.
30693 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30694 variables with preprocessor constants.
30695 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30696 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30697 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30698
7fffbdff
BH
306992012-12-27 Bruno Haible <bruno@clisp.org>
30700
30701 [BZ #14317]
30702 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30703 only if needed.
30704
b76eb5f0
SP
307052012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30706
31a7fe5c
SP
30707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30708 and use variable directly.
30709 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30710
b76eb5f0
SP
30711 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30712 MPONE.
30713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30715 variable MPONE.
30716 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30718 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30719 include directive. Remove local variable MPONE.
30720 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30721 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30723
2c8bfe7d
DM
307242012-12-25 David S. Miller <davem@davemloft.net>
30725
30726 * version.h (RELEASE): Set to "development".
30727 (VERSION): Set to "2.17.90".
30728 * NEWS: Add 2.18 section.
30729
147d03b0
DM
307302012-12-21 David S. Miller <davem@davemloft.net>
30731
30732 * po/hr.po: Update from translation team.
30733
a8ebb2b9
AK
307342012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30735
30736 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30737
95b4f1b6
SE
307382012-12-19 Steve Ellcey <sellcey@mips.com>
30739
b2d94007 30740 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30741
cedb2a90
MS
307422012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30743
30744 * manual/contrib.texi (Contributors): Spelling correction.
30745
bbf527d6
DM
307462012-12-15 David S. Miller <davem@davemloft.net>
30747
30748 * po/ru.po: Update from translation team.
30749
bc38c906
DM
307502012-12-13 David S. Miller <davem@davemloft.net>
30751
85429b1a
DM
30752 * NEWS: Mention IFUNC testsuite enhancements.
30753
d283e353
DM
30754 * po/pl.po: Update from translation team.
30755 * po/bg.po: Likewise.
30756
bc38c906
DM
30757 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30758 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30759
a181b0d7
DM
307602012-12-11 David S. Miller <davem@davemloft.net>
30761
4641d57e
DM
30762 * po/sv.po: Update from translation team.
30763
f7bc6495
DM
30764 * po/vi.po: Update from translation team.
30765
6fc9048f
DM
30766 * po/cs.po: Update from translation team.
30767
a181b0d7
DM
30768 * po/de.po: Update from translation team.
30769 * po/eo.po: Likewise.
30770 * po/nl.po: Likewise.
30771
f70bfe80
SP
307722012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30773
3c8b4190
SP
30774 [BZ #14246]
30775 * manual/argp.texi (Argp Helper Functions): Move node to follow
30776 Argp Parsing State.
30777
f70bfe80
SP
30778 [BZ #14872]
30779 * manual/conf.texi (Limits on File System Capacity): Mention if
30780 terminating null is included in the max size.
30781
188f0adf
AJ
307822012-12-10 Andreas Jaeger <aj@suse.de>
30783
30784 * po/cs.po: Update from translation team.
30785
56e7d3ad
SP
307862012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30787
30788 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30789 void pointer and cast to uintptr_t.
30790 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30791 path.
30792 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30793 * sysdeps/s390/s390-64/memset.S: Likewise.
30794
76f2d2ea 307952012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30796
30797 [BZ #14833]
30798 * menual/message.texi (Message Translation): Fix typos.
30799 (Helper programs for gettext): Likewise.
30800
67cbf9a2
AS
308012012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30802
30803 [BZ #14898]
30804 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30805 Change to -1.
30806
682d0e9a
DM
308072012-12-07 David S. Miller <davem@davemloft.net>
30808
30809 * po/libc.pot: Update.
30810
573cd484
RH
308112012-12-07 Richard Henderson <rth@redhat.com>
30812
7e9da188 30813 [BZ #10114]
573cd484
RH
30814 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30815 normal/normal case to before the switch.
30816 (_FP_DIV): Likewise.
30817
e933a943
MF
308182012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30819 Mike Frysinger <vapier@gentoo.org>
30820
30821 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30822 check for __NR_fadvise64_64.
30823
82123268
CM
308242012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30825
30826 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30827 0, not just to plain "0" as a statement.
30828 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30829 with cw.
30830
d9814526
JM
308312012-12-06 Joseph Myers <joseph@codesourcery.com>
30832
30833 * NEWS: Use sourceware.org in Bugzilla URL.
30834
7728c574
SP
308352012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30836
f16946dd
SP
30837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30838 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30839
5704bbcb
SP
30840 * stdio-common/tst-put-error.c (do_test): Add newline to the
30841 padded test to ensure flush.
30842
17aa0516
JL
308432012-12-05 Jeff Law <law@redhat.com>
30844
30845 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30846
363313b5
JM
308472012-12-05 Joseph Myers <joseph@codesourcery.com>
30848
effbd42a
JM
30849 * README: Don't refer to ports add-on as distributed separately.
30850 Mention AArch64 in list of systems supported in the ports add-on.
30851
87600365
JM
30852 * LICENSES: Add more non-FSF copyright and license notices.
30853
a0d7066a
JM
30854 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30855 ((unused)).
30856
66ca5a5b
JM
30857 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30858
363313b5
JM
30859 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30860 10000 as width of padded output.
30861
b37984ad
JM
308622012-12-04 Joseph Myers <joseph@codesourcery.com>
30863
9003570a
JM
30864 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30865
b37984ad
JM
30866 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30867 variable LX with __attribute__ ((unused)).
30868 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30869 Likewise.
30870 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30872 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30873 with __attribute__ ((unused)).
30874
c8df52ec
DM
308752012-12-04 David S. Miller <davem@abraco.davemloft.net>
30876
30877 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30878
b3b099af
JM
308792012-12-04 Joseph Myers <joseph@codesourcery.com>
30880
c33aa6e3
JM
30881 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30882 (CFLAGS-nldbl-acos.c): New variable.
30883 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30884 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30885 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30886 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30887 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30888 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30889 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30890 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30891 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30892 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30893 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30894 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30895 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30896 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30897 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30898 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30899 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30900 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30901 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30902 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30903 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30904 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30905 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30906 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30907 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30908 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30909 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30910 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30911 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30912 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30913 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30914 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30915 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30916 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30917 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30918 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30919 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30920 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30921 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30922 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30923 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30924 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30925 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30926 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30927 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30928 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30929 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30930 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30931 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30932 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30933 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30934 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30935 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30936 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30937 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30938 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30939 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30940 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30941 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30942 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30943 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30944 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30945 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30946 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30947 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30948 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30949 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30950 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30951 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30952 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30953 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30954 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30955 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30956 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30957 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30958 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30959 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30960 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30961 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30962 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30963 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30964 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30965 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30966 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30967 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30968 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30969 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30970 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30971 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30972 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30973 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30974 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30975 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30976 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30977 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30978 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30979 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30980
20f0018d
JM
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30982 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30983
b3b099af
JM
30984 [BZ #14914]
30985 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30986 whole low double instead of just low 47 bits when splitting values
30987 into two parts.
30988
029264d1
AM
309892012-12-03 Allan McRae <allan@archlinux.org>
30990
30991 * manual/stdio.texi (Predefined Printf Handlers): Remove
30992 @hsep and @vsep usage.
30993
c9d6789e
MF
309942012-12-03 Mike Frysinger <vapier@gentoo.org>
30995
30996 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30997 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30998
4b7634a5
JL
309992012-12-03 Jeff Law <law@redhat.com>
31000
31001 * time/sys/time.h (settimeofday): Do not mark TV argument
31002 as __nonnull.
31003
eb6cbd24
MF
310042012-12-01 Mike Frysinger <vapier@gentoo.org>
31005
31006 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31007 when currently writing and seek to current position when not.
31008 * libio/Makefile (tests): Remove bug-fclose1.
31009 * libio/bug-fclose1.c: Delete.
31010
f638872a
JM
310112012-12-01 Joseph Myers <joseph@codesourcery.com>
31012
31013 * manual/arith.texi (feenableexcept): Fix typo.
31014 (fedisableexcept): Likewise.
31015
48085d14
RM
310162012-11-30 Roland McGrath <roland@hack.frob.com>
31017
31018 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31019 second, differently-typed declaration, rather than a cast.
31020
1a538b9f
SP
310212012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31022
31023 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31024 * include/rpc/svc.h: ... here.
31025
d07f2ff1 310262012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
31027
31028 [BZ #13013]
31029 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31030 depending n and resplen2 to catch cases where answer
31031 equals answerp2.
31032
c93ec1f0
CD
310332012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31034
31035 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31036 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31037
37db69de
MF
310382012-11-29 Mike Frysinger <vapier@gentoo.org>
31039
31040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31041
e10c4e4f
RM
310422012-11-29 Roland McGrath <roland@hack.frob.com>
31043
31044 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31045
2af1b328
JL
310462012-11-28 Jeff Law <law@redhat.com>
31047
31048 [BZ #13761]
31049 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31050 dataset_temporary. Track alloca usage into alloca_used.
31051 If dataset is large allocate and release it via malloc/free.
31052
111db5b1
FW
310532012-06-04 Florian Weimer <fweimer@redhat.com>
31054
f06cc227 31055 [BZ #14197]
111db5b1
FW
31056 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31057
dd694abd
DM
310582012-11-28 David S. Miller <davem@davemloft.net>
31059
31060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31061
9984dd01
JM
310622012-11-28 Joseph Myers <joseph@codesourcery.com>
31063
31064 [BZ #14803]
31065 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31066 of pi/2 rounded to nearest to 64 bits.
31067 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31068 nearest to 64 bits.
31069 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31070 bits.
31071
14bc93a9
JL
310722012-11-28 Jeff Law <law@redhat.com>
31073 Martin Osvald <mosvald@redhat.com>
31074
31075 [BZ #14889]
31076 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31077 * sunrpc/svc.c: Include time.h.
31078 (__svc_accept_failed): New function.
31079 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31080 any reason other than EINTR, call __svc_accept_failed.
31081 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31082 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31083
e3c6aa3a
AS
310842012-11-28 Andreas Schwab <schwab@suse.de>
31085
31086 * scripts/abilist.awk: Also handle indirect functions in .opd
31087 section.
31088
1bead169
JM
310892012-11-28 Joseph Myers <joseph@codesourcery.com>
31090
31091 [BZ #13881]
31092 * sysdeps/x86/fpu/powl_helper.c: New file.
31093 * sysdeps/x86/fpu/Makefile: Likewise.
31094 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31095 (p3): New object.
31096 (__ieee754_powl): Use __powl_helper for finite arguments except
31097 integer exponents below 8.
31098 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31099 (p3): New object.
31100 (__ieee754_powl): Use __powl_helper for finite arguments except
31101 integer exponents below 8.
31102 * math/libm-test.inc (pow_test): Add more tests and enable some
31103 previously disabled tests.
31104 * sysdeps/i386/fpu/libm-test-ulps: Update.
31105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31106
0817d63d
SP
311072012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31108 Carlos O'Donell <carlos_odonell@mentor.com>
31109
31110 * nss/makedb.c (is_prime): Assert that input is odd and greater
31111 than 4. Note that fact in a comment too.
31112 (next_prime): Add 4 to input.
31113
de2fd463
SP
311142012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31115
31116 [BZ #11741]
31117 * libio/Makefile (tests): Add test case tst-fwrite-error.
31118 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31119 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31120 * libio/tst-fwrite-error.c: New test case.
31121
c515fb51
L
311222012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31123
31124 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31125 before casting to void *.
31126 * include/libc-internal.h (__pointer_type): New macro.
31127 (__integer_if_pointer_type_sub): Likewise.
31128 (__integer_if_pointer_type): Likewise.
31129 (cast_to_integer): Likewise.
31130 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31131 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31132 before casting to atomic64_t.
31133 (atomic_exchange_acq): Likewise.
31134 (__arch_exchange_and_add_body): Likewise.
31135 (__arch_add_body): Likewise.
31136 (atomic_add_negative): Likewise.
31137 (atomic_add_zero): Likewise.
31138
4cf77aa9
JM
311392012-11-26 Joseph Myers <joseph@codesourcery.com>
31140
31141 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31142 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31143 (add_fdes): Likewise.
31144 (linear_search_fdes): Likewise.
31145 (binary_search_unencoded_fdes): Likewise.
31146
d260b3b4
AS
311472012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31148
31149 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31150
67060746
AC
311512012-11-24 Adam Conrad <adconrad@0c3.net>
31152
31153 * configure.in: Autodetect C++ header directories.
31154 * configure: Regenerated.
31155
800938a1
MF
311562012-11-23 Mike Frysinger <vapier@gentoo.org>
31157
31158 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31159
4e6e34e6
AS
311602012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31161
31162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31163
7c7feb47
JM
311642012-11-22 Joseph Myers <joseph@codesourcery.com>
31165
7184dcdf
JM
31166 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31167 LDBL_MANT_DIG == 106]: Disable some tests.
31168 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31169 Likewise.
31170 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31171 Likewise.
31172
0a42601f
JM
31173 [BZ #14871]
31174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31175 input for small inputs. Return +/- pi/2 for large inputs.
31176 * math/libm-test.inc (atan_test): Add more tests.
31177
79c9b9fe
JM
31178 * sysdeps/generic/unwind-dw2-fde-glibc.c
31179 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31180 __attribute__ ((unused)).
31181
c60d3bf2
JM
31182 [BZ #14645]
31183 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31184 x * y if x and y are nonzero and z is zero.
31185
ef1e0867
JM
31186 [BZ #14811]
31187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31188 nonzero exponents with absolute value below 0x1p-117 to +/-
31189 0x1p-117.
31190
1468ded3
JM
31191 [BZ #14869]
31192 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31193 up arguments below 2**-450, not just those below 2**-500.
31194 * math/libm-test.inc (hypot_test): Add another test.
31195
8e27e3cc
JM
31196 [BZ #14868]
31197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31198 Return a+b for ratio over 2**120, not 2**60.
31199 * math/libm-test.inc (hypot_test): Add another test.
31200
c9c0279b
JM
31201 * math/libm-test.inc (clog_test): Use
31202 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31203 (clog10_test): Likewise.
31204
7c7feb47
JM
31205 [BZ #6778]
31206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31207
fff1530e
AS
312082012-11-22 Andreas Schwab <schwab@suse.de>
31209
31210 * sysdeps/i386/fpu/libm-test-ulps: Update.
31211
94558d30
PT
312122012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31213
31214 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31215 printf output with newline.
31216
7e1be741
L
312172012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31218
6bfea974
L
31219 [BZ #14865]
31220 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31221 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31222 -z nodlopen, -z initfirst and -z execstack support.
31223 * configure: Regenerated.
31224
7e1be741
L
31225 * elf/elf.h (DF_1_NODIRECT): New macro.
31226 (DF_1_IGNMULDEF): Likewise.
31227 (DF_1_NOKSYMS): Likewise.
31228 (DF_1_NOHDR): Likewise.
31229 (DF_1_EDITED): Likewise.
31230 (DF_1_NORELOC): Likewise.
31231 (DF_1_SYMINTPOSE): Likewise.
31232 (DF_1_GLOBAUDIT): Likewise.
31233 (DF_1_SINGLETON): Likewise.
31234 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31235 DT_1_SUPPORTED_MASK bits.
31236 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31237
105ce2ce
CD
312382012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31239
31240 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31241
123be9de
TS
312422012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31243
d072f3f7
TS
31244 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31245 macro.
31246
123be9de
TS
31247 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31248 (sendmmsg): Move declarations...
31249 * socket/sys/socket.h: ... here.
31250 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31251 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31252 include it from...
31253 * socket/recvmmsg.c: ... this new file.
31254 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31255 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31256 definition of __sendmmsg hidden.
31257 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31258 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31259 Move ENOSYS stub into and include it from...
31260 * socket/sendmmsg.c: ... this new file.
31261 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31262 (sysdep_routines): Move recvmmsg and sendmmsg...
31263 * socket/Makefile (routines): ... here.
31264 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31265 (GLIBC_PRIVATE): Add __sendmmsg.
31266 * include/sys/socket.h (__sendmmsg): Add declarations.
31267 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31268 sendmmsg.
31269
cf9a5d18
JM
312702012-11-20 Joseph Myers <joseph@codesourcery.com>
31271
31272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31273 variable I1 with __attribute__ ((unused)).
31274 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31275
ecd4caf9
JM
312762012-11-19 Joseph Myers <joseph@codesourcery.com>
31277
be14d48f
JM
31278 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31279 DUMMY variables with __attribute__ ((unused)).
31280
ecd4caf9
JM
31281 * bits/byteswap.h: Include <bits/types.h>.
31282 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31283
986cab95
PT
312842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31285
31286 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31287 string_t. Do not manually set errno.
31288 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31289 length with __strnlen. Make sure to both set errno and return it on
31290 failure.
31291
6d33cc9d
DM
312922012-11-19 David S. Miller <davem@davemloft.net>
31293
31294 With help from Joseph Myers.
31295 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31296 very large arguments properly.
31297 * math/libm-test.inc (atan_test): New tests.
31298 (atan2_test): New tests.
31299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31301
ee663277
JM
313022012-11-19 Joseph Myers <joseph@codesourcery.com>
31303
877f2d8e
JM
31304 [BZ #14856]
31305 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31306 Define to 3.
31307
116fc08a
JM
31308 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31309 [POSIX] (EADDRNOTAVAIL): Likewise.
31310 [POSIX] (EAFNOSUPPORT): Likewise.
31311 [POSIX] (EALREADY): Likewise.
31312 [POSIX] (ECONNABORTED): Likewise.
31313 [POSIX] (ECONNREFUSED): Likewise.
31314 [POSIX] (ECONNRESET): Likewise.
31315 [POSIX] (EDESTADDRREQ): Likewise.
31316 [POSIX] (EDQUOT): Likewise.
31317 [POSIX] (EHOSTUNREACH): Likewise.
31318 [POSIX] (EIDRM): Likewise.
31319 [POSIX] (EISCONN): Likewise.
31320 [POSIX] (ELOOP): Likewise.
31321 [POSIX] (EMULTIHOP): Likewise.
31322 [POSIX] (ENETDOWN): Likewise.
31323 [POSIX] (ENETUNREACH): Likewise.
31324 [POSIX] (ENOBUFS): Likewise.
31325 [POSIX] (ENODATA): Likewise.
31326 [POSIX] (ENOLINK): Likewise.
31327 [POSIX] (ENOMSG): Likewise.
31328 [POSIX] (ENOPROTOOPT): Likewise.
31329 [POSIX] (ENOSR): Likewise.
31330 [POSIX] (ENOSTR): Likewise.
31331 [POSIX] (ENOTCONN): Likewise.
31332 [POSIX] (ENOTSOCK): Likewise.
31333 [POSIX] (EOPNOTSUPP): Likewise.
31334 [POSIX] (EOVERFLOW): Likewise.
31335 [POSIX] (EPROTO): Likewise.
31336 [POSIX] (EPROTONOSUPPORT): Likewise.
31337 [POSIX] (EPROTOTYPE): Likewise.
31338 [POSIX] (ESTALE): Likewise.
31339 [POSIX] (ETIME): Likewise.
31340 [POSIX] (ETXTBSY): Likewise.
31341 [POSIX] (EWOULDBLOCK): Likewise.
31342 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31343 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31344 [POSIX] (SEEK_CUR): Likewise.
31345 [POSIX] (SEEK_END): Likewise.
31346 [POSIX || UNIX98] (mode_t): Do not require.
31347 [POSIX] (off_t): Likewise.
31348 [POSIX] (pid_t): Likewise.
31349 [POSIX] (sys/stat.h): Do not allow header.
31350 [POSIX] (unistd.h): Likewise.
31351 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31352 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31353 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31354 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31355 require.
31356 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31357 sigevent): Specify elements.
31358 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31359 entry.
31360 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31361 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31362
a483863f
JM
31363 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31364 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31365 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31366 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31367 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31368 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31369 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31370 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31371 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31372 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31373 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31374 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31375 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31376 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31377 Likewise.
31378 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31379 Likewise.
31380 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31381 Likewise.
31382 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31383 Likewise.
31384 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31385 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31386 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31387 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31388 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31389 Specify lower bound on value.
31390 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31391 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31392 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31393 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31394 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31395 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31396 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31397 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31398 value.
31399 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31400 as optional.
31401 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31402 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31403 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31404 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31405 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31406 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31407 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31408 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31409 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31410 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31411 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31412 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31413 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31414 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31415 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31416 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31417 entry.
31418 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31419 optional.
31420 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31421 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31422 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31423 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31424 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31425 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31426 Likewise.
31427 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31428 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31429 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31430 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31431 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31432 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31433 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31434 as optional.
31435 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31436 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31437 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31438 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31439 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31440 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31441 specify as optional.
31442 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31443 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31444 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31445 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31446 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31447 [XPG3] (NL_LANGMAX): Likewise.
31448 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31449 [POSIX || XPG3] (NL_NMAX): Likewise.
31450 [POSIX || XPG3] (NL_SETMAX): Likewise.
31451 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31452 [XPG3] (NZERO): Likewise.
31453 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31454 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31455 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31456 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31457 (REG_ERANGE): Expect.
31458 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31459 optional-constant.
31460 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31461 Use (void) in prototype.
31462 [POSIX] (*_t): Allow.
31463 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31464 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31465 (WRDE_BADVAL): Expect.
31466
5ba924e3
JM
31467 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31468 expect.
31469 [XPG3 || XPG4] (O_RSYNC): Likewise.
31470 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31471 Likewise.
31472 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31473 [XPG3 || XPG4] (sigqueue): Likewise.
31474 [XPG3 || XPG4] (sigtimedwait): Likewise.
31475 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31476 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31477 [XPG3 || XPG4] (vsnprintf): Likewise.
31478 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31479 Likewise.
31480 [XPG3 || XPG4] (blksize_t): Likewise.
31481 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31482 Likewise.
31483 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31484 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31485 [XPG3 || XPG4] (struct itimerspec): Likewise.
31486 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31487 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31488 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31489 [XPG3 || XPG4] (clockid_t): Likewise.
31490 [XPG3 || XPG4] (timer_t): Likewise.
31491 [XPG3 || XPG4] (clock_getres): Likewise.
31492 [XPG3 || XPG4] (clock_gettime): Likewise.
31493 [XPG3 || XPG4] (clock_settime): Likewise.
31494 [XPG3 || XPG4] (nanosleep): Likewise.
31495 [XPG3 || XPG4] (timer_create): Likewise.
31496 [XPG3 || XPG4] (timer_delete): Likewise.
31497 [XPG3 || XPG4] (timer_gettime): Likewise.
31498 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31499 [XPG3 || XPG4] (timer_settime): Likewise.
31500 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31501 [XPG3 || XPG4] (getlogin_r): Likewise.
31502 [XPG3 || XPG4] (pread): Likewise.
31503 [XPG3 || XPG4] (pthread_atfork): Likewise.
31504 [XPG3 || XPG4] (pwrite): Likewise.
31505
ee663277
JM
31506 [BZ #14835]
31507 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31508 <bits/siginfo.h>.
31509
942caa16
PT
315102012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31511
e19af380
PT
31512 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31513 finalizing MALLSTREAM.
31514
942caa16
PT
31515 * sysdeps/mach/hurd/syncfs.c: New file.
31516
cfde9b46
SP
315172012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31518
31519 [BZ #14719]
31520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31521 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31522 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31523 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31524 (_nss_dns_gethostbyname4_r): Likewise.
31525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31526 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31527
f6da27e5
PH
315282012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31529
31530 [BZ #13763]
31531 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31532
6665d4a2
SM
315332012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31534
1f51ee92
SM
31535 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31536 * elf/cache.c (print_entry): Print ",AArch64" for
31537 FLAG_AARCH64_LIB64
31538
6665d4a2
SM
31539 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31540 * elf/cache.c (print_entry): Print ",hard-float" for
31541 FLAG_ARM_LIBHF.
31542
05b227bd
DM
315432012-11-18 David S. Miller <davem@davemloft.net>
31544
31545 With help from Joseph Myers.
31546 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31547 cutoff to 2**-13.
31548 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31549 cutoff to 2**-25.
31550 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31551 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31552 small.
31553 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31554 * math/libm-test.inc (y0_test): New tests.
31555 (y1_test): New tests.
31556 * sysdeps/i386/fpu/libm-test-ulps: Update.
31557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31559
786b0b67
AS
315602012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31561
31562 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31563 64-bit targets.
31564 * configure: Regenerated.
31565
8e18b86d
DM
315662012-11-17 David S. Miller <davem@davemloft.net>
31567
31568 [BZ #14811]
31569 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31570 nonzero exponents with absolute value below 0x1p-128 to +/-
31571 0x1p-128.
31572
531f1ae0
JM
315732012-11-17 Joseph Myers <joseph@codesourcery.com>
31574
12df29e2
JM
31575 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31576
150dc1a0
JM
31577 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31578
531f1ae0
JM
31579 * posix/getconf-speclist.c: New file.
31580 * posix/posix-envs.def: Likewise.
31581 * posix/confstr.c (START_ENV_GROUP): New macro.
31582 (END_ENV_GROUP): Likewise.
31583 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31584 (KNOWN_PRESENT_ENV_STRING): Likewise.
31585 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31586 (UNKNOWN_ENVIRONMENT): Likewise.
31587 (confstr): Include posix-envs.def instead of handling
31588 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31589 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31590 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31591 (END_ENV_GROUP): Likewise.
31592 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31593 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31594 (UNKNOWN_ENVIRONMENT): Likewise.
31595 (__sysconf): Include posix-envs.def instead of handling associated
31596 cases directly here.
31597 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31598 preprocessing getconf-speclist.c rather than running getconf or
31599 generating empty file.
31600
a93f9cbc
PT
316012012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31602
31603 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31604
d64d9f87
AL
316052012-11-16 Andrej Lajovic <natrij@gmail.com>
31606
31607 [BZ #14672]
31608 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31609
447885eb
DM
316102012-11-16 David S. Miller <davem@davemloft.net>
31611
31612 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31613 smaller than LDBL_EPSILON/2.0L, just return xm1.
31614
bcbf9830
L
316152012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31616
31617 * elf/tst-array1.c (init): Set constructor priority to 1000.
31618 (fini): Set destructor priority to 1000.
31619 * elf/tst-array2dep.c: Likewise.
31620
2b766585
SP
316212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31622
31623 [BZ #11741]
31624 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31625 (_IO_new_file_xsputn): Also return EOF if none of the input
31626 data was written when overflow failed.
31627 * libio/iopadn.c (_IO_padn): Likewise.
31628 * libio/iowpadn.c (_IO_wpadn): Likewise.
31629 * stdio-common/tst-put-error.c: Add copyright notice.
31630 (do_test): Add case for printing padded string.
31631 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31632 _IO_padn returned error.
31633 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31634 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31635 return EOF.
31636
b1848fde
SP
316372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31638
31639 * libio/libioP.h: Add comment note that the references to C++
31640 bits are now obsolete.
31641
2fd89785
MS
316422012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31643
31644 * math/libm-test.inc (check_complex): Use asprintf.
31645
e3ea5409
JM
316462012-11-14 Joseph Myers <joseph@codesourcery.com>
31647
31648 * debug/pcprofiledump.c (print_version): Update copyright year.
31649 * malloc/memusagestat.c (print_version): Likewise.
31650
2e64d265
L
316512012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 [BZ #14831]
31654 * elf/Makefile (tests): Add tst-audit8.
31655 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31656 ($(objpfx)tst-audit8.out): New target.
31657 (tst-audit8-ENV): New variable.
31658 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31659 audit if l_reloc_result is NULL.
31660 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31661 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31662 * elf/tst-audit8.c: New file.
31663
c485e4d2
MS
316642012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31665
31666 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31667 * misc/Makefile (CFLAGS-select.c): Define.
31668 * posix/Makefile (CFLAGS-pause.c): Define.
31669
3a0d900a
DM
316702012-11-13 David S. Miller <davem@davemloft.net>
31671
31672 * crypt/Makefile: Move test targets after toplevel Rules
31673 inclusion. Grab any necessary sysdep routines when linking.
31674 * crypt/md5.c (md5_process_block): Remove define, we will always
31675 name it __md5_process_block.
31676 (md5_finish_ctx): Update md5_process_block call.
31677 (md5_stream): Likewise.
31678 (md5_process_bytes): Likewise.
31679 (md5_process_block): Rename to __md5_process_block and move to ...
31680 * crypt/md5-block.c: ... here.
31681 * crypt/sha256.c (sha256_process_block): Move to ...
31682 * crypt/sha256-block.c: ... here.
31683 * crypt/sha512.c (sha512_process_block): Move to ...
31684 * crypt/sha512-block.c: ... here.
31685 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31686 path.
31687 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31688 * sysdeps/sparc/sparc64/multiarch/Makefile
31689 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31690 crypt subdir.
31691 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31692 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31693 multiarch changes.
31694 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31695 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31696 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31697 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31698 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31699 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31700 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31701 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31702 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31703 file.
31704 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31705 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31706 file.
31707 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31708
8ca89318
JM
317092012-11-13 Joseph Myers <joseph@codesourcery.com>
31710
e27d476a
JM
31711 * timezone/tzselect.ksh: Update from tzcode git revision
31712 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31713 * timezone/zdump.c: Likewise.
31714 * timezone/zic.c: Likewise.
31715 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31716 in TZVERSION setting, not $(PKGVERSION).
31717 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31718 REPORT_BUGS_TO settings.
31719
8ca89318
JM
31720 [BZ #14838]
31721 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31722 macro.
31723
47594329
MS
317242012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31725
31726 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31727 detection to immediately after _FP_ROUND().
31728 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31729 bits are 0.
31730
640ac3f1
DM
317312012-11-11 David S. Miller <davem@davemloft.net>
31732
31733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31734 inttypes.h
31735 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31736 __close rather than their public counterparts.
31737
3d2577bb
JM
317382012-11-10 Joseph Myers <joseph@codesourcery.com>
31739
31740 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31741 file.
31742 [UNIX98] (sem_timedwait): Do not expect.
31743 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31744 [XPG4 || UNIX98] (sockatmark): Do not expect.
31745 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31746 (clock_getcpuclockid): Do not expect.
31747 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31748 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31749 Do not expect.
31750 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31751 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31752 [UNIX98] (vwscanf): Likewise.
31753 [UNIX98] (vswscanf): Likewise.
31754
fb1ae1ee
JM
317552012-11-09 Joseph Myers <joseph@codesourcery.com>
31756
9ec6f8bd
JM
31757 * timezone/version.h: Remove file.
31758 * timezone/README: Do not refer to version.h.
31759 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31760 $(objpfx)version.h.
31761 ($(objpfx)zdump.o): Likewise.
c3f81911 31762 ($(objpfx)version.h): New target.
9ec6f8bd 31763
0aa8f8a1
JM
31764 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31765 2012i.
31766 * timezone/README: Don't mention modification to tzselect.ksh.
31767 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31768 work on unmodified tzselect.ksh. Substitute version numbers in
31769 tzselect.ksh.
31770
4e87147f
JM
31771 * Makefile (format-me): Remove.
31772 (INSTALL): Adjust indentation. Use commands directly instead of
31773 using $(format-me).
31774
8b748aed
JM
31775 * aclocal.m4 (ACX_PKGVERSION): New macro.
31776 (ACX_BUGURL): Likewise.
31777 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31778 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31779 (REPORT_BUGS_TO): Likewise.
31780 * configure: Regenerated.
31781 * config.h.in (PKGVERSION): New macro.
31782 (REPORT_BUGS_TO): Likewise.
31783 * config.make.in (PKGVERSION): New variable.
31784 (PKGVERSION_TEXI): Likewise.
31785 (REPORT_BUGS_TO): Likewise.
31786 (REPORT_BUGS_TEXI): Likewise.
31787 * Makefile (format-me): Use -I$(common-objpfx)manual.
31788 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31789 ($(common-objpfx)manual/%): New target.
31790 (manual/%): Remove target.
31791 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31792 (print_version): Use PKGVERSION.
31793 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31794 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31795 and REPORT_BUGS_TO.
31796 ($(objpfx)xtrace): Likewise.
31797 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31798 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31799 (print_version): Use PKGVERSION.
31800 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31801 (do_version): Use PKGVERSION.
31802 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31803 REPORT_BUGS_TO.
31804 (common-ldd-rewrite): Likewise.
31805 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31806 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31807 (print_version): Use PKGVERSION.
31808 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31809 * elf/pldd.c (argp_program_bug_address): Remove variable.
31810 (more_help): New function.
31811 (argp): Use more_help.
31812 (print_version): Use PKGVERSION.
31813 * elf/sln.c (main): Use PKGVERSION.
31814 (usage): Use REPORT_BUGS_TO.
31815 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31816 (top level): Use PKGVERSION.
31817 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31818 (print_version): Use PKGVERSION.
31819 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31820 (print_version): Use PKGVERSION.
31821 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31822 (print_version): Use PKGVERSION.
31823 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31824 (print_version): Use PKGVERSION.
31825 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31826 (print_version): Use PKGVERSION.
31827 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31828 (print_version): Use PKGVERSION.
31829 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31830 and BUGURL.
31831 ($(objpfx)memusage): Likewise.
31832 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31833 (do_version): Use PKGVERSION.
31834 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31835 (print_version): Use PKGVERSION.
31836 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31837 ($PKGVERSION): New variable.
31838 ($REPORT_BUGS_TO): Likewise.
31839 (usage): Use $REPORT_BUGS_TO.
31840 (top level): Use $PKGVERSION.
31841 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31842 ($(objpfx)pkgvers.texi): New rule.
31843 ($(objpfx)stamp-pkgvers): Likewise.
31844 * manual/install.texi: Include pkgvers.texi.
31845 (--with-pkgversion): Document new configure option.
31846 (--with-bugurl): Likewise.
31847 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31848 than necessarily for this particular distribution. Use
31849 REPORT_BUGS_TO for where to report bugs.
31850 * INSTALL: Regenerated.
31851 * manual/libc.texinfo: Include pkgvers.texi.
31852 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31853 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31854 (print_version): Use PKGVERSION.
31855 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31856 (print_version): Use PKGVERSION.
31857 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31858 (print_version): Use PKGVERSION.
31859 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31860 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31861 macro.
31862 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31863 (print_version): Use PKGVERSION.
31864 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31865 (print_version): Use PKGVERSION.
31866 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31867 and PKGVERSION.
31868
92e4b6a9
JM
31869 * timezone/checktab.awk: Update from tzcode 2012i.
31870 * timezone/ialloc.c: Likewise.
31871 * timezone/private.h: Likewise.
31872 * timezone/scheck.c: Likewise.
31873 * timezone/tzfile.h: Likewise.
31874 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31875 (TZVERSION): Hardcode tzcode version number.
31876 * timezone/zdump.c: Update from tzcode 2012i.
31877 * timezone/zic.c: Likewise.
31878 * timezone/version.h: New file.
31879 * timezone/README: Describe version.h. Update upstream location.
31880
9bde902c
JM
31881 [BZ #14824]
31882 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31883 (mktemp): Enable declaration.
31884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31888 Likewise.
31889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31890 Likewise.
31891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31892 Likewise.
31893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31894 Likewise.
31895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31896 Likewise.
31897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31898 Likewise.
31899
fb1ae1ee
JM
31900 [BZ #14821]
31901 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31902 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31903 for copies of such integer values.
31904 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31905 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31906
2c1adbcb
AJ
319072012-11-09 Andreas Jaeger <aj@suse.de>
31908
31909 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31910 definitions and declarations that are provided by
31911 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31912
d0f8457e
AK
319132012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31914
3a235abb 31915 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31916 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31917 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31918 definition.
31919
57241e26
MS
319202012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31921
31922 * elf/elf.h: Update comment before AArch64 relocations.
31923
60e8270d
DM
319242012-11-07 David S. Miller <davem@davemloft.net>
31925
31926 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31927 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31928 (__start_context): Declare.
31929 (__makecontext_ret): Delete.
31930 (__makecontext): Hook up __start_context instead of
31931 __makecontext_ret.
31932 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31933 (sysdep_routines): Add __start_context when in stdlib.
31934
0fbb0fbc
JM
319352012-11-07 Joseph Myers <joseph@codesourcery.com>
31936
31937 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31938 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31939 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31940 hardcoded "nm".
31941 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31942 (READELF): New variable. Use it instead of hardcoded "readelf".
31943
eb48db7e
L
319442012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31945
31946 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31947 * sysdeps/x86/Makefile: Here.
31948 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31949 * sysdeps/x86/tst-xmmymm.sh: This.
31950
05bcf62a
JM
319512012-11-07 Joseph Myers <joseph@codesourcery.com>
31952
c4b6cf53
JM
31953 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31954 expectations.
31955 [UNIX98] (pthread_barrier_t): Do not expect.
31956 [UNIX98] (pthread_barrierattr_t): Likewise.
31957 [UNIX98] (pthread_spinlock_t): Likewise.
31958 [UNIX98] (pthread_barrier_destroy): Likewise.
31959 [UNIX98] (pthread_barrier_init): Likewise.
31960 [UNIX98] (pthread_barrier_wait): Likewise.
31961 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31962 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31963 [UNIX98] (pthread_barrierattr_init): Likewise.
31964 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31965 [UNIX98] (pthread_getcpuclockid): Likewise.
31966 [UNIX98] (pthread_mutex_timedlock): Likewise.
31967 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31968 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31969 [UNIX98] (pthread_sigmask): Likewise.
31970 [UNIX98] (pthread_spin_destroy): Likewise.
31971 [UNIX98] (pthread_spin_init): Likewise.
31972 [UNIX98] (pthread_spin_lock): Likewise.
31973 [UNIX98] (pthread_spin_trylock): Likewise.
31974 [UNIX98] (pthread_spin_unlock): Likewise.
31975 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31976 Do not expect.
31977 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31978 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31979 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31980 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31981 [XPG3 || XPG4] (pthread_key_t): Likewise.
31982 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31983 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31984 [XPG3 || XPG4] (pthread_once_t): Likewise.
31985 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31986 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31987 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31988 [XPG3 || XPG4] (pthread_t): Likewise.
31989
cbe6e120
JM
31990 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31991 not expect.
31992 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31993
1b126443
JM
31994 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31995 Change function return type to int.
31996
b961a573
JM
31997 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31998 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31999 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32000 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32001 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32002 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32003 [!POSIX] (posix_madvise): Likewise.
32004 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32005 && !UNIX98].
32006 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32007 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32008 (mode_t): Likewise.
32009 (posix_mem_offset): Likewise.
32010 (posix_typed_mem_get_info): Likewise.
32011 (posix_typed_mem_open): Likewise.
32012
9e188909
JM
32013 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32014 Change condition to [XOPEN2K8].
32015
05bcf62a
JM
32016 * conform/conformtest.pl: Preprocess allow-header data with -x c
32017 instead of from stdin.
32018 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32019 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32020 [C99-based standards] (cerfc): Likewise.
32021 [C99-based standards] (cexp2): Likewise.
32022 [C99-based standards] (cexpm1): Likewise.
32023 [C99-based standards] (clog10): Likewise.
32024 [C99-based standards] (clog1p): Likewise.
32025 [C99-based standards] (clog2): Likewise.
32026 [C99-based standards] (clgamma): Likewise.
32027 [C99-based standards] (ctgamma): Likewise.
32028 [C99-based standards] (cerff): Likewise.
32029 [C99-based standards] (cerfcf): Likewise.
32030 [C99-based standards] (cexp2f): Likewise.
32031 [C99-based standards] (cexpm1f): Likewise.
32032 [C99-based standards] (clog10f): Likewise.
32033 [C99-based standards] (clog1pf): Likewise.
32034 [C99-based standards] (clog2f): Likewise.
32035 [C99-based standards] (clgammaf): Likewise.
32036 [C99-based standards] (ctgammaf): Likewise.
32037 [C99-based standards] (cerfl): Likewise.
32038 [C99-based standards] (cerfcl): Likewise.
32039 [C99-based standards] (cexp2l): Likewise.
32040 [C99-based standards] (cexpm1l): Likewise.
32041 [C99-based standards] (clog10l): Likewise.
32042 [C99-based standards] (clog1pl): Likewise.
32043 [C99-based standards] (clog2l): Likewise.
32044 [C99-based standards] (clgammal): Likewise.
32045 [C99-based standards] (ctgammal): Likewise.
32046 * conform/data/inttypes.h-data [C99-based standards]: Include
32047 stdint.h-data. Remove all expectations for stdint.h contents.
32048 [C99-based standards] (PRI*): Do not allow.
32049 [C99-based standards] (SCN*): Likewise.
32050 [C99-based standards] (*_t): Likewise.
32051 [C99-based-standards] (PRId8): Expect macro.
32052 [C99-based-standards] (PRIi8): Likewise.
32053 [C99-based-standards] (PRIo8): Likewise.
32054 [C99-based-standards] (PRIu8): Likewise.
32055 [C99-based-standards] (PRIx8): Likewise.
32056 [C99-based-standards] (PRIX8): Likewise.
32057 [C99-based-standards] (SCNd8): Likewise.
32058 [C99-based-standards] (SCNi8): Likewise.
32059 [C99-based-standards] (SCNo8): Likewise.
32060 [C99-based-standards] (SCNu8): Likewise.
32061 [C99-based-standards] (SCNx8): Likewise.
32062 [C99-based-standards] (PRIdLEAST8): Likewise.
32063 [C99-based-standards] (PRIiLEAST8): Likewise.
32064 [C99-based-standards] (PRIoLEAST8): Likewise.
32065 [C99-based-standards] (PRIuLEAST8): Likewise.
32066 [C99-based-standards] (PRIxLEAST8): Likewise.
32067 [C99-based-standards] (PRIXLEAST8): Likewise.
32068 [C99-based-standards] (SCNdLEAST8): Likewise.
32069 [C99-based-standards] (SCNiLEAST8): Likewise.
32070 [C99-based-standards] (SCNoLEAST8): Likewise.
32071 [C99-based-standards] (SCNuLEAST8): Likewise.
32072 [C99-based-standards] (SCNxLEAST8): Likewise.
32073 [C99-based-standards] (PRIdFAST8): Likewise.
32074 [C99-based-standards] (PRIiFAST8): Likewise.
32075 [C99-based-standards] (PRIoFAST8): Likewise.
32076 [C99-based-standards] (PRIuFAST8): Likewise.
32077 [C99-based-standards] (PRIxFAST8): Likewise.
32078 [C99-based-standards] (PRIXFAST8): Likewise.
32079 [C99-based-standards] (SCNdFAST8): Likewise.
32080 [C99-based-standards] (SCNiFAST8): Likewise.
32081 [C99-based-standards] (SCNoFAST8): Likewise.
32082 [C99-based-standards] (SCNuFAST8): Likewise.
32083 [C99-based-standards] (SCNxFAST8): Likewise.
32084 [C99-based-standards] (PRId16): Likewise.
32085 [C99-based-standards] (PRIi16): Likewise.
32086 [C99-based-standards] (PRIo16): Likewise.
32087 [C99-based-standards] (PRIu16): Likewise.
32088 [C99-based-standards] (PRIx16): Likewise.
32089 [C99-based-standards] (PRIX16): Likewise.
32090 [C99-based-standards] (SCNd16): Likewise.
32091 [C99-based-standards] (SCNi16): Likewise.
32092 [C99-based-standards] (SCNo16): Likewise.
32093 [C99-based-standards] (SCNu16): Likewise.
32094 [C99-based-standards] (SCNx16): Likewise.
32095 [C99-based-standards] (PRIdLEAST16): Likewise.
32096 [C99-based-standards] (PRIiLEAST16): Likewise.
32097 [C99-based-standards] (PRIoLEAST16): Likewise.
32098 [C99-based-standards] (PRIuLEAST16): Likewise.
32099 [C99-based-standards] (PRIxLEAST16): Likewise.
32100 [C99-based-standards] (PRIXLEAST16): Likewise.
32101 [C99-based-standards] (SCNdLEAST16): Likewise.
32102 [C99-based-standards] (SCNiLEAST16): Likewise.
32103 [C99-based-standards] (SCNoLEAST16): Likewise.
32104 [C99-based-standards] (SCNuLEAST16): Likewise.
32105 [C99-based-standards] (SCNxLEAST16): Likewise.
32106 [C99-based-standards] (PRIdFAST16): Likewise.
32107 [C99-based-standards] (PRIiFAST16): Likewise.
32108 [C99-based-standards] (PRIoFAST16): Likewise.
32109 [C99-based-standards] (PRIuFAST16): Likewise.
32110 [C99-based-standards] (PRIxFAST16): Likewise.
32111 [C99-based-standards] (PRIXFAST16): Likewise.
32112 [C99-based-standards] (SCNdFAST16): Likewise.
32113 [C99-based-standards] (SCNiFAST16): Likewise.
32114 [C99-based-standards] (SCNoFAST16): Likewise.
32115 [C99-based-standards] (SCNuFAST16): Likewise.
32116 [C99-based-standards] (SCNxFAST16): Likewise.
32117 [C99-based-standards] (PRId32): Likewise.
32118 [C99-based-standards] (PRIi32): Likewise.
32119 [C99-based-standards] (PRIo32): Likewise.
32120 [C99-based-standards] (PRIu32): Likewise.
32121 [C99-based-standards] (PRIx32): Likewise.
32122 [C99-based-standards] (PRIX32): Likewise.
32123 [C99-based-standards] (SCNd32): Likewise.
32124 [C99-based-standards] (SCNi32): Likewise.
32125 [C99-based-standards] (SCNo32): Likewise.
32126 [C99-based-standards] (SCNu32): Likewise.
32127 [C99-based-standards] (SCNx32): Likewise.
32128 [C99-based-standards] (PRIdLEAST32): Likewise.
32129 [C99-based-standards] (PRIiLEAST32): Likewise.
32130 [C99-based-standards] (PRIoLEAST32): Likewise.
32131 [C99-based-standards] (PRIuLEAST32): Likewise.
32132 [C99-based-standards] (PRIxLEAST32): Likewise.
32133 [C99-based-standards] (PRIXLEAST32): Likewise.
32134 [C99-based-standards] (SCNdLEAST32): Likewise.
32135 [C99-based-standards] (SCNiLEAST32): Likewise.
32136 [C99-based-standards] (SCNoLEAST32): Likewise.
32137 [C99-based-standards] (SCNuLEAST32): Likewise.
32138 [C99-based-standards] (SCNxLEAST32): Likewise.
32139 [C99-based-standards] (PRIdFAST32): Likewise.
32140 [C99-based-standards] (PRIiFAST32): Likewise.
32141 [C99-based-standards] (PRIoFAST32): Likewise.
32142 [C99-based-standards] (PRIuFAST32): Likewise.
32143 [C99-based-standards] (PRIxFAST32): Likewise.
32144 [C99-based-standards] (PRIXFAST32): Likewise.
32145 [C99-based-standards] (SCNdFAST32): Likewise.
32146 [C99-based-standards] (SCNiFAST32): Likewise.
32147 [C99-based-standards] (SCNoFAST32): Likewise.
32148 [C99-based-standards] (SCNuFAST32): Likewise.
32149 [C99-based-standards] (SCNxFAST32): Likewise.
32150 [C99-based-standards] (PRId64): Likewise.
32151 [C99-based-standards] (PRIi64): Likewise.
32152 [C99-based-standards] (PRIo64): Likewise.
32153 [C99-based-standards] (PRIu64): Likewise.
32154 [C99-based-standards] (PRIx64): Likewise.
32155 [C99-based-standards] (PRIX64): Likewise.
32156 [C99-based-standards] (SCNd64): Likewise.
32157 [C99-based-standards] (SCNi64): Likewise.
32158 [C99-based-standards] (SCNo64): Likewise.
32159 [C99-based-standards] (SCNu64): Likewise.
32160 [C99-based-standards] (SCNx64): Likewise.
32161 [C99-based-standards] (PRIdLEAST64): Likewise.
32162 [C99-based-standards] (PRIiLEAST64): Likewise.
32163 [C99-based-standards] (PRIoLEAST64): Likewise.
32164 [C99-based-standards] (PRIuLEAST64): Likewise.
32165 [C99-based-standards] (PRIxLEAST64): Likewise.
32166 [C99-based-standards] (PRIXLEAST64): Likewise.
32167 [C99-based-standards] (SCNdLEAST64): Likewise.
32168 [C99-based-standards] (SCNiLEAST64): Likewise.
32169 [C99-based-standards] (SCNoLEAST64): Likewise.
32170 [C99-based-standards] (SCNuLEAST64): Likewise.
32171 [C99-based-standards] (SCNxLEAST64): Likewise.
32172 [C99-based-standards] (PRIdFAST64): Likewise.
32173 [C99-based-standards] (PRIiFAST64): Likewise.
32174 [C99-based-standards] (PRIoFAST64): Likewise.
32175 [C99-based-standards] (PRIuFAST64): Likewise.
32176 [C99-based-standards] (PRIxFAST64): Likewise.
32177 [C99-based-standards] (PRIXFAST64): Likewise.
32178 [C99-based-standards] (SCNdFAST64): Likewise.
32179 [C99-based-standards] (SCNiFAST64): Likewise.
32180 [C99-based-standards] (SCNoFAST64): Likewise.
32181 [C99-based-standards] (SCNuFAST64): Likewise.
32182 [C99-based-standards] (SCNxFAST64): Likewise.
32183 [C99-based-standards] (PRIdMAX): Likewise.
32184 [C99-based-standards] (PRIiMAX): Likewise.
32185 [C99-based-standards] (PRIoMAX): Likewise.
32186 [C99-based-standards] (PRIuMAX): Likewise.
32187 [C99-based-standards] (PRIxMAX): Likewise.
32188 [C99-based-standards] (PRIXMAX): Likewise.
32189 [C99-based-standards] (SCNdMAX): Likewise.
32190 [C99-based-standards] (SCNiMAX): Likewise.
32191 [C99-based-standards] (SCNoMAX): Likewise.
32192 [C99-based-standards] (SCNuMAX): Likewise.
32193 [C99-based-standards] (SCNxMAX): Likewise.
32194 [C99-based-standards] (PRIdPTR): Likewise.
32195 [C99-based-standards] (PRIiPTR): Likewise.
32196 [C99-based-standards] (PRIoPTR): Likewise.
32197 [C99-based-standards] (PRIuPTR): Likewise.
32198 [C99-based-standards] (PRIxPTR): Likewise.
32199 [C99-based-standards] (PRIXPTR): Likewise.
32200 [C99-based-standards] (SCNdPTR): Likewise.
32201 [C99-based-standards] (SCNiPTR): Likewise.
32202 [C99-based-standards] (SCNoPTR): Likewise.
32203 [C99-based-standards] (SCNuPTR): Likewise.
32204 [C99-based-standards] (SCNxPTR): Likewise.
32205 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32206 allow.
32207 * conform/data/stdint.h-data: Update comments to clarify
32208 requirements.
32209 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32210 type.
32211 [C99-based standards] (INT8_MAX): Likewise.
32212 [C99-based standards] (INT16_MIN): Likewise.
32213 [C99-based standards] (INT16_MAX): Likewise.
32214 [C99-based standards] (INT32_MIN): Likewise.
32215 [C99-based standards] (INT32_MAX): Likewise.
32216 [C99-based standards] (INT64_MIN): Likewise.
32217 [C99-based standards] (INT64_MAX): Likewise.
32218 [C99-based standards] (UINT8_MAX): Likewise.
32219 [C99-based standards] (UINT16_MAX): Likewise.
32220 [C99-based standards] (UINT32_MAX): Likewise.
32221 [C99-based standards] (UINT64_MAX): Likewise.
32222 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32223 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32224 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32225 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32226 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32227 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32228 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32229 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32230 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32231 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32232 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32233 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32234 [C99-based standards] (INT_FAST8_MIN): Likewise.
32235 [C99-based standards] (INT_FAST8_MAX): Likewise.
32236 [C99-based standards] (INT_FAST16_MIN): Likewise.
32237 [C99-based standards] (INT_FAST16_MAX): Likewise.
32238 [C99-based standards] (INT_FAST32_MIN): Likewise.
32239 [C99-based standards] (INT_FAST32_MAX): Likewise.
32240 [C99-based standards] (INT_FAST64_MIN): Likewise.
32241 [C99-based standards] (INT_FAST64_MAX): Likewise.
32242 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32243 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32244 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32245 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32246 [C99-based standards] (INTPTR_MIN): Likewise.
32247 [C99-based standards] (INTPTR_MAX): Likewise.
32248 [C99-based standards] (UINTPTR_MAX): Likewise.
32249 [C99-based standards] (INTMAX_MIN): Likewise.
32250 [C99-based standards] (INTMAX_MAX): Likewise.
32251 [C99-based standards] (UINTMAX_MAX): Likewise.
32252 [C99-based standards] (PTRDIFF_MIN): Likewise.
32253 [C99-based standards] (PTRDIFF_MAX): Likewise.
32254 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32255 [C99-based standards] (SIZE_MAX): Likewise.
32256 [C99-based standards] (WCHAR_MAX): Likewise.
32257 [C99-based standards] (WINT_MAX): Likewise.
32258 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32259 constraint on value.
32260 [C99-based standards] (WCHAR_MIN): Likewise.
32261 [C99-based standards] (WINT_MIN): Likewise.
32262 [C99-based standards] (*_t): Allow.
32263 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32264 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32265 Include math.h-data and complex.h-data. Remove all expectations
32266 of math.h and complex.h contents.
32267 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32268 at end of line.
32269 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32270 (struct tm): Expect tag.
32271 [C99-based-standards] (wcstof): Expect function.
32272 [C99-based-standards] (wcstold): Likewise.
32273 [C99-based-standards] (wcstoll): Likewise.
32274 [C99-based-standards] (wcstoull): Likewise.
32275 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32276 macro-int-constant. Specify type.
32277 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32278 constraint on value.
32279 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32280 Specify type.
32281 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32282 Specify value.
32283 [ISO C standards]: Do not allow headers.
32284 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32285 wcs[abcdefghijklmnopqrstuvwxyz]*.
32286 [ISO C standards] (*_t): Do not allow.
32287 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32288 Expect function.
32289 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32290 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32291 Specify type.
32292 [ISO C standards]: Do not allow headers.
32293 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32294 is[abcdefghijklmnopqrstuvwxyz]*.
32295 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32296 to[abcdefghijklmnopqrstuvwxyz]*.
32297 [ISO C standards] (*_t): Do not allow.
32298 * conform/data/stdalign.h-data: New file.
32299 * conform/data/stdbool.h-data: Likewise.
32300 * conform/data/stdnoreturn.h-data: Likewise.
32301
7514feb8
RM
323022012-11-07 Roland McGrath <roland@hack.frob.com>
32303
32304 [BZ #14815]
32305 * manual/filesys.texi (Directory Entries): Typo fix.
32306 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32307
19b2ecfc
MS
323082012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32309
32310 * elf/elf.h (EM_AARCH64): New macro.
32311 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32312 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32313 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32314 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32315 (R_AARCH64_TLSDESC): Likewise.
32316 (NT_ARM_TLS): Likewise.
32317 (NT_ARM_HW_BREAK): Likewise.
32318 (NT_ARM_HW_WATCH): Likewise.
32319
60e235ee
JM
323202012-11-07 Joseph Myers <joseph@codesourcery.com>
32321
32322 [BZ #14811]
32323 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32324 (__ieee754_powl): Saturate nonzero exponents with absolute value
32325 below 0x1p-79 to +/- 0x1p-79.
32326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32327 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32328 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32329 nonzero exponents with absolute value below 0x1p-32 to +/-
32330 0x1p-32.
32331 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32332 (__ieee754_powl): Saturate nonzero exponents with absolute value
32333 below 0x1p-79 to +/- 0x1p-79.
32334 * math/libm-test.inc (pow_test): Add more tests.
32335
0ab234b7
AK
323362012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32337
32338 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32339 _dl_s390_cap_flags with kernel. Increase string length.
32340 (_dl_s390_platforms): Add z196 and zEC12.
32341
45832f74
JM
323422012-11-07 Joseph Myers <joseph@codesourcery.com>
32343
32344 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32345 Change XOPEN21K to XOPEN2K.
32346
19218757
MK
323472012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32348
32349 * string/memmove.c: Use memcpy when possible.
32350
c5f45721
AJ
323512012-11-06 Andreas Jaeger <aj@suse.de>
32352
32353 * po/eo.po: Update from translation team.
32354
82477c28
JM
323552012-11-06 Joseph Myers <joseph@codesourcery.com>
32356
32357 [BZ #14793]
32358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32359 exponent and small x and y exponents, scale x or y up. Increase
32360 by 2 the exponent used in scaling up.
32361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32363 * math/libm-test.inc (fma_test): Add more tests.
32364 (fma_test_towardzero): Likewise.
32365 (fma_test_downward): Likewise.
32366 (fma_test_upward): Likewise.
32367
99252c8c
JM
323682012-11-05 Joseph Myers <joseph@codesourcery.com>
32369
acfa885f
JM
32370 [BZ #14805]
32371 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32372 fenv_t *.
32373
99252c8c
JM
32374 [BZ #14801]
32375 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32376 namespace for names of struct fields.
32377 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32378 fenv_t fields.
32379 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32380 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32381
d6d98dea
ST
323822012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32383
32384 [BZ #3665]
32385 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32386
e10bb107
TS
323872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32388
32389 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32390 PTR_DEMANGLE.
32391
32392 [BZ #5246]
32393 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32394 PTR_DEMANGLE.
32395
a0c2940d
JM
323962012-11-04 Joseph Myers <joseph@codesourcery.com>
32397
32398 [BZ #14797]
32399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32400 definitely overflow as x * y not x * y + z.
32401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32403 * math/libm-test.inc (fma_test): Add more tests.
32404 (fma_test_towardzero): Likewise.
32405 (fma_test_downward): Likewise.
32406 (fma_test_upward): Likewise.
32407
b830319d
TS
324082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32409
32410 [BZ #157]
32411
32412 * include/stub-tag.h: Remove file.
32413 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32414 '#include' of it.
32415 * manual/maint.texi (Porting): Don't reference it.
32416 * Makerules ($(objpfx)stubs): Likewise.
32417 * dirent/closedir.c: Don't include <stub-tag.h>.
32418 * dirent/dirfd.c: Likewise.
32419 * dirent/fdopendir.c: Likewise.
32420 * dirent/getdents.c: Likewise.
32421 * dirent/getdents64.c: Likewise.
32422 * dirent/opendir.c: Likewise.
32423 * dirent/readdir.c: Likewise.
32424 * dirent/readdir64.c: Likewise.
32425 * dirent/readdir64_r.c: Likewise.
32426 * dirent/readdir_r.c: Likewise.
32427 * dirent/rewinddir.c: Likewise.
32428 * dirent/seekdir.c: Likewise.
32429 * dirent/telldir.c: Likewise.
32430 * gmon/profil.c: Likewise.
32431 * grp/setgroups.c: Likewise.
32432 * inet/if_index.c: Likewise.
32433 * io/access.c: Likewise.
32434 * io/chdir.c: Likewise.
32435 * io/chmod.c: Likewise.
32436 * io/chown.c: Likewise.
32437 * io/close.c: Likewise.
32438 * io/dup.c: Likewise.
32439 * io/dup2.c: Likewise.
32440 * io/dup3.c: Likewise.
32441 * io/euidaccess.c: Likewise.
32442 * io/faccessat.c: Likewise.
32443 * io/fchdir.c: Likewise.
32444 * io/fchmod.c: Likewise.
32445 * io/fchmodat.c: Likewise.
32446 * io/fchown.c: Likewise.
32447 * io/fchownat.c: Likewise.
32448 * io/fcntl.c: Likewise.
32449 * io/flock.c: Likewise.
32450 * io/fstatfs.c: Likewise.
32451 * io/fstatfs64.c: Likewise.
32452 * io/fstatvfs.c: Likewise.
32453 * io/fstatvfs64.c: Likewise.
32454 * io/futimens.c: Likewise.
32455 * io/fxstat.c: Likewise.
32456 * io/fxstat64.c: Likewise.
32457 * io/fxstatat.c: Likewise.
32458 * io/fxstatat64.c: Likewise.
32459 * io/getcwd.c: Likewise.
32460 * io/isatty.c: Likewise.
32461 * io/lchmod.c: Likewise.
32462 * io/lchown.c: Likewise.
32463 * io/link.c: Likewise.
32464 * io/linkat.c: Likewise.
32465 * io/lseek.c: Likewise.
32466 * io/lseek64.c: Likewise.
32467 * io/lxstat64.c: Likewise.
32468 * io/mkdir.c: Likewise.
32469 * io/mkdirat.c: Likewise.
32470 * io/mkfifo.c: Likewise.
32471 * io/mkfifoat.c: Likewise.
32472 * io/open.c: Likewise.
32473 * io/open64.c: Likewise.
32474 * io/openat.c: Likewise.
32475 * io/openat64.c: Likewise.
32476 * io/pipe.c: Likewise.
32477 * io/pipe2.c: Likewise.
32478 * io/poll.c: Likewise.
32479 * io/posix_fadvise.c: Likewise.
32480 * io/posix_fadvise64.c: Likewise.
32481 * io/posix_fallocate.c: Likewise.
32482 * io/posix_fallocate64.c: Likewise.
32483 * io/read.c: Likewise.
32484 * io/readlink.c: Likewise.
32485 * io/readlinkat.c: Likewise.
32486 * io/rmdir.c: Likewise.
32487 * io/sendfile.c: Likewise.
32488 * io/sendfile64.c: Likewise.
32489 * io/statfs.c: Likewise.
32490 * io/statfs64.c: Likewise.
32491 * io/statvfs.c: Likewise.
32492 * io/statvfs64.c: Likewise.
32493 * io/symlink.c: Likewise.
32494 * io/symlinkat.c: Likewise.
32495 * io/ttyname.c: Likewise.
32496 * io/ttyname_r.c: Likewise.
32497 * io/umask.c: Likewise.
32498 * io/unlink.c: Likewise.
32499 * io/unlinkat.c: Likewise.
32500 * io/utime.c: Likewise.
32501 * io/utimensat.c: Likewise.
32502 * io/write.c: Likewise.
32503 * io/xmknod.c: Likewise.
32504 * io/xmknodat.c: Likewise.
32505 * io/xstat.c: Likewise.
32506 * io/xstat64.c: Likewise.
32507 * login/getpt.c: Likewise.
32508 * login/grantpt.c: Likewise.
32509 * login/unlockpt.c: Likewise.
32510 * math/e_acoshl.c: Likewise.
32511 * math/e_acosl.c: Likewise.
32512 * math/e_asinl.c: Likewise.
32513 * math/e_atan2l.c: Likewise.
32514 * math/e_atanhl.c: Likewise.
32515 * math/e_coshl.c: Likewise.
32516 * math/e_expl.c: Likewise.
32517 * math/e_fmodl.c: Likewise.
32518 * math/e_gammal_r.c: Likewise.
32519 * math/e_hypotl.c: Likewise.
32520 * math/e_j0l.c: Likewise.
32521 * math/e_j1l.c: Likewise.
32522 * math/e_jnl.c: Likewise.
32523 * math/e_lgammal_r.c: Likewise.
32524 * math/e_log10l.c: Likewise.
32525 * math/e_log2l.c: Likewise.
32526 * math/e_logl.c: Likewise.
32527 * math/e_powl.c: Likewise.
32528 * math/e_rem_pio2l.c: Likewise.
32529 * math/e_sinhl.c: Likewise.
32530 * math/e_sqrtl.c: Likewise.
32531 * math/fclrexcpt.c: Likewise.
32532 * math/fedisblxcpt.c: Likewise.
32533 * math/feenablxcpt.c: Likewise.
32534 * math/fegetenv.c: Likewise.
32535 * math/fegetexcept.c: Likewise.
32536 * math/fegetround.c: Likewise.
32537 * math/feholdexcpt.c: Likewise.
32538 * math/fesetenv.c: Likewise.
32539 * math/fesetround.c: Likewise.
32540 * math/feupdateenv.c: Likewise.
32541 * math/fgetexcptflg.c: Likewise.
32542 * math/fraiseexcpt.c: Likewise.
32543 * math/fsetexcptflg.c: Likewise.
32544 * math/ftestexcept.c: Likewise.
32545 * math/k_cosl.c: Likewise.
32546 * math/k_rem_pio2l.c: Likewise.
32547 * math/k_sinl.c: Likewise.
32548 * math/k_tanl.c: Likewise.
32549 * math/s_asinhl.c: Likewise.
32550 * math/s_atanl.c: Likewise.
32551 * math/s_cbrtl.c: Likewise.
32552 * math/s_erfl.c: Likewise.
32553 * math/s_expm1l.c: Likewise.
32554 * math/s_log1pl.c: Likewise.
32555 * math/s_tanhl.c: Likewise.
32556 * misc/acct.c: Likewise.
32557 * misc/brk.c: Likewise.
32558 * misc/chflags.c: Likewise.
32559 * misc/chroot.c: Likewise.
32560 * misc/fchflags.c: Likewise.
32561 * misc/fgetxattr.c: Likewise.
32562 * misc/flistxattr.c: Likewise.
32563 * misc/fremovexattr.c: Likewise.
32564 * misc/fsetxattr.c: Likewise.
32565 * misc/fsync.c: Likewise.
32566 * misc/ftruncate.c: Likewise.
32567 * misc/futimes.c: Likewise.
32568 * misc/futimesat.c: Likewise.
32569 * misc/getdomain.c: Likewise.
32570 * misc/getdtsz.c: Likewise.
32571 * misc/gethostid.c: Likewise.
32572 * misc/gethostname.c: Likewise.
32573 * misc/getloadavg.c: Likewise.
32574 * misc/getpagesize.c: Likewise.
32575 * misc/getsysstats.c: Likewise.
32576 * misc/getxattr.c: Likewise.
32577 * misc/gtty.c: Likewise.
32578 * misc/ioctl.c: Likewise.
32579 * misc/lgetxattr.c: Likewise.
32580 * misc/listxattr.c: Likewise.
32581 * misc/llistxattr.c: Likewise.
32582 * misc/lremovexattr.c: Likewise.
32583 * misc/lsetxattr.c: Likewise.
32584 * misc/lutimes.c: Likewise.
32585 * misc/madvise.c: Likewise.
32586 * misc/mincore.c: Likewise.
32587 * misc/mlock.c: Likewise.
32588 * misc/mlockall.c: Likewise.
32589 * misc/mmap.c: Likewise.
32590 * misc/mprotect.c: Likewise.
32591 * misc/msync.c: Likewise.
32592 * misc/munlock.c: Likewise.
32593 * misc/munlockall.c: Likewise.
32594 * misc/munmap.c: Likewise.
32595 * misc/preadv.c: Likewise.
32596 * misc/preadv64.c: Likewise.
32597 * misc/ptrace.c: Likewise.
32598 * misc/pwritev.c: Likewise.
32599 * misc/pwritev64.c: Likewise.
32600 * misc/readv.c: Likewise.
32601 * misc/reboot.c: Likewise.
32602 * misc/remap_file_pages.c: Likewise.
32603 * misc/removexattr.c: Likewise.
32604 * misc/revoke.c: Likewise.
32605 * misc/select.c: Likewise.
32606 * misc/setdomain.c: Likewise.
32607 * misc/setegid.c: Likewise.
32608 * misc/seteuid.c: Likewise.
32609 * misc/sethostid.c: Likewise.
32610 * misc/sethostname.c: Likewise.
32611 * misc/setregid.c: Likewise.
32612 * misc/setreuid.c: Likewise.
32613 * misc/setxattr.c: Likewise.
32614 * misc/sstk.c: Likewise.
32615 * misc/stty.c: Likewise.
32616 * misc/swapoff.c: Likewise.
32617 * misc/swapon.c: Likewise.
32618 * misc/sync.c: Likewise.
32619 * misc/syncfs.c: Likewise.
32620 * misc/syscall.c: Likewise.
32621 * misc/truncate.c: Likewise.
32622 * misc/ualarm.c: Likewise.
32623 * misc/usleep.c: Likewise.
32624 * misc/ustat.c: Likewise.
32625 * misc/utimes.c: Likewise.
32626 * misc/vhangup.c: Likewise.
32627 * misc/writev.c: Likewise.
32628 * posix/_exit.c: Likewise.
32629 * posix/alarm.c: Likewise.
32630 * posix/execve.c: Likewise.
32631 * posix/fexecve.c: Likewise.
32632 * posix/fork.c: Likewise.
32633 * posix/fpathconf.c: Likewise.
32634 * posix/getaddrinfo.c: Likewise.
32635 * posix/getegid.c: Likewise.
32636 * posix/geteuid.c: Likewise.
32637 * posix/getgid.c: Likewise.
32638 * posix/getgroups.c: Likewise.
32639 * posix/getlogin.c: Likewise.
32640 * posix/getlogin_r.c: Likewise.
32641 * posix/getpgid.c: Likewise.
32642 * posix/getpid.c: Likewise.
32643 * posix/getppid.c: Likewise.
32644 * posix/getresgid.c: Likewise.
32645 * posix/getresuid.c: Likewise.
32646 * posix/getsid.c: Likewise.
32647 * posix/getuid.c: Likewise.
32648 * posix/glob64.c: Likewise.
32649 * posix/nanosleep.c: Likewise.
32650 * posix/pathconf.c: Likewise.
32651 * posix/pause.c: Likewise.
32652 * posix/posix_madvise.c: Likewise.
32653 * posix/pread.c: Likewise.
32654 * posix/pread64.c: Likewise.
32655 * posix/pwrite.c: Likewise.
32656 * posix/pwrite64.c: Likewise.
32657 * posix/sched_getaffinity.c: Likewise.
32658 * posix/sched_getp.c: Likewise.
32659 * posix/sched_gets.c: Likewise.
32660 * posix/sched_primax.c: Likewise.
32661 * posix/sched_primin.c: Likewise.
32662 * posix/sched_rr_gi.c: Likewise.
32663 * posix/sched_setaffinity.c: Likewise.
32664 * posix/sched_setp.c: Likewise.
32665 * posix/sched_sets.c: Likewise.
32666 * posix/sched_yield.c: Likewise.
32667 * posix/setgid.c: Likewise.
32668 * posix/setlogin.c: Likewise.
32669 * posix/setpgid.c: Likewise.
32670 * posix/setresgid.c: Likewise.
32671 * posix/setresuid.c: Likewise.
32672 * posix/setsid.c: Likewise.
32673 * posix/setuid.c: Likewise.
32674 * posix/sleep.c: Likewise.
32675 * posix/spawni.c: Likewise.
32676 * posix/sysconf.c: Likewise.
32677 * posix/times.c: Likewise.
32678 * posix/wait.c: Likewise.
32679 * posix/wait3.c: Likewise.
32680 * posix/wait4.c: Likewise.
32681 * posix/waitpid.c: Likewise.
32682 * resolv/gai_sigqueue.c: Likewise.
32683 * resource/getpriority.c: Likewise.
32684 * resource/getrlimit.c: Likewise.
32685 * resource/getrusage.c: Likewise.
32686 * resource/nice.c: Likewise.
32687 * resource/setpriority.c: Likewise.
32688 * resource/setrlimit.c: Likewise.
32689 * resource/ulimit.c: Likewise.
32690 * rt/aio_cancel.c: Likewise.
32691 * rt/aio_fsync.c: Likewise.
32692 * rt/aio_read.c: Likewise.
32693 * rt/aio_sigqueue.c: Likewise.
32694 * rt/aio_suspend.c: Likewise.
32695 * rt/aio_write.c: Likewise.
32696 * rt/clock_getres.c: Likewise.
32697 * rt/clock_gettime.c: Likewise.
32698 * rt/clock_nanosleep.c: Likewise.
32699 * rt/clock_settime.c: Likewise.
32700 * rt/lio_listio.c: Likewise.
32701 * rt/mq_close.c: Likewise.
32702 * rt/mq_getattr.c: Likewise.
32703 * rt/mq_notify.c: Likewise.
32704 * rt/mq_open.c: Likewise.
32705 * rt/mq_receive.c: Likewise.
32706 * rt/mq_send.c: Likewise.
32707 * rt/mq_setattr.c: Likewise.
32708 * rt/mq_timedreceive.c: Likewise.
32709 * rt/mq_timedsend.c: Likewise.
32710 * rt/mq_unlink.c: Likewise.
32711 * rt/shm_open.c: Likewise.
32712 * rt/shm_unlink.c: Likewise.
32713 * rt/timer_create.c: Likewise.
32714 * rt/timer_delete.c: Likewise.
32715 * rt/timer_getoverr.c: Likewise.
32716 * rt/timer_gettime.c: Likewise.
32717 * rt/timer_settime.c: Likewise.
32718 * setjmp/__longjmp.c: Likewise.
32719 * setjmp/setjmp.c: Likewise.
32720 * signal/kill.c: Likewise.
32721 * signal/killpg.c: Likewise.
32722 * signal/raise.c: Likewise.
32723 * signal/sigaction.c: Likewise.
32724 * signal/sigaltstack.c: Likewise.
32725 * signal/sigblock.c: Likewise.
32726 * signal/sigignore.c: Likewise.
32727 * signal/sigintr.c: Likewise.
32728 * signal/signal.c: Likewise.
32729 * signal/sigpause.c: Likewise.
32730 * signal/sigpending.c: Likewise.
32731 * signal/sigqueue.c: Likewise.
32732 * signal/sigreturn.c: Likewise.
32733 * signal/sigset.c: Likewise.
32734 * signal/sigsetmask.c: Likewise.
32735 * signal/sigstack.c: Likewise.
32736 * signal/sigsuspend.c: Likewise.
32737 * signal/sigtimedwait.c: Likewise.
32738 * signal/sigvec.c: Likewise.
32739 * signal/sigwait.c: Likewise.
32740 * signal/sigwaitinfo.c: Likewise.
32741 * signal/sysv_signal.c: Likewise.
32742 * socket/accept.c: Likewise.
32743 * socket/accept4.c: Likewise.
32744 * socket/bind.c: Likewise.
32745 * socket/connect.c: Likewise.
32746 * socket/getpeername.c: Likewise.
32747 * socket/getsockname.c: Likewise.
32748 * socket/getsockopt.c: Likewise.
32749 * socket/isfdtype.c: Likewise.
32750 * socket/listen.c: Likewise.
32751 * socket/recv.c: Likewise.
32752 * socket/recvfrom.c: Likewise.
32753 * socket/recvmsg.c: Likewise.
32754 * socket/send.c: Likewise.
32755 * socket/sendmsg.c: Likewise.
32756 * socket/sendto.c: Likewise.
32757 * socket/setsockopt.c: Likewise.
32758 * socket/shutdown.c: Likewise.
32759 * socket/sockatmark.c: Likewise.
32760 * socket/socket.c: Likewise.
32761 * socket/socketpair.c: Likewise.
32762 * stdio-common/ctermid.c: Likewise.
32763 * stdio-common/cuserid.c: Likewise.
32764 * stdio-common/remove.c: Likewise.
32765 * stdio-common/rename.c: Likewise.
32766 * stdio-common/renameat.c: Likewise.
32767 * stdio-common/tempname.c: Likewise.
32768 * stdlib/getcontext.c: Likewise.
32769 * stdlib/makecontext.c: Likewise.
32770 * stdlib/setcontext.c: Likewise.
32771 * stdlib/swapcontext.c: Likewise.
32772 * stdlib/system.c: Likewise.
32773 * streams/fattach.c: Likewise.
32774 * streams/fdetach.c: Likewise.
32775 * streams/getmsg.c: Likewise.
32776 * streams/getpmsg.c: Likewise.
32777 * streams/putmsg.c: Likewise.
32778 * streams/putpmsg.c: Likewise.
32779 * sysdeps/unix/bsd/getpt.c: Likewise.
32780 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32781 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32782 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32784 Likewise.
32785 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32786 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32787 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32788 * sysvipc/msgctl.c: Likewise.
32789 * sysvipc/msgget.c: Likewise.
32790 * sysvipc/msgrcv.c: Likewise.
32791 * sysvipc/msgsnd.c: Likewise.
32792 * sysvipc/semctl.c: Likewise.
32793 * sysvipc/semget.c: Likewise.
32794 * sysvipc/semop.c: Likewise.
32795 * sysvipc/semtimedop.c: Likewise.
32796 * sysvipc/shmat.c: Likewise.
32797 * sysvipc/shmctl.c: Likewise.
32798 * sysvipc/shmdt.c: Likewise.
32799 * sysvipc/shmget.c: Likewise.
32800 * termios/tcdrain.c: Likewise.
32801 * termios/tcflow.c: Likewise.
32802 * termios/tcflush.c: Likewise.
32803 * termios/tcgetattr.c: Likewise.
32804 * termios/tcgetpgrp.c: Likewise.
32805 * termios/tcsendbrk.c: Likewise.
32806 * termios/tcsetattr.c: Likewise.
32807 * termios/tcsetpgrp.c: Likewise.
32808 * time/adjtime.c: Likewise.
32809 * time/clock.c: Likewise.
32810 * time/getitimer.c: Likewise.
32811 * time/gettimeofday.c: Likewise.
32812 * time/setitimer.c: Likewise.
32813 * time/settimeofday.c: Likewise.
32814 * time/stime.c: Likewise.
32815 * time/time.c: Likewise.
32816
328172012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32818
a20492cf
PT
32819 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32820 /usr/old/bin.
32821
72e182e3
PT
32822 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32823 instead of spaces.
32824 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32825
fbeafede
JM
328262012-11-03 Joseph Myers <joseph@codesourcery.com>
32827
5b5b04d6
JM
32828 [BZ #14796]
32829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32830 FE_TONEAREST before applying Dekker multiplication and Knuth
32831 addition. Clear inexact exceptions and check for exact zero
32832 results afterwards.
32833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32834 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32835 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32836 * math/libm-test.inc (fma_test): Add more tests.
32837 (fma_test_towardzero): Likewise.
32838 (fma_test_downward): Likewise.
32839 (fma_test_upward): Likewise.
32840 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32841 function.
32842 (libc_fesetround): New macro.
32843 (libc_fesetroundf): Likewise.
32844 (libc_fesetroundl): Likewise.
32845 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32846 function.
32847 (libc_fesetround_387): Likewise.
32848 (libc_fesetroundf): New macro.
32849 (libc_fesetround): Likewise.
32850 (libc_fesetroundl): Likewise.
32851 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32852 function.
32853 (libc_fesetroundf): New macro.
32854 (libc_fesetround): Likewise.
32855 (libc_fesetroundl): Likewise.
32856 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32857 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32858 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32859 libm_hidden_ver.
32860 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32861 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32862 libm_hidden_def.
32863 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32864 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32865 libm_hidden_ver.
32866 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32867 libm_hidden_def.
32868
fbeafede
JM
32869 [BZ #3439]
32870 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32871 integer constant usable in #if and use that to give value to enum
32872 constant.
32873 (FE_DIVBYZERO): Likewise.
32874 (FE_UNDERFLOW): Likewise.
32875 (FE_OVERFLOW): Likewise.
32876 (FE_INVALID): Likewise.
32877 (FE_INVALID_SNAN): Likewise.
32878 (FE_INVALID_ISI): Likewise.
32879 (FE_INVALID_IDI): Likewise.
32880 (FE_INVALID_ZDZ): Likewise.
32881 (FE_INVALID_IMZ): Likewise.
32882 (FE_INVALID_COMPARE): Likewise.
32883 (FE_INVALID_SOFTWARE): Likewise.
32884 (FE_INVALID_SQRT): Likewise.
32885 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32886 (FE_TONEAREST): Likewise.
32887 (FE_TOWARDZERO): Likewise.
32888 (FE_UPWARD): Likewise.
32889 (FE_DOWNWARD): Likewise.
32890 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32891 (FE_DIVBYZERO): Likewise.
32892 (FE_OVERFLOW): Likewise.
32893 (FE_UNDERFLOW): Likewise.
32894 (FE_INEXACT): Likewise.
32895 (FE_TONEAREST): Likewise.
32896 (FE_DOWNWARD): Likewise.
32897 (FE_UPWARD): Likewise.
32898 (FE_TOWARDZERO): Likewise.
32899 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32900 (FE_UNDERFLOW): Likewise.
32901 (FE_OVERFLOW): Likewise.
32902 (FE_DIVBYZERO): Likewise.
32903 (FE_INVALID): Likewise.
32904 (FE_TONEAREST): Likewise.
32905 (FE_TOWARDZERO): Likewise.
32906 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32907 (FE_OVERFLOW): Likewise.
32908 (FE_UNDERFLOW): Likewise.
32909 (FE_DIVBYZERO): Likewise.
32910 (FE_INEXACT): Likewise.
32911 (FE_TONEAREST): Likewise.
32912 (FE_TOWARDZERO): Likewise.
32913 (FE_UPWARD): Likewise.
32914 (FE_DOWNWARD): Likewise.
32915 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32916 (FE_DIVBYZERO): Likewise.
32917 (FE_OVERFLOW): Likewise.
32918 (FE_UNDERFLOW): Likewise.
32919 (FE_INEXACT): Likewise.
32920 (FE_TONEAREST): Likewise.
32921 (FE_DOWNWARD): Likewise.
32922 (FE_UPWARD): Likewise.
32923 (FE_TOWARDZERO): Likewise.
32924
105ca950
CM
329252012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32926
32927 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32928
a542b389
AS
329292012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32930
32931 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32932 commands. Quote $PWD.
32933 (blacklist_exports): Don't use remove_newlines. Replace "declare
32934 -x" by "export".
32935 (remove_newlines): Remove.
32936
f62c8abc
L
329372012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32938
32939 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32940 * stdlib/stdlib.h (atof): Moved to ...
32941 * include/bits/stdlib-float.h: Here. New file.
32942 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32943 * stdlib/bits/stdlib-float.h: New file.
32944 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32945 -mno-sse -mno-mmx.
32946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32947 <xmmintrin.h>.
32948
0155d5b2
JM
329492012-11-02 Joseph Myers <joseph@codesourcery.com>
32950
a68d0680
JM
32951 * conform/conformtest.pl (@headers): Add fenv.h.
32952 * conform/data/fenv.h-data: New file.
32953 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32954 include of <math/fenv.h>.
32955
caf7f573
JM
32956 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32957 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32958 && !UNIX98]. Enables tests for XOPEN2K8.
32959 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32960 POSIX2008]: Likewise.
32961
6c073ad6
JM
32962 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32963 (struct rusage): Do not expect type or its members.
32964
0155d5b2
JM
32965 [BZ #3439]
32966 * math/math.h (FP_NAN): Define macro to integer constant usable in
32967 #if and use that to give value to enum constant.
32968 (FP_INFINITE): Likewise.
32969 (FP_ZERO): Likewise.
32970 (FP_SUBNORMAL): Likewise.
32971 (FP_NORMAL): Likewise.
32972
b5dcacb4
AS
329732012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32974
32975 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32976 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32977 arguments.
32978
f7934be8
RM
329792012-11-02 Roland McGrath <roland@hack.frob.com>
32980
32981 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32982 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32983 autoconf-time if not.
32984 * configure.in: Remove AC_PREREQ.
32985
d7d08bde
TMQMF
329862012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32987
32988 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32989 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32990 of the internal implementation.
32991
dcdae19a
JM
329922012-11-02 Joseph Myers <joseph@codesourcery.com>
32993
32994 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32995 except include of <misc/sys/syslog.h>.
32996
d6cffd3e
AS
329972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32998
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33000 function returns with a NULL context exit with zero.
33001
b3563932
TMQMF
330022012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33003
33004 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33005
b288a93d
L
330062012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33007
33008 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33009 (run_program_cmd): This.
33010 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33011 (tst_langinfo): New variable. Use it.
33012
a2421a68
SAS
330132012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33014
33015 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33016 floating point opcodes.
33017
6f796e1b
TS
330182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33019
7402596b
TS
33020 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33021 variable.
33022
d0d4f868
TS
33023 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33024
6f796e1b
TS
33025 * sysdeps/mach/hurd/powerpc: Remove directory.
33026 * sysdeps/mach/powerpc: Likewise.
33027
4da224a2
AS
330282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33029
33030 * scripts/check-local-headers.sh: Ignore c++ headers.
33031
341dd673
TS
330322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33033
33034 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33035 __libc_cleanup_region_start argument.
33036
473611b2
JM
330372012-11-01 Joseph Myers <joseph@codesourcery.com>
33038
33039 [BZ #14784]
33040 [BZ #14785]
33041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33042 x * y using scaling, not as x * y + z.
33043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33045 * math/libm-test.inc (fma_test): Add more tests.
33046 (fma_test_towardzero): Likewise.
33047 (fma_test_downward): Likewise.
33048 (fma_test_upward): Likewise.
33049
4078da3d
TS
330502012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33051
33052 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33053
903252aa
JM
330542012-10-31 Joseph Myers <joseph@codesourcery.com>
33055
33056 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33057 New variable.
33058
cbc818d0
TS
330592012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33060
33061 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33062
5a03cb1e
AS
330632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33064
33065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33066 Fix sort order.
33067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33068 Likewise.
33069
90aff2ff
TMQMF
330702012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33071
33072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33073 Fix the order of the list for glibc 2.17.
33074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33075 Likewise.
33076
1818fcb7
AS
330772012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33078
33079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33080
ef82f4da
JM
330812012-10-31 Joseph Myers <joseph@codesourcery.com>
33082
16a0e2ec
JM
33083 [BZ #14610]
33084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33085 for low part of x being zero before using __atanl (y).
33086 * math/libm-test.inc (atan2_test): Add another test.
33087
0eb69512
JM
33088 * manual/install.texi (Configuring and compiling): Document
33089 general use of test-wrapper and test-wrapper-env.
33090 * INSTALL: Regenerated.
33091
ef82f4da
JM
33092 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33093 (__fma): Do not extract and scale down low bits on after-rounding
33094 systems when result rounded to normal precision would have normal
33095 exponent.
33096 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33097 (__fmal): Do not extract and scale down low bits on after-rounding
33098 systems when result rounded to normal precision would have normal
33099 exponent.
33100 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33101 (__fmal): Do not extract and scale down low bits on after-rounding
33102 systems when result rounded to normal precision would have normal
33103 exponent.
33104 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33105 macro.
33106 (fma_test): Add more tests.
33107 (fma_test_towardzero): Likewise.
33108 (fma_test_downward): Likewise.
33109 (fma_test_upward): Likewise.
33110
954ef0d9
L
331112012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33112
33113 * sysdeps/i386/tininess.h: Renamed to ...
33114 * sysdeps/x86/tininess.h: This.
33115 * sysdeps/x86_64/tininess.h: Removed.
33116
df61ffb2
JM
331172012-10-30 Joseph Myers <joseph@codesourcery.com>
33118
33119 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33120 input. Use $(build-program-cmd).
33121 ($(objpfx)tst-array1-static.out): Likewise.
33122 ($(objpfx)tst-array2.out): Likewise.
33123 ($(objpfx)tst-array3.out): Likewise.
33124 ($(objpfx)tst-array4.out): Likewise.
33125 ($(objpfx)tst-array5.out): Likewise.
33126 ($(objpfx)tst-array5-static.out): Likewise.
33127
01767843
CM
331282012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33129
47cc1490
CM
33130 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33131 if defined.
33132
01767843
CM
33133 * nss/nsswitch.h (nss_interface_function): Provide new
33134 macro for use with NSS functions.
33135 * grp/initgroups.c: Use new macro.
33136 * nss/getXXbyYY.c: Likewise.
33137 * nss/getXXbyYY_r.c: Likewise.
33138 * nss/getXXent.c: Likewise.
33139 * nss/getXXent_r.c: Likewise.
33140 * sysdeps/posix/getaddrinfo.c: Likewise.
33141
8321aa97
AJ
331422012-10-30 Andreas Jaeger <aj@suse.de>
33143
33144 * po/ru.po: Update Russion translation from translation project.
33145
2a27fd6d
JM
331462012-10-30 Joseph Myers <joseph@codesourcery.com>
33147
8627a232
JM
33148 [BZ #14152]
33149 [BZ #14783]
33150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33151 result and shift together with sticky bit instead of replicating
33152 round-to-nearest rounding.
33153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33155 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33156 missing underflow exceptions.
33157 (fma_test_towardzero): Add more tests.
33158 (fma_test_downward): Likewise.
33159 (fma_test_upward): Likewise.
33160
2a27fd6d
JM
33161 [BZ #14047]
33162 * sysdeps/generic/tininess.h: New file.
33163 * sysdeps/i386/tininess.h: Likewise.
33164 * sysdeps/sh/tininess.h: Likewise.
33165 * sysdeps/x86_64/tininess.h: Likewise.
33166 * stdlib/tst-strtod-underflow.c: Likewise.
33167 * stdlib/tst-tininess.c: Likewise.
33168 * stdlib/strtod_l.c: Include <tininess.h>.
33169 (round_and_return): Do not set errno for exact underflow cases.
33170 Force an underflow exception when setting errno for underflow.
33171 Determine underflow based on rounding to normal precision if
33172 TININESS_AFTER_ROUNDING.
33173 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33174 ERANGE for exact underflow cases.
33175 * stdlib/Makefile (tests): Add tst-tininess and
33176 tst-strtod-underflow.
33177 ($(objpfx)tst-tininess): Use $(link-libm).
33178 ($(objpfx)tst-strtod-underflow): Likewise.
33179
e7170363
AJ
331802012-10-30 Andreas Jaeger <aj@suse.de>
33181
e5088dc6
AJ
33182 [BZ#14767]
33183 * elf/Makefile (tests): Remove conditional for have-initfini-array
33184 since this is now always required and the variable does not exist
33185 anymore.
33186 (tests-static): Likewise.
33187 (modules-names): Likewise.
33188
e7170363 33189 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33190
33191 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33192 merged with constructor/destructor.
33193 (init_array): Likewise.
33194 * elf/tst-array2dep.c (fini_array): Likewise.
33195 (init_array): Likewise.
33196
60457d8a
MF
331972012-10-29 Mike Frysinger <vapier@gentoo.org>
33198
33199 * manual/message.texi: Delete @cartouche tags.
33200
8bece752
PT
332012012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33202
94ce799f
PT
33203 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33204 EOPNOTSUPP.
33205 * sysdeps/mach/hurd/fsync.c: Likewise.
33206
8bece752
PT
33207 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33208 [_POSIX_REALTIME_SIGNALS]: Change condition to
33209 [_POSIX_REALTIME_SIGNALS > 0].
33210
86ebe6b1
AJ
332112012-10-27 Andreas Jaeger <aj@suse.de>
33212
33213 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33214 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33216 [__WORDSIZE != 64]: Likewise.
33217
54399c08
L
332182012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33219
33220 * iconvdata/tst-table.sh: Remove ${SHELL}.
33221 * iconvdata/tst-tables.sh: Likewise.
33222
e2211bed
DM
332232012-10-25 David S. Miller <davem@davemloft.net>
33224
33225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33226 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33227 of strtoull.
33228
f303f97c
DM
33229 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33230 ifunc-impl-list.c
33231 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33232 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33233 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33234 file.
33235
1e9d84cd
RM
332362012-10-25 Roland McGrath <roland@hack.frob.com>
33237
33238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33239 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33240 __getdirentries.
33241
df381762
JM
332422012-10-25 Joseph Myers <joseph@codesourcery.com>
33243 Jim Blandy <jimb@codesourcery.com>
33244
33245 * scripts/cross-test-ssh.sh: New file.
33246 * manual/install.texi (Configuring and compiling): Document use of
33247 cross-test-ssh.sh.
33248 * INSTALL: Regenerated.
33249
bff64913
PT
332502012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33251
33252 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33253 EOPNOTSUPP.
33254
25fe8932
JM
332552012-10-25 Joseph Myers <joseph@codesourcery.com>
33256
33257 * Makeconfig (run-program-prefix): Fix comment.
33258
cc1290d0
JM
332592012-10-24 Joseph Myers <joseph@codesourcery.com>
33260 Jim Blandy <jimb@codesourcery.com>
33261
33262 * Makeconfig (test-wrapper): New variable,
33263 (test-wrapper-env): Likewise.
33264 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33265 (run-built-tests): Define to yes.
33266 (run-program-prefix): Use $(test-wrapper).
33267 (built-program-cmd): Likewise.
33268 * Rules (make-test-out): Use $(test-wrapper-env) and
33269 $(host-built-program-cmd).
33270 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33271 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33272 tst-pathopt.sh.
33273 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33274 $(test-wrapper-env) to tst-rtld-load-self.sh.
33275 ($(objpfx)order2.out): Use $(test-wrapper).
33276 ($(objpfx)tst-initorder.out): Likewise.
33277 ($(objpfx)tst-initorder2.out): Likewise.
33278 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33279 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33280 (test_wrapper_env): New variable. Use it to run ld.so.
33281 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33282 Use it to run ld.so.
33283 (test_wrapper_env): Likewise.
33284 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33285 $(test-wrapper) to run-iconv-test.sh.
33286 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33287 (ICONV): Use $test_wrapper.
33288 * posix/Makefile ($(objpfx)globtest.out): Pass
33289 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33290 globtest.sh, not $(run-program-prefix).
33291 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33292 (test_wrapper): Likewise.
33293 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33294 set together with run_via_rtld_prefix.
33295 (run_program_prefix): Define in terms of test_wrapper and
33296 run_via_rtld_prefix.
33297
6e6249d0
RM
332982012-10-24 Roland McGrath <roland@hack.frob.com>
33299
33300 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33301 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33302 Targets removed.
33303
33304 [BZ #14743]
33305 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33306 Declare __clock_getres, __clock_gettime, __clock_settime,
33307 __clock_nanosleep, and __clock_getcpuclockid.
33308 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33309 Remove librt_hidden_def (clock_gettime).
33310 * sysdeps/unix/clock_gettime.c: Likewise.
33311 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33312 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33313 * rt/clock_getres.c: Define __clock_getres as an alias.
33314 * sysdeps/posix/clock_getres.c: Likewise.
33315 * rt/clock_settime.c: Define __clock_settime as an alias.
33316 * sysdeps/unix/clock_settime.c: Likewise.
33317 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33318 * sysdeps/unix/clock_nanosleep.c: Likewise.
33319 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33320 * rt/clock-compat.c: New file.
33321 * rt/Makefile (librt-routines): Add clock-compat and move
33322 $(clock-routines) to ...
33323 (routines): ... here, new variable.
33324 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33325 Don't add get_clockfreq here.
33326 * rt/Versions (libc: GLIBC_2.17): New version set.
33327 Add clock_* symbols here.
33328 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33330 (GLIBC_2.17): Add clock_* symbols.
33331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33335 Likewise.
33336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33337 Likewise.
33338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33342 * NEWS: Mention the move.
33343
33344 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33345 Use __open, __read, __close rather than their public counterparts.
33346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33347 (__get_clockfreq_via_cpuinfo): Likewise.
33348 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33349 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33350
33351 * config.h.in (HAVE_IFUNC): New #undef.
33352 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33353 was successful.
33354 * configure: Regenerated.
33355
0cae3f4b
MF
333562012-10-24 Mike Frysinger <vapier@gentoo.org>
33357
33358 * configure.in: Move READELF check to start of file.
33359 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33360 libc_cv_asm_gnu_indirect_function in the process.
33361 * configure: Regenerated.
33362
8175a253
MF
333632012-10-24 Mike Frysinger <vapier@gentoo.org>
33364
33365 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33366 send the output to /dev/null.
33367 (libc_cv_cc_with_libunwind): Likewise.
33368 (libc_cv_as_noexecstack): Likewise.
33369 * configure: Regenerate.
33370
0708a7d1
JM
333712012-10-24 Joseph Myers <joseph@codesourcery.com>
33372
10b40d85
JM
33373 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33374
0708a7d1
JM
33375 * posix/globtest.sh (TMPDIR): Do not set.
33376 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33377 (testout): Likewise.
33378
9fddec1a
AJ
333792012-10-24 Andreas Jaeger <aj@suse.de>
33380
3a8db22f
AJ
33381 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33382 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33383 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33384 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33385 posix_fadvise64, posix_fallocate64.
33386
9fddec1a
AJ
33387 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33388 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33389 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33390 Likewise.
33391 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33392 Likewise.
33393 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33394
33395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33396 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33397 <bits/fcntl-linux.h>.
33398 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33399
33400 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33401 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33402 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33403 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33404 [__WORDSIZE != 64]: Likewise.
33405
ebfd1bbd
JM
334062012-10-23 Joseph Myers <joseph@codesourcery.com>
33407
03ac099f
JM
33408 * Makeconfig (run-built-tests): New variable.
33409 * Rules [$(cross-compiling) = yes]: Change condition to
33410 [$(run-built-tests) = no].
33411 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33412 to [$(run-built-tests) = yes].
33413 * elf/Makefile [$(cross-compiling) = no]: Likewise
33414 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33415 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33416 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33417 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33418 * io/Makefile [$(cross-compiling) = no]: Likewise.
33419 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33420 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33421 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33422 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33423 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33424 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33425 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33426 * string/Makefile [$(cross-compiling) = no]: Likewise.
33427
ebfd1bbd
JM
33428 * posix/Makefile ($(objpfx)globtest.out): Pass
33429 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33430 $(rtld-installed-name).
33431 * posix/globtest.sh (elf_objpfx): Remove variable.
33432 (rtld_installed_name): Likewise.
33433 (library_path): Likewise.
33434 (run_program_prefix): New variable. Use for running globtest
33435 binary.
33436
166bca24
JB
334372012-10-23 Jim Blandy <jimb@codesourcery.com>
33438 Joseph Myers <joseph@codesourcery.com>
33439
33440 * Makeconfig (host-built-program-cmd): New variable.
33441 * elf/Makefile (tst-stackguard1-ARGS): Use
33442 $(host-built-program-cmd).
33443 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33444 (tst-spawn-ARGS): Likewise.
33445 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33446
88866099
JM
334472012-10-23 Joseph Myers <joseph@codesourcery.com>
33448 Jim Blandy <jimb@codesourcery.com>
33449
33450 * Makeconfig (run-via-rtld-prefix): New variable.
33451 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33452 (built-program-cmd): Likewise.
33453
b4b4c296
AJ
334542012-10-22 Andreas Jaeger <aj@suse.de>
33455
33456 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33457 __O_RSYNC if it exists, otherwise to O_SYNC.
33458
6fb54a22
JB
334592012-10-22 Jim Blandy <jimb@codesourcery.com>
33460 Joseph Myers <joseph@codesourcery.com>
33461
33462 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33463 /dev/null.
33464 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33465 from /dev/null
33466 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33467 /dev/null.
33468
481b90b9
AJ
334692012-10-22 Andreas Jaeger <aj@suse.de>
33470
2a0e2669
AJ
33471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33472 Define always.
33473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33474
76e38f9a
AJ
33475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33476 bits/fcntl-linux.h.
33477
7cd37b43
AJ
33478 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33479 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33480
481b90b9
AJ
33481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33482 to __O_LARGEFILE.
33483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33484 to __O_LARGEFILE.
33485
aba75984
JB
334862012-10-21 Jim Blandy <jimb@codesourcery.com>
33487 Joseph Myers <joseph@codesourcery.com>
33488
33489 * config.make.in (NM): New variable.
33490
88d4247f
AJ
334912012-10-21 Andreas Jaeger <aj@suse.de>
33492
33493 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33494 definitions and declarations that are provided by
33495 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33496
f2eed205
L
334972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33498
33499 [BZ #14683]
33500 * elf/Makefile (tests-static): Add tst-leaks1-static.
33501 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33502 ($(objpfx)tst-leaks1-static): New rule.
33503 ($(objpfx)tst-leaks1-static-mem): Likewise.
33504 (tst-leaks1-static-ENV): New macro.
33505 * elf/dl-open.c (dl_open_worker): Check the main application
33506 only if SHARED is defined.
33507 * elf/tst-leaks1-static.c: New file.
33508
335e6931
AJ
335092012-10-20 Andreas Jaeger <aj@suse.de>
33510
33511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33512 generic values for Linux.
33513 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33514 and declarations that are provided by <bits/fcntl-linux.h> and
33515 include <bits/fcntl-linux.h>.
33516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33518
ac5c94d3
RM
335192012-10-20 Roland McGrath <roland@hack.frob.com>
33520
33521 * io/fcntl.h: Move include of <bits/types.h> to the top and
33522 include it unconditionally.
33523
de54b33a
L
335242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33525
228cfb01
L
33526 * wcsmbs/Makefile (tests-ifunc): New variable.
33527 (tests): Add $(tests-ifunc).
33528 * wcsmbs/test-wcschr-ifunc.c: New file.
33529 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33530 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33531 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33532 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33533 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33534
69f07e5f
L
33535 * string/Makefile (tests-ifunc): New variable.
33536 (tests): Add $(tests-ifunc).
33537 * string/test-memccpy.c (TEST_NAME): New macro.
33538 * string/test-memchr.c (TEST_NAME): Likewise.
33539 * string/test-memcmp.c (TEST_NAME): Likewise.
33540 * string/test-memcpy.c (TEST_NAME): Likewise.
33541 * string/test-memmem.c (TEST_NAME): Likewise.
33542 * string/test-memmove.c (TEST_NAME): Likewise.
33543 * string/test-memset.c (TEST_NAME): Likewise.
33544 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33545 * string/test-stpcpy.c (TEST_NAME): Likewise.
33546 * string/test-stpncpy.c (TEST_NAME): Likewise.
33547 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33548 * string/test-strcasestr.c (TEST_NAME): Likewise.
33549 * string/test-strcat.c (TEST_NAME): Likewise.
33550 * string/test-strchr.c (TEST_NAME): Likewise.
33551 * string/test-strcmp.c(TEST_NAME): Likewise.
33552 * string/test-strcpy.c (TEST_NAME): Likewise.
33553 * string/test-strcspn.c (TEST_NAME): Likewise.
33554 * string/test-strlen.c (TEST_NAME): Likewise.
33555 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33556 * string/test-strncmp.c (TEST_NAME): Likewise.
33557 * string/test-strncpy.c (TEST_NAME): Likewise.
33558 * string/test-strnlen.c (TEST_NAME): Likewise.
33559 * string/test-strpbrk.c (TEST_NAME): Likewise.
33560 * string/test-strrchr.c (TEST_NAME): Likewise.
33561 * string/test-strspn.c (TEST_NAME): Likewise.
33562 * string/test-strstr.c (TEST_NAME): Likewise.
33563 * string/test-bcopy-ifunc.c: New file.
33564 * string/test-bzero-ifunc.c: Likewise.
33565 * string/test-memccpy-ifunc.c: Likewise.
33566 * string/test-memchr-ifunc.c: Likewise.
33567 * string/test-memcmp-ifunc.c: Likewise.
33568 * string/test-memcpy-ifunc.c: Likewise.
33569 * string/test-memmem-ifunc.c: Likewise.
33570 * string/test-memmove-ifunc.c: Likewise.
33571 * string/test-mempcpy-ifunc.c: Likewise.
33572 * string/test-memset-ifunc.c: Likewise.
33573 * string/test-rawmemchr-ifunc.c: Likewise.
33574 * string/test-stpcpy-ifunc.c: Likewise.
33575 * string/test-stpncpy-ifunc.c: Likewise.
33576 * string/test-strcasecmp-ifunc.c: Likewise.
33577 * string/test-strcasestr-ifunc.c: Likewise.
33578 * string/test-strcat-ifunc.c: Likewise.
33579 * string/test-strchr-ifunc.c: Likewise.
33580 * string/test-strchrnul-ifunc.c: Likewise.
33581 * string/test-strcmp-ifunc.c: Likewise.
33582 * string/test-strcpy-ifunc.c: Likewise.
33583 * string/test-strcspn-ifunc.c: Likewise.
33584 * string/test-strlen-ifunc.c: Likewise.
33585 * string/test-strncasecmp-ifunc.c: Likewise.
33586 * string/test-strncat-ifunc.c: Likewise.
33587 * string/test-strncmp-ifunc.c: Likewise.
33588 * string/test-strncpy-ifunc.c: Likewise.
33589 * string/test-strnlen-ifunc.c: Likewise.
33590 * string/test-strpbrk-ifunc.c: Likewise.
33591 * string/test-strrchr-ifunc.c: Likewise.
33592 * string/test-strspn-ifunc.c: Likewise.
33593 * string/test-strstr-ifunc.c: Likewise.
33594
de54b33a
L
33595 * debug/Makefile (tests-ifunc): New variable.
33596 (tests): Add $(tests-ifunc).
33597 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33598 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33599 * debug/test-stpcpy_chk-ifunc.c: New file.
33600 * debug/test-strcpy_chk-ifunc.c: Likewise.
33601
88481c16
SP
336022012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33603
33604 [BZ #13601]
33605 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33606 header is not read in.
33607
135948bd
JM
336082012-10-19 Joseph Myers <joseph@codesourcery.com>
33609
89f1c388
JM
33610 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33611 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33612 directly. Pass built executable to script as
33613 $(built-program-cmd).
33614 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33615 $testprogram without using LD_LIBRARY_PATH and $ldso.
33616
e40a0d21
JM
33617 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33618 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33619 $(rtld-installed-name).
33620 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33621 (rtld_installed_name): Likewise.
33622 (library_path): Likewise.
33623 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33624 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33625 $(run-program-prefix) to tst-tables.sh.
33626 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33627 it to run tst-table-from and tst-table-to.
33628 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33629 Pass it to tst-table.sh.
33630 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33631 $(run-program-prefix) to tst-gettext.sh.
33632 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33633 tst-translit.sh.
33634 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33635 tst-gettext2.sh.
33636 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33637 to run tst-gettext.
33638 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33639 to run tst-gettext2.
33640 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33641 to run tst-translit.
33642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33643 $(run-program-prefix) to tst-mtrace.sh.
33644 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33645 to run tst-mtrace.
33646 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33647 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33648 $(rtld-installed-name).
33649 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33650 (rtld_installed_name): Likewise.
33651 (run_program_prefix): New variable. Use it to run wordexp-test.
33652
728e272a
JM
33653 * Makeconfig (ARCH): Remove all definitions.
33654 (machine): Likewise.
33655 [ARCH]: Remove conditional code.
33656 [!objdir]: Give error.
33657 [!objdir] (objpfx): Remove.
33658 [!objdir] (common-objpfx): Likewise.
33659 [!objdir] (common-objdir): Likewise.
33660 * configure.in (config_makefile): Remove. Hardcode Makefile in
33661 AC_CONFIG_FILES call.
33662 * configure: Regenerated.
33663
d528cdcf
JM
33664 [BZ #13888]
33665 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33666 or TMPDIR.
33667 (testout): Likewise.
33668
135948bd
JM
33669 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33670 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33671 $(rtld-installed-name).
33672 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33673 (rtld_installed_name): Likwise.
33674 (runit): Remove function.
33675 (run_getconf): New variable, Use it for running getconf binary.
33676
38c78296
L
336772012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33678
33679 [BZ #14716]
33680 * string/test-memmem.c (check_result): New function.
33681 (do_one_test): Use it.
33682 (check1): New function.
33683 (test_main): Use it.
33684
d077f65f
MT
336852012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33686
33687 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33688
ced52c71
JM
336892012-10-18 Joseph Myers <joseph@codesourcery.com>
33690
33691 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33692 (_G_LSEEK64): Likewise.
33693 (_G_MMAP64): Likewise.
33694 (_G_FSTAT64): Likewise.
33695 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33696 (_G_LSEEK64): Likewise.
33697 (_G_MMAP64): Likewise.
33698 (_G_FSTAT64): Likewise.
33699 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33700 unconditional. Call __mmap64 directly.
33701 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33702 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33703 __lseek64 directly.
33704 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33705 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33706 __mmap64 directly.
33707 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33708 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33709 __lseek64 directly.
33710 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33711 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33712 __lseek64 directly.
33713 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33714 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33715 __lseek64 directly.
33716 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33717 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33718 __fxstat64 directly.
33719 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33720 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33721 unconditional.
33722 (freopen64) [!_G_OPEN64]: Remove conditional code.
33723 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33724 unconditional.
33725 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33726 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33727 unconditional.
33728 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33729 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33730 unconditional.
33731 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33732 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33733 unconditional.
33734 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33735 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33736 unconditional.
33737 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33738 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33739 unconditional.
33740 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33741 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33742 unconditional.
33743 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33744
b741de23
SP
337452012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33746
33747 [BZ #12140]
33748 * manual/memory.texi (Malloc Tunable Parameters): Add note
33749 about free list pointers overwriting some perturb bytes.
33750 Wording suggested by Roland McGrath.
33751
f9b9d9c9
JM
337522012-10-17 Joseph Myers <joseph@codesourcery.com>
33753
33754 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33755 (lgamma_test): Likewise.
33756 (tgamma_test): Likewise.
33757
172a631a
FW
337582012-10-16 Florian Weimer <fweimer@redhat.com>
33759
33760 [BZ #14700]
33761 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33762 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33763
e9f37252
MK
337642012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33765
33766 * NEWS: Mention BZ #14716.
33767 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33768 when removing AVAILABLE1_USES_J macro.
33769
d394eb74
L
337702012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33771
33772 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33773 (__bswap_64): __uint64_t for unsigned 64-bit int.
33774
ca38dc17
AS
337752012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33776
33777 * include/string.h (memmem): Declare libc hidden alias.
33778 * string/memmem.c (memmem): Define libc hidden alias.
33779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33780 __read, __close instead of open, read, close.
33781
9a387d1f
L
337822012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33783
ac49ecaf
L
33784 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33785 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33786 global and hidden.
33787 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33788 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33789 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33790 Likewise.
33791 (__rawmemchr_sse2): Likewise.
33792 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33793 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33794 (__strchr_sse2): Likewise.
33795 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33796 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33797 (__strcasecmp_sse2): Likewise.
33798 (__strncasecmp_sse2): Likewise.
33799 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33800 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33801 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33802 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33803 (__strrchr_sse2): Likewise.
33804 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33805 ifunc-impl-list.c.
33806 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33807 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33808 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33809 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33810 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33811 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33812 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33813 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33814 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33815 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33816 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33817 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33818 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33819 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33820 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33821 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33822 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33823 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33824 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33825 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33826 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33827 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33828 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33829 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33830 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33831 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33832 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33833 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33834 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33835 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33836
b090e8ea
L
33837 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33838 global and hidden.
33839 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33840 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33841 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33842 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33843 Likewise.
33844 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33845 Likewise.
33846 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33847 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33848 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33849 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33850 ifunc-impl-list.c.
33851 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33852 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33853 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33861 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33862 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33863 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33864 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33865 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33867 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33868 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33869 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33870 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33871 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33872 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33873 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33874 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33875 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33876 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33877 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33878 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33879 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33880 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33881 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33882 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33883 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33884 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33885 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33886 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33887 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33888 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33889 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33890 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33891 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33892
11dd4af6
L
33893 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33894 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33895 * include/ifunc-impl-list.h: New file.
33896 * misc/ifunc-impl-list.c: Likewise.
33897 * misc/Makefile (routines): Add ifunc-impl-list.
33898 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33899 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33900 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33901 TEST_NAME]: New variables.
11dd4af6
L
33902 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33903 are defined.
33904 (test_init): Call __libc_ifunc_impl_list to initialize
33905 func_list if TEST_IFUNC and TEST_NAME are defined.
33906
9a387d1f
L
33907 * string/Makefile (strop-tests): Add bcopy and bzero.
33908 * string/test-bcopy.c: New file.
33909 * string/test-bzero.c: Likewise.
33910 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33911 defined.
33912 * string/test-memset.c: Support bzero test if TEST_BZERO is
33913 defined.
33914 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33915 __libc_memmove.
33916 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33917 __libc_memset.
33918 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33919 of memset.
33920
472371b9
JM
339212012-10-10 Joseph Myers <joseph@codesourcery.com>
33922
1e4a9536
JM
33923 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33924 * configure: Regenerated.
33925
d173d12e
JM
33926 * Makeconfig (+link-static-before-libc): Don't include
33927 $(link-static-libc).
33928
472371b9
JM
33929 * libio/libio.h (_IO_pos_t): Remove.
33930
89a3ad0b
AO
339312012-10-10 Alexandre Oliva <aoliva@redhat.com>
33932
33933 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33934 McGrath.
33935
e7451425
AO
339362012-10-10 Alexandre Oliva <aoliva@redhat.com>
33937
33938 * crypt/crypt-entry.c: Include fips-private.h.
33939 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33940 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33941 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33942 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33943
4ba74a35
AO
339442012-10-10 Alexandre Oliva <aoliva@redhat.com>
33945
33946 * crypt/crypt-private.h: Include stdbool.h.
33947 (_ufc_setup_salt_r): Return bool.
33948 * crypt/crypt-entry.c: Include errno.h.
33949 (__crypt_r): Return NULL with EINVAL for bad salt.
33950 * crypt/crypt_util.c (bad_for_salt): New.
33951 (_ufc_setup_salt_r): Check that salt is long enough and within
33952 the specified alphabet.
33953 * crypt/badsalttest.c: New file.
33954 * crypt/Makefile (tests): Add it.
33955 ($(objpfx)badsalttest): New.
33956
f96f1242
MK
339572012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33958
33959 * NEWS: Add entry for BZ #14602.
33960
0e8e0c1c
JM
339612012-10-09 Joseph Myers <joseph@codesourcery.com>
33962
33963 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33964 type-generic.
33965 * math/libm-test.inc: Update comment listing what functions and
33966 macros are tested.
33967 (isgreater_test): New function.
33968 (isgreaterequal_test): Likewise.
33969 (isless_test): Likewise.
33970 (islessequal_test): Likewise.
33971 (islessgreater_test): Likewise.
33972 (isunordered_test): Likewise.
33973 (main): Call the new functions.
33974
273edc5e
RM
339752012-10-09 Roland McGrath <roland@hack.frob.com>
33976
b8493de0
RM
33977 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33978 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33979 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33980 * sysdeps/i386/configure: Regenerated.
33981 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33982 * sysdeps/mach/configure: Regenerated.
33983 * sysdeps/mach/hurd/configure: Regenerated.
33984 * sysdeps/powerpc/configure: Regenerated.
33985 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33986 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33987 * sysdeps/s390/s390-32/configure: Regenerated.
33988 * sysdeps/s390/s390-64/configure: Regenerated.
33989 * sysdeps/sh/configure: Regenerated.
33990 * sysdeps/sparc/configure: Regenerated.
33991 * sysdeps/unix/sysv/linux/configure: Regenerated.
33992 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33993 * sysdeps/x86_64/configure: Regenerated.
33994
273edc5e
RM
33995 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33996 defined. Don't check if MAP is NULL.
33997
c8450f70
JM
339982012-10-09 Joseph Myers <joseph@codesourcery.com>
33999
34000 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34001 (_G_stat64): Likewise.
34002 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34003 (_G_stat64): Likewise.
34004 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34005 instead of struct _G_stat64.
34006 * libio/fileops.c (mmap_remap_check): Likewise.
34007 (decide_maybe_mmap): Likewise.
34008 (_IO_new_file_seekoff): Likewise.
34009 (_IO_file_stat): Likewise.
34010 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34011 _G_off64_t.
34012 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34013 instead of struct _G_stat64.
34014 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34015
57e605ba
MK
340162012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34017
34018 [BZ #14602]
34019 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34020 Replace with ...
34021 (CHECK_EOL): New macro.
34022 (two_way_short_needle): Check beginning of haystack for EOL. Use
34023 CHECK_EOL.
34024 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34025 Replace with CHECK_EOL.
34026 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34027 Replace with CHECK_EOL.
34028
ef1bb361
JM
340292012-10-08 Joseph Myers <joseph@codesourcery.com>
34030
34031 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34032 type-generic.
34033 * math/libm-test.inc: Update comment listing what functions and
34034 macros are tested.
34035 (finite_test): New function.
34036 (isinf_test): Likewise.
34037 (isnan_test): Likewise.
34038 (fpclassify_test): Test subnormal input.
34039 (isfinite_test): Likewise.
34040 (isnormal_test): Likewise.
34041 (main): Call the new functions.
34042
55f11534
JN
340432012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34044
34045 [BZ #14660]
34046 * Makerules (%.dynsym): Force C locale when running
34047 $(OBJDUMP) --dynamic-syms.
34048
1ab29350
AS
340492012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34050
34051 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34052 <stdint.h>.
34053
f1ecb7ef
DM
340542012-10-06 David S. Miller <davem@davemloft.net>
34055
34056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34057 upper 32-bits of the length value in %o2 since we use branch-on-register
34058 tests which consider the entire 64-bit register.
34059
5d41d91a
L
340602012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34061
34062 * string/test-strstr.c (check2): Add a test for page boundary.
34063
3baddb72
DM
340642012-10-05 David S. Miller <davem@davemloft.net>
34065
34066 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34067 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34068 file.
34069 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34070 sysdep_routines.
34071 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34072 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34073 and bzero when HWCAP_SPARC_CRYPTO is present.
34074
9cee5585
L
340752012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34076
d7e0dab9
L
34077 [BZ #14602]
34078 * string/test-strstr.c (check2): New function.
34079 (test_main): Call check2.
34080
03759f47
L
34081 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34082 and bug-strchr1.
34083 * string/bug-strcasestr1.c (do_test): Moved to ...
34084 * string/test-strcasestr.c (check1): Here. New function.
34085 (do_one_test): Break out result checking code into ...
34086 (check_result): This. New function.
34087 (do_one_test): Call check_result.
34088 (test_main): Call check1.
34089 * string/bug-strchr1.c (do_test): Moved to ...
34090 * string/test-strchr.c (check1): Here. New function.
34091 (do_one_test): Break out result checking code into ...
34092 (check_result): This. New function.
34093 (do_one_test): Call check_result.
34094 (test_main): Call check1.
34095 * string/bug-strstr1.c (main): Moved to ...
046f153e 34096 * string/test-strstr.c (check1): Here. New function.
03759f47
L
34097 (do_one_test): Break out result checking code into ...
34098 (check_result): This. New function.
34099 (do_one_test): Call check_result.
34100 (test_main): Call check1.
34101 * string/bug-strcasestr1.c: Removed.
34102 * string/bug-strchr1.c: Likewise.
34103 * string/bug-strstr1.c: Likewise.
34104
53cea63e
L
34105 * elf/Makefile (dl-routines): Add hwcaps.
34106 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34107 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34108 (_dl_important_hwcaps): Moved to ...
34109 * elf/dl-hwcaps.c: Here. New file.
34110 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34111
9cee5585 34112 [BZ #14557]
bb859b06
L
34113 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34114 if IS_IN_rtld isn't defined.
34115
9cee5585
L
34116 * elf/dl-support.c (_dl_sysinfo_map): New.
34117 Include "get-dynamic-info.h" and "setup-vdso.h".
34118 (_dl_non_dynamic_init): Call setup_vdso.
34119 * elf/dynamic-link.h: Don't include <assert.h>.
34120 (elf_get_dynamic_info): Moved to ...
34121 * elf/get-dynamic-info.h: Here. New file.
34122 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34123 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34124 * elf/setup-vdso.h: Here. New file.
34125 * elf/rtld.c: Include "setup-vdso.h".
34126 (dl_main): Call setup_vdso.
34127
23c31b76
JM
341282012-10-05 Joseph Myers <joseph@codesourcery.com>
34129
28234b07
JM
34130 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34131 creal in comment listing functions tested. List finite, isinf,
34132 isnan, isless, islessequal, isgreater, isgreaterequal,
34133 islessgreater, isunordered, lgamma_r and pow10 as functions and
34134 macros not tested. Mention which functions not tested are aliases
34135 for other functions. Fix typo. Note that signs of NaNs are not
34136 tested.
34137
23c31b76
JM
34138 * scripts/config.guess: Update from config.git.
34139 * scripts/config.sub: Likewise.
34140
9043e228
RM
341412012-10-04 Roland McGrath <roland@hack.frob.com>
34142
34143 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34144 * misc/madvise.c (madvise): Renamed to __madvise.
34145 Make madvise a weak alias.
34146 * include/sys/mman.h: Declare __madvise.
34147 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34148 * sysdeps/unix/syscalls.list
34149 (madvise): Make __madvise the strong name, and madvise a weak alias.
34150 * sysdeps/unix/sysv/linux/syscalls.list
34151 (madvise, mmap): Remove redundant entries.
34152 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34153 * malloc/malloc.c (mtrim): Likewise.
34154 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34155
f57f8055
RM
341562012-10-03 Roland McGrath <roland@hack.frob.com>
34157
34158 * sysdeps/mach/hurd/dl-cache.c: File removed.
34159 * config.h.in (USE_LDCONFIG): New #undef.
34160 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34161 * configure: Regenerated.
34162 * elf/Makefile (dl-routines): Add dl-cache only under
34163 [$(use-ldconfig) = yes].
34164 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34165 cache on [USE_LDCONFIG].
34166 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34167 [USE_LDCONFIG].
34168 * elf/rtld.c (dl_main): Likewise.
34169
5bb0c10a
PT
341702012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34171
34172 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34173 _SC_LEVEL4_CACHE_LINESIZE.
34174
010188c6
RM
341752012-10-03 Roland McGrath <roland@hack.frob.com>
34176
34177 * sysdeps/unix/bsd/confstr.h: File removed.
34178
b6c5ec07
AO
341792012-10-02 Alexandre Oliva <aoliva@redhat.com>
34180
34181 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34182 sys/sdt-config.h.
34183
408223d4
RM
341842012-10-02 Roland McGrath <roland@hack.frob.com>
34185
34186 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34187 Make 'mapoff' field ElfW(Off) rather than off_t.
34188
bb9510dc
DL
341892012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34190
fc997c6e
DL
34191 * nscd/Makefile: Remove nscd-cflags and all its users.
34192 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34193 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34194
bb9510dc
DL
34195 [BZ #10631]
34196 * malloc.c (malloc_printerr): Clarify error message.
34197
05699367
L
341982012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34199
34200 [BZ #14648]
34201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34202 Set bit_FMA_Usable if FMA is supported.
34203 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34204 macro.
34205 (bit_FMA4_Usable): Updated.
34206 (index_FMA_Usable): New macro.
34207 (CPUID_FMA): Likewise
34208 (HAS_FMA): Defined with bit_FMA_Usable.
34209
51367701
RM
342102012-10-01 Roland McGrath <roland@hack.frob.com>
34211
34212 * bits/types.h (__swblk_t): Type removed.
34213 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34214 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34215 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34216 (__SWBLK_T_TYPE): Likewise.
34217 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34218 (__SWBLK_T_TYPE): Likewise.
34219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34220 (__SWBLK_T_TYPE): Likewise.
34221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34222 (__SWBLK_T_TYPE): Likewise.
34223
4d57bf63 342242012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34225 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34226
34227 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34228 (xdr_mapname): Use YPMAXMAP as maxsize.
34229 (xdr_peername): Use YPMAXPEER as maxsize.
34230 (xdr_keydat): Use YPAXRECORD as maxsize.
34231 (xdr_valdat): Use YPMAXRECORD as maxsize.
34232
93c65d43
RM
342332012-10-01 Roland McGrath <roland@hack.frob.com>
34234
497a03d6
RM
34235 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34236
93c65d43
RM
34237 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34238 * csu/init-first.c: ... here.
34239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34240 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34241 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34243 * sysdeps/i386/init-first.c: File removed.
34244 * sysdeps/sh/init-first.c: File removed.
34245
bec749fd
JM
342462012-10-01 Joseph Myers <joseph@codesourcery.com>
34247
34248 [BZ #14645]
34249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34250 if x * y might underflow to zero and z is zero.
34251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34253 * math/libm-test.inc (min_subnorm_value): New variable.
34254 (fma_test): Add more tests.
34255 (fma_test_towardzero): Likewise.
34256 (fma_test_downward): Likewise
34257 (fma_test_upward): Likewise.
34258 (initialize): Set min_subnorm_value.
34259
8ec5b013
JM
342602012-09-29 Joseph Myers <joseph@codesourcery.com>
34261
34262 [BZ #14638]
34263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34264 0 + 0.
34265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34266 mode for addition resulting in exact zero.
34267 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34268 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34269 exact 0 + 0.
34270 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34271 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34272 * math/libm-test.inc (fma_test): Add more tests.
34273 (fma_test_towardzero): New function.
34274 (fma_test_downward): Likewise.
34275 (fma_test_upward): Likewise.
34276 (main): Call the new functions.
34277
b1fa802e
DM
342782012-09-28 David S. Miller <davem@davemloft.net>
34279
34280 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34281
d3b9fd9e
RM
342822012-09-28 Roland McGrath <roland@hack.frob.com>
34283
ea4d37b3
RM
34284 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34285 instead of SIGALRM.
34286
ac51c949
RM
34287 * sysdeps/gnu/_G_config.h: Moved to ...
34288 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34289 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34290 * sysdeps/generic/_G_config.h: ... here.
34291
28c195f7
RM
34292 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34293
848917f9
RM
34294 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34295
6bacf05b
RM
34296 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34297 Conditionalize target on [libnss_test1.so-version].
34298
91363dbb
RM
34299 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34300
cc87f7d8
RM
34301 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34302 (elfobjdir): Move out of conditionals.
34303
b1c608fe
RM
34304 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34305 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34306 (__nss_lookup_function): Conditionalize label remove_from_tree on
34307 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34308
1d9a6d96
DM
343092012-09-28 David S. Miller <davem@davemloft.net>
34310
34311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34312 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34313 file.
34314 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34315 sysdep_routines.
34316 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34318 when HWCAP_SPARC_CRYPTO is present.
34319
72581615
PT
343202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34321
34322 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34323
715a900c
JL
343242012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34325
34326 [BZ #6530]
34327 * stdio-common/vfprintf.c (process_string_arg): Revert
34328 2000-07-22 change.
34329
343302011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34331
34332 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34333 for testcase.
34334 * stdio-common/tst-sprintf.c: Include <locale.h>
34335 (main): Test sprintf's handling of incomplete multibyte
34336 characters.
34337
9bac1d86
L
343382012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34339
34340 * elf/dl-runtime.c (VERSYMIDX): Removed.
34341 * elf/dl-version.c (VERSYMIDX): Likewise.
34342 * elf/do-rel.h (VERSYMIDX): Likewise.
34343 (VALIDX): Likewise.
34344 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34345 * elf/rtld.c (VALIDX): Likewise.
34346 (ADDRIDX): Likewise.
9bac1d86
L
34347 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34348 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34349 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34350 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34351 (VALIDX): Likewise.
34352 (ADDRIDX): Likewise.
9bac1d86 34353
b31606c0
PT
343542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34355
34356 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34357
11541177
JL
343582012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34359
34360 [BZ #11438]
34361 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34362 to global scope.
34363 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34364 addresses are in the same scope as 192.0.2/24.
34365 * posix/gai.conf: Document new scope table defaults.
34366
adb26fae
SP
343672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34368
34369 [BZ #5298]
34370 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34371 for ftell. Compute offsets from write pointers instead.
34372 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34373
4573c6b0
SP
343742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34375
34376 [BZ #14543]
34377 * libio/Makefile (tests): New test case tst-fseek.
34378 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34379 combination works in wide mode.
34380 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34381 state when the external buffer state changes.
34382
aa9bbfe6
DM
343832012-09-27 David S. Miller <davem@davemloft.net>
34384
34385 [BZ #14376]
34386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34387 pass reloc->r_addend in as the 'high' argument to
34388 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34389
784421e7
DM
34390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34391
c39bc8b8
PT
343922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34393
34394 * rt/tst-aio2.c: Include <pthread.h>.
34395 * rt/tst-aio3.c: Likewise.
34396
1ccc2399
SE
343972012-09-27 Steve Ellcey <sellcey@mips.com>
34398
34399 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34400
31ed4153
L
344012012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34402
25f5f885
L
34403 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34404 contents on [SHARED].
31ed4153 34405
b7bfe116
MP
344062012-09-26 Marek Polacek <polacek@redhat.com>
34407
34408 [BZ #14530]
34409 [BZ #13741]
34410 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34411 for C++ and GCC <4.3 as well as for non GCC compilers.
34412
43c4edba
MT
344132012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34414
34415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34416
6a1bf82f
RM
344172012-09-25 Roland McGrath <roland@hack.frob.com>
34418
34419 * Makefile.in (all, install): Declare with .PHONY.
34420 Reported by Michael Hope <michael.hope@linaro.org>.
34421
8ad11b9a
TMQMF
344222012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34423
34424 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34425 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34426 system header.
34427 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34428 Likewise.
34429 (sydep_routines): Add the new and the internal functions.
34430 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34431 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34433 (GLIBC_2.17): Add the new function.
34434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34435 (GLIBC_2.17): Likewise.
34436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34437 (GLIBC_2.17): Likewise.
34438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34439 (GLIBC_2.17): Likewise.
34440 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34441
7e2fca8d
AM
344422012-09-25 Alan Modra <amodra@gmail.com>
34443
34444 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34445 Add release barrier before setting once_control to say
34446 initialisation is done. Add hints on lwarx. Use macro in
34447 place of isync.
34448 (clear_once_control): Add release barrier.
34449
b87c4b24
JM
344502012-09-25 Joseph Myers <joseph@codesourcery.com>
34451
d032e0d2
JM
34452 [BZ #13629]
34453 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34454 specially.
34455 * math/s_clog10.c (__clog10): Likewise.
34456 * math/s_clog10f.c (__clog10f): Likewise.
34457 * math/s_clog10l.c (__clog10l): Likewise.
34458 * math/s_clogf.c (__clogf): Likewise.
34459 * math/s_clogl.c (__clogl): Likewise.
34460 * math/Makefile (libm-calls): Add x2y2m1.
34461 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34462 (__x2y2m1): Likewise.
34463 (__x2y2m1l): Likewise.
34464 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34465 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34468 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34469 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34470 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34471 * sysdeps/i386/fpu/libm-test-ulps: Update.
34472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34473
b87c4b24
JM
34474 [BZ #14621]
34475 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34476 int as type of variable DEPTH.
34477 (glob): Use size_t instead of int as type of variables NEWCOUNT
34478 and OLD_PATHC.
34479
6d3bf199
LD
344802012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34481
22bf5c17
LD
34482 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34483 Add s_sincosf-sse2.
34484 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34485 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34486 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34487 macros for using routine as __sincosf_ia32.
34488 Use macro for function declaration and weak_alias.
34489 * sysdeps/i386/fpu/libm-test-ulps: Update.
34490
34491 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34493
34494 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34495 subnormal argument.
34496 * math/s_cexpf.c (__cexpf): Likewise.
34497 * math/s_csinf.c (__csinf): Likewise.
34498 * math/s_csinhf.c (__csinhf): Likewise.
34499 * math/s_ctanf.c (__ctanf): Likewise.
34500 * math/s_ctanhf.c (__ctanhf): Likewise.
34501 * math/s_ccosh.c (__ccoshf): Likewise.
34502 * math/s_cexp.c (__cexpl): Likewise.
34503 * math/s_csin.c (__csin): Likewise.
34504 * math/s_csinh.c (__csinh): Likewise.
34505 * math/s_ctan.c (__ctan): Likewise.
34506 * math/s_ctanh.c (ctanh): Likewise.
34507 * math/s_ccoshl.c (__ccoshl): Likewise.
34508 * math/s_cexpl.c (__cexpl): Likewise.
34509 * math/s_csinl.c (__csinl): Likewise.
34510 * math/s_csinhl.c (__csinhl): Likewise.
34511 * math/s_ctanl.c (__ctanl): Likewise.
34512 * math/s_ctanhl.c (__ctanhl): Likewise.
34513
203e5603
JM
345142012-09-25 Joseph Myers <joseph@codesourcery.com>
34515
34516 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34517 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34518 (_IO_off_t): Define to __off_t, not _G_off_t.
34519 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34520 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34521 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34522 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34523 type of __dummy and __dummy2 fields.
34524 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34525 (_G_ssize_t): Likewise.
34526 (_G_off_t): Likewise.
34527 (_G_pid_t): Likewise.
34528 (_G_uid_t): Likewise.
34529 (_G_wchar_t): Likewise.
34530 (_G_wint_t): Likewise.
34531 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34532 (_G_ssize_t): Likewise.
34533 (_G_off_t): Likewise.
34534 (_G_pid_t): Likewise.
34535 (_G_uid_t): Likewise.
34536 (_G_wchar_t): Likewise.
34537 (_G_wint_t): Likewise.
34538 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34539 (_G_ssize_t): Likewise.
34540 (_G_off_t): Likewise.
34541 (_G_pid_t): Likewise.
34542 (_G_uid_t): Likewise.
34543 (_G_wchar_t): Likewise.
34544 (_G_wint_t): Likewise.
34545
9fab36eb
SP
345462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34547
34548 * malloc/arena.c: Include malloc-sysdep.h.
34549 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34550 is sufficient to shrink the heap or an unmap is needed.
34551 * sysdeps/generic/malloc-sysdep.h: New file. Define
34552 new function check_may_shrink_heap.
34553 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34554 new function check_may_shrink_heap.
34555
2b4f00d1
SP
345562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34557
34558 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34559 comments.
34560
9a9028b1
DL
345612012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34562
57c69bef
DL
34563 * catgets/test-gencat.sh: Add "set -e".
34564 * elf/tst-pathopt.sh: Likewise.
34565 * grp/tst_fgetgrent.sh: Likewise.
34566 * iconvdata/run-iconv-test.sh: Likewise.
34567 * intl/tst-gettext.sh: Likewise.
34568 * intl/tst-gettext2.sh: Likewise.
34569 * intl/tst-gettext4.sh: Likewise.
34570 * intl/tst-gettext6.sh: Likewise.
34571 * intl/tst-translit.sh: Likewise.
34572 * io/ftwtest-sh: Likewise.
34573 * libio/test-freopen.sh: Likewise.
34574 * malloc/tst-mtrace.sh: Likewise.
34575 * posix/globtest.sh: Likewise.
34576 * posix/tst-getconf.sh: Likewise.
34577 * posix/wordexp-tst.sh: Likewise.
34578 * stdio-common/tst-printf.sh: Likewise.
34579 * stdio-common/tst-unbputc.sh: Likewise.
34580 * stdlib/tst-fmtmsg.sh: Likewise.
34581 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34582 * catgets/Makefile: Do not specify -e option when running
34583 testsuite shell scripts.
34584 * elf/Makefile: Likewise.
34585 * grp/Makefile: Likewise.
34586 * iconvdata/Makefile: Likewise.
34587 * intl/Makefile: Likewise.
34588 * io/Makefile: Likewise.
34589 * libio/Makefile: Likewise.
34590 * malloc/Makefile: Likewise.
34591 * posix/Makefile: Likewise.
34592 * stdio-common/Makefile: Likewise.
34593 * stdlib/Makefile: Likewise.
34594 * sysdeps/x86_64/Makefile: Likewise.
34595
9a9028b1
DL
34596 * io/ftwtest-sh: Add copyright header.
34597 * posix/globtest.sh: Likewise.
34598 * posix/tst-getconf.sh: Likewise.
34599 * posix/wordexp-tst.sh: Likewise.
34600 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34601
ced6f16e
L
346022012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34603
94b32c39
L
34604 [BZ #13679]
34605 * Makeconfig (+link): Defined as $(+link-static) if
34606 $(build-shared) isn't yes.
34607 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34608 isn't yes.
34609 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34610
189e935b
L
34611 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34612
ced6f16e
L
34613 [BZ #14562]
34614 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34615 new chunk size with MALLOC_ALIGN_MASK.
34616
a9f8e53a
JM
346172012-09-24 Joseph Myers <joseph@codesourcery.com>
34618
34619 [BZ #5044]
34620 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34621 <rounding-mode.h>.
34622 (__printf_fphex): Determine rounding using get_rounding_mode and
34623 round_away.
34624 * stdio-common/tst-printf-round.c (struct hex_test): New
34625 structure.
34626 (hex_tests): New variable.
34627 (test_hex_in_one_mode): New function.
34628 (do_test): Also run tests for hex float output.
34629
43153109
JM
346302012-09-21 Joseph Myers <joseph@codesourcery.com>
34631
34632 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34633 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34634 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34635 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34636 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34637 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34638 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34639 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34640
8a26625d
JM
346412012-09-20 Joseph Myers <joseph@codesourcery.com>
34642
34643 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34644 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34645 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34646 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34647
f3fd569c
DL
346482012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34649
34650 [BZ #14579]
34651 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34652 mode only.
34653 * elf/tst-rtld-load-self.sh: New test.
34654 * elf/Makefile: Run it.
34655
63bbedd4
JM
346562012-09-18 Joseph Myers <joseph@codesourcery.com>
34657
34658 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34659 (tst-writev-ENV): Remove.
34660 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34661
626f8b6a
CM
346622012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34663
34664 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34665
b7aaa4d6
JM
346662012-09-17 Joseph Myers <joseph@codesourcery.com>
34667
34668 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34669 unconditional.
34670 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34671 Likewise.
34672 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34673 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34674 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34675 Likewise.
34676
65513990
L
346772012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34678
34679 [BZ #14587]
34680 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34681 * config.make.in (have-cpp-asm-debuginfo): Removed.
34682 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34683 * configure: Regenerated.
34684
784761be
JM
346852012-09-14 Joseph Myers <joseph@codesourcery.com>
34686
34687 [BZ #5044]
34688 * stdio-common/printf_fp.c: Include <stdbool.h> and
34689 <rounding-mode.h>.
34690 (___printf_fp): Determine rounding using get_rounding_mode and
34691 round_away.
34692 * stdio-common/tst-printf-round.c: New file.
34693 * stdio-common/Makefile (tests): Add tst-printf-round.
34694 (link-libm): New variable.
34695 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34696
9503345f
L
346972012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34698
34699 [BZ #14576]
34700 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34701 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34702 Likewise.
34703 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34704 Likewise.
34705
ad35fc00
JM
347062012-09-13 Joseph Myers <joseph@codesourcery.com>
34707
34708 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34709 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34710 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34711 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34712
6c9b0f68
JM
347132012-09-12 Joseph Myers <joseph@codesourcery.com>
34714
34715 [BZ #14518]
34716 * include/rounding-mode.h: New file.
34717 * sysdeps/generic/get-rounding-mode.h: Likewise.
34718 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34719 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34720 (MAX_VALUE): New macro.
34721 (MIN_VALUE): Likewise.
34722 (overflow_value): New function.
34723 (underflow_value): Likewise.
34724 (round_and_return): Use overflow_value and underflow_value to
34725 determine return values in overflow and underflow cases. Use
34726 round_away to determine rounding depending on rounding mode.
34727 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34728 determine return values in overflow and underflow cases.
34729 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34730 (struct test_results): New structure.
34731 (struct test): Use struct test_results to store expected results
34732 for all rounding modes.
34733 (TEST): Include expected results for all rounding modes.
34734 (test_in_one_mode): New function.
34735 (do_test): Use test_in_one_mode to compute and check results.
34736 Check results for all rounding modes.
34737 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34738 $(link-libm).
34739
19fcedd5
AM
347402012-12-09 Allan McRae <allan@archlinux.org>
34741
1e9d84cd 34742 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34743
8bbfd2f1
JM
347442012-09-11 Joseph Myers <joseph@codesourcery.com>
34745
34746 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34747 (_G_int32_t): Likewise.
34748 (_G_uint16_t): Likewise.
34749 (_G_uint32_t): Likewise.
34750 (_G_HAVE_BOOL): Likewise.
34751 (_G_HAVE_ATEXIT): Likewise.
34752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34753 (_G_HAVE_IO_FILE_OPEN): Likewise.
34754 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34755 (_G_int32_t): Likewise.
34756 (_G_uint16_t): Likewise.
34757 (_G_uint32_t): Likewise.
34758 (_G_HAVE_BOOL): Likewise.
34759 (_G_HAVE_ATEXIT): Likewise.
34760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34761 (_G_HAVE_IO_FILE_OPEN): Likewise.
34762 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34763 (_G_int32_t): Likewise.
34764 (_G_uint16_t): Likewise.
34765 (_G_uint32_t): Likewise.
34766 (_G_HAVE_BOOL): Likewise.
34767 (_G_HAVE_ATEXIT): Likewise.
34768 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34769 (_G_HAVE_IO_FILE_OPEN): Likewise.
34770
b1dc5912
L
347712012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34772
34773 * csu/libc-tls.c: Update copyright years.
34774
0e886ef9
JM
347752012-09-10 Joseph Myers <joseph@codesourcery.com>
34776
28361c5e
JM
34777 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34778 [!_G_USING_THUNKS]: Remove conditional code.
34779 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34780 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34781
0e886ef9
JM
34782 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34783 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34784 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34785 (_G_VTABLE_LABEL_PREFIX): Likewise.
34786 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34787 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34788 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34789 (_G_VTABLE_LABEL_PREFIX): Likewise.
34790 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34791 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34792 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34793 (_G_VTABLE_LABEL_PREFIX): Likewise.
34794 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34795
bcba7aa2
L
347962012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34797
34798 * libio/Makefile: Include ../Makeconfig before tests.
34799 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34800 only if $(build-shared) is yes.
34801
06585ee8
L
34802 * iconv/gconv_db.c: Update copyright years.
34803
80ccd52c
LD
348042012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34805
34806 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34807 unwind info if defined PIC. Fix special cases description.
34808 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34809
34810 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34811 DP_HI_MASK entry.
34812 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34813
691bc9c1
L
348142012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34815
3d9b46b3
L
34816 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34817
de2139a9
L
34818 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34819 is NULL.
34820
5ca78dd0
L
34821 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34822 (LDLIBS-tst-chk4): This.
34823 (LDFLAGS-tst-chk5): Renamed to ...
34824 (LDLIBS-tst-chk5): This.
34825 (LDFLAGS-tst-chk6): Renamed to ...
34826 (LDLIBS-tst-chk6): This.
34827 (LDFLAGS-tst-lfschk4): Renamed to ...
34828 (LDLIBS-tst-lfschk4): This.
34829 (LDFLAGS-tst-lfschk5): Renamed to ...
34830 (LDLIBS-tst-lfschk5): This.
34831 (LDFLAGS-tst-lfschk6): Renamed to ...
34832 (LDLIBS-tst-lfschk6): This.
34833
691bc9c1
L
34834 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34835 on $(common-objpfx)soversions.mk.
34836
65cafb1c
JM
348372012-09-07 Joseph Myers <joseph@codesourcery.com>
34838
34839 [BZ #10014]
34840 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34841 example host name.
34842
c78ab094
SP
348432012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34844
34845 * malloc/arena.c (arena_get_retry): New function that gets
34846 another arena for the caller to try its request on.
34847 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34848 current arena cannot fulfill the request.
34849 (__libc_memalign): Likewise.
34850 (__libc_memalign): Likewise.
34851 (__libc_pvalloc): Likewise.
34852 (__libc_calloc): Likewise.
34853
01f49f59
JT
348542012-09-05 John Tobey <john.tobey@gmail.com>
34855
34856 [BZ #13542]
34857 * manual/arith.texi (Operations on Complex): Fix description
34858 of carg branch cut.
34859
4c23fed5
JM
348602012-09-06 Joseph Myers <joseph@codesourcery.com>
34861
1d3c8572
JM
34862 [BZ #10014]
34863 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34864 host name.
34865
4c23fed5
JM
34866 [BZ #10038]
34867 * manual/memory.texi (Memory): Make order of menu items match
34868 order of sections.
34869
04570aaa
L
348702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34873 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34874 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34875
b80af2f4
L
348762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34877
34878 * csu/libc-tls.c (static_dtv): Renamed to ...
34879 (_dl_static_dtv): This. Make it global.
34880 (_dl_initial_dtv): Removed.
34881 (__libc_setup_tls): Updated.
34882 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34883 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34884 DL_INITIAL_DTV.
34885
2abe9f15
PM
348862012-09-06 Petr Machata <pmachata@redhat.com>
34887
34888 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34889 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34890 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34891 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34892
0948c3af
L
348932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34894
34895 [BZ #14545]
34896 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34897 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34898 freeing dtv[-1].
34899
a5055ad1
L
349002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34901
34902 [BZ #14544]
34903 * Makeconfig (link-static-before-libc): Replace $(+prector)
34904 with $(+prectorT).
34905 (link-static-after-libc): Replace $(+postctor) with
34906 $(+postctorT).
34907 (link-bounded): Replace $(+prector)/$(+postctor) with
34908 $(+prectorT)/$(+postctorT).
34909 (+prectorT): New macro.
34910 (+postctorT): Likewise.
34911
ed8c2ecd
JM
349122012-09-06 Joseph Myers <joseph@codesourcery.com>
34913
34914 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34915 (round_str): Handle values above the maximum for IBM long double
34916 as inexact.
34917 * stdlib/tst-strtod-round.c (tests): Regenerated.
34918
14c996c8
AK
349192012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34920
34921 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34922 assembler flag.
34923 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34924 zarch_nohighgprs around the zarch optimized routines.
34925 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34926 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34928 for zarch.
34929
430d6ce6
DM
349302012-09-05 David S. Miller <davem@davemloft.net>
34931
34932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34933
57f41c40
AS
34934 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34935 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34936 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34937 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34938 entries.
34939
24d4e01b
AO
349402012-09-05 Alexandre Oliva <aoliva@redhat.com>
34941
34942 * malloc/arena.c: Fold copyright years.
34943 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34944
61d58174
AO
349452012-09-05 Alexandre Oliva <aoliva@redhat.com>
34946
34947 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34948
20196a5e
AO
349492012-09-05 Alexandre Oliva <aoliva@redhat.com>
34950
34951 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34952
5c447383
AO
349532012-09-05 Alexandre Oliva <aoliva@redhat.com>
34954
34955 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34956 change internal state upon failure.
34957
fad64255
AO
349582012-09-05 Alexandre Oliva <aoliva@redhat.com>
34959
34960 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34961 * malloc/memusage.c (mmap): Likewise.
34962 (mmap64, mremap): Likewise. Adjust name in comment.
34963
1ffb8c90
SP
349642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34965
34966 * libio/fileops.c: Fix typos in comments.
34967 * libio/oldfileops.c: Likewise.
34968 * libio/wfileops.c: Likewise.
34969
6ef9cc37
SP
349702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34971
34972 [BZ #1349]
34973 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34974 (tst-malloc-usable-ENV): Set environment for test case.
34975 * malloc/hooks.c (malloc_check_get_size): New function to get
34976 requested size.
34977 * malloc/malloc.c (musable): Use malloc_check_get_size.
34978 * malloc/tst-malloc-usable.c: New test case.
34979
4d038ae3
AS
349802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34981
34982 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34983
c4e85184
AM
349842012-09-05 Allan McRae <allan@archlinux.org>
34985
b9dafc56 34986 [BZ #13966]
c4e85184
AM
34987 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34988 determine header location.
34989 * configure: Regenerated.
34990
e1343020
AS
349912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34992
34993 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34994 float format.
34995 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34996 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34997 format.
e1343020
AS
34998 (test): Regenerate.
34999
0a9f1987
DM
350002012-09-04 David S. Miller <davem@davemloft.net>
35001
35002 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35003 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35004 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35005
29237804
FW
350062012-09-04 Florian Weimer <fweimer@redhat.com>
35007
35008 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35009 failures.
35010
edb3cb88
FW
35011 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35012
60160d83
JM
350132012-09-04 Joseph Myers <joseph@codesourcery.com>
35014
35015 [BZ #9914]
35016 * libio/iogetdelim.c: Include <limits.h>.
35017 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35018 + len + 1 would overflow.
35019
bcd6c8dc
AJ
350202012-09-03 Andreas Jaeger <aj@suse.de>
35021
35022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35023 * sysdeps/i386/fpu/libm-test-ulps: Update.
35024
4ffffbd2
LD
350252012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35026
35027 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35028 Add s_sinf-sse2, s_conf-sse2.
35029
35030 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35031 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35032 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35033 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35034
35035 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35036 for using routine as __sinf_ia32.
35037 Use macro for function declaration and weak_alias.
35038 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35039 for using routine as __cosf_ia32.
35040 Use macro for function declaration and weak_alias.
35041
35042 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35043 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35044
35045 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35046 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35048
35049 * math/libm-test.inc (cos_test): Add more test cases.
35050 (sin_test): Likewise.
35051 (sincos_test): Likewise.
35052
511fa286
AK
350532012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35054
35055 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35056 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35057 hidden.
35058 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35059
5f30cfec
L
350602012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35061
35062 [BZ #14538]
35063 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35064 first element of the GOT.
35065 (elf_machine_load_address): Return the difference between
35066 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35067
0786794f
AM
350682012-09-01 Allan McRae <allan@archlinux.org>
35069
5f30cfec
L
35070 [BZ #13412]
35071 * configure.in (AWK): Require gawk version 3.0 or later.
35072 * configure: Regenerated.
0786794f 35073
26889eac
JM
350742012-09-01 Joseph Myers <joseph@codesourcery.com>
35075
35076 * sysdeps/unix/sysv/linux/kernel-features.h
35077 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35078 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35079 [__NR_clock_getres]: Make code unconditional.
35080 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35081 (clock_getcpuclockid): Remove code left unreachable by removal of
35082 conditionals.
35083 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35084 code unconditional.
35085 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35086 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35087 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35088 Make code unconditional.
35089 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35090 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35091 * sysdeps/unix/sysv/linux/clock_settime.c
35092 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35093 conditional code.
35094 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35095 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35096
d22e28b0
L
350972012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 [BZ #14476]
35100 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35101 scripts/test-installation.pl.
35102
35103 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35104 and $ld_so_version if it is set.
35105
050af9c4
SP
351062012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35107
35108 [BZ #14516]
35109 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35110 failure if reading from procfs failed.
35111 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35112
ad845c0b
JM
351132012-08-27 Joseph Myers <joseph@codesourcery.com>
35114
35115 * sysdeps/unix/sysv/linux/kernel-features.h
35116 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35117 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35118 Remove conditional code.
35119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35120 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35121 Remove conditional code.
35122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35123 * sysdeps/unix/sysv/linux/i386/fxstat.c
35124 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35126 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35127 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35129 * sysdeps/unix/sysv/linux/i386/lxstat.c
35130 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35132 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35133 Remove conditional code.
35134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35135 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35136 Remove conditional code.
35137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35138 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35139 <kernel-features.h>.
35140 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35141 Remove.
35142 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35143 Remove conditional code.
35144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35145 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35146 Remove conditional.
35147
5dbf56af
MF
351482012-08-27 Mike Frysinger <vapier@gentoo.org>
35149
35150 [BZ #5400]
35151 * NEWS: Add fixed bug number.
35152
d6e70f43
JM
351532012-08-27 Joseph Myers <joseph@codesourcery.com>
35154
7efb4737
JM
35155 [BZ #14519]
35156 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35157 underflowing exponent in case of negative sign.
35158 * stdlib/tst-strtod-round-data: Add more tests.
35159 * stdlib/tst-strtod-round.c (tests): Regenerated.
35160
af92131a
JM
35161 [BZ #3479]
35162 * stdlib/strtod_l.c (NDIG): Remove.
35163 (HEXNDIG): Likewise.
35164 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35165 smallest representable value.
35166 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35167 lie within an exact representation of 1/2 ulp of the result.
35168 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35169 unconditionally.
35170 (TENS_P9_IDX): Define unconditionally.
35171 (TENS_P9_SIZE): Likewise.
35172 (TENS_P10_IDX): Likewise.
35173 (TENS_P10_SIZE): Likewise.
35174 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35175 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35176 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35177 entries for 10^2^13 and 10^2^14.
35178 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35179 (TENS_P13_IDX): Define.
35180 (TENS_P13_SIZE): Likewise.
35181 (TENS_P14_IDX): Likewise.
35182 (TENS_P14_SIZE): Likewise.
35183 (_fpioconst_pow10): Change array size to
35184 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35185 unconditional.
35186 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35187 1024]: Add entries for 10^2^13 and 10^2^14.
35188 [LAST_POW10 > _LAST_POW10]: Remove #error.
35189 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35190 (_fpioconst_pow10): Change array size to
35191 FPIOCONST_POW10_ARRAY_SIZE.
35192 * stdlib/gen-fpioconst.c: New file.
35193 * stdlib/gen-tst-strtod-round.c: Likewise.
35194 * stdlib/tst-strtod-round-data: Likewise.
35195 * stdlib/tst-strtod-round.c: Likewise.
35196 * stdlib/Makefile (tests): Add tst-strtod-round.
35197
d6e70f43
JM
35198 [BZ #14459]
35199 * stdlib/strtod_l.c: Include <stdint.h>.
35200 (NDEBUG): Do not define.
35201 (round_and_return): Change EXPONENT parameter to type intmax_t.
35202 Rearrange calculations to avoid internal overflow possibilities.
35203 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35204 Rearrange calculations to avoid internal overflow possibilities.
35205 Assert that number fits inside MPNSIZE limbs.
35206 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35207 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35208 calculations and add assertions to avoid internal overflow
35209 possibilities. Add casts to avoid signed/unsigned operations.
35210 * stdlib/tst-strtod-overflow.c: New file.
35211 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35212
1f529f7d
MP
352132012-08-25 Marek Polacek <polacek@redhat.com>
35214
35215 * time/time.h: Fix some typos in comments.
35216
59a629f1
RM
352172012-08-23 Roland McGrath <roland@hack.frob.com>
35218
35219 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35220 * posix/tst-rfc3484-2.c: Likewise.
35221 * posix/tst-rfc3484-3.c: Likewise.
35222
d3bafbc9
SM
352232012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35224
35225 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35226 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35227
4efcc022
JM
352282012-08-23 Joseph Myers <joseph@codesourcery.com>
35229
35230 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35231 #include of fxstatat64.c.
35232
3cc3ef96
RM
352332012-08-22 Roland McGrath <roland@hack.frob.com>
35234
f04e2132
RM
35235 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35236 * shadow/getspent_r.c: Likewise.
35237 * shadow/getspnam.c: Likewise.
35238 * shadow/getspnam_r.c: Likewise.
35239 * gshadow/getsgent.c: Likewise.
35240 * gshadow/getsgent_r.c: Likewise.
35241 * gshadow/getsgnam.c: Likewise.
35242 * gshadow/getsgnam_r.c: Likewise.
35243 * inet/getnetbyad.c: Likewise.
35244 * inet/getnetbyad_r.c: Likewise.
35245 * inet/getnetbynm.c: Likewise.
35246 * inet/getnetbynm_r.c: Likewise.
35247 * inet/getnetent.c: Likewise.
35248 * inet/getnetent_r.c: Likewise.
35249 * inet/getproto.c: Likewise.
35250 * inet/getproto_r.c: Likewise.
35251 * inet/getprtent.c: Likewise.
35252 * inet/getprtent_r.c: Likewise.
35253 * inet/getprtname.c: Likewise.
35254 * inet/getprtname_r.c: Likewise.
35255 * inet/getrpcbyname.c: Likewise.
35256 * inet/getrpcbyname_r.c: Likewise.
35257 * inet/getrpcbynumber.c: Likewise.
35258 * inet/getrpcbynumber_r.c: Likewise.
35259 * inet/getrpcent.c: Likewise.
35260 * inet/getrpcent_r.c: Likewise.
35261 * inet/getaliasent.c: Likewise.
35262 * inet/getaliasent_r.c: Likewise.
35263 * inet/getaliasname.c: Likewise.
35264 * inet/getaliasname_r.c: Likewise.
35265 * nscd/getgrgid_r.c: Likewise.
35266 * nscd/getgrnam_r.c: Likewise.
35267 * nscd/gethstbyad_r.c: Likewise.
35268 * nscd/gethstbynm3_r.c: Likewise.
35269 * nscd/getpwnam_r.c: Likewise.
35270 * nscd/getpwuid_r.c: Likewise.
35271 * nscd/getsrvbynm_r.c: Likewise.
35272 * nscd/getsrvbypt_r.c: Likewise.
35273 * nscd/gai.c: Likewise.
35274
c53d909c
RM
35275 * configure.in (build_nscd): New substituted variable, set
35276 by --disable-build-nscd and defaults to $use_nscd.
35277 * configure: Regenerated.
35278 * config.make.in (build-nscd): New substituted variable.
35279 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35280 Change conditional to require [$(build-nscd) = yes] as well.
35281 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35282
3cc3ef96
RM
35283 [BZ# 13696]
35284 * configure.in (use_nscd): New substituted variable, set by
35285 --disable-nscd. If enabled, define USE_NSCD.
35286 * configure: Regenerated.
35287 * config.h.in: Add USE_NSCD.
35288 * config.make.in (use-nscd): New substituted variable.
35289 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35290 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35291 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35292 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35293 (CFLAGS-getgrnam_r.c): Likewise.
35294 (CFLAGS-initgroups.c): Likewise.
35295 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35296 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35297 Variables removed.
35298 * inet/getnetgrent_r.c
35299 (nscd_setnetgrent): New function, broken out of ...
35300 (setnetgrent): ... here. Call it.
35301 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35302 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35303 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35304 * nscd/Makefile (routines, aux): Move definitions after include of
35305 Makeconfig. Conditionalize on [$(use-nscd) != no].
35306 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35307 Conditionalize on [USE_NSCD].
35308 (is_nscd, nscd_init_cb): Likewise.
35309 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35310 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35311 * nss/nss_db/db-init.c: Likewise.
35312 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35313 [USE_NSCD].
35314 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35315 (make_request): Use it.
35316 (cache_valid_p): New function.
35317 (__check_pf): Use it.
35318 * NEWS: Add item for --disable-nscd.
35319
07e51550
DL
353202012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35321
35322 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35323 to support sed >= 4.2.1-20-ga9bf076.
35324 * configure: Regenerated.
35325
35a5b08b
RM
353262012-08-22 Roland McGrath <roland@hack.frob.com>
35327
35328 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35329 Conditionalize whole body on [IREL].
35330
8479f23a
JL
353312012-08-22 Jeff Law <law@redhat.com>
35332
35333 [BZ #14505]
35334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35335 if the family is PF_UNSPEC.
35336
48da0b21
MF
353372012-08-22 Mike Frysinger <vapier@gentoo.org>
35338
35339 * Makerules (lib-version): Rename from V.
35340 (install-lib-nosubdir): Change V to lib-version.
35341
15d0da8c
WS
353422012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35343
35344 [BZ #14252]
35345 * powerpc32/power6/wcschr.c: New file.
35346 * powerpc32/power6/wcscpy.c: New file.
35347 * powerpc32/power6/wcsrchr.c: New file.
35348 * powerpc64/power6/wcschr.c: New file.
35349 * powerpc64/power6/wcscpy.c: New file.
35350 * powerpc64/power6/wcsrchr.c: New file.
35351
bcca0895
MK
353522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35353
35354 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35355 (two_way_short_needle): Use it.
5a4aaa33
RM
35356 * string/strstr.c (AVAILABLE1_USES_J): Define.
35357 * string/strcasestr.c: Likewise.
99677e57
MK
35358
35359 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35360 array references.
35361 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35362
400726de
MK
35363 [BZ #11607]
35364 * NEWS: Add an entry.
35365 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35366 define their defaults.
35367 (two_way_short_needle): Detect end-of-string on-the-fly.
35368 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35369 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35370 * string/bug-strcasestr1.c: New test.
35371 * string/Makefile: Run it.
35372
20a71f2c
MK
353732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35374
35375 [BZ #11607]
35376 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35377 the first character.
35378
21ad0558
RM
353792012-08-21 Roland McGrath <roland@hack.frob.com>
35380
35381 * csu/elf-init.c (__libc_csu_irel): Function removed.
35382 * csu/libc-start.c (apply_irel): New function.
35383 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35384
0e1d9911
JM
353852012-08-21 Joseph Myers <joseph@codesourcery.com>
35386
35387 * sysdeps/unix/sysv/linux/kernel-features.h
35388 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35389 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35390 <kernel-features.h>.
35391 [__NR_fadvise64_64]: Make code unconditional.
35392 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35393 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35394 !__NR_fadvise64_64)]: Likewise.
35395 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35396 !__NR_fadvise64_64))]: Likewise.
35397 [__NR_fadvise64]: Make code unconditional.
35398 [!__NR_fadvise64]: Remove conditional code.
35399 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35400 <kernel-features.h>.
35401 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35402 unconditional.
35403 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35404 conditional code.
35405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35406 not include <kernel-features.h>.
35407 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35408 unconditional.
35409 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35410 conditional code.
35411 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35412 include <kernel-features.h>.
35413 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35414 unconditional.
35415 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35416 conditional code.
35417
14a50c9d
WS
354182012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35419
35420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35421 slight instruction rearrangements per scrollpipe analysis.
35422 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35423
c0f4faf0
RM
354242012-08-20 Roland McGrath <roland@hack.frob.com>
35425
696da859
RM
35426 * manual/syslog.texi (syslog; vsyslog, closelog):
35427 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35428 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35429
c0f4faf0
RM
35430 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35431 DSOCAPS to match condition on defining it.
35432
348363b2
JM
354332012-08-20 Joseph Myers <joseph@codesourcery.com>
35434
a35cbf28
JM
35435 * sysdeps/unix/sysv/linux/kernel-features.h
35436 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35438 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35439 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35441 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35442 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35444 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35445 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35446
445f7ecd
JM
35447 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35448 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35449
348363b2
JM
35450 * sysdeps/unix/sysv/linux/kernel-features.h
35451 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35452 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35453 unconditional.
35454 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35455 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35456 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35457 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35458 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35459 Make code unconditional.
35460 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35461 (__mmap64) [!__NR_mmap2]: Likewise.
35462 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35463 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35464 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35465 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35466 [__NR_mmap2]: Make code unconditional.
35467 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35468 (__mmap64) [!__NR_mmap2]: Likewise.
35469
bc5bc0e5
AK
354702012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35471
35472 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35473
88d506de
AJ
354742012-08-18 Andreas Jaeger <aj@suse.de>
35475
35476 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35477
493387d2
MF
354782012-08-18 Mike Frysinger <vapier@gentoo.org>
35479
35480 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35481 * include/unistd.h (__have_sock_cloexec): Likewise.
35482 (__have_pipe2): Likewise.
35483 (__have_dup3): Likewise.
35484
a277af22
MF
354852012-08-18 Mike Frysinger <vapier@gentoo.org>
35486
35487 [BZ #9685]
35488 * include/unistd.h (__have_pipe2): Change define into an extern int.
35489 (__have_dup3): Likewise.
35490 * socket/have_sock_cloexec.c: Include fcntl.h.
35491 (__have_pipe2): New variable.
35492 (__have_dup3): Likewise.
35493
fdab8fd3
MF
354942012-08-17 Mike Frysinger <vapier@gentoo.org>
35495
35496 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35497
31035e80
MP
354982012-08-17 Marek Polacek <polacek@redhat.com>
35499
35500 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35501 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35502
3bd9e993
RM
355032012-08-17 Roland McGrath <roland@hack.frob.com>
35504
c91c505f
RM
35505 * configure.in: Add AC_SUBST for sysheaders.
35506 * configure: Regenerated.
35507 * config.make.in (sysheaders): New substituted variable.
35508
7c6f9d53
RM
35509 * sysdeps/unix/mkfifo.c: Moved ...
35510 * sysdeps/posix/mkfifo.c: ... here.
35511 * sysdeps/unix/mkfifoat.c: Moved ...
35512 * sysdeps/posix/mkfifoat.c: ... here.
35513
35514 * sysdeps/unix/utime.c: Moved ...
35515 * sysdeps/posix/utime.c: ... here.
35516
35517 * sysdeps/unix/time.c: Moved ...
35518 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35519 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35520 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35521
35522 * sysdeps/unix/nice.c: Moved ...
35523 * sysdeps/posix/nice.c: ... here.
35524
35525 * sysdeps/unix/alarm.c: Moved ...
35526 * sysdeps/posix/alarm.c: ... here.
35527
3bd9e993
RM
35528 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35529
d1f09384
JL
355302012-08-17 Jeff Law <law@redhat.com>
35531
35532 * intl/Makefile (codeset_mo): New variable.
35533 ($(codeset_mo)): New target.
35534 (tst-codeset.out): Depend on that. Remove explicit rule.
35535 (tst-gettext3.out, tst-gettext5.out): Likewise.
35536 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35537 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35538 * intl/tst-codeset.sh: Remove.
35539 * intl/tst-gettext3.sh: Likewise.
35540 * intl/tst-gettext5.sh: Likewise.
35541
2ae1ae5c
RM
355422012-08-17 Roland McGrath <roland@hack.frob.com>
35543
c31fdb83
RM
35544 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35545 * sysdeps/unix/syscalls.list: ... here.
35546
a0844057
RM
35547 * sysdeps/posix/getaddrinfo.c
35548 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35549 (gaiconf_init, gaiconf_reload): Use them.
35550 [!_STATBUF_ST_NSEC]
35551 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35552 Define using time_t rather than struct timespec.
35553
750c1f2a
RM
35554 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35555 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35556 Macros removed.
35557 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35558 [!NO_THREADS].
35559 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35560 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35561 Likewise.
35562
2ae1ae5c
RM
35563 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35564 __libc_cleanup_push argument.
35565
e66a42f5
RM
35566 * bits/param.h: New file.
35567 * misc/sys/param.h: New file.
35568 * include/sys/param.h: New file.
35569 * misc/Makefile (headers): Add bits/param.h.
35570 * sysdeps/generic/sys/param.h: File removed.
35571 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35572 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35573 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35574 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35575
b7c08a66
RM
35576 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35577 last change.
35578
b2e1c562
RM
35579 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35580 [_IO_MTSAFE_IO].
35581 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35582 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35583 New macros.
35584
c75ccd4c
RM
35585 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35586 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35587 rather than -D_IO_MTSAFE_IO conditionally.
35588 * stdio-common/Makefile (CPPFLAGS): Likewise.
35589 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35590 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35591 Use $(libio-mtsafe).
35592 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35593 of -D_IO_MTSAFE_IO.
35594 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35595 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35596 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35597 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35598 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35599 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35600 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35601 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35602 (CFLAGS-fread_u_chk.c): Likewise.
35603 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35604 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35605 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35606 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35607 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35608 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35609 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35610 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35611 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35612
35613 * libio/Makefile: Test [$(libc-reentrant) = yes]
35614 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35615
35616 * Makeconfig
35617 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35618 * sysdeps/pthread/configure: File removed.
35619 * sysdeps/pthread/Makeconfig: New file.
35620 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35621 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35622
d9195db8
GB
356232012-08-16 Gary Benson <gbenson@redhat.com>
35624
35625 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35626 unmapping the first object in a namespace.
35627
86466cd9
RM
356282012-08-16 Roland McGrath <roland@hack.frob.com>
35629
35630 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35631 (__internal_setnetgrent): ... this. Add internal_function to
35632 definition. Add libc_hidden_def.
35633 (setnetgrent): Update caller.
35634 (internal_endnetgrent): Renamed to ...
35635 (__internal_endnetgrent): ... this. Add internal_function to
35636 definition. Add libc_hidden_def.
35637 (endnetgrent): Update caller.
35638 (internal_getnetgrent_r): Renamed to ...
35639 (__internal_getnetgrent_r): ... this. Add internal_function to
35640 definition. Add libc_hidden_def.
35641 (__getnetgrent_r): Update caller.
35642 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35643
c3c8283c
JM
356442012-08-16 Joseph Myers <joseph@codesourcery.com>
35645
35646 * stdlib/longlong.h: Update from GCC.
35647
db1ee0a8
RM
356482012-08-16 Roland McGrath <roland@hack.frob.com>
35649
35650 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35651 on _QL, which is set by umul_ppmm but never used.
35652 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35653 variables, which are set by GMP macros but never used.
35654 * stdio-common/_itowa.c (_itowa): Likewise.
35655 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35656 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35657
30f69637
CD
356582012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35659
35660 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35661 struct La_sh_regs is not constant.
35662 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35663 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35664 and struct La_sparc64_regs are not constant.
35665
93a78ac4
JM
356662012-08-16 Joseph Myers <joseph@codesourcery.com>
35667
35668 * sysdeps/unix/sysv/linux/kernel-features.h
35669 (__ASSUME_POSIX_TIMERS): Remove.
35670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35671 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35672 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35673 Make code unconditional.
35674 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35675 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35676 Make code unconditional.
35677 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35678 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35679 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35681 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35682 Make code unconditional.
35683 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35684 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35685 (__libc_missing_posix_timers): Remove.
35686
dd924cd7
RM
356872012-08-15 Roland McGrath <roland@hack.frob.com>
35688
4b4f2771
RM
35689 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35690 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35691
601c888b
RM
35692 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35693
176790a7
RM
35694 * elf/dl-sym.c: Include <stdlib.h>.
35695
329bc018
RM
35696 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35697 constants, which avoids warnings in 32-bit builds.
35698
e04e272d
RM
35699 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35700 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35701
952bf94a
RM
35702 * misc/lseek.c: File moved to ...
35703 * io/lseek.c: ... here.
35704
7c99b50a
RM
35705 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35706
dd924cd7
RM
35707 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35708 shifting LEN more than 31 bits at once.
35709
b3f479a8
LD
357102012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35711
35712 [BZ #14195]
8c4ae0d4
RM
35713 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35714 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35715 * string/test-strncasecmp.c (check1): Renamed to...
35716 (bz12205): ...this.
35717 (bz14195): Add new testcase for two empty input strings and N > 0.
35718 (test_main): Call new testcase, adapt for renamed function.
35719
9c55864e
AJ
357202012-08-15 Andreas Jaeger <aj@suse.de>
35721
35722 [BZ #14090]
35723 * crypt/md5test2.c: New test, based on test supplied by Serge
35724 Belyshev <belyshev@depni.sinp.msu.ru>.
35725 * crypt/Makefile (xtests): Add md5test-giant..
35726 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35727
02dcb6c5
PE
357282012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35729
35730 [BZ #14090]
35731 * crypt/md5.c (md5_process_block): Don't assume the buffer
35732 length is less than 2**32.
35733 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35734 length is less than 2**64.
35735
a3f95dcc
RM
357362012-08-15 Roland McGrath <roland@hack.frob.com>
35737
be75d758
RM
35738 * string/str-two-way.h: Include <sys/param.h>.
35739 (MAX): Macro removed.
35740
7312ca90
RM
35741 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35742 Move #define and #undef of memmove to just before and after
35743 including <string.h>.
35744
9a0a5486
RM
35745 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35746 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35747 and after including <string.h>. Move declarations of
35748 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35749 to before #include "string/memmove.c".
35750
67cc348d
RM
35751 * include/dirent.h: Declare __getdirentries.
35752
a3f95dcc
RM
35753 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35754 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35755
ca98e171
MF
357562012-08-14 Mike Frysinger <vapier@gentoo.org>
35757
35758 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35759 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35760 * sysdeps/i386/configure: Regenerated.
35761 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35762 STABS_CURRENT_FILE, and STABS_FUN.
35763 (END): Remove call to STABS_FUN_END.
35764 (STABS_CURRENT_FILE1): Delete.
35765 (STABS_CURRENT_FILE): Likewise.
35766 (STABS_FUN): Likewise.
35767 (STABS_FUN_END): Likewise.
35768 (STABS_FUN2): Likewise.
35769 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35770 * sysdeps/x86_64/configure: Regenerated.
35771
5908bf46
RM
357722012-08-14 Roland McGrath <roland@hack.frob.com>
35773
35774 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35775 * elf/dl-lookup.c: Likewise.
5908bf46 35776
f2c05b9e
JM
357772012-08-14 Joseph Myers <joseph@codesourcery.com>
35778
35779 * sysdeps/unix/sysv/linux/kernel-features.h
35780 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35781 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35782 unconditionally.
35783 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35784 unconditionally.
35785 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35786 condition on __ASSUME_CLONE_THREAD_FLAGS.
35787
e11f5155
AJ
357882012-08-14 Andreas Jaeger <aj@suse.de>
35789
35790 * sysdeps/i386/fpu/libm-test-ulps: Update.
35791
51a9ba86
MK
357922012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35793
2fdd4f78
AJ
35794 * include/atomic.h (atomic_exchange_and_add): Split into ...
35795 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35796 New atomic macros.
51a9ba86 35797
ba6cba9e
MT
357982012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35799
35800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35801
42443a47
JL
358022012-08-13 Jeff Law <law@redhat.com>
35803
35804 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35805 null byte in the output string.
35806
121dce05
JM
358072012-08-10 Joseph Myers <joseph@codesourcery.com>
35808
35809 * sysdeps/unix/sysv/linux/kernel-features.h
35810 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35811 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35812 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35813 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35814 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35815 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35816 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35817
bf51f568
JL
358182012-08-09 Jeff Law <law@redhat.com>
35819
35820 [BZ #13939]
35821 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35822 When avoid_arena is set, don't retry in the that arena. Pick the
35823 next one, whatever it might be.
35824 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35825 (arena_lock): Pass in new parameter to arena_get2.
35826 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35827 arena_get2.
35828 (__libc_malloc): Unify retrying after main arena failure with
35829 __libc_memalign version.
35830 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35831
f85fa270
L
358322012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35833
35834 [BZ #14166]
35835 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35836 to __redirect_strstr.
35837 (__strstr_sse42): Use typeof __redirect_strstr.
35838 (__strstr_ia32): Likewise.
35839 (__libc_strstr): New prototype.
35840 (strstr): Renamed to ...
35841 (__libc_strstr): This.
35842 (strstr): New strong alias of __libc_strstr.
35843 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35844 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35845 __redirect_time.
35846 Include <time.h>.
35847 (__libc_time): New prototype.
35848 (time_ifunc): Replace time with __libc_time.
35849 (time): New strong alias and hidden definition of __libc_time.
35850 (__GI_time): Remove strong alias.
35851 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35852 Include <stddef.h>.
35853 (memmove): Redefined to __redirect_memmove.
35854 (__memmove_sse2): Use typeof __redirect_memmove.
35855 (__memmove_ssse3): Likewise.
35856 (__memmove_ssse3_back): Likewise.
35857 (__libc_memmove): New prototype.
35858 (memmove): Renamed to ...
35859 (__libc_memmove): This.
35860 (memmove): New strong alias of __libc_memmove.
35861
33b4a91e
MS
358622012-08-08 Mark Salter <msalter@redhat.com>
35863
35864 * elf/elf.h
35865 (R_MN10300_TLS_GD): Define.
35866 (R_MN10300_TLS_LD): Likewise.
35867 (R_MN10300_TLS_LDO): Likewise.
35868 (R_MN10300_TLS_GOTIE): Likewise.
35869 (R_MN10300_TLS_IE): Likewise.
35870 (R_MN10300_TLS_LE): Likewise.
35871 (R_MN10300_TLS_DTPMOD): Likewise.
35872 (R_MN10300_TLS_DTPOFF): Likewise.
35873 (R_MN10300_TLS_TPOFF): Likewise.
35874 (R_MN10300_SYM_DIFF): Likewise.
35875 (R_MN10300_ALIGN): Likewise.
35876 (R_MN10300_NUM): Update.
35877
b36137f1
JM
358782012-08-08 Joseph Myers <joseph@codesourcery.com>
35879
35880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35881 Remove.
35882
cdd915fd
RM
358832012-08-08 Roland McGrath <roland@hack.frob.com>
35884
a2433aac
RM
35885 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35886
cdd915fd
RM
35887 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35888 sysdeps/unix -> sysdeps/posix move.
35889 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35890
bf9b740a
AM
358912012-08-07 Allan McRae <allan@archlinux.org>
35892
35893 [BZ #14303]
35894 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35895 (SUNOS_CPP): Likewise.
35896 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35897 not found.
35898 (open_input): Call CPP using execvp.
35899
93df14ee
JM
359002012-08-07 Joseph Myers <joseph@codesourcery.com>
35901
35902 * sysdeps/unix/sysv/linux/kernel-features.h
35903 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35904 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35905 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35906 (__ASSUME_WAITID_SYSCALL): Likewise.
35907 * sysdeps/unix/sysv/linux/dl-execstack.c
35908 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35909 code unconditional.
35910 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35911 conditional code.
35912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35913 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35914 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35915 code.
35916 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35917 unconditional.
35918 [__ASSUME_WAITID_SYSCALL]: Likewise.
35919 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35920
d34689de
RM
359212012-08-07 Roland McGrath <roland@hack.frob.com>
35922
a281decc
RM
35923 * sysdeps/unix/closedir.c: Renamed to ...
35924 * sysdeps/posix/closedir.c: ... here.
35925 * sysdeps/unix/dirfd.c: Renamed to ...
35926 * sysdeps/posix/dirfd.c: ... here.
35927 * sysdeps/unix/dirstream.h: Renamed to ...
35928 * sysdeps/posix/dirstream.h: ... here.
35929 * sysdeps/unix/fdopendir.c: Renamed to ...
35930 * sysdeps/posix/fdopendir.c: ... here.
35931 * sysdeps/unix/opendir.c: Renamed to ...
35932 * sysdeps/posix/opendir.c: ... here.
35933 * sysdeps/unix/readdir.c: Renamed to ...
35934 * sysdeps/posix/readdir.c: ... here.
35935 * sysdeps/unix/readdir_r.c: Renamed to ...
35936 * sysdeps/posix/readdir_r.c: ... here.
35937 * sysdeps/unix/rewinddir.c: Renamed to ...
35938 * sysdeps/posix/rewinddir.c: ... here.
35939 * sysdeps/unix/seekdir.c: Renamed to ...
35940 * sysdeps/posix/seekdir.c: ... here.
35941 * sysdeps/unix/telldir.c: Renamed to ...
35942 * sysdeps/posix/telldir.c: ... here.
35943 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35944 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35945 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35946 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35947
22895b47
RM
35948 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35949 * bits/fcntl.h: ... here.
35950
707a53b6
RM
35951 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35952 not 0.
35953 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35954 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35955 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35956 (struct flock): Move l_start, l_len to the beginning.
35957 Use __pid_t for l_pid.
35958 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35959 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35960 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35961 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35962 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35963 [__USE_LARGEFILE64] (struct flock64): New type.
35964 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35965
f0bd3e25
RM
35966 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35967 * bits/dirent.h: ... here.
35968
d34689de
RM
35969 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35970 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35971
6dad2c06
JM
359722012-08-07 Joseph Myers <joseph@codesourcery.com>
35973
35974 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35975 Change from 2.6.0 to 2.6.16.
35976 * sysdeps/unix/sysv/linux/configure: Regenerated.
35977 * sysdeps/unix/sysv/linux/kernel-features.h
35978 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35979 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35980 version.
35981 (__ASSUME_UTIMES): Likewise.
35982 (__ASSUME_CLONE_STOPPED): Remove.
35983 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35984 architectures, not kernel version.
35985 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35986 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35987 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35988 (__ASSUME_WAITID_SYSCALL): Likewise.
35989 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35990 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35991 * README: State 2.6.16 as minimum Linux kernel version. Do not
35992 refer to older versions.
35993
03af9520
RM
359942012-08-06 Roland McGrath <roland@hack.frob.com>
35995
8e49df1d
RM
35996 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35997 Define alphasort64 as an alias.
35998 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35999 Define versionsort64 as an alias.
36000 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36001 Define scandir64 as an alias.
36002 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36003 Define scandirat64 as an alias.
36004 * dirent/alphasort64.c (alphasort64):
36005 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36006 * dirent/versionsort64.c: Likewise.
36007 * dirent/scandir64.c: Likewise.
36008 * dirent/scandirat64.c: Likewise.
36009 * sysdeps/wordsize-64/alphasort.c: File removed.
36010 * sysdeps/wordsize-64/alphasort64.c: File removed.
36011 * sysdeps/wordsize-64/scandir.c: File removed.
36012 * sysdeps/wordsize-64/scandir64.c: File removed.
36013 * sysdeps/wordsize-64/scandirat.c: File removed.
36014 * sysdeps/wordsize-64/scandirat64.c: File removed.
36015 * sysdeps/wordsize-64/versionsort.c: File removed.
36016 * sysdeps/wordsize-64/versionsort64.c: File removed.
36017 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36018 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36019 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36020 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36021 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36022 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36023 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36024 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36025
36026 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36027 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36028 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36029 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36030 [defined __arch64__ || defined __sparcv9]
36031 (__INO_T_MATCHES_INO64_T): New macro.
36032 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36033 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36034 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36035 * sysdeps/unix/sysv/linux/bits/dirent.h
36036 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36037 (_DIRENT_MATCHES_DIRENT64): New macro.
36038
03af9520
RM
36039 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36040 Define lockf64 as an alias.
36041 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36042 Define fseeko64 as an alias.
36043 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36044 Define ftello64 as an alias.
36045 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36046 Define _IO_fgetpos64 and fgetpos64 as aliases.
36047 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36048 Define _IO_fsetpos64 and fsetpos64 as aliases.
36049 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36050 Conditionalize body on this.
36051 * libio/fseeko64.c: Likewise.
36052 * libio/ftello64.c: Likewise.
36053 * libio/iofgetpos64.c: Likewise.
36054 * libio/iofsetpos64.c: Likewise.
36055 * sysdeps/wordsize-64/lockf.c: File removed.
36056 * sysdeps/wordsize-64/lockf64.c: File removed.
36057 * sysdeps/wordsize-64/fseeko.c: File removed.
36058 * sysdeps/wordsize-64/fseeko64.c: File removed.
36059 * sysdeps/wordsize-64/ftello.c: File removed.
36060 * sysdeps/wordsize-64/ftello64.c: File removed.
36061 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36062 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36063 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36064 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36067 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36068 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36069 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36070 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36071 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36072 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36073 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36074 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36075
36076 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36077 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36078 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36080 [defined __arch64__ || defined __sparcv9]
36081 (__OFF_T_MATCHES_OFF64_T): New macro.
36082 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36083 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36085 (__OFF_T_MATCHES_OFF64_T): New macro.
36086
c5757acd
L
360872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36088
36089 * stdlib/secure-getenv.c (__secure_getenv): Replace
36090 GLIBC_2_16 with GLIBC_2_17.
36091
3a31811e
L
360922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36093
36094 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36096
faa2bccb
DM
360972012-08-03 David S. Miller <davem@davemloft.net>
36098
36099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36100
85fe1997
JM
361012012-08-03 Joseph Myers <joseph@codesourcery.com>
36102
36103 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36104 Remove.
36105 (__ASSUME_CORRECT_SI_PID): Likewise.
36106 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36107 (__ASSUME_TMPFS_NAME): Likewise.
36108 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36109 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36110 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36111 (HAVE_AUX_SECURE): Make definition unconditional.
36112 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36113 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36114
4f75b7a0
RM
361152012-08-03 Roland McGrath <roland@hack.frob.com>
36116
36117 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36118 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36119 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36120 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36121 __eloop_threshold instead of SYMLOOP_MAX.
36122
36123 * sysdeps/generic/eloop-threshold.h: New file.
36124 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36125 of MAXSYMLINKS.
36126 * elf/chroot_canon.c (chroot_canon): Likewise.
36127
7aab07e4
JM
361282012-08-03 Joseph Myers <joseph@codesourcery.com>
36129
36130 [BZ #13717]
36131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36132 Change to 2.6.0 everywhere.
36133 * sysdeps/unix/sysv/linux/configure: Regenerated.
36134 * sysdeps/unix/sysv/linux/kernel-features.h
36135 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36136 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36137 kernel versions.
36138 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36139 (__ASSUME_FUTEX_REQUEUE): Remove.
36140 (__ASSUME_STATFS64): Define unconditionally.
36141 (__ASSUME_AT_SECURE): Likewise.
36142 (__ASSUME_CORRECT_SI_PID): Likewise.
36143 (__ASSUME_TGKILL): Define without depending on kernel version for
36144 i386.
36145 (__ASSUME_UTIMES): Likewise.
36146 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36147 kernel version.
36148 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36149 (__ASSUME_TMPFS_NAME): Likewise.
36150 * README: Update reference to Linux kernel versions.
36151
b67e9372
MP
361522012-08-02 Marek Polacek <polacek@redhat.com>
36153
1f529f7d 36154 [BZ# 14150]
b67e9372
MP
36155 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36156 libc_cv_asm_type_prefix with %.
36157 * configure: Regenerated.
d2441631
RM
36158 * include/libc-symbols.h: Remove comment about
36159 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36160 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36161 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36162 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36163 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36164 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36165 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36166 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36167 * elf/tst-unique2mod1.c: Likewise.
36168 * elf/tst-unique1mod2.c: Likewise.
36169 * elf/tst-unique1mod1.c: Likewise.
36170 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36171 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36172 Replace ASM_TYPE_DIRECTIVE with .type.
36173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36174 * sysdeps/i386/sysdep.h: Likewise.
36175 * sysdeps/x86_64/sysdep.h: Likewise.
36176 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36178 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36179 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36180 * sysdeps/powerpc/powerpc32/sysdep.h:
36181 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36182 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36183 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36184 * sysdeps/i386/fpu/e_powf.S: Likewise.
36185 * sysdeps/i386/fpu/e_expl.S: Likewise.
36186 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36187 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36188 * sysdeps/i386/fpu/e_pow.S: Likewise.
36189 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36190 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36191 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36192 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36193 * sysdeps/i386/fpu/e_log2.S: Likewise.
36194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36195 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36196 * sysdeps/i386/fpu/e_powl.S: Likewise.
36197 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36198 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36199 * sysdeps/i386/fpu/e_logl.S: Likewise.
36200 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36201 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36202 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36204 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36205 * sysdeps/i386/fpu/e_log.S: Likewise.
36206 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36207 * sysdeps/i386/fpu/e_logf.S: Likewise.
36208 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36209 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36210 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36211 * sysdeps/i386/fpu/e_log10.S: Likewise.
36212 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36213 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36214 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36215 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36216 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36218 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36219 * sysdeps/i386/i686/strtok.S: Likewise.
36220 * sysdeps/i386/i386-mcount.S: Likewise.
36221 * sysdeps/i386/strtok.S: Likewise.
36222 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36223 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36224 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36226 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36227 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36228 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36229 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36230 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36231 * sysdeps/x86_64/_mcount.S: Likewise.
36232 * sysdeps/x86_64/strtok.S: Likewise.
36233 * sysdeps/sh/_mcount.S: Likewise.
36234
2747bf9a
RM
362352012-08-01 Roland McGrath <roland@hack.frob.com>
36236
36237 * libio/iofopen.c: Include <fcntl.h>.
36238 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36239 (_IO_fopen64, fopen64): Define as aliases.
36240 * libio/iofopen64.c: Include <fcntl.h>.
36241 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36242 Conditionalize body on this.
36243 * sysdeps/wordsize-64/iofopen.c: File removed.
36244 * sysdeps/wordsize-64/iofopen64.c: File removed.
36245
3fb791b8
MP
362462012-08-01 Marek Polacek <polacek@redhat.com>
36247
36248 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36249 Use dlfcn directly instead of a variable.
36250 (binfmt-subdir): Do not define.
36251 (dlfcn): Likewise.
36252
a9f1039f
JM
362532012-08-01 Joseph Myers <joseph@codesourcery.com>
36254
23bddc06
JM
36255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36256 Remove all definitions.
36257 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36258 <kernel-features.h>.
36259 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36260 (miss_F_GETOWN_EX): Remove all definitions.
36261 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36262 macro definition.
36263 [!__ASSUME_FCNTL64]: Remove conditional code.
36264 [__ASSUME_FCNTL64]: Make code unconditional.
36265 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36266 <kernel-features.h>.
36267 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36268 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36269 (lockf64) [__NR_fcntl64]: Make code unconditional.
36270 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36271
a9f1039f
JM
36272 * sysdeps/unix/sysv/linux/kernel-features.h
36273 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36274 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36275 Make code unconditional.
36276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36279 [__NR_vfork]: Make code unconditional.
36280 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36281 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36283 [__NR_vfork]: Make code unconditional.
36284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36286
09c0ee5f
RM
362872012-08-01 Roland McGrath <roland@hack.frob.com>
36288
48aec5b9
RM
36289 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36290 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36291
cd97c966
RM
36292 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36293 Define mkstemp64 as an alias.
3f55550c
RM
36294 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36295 Define mkstemps64 as an alias.
cd97c966
RM
36296 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36297 Define mkostemp64 as an alias.
b8625cfc
RM
36298 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36299 Define mkostemps64 as an alias.
cd97c966
RM
36300 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36301 Conditionalize body on this.
36302 * misc/mkostemp64.c: Likewise.
b8625cfc 36303 * misc/mkostemps64.c: Likewise.
3f55550c 36304 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36305 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36306 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36307 * sysdeps/wordsize-64/mkostemp.c: File removed.
36308 * sysdeps/wordsize-64/mkstemp.c: File removed.
36309 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36310 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36311 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36312 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36313
09c0ee5f
RM
36314 [BZ #14138]
36315 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36316 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36317 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36318 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36319
36320 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36321 compat_symbol macros from <shlib-compat.h> rather than the underlying
36322 default_symbol_version and symbol_version macros, so that DEFAULT
36323 lines in shlib-versions are respected.
36324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36325
7e66ee51
FW
363262012-08-01 Florian Weimer <fweimer@redhat.com>
36327
36328 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36329 Declare with warn_unused_result.
36330 (setgid, setregid, setegid, setresgid): Likewise.
36331 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36332 Likewise.
36333 * WUR-REPORT: Remove set*id functions.
36334
d2a54255
PT
363352012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36336
36337 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36338
7ecdb005
RM
363392012-07-31 Roland McGrath <roland@hack.frob.com>
36340
b4180a5e 36341 [BZ #10191]
789bd351
RM
36342 * include/sys/socket.h (__libc_accept, __libc_accept4):
36343 Add attribute_hidden.
36344 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36345
40ce302d
RM
36346 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36347 use of PTR_MANGLE.
36348 * inet/getnetgrent_r.c (setup): Likewise.
36349
7ecdb005
RM
36350 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36351
e2eabb2c
DM
363522012-07-31 David S. Miller <davem@davemloft.net>
36353
36354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36355
d0419dbf
JM
363562012-07-31 Joseph Myers <joseph@codesourcery.com>
36357
36358 [BZ #13629]
36359 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36360 value between 1.0 and 2.0 and smaller part has absolute value less
36361 than 1.0.
36362 * math/s_clog10.c (__clog10): Likewise.
36363 * math/s_clog10f.c (__clog10f): Likewise.
36364 * math/s_clog10l.c (__clog10l): Likewise.
36365 * math/s_clogf.c (__clogf): Likewise.
36366 * math/s_clogl.c (__clogl): Likewise.
36367 * math/libm-test.inc (clog_test): Add more tests.
36368 (clog10_test): Likewise.
36369 * sysdeps/i386/fpu/libm-test-ulps: Update.
36370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36371
2bc13872
FW
363722012-07-31 Florian Weimer <fweimer@redhat.com>
36373
36374 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36375 Exit with zero in case no suitable GID is found, and write a
36376 message to standard error.
36377
bea9b193
RM
363782012-07-30 Roland McGrath <roland@hack.frob.com>
36379
36380 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36381 rather than to 1.
36382 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36383 (MAXPATHLEN): Removed.
36384 (NOGROUP, NODEV): New macros.
36385 (setbit, clrbit, isset, isclr): New macros.
36386 (howmany, roundup, powerof2): New macros.
36387 (DEV_BSIZE): New macro.
36388
36389 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36390 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36391
36392 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36393 definition on [!__NO_LONG_DOUBLE_MATH].
36394
36395 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36396 PTR_MANGLE and PTR_DEMANGLE.
36397
36398 * socket/accept4.c (accept4): Rename to __libc_accept4.
36399 Define accept4 as a weak alias.
36400
36401 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36402 on [_DIRENT_HAVE_D_TYPE].
36403 * io/ftw.c (ftw_dir): Likewise.
36404
36405 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36406
36407 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36408
36409 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36410 Use the BSD numbers rather than the arbitrary ones we had.
36411 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36412 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36413 (SIGXCPU, SIGXFSZ): New macros.
36414 (_NSIG): Now 32.
36415
36416 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36417 initializer on [_LIBC_REENTRANT].
36418
36419 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36420 definitions inside [_POSIX_MAPPED_FILES].
36421
36422 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36423
36424 * dirent/opendir.c: Include <fcntl.h>.
36425
36426 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36427 (__libc_getspecific): Likewise.
36428 (__libc_key_create): Likewise.
36429
36430 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36431 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36432 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36433 (tmpfile64): Define as alias.
36434 * sysdeps/wordsize-64/tmpfile.c: File removed.
36435 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36436 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36438
36439 * stdio-common/vfscanf.c: Include <stdbool.h>.
36440 * nss/makedb.c: Likewise.
36441 * stdio-common/_i18n_number.h: Likewise.
36442 * argp/argp-help.c: Likewise.
36443 * posix/wordexp.c: Likewise.
36444 * sysdeps/posix/spawni.c: Likewise.
36445 * nss/nss_files/files-initgroups.c: Likewise.
36446 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36447 * nss/nss_files/files-initgroups.c: Likewise.
36448 * nss/nss_db/db-netgrp.c: Likewise.
36449 * nss/nss_db/db-initgroups.c: Likewise.
36450 * io/fchmodat.c: Include <sys/stat.h>.
36451
36452 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36453 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36454
36455 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36456 [HAVE_MMAP].
36457
36458 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36459 Add multiple inclusion protection.
36460
e5abc686
DM
364612012-07-27 David S. Miller <davem@davemloft.net>
36462
36463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36464
815e6fa3
GB
364652012-07-27 Gary Benson <gbenson@redhat.com>
36466
36467 [BZ #14298]
36468 * elf/rtld.c: Include <stap-probe.h>.
36469 (dl_main): Added static probes "init_start" and "init_complete".
36470 * elf/dl-load.c: Include <stap-probe.h>.
36471 (lose): Take new parameter "nsid".
36472 Added static probe "map_failed".
36473 (_dl_map_object_from_fd): Pass namespace id to lose.
36474 Added static probe "map_start".
36475 (open_verify): Pass namespace id to lose.
36476 * elf/dl-open.c: Include <stap-probe.h>.
36477 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36478 and "reloc_complete".
36479 * elf/dl-close.c: Include <stap-probe.h>.
36480 (_dl_close_worker): Added static probes "unmap_start" and
36481 "unmap_complete".
36482 * elf/rtld-debugger-interface.txt: New file documenting the above.
36483
9f98c16c
RM
364842012-07-26 Roland McGrath <roland@hack.frob.com>
36485
36486 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36487 rather than a string variable.
36488 * sunrpc/rpc_main.c (h_output): Likewise.
36489 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36490
f3c22df3
PT
364912012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36492
36493 * inet/check_native.c: New file.
36494
3129cfc6
JM
364952012-07-26 Joseph Myers <joseph@codesourcery.com>
36496
da865e95
JM
36497 [BZ #13629]
36498 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36499 if larger part has absolute value 1.0.
36500 * math/s_clog10.c (__clog10): Likewise.
36501 * math/s_clog10f.c (__clog10f): Likewise.
36502 * math/s_clog10l.c (__clog10l): Likewise.
36503 * math/s_clogf.c (__clogf): Likewise.
36504 * math/s_clogl.c (__clogl): Likewise.
36505 * math/libm-test.inc (clog_test): Add more tests.
36506 (clog10_test): Likewise.
36507 * sysdeps/i386/fpu/libm-test-ulps: Update.
36508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36509
3129cfc6
JM
36510 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36511 (pltexit): Likewise.
36512 (La_regs): Likewise.
36513 (La_retval): Likewise.
36514 (int_retval): Likewise.
36515 Update #error for removed macros to refer only to definitions in
36516 tst-audit.h.
36517 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36518 macro.
36519 (pltexit): Likewise.
36520 (La_regs): Likewise.
36521 (La_retval): Likewise.
36522 (int_retval): Likewise.
36523 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36524 macro.
36525 (pltexit): Likewise.
36526 (La_regs): Likewise.
36527 (La_retval): Likewise.
36528 (int_retval): Likewise.
36529 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36530 macro.
36531 (pltexit): Likewise.
36532 (La_regs): Likewise.
36533 (La_retval): Likewise.
36534 (int_retval): Likewise.
36535 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36536 macro.
36537 (pltexit): Likewise.
36538 (La_regs): Likewise.
36539 (La_retval): Likewise.
36540 (int_retval): Likewise.
36541 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36542 macro.
36543 (pltexit): Likewise.
36544 (La_regs): Likewise.
36545 (La_retval): Likewise.
36546 (int_retval): Likewise.
36547 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36548 macro.
36549 (pltexit): Likewise.
36550 (La_regs): Likewise.
36551 (La_retval): Likewise.
36552 (int_retval): Likewise.
36553 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36554 macro definitions in tst-audit.h.
36555 * sysdeps/i386/tst-audit.h: New file.
36556 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36557 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36558 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36559 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36560 * sysdeps/sh/tst-audit.h: Likewise.
36561 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36562 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36563 * sysdeps/x86_64/tst-audit.h: Likewise.
36564
bfc07087
AJ
365652012-07-26 Andreas Jaeger <aj@suse.de>
36566
b1b2aaf8
AJ
36567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36568 ptrace.
36569
36570 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36571 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36572 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36573 PTRACE_O_MASK.
36574 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36575 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36576 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36577
bfc07087
AJ
36578 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36579 value.
36580
36581 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36582 _sigsys.
36583 (si_call_addr, si_syscall, si_arch): Define new macro.
36584 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36585 _sigsys.
36586 (si_call_addr, si_syscall, si_arch): Define new marcro.
36587 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36588 _sigsys.
36589 (si_call_addr, si_syscall, si_arch): Define new macro.
36590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36591 _sigsys.
36592 (si_call_addr, si_syscall, si_arch): Define new macro.
36593
89b4b02f
JM
365942012-07-25 Joseph Myers <joseph@codesourcery.com>
36595
36596 [BZ #13717]
36597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36598 Change to 2.4.21 where previously 2.4.1.
36599 * sysdeps/unix/sysv/linux/configure: Regenerated.
36600 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36601 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36602 Linux kernel version.
36603 (__ASSUME_STD_AUXV): Remove.
36604 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36605 kernel version.
36606 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36607 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36608 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36609 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36610 (__ASSUME_NETLINK_SUPPORT): Likewise.
36611 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36612 (__no_netlink_support): Remove conditional definition.
36613 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36614 Remove.
36615 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36616 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36617 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36618 (if_nameindex_ioctl): Remove.
36619 (if_nameindex_netlink): Do not handle __no_netlink_support.
36620 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36621 code.
36622 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36623 Remove conditional code.
36624 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36625 code.
36626 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36627 unconditional.
36628 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36629 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36630 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36631 Remove.
36632 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36633 [!__ASSUME_STD_AUXV]: Remove conditional code.
36634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36635 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36636 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36638 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36639 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36640 code.
36641 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36643 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36644 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36645 conditional code.
36646 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36648 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36649 code.
36650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36651 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36652 conditional code.
36653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36654 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36655 code unconditional.
36656 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36657 conditional code.
36658 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36659 unconditional.
36660 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36661 conditional code.
36662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36663 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36664 unconditional.
36665 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36666 conditional code.
36667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36668 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36669 code unconditional.
36670 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36671 conditional code.
36672 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36673 unconditional.
36674 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36675 conditional code.
36676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36677 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36678 code unconditional.
36679 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36680 conditional code.
36681 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36682 unconditional.
36683 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36684 conditional code.
36685
842a39cd
AS
366862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36687
36688 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36689 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36690 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36691 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36692 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36693 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36694 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36695 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36696 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36697 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36698 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36699 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36700 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36701 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36702 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36703 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36704 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36705 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36706 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36708 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36709 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36710 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36711
84b3fd84
FW
367122012-07-25 Florian Weimer <fweimer@redhat.com>
36713
36714 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36715 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36716 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36717 Introduce __libc_secure_getenv.
0c7936d5
FW
36718 * stdlib/Versions (2.17): Add secure_getenv
36719 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36720 * stdlib/secure-getenv.c: Rename __secure_getenv to
36721 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36722 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36723 * stdlib/tst-secure-getenv.c: New.
36724 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36725 * manual/startup.texi (Environment Access): Document
36726 secure_getenv.
84b3fd84
FW
36727 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36728 __libc_secure_getenv.
36729 * inet/ruserpass.c (ruserpass): Likewise.
36730 * malloc/mtrace.c (mtrace): Likewise.
36731 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36732 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36733 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36734 * sysdeps/posix/tempname.c: Likewise. Evaluate
36735 HAVE_SECURE_GETENV.
36736 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36737 __secure_getenv to __libc_secure_getenv.
84b3fd84 36738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36740 Likewise.
36741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36742 Likewise.
36743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36750
56e49b71
JM
367512012-07-25 Joseph Myers <joseph@codesourcery.com>
36752
36753 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36754 (struct La_i86_retval): Likewise.
36755 (struct La_x86_64_regs): Likewise.
36756 (struct La_x86_64_retval): Likewise.
36757 (struct La_x32_regs): Likewise.
36758 (struct La_x32_retval): Likewise.
36759 (struct La_ppc32_regs): Likewise.
36760 (struct La_ppc32_retval): Likewise.
36761 (struct La_ppc64_regs): Likewise.
36762 (struct La_ppc64_retval): Likewise.
36763 (struct La_sh_regs): Likewise.
36764 (struct La_sh_retval): Likewise.
36765 (struct La_s390_32_regs): Likewise.
36766 (struct La_s390_32_retval): Likewise.
36767 (struct La_s390_64_regs): Likewise.
36768 (struct La_s390_64_retval): Likewise.
36769 (struct La_sparc32_regs): Likewise.
36770 (struct La_sparc32_retval): Likewise.
36771 (struct La_sparc64_regs): Likewise.
36772 (struct La_sparc64_retval): Likewise.
36773 (struct audit_ifaces): Remove architecture-specific pltenter and
36774 pltexit members.
36775 * sysdeps/i386/ldsodefs.h: New file.
36776 * sysdeps/powerpc/ldsodefs.h: Likewise.
36777 * sysdeps/s390/ldsodefs.h: Likewise.
36778 * sysdeps/sh/ldsodefs.h: Likewise.
36779 * sysdeps/sparc/ldsodefs.h: Likewise.
36780 * sysdeps/x86_64/ldsodefs.h: Likewise.
36781
354691b7
MP
367822012-07-25 Marek Polacek <polacek@redhat.com>
36783
36784 [BZ #6808]
36785 * math/libm-test.inc (yn_test): Add another test.
36786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36787 to ERANGE when the result is +-Inf.
36788 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36789 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36790 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36791 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36792
bf9e2071
JM
367932012-07-24 Joseph Myers <joseph@codesourcery.com>
36794
36795 * conform/data/time.h-data (NULL): Use macro-constant. Require
36796 equal to 0.
36797 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36798 clock_t.
36799 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36800
57633811
TS
368012012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36802
36803 * configure.in <sysdeps resolving>: Correct printing
36804 Implies_before.
36805 * configure: Regenerate.
36806
c23c33b0
TS
368072012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36808
36809 * math/w_ilogb.c: Include <limits.h>.
36810 * math/w_ilogbl.c: Likewise.
36811
b5982523
JM
368122012-07-20 Joseph Myers <joseph@codesourcery.com>
36813
36814 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36815 va_copy. Document allowing for unavailable va_copy only as
36816 pre-C99 compatibility.
36817 * manual/string.texi (Copying and Concatenation): Use va_copy
36818 instead of __va_copy in concat example.
36819
ac4ea442
PT
368202012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36821
36822 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36823 (__sendto): Use create_address_port. Initialize APORT and deallocate
36824 it if not null.
36825
f98eafbd
PT
36826 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36827 with O_NOLINK passed to __file_name_lookup.
36828
898c7aab
PT
36829 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36830 with O_NOLINK passed to __file_name_lookup.
36831
0ced335a
PT
36832 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36833 negative N or less than NGIDS.
36834
b3404dbd
PT
36835 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36836 type to string_t. Set ERANGE as errno and return it if NAME is not big
36837 enough. Use memcpy instead of strncpy.
36838
0f48659e
JM
368392012-07-20 Joseph Myers <joseph@codesourcery.com>
36840
36841 * elf/Makefile (check-data): Remove.
36842 (localplt.data): New vpath directive.
36843 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36844 instead of $(check-data).
36845 * scripts/data/localplt-generic.data: Move to ...
36846 * sysdeps/generic/localplt.data: ... here.
36847 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36848 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36849 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36851 ... here.
36852 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36854 ... here.
36855 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36857 ... here.
36858 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36860 ... here.
36861 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36863 ... here.
36864 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36866 ... here.
36867
d37cbdaa
AZ
368682012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36869
36870 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36871 PPC32 and PPC64 files.
36872 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36873 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36874
46f85fc2
AK
368752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36876
36877 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36878 __makecontext_ret to ...
36879 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36880 ... here and call exit if uc_link is NULL. New file.
36881 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36882 __makecontext_ret.S.
36883 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36884 __makecontext_ret to ...
36885 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36886 ... here and call exit if uc_link is NULL. New file.
36887 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36888 __makecontext_ret.S.
36889
08f43f9b
AK
368902012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36891
36892 * elf/elf.h (R_390_IRELATIVE): New definition.
36893 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36894 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36895 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36896 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36897 (elf_machine_lazy_rel): Likewise.
36898 * sysdeps/s390/dl-irel.h: New file.
36899 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36900 * sysdeps/s390/s390-64/memset.S: New asm code.
36901 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36902 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36903 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36904 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36905 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36906 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36908 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36909 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36910 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36911 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36912 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36913 * sysdeps/s390/s390-32/memset.S: New asm code.
36914 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36915
3b05db33
MP
369162012-07-17 Marek Polacek <polacek@redhat.com>
36917
36918 [BZ #14349]
36919 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36920 * sysdeps/s390/s390-64/configure.in: Likewise.
36921 * sysdeps/sparc/configure.in: Likewise.
36922 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36923 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36924 * sysdeps/i386/configure.in: Likewise.
36925 * sysdeps/x86_64/configure.in: Likewise.
36926 * sysdeps/sh/configure.in: Likewise.
36927 * sysdeps/s390/s390-32/configure: Regenerated.
36928 * sysdeps/s390/s390-64/configure: Likewise.
36929 * sysdeps/x86_64/configure: Likewise.
36930 * sysdeps/sh/configure: Likewise.
36931 * sysdeps/powerpc/powerpc64/configure: Likewise.
36932 * sysdeps/powerpc/powerpc32/configure: Likewise.
36933 * sysdeps/sparc/configure: Likwise.
36934 * sysdeps/i386/configure: Likewise.
36935
a66877c6
MP
36936 * elf/dl-open.c: Comment fixes.
36937
cfc82fd8
JM
369382012-07-17 Joseph Myers <joseph@codesourcery.com>
36939
bd29910a
JM
36940 * Makefile [CXX] (check-data): Remove.
36941 [CXX] (c++-types.data): New vpath directive.
36942 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36943 vpath. Do not allow for C++ type data being missing.
36944 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36945 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36946 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36947 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36948 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36949 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36950 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36952 ... here.
36953 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36955 ... here.
36956 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36958 ... here.
36959 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36961 ... here.
36962 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36964 ... here.
36965 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36967 ... here.
36968 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36970 ... here.
36971 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36973
cfc82fd8
JM
36974 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36975 definitions to architecture-specific files.
36976 (TLS_IE): Likewise.
36977 (TLS_LD): Likewise.
36978 (TLS_GD): Likewise.
36979 * sysdeps/i386/tls-macros.h: New file.
36980 * sysdeps/powerpc/tls-macros.h: Likewise.
36981 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36982 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36983 * sysdeps/sh/tls-macros.h: Likewise.
36984 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36985 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36986 * sysdeps/x86_64/tls-macros.h: Likewise.
36987
f7db3170
TS
369882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36989
07cbfc23
TS
36990 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36991 zero value for regular exit case.
36992
f7db3170
TS
36993 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36994 (__start_context): Preserve zero value for regular exit case.
36995
dc97c227
TS
369962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36997 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36998
36999 * manual/setjmp.texi (setcontext): Clarify normal process
37000 termination when uc_link is the null pointer.
37001 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37002 exit call.
37003
d0cd7d02
AS
370042012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37005
37006 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37007 preprocessor. Test for each exception mask separately.
37008
dd318934
AJ
370092012-07-16 Andreas Jaeger <aj@suse.de>
37010
37011 * po/ru.po: Update from translation team.
37012
8048311a
JM
370132012-07-15 Joseph Myers <joseph@codesourcery.com>
37014
37015 * conform/data/string.h-data (NULL): Use macro-constant. Require
37016 equal to 0.
37017 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37018 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37019 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37020 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37021 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37022
b637d46e
AJ
370232012-07-13 Andreas Jaeger <aj@suse.de>
37024
37025 * po/fr.po: Update from translation team.
37026
541428fe
MP
370272012-07-12 Marek Polacek <polacek@redhat.com>
37028
37029 [BZ #14173]
37030 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37031 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37032 loop condition.
37033
ec332e94
JM
370342012-07-12 Joseph Myers <joseph@codesourcery.com>
37035
37036 [BZ #13717]
37037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37038 Change to 2.4.1 where previously 2.4.0.
37039 * sysdeps/unix/sysv/linux/configure: Regenerated.
37040 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37041 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37042 version.
37043 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37044 (__ASSUME_AT_CLKTCK): Remove.
37045 (__ASSUME_AT_PAGESIZE): Likewise.
37046 (__ASSUME_AT_XID): Likewise.
37047 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37048 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37049 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37050 unconditionally.
37051 (HAVE_AUX_PAGESIZE): Likewise.
37052 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37053 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37054 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37055
7b6e99be
JB
370562012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37057
37058 [BZ #14307]
37059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37060 the temporary buffer used to invoke __gethostbyname2_r,
37061 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37062 host_data / struct gaih_addrtuple.
37063 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37064 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37065 header file nss/nsswitch.h.
37066 * nss/nsswitch.h (global scope): Add definition of implementation
37067 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37068 resolv/nss_dns/dns-host.c).
37069
608404eb
AJ
370702012-07-11 Andreas Jaeger <aj@suse.de>
37071
37072 * po/fr.po: Update from translation team.
37073
71220aca
AJ
37074 * po/sv.po: Update from translation team
37075 * po/fr.po: Another update from translation team.
37076
28cfe843
AZ
370772012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37078
37079 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37080 for subnormals or multiply small sinh result by itself.
37081 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37083
6b90f981
DM
370842012-07-11 David S. Miller <davem@davemloft.net>
37085
37086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37087
c6825772
AS
370882012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37089
37090 [BZ #14347]
37091 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37092 (INTERNAL_MARK): Shift it here.
37093
7b8e0d49
MP
370942012-07-10 Marek Polacek <polacek@redhat.com>
37095
37096 [BZ #14151]
37097 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37098 libc_cv_asm_global_directive with .globl.
37099 * configure: Regenerated.
37100 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37101 with .globl.
37102 * sysdeps/i386/configure: Regenerated.
37103 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37104 with .globl.
37105 * sysdeps/x86_64/configure: Regenerated.
37106 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37107 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37108 * elf/tst-unique2mod2.c: Likewise.
37109 * elf/tst-unique2mod1.c: Likewise.
37110 * elf/tst-unique1mod2.c: Likewise.
37111 * elf/tst-unique1mod1.c: Likewise.
37112 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37113 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37115 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37116 * sysdeps/mach/sysdep.h: Likewise.
37117 * sysdeps/i386/sysdep.h: Likewise.
37118 * sysdeps/i386/i386-mcount.S: Likewise.
37119 * sysdeps/x86_64/_mcount.S: Likewise.
37120 * sysdeps/x86_64/sysdep.h: Likewise.
37121 * sysdeps/sh/_mcount.S: Likewise.
37122 * sysdeps/sh/sysdep.h: Likewise.
37123 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37124 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37125 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37127 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37128 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37129 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37130 * locale/localeinfo.h: Likewise.
37131 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37132 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37133
6c55cda3
RM
371342012-07-09 Roland McGrath <roland@hack.frob.com>
37135
37136 [BZ #14336]
37137 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37138 system".
37139 * manual/message.texi (The Uniforum approach): Likewise.
37140 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37141 (glibc iconv Implementation): Likewise.
37142
638a572e
JM
371432012-07-09 Joseph Myers <joseph@codesourcery.com>
37144
37145 [BZ #14337]
37146 * math/s_clog.c (__clog): Avoid scaling a value down where that
37147 could result in underflow.
37148 * math/s_clog10.c (__clog10): Likewise.
37149 * math/s_clog10f.c (__clog10f): Likewise.
37150 * math/s_clog10l.c (__clog10l): Likewise.
37151 * math/s_clogf.c (__clogf): Likewise.
37152 * math/s_clogl.c (__clogl): Likewise.
37153 * math/libm-test.inc (clog_test): Add more tests.
37154 (clog10_test): Likewise.
37155 * sysdeps/i386/fpu/libm-test-ulps: Update.
37156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157
261f4859
AS
371582012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37159
0abaf3e4
AS
37160 [BZ #14283]
37161 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37162 by 7 not 8 to examine high bit of fractional part.
37163
261f4859
AS
37164 [BZ #14042]
37165 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37166 for call to __mcount_internal.
37167 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37168 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37169 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37170
f17ac40d
JM
371712012-07-06 Joseph Myers <joseph@codesourcery.com>
37172
9ad63c23
JM
37173 [BZ #14154]
37174 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37175 approximation for values within 0x1p-13f of an odd multiple of
37176 pi/4.
37177 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37178 exception. Add more tests.
37179 * sysdeps/i386/fpu/libm-test-ulps: Update.
37180
f17ac40d
JM
37181 [BZ #6778]
37182 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37183 inputs and return -1 for them. Do not check for +Inf in case not
37184 reachable for +Inf.
37185 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37186 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37187 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37188 and return -1 for them. Do not check for +Inf in case not
37189 reachable for +Inf.
37190 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37191 define.
37192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37193 and return -1 for them. Do not check for +Inf in case not
37194 reachable for +Inf.
37195 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37196 spurious underflow.
37197 * sysdeps/i386/fpu/libm-test-ulps: Update.
37198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37199
fb21f89b
MF
372002012-07-06 Mike Frysinger <vapier@gentoo.org>
37201
37202 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37203
cdfe2c5e
JM
372042012-07-05 Joseph Myers <joseph@codesourcery.com>
37205
37206 [BZ #14157]
37207 [BZ #14331]
37208 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37209 could result in spurious underflow. Scale down values above
37210 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37211 * math/s_csqrtf.c (__csqrtf): Likewise.
37212 * math/s_csqrtl.c (__csqrtl): Likewise.
37213 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37214 spurious underflow.
37215 * sysdeps/i386/fpu/libm-test-ulps: Update.
37216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37217
70d35b67
AS
372182012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37219
704bc459
AS
37220 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37221 xopen-msg.sed.
37222 * catgets/xopen-msg.awk: New file.
37223 * catgets/xopen-msg.sed: Removed.
37224
70d35b67
AS
37225 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37226 po2text.sed.
37227 * intl/po2test.awk: New file.
37228 * intl/po2test.sed: Removed.
37229
ca61cf32
JM
372302012-07-04 Joseph Myers <joseph@codesourcery.com>
37231
37232 [BZ #14328]
37233 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37234 or multiply small sinh result by itself.
37235 * math/s_ctanf.c (__ctanf): Likewise.
37236 * math/s_ctanh.c (__ctanh): Likewise.
37237 * math/s_ctanhf.c (__ctanhf): Likewise.
37238 * math/s_ctanhl.c (__ctanhl): Likewise.
37239 * math/s_ctanl.c (__ctanl): Likewise.
37240 * math/libm-test.inc (ctan_test_tonearest): New function.
37241 (ctan_test_towardzero): Likewise.
37242 (ctan_test_downward): Likewise.
37243 (ctan_test_upward): Likewise.
37244 (ctanh_test_tonearest): Likewise.
37245 (ctanh_test_towardzero): Likewise.
37246 (ctanh_test_downward): Likewise.
37247 (ctanh_test_upward): Likewise.
37248 (main): Call these new functions.
37249 * sysdeps/i386/fpu/libm-test-ulps: Update.
37250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37251
ca48a46a
MF
372522012-07-03 Mike Frysinger <vapier@gentoo.org>
37253
37254 * .gitignore: Delete /ports entry.
37255
9d63d37d
AJ
372562012-07-03 Andreas Jaeger <aj@suse.de>
37257
37258 * po/bg.po: Update from translation team.
37259 * po/cs.po: Likewise.
37260 * po/de.po: Likewise.
37261 * po/hr.po: Likewise.
37262 * po/nl.pl: Likewise.
37263 * po/pl.po: Likewise.
37264 * po/vi.po: Likewise.
37265
370ca3d2
JM
372662012-07-03 Joseph Myers <joseph@codesourcery.com>
37267
95f5a9a8
JM
37268 * Makeconfig [!+link] (+link-before-libc): New variable.
37269 [!+link] (+link-after-libc): Likewise.
37270 [!+link] (+link-tests): Likewise.
37271 [!+link] (+link): Define in terms of $(+link-before-libc) and
37272 $(+link-after-libc).
37273 [!+link-static] (+link-static-before-libc): New variable.
37274 [!+link-static] (+link-static-after-libc): Likewise.
37275 [!+link-static] (+link-static-tests): Likewise.
37276 [!+link-static] (+link-static): Define in terms of
37277 $(+link-static-before-libc) and $(+link-static-after-libc).
37278 [build-shared] (link-libc-before-gnulib): New variable.
37279 [build-shared] (link-libc-tests): Likewise.
37280 [build-shared] (link-libc): Define in terms of
37281 $(link-libc-before-gnulib).
37282 [!build-shared] (link-libc-tests): New variable.
37283 (link-libc-static-tests): New variable.
37284 [!gnulib] (gnulib-arch): New variable.
37285 [!gnulib] (gnulib-tests): Likewise.
37286 [!gnulib] (static-gnulib-arch): Likewise.
37287 [!gnulib] (static-gnulib-tests): Likewise.
37288 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37289 Define with "=" instead of ":=".
37290 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37291 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37292 * Rules (binaries-all-notests): New variable.
37293 (binaries-all-tests): Likewise.
37294 (binaries-static-notests): Likewise.
37295 (binaries-static-tests): Likewise.
37296 (binaries-all): Define using $(binaries-all-notests) and
37297 $(binaries-all-tests).
37298 (binaries-static): Define using $(binaries-static-notests) and
37299 $(binaries-static-tests).
37300 (binaries-shared-tests): New variable.
37301 (binaries-shared-notests): Likewise.
37302 (binaries-shared): Remove variable.
37303 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37304 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37305 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37306 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37307 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37308 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37309 * elf/Makefile (sln-modules): New variable.
37310 (extra-objs): Add $(sln-modules:=.o).
37311 (ldconfig-modules): Add static-stubs.
37312 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37313 * elf/static-stubs.c: New file.
37314
7a845b2c
JM
37315 [BZ #14283]
37316 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37317 by 7 not 8 to examine high bit of fractional part. Use volatile
37318 variables when splitting into final array of floats if
37319 __FLT_EVAL_METHOD__ != 0.
37320 * math/libm-test.inc (cos_test): Add another test.
37321 (sin_test): Likewise.
37322 * sysdeps/i386/fpu/libm-test-ulps: Update.
37323
e2283f38
JM
37324 [BZ #14273]
37325 * math/libm-test.inc (cosh_test): Add more tests.
37326
370ca3d2
JM
37327 * version.h (RELEASE): Set to "development".
37328 (VERSION): Set to "2.16.90".
37329
ee9247c3
CD
373302012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37331
37332 * NEWS: Update copyright. Remove last-updated date.
37333 Mention math library bug fixes and timezone data changes.
37334 * README: Mention GNU/Hurd, x32, and HPPA support status.
37335
4648c381
TS
373362012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37337
37338 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37339
aac78a43
AJ
373402012-06-27 Andreas Jaeger <aj@suse.de>
37341
37342 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37343
ed3dbfad
AJ
373442012-06-25 Andreas Jaeger <aj@suse.de>
37345
37346 * sysdeps/s390/fpu/libm-test-ulps: Update.
37347
4d0ee855
AS
373482012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37349 Thomas Schwinge <thomas@codesourcery.com>
37350
37351 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37352 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37354 fanotify_mark.
37355
af1bce34
TS
373562012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37357
a9fa33ba
TS
37358 * sysdeps/mach/start.c: Remove file.
37359 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37360 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37361 * sysdeps/sh/init-first.c: Likewise.
37362
58f902b8
TS
37363 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37364 registers for frame unwinding purposes, add CFI directives.
37365 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37367 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37368 Likewise.
37369
1518f58b
TS
37370 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37371 __fortify_fail returning.
37372 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37373
db9b5059
TS
37374 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37375 sysdeps/sh/____longjmp_chk.S.
37376 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37377 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37378 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37379 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37380
967705fe
TS
37381 * sysdeps/sh/abort-instr.h: New file.
37382 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37383 process in case exit returns.
37384
a9def8c4
TS
37385 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37386 initialize the GOT register before use.
37387
2a649725
TS
37388 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37389 calculation of ARGC > 4.
37390
af1bce34
TS
37391 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37392 meaningful names to some local labels.
37393
d230f50a
KK
373942012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37395 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37396
37397 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37398 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37399 (__arch_compare_and_exchange_val_16_acq): Likewise.
37400 (__arch_compare_and_exchange_val_32_acq): Likewise.
37401 (atomic_exchange_and_add): Fix gUSA sequence.
37402 (atomic_add): Likewise.
37403 (atomic_add_negative): Likewise.
37404 (atomic_add_zero): Likewise.
37405 (atomic_bit_test_set): Likewise.
37406
0479b305
AS
374072012-06-22 Andreas Schwab <schwab@redhat.com>
37408
37409 [BZ #13579]
37410 * include/link.h (struct link_map): Add l_free_initfini.
37411 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37412 l_initfini.
37413 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37414 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37415 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37416 set.
37417
0e3933b9
CD
374182012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37419
37420 * configure.in: Use AC_LANG_SOURCE.
37421 * configure: Regenerate.
37422
4248b1b1
RM
374232012-06-22 Roland McGrath <roland@hack.frob.com>
37424
37425 * configure.in (libc_cv_localstatedir): New substituted variable.
37426 * configure: Regenerated.
37427 * config.make.in (localstatedir): New variable, substituted from
37428 libc_cv_localstatedir.
37429 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37430 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37431 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37432 * sysdeps/gnu/configure: Regenerated.
37433
006dd861
JL
374342012-06-21 Jeff Law <law@redhat.com>
37435
37436 [BZ #14277]
37437 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37438 free. Simplify list management for _LIBC case.
37439
79662d42
JM
374402012-06-21 Joseph Myers <joseph@codesourcery.com>
37441
b7abb4bf
JM
37442 [BZ #14273]
37443 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37444 Clear sign bit of 64-bit integer value before comparing against
37445 overflow value.
37446
79662d42
JM
37447 * sysdeps/mach/configure: Regenerated.
37448
1f150908
L
374492012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37450
37451 [BZ #14278]
37452 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37453
28363bbf
JL
374542012-06-21 Jeff Law <law@redhat.com>
37455
37456 [BZ #13882]
37457 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37458 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37459 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37460 * elf/dl-open.c (dl_open_worker): Likewise.
37461
09615db4
CD
374622012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37463
37464 * scripts/list-sources.sh: Scan PORTS for translations.
37465 * po/libc.pot: Regenerated.
37466
2174c6dd
AJ
374672012-06-21 Andreas Jaeger <aj@suse.de>
37468
37469 [BZ #12194]
37470 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37471 warning.
37472 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37473 * bits/byteswap-16.h (__bswap_16): Likewise.
37474 * bits/byteswap.h (__bswap_constant_16): Likewise.
37475
3ee947b1
L
374762012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37477
37478 [BZ #14117]
a2f34833
L
37479 * sysdeps/i386/fpu_control.h: Removed.
37480 * sysdeps/x86_64/fpu_control.h: Moved to ...
37481 * sysdeps/x86/fpu_control.h: Here.
37482
3ee947b1
L
37483 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37484 (_FPU_SETCW): Likewise.
37485
ed1825f8
L
374862012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37487
25f1282a
L
37488 [BZ #14117]
37489 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37490 * sysdeps/x86/fpu/bits/mathinline.h: This.
37491 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37492
ed1825f8
L
37493 [BZ #14050]
37494 [BZ #14117]
37495 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37496 functions if __x86_64__ is defined.
37497
36d54b74
CLT
374982012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37499
37500 * string/endian.h: Add !__ASSEMBLER__ condition for including
37501 conversion interfaces.
37502
10285c21
JM
375032012-06-15 Joseph Myers <joseph@codesourcery.com>
37504
37505 [BZ #14241]
37506 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37507 of ABS(x) in calculating zero to negative powers other than odd
37508 integers.
37509 * math/libm-test.inc (pow_test): Add more tests.
37510
06c5abbd
AJ
375112012-06-15 Andreas Jaeger <aj@suse.de>
37512
37513 * manual/contrib.texi (Contributors): Update entry of Liubov
37514 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37515 Machado Filho.
37516
a3aeac40
CH
375172012-06-15 Cyril Hrubis <metan@ucw.cz>
37518
37519 * string/string.h: Add __wur to GNU version of strerror_r.
37520
49bdf4c1
L
375212012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37522
37523 [BZ #14229]
37524 * string/Makefile (tests): Add tst-strtok_r.
37525 * string/tst-strtok_r.c: New file.
37526 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37527 RAX_LP/RDX_LP on SAVE_PTR.
37528
834f9b8d
RM
375292012-06-14 Roland McGrath <roland@hack.frob.com>
37530
37531 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37532
75fa1921
JM
375332012-06-14 Joseph Myers <joseph@codesourcery.com>
37534
37535 * libm_test.inc (csqrt_test): Allow more spurious underflow
37536 exceptions.
37537 (j0_test): Likewise.
37538 (j1_test): Likewise.
37539 (y0_test): Likewise.
37540 (y1_test): Likewise.
37541
771766df
CD
375422012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37543
37544 * po/Makefile (libc.pot): Use UTF-8 charset.
37545
ceb9e56b
PP
375462012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37547
37548 [BZ #14210]
37549 Suppress sign-conversion warning from FD_SET.
37550 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37551 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37552 not unsigned long int.
37553 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37554
ddb28975
L
375552012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37556
37557 [BZ #14050]
37558 [BZ #14117]
37559 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37560 __extern_always_inline instead of __extern_inline.
37561 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37562 (__signbit): Likewise.
37563 (__signbitl): Support C++ namespace.
37564 (lrintf): New inline function.
37565 (lrint): Likewise.
37566 (llrintf): Likewise.
37567 (llrint): Likewise.
37568 (fmaxf): Likewise.
37569 (fmax): Likewise.
37570 (fminf): Likewise.
37571 (fmin): Likewise.
37572 (rint): Likewise.
37573 (rintf): Likewise.
37574 (ceil): Likewise.
37575 (ceilf): Likewise.
37576 (floor): Likewise.
37577 (floorf): Likewise.
37578 (nearbyint): Likewise.
37579 (nearbyintf): Likewise.
37580
d7b4fb26
TS
375812012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37582
37583 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37584 non-default versions.
37585
eb55f5c2
RM
375862012-06-11 Roland McGrath <roland@hack.frob.com>
37587
37588 [BZ #14218]
37589 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37590
366af02c
TS
375912012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37592
99ff6e5c
TS
37593 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37594 (FE_UPWARD, FE_DOWNWARD): Don't define.
37595 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37597
366af02c
TS
37598 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37599 reading it.
37600 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37601 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37602
793ea851
KK
376032012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37604
37605 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37607 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37608 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37609
a728a38f
L
376102012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37611
37612 [BZ #14117]
c08010c7
L
37613 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37614 * sysdeps/i386/fpu/Implies: New file.
37615 * sysdeps/x86_64/fpu/Implies: Likewise.
37616 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37617 * sysdeps/x86/fpu/bits/fenv.h: This.
37618
a728a38f
L
37619 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37620 __SSE_MATH__.
37621
6e230d11
SP
376222012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37623
37624 [BZ #14134]
37625 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37626 character 0xffff that matches the last element of the
37627 conversion table.
37628
1b671feb
AZ
376292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37630
37631 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37632 fmodl commit.
37633
6043738b
AZ
376342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37635
37636 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37637 values higher than 25.6283.
37638
34ae0b32
AZ
376392012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37640
37641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37642 subnormal exponent extraction and add some __builtin_expect.
37643 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37644 Fix for subnormal mantissa calculation.
37645
1214ec8f
MF
376462012-06-04 Mike Frysinger <vapier@gentoo.org>
37647
37648 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37649 cpu2 is -1 and errno is not ENOSYS.
37650
f3d1f93c
L
376512012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 [BZ #14117]
0e4a3cd7
L
37654 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37655 * sysdeps/x86/bits/string.h: This.
37656 * sysdeps/x86_64/bits/string.h: Removed.
37657
6704c645
L
37658 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37659 if not compiling for x86-64, but compiling for >= i486.
37660
48495318
L
37661 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37662 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37663
14adcbfc
L
37664 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37665 New macro from Linux kernel 3.4.0.
37666 (FP_XSTATE_MAGIC2): Likewise.
37667 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37668 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37669 (struct _fpx_sw_bytes): New struct.
37670 (struct _xsave_hdr): Likewise.
37671 (struct _ymmh_state): Likewise.
37672 (struct _xstate): Likewise.
37673
68e408ab
L
37674 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37675 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37676 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37677 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37678 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37679 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37680
f3d1f93c
L
37681 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37682 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37683 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37684 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37685 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37686 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37687
d9dc34cd
TMQMF
376882012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37689
37690 [BZ #13743]
37691 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37692 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37693 (sysdep_headers): Include sys/platform/ppc.h.
37694 * sysdeps/powerpc/test-gettimebase.c: Test for
37695 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37696 * manual/Makefile (appendices): Include platform.texi.
37697 * manual/contrib.texi (Contributors): Update @node pointers.
37698 * manual/maint.texi (Maintenance): Likewise.
37699 (Platform): New node.
37700 * manual/platform.texi: New file. Document the new features.
37701
4af3879c
SP
377022012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37703 Jakub Jelinek <jakub@redhat.com>
37704
37705 [BZ #14188]
37706 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37707 where __builtin_expect is unavailable.
37708
2fd6ff13
DM
377092012-06-03 David S. Miller <davem@davemloft.net>
37710
37711 * stdlib/longlong.h: Updated from GCC.
37712
173f7220
AS
377132012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37714
37715 [BZ #14042]
37716 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37717 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37718 __mcount_internal.
37719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37720 (GLIBC_2.16): Likewise.
37721
f34a1c6f
L
377222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37723
37724 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37725
88a4576f
JM
377262012-06-01 Joseph Myers <joseph@codesourcery.com>
37727
ea32bcdd
JM
37728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37729 (default-abi): New variable.
37730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37731 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37732 variable.
37733 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37734 Likewise.
37735 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37736 Likewise.
37737 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37738 Likewise.
37739
88a4576f
JM
37740 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37741 definition. Document in comment.
37742
402fe938
DM
377432012-06-01 David S. Miller <davem@davemloft.net>
37744
37745 * stdlib/longlong.h: Updated from GCC.
37746
3553723f
L
377472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37748
37749 [BZ #14117]
3bd872c4
L
37750 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37751 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37752 sys/debugreg.h sys/io.h here.
37753 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37754 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37755 sys/io.h.
37756 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37757 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37758 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37759 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37760 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37761 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37762
3553723f
L
37763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37764 Define only if __x86_64__ is defined.
37765
4842e4fe
JM
377662012-06-01 Joseph Myers <joseph@codesourcery.com>
37767
c5bfe3d5
JM
37768 [BZ #14048]
37769 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37770 Use int64_t for variable i.
37771 * math/libm-test.inc (fmod_test): Add more tests.
37772
4842e4fe
JM
37773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37774 z computation is not scheduled after fetestexcept.
37775 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37776 Use math_force_eval instead of asm to ensure calculation scheduled
37777 before exception test.
37778 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37779 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37780
efb73488
AJ
377812012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37782
37783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37784 computation is not scheduled after fetestexcept.
37785
29bcce7c
L
377862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37787
37788 [BZ #14117]
37789 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37790 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37791
73a68f94
AZ
377922012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37793
37794 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37795 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37796
67b6df78
L
377972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37798
edf2933a 37799 [BZ #14117]
ebc64a18
L
37800 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37801 <bits/wordsize.h>.
37802 (__WCHAR_MIN): Support __WORDSIZE == 64.
37803 (__WCHAR_MAX): Likewise.
37804
edf2933a
L
37805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37807
57c6cf40
L
37808 [BZ #14183]
37809 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37810 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37811
67b6df78 37812 [BZ #14117]
8eb6281e
L
37813 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37814 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37815
aac639f4
L
37816 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37817 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37818
67b6df78
L
37819 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37820 Defined to 1 if __x86_64__ isn't defined.
37821 (_STAT_VER_LINUX_OLD): New.
37822 (st_atime): Remove duplicate.
37823 (st_mtime): Likewise.
37824 (st_ctime): Likewise.
37825
1c2cfe81
DM
378262012-05-31 David S. Miller <davem@davemloft.net>
37827
37828 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37829 entries.
37830
5be8418c
AS
378312012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37832
e7725326
AS
37833 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37834 gen-libm-test.pl.
37835
5be8418c
AS
37836 [BZ #14132]
37837 * elf/dl-reloc.c: Include <_itoa.h>.
37838 (_dl_reloc_bad_type): Remove use of INTUSE.
37839 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37840 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37841 * stdio-common/psiginfo.c (psiginfo): Likewise.
37842 * stdio-common/psignal.c (psignal): Likewise.
37843 * string/strsignal.c (strsignal): Likewise.
37844 * include/signal.h (_sys_siglist): Declare hidden proto.
37845 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37846 INTVARDEF with libc_hidden_data_def.
37847 * stdio-common/itoa-udigits.c: Likewise.
37848 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37849 (_itoa_lower_digits_internal): Remove declaration.
37850 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37851 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37852 (_sys_sigabbrev_internal): Remove aliases.
37853 (_sys_siglist): Define hidden alias.
37854
507352f1
MT
378552012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37856
37857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37858 bits/sysctl.h.
37859
42bbb1c3
L
378602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37861
37862 [BZ #14117]
6bd784b6
L
37863 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37864 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37865
8bca20f0
L
37866 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37867 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37868 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37869 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37870 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37871 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37872
f9e890a9
L
37873 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37874 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37875 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37876
471101a1
L
37877 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37878 with __addr.
37879 (insw): Likewise.
37880 (insl): Likewise.
37881 (outsb): Likewise.
37882 (outsw): Likewise.
37883 (outsl): Likewise.
37884
6451c862
L
37885 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37886 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37887 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37888
a254b8c9
L
37889 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37890 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37891 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37892 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37893 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37894 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37895
b8dfdd92
L
37896 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37897 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37898
578cd270
L
37899 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37900 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37901
de662f5f
L
37902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37904 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37905
25653439
L
37906 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37907 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37908 to ...
37909 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37910
6bad24a0
L
37911 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37912 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37913 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37914
42bbb1c3
L
37915 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37916 for x86-64.
37917 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37918
2d10d547
JM
379192012-05-31 Joseph Myers <joseph@codesourcery.com>
37920
37921 * math/math.h (M_El): Use two more decimal places.
37922 (M_LOG2El): Likewise.
37923 (M_LOG10El): Likewise.
37924 (M_LN2l): Likewise.
37925 (M_LN10l): Likewise.
37926 (M_PIl): Likewise.
37927 (M_PI_2l): Likewise.
37928 (M_PI_4l): Likewise.
37929 (M_1_PIl): Likewise.
37930 (M_2_PIl): Likewise.
37931 (M_2_SQRTPIl): Likewise.
37932 (M_SQRT2l): Likewise.
37933 (M_SQRT1_2l): Likewise.
37934
f230c29b
DM
379352012-05-31 David S. Miller <davem@davemloft.net>
37936
37937 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37938 values between float registers.
37939 * sysdeps/sparc/sparc64/memset.S: Likewise.
37940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37941
fed806c3
MF
379422012-05-31 Mike Frysinger <vapier@gentoo.org>
37943
37944 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37945 -D_FORTIFY_SOURCE=1.
37946 (CPPFLAGS-tst-longjmp_chk.c): Define.
37947 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37948 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37949 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37950 CFLAGS-tst-wchar-h.c.
37951
30917259
MP
379522012-05-31 Marek Polacek <polacek@redhat.com>
37953
37954 [BZ #14132]
37955 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37956 __endmntent_internal): Remove declaration.
37957 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37958 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37959 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37960
1c58d5dc
DM
379612012-05-30 David S. Miller <davem@davemloft.net>
37962
37963 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37964 (___Q_simulate_exceptions): Use real FP ops rather than writing
37965 into the %fsr.
37966 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37967 Likewise.
37968
7dc00e0d
L
379692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37970
37971 [BZ #14117]
0bd53985
L
37972 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37973 * sysdeps/x86/bits/xtitypes.h: This.
37974
3a257e66
L
37975 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37976 * sysdeps/x86/bits/wordsize.h: This.
37977
62f62904
L
37978 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37979 * sysdeps/x86/bits/huge_vall.h: This.
37980
404fe9d9
L
37981 * sysdeps/i386/bits/select.h: Removed.
37982 * sysdeps/x86_64/bits/select.h: Renamed to ...
37983 * sysdeps/x86/bits/select.h: This.
37984
d48d0446
L
37985 * sysdeps/i386/bits/setjmp.h: Removed.
37986 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37987 * sysdeps/x86/bits/setjmp.h: This.
37988
7dc00e0d
L
37989 * sysdeps/i386/bits/mathdef.h: Removed.
37990 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37991 * sysdeps/x86/bits/mathdef.h: This.
37992
03277f8f
AS
379932012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37994
37995 [BZ #14132]
37996 * include/sys/socket.h (__connect_internal)
37997 (__libc_sa_len_internal): Remove declaration.
37998 (__connect, __libc_sa_len): Declare hidden_proto.
37999 (SA_LEN): Remove use of INTUSE.
38000 * socket/connect.c: Add libc_hidden_def.
38001 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38002 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38003 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38004 alias.
38005 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38006 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38007 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38008 of adding _internal alias.
38009
13764867
L
380102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 [BZ #14117]
6bd97696
L
38013 * sysdeps/i386/bits/link.h: Removed.
38014 * sysdeps/i386/bits/linkmap.h: Likewise.
38015 * sysdeps/x86_64/bits/link.h: Renamed to ...
38016 * sysdeps/x86/bits/link.h: This.
38017 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38018 * sysdeps/x86/bits/linkmap.h: This.
38019
f726f0bb
L
38020 * sysdeps/i386/bits/endian.h: Removed.
38021 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38022 * sysdeps/x86/bits/endian.h: This.
38023
13764867
L
38024 * sysdeps/i386/bits/byteswap.h: Removed.
38025 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38026 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38027 * sysdeps/x86/bits/byteswap.h: This.
38028 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38029 * sysdeps/x86/bits/byteswap-16.h: This.
38030 * sysdeps/i386/Implies: Add x86.
38031 * sysdeps/x86_64/Implies: Likewise.
38032
ae251b0b
DM
380332012-05-30 David S. Miller <davem@davemloft.net>
38034
38035 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38036 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38038 (FP_TRAPPING_EXCEPTIONS): Define.
38039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38040 (FP_TRAPPING_EXCEPTIONS): Define.
38041 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38042 subnormals only when inexact has been signalled or underflow
38043 exceptions are enabled.
38044 (_FP_PACK_CANONICAL): Likewise.
38045
d5c90867
L
380462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38047
38048 [BZ #14183]
38049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38050 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38051
63f1549e
RH
380522012-05-30 Richard Henderson <rth@twiddle.net>
38053
8d8f2279
RH
38054 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38055 with #ifndef NOT_IN_libc.
38056
63f1549e
RH
38057 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38058 marked to avoid plt entry.
38059
0ab0291b
L
380602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38061
38062 [BZ #14112]
38063 * Makeconfig (default-abi): New macro.
38064 (abi-includes): Likewise.
38065 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38066 $(abi-$(default-abi)-lib-soname) for soname if defined.
38067 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38068 abi-variants.
38069 * Makefile (installed-stubs): Likewise.
38070 * include/stubs-biarch.h: Removed.
38071 * scripts/lib-names.awk: Only handle one library at a time.
38072 * scripts/soversions.awk: Remove WORDSIZE support.
38073 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38074 entries.
38075 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38076 Removed.
38077 (syscall-list-default-condition): Likewise.
38078 (syscall-list-default-condition): Likewise.
38079 (syscall-list-includes): Likewise.
38080 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38081 syscall-list-* with abi-*. Handle undefined abi-variants.
38082 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38083 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38084 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38085 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38086 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38087 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38088 Removed.
38089 (syscall-list-32-options): Likewise.
38090 (syscall-list-32-condition): Likewise.
38091 (syscall-list-64-options): Likewise.
38092 (syscall-list-64-condition): Likewise.
38093 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38094 macro.
38095 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38096 Renamed to ...
38097 (abi-*): This.
38098 (abi-64-ld-soname): New macro.
38099 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38100 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38101 Renamed to ...
38102 (abi-*): This.
38103 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38104 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38105
4da0431d
JM
381062012-05-30 Joseph Myers <joseph@codesourcery.com>
38107
3a85279c
JM
38108 * sysdeps/unix/sysv/linux/kernel-features.h
38109 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38110 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38111 include <kernel-features.h>.
38112 [!__NR_ftruncate64]: Remove conditional code.
38113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38114 [__NR_ftruncate64]: Make code unconditional.
38115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38116 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38117 include <kernel-features.h>.
38118 [!__NR_ftruncate64]: Remove conditional code.
38119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38120 [__NR_ftruncate64]: Make code unconditional.
38121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38123 include <kernel-features.h>.
38124 [!__NR_ftruncate64]: Remove conditional code.
38125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38126 [__NR_ftruncate64]: Make code unconditional.
38127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38129 include <kernel-features.h>.
38130 [!__NR_ftruncate64]: Remove conditional code.
38131 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38132 [__NR_ftruncate64]: Make code unconditional.
38133 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38134
4da0431d
JM
38135 * configure.in (libc_cv_fpie): Weaken to a compile test using
38136 LIBC_TRY_CC_OPTION.
38137 * configure: Regenerated.
38138
11ef492c
AK
381392012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38140
38141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38145 Refreshed.
38146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38152 Refreshed.
38153
d66ef399
DM
381542012-05-27 David S. Miller <davem@davemloft.net>
38155
38156 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38157 (___Q_zero): New.
38158 (__Q_simulate_exceptions): Return void. Change to simulate
38159 exceptions by writing into the %fsr.
38160 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38161 (__Qp_handle_exceptions): Likewise.
38162 (numbers): Delete.
38163 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38164 __Qp_handle_exceptions.
38165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38166 __Qp_handle_exceptions.
38167 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38168 as unused and give dummy FP_RND_NEAREST initializer.
38169 (FP_INHIBIT_RESULTS): Define.
38170 (___Q_simulate_exceptions): Update declaration.
38171 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38172 formatting.
38173 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38174 as unused and give dummy FP_RND_NEAREST initializer.
38175 (__Qp_handle_exceptions): Update declaration.
38176 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38177 formatting.
38178
04fb54b5
TS
381792012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38180
38181 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38182 the temporary FPU control word.
38183 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38184 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38185 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38186 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38188 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38189 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38190 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38191 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38192 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38194
3f99608f
KK
381952012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38196
38197 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38198 fields.
38199
65a4de4e
CLT
382002012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38201
38202 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38203 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38204 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38205 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38206 Likewise.
38207 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38208 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38209 Likewise.
38210
15749d40
UD
382112012-05-27 Ulrich Drepper <drepper@gmail.com>
38212
38213 * po/h.po: Update from translation team.
38214
25dbcb27
AS
382152012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38216
3d3f8e55
AS
38217 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38218
25dbcb27
AS
38219 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38220 handling of denormals.
38221 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38222 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38223 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38228 Likewise.
38229
7ad47a80 382302012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38231
38232 [BZ #14152]
38233 * math/libm-test.inc (fma_test): Don't always expect underflow
38234 exception.
38235
9c6ea9fa
SP
382362012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38237
38238 [BZ #12416]
38239 * elf/tst-execstack.c: Include stackinfo.h.
38240 (do_test): Adjust test case to ensure that pthread_getattr_np
38241 behaviour remains the same after marking stack executable.
38242
a8239222
JM
382432012-05-25 Joseph Myers <joseph@codesourcery.com>
38244
38245 * sysdeps/unix/sysv/linux/kernel-features.h
38246 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38247 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38248 kernel-features.h.
38249 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38250 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38251 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38252 kernel-features.h.
38253 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38254 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38255
918b5606
L
382562012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38257
38258 * configure.in: Define the default includes to being none.
38259 * configure: Regenerated.
38260
3a097cc7
RM
382612012-05-25 Roland McGrath <roland@hack.frob.com>
38262
8422c9a5
RM
38263 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38264 * sysdeps/x86_64/setjmp.S: Likewise.
38265 * sysdeps/i386/bsd-setjmp.S: Likewise.
38266 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38267 * sysdeps/i386/setjmp.S: Likewise.
38268 * sysdeps/i386/__longjmp.S: Likewise.
38269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38270 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38271
3a097cc7
RM
38272 * include/stap-probe.h: New file.
38273 * configure.in: Handle --enable-systemtap.
38274 * configure: Regenerated.
38275 * config.h.in (USE_STAP_PROBE): New #undef.
38276 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38277 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38278 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38279
21708942
JM
382802012-05-25 Joseph Myers <joseph@codesourcery.com>
38281
38282 [BZ #13717]
38283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38284 to 2.4.0 where earlier.
38285 * sysdeps/unix/sysv/linux/configure: Regenerated.
38286 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38287 <kernel-features.h>.
38288 [__ASSUME_32BITUIDS]: Make code unconditional.
38289 [!__ASSUME_32BITUIDS]: Remove conditional code.
38290 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38291 <kernel-features.h>.
38292 [__ASSUME_32BITUIDS]: Make code unconditional.
38293 [!__ASSUME_32BITUIDS]: Remove conditional code.
38294 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38295 [__ASSUME_32BITUIDS]: Make code unconditional.
38296 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38297 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38298 <kernel-features.h>.
38299 [__ASSUME_32BITUIDS]: Make code unconditional.
38300 [!__ASSUME_32BITUIDS]: Remove conditional code.
38301 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38302 <kernel-features.h>.
38303 [__ASSUME_32BITUIDS]: Make code unconditional.
38304 [!__ASSUME_32BITUIDS]: Remove conditional code.
38305 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38306 <kernel-features.h>.
38307 [__ASSUME_32BITUIDS]: Make code unconditional.
38308 [!__ASSUME_32BITUIDS]: Remove conditional code.
38309 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38310 <kernel-features.h>.
38311 [__ASSUME_32BITUIDS]: Make code unconditional.
38312 [!__ASSUME_32BITUIDS]: Remove conditional code.
38313 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38314 <kernel-features.h>.
38315 [__ASSUME_32BITUIDS]: Make code unconditional.
38316 [!__ASSUME_32BITUIDS]: Remove conditional code.
38317 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38318 <kernel-features.h>.
38319 [__ASSUME_32BITUIDS]: Make code unconditional.
38320 [!__ASSUME_32BITUIDS]: Remove conditional code.
38321 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38322 <kernel-features.h>.
38323 [__ASSUME_32BITUIDS]: Make code unconditional.
38324 [!__ASSUME_32BITUIDS]: Remove conditional code.
38325 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38326 <kernel-features.h>.
38327 [__ASSUME_32BITUIDS]: Make code unconditional.
38328 [!__ASSUME_32BITUIDS]: Remove conditional code.
38329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38330 <kernel-features.h>.
38331 [__ASSUME_32BITUIDS]: Make code unconditional.
38332 [!__ASSUME_32BITUIDS]: Remove conditional code.
38333 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38334 <kernel-features.h>.
38335 [__ASSUME_32BITUIDS]: Make code unconditional.
38336 [!__ASSUME_32BITUIDS]: Remove conditional code.
38337 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38338 <kernel-features.h>.
38339 [__NR_setresgid] (__setresgid): Do not declare.
38340 [__ASSUME_32BITUIDS]: Make code unconditional.
38341 [!__ASSUME_32BITUIDS]: Remove conditional code.
38342 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38343 <kernel-features.h>.
38344 [__NR_setresuid] (__setresuid): Do not declare.
38345 [__ASSUME_32BITUIDS]: Make code unconditional.
38346 [!__ASSUME_32BITUIDS]: Remove conditional code.
38347 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38348 <kernel-features.h>.
38349 [__ASSUME_32BITUIDS]: Make code unconditional.
38350 [!__ASSUME_32BITUIDS]: Remove conditional code.
38351 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38352 <kernel-features.h>.
38353 [__ASSUME_32BITUIDS]: Make code unconditional.
38354 [!__ASSUME_32BITUIDS]: Remove conditional code.
38355 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38356 <kernel-features.h>.
38357 [__ASSUME_32BITUIDS]: Make code unconditional.
38358 [!__ASSUME_32BITUIDS]: Remove conditional code.
38359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38360 <kernel-features.h>.
38361 [__ASSUME_32BITUIDS]: Make code unconditional.
38362 [!__ASSUME_32BITUIDS]: Remove conditional code.
38363 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38364 <kernel-features.h>.
38365 [__ASSUME_32BITUIDS]: Make code unconditional.
38366 [!__ASSUME_32BITUIDS]: Remove conditional code.
38367 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38368 <kernel-features.h>.
38369 [__ASSUME_32BITUIDS]: Make code unconditional.
38370 [!__ASSUME_32BITUIDS]: Remove conditional code.
38371 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38372 <kernel-features.h>.
38373 [__ASSUME_32BITUIDS]: Make code unconditional.
38374 [!__ASSUME_32BITUIDS]: Remove conditional code.
38375 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38376 <kernel-features.h>.
38377 [__ASSUME_32BITUIDS]: Make code unconditional.
38378 [!__ASSUME_32BITUIDS]: Remove conditional code.
38379 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38380 <kernel-features.h>.
38381 [__ASSUME_32BITUIDS]: Make code unconditional.
38382 [!__ASSUME_32BITUIDS]: Remove conditional code.
38383 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38384 <kernel-features.h>.
38385 [__ASSUME_32BITUIDS]: Make code unconditional.
38386 [!__ASSUME_32BITUIDS]: Remove conditional code.
38387 * sysdeps/unix/sysv/linux/kernel-features.h
38388 (__ASSUME_SETRESUID_SYSCALL): Remove.
38389 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38390 (__ASSUME_32BITUIDS): Likewise.
38391 (__ASSUME_LDT_WORKS): Likewise.
38392 (__ASSUME_O_DIRECTORY): Likewise.
38393 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38394 architecture but not kernel version.
38395 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38396 (__ASSUME_MMAP2_SYSCALL): Likewise.
38397 (__ASSUME_STAT64_SYSCALL): Likewise.
38398 (__ASSUME_IPC64): Likewise.
38399 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38400 <kernel-features.h>.
38401 [__ASSUME_32BITUIDS]: Make code unconditional.
38402 [!__ASSUME_32BITUIDS]: Remove conditional code.
38403 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38404 <kernel-features.h>.
38405 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38406 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38407 132096]: Remove conditional code.
38408 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38409 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38410 <kernel-features.h>.
38411 [__ASSUME_32BITUIDS]: Make code unconditional.
38412 [!__ASSUME_32BITUIDS]: Remove conditional code.
38413 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38414 <kernel-features.h>.
38415 [__ASSUME_32BITUIDS]: Make code unconditional.
38416 [!__ASSUME_32BITUIDS]: Remove conditional code.
38417 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38418 <kernel-features.h>.
38419 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38420 unconditional.
38421 (__setresgid): Do not declare.
38422 [__ASSUME_32BITUIDS]: Make code unconditional.
38423 [!__ASSUME_32BITUIDS]: Remove conditional code.
38424 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38425 <kernel-features.h>.
38426 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38427 unconditional.
38428 (__setresuid): Do not declare.
38429 [__ASSUME_32BITUIDS]: Make code unconditional.
38430 [!__ASSUME_32BITUIDS]: Remove conditional code.
38431 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38432 <kernel-features.h>.
38433 [__ASSUME_32BITUIDS]: Make code unconditional.
38434 [!__ASSUME_32BITUIDS]: Remove conditional code.
38435 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38436 <kernel-features.h>.
38437 [__ASSUME_32BITUIDS]: Make code unconditional.
38438 [!__ASSUME_32BITUIDS]: Remove conditional code.
38439
a386f1cc
RH
384402012-05-25 Richard Henderson <rth@twiddle.net>
38441
38442 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38443 dl_hwcap to ifunc resolver.
38444 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38445 elf_ifunc_invoke.
38446 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38447 dl_hwcap to ifunc resolver.
38448 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38449
b6550497
JM
384502012-05-24 Joseph Myers <joseph@codesourcery.com>
38451
38452 [BZ #14153]
38453 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38454 for |x| <= 2**-26, not 2**-57.
38455 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38456 exception.
38457
b0bc23a1
JL
384582012-05-24 Jeff Law <law@redhat.com>
38459
38460 * stdio-common/Makefile (tests): Add bug25.
38461 * stdio-common/bug25.c: New test.
38462
347c92e9
L
384632012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38464
38465 [BZ #13576]
38466 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38467 multiple of MALLOC_ALIGNMENT in size.
38468 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38469
6bcc8b3f
JM
384702012-05-24 Joseph Myers <joseph@codesourcery.com>
38471
38472 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38473 Require >= 256.
38474 (FILENAME_MAX): Use macro-int-constant.
38475 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38476 (_IOFBF): Use macro-int-constant.
38477 (_IOLBF): Likewise.
38478 (_IONBF): Likewise.
38479 (SEEK_CUR): Likewise.
38480 (SEEK_END): Likewise.
38481 (SEEK_SET): Likewise.
38482 (TMP_MAX): Likewise.
38483 (EOF): Use macro-int-constant. Require < 0.
38484 (NULL): Use macro-constant. Require == 0.
38485 (stdin): Require type to be FILE *.
38486 (stdout): Likewise.
38487 (stderr): Likewise.
38488 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38489 macro-int-constant.
38490 (EXIT_SUCCESS): Likewise.
38491 (NULL): Use macro-constant. Require == 0.
38492 (RAND_MAX): Use macro-int-constant.
38493 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38494 [C99-based standards] (strtof): Require function.
38495 [C99-based standards] (strtold): Likewise.
38496 [C99-based standards] (strtoll): Likewise.
38497 [C99-based standards] (strtoull): Likewise.
38498 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38499 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38500 [ISO || ISO99 || ISO11] (math.h): Likewise.
38501 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38502 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38504
d18ea0c5
AS
385052012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38506
38507 [BZ #14132]
56d25bb8
AS
38508 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38509 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38510 * intl/dgettext.c (DCGETTEXT): Likewise.
38511 * intl/gettext.c (DCGETTEXT): Likewise.
38512 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38513 * posix/regex_internal.h (gettext): Likewise.
38514 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38515 Remove declaration.
38516 * include/argz.h (__argz_count_internal)
38517 (__argz_stringify_internal): Remove declaration.
38518 (__argz_count, __argz_stringify): Declare hidden proto.
38519 * intl/dcgettext.c: Remove use of INTDEF.
38520 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38521 * string/argz-stringify.c: Likewise.
38522 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38523 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38524 Declare hidden proto.
d18ea0c5
AS
38525 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38526 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38527 Declare hidden proto.
38528 * include/stdio.h (__asprintf_internal): Don't declare.
38529 (__asprintf): Don't define as macro. Declare hidden proto.
38530 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38531 (__fsetlocking): Declare hidden proto.
38532 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38533 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38534 hidden proto.
38535 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38536 (_IO_setlinebuf): Remove use of INTUSE.
38537 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38538 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38539 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38540 Remove declaration.
38541 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38542 (_IO_do_flush): Remove use of INTUSE.
38543 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38544 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38545 (_IO_adjust_column, _IO_least_wmarker)
38546 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38547 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38548 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38549 (_IO_default_doallocate, _IO_wdefault_doallocate)
38550 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38551 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38552 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38553 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38554 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38555 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38556 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38557 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38558 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38559 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38560 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38561 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38562 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38563 proto.
38564 (_IO_flush_all_internal, _IO_adjust_column_internal)
38565 (_IO_default_uflow_internal, _IO_default_finish_internal)
38566 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38567 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38568 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38569 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38570 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38571 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38572 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38573 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38574 (_IO_file_close_internal, _IO_file_close_it_internal)
38575 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38576 (_IO_file_init_internal, _IO_file_attach_internal)
38577 (_IO_file_fopen_internal, _IO_file_read_internal)
38578 (_IO_file_sync_internal, _IO_file_seek_internal)
38579 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38580 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38581 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38582 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38583 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38584 (_IO_list_all_internal, _IO_link_in_internal)
38585 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38586 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38587 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38588 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38589 (_IO_do_write_internal, _IO_padn_internal)
38590 (_IO_getline_info_internal, _IO_getline_internal)
38591 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38592 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38593 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38594 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38595 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38596 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38597 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38598 with libc_hidden_ver, remove use of INTUSE.
38599 * libio/genops.c: Likewise.
38600 * libio/freopen.c: Likewise.
38601 * libio/freopen64.c: Likewise.
38602 * libio/iofclose.c: Likewise.
38603 * libio/iofdopen.c: Likewise.
38604 * libio/iofflush.c: Likewise.
38605 * libio/iofflush_u.c: Likewise.
38606 * libio/iofgets.c: Likewise.
38607 * libio/iofgets_u.c: Likewise.
38608 * libio/iofopen.c: Likewise.
38609 * libio/iofopncook.c: Likewise.
38610 * libio/iofread.c: Likewise.
38611 * libio/iofread_u.c: Likewise.
38612 * libio/ioftell.c: Likewise.
38613 * libio/iofwrite.c: Likewise.
38614 * libio/iogetline.c: Likewise.
38615 * libio/iogets.c: Likewise.
38616 * libio/iogetwline.c: Likewise.
38617 * libio/iopadn.c: Likewise.
38618 * libio/iopopen.c: Likewise.
38619 * libio/ioseekoff.c: Likewise.
38620 * libio/ioseekpos.c: Likewise.
38621 * libio/iosetbuffer.c: Likewise.
38622 * libio/iosetvbuf.c: Likewise.
38623 * libio/ioungetc.c: Likewise.
38624 * libio/ioungetwc.c: Likewise.
38625 * libio/iovdprintf.c: Likewise.
38626 * libio/iovsprintf.c: Likewise.
38627 * libio/iovsscanf.c: Likewise.
38628 * libio/memstream.c: Likewise.
38629 * libio/obprintf.c: Likewise.
38630 * libio/oldfileops.c: Likewise.
38631 * libio/oldiofclose.c: Likewise.
38632 * libio/oldiofdopen.c: Likewise.
38633 * libio/oldiofopen.c: Likewise.
38634 * libio/oldiopopen.c: Likewise.
38635 * libio/oldstdfiles.c: Likewise.
38636 * libio/putc.c: Likewise.
38637 * libio/setbuf.c: Likewise.
38638 * libio/setlinebuf.c: Likewise.
38639 * libio/stdfiles.c: Likewise.
38640 * libio/strops.c: Likewise.
38641 * libio/vasprintf.c: Likewise.
38642 * libio/vscanf.c: Likewise.
38643 * libio/vsnprintf.c: Likewise.
38644 * libio/vswprintf.c: Likewise.
38645 * libio/wfiledoalloc.c: Likewise.
38646 * libio/wfileops.c: Likewise.
38647 * libio/wgenops.c: Likewise.
38648 * libio/wmemstream.c: Likewise.
38649 * libio/wstrops.c: Likewise.
38650 * libio/__fpurge.c: Likewise.
38651 * libio/__fsetlocking.c: Likewise.
38652 * assert/assert.c: Likewise.
38653 * debug/fgets_chk.c: Likewise.
38654 * debug/fgets_u_chk.c: Likewise.
38655 * debug/fread_chk.c: Likewise.
38656 * debug/fread_u_chk.c: Likewise.
38657 * debug/gets_chk.c: Likewise.
38658 * debug/obprintf_chk.c: Likewise.
38659 * debug/vasprintf_chk.c: Likewise.
38660 * debug/vdprintf_chk.c: Likewise.
38661 * debug/vsnprintf_chk.c: Likewise.
38662 * debug/vsprintf_chk.c: Likewise.
38663 * malloc/mtrace.c: Likewise.
38664 * misc/error.c: Likewise.
38665 * misc/syslog.c: Likewise.
38666 * stdio-common/asprintf.c: Likewise.
38667 * stdio-common/fxprintf.c: Likewise.
38668 * stdio-common/getw.c: Likewise.
38669 * stdio-common/isoc99_fscanf.c: Likewise.
38670 * stdio-common/isoc99_scanf.c: Likewise.
38671 * stdio-common/isoc99_vfscanf.c: Likewise.
38672 * stdio-common/isoc99_vscanf.c: Likewise.
38673 * stdio-common/isoc99_vsscanf.c: Likewise.
38674 * stdio-common/printf-prs.c: Likewise.
38675 * stdio-common/printf_fp.c: Likewise.
38676 * stdio-common/printf_fphex.c: Likewise.
38677 * stdio-common/printf_size.c: Likewise.
38678 * stdio-common/putw.c: Likewise.
38679 * stdio-common/scanf.c: Likewise.
38680 * stdio-common/sprintf.c: Likewise.
38681 * stdio-common/tmpfile.c: Likewise.
38682 * stdio-common/vfprintf.c: Likewise.
38683 * stdio-common/vfscanf.c: Likewise.
38684 * stdlib/strfmon_l.c: Likewise.
38685 * sunrpc/openchild.c: Likewise.
38686 * sunrpc/xdr_stdio.c: Likewise.
38687 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38688 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38689
d6c33fda
RM
386902012-05-24 Roland McGrath <roland@hack.frob.com>
38691
c1487492
RM
38692 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38693
38694 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38695 in the third column, to generate for the shared library an IFUNC
38696 that uses _dl_vdso_vsym.
38697 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38698 * Makeconfig (object-suffixes-noshared): New variable.
38699
38700 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38701 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38702 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38703 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38704
d6c33fda
RM
38705 [BZ #14132]
38706 * include/sys/time.h (__gettimeofday): Remove macro.
38707 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38708 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38709 Remove INTDEF.
38710 (__gettimeofday): Add libc_hidden_def.
38711 (gettimeofday): Add libc_hidden_weak.
38712 * sysdeps/mach/gettimeofday.c: Likewise.
38713 * sysdeps/posix/gettimeofday.c: Likewise.
38714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38715 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38716 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38717 (__gettimeofday_internal): Remove strong_alias.
38718 (__gettimeofday): Add libc_hidden_def.
38719 (gettimeofday): Add libc_hidden_weak.
38720 * sysdeps/unix/syscalls.list (gettimeofday):
38721 Remove __gettimeofday_internal alias.
38722
b5a2bbe6
L
387232012-05-24 Daniel Jacobowitz <drow@false.org>
38724 H.J. Lu <hongjiu.lu@intel.com>
38725
38726 [BZ #12495]
38727 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38728 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38729 (largebin_index_32_big): New.
38730 (largebin_index): Use it for 16-byte alignment.
38731 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38732 correction with front_misalign.
38733
cfba4fda
L
387342012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38735
7f907421
L
38736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38738 Likewise.
38739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38740 Likewise.
38741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38742 Likewise.
38743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38744 Likewise.
38745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38746 Likewise.
38747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38748 Likewise.
38749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38750 Likewise.
38751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38752 Likewise.
38753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38754 Likewise.
38755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38756 Likewise.
38757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38758 Likewise.
38759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38760 Likewise.
38761
cfba4fda
L
38762 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38763 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38764
80bad0cc
JM
387652012-05-24 Joseph Myers <joseph@codesourcery.com>
38766
7a25eb06
JM
38767 [BZ #10846]
38768 [BZ #14036]
38769 * math/libm-test.inc (exp_test): Add test from bug 14036.
38770 (pow_test): Add test from bug 10846.
38771
795405f9
JM
38772 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38773 and other flags.
38774 (special_function): Do not include flags in test name.
38775 (parse_args): Likewise.
38776 * sysdeps/i386/fpu/libm-test-ulps: Update.
38777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38779 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38781
80bad0cc
JM
38782 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38783 exceptions.
38784 * math/libm-test.inc ("Philosophy"): Update comment about
38785 exception testing.
38786 (UNDERFLOW_EXCEPTION): New macro.
38787 (UNDERFLOW_EXCEPTION_OK): Likewise.
38788 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38789 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38790 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38791 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38792 (INVALID_EXCEPTION_OK): Update value.
38793 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38794 (OVERFLOW_EXCEPTION_OK): Likewise.
38795 (IGNORE_ZERO_INF_SIGN): Likewise.
38796 (test_exceptions): Handle underflow exceptions.
38797 (acos_test): Update for underflow exception expectations.
38798 (cexp_test): Likewise.
38799 (clog_test): Likewise.
38800 (clog10_test): Likewise.
38801 (csqrt_test): Likewise.
38802 (ctan_test): Likewise.
38803 (ctanh_test): Likewise.
38804 (exp_test): Likewise.
38805 (exp10_test): Likewise.
38806 (exp2_test): Likewise.
38807 (expm1_test): Likewise.
38808 (fma_test): Likewise.
38809 (j0_test): Likewise.
38810 (jn_test): Likewise.
38811 (nexttoward_test): Likewise.
38812 (pow_test): Likewise.
38813 (scalbn_test): Likewise.
38814 (scalbln_test): Likewise.
38815 (tan_test): Likewise.
38816 (y1_test): Likewise.
38817 * sysdeps/i386/fpu/libm-test-ulps: Update.
38818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38819
9e0e3d0b
DM
388202012-05-23 David S. Miller <davem@davemloft.net>
38821
38822 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38823 (__libc_sigaction): Remove unused local variables.
38824
ccd0a08f
L
388252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38826
38827 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38828
62bdf9a6
PE
388292012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38830
f8591f80
PE
38831 mktime: avoid signed integer overflow
38832 * time/mktime.c (__mktime_internal): Do not mishandle the case
38833 where diff == INT_MIN.
38834
94c7d826
PE
38835 mktime: simplify computation of average
38836 * time/mktime.c (ranged_convert): Use new time_t_avg function
38837 instead of rolling our own (probably-slower) code.
38838
ce73d683
PE
38839 mktime: do not assume signed right shift propagates sign bit
38840 * time/mktime.c (isdst_differ): New static function.
38841 (__mktime_internal): No need to normalize tm_isdst now.
38842 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38843 tm_isdst values.
38844
72a22e59
PE
38845 mktime: merge another wrapv change from gnulib
38846 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38847 from some compilers.
38848
68605433
PE
38849 mktime: remove incorrect attempt at unusual arithmetics
38850 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38851 The code didn't really work on such machines anyway.
38852 (TYPE_MINIMUM): Assume two's complement.
38853 (twos_complement_arithmetic): Verify that long_int and time_t
38854 are two's complement (or unsigned, in the latter case).
38855
03cf7fe3
PE
38856 mktime: check signed shifts on long_int and time_t, too
38857 * time/mktime.c (SHR): Check that shifts work as desired
38858 on the types long_int and time_t too, as SHR is used on
38859 such types.
38860
f04dfbc2
PE
38861 mktime: do not assume 'long' is wide enough
38862 * time/mktime.c (verify): Move decl up.
38863 (long_int): New type.
38864 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38865 to remove assumption in the code that 'long' is wide enough to
38866 store year values. This assumption is not true on x32 and on
38867 some non-glibc platforms.
38868
62bdf9a6
PE
38869 mktime: merge wrapv change from gnulib
38870 * time/mktime.c (WRAPV): New macro.
38871 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38872 (guess_time_tm, __mktime_internal): Do not assume that signed
38873 integer overflow wraps around; modern compilers generate code
38874 where this assumption is no longer valid.
38875
5e292e4f
L
388762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38877
38878 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38879 Replace "jmp L(pseudo_end)" with "ret".
38880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38881 Likewise.
38882
8caf8c87
AJ
388832012-05-23 Andreas Jaeger <aj@suse.de>
38884
38885 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38886 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38887
1a09dc56
AJ
388882012-05-23 Andreas Jaeger <aj@suse.de>
38889 Maximilian Attems <max@stro.at>
38890
38891 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38892 New macros.
38893
1c87aba0
L
388942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38897 code so that pseudo_end is just ret and the stack pointer is
38898 correct also for static library in error case.
38899
40e45bd5
JM
389002012-05-23 Joseph Myers <joseph@codesourcery.com>
38901
c2670533
JM
38902 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38903 move to syscalls.list.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38908
40e45bd5
JM
38909 * manual/install.texi (Running make install): Do not mention Linux
38910 kernel version for which pt_chown is not needed.
38911 (Linux): Do not mention problems with nscd with 2.0 kernels.
38912 * INSTALL: Regenerated.
38913
be08eda5
AJ
389142012-05-23 Andreas Jaeger <aj@suse.de>
38915
38916 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38917 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38918 macro.
38919 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38921 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38922 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38923 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38924 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38925 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38927 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38929 * sysdeps/unix/sysv/linux/bits/in.h
38930 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38931
a6a056bb
RM
389322012-05-22 Roland McGrath <roland@hack.frob.com>
38933
38934 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38935 (PREPARE_VERSION): Just use assert instead, it will be elided
38936 under [NDEBUG] anyway.
38937
c9009328
L
389382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38939
38940 * sysdeps/unix/sysv/linux/Makefile: Include
38941 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38942 (sysdep_routines): Remove sysctl.
c9009328
L
38943 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38944 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38945 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38946 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38947 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38948
73338355
AJ
389492012-05-22 Andreas Jaeger <aj@suse.de>
38950
38951 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38952 that pseudo_end is just ret and the stack pointer is correct also
38953 for static library in error case.
38954
d44638b0
PP
389552012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38956
38957 [BZ #14122]
38958 * nss/nsswitch.c (defconfig_entries): New variable.
38959 (__nss_database_lookup): Don't leak defconfig entries.
38960 (nss_parse_service_list): Don't leak on error paths.
38961 (free_database_entries): New function.
38962 (free_defconfig): New function.
38963 (free_mem): Move common code to free_database_entries.
38964
31a39bd8
L
389652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38966
da0331a8
L
38967 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38968 Add arch_prctl.
38969 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38970
31a39bd8
L
38971 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38972 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38974 New macro.
38975 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38976 (INTERNAL_SYSCALL_TYPES): Likewise.
38977 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38978 (LOAD_REGS_TYPES_[1-6]): Likewise.
38979 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38980 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38981
45470df3
AZ
389822012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38983
38984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38985 copysignl for GLIBC_2_0.
38986 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38987 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38988 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38989 logbl for GLIBC_2_0.
38990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38991 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38992
98a61bcb
L
389932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38994
a4f6e481
L
38995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38996 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38997
f63d5db6
L
38998 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38999 Use "neg %eax".
39000
98a61bcb
L
39001 * time/mktime.c: Update copyright years.
39002
95770f14
PE
390032012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39004
6226efbd
PE
39005 mktime: merge comment-quoting-style change from gnulib
39006 * time/mktime.c: Quote 'like this' in comments.
39007 The GNU coding standards suggest that we no longer quote `like this',
39008 as "`" and "'" are typically rendered asymmetrically nowadays.
39009 The typical gnulib style is to quote 'like this' when quoting
39010 code, and "like this" when quoting English.
39011
b99e4f78
PE
39012 * time/mktime.c (compile-command): Add "-I.".
39013
643e01e6
PE
39014 mktime: merge mktime-internal.h change from gnulib
39015 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39016
2554247d
PE
39017 mktime: merge time_r change from gnulib
39018 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39019
826dd0ab
PE
39020 mktime: merge DEBUG change from gnulib
39021 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39022 case system <time.h> has a #define.
39023
bd83aabe
PE
39024 mktime: merge <sys/types.h> change from gnulib
39025 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39026 since <time.t> is now guaranteed to define time_t.
39027
95770f14
PE
39028 mktime: merge HAVE_CONFIG_H change from gnulib
39029 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39030
5e1a27a9
L
390312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39032
0e44a77e
L
39033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39034 Use "neg %eax".
39035
5e1a27a9
L
39036 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39037 __rlim_t cast.
39038 (struct rusage): Use anonymous union to pad each field to
39039 __syscall_slong_t.
39040
46259bec
DM
390412012-05-21 David S. Miller <davem@davemloft.net>
39042
39043 * Makefules (o-iterator): Remove .s cases.
39044 (compile-command.s): Delete.
39045 (COMPILE.s): Delete.
39046 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39047
59f0c22e
JM
390482012-05-21 Joseph Myers <joseph@codesourcery.com>
39049
39050 * configure.in (libc_cv_predef_stack_protector): Only consider
39051 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39052 * configure: Regenerated.
39053
20c07380
L
390542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39055
bbb3154b
L
39056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39057 New macro. Use R*LP on int and pointer.
39058 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
39059 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39060 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
39061 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39062
20c07380
L
39063 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39064 [__WORDSIZE_TIME64_COMPAT32] instead of
39065 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39066 (struct utmp): Likewise.
39067 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39068 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39069 Renamed to ...
39070 (__WORDSIZE_TIME64_COMPAT32): This.
39071 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39072 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39073 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39074 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39075 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39076 (__WORDSIZE_TIME64_COMPAT32): New macro.
39077
d8d1017e
AJ
390782012-05-21 Andreas Jaeger <aj@suse.de>
39079
39080 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39081 only if [SHARED]. Add prototype for __wcschr_ia32.
39082
6c7fb145
RM
390832012-05-21 Roland McGrath <roland@hack.frob.com>
39084
39085 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39086 of %rbp unmolested in the jmp_buf while mangling the low bits.
39087 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39088 unmolested high bits of %rbp while demangling the low bits.
39089 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39090
66274218
AJ
390912012-05-21 Andreas Jaeger <aj@suse.de>
39092
07c58f8f
AJ
39093 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39094 * sunrpc/svc_simple.c: Use it for registerrpc.
39095 * sunrpc/xcrypt.c: Use it for passwd2des.
39096
66274218
AJ
39097 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39098
61f65140
L
390992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39100
39101 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39102 Don't define if [__SYSCALL_WORDSIZE != 32].
39103 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39104 New macro.
39105
5fefb436
AJ
391062012-05-21 Bruno Haible <bruno@clisp.org>
39107 Andreas Jaeger <aj@suse.de>
39108
39109 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39110 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39111 inptr and inend for must_buffer_ch.
39112 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39113 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39114 * stdio-common/Makefile (tests): Remove bug15.
39115 (bug15-ENV): Remove macro.
39116 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39117 anymore.
39118
d8e272ab
AJ
391192012-05-19 Andreas Jaeger <aj@suse.de>
39120 Roland McGrath <roland@hack.frob.com>
39121
39122 * manual/contrib.texi: Completely rewritten. It contains now an
39123 alphabetical list of contributors and their contributions.
39124
4a56a162
RH
391252012-05-21 Richard Henderson <rth@twiddle.net>
39126
39127 * misc/getauxval.c (__getauxval): Use unsigned long int.
39128 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39129 (getauxval): Use unsigned long int.
39130
d024d23c
L
391312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39132
39133 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39134
cbc00a03
RM
391352012-05-21 Roland McGrath <roland@hack.frob.com>
39136
39137 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39138 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39139 __alignof__ (long double).
39140
478143fa
AZ
391412012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39142
39143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39144
c7683a6d
RH
391452012-05-20 Richard Henderson <rth@twiddle.net>
39146
39147 * misc/getauxval.c: New file.
39148 * misc/sys/auxv.h: New file.
39149 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39150 (routines): Add getauxval.
39151 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39152 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39153 * elf/dl-sysdep.c (_dl_auxv): Remove.
39154 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39155 * elf/dl-support.c (_dl_auxv): New variable.
39156 (_dl_aux_init): Initialize it.
39157 * manual/startup.texi (Auxiliary Vector): New node.
39158 * sysdeps/generic/bits/hwcap.h: New file.
39159 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39160 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39161 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39162 * sysdeps/sparc/sysdep.h: ... here. Include it.
39163 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39164 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39166 Update.
c7683a6d
RH
39167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39170 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39175
a6f1845d
AZ
391762012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39177
39178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39179
cbcbe830
DM
391802012-05-19 David S. Miller <davem@davemloft.net>
39181
39182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39183
e0b16cc2
JM
391842012-05-19 Joseph Myers <joseph@codesourcery.com>
39185
39186 [BZ #14123]
39187 * math/s_ccosh.c: Include <float.h>
39188 (__ccosh): Avoid internal overflow calculating sinh and cosh
39189 values before multiplying by sin and cos values.
39190 * math/s_ccoshf.c: Likewise.
39191 * math/s_ccoshl.c: Likewise.
39192 * math/s_csin.c: Likewise.
39193 * math/s_csinf.c: Likewise.
39194 * math/s_csinl.c: Likewise.
39195 * math/s_csinh.c: Likewise.
39196 * math/s_csinhf.c: Likewise.
39197 * math/s_csinhl.c: Likewise.
39198 * math/libm-test.inc (ccos_test): Add more tests.
39199 (ccosh_test): Likewise.
39200 (csin_test): Likewise.
39201 (csinh_test): Likewise.
39202 * sysdeps/i386/fpu/libm-test-ulps: Update.
39203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39204
6ad13e08
L
392052012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39206
f66f0ce8
L
39207 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39208 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39209
6ad13e08
L
39210 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39211
b1d072a7
JM
392122012-05-19 Joseph Myers <joseph@codesourcery.com>
39213
39214 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39215 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39216 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39217 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39218 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39219 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39220 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39221 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39222 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39223 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39224 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39225 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39226 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39227 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39228 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39229 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39230 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39231 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39232 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39233 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39234 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39235 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39236 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39237 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39238 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39239 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39240 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39241 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39242 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39243 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39244 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39245
9eae47cb
AJ
392462012-05-18 Andreas Jaeger <aj@suse.de>
39247
39248 * csu/.gitignore: Delete.
39249
bb07f69f
L
392502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39251
39252 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39253 (timex): Use __syscall_slong_t.
39254
e6bdb741
AJ
392552012-05-18 Andreas Jaeger <aj@suse.de>
39256 Carlos O'Donell <carlos_odonell@mentor.com>
39257
39258 * manual/install.texi (Configuring and compiling): Update
39259 description about files modified in the source directory.
d6c33fda 39260 * INSTALL: Regenerated.
e6bdb741 39261
1b74487e
L
392622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39263
39264 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39265 value. Use "or" to set return value to -1.
39266 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39267 negate return value.
39268
a88b64b9
TMQMF
392692012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39270
57f41c40
AS
39271 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39272 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39273 failure if the compiler has Graphite support disabled.
39274 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39275 Likewise.
57f41c40
AS
39276 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39277 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39278 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39279 Likewise.
39280
3707636e
L
392812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39282
610b8622
L
39283 * sysdeps/x86_64/x32/_itoa.h: New file.
39284
7cd195df
L
39285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39286 getdents system call only if kernel and user dirents have the
39287 same d_ino and d_off.
39288
94b07d20
L
39289 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39290 LLONG_MAX != LONG_MAX.
39291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39292 (_fitoa_word): Likewise.
39293
18298070
L
39294 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39295 years.
39296 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39297 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39298 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39299
553c7ea4
L
39300 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39301 include <bits/wordsize.h>. Check __x86_64__ instead of
39302 __WORDSIZE.
39303 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39304 if __x86_64__ is defined. Use anonymous union on fpstate.
39305
3707636e
L
39306 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39307 anonymous union.
39308
b53ef01a
AS
393092012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39310
37fb1dc0
AS
39311 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39312 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39313 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39314 Refer to _rtld_local_ro instead of _rtld_global_ro.
39315 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39316 Likewise.
39317 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39318 Likewise.
39319 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39320 Likewise.
39321 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39322 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39323 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39324
b53ef01a
AS
39325 * sysdeps/powerpc/powerpc32/dl-machine.c
39326 (__elf_machine_runtime_setup) [PROF]: Don't reference
39327 _dl_prof_resolve.
39328
7a185db2
AJ
393292012-05-18 Andreas Jaeger <aj@suse.de>
39330
39331 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39332 function only available for GCCs before 3.4 since GCC 3.4
39333 introduced a builtin.
39334 (lrint): Likewise.
39335 (llrintf): Likewise.
39336 (llrint): Likewise.
39337 (fmaxf): Likewise.
39338 (fmax): Likewise.
39339 (fminf): Likewise.
39340 (fmin): Likewise.
39341 (rint): Likewise.
39342 (rintf): Likewise.
39343 (nearbyint): Likewise.
39344 (nearbyintf): Likewise.
39345 (ceil): Likewise.
39346 (ceilf): Likewise.
39347 (floor): Likewise.
39348 (floorf): Likewise.
39349
3e5aef87
L
393502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39351
428bd707
L
39352 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39353 on both fields and cast pointer to __syscall_ulong_t.
39354
3e5aef87
L
39355 * bits/types.h (__fsword_t): New type.
39356 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39357 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39358 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39359 (__FSWORD_T_TYPE): Likewise.
39360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39361 (__FSWORD_T_TYPE): Likewise.
39362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39363 (__FSWORD_T_TYPE): Likewise.
39364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39365 (__FSWORD_T_TYPE): Likewise.
39366 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39367 __SWORD_TYPE with __fsword_t.
39368 (statfs64): Likewise.
39369
1ba7c3dc
DM
393702012-05-17 David S. Miller <davem@davemloft.net>
39371
39372 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39373
59910343
AJ
393742012-05-17 Andreas Jaeger <aj@suse.de>
39375
39376 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39377 warning.
39378
2e4c1e9e
L
393792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39380
39381 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39382
de7f5ce7
AJ
393832012-05-17 Andreas Jaeger <aj@suse.de>
39384
39385 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39386 when it is used.
39387
286abc3d
CM
393882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39389
39390 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39391
477cc68e
L
393922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39393
39394 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39395 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39396
1a0994f5
CD
393972012-05-17 Andreas Jaeger <aj@suse.de>
39398 Carlos O'Donell <carlos_odonell@mentor.com>
39399
39400 [BZ #14059]
39401 * sysdeps/x86_64/multiarch/init-arch.h
39402 (bit_YMM_Usable): Rename to...
39403 (bit_AVX_Usable): ... this.
39404 (bit_FMA4_Usable): New macro.
39405 (bit_XMM_state): New macro.
39406 (bit_YMM_state): New macro.
39407 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39408 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39409 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39410 (CPUID_OSXSAVE): New macro.
39411 (CPUID_AVX): New macro.
39412 (CPUID_FMA4): New macro.
39413 (index_YMM_Usable): Rename to...
39414 (index_AVX_Usable): ... this.
39415 (HAS_AVX): Use HAS_ARCH_FEATURE.
39416 (HAS_FMA4): Likewise.
39417 (HAS_YMM_USABLE): Remove.
39418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39419 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39420 are present.
39421 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39422 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39423 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39424 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39425 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39426
0af797de
CM
394272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39428
39429 * math/libm-test.c: Support platforms without multiple rounding modes.
39430 * math/bug-nextafter.c: Support platforms without FP exceptions.
39431 * math/bug-nexttoward.c: Likewise.
39432 * math/test-fenv.c: Likewise.
39433 * math/test-misc.c: Likewise.
39434 * stdlib/bug-getcontext.c: Likewise.
39435
e39745ff
AJ
394362012-05-17 Andreas Jaeger <aj@suse.de>
39437
39438 * manual/examples/search.c (critter_cmp): Change signature to
39439 avoid warnings.
39440 * manual/string.texi (Collation Functions): Likewise.
39441
48970aba
L
394422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39443
39444 * bits/types.h: Fold copyright years.
39445 * bits/typesizes.h: Likewise.
39446 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39447 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39450 * time/time.h: Likewise.
39451
bedee953
PP
394522012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39453
39454 [BZ #208]
39455 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39456 in instead of returning them. Return void.
39457 (__libc_mallinfo): Accumulate over all arenas.
39458 (__malloc_stats): Adjust for change in int_mallinfo interface.
39459
61653dfb
RM
394602012-05-16 Roland McGrath <roland@hack.frob.com>
39461
30b99d79
RM
39462 [BZ #10375]
39463 * configure.in (NM): Add AC_CHECK_TOOL for it.
39464 (libc_extra_cflags): New substituted variable.
39465 Check for -fstack-protector being used implicitly.
39466 * configure: Regenerated.
39467 * config.make.in (config-extra-cflags): New variable,
39468 gets @libc_extra_cflags@.
39469 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39470
61653dfb
RM
39471 [BZ #10375]
39472 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39473 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39474 * configure: Regenerated.
39475 * config.make.in (CPPUNDEFS): New substituted variable.
39476 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39477 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39478 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39479
661768bb
L
394802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39481
39482 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39483 (mq_attr): Use __syscall_slong_t.
39484
d4261567
L
394852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39486
39487 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39488 Check __x86_64__ instead of __WORDSIZE.
39489 (_STAT_VER_LINUX): Likewise.
39490 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39491 __syscall_ulong_t and __syscall_slong_t.
39492 (stat64): Likewise.
39493
cf3ff365
L
394942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39495
39496 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39497
76cf3e4d
L
394982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39499
39500 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39501
a637753a
L
395022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39503
39504 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39505 __syscall_ulong_t.
39506
d5e05119
L
39507 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39508 include <bits/wordsize.h>. Check __x86_64__ instead of
39509 __WORDSIZE.
39510 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39511 defined.
39512 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39513
f62ee380
L
39514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39515 include <bits/wordsize.h>. Check __x86_64__ instead of
39516 __WORDSIZE.
39517 (user_regs_struct): Use "__extension__ unsigned long long"
39518 instead of "unsigned long" if __x86_64__ is defined.
39519 (user): Likewise. Pad after pointer field if __ILP32__ is
39520 defined.
39521
4e124ced
JM
395222012-05-16 Joseph Myers <joseph@codesourcery.com>
39523
6a3951a0
JM
39524 * configure.in (makeinfo): Require version 4.5 or later. Allow
39525 versions 5 to 9.
39526 * configure: Regenerated.
39527 * manual/install.texi (texinfo): Increase version requirement to
39528 4.5 or later.
39529 * INSTALL: Regenerated.
39530
4e124ced
JM
39531 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39532
953ca31a
L
395332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39534
39535 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39536
617aca05
L
39537 * sysdeps/x86_64/x32/ffs.c: New file.
39538
5762f7ae
L
39539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39540 __syscall_ulong_t.
39541 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39542 defined. Use __syscall_ulong_t.
39543 (shminfo): Use __syscall_ulong_t.
39544 (shm_info): Likewise.
39545
a26b6856
L
39546 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39547 __syscall_ulong_t.
39548
cb2b9ef7
L
39549 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39550 <bits/wordsize.h>.
39551 (msgqnum_t): Use __syscall_ulong_t.
39552 (msglen_t): Likewise.
39553 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39554 __syscall_ulong_t.
39555
34683bb0
L
39556 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39558
84a68786
L
39559 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39560
48baa5f1
L
39561 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39562 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39563
180be88b
L
39564 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39565 __syscall_slong_t.
39566
5e90c8ad
L
39567 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39568 include <bits/wordsize.h>. Check __x86_64__ instead of
39569 __WORDSIZE.
39570
23dfb58b
L
39571 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39572 "unsigned long long int" if __x86_64__ is defined.
39573 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39574
ce5d54b0
L
39575 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39576 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39577 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39578
13dc9eac
L
39579 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39580 <stdint.h>.
39581 (GET_PC): Cast to uintptr_t first.
39582 (GET_FRAME): Likewise.
39583 (GET_STACK): Likewise.
39584
a7895d15
L
39585 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39586 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39587 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39589 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39591 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39592 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39593 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39594 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39595 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39596 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39597 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39598 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39599 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39600 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39601 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39603 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39604 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39605 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39606 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39607 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39608 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39609 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39610 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39612 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39613 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39614
656416c9
AS
396152012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39616
5bd66283
AS
39617 * Makerules (+depfiles): Also collect depfiles from .oS in
39618 $(extra-objs).
39619 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39620 .oS, $(libnldbl-routines)).
39621
656416c9
AS
39622 * Makerules (native-compile-mkdep-flags): Define.
39623 * sunrpc/Makefile (extra-objs): Add $(addprefix
39624 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39625 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39626 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39627 calling $(make-target-directory).
39628
a46f2169
L
396292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39630
39631 * bits/types.h (__snseconds_t): Removed.
39632 * time/time.h (struct timespec): Replace __snseconds_t with
39633 __syscall_slong_t.
39634 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39635 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39636 Likewise.
39637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39638 (__SNSECONDS_T_TYPE): Likewise.
39639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39640 (__SNSECONDS_T_TYPE): Likewise.
39641 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39642 (__SNSECONDS_T_TYPE): Likewise.
39643
6af6528b
L
396442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39645
39646 * sysdeps/mach/hurd/bits/typesizes.h
39647 (__SYSCALL_SLONG_TYPE): New macro.
39648 (__SYSCALL_ULONG_TYPE): Likewise.
39649
de986b56
L
396502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39651
39652 * bits/types.h (__syscall_slong_t): New type.
39653 (__syscall_ulong_t): Likewise.
39654
39655 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39656 (__SYSCALL_ULONG_TYPE): Likewise.
39657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39658 (__SYSCALL_SLONG_TYPE): Likewise.
39659 (__SYSCALL_ULONG_TYPE): Likewise.
39660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39661 (__SYSCALL_SLONG_TYPE): Likewise.
39662 (__SYSCALL_ULONG_TYPE): Likewise.
39663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39664 (__SYSCALL_SLONG_TYPE): Likewise.
39665 (__SYSCALL_ULONG_TYPE): Likewise.
39666
85736dc7
L
396672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39668
39669 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39670 Add sigaltstack-offsets.sym.
39671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39672 <sigaltstack-offsets.h>.
39673 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39674 longjmp_msg pointer.
39675 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39676 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39677 signal stack.
39678 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39679
cc03b296
JM
396802012-05-15 Joseph Myers <joseph@codesourcery.com>
39681
a9538892
JM
39682 * elf/stackguard-macros.h: Remove file.
39683 * sysdeps/generic/stackguard-macros.h: New file.
39684 * sysdeps/i386/stackguard-macros.h: Likewise.
39685 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39686 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39687 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39688 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39689 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39690 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39691 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39692 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39693 <elf/stackguard-macros.h>.
39694
cc03b296
JM
39695 [BZ #14109]
39696 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39697 __aligned__ in attribute.
39698 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39699 (gregset_t): Likewise.
39700
93171016
L
397012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39702
39703 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39704 * sysdeps/x86_64/64/Implies-after: Here. New file.
39705 * sysdeps/x86_64/x32/Implies-after: New file.
39706
d86813a0
L
397072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39708
39709 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39710 and access return value for _dl_profile_fixup. Use R10_LP to
39711 load frame size.
39712
2953ec75
L
397132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39714
39715 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39716
3b550e9e
L
397172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39718
39719 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39720 * sysdeps/x86_64/x32/sysdep.h: New file.
39721
eda41706
L
397222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39723
39724 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39725 * sysdeps/x86_64/setjmp.S: Likewise.
39726
9ea01d93
AZ
397272012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39728
39729 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39730 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39731 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39732 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39733 remove unused global constant.
39734
02a91938
CM
397352012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39736
39737 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39738 include of <not-cancel.h>.
39739
6540185f
RM
397402012-05-15 Roland McGrath <roland@hack.frob.com>
39741
39742 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39743
509072a0
AJ
397442012-05-15 Jeff Law <law@redhat.com>
39745 Andreas Jaeger <aj@suse.de>
39746
39747 [BZ #13594]
39748 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39749 out from...
39750 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39751 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39752 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39753 code changing __hst_map_handle.map.
39754
ba75122d
RM
397552012-05-15 Roland McGrath <roland@hack.frob.com>
39756
39757 * configure.in (sysnames): Look for Implies-before and Implies-after
39758 files.
39759 * configure: Regenerated.
39760
890d8bd8
L
397612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39762
39763 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39764 8-byte data alignment with LP_SIZE alignment.
39765
f6ee6623
L
397662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39767
39768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39769 into R10_LP.
39770
ea2626f6
L
397712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39772
39773 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39774
085f715e
L
397752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39776
39777 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39778 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39779 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39780 Likewise.
39781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39782
be8498fc
L
397832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39784
39785 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39786 (stackinfo_sub_sp): Likewise.
39787
70bc83b9
L
397882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39789
39790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39791 RAX_LP.
39792
9bc0b730
L
397932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39794
39795 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39796 into R*_LP.
39797
6d2850e7
L
397982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39799
39800 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39801 sizes into R*_LP.
39802
3cb84561
L
398032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39804
39805 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39806
54e2ed81
L
398072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39808
39809 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39810 into R11_LP and load __x86_64_shared_cache_size_half into
39811 R8_LP.
39812
8a17f349
L
398132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39814
39815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39816 R8_LP.
39817
777b1eea
AZ
398182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39819
39820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39821 logb for POWER7.
39822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39823 logbf for POWER7.
39824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39825 logbl for POWER7.
39826 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39827 powerpc32/power7/fpu/s_logb.c via #include.
39828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39829 powerpc32/power7/fpu/s_logbf.c via #include.
39830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39831 powerpc32/power7/fpu/s_logbl.c via #include.
39832
d20d4ac2
JM
398332012-05-15 Joseph Myers <joseph@codesourcery.com>
39834
39835 * README.libm: Remove file.
39836
6cdef1ab
L
398372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39838
39839 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39840 count for x32. Use R*_LP and omit operand-size suffix.
39841
0b254d8f
L
398422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39843
39844 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39845 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39846 * sysdeps/x86_64/x32/shlib-versions: New file.
39847
ceb809dc
RM
398482012-05-14 Roland McGrath <roland@hack.frob.com>
39849
39850 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39851 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39852 Use _dl_fatal_printf instead.
39853
37f1abd4
JM
398542012-05-14 Joseph Myers <joseph@codesourcery.com>
39855
39856 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39857 set if not set by the user. Do not allow for being unset.
39858 * sysdeps/unix/sysv/linux/configure: Regenerated.
39859
11de3a33
L
398602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39861
39862 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39863 the `q' suffix from lea and replace .quad with ASM_ADDR.
39864
e02f153a
L
398652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39866
39867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39868 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39869 instead of $17.
39870 (PTR_DEMANGLE): Likewise.
39871
520ae0fd
L
398722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39873
39874 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39875 (LP_OP): Likewise.
39876 (ASM_ADDR): Likewise.
39877 (RAX_LP): Likewise.
39878 (RBP_LP): Likewise.
39879 (RBX_LP): Likewise.
39880 (RCX_LP): Likewise.
39881 (RDI_LP): Likewise.
39882 (RSI_LP): Likewise.
39883 (RSP_LP): Likewise.
39884 (R8_LP): Likewise.
39885 (R9_LP): Likewise.
39886 (R10_LP): Likewise.
39887 (R10_LP): Likewise.
39888 (R11_LP): Likewise.
39889 (R12_LP): Likewise.
39890 (R13_LP): Likewise.
39891 (R14_LP): Likewise.
39892 (R15_LP): Likewise.
39893
b985be81
L
398942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39895
39896 * sysdeps/x86_64/x32/dl-machine.h: New file.
39897
6a4888ff
AJ
398982012-05-14 Andreas Jaeger <aj@suse.de>
39899
39900 * manual/Makefile (subdir): Remove export of subdir.
39901 (all): Remove target.
39902 (.PHONY): Remove all from list.
39903 (mkinstalldirs): Remove.
39904 (.PHONY): Remove installdirs from list.
39905 ($(inst_infodir)/libc.info): Use make-target-directory.
39906 (installdirs): Remove.
39907 (subdir_%): Remove.
39908 (glibc-targets): Remove.
39909 (lib): Remove.
39910 (stubs): Remove.
39911 ($(objpfx)stubs ../po/manual.pot): Remove.
39912 ($(objpfx)stamp%): Remove.
39913 (make-target-directory): Remove.
39914 (subdir_install): Remove.
39915 (routines): Remove.
39916 (aux): Remove.
39917 (sources): Remove.
39918 (objects): Remove.
39919 (headers): Remove.
39920
39921 [BZ #13750]
39922 * manual/.gitignore: Remove, it's not needed anymore.
39923 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39924 all files in it.
39925 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39926 directory.
39927 (texis): Renamed to $(objpfx)texis.
39928 (texis-path): New, contains path to generated files.
39929 (chapters.%): Use texis-path for complete path, add extra argument
39930 libc-texinfo.sh.
39931 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39932 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39933 (summary,texi, stamp-summary): Use complete path of
39934 files. Generate files in build dir.
39935 (dir-add.texi): Build in build dir.
39936 (libm-err.texi,stamp-libm-err): Likewise.
39937 (version.texi, stamp-version): Likewise.
39938 (.%c.texi): Likewise.
39939 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39940 (mostlyclean): Remove target.
39941 (realclean): Remove target.
39942 (generated): Add new variable with contents from mostlyclean and
39943 realclean, remove entries duplicated in common-mostlyclean, add
39944 stamp-libm-err and stamp-version.
39945 (generated-dirs): Add libc directory.
39946 ($(inst_infodir)/libc.info): Install files from build dir.
39947
39948 * manual/install.texi (Configuring and compiling): Adjust since
39949 the info files are not part of the tar ball anymore.
39950
7ac77294
AJ
399512012-05-14 Andreas Jaeger <aj@suse.de>
39952
39953 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39954 variable.
39955
ffb7875d
JM
399562012-05-14 Joseph Myers <joseph@codesourcery.com>
39957
39958 [BZ #13717]
39959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39960 to 2.2.0 where earlier.
39961 * sysdeps/unix/sysv/linux/configure: Regenerated.
39962 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39963 Remove conditional code.
39964 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39965 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39966 Remove conditional code.
39967 [!__NR_lchown]: Likewise.
39968 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39969 [__NR_lchown]: Likewise.
39970 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39971 comment referencing __ASSUME_LCHOWN_SYSCALL.
39972 * sysdeps/unix/sysv/linux/i386/sigaction.c
39973 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39974 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39975 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39976 Remove conditional code.
39977 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39978 (__protocol_available): Remove #if 0 code.
39979 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39980 conditional code.
39981 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39982 * sysdeps/unix/sysv/linux/kernel-features.h
39983 (__ASSUME_GETCWD_SYSCALL): Don't define.
39984 (__ASSUME_REALTIME_SIGNALS): Likewise.
39985 (__ASSUME_PREAD_SYSCALL): Likewise.
39986 (__ASSUME_PWRITE_SYSCALL): Likewise.
39987 (__ASSUME_POLL_SYSCALL): Likewise.
39988 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39989 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39990 non-SPARC.
39991 (__ASSUME_SIOCGIFNAME): Don't define.
39992 (__ASSUME_MSG_NOSIGNAL): Likewise.
39993 (__ASSUME_SENDFILE): Define unconditionally.
39994 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39995 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39996 conditional code.
39997 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39998 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39999 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40000 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40001 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40002 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40003 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40017 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40020 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40023 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40028 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40029 Remove conditional code.
40030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40031 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40032 Remove conditional code.
40033 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40034 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40035 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40036 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40037 Remove conditional code.
40038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40039 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40040 Remove conditional code.
40041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40042 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40043 Remove conditional code.
40044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40045 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40046 Remove conditional code.
40047 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40048 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40049 Remove conditional code.
40050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40051 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40052 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40053 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40054 * sysdeps/unix/sysv/linux/sigaction.c
40055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40057 * sysdeps/unix/sysv/linux/sigpending.c
40058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40060 * sysdeps/unix/sysv/linux/sigprocmask.c
40061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40063 * sysdeps/unix/sysv/linux/sigsuspend.c
40064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40066 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40067 (__libc_missing_rt_sigs): Remove.
40068 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40069 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40070 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40071 Remove conditional code.
40072 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40073 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40074 return 1.
40075 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40076 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40077 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40078 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40079
1bfb7291
AJ
400802012-05-14 Andreas Jaeger <aj@suse.de>
40081
caae5a81
AJ
40082 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40083 it's not used in glibc.
40084 (__coshm1): Likewise.
40085 (__acosh1p): Likewise.
40086 (__sgn): Likewise.
40087
1bfb7291
AJ
40088 * manual/string.texi (Copying and Concatenation): Add missing
40089 variable in concat example.
40090 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40091
c044d724
L
400922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40093
144c5467 40094 [BZ #14103]
c044d724
L
40095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40096 __builtin_clzl with __builtin_clzll.
40097
2523c62b
L
400982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40099
40100 [BZ #14104]
40101 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40102 libc_freeres_ptr.
40103
d7bb4c42
LD
401042012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40105
40106 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40107 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40108 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40109 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40110
9dc4e1fb
MF
401112012-05-14 Mike Frysinger <vapier@gentoo.org>
40112
40113 * NEWS: Update ia64 info.
40114
c7df0112
AS
401152012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40116
40117 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40118 used as bcopy.
40119
dc70356c
TS
401202012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40121
40122 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40123 * sysdeps/unix/syscalls.list (dup3): Likewise.
40124 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40125 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40126
9fb1a21f
L
401272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40128
40129 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40130 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40131
4822a2a5
L
401322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40133
40134 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40135 thread pointer.
40136 (TLS_IE): Use mov/add instead of movq/addq to load thread
40137 pointer.
40138 (TLS_GD_PREFIX): New.
40139 (TLS_GD): Use it.
40140
842b81d6
DM
401412012-05-11 David S. Miller <davem@davemloft.net>
40142
40143 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40144 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40145 (_FPU_SETCW): Likewise.
40146
1cf463cd
L
401472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40148
40149 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40150 is 32-byte aligned.
40151
60cc4a18
AS
401522012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40153
40154 [BZ #11837]
40155 * iconvdata/gb18030.c: Update tables.
40156 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40157 characters specially.
40158 (BODY for TO_LOOP): Add encoding of missing ranges.
40159
febb44a4
TS
401602012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40161
40162 [BZ #13673]
40163 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40164 * sysdeps/mach/hurd/dup3.c: Likewise.
40165 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40166 * sysdeps/powerpc/memmove.c:: Likewise.
40167
0a10fb9e
L
401682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40169
40170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40171 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40172
df8a552f
L
401732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40174
40175 * elf/elf.h (R_X86_64_RELATIVE64): New.
40176 (R_X86_64_NUM): Updated.
40177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40178 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40179 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40180 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40181 tst-quad1pie tst-quad2pie
40182 (modules-names): Add tst-quadmod1 tst-quadmod2.
40183 ($(objpfx)tst-quad1): New dependency.
40184 ($(objpfx)tst-quad2): Likewise.
40185 ($(objpfx)tst-quad1pie): Likewise.
40186 ($(objpfx)tst-quad2pie): Likewise.
40187 * sysdeps/x86_64/tst-quad1.c: New file.
40188 * sysdeps/x86_64/tst-quad1pie.c: New file.
40189 * sysdeps/x86_64/tst-quad2.c: Likewise.
40190 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40191 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40192 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40193 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40194 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40195
f34d6f84
ST
401962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40197
f42d41d1
ST
40198 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40199 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40200 * streams/stropts.h (t_scalar_t): Define type.
40201
3c3571fc
ST
40202 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40203 (_PATH_PRESERVE): Set to "/var/lib".
40204 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40205
61f06bd3
ST
40206 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40207 instead of int.
40208
918d4d71
ST
40209 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40210 if __dir_mkfile succeeded.
40211
f34d6f84
ST
40212 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40213 checking for _hurd_dtablesize. Unlock it right after having
40214 finished _hurd_dtable allocation.
40215
10589b4a
TS
402162012-05-10 Thomas Schwinge <thomas@schwinge.name>
40217
674cdbc7
TS
40218 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40219 * sysdeps/mach/hurd/configure: Regenerated.
40220 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40221 special-casing to...
40222 * sysdeps/gnu/configure.in: ... this new file.
40223 * sysdeps/unix/sysv/linux/configure: Regenerated.
40224 * sysdeps/gnu/configure: New generated file.
40225
8e41b99f
TS
40226 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40227 for Linux: use nsec instead of usec, as well as:
40228 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40229 members of type struct timespec.
40230 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40231 New macros.
40232 (struct stat64): Likewise.
40233 (_STATBUF_ST_NSEC): New macro.
40234 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40235
10589b4a
TS
40236 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40237 __strtoul_internal rather than strtoul.
40238
63643c85
PT
402392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40240
40241 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40242 and reject them.
40243
3faebe6a
ST
402442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40245
40246 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40247 which preserves existing values.
40248 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40249
c6474b07
PT
402502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40251
40252 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40253 TIMEOUT values. Return EINVAL for NFDS values either negative or
40254 greater than FD_SETSIZE.
40255
1043890b
ST
402562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40257
40258 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40259 allocated, call __vm_protect to finish enabling the existing space, and
40260 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40261 allocate the remainder.
40262
37ed8b9b
PT
402632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40264
40265 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40266 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40267
db653660
ST
402682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40269
37ed8b9b
PT
40270 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40271 sysdeps/mach/hurd/readlink.c.
b29d4053 40272
db653660
ST
40273 * posix/tst-sysconf.c (posix_options): Only use
40274 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40275 _POSIX_SYNCHRONIZED_IO when they are defined
40276 * sysdeps/mach/hurd/bits/posix_opt.h:
40277 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40278 (_XOPEN_REALTIME): Undefine macro.
40279 (_XOPEN_REALTIME_THREADS): Undefine macro.
40280 (_XOPEN_SHM): Undefine macro.
40281 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40282 macro to -1.
40283 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40284 macro to -1.
40285 (_POSIX_ASYNC_IO): Undefine macro.
40286 (_POSIX_PRIORITIZED_IO): Undefine macro.
40287 (_POSIX_SPIN_LOCKS): Define macro to -1.
40288
ee16e894
ST
40289 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40290 SA_NODEFER, SA_RESETHAND.
40291 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40292 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40293 F_DUPFD_CLOEXEC.
40294
6103ae3b
TS
402952012-05-10 Thomas Schwinge <thomas@schwinge.name>
40296
40297 * elf/Makefile (pldd-modules): Define unconditionally.
40298
80b4e5f3
TS
402992012-05-10 Thomas Schwinge <thomas@schwinge.name>
40300
40301 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40302
edadcbd6
ST
403032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40304
40305 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40306 Return ENOENT when name is empty.
40307 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40308
80694780
TS
403092012-05-10 Thomas Schwinge <thomas@schwinge.name>
40310
1792c087
TS
40311 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40312
80694780
TS
40313 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40314
6b645f0d
ST
403152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40316
80694780
TS
40317 Fix mlock in all cases except non-readable pages.
40318 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40319 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40320
6b645f0d
ST
40321 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40322 (__mkdir): When path is `/', just fail with EEXIST.
40323 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40324
e468f8a3
TS
403252012-05-10 Thomas Schwinge <thomas@schwinge.name>
40326
40327 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40328 <sys/uio.h> (for writev).
40329 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40330 and <sys/param.h> (for MIN).
40331
a4186cff
PT
403322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40333
40334 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40335 REQUESTED_TIME. Properly set the remaining time and return EINTR
40336 if interrupted.
40337
510bbf14
TS
403382012-05-10 Thomas Schwinge <thomas@schwinge.name>
40339
40340 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40341 Depend on against $(link-rpcuserlibs).
40342
5d5722e8
ST
403432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40344
a4186cff
PT
40345 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40346 (__libc_stack_end): Do not use attribute_relro.
40347 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40348 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40349 to libthread-provided value.
a4186cff
PT
40350 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40351 attribute_relro.
5d5722e8 40352
37233df9
TS
403532012-05-10 Thomas Schwinge <thomas@schwinge.name>
40354
be971a2b
TS
40355 [BZ #3748]
40356 * bits/libc-lock.h (__libc_once_get): New macro.
40357 * sysdeps/mach/bits/libc-lock.h: Likewise.
40358 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40359 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40360 instead of using implementation details.
40361
37233df9
TS
40362 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40363 * libio/freopen.c: Likewise.
40364 * libio/freopen64.c: Likewise.
40365 * misc/syslog.c: Likewise.
40366 * nscd/connections.c: Likewise.
40367 * nscd/netgroupcache.c: Likewise.
40368 * sysdeps/posix/getcwd.c: Likewise.
40369
38de94a5
RM
403702012-05-10 Roland McGrath <roland@hack.frob.com>
40371
40372 * math/w_ilogbf.c: Add #include <limits.h>.
40373
67530489
ST
403742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40375
a4186cff 40376 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40377 path instead of returning without unlocking.
40378
67530489
ST
40379 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40380 immediate-write ioctls.
40381 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40382
5aa3a74a
TS
403832012-05-10 Thomas Schwinge <thomas@schwinge.name>
40384
18bad2ae
TS
40385 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40386 __builtin_frame_address instead of making assumptions about the
40387 location of the return address relative to DATA. Force early load of
40388 the return address.
40389 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40390 __builtin_frame_address.
40391
5aa3a74a
TS
40392 dup3 for GNU Hurd.
40393 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40394 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40395 implement dup3 and do some further code clean-ups.
40396 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40397 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40398
ecd0de9a
ST
403992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40400
cd9fa985
ST
40401 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40402
a4186cff
PT
40403 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40404 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40405 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40406 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40407 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40408 d->port.lock.
802ca5a5 40409
a4186cff
PT
40410 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40411 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40412 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40413
bcf55240
TS
404142012-05-10 Thomas Schwinge <thomas@schwinge.name>
40415
6960eb42
TS
40416 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40417 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40418 definitions.
40419
eb43375f
TS
40420 accept4 for GNU Hurd.
40421 * include/sys/socket.h (__libc_accept4): New prototype.
40422 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40423 to implement __libc_accept4.
40424 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40425 __libc_accept4.
40426 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40427
bcf55240
TS
40428 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40429 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40430 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40431 signal-defines.sym.
40432
6178c55b
ST
404332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40434
a4186cff 40435 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40436
6f080c2f
TS
404372012-05-10 Thomas Schwinge <thomas@schwinge.name>
40438
40439 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40440 assertion on O_CLOEXEC flag.
40441 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40442 * hurd/intern-fd.c: Likewise.
40443 * hurd/port2fd.c: Likewise.
40444
bcfe3a54
ST
404452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40446
40447 [BZ #3906]
40448 * bits/in.h (IPV6_PKTINFO): Define new macro.
40449 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40450
89c9aa49
AZ
404512012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40452
40453 [BZ #13954]
40454 [BZ #13955]
40455 [BZ #13956]
40456 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40458 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40459 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40461 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40462 * math/libm-test.inc (logb_test) : Additional logb tests.
40463
021db4be
AJ
404642012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40465 Andreas Jaeger <aj@suse.de>
40466
40467 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40468 * configure: Regenerated.
40469 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40470 * config.make.in (link-obsolete-rpc): New substituted variable.
40471 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40472 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40473 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40474 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40475 so that libc.a contains the symbols.
40476 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40477 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40478 * sunrpc/auth_none.c: Likewise.
40479 * sunrpc/auth_unix.c: Likewise.
40480 * sunrpc/authdes_prot.c: Likewise.
40481 * sunrpc/authuxprot.c: Likewise.
40482 * sunrpc/clnt_gen.c: Likewise.
40483 * sunrpc/clnt_perr.c: Likewise.
40484 * sunrpc/clnt_raw.c: Likewise.
40485 * sunrpc/clnt_simp.c: Likewise.
40486 * sunrpc/clnt_tcp.c: Likewise.
40487 * sunrpc/clnt_udp.c: Likewise.
40488 * sunrpc/clnt_unix.c: Likewise.
40489 * sunrpc/des_crypt.c: Likewise.
40490 * sunrpc/des_soft.c: Likewise.
40491 * sunrpc/get_myaddr.c: Likewise.
40492 * sunrpc/key_call.c: Likewise.
40493 * sunrpc/key_prot.c: Likewise.
40494 * sunrpc/netname.c: Likewise.
40495 * sunrpc/pm_getmaps.c: Likewise.
40496 * sunrpc/pm_getport.c: Likewise.
40497 * sunrpc/pmap_clnt.c: Likewise.
40498 * sunrpc/pmap_prot.c: Likewise.
40499 * sunrpc/pmap_prot2.c: Likewise.
40500 * sunrpc/pmap_rmt.c: Likewise.
40501 * sunrpc/publickey.c: Likewise.
40502 * sunrpc/rpc_cmsg.c: Likewise.
40503 * sunrpc/rpc_common.c: Likewise.
40504 * sunrpc/rpc_dtable.c: Likewise.
40505 * sunrpc/rpc_prot.c: Likewise.
40506 * sunrpc/rpc_thread.c: Likewise.
40507 * sunrpc/rtime.c: Likewise.
40508 * sunrpc/svc.c: Likewise.
40509 * sunrpc/svc_auth.c: Likewise.
40510 * sunrpc/svc_raw.c: Likewise.
40511 * sunrpc/svc_run.c: Likewise.
40512 * sunrpc/svc_tcp.c: Likewise.
40513 * sunrpc/svc_udp.c: Likewise.
40514 * sunrpc/svc_unix.c: Likewise.
40515 * sunrpc/svcauth_des.c: Likewise.
40516 * sunrpc/xcrypt.c: Likewise.
40517 * sunrpc/xdr.c: Likewise.
40518 * sunrpc/xdr_array.c: Likewise.
40519 * sunrpc/xdr_float.c: Likewise.
40520 * sunrpc/xdr_intXX_t.c: Likewise.
40521 * sunrpc/xdr_mem.c: Likewise.
40522 * sunrpc/xdr_rec.c: Likewise.
40523 * sunrpc/xdr_ref.c: Likewise.
40524 * sunrpc/xdr_sizeof.c: Likewise.
40525 * sunrpc/xdr_stdio.c: Likewise.
40526
b5c086a2
RM
405272012-05-10 Roland McGrath <roland@hack.frob.com>
40528
40529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40530 change. Update copyright years.
40531
6d74dd09
JM
405322012-05-10 Joseph Myers <joseph@codesourcery.com>
40533
40534 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40535
28e72501
MK
405362012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40537 Joseph Myers <joseph@codesourcery.com>
40538 Paul Pluzhnikov <ppluzhnikov@google.com>
40539
40540 [BZ #14012]
40541 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40542 requiring rpcgen.
40543 [cross-compiling] (extra-libs): Likewise.
40544 [cross-compiling] (extra-libs-others): Likewise.
40545 [cross-compiling] (librpcsvc-routines): Likewise.
40546 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40547 [cross-compiling] (omit-deps): Likewise.
40548 (sunrpc-CPPFLAGS): New variable.
40549 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40550 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40551 (cross-rpcgen-objs): New variable.
40552 (extra-objs): Append $(cross-rpcgen-objs).
40553 ($(cross-rpcgen-objs)): New rule.
40554 ($(objpfx)cross-rpcgen): Likewise.
40555 (rpcgen-cmd): Define to use $(built-program-file). Expand
40556 comment.
40557 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40558 ($(objpfx)x%.stmp): Likewise.
40559 * sunrpc/proto.h [IS_IN_build] (_): Define.
40560 [IS_IN_build] (_libc_intl_domainname): Likewise.
40561
c8c59454
L
405622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40563
40564 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40565 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40566 and R_X86_64_TPOFF64.
40567
6f27cd16
JM
405682012-05-10 Joseph Myers <joseph@codesourcery.com>
40569
40570 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40571 sysdeps/unix/sysv/syscalls.list.
40572 (stime): Likewise.
40573 (utime): Likewise.
40574 * sysdeps/unix/sysv/syscalls.list: Remove file.
40575
02467e1c
PE
405762012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40577
40578 [BZ #3440]
40579 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40580 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40581 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40582 (__LC_IDENTIFICATION): Make these macros useful in #if
40583 expressions, as required by C99.
40584
da392631
AS
405852012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40586
40587 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40588 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40589 after this.
40590
8115f29b
L
405912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40592
40593 * stdlib/longlong.h: Updated from GCC.
40594
bdd74070
AJ
405952012-05-09 Andreas Jaeger <aj@suse.de>
40596
edfe0dbe
AJ
40597 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40598 default is first entry.
40599 (run_mode): Set type.
40600 (main): Remove informal message about syslog.
40601 (options): Fix typo.
40602
bcfe3a54
ST
40603 [BZ #14053]
40604 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40605 to asm.
bcfe3a54
ST
40606 (lrint): Likewise.
40607 (llrintf): Likewise.
40608 (llrint): Likewise.
40609 (rint): Likewise.
40610 (rintf): Likewise.
40611 (nearbyint): Likewise.
40612 (nearbyintf): Likewise.
bdd74070 40613
91d8d69e
AJ
406142012-05-09 Andreas Jaeger <aj@suse.de>
40615 Pedro Alves <palves@redhat.com>
40616
40617 * nscd/nscd.c (run_mode): Use enum.
40618 (main): Cleanup coding style issue.
40619
bb90b80b
AJ
406202012-05-09 Alexandre Oliva <aoliva@redhat.com>
40621 Andreas Jaeger <aj@suse.de>
40622
bcfe3a54
ST
40623 * nscd/nscd.c (go_background): Replaced with...
40624 (run_mode): ... this.
bb90b80b 40625 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40626 (options): Add -F --foreground.
40627 (main): Implement it.
40628 (parse_opt): Parse it.
bb90b80b 40629
1a4b75a1
AJ
406302012-05-09 Andreas Jaeger <aj@suse.de>
40631
40632 [BZ #14083]
40633 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40634 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40635 -Wconversion warning.
40636 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40637 Likewise.
40638
b1cc2472
JM
406392012-05-09 Joseph Myers <joseph@codesourcery.com>
40640
40641 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40642 == 0.
40643 (LC_ALL): Use macro-int-constant.
40644 (LC_COLLATE): Likewise.
40645 (LC_CTYPE): Likewise.
40646 (LC_MESSAGES): Likewise.
40647 (LC_MONETARY): Likewise.
40648 (LC_NUMERIC): Likewise.
40649 (LC_TIME): Likewise.
40650 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40651 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40653 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40654 Specify type.
40655 [C99-based standards] (float_t): Expect type.
40656 [C99-based standards] (double_t): Expect type.
40657 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40658 type.
40659 [C99-based standards] (HUGE_VALL): Likewise.
40660 [C99-based standards] (INFINITY): Likewise.
40661 [C99-based standards] (NAN): Likewise.
40662 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40663 [C99-based standards] (FP_NAN): Likewise.
40664 [C99-based standards] (FP_NORMAL): Likewise.
40665 [C99-based standards] (FP_SUBNORMAL): Likewise.
40666 [C99-based standards] (FP_ZERO): Likewise.
40667 [C99-based standards] (FP_FAST_FMA): Use
40668 optional-macro-int-constant. Specify type. Require == 1.
40669 [C99-based standards] (FP_FAST_FMAF): Likewise.
40670 [C99-based standards] (FP_FAST_FMAL): Likewise.
40671 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40672 [C99-based standards] (FP_ILOGBNAN): Likewise.
40673 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40674 Specify type.
40675 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40676 [C99-based standards] (math_errhandling): Specify type.
40677 [ISO99 || ISO11] (signgam): Do not allow.
40678 [non-C99-based standards] (copysignf): Do not allow.
40679 [non-C99-based standards] (exp2f): Likewise.
40680 [non-C99-based standards] (log2f): Likewise.
40681 [non-C99-based standards] (modff): Allow.
40682 [non-C99-based standards] (erff): Do not allow.
40683 [non-C99-based standards] (erfcf): Likewise.
40684 [non-C99-based standards] (gammaf): Likewise.
40685 [non-C99-based standards] (hypotf): Likewise.
40686 [non-C99-based standards] (j0f): Likewise.
40687 [non-C99-based standards] (j1f): Likewise.
40688 [non-C99-based standards] (jnf): Likewise.
40689 [non-C99-based standards] (lgammaf): Likewise.
40690 [non-C99-based standards] (tgammaf): Likewise.
40691 [non-C99-based standards] (y0f): Likewise.
40692 [non-C99-based standards] (y1f): Likewise.
40693 [non-C99-based standards] (ynf): Likewise.
40694 [non-C99-based standards] (isnanf): Likewise.
40695 [non-C99-based standards] (acoshf): Likewise.
40696 [non-C99-based standards] (asinhf): Likewise.
40697 [non-C99-based standards] (atanhf): Likewise.
40698 [non-C99-based standards] (cbrtf): Likewise.
40699 [non-C99-based standards] (expm1f): Likewise.
40700 [non-C99-based standards] (ilogbf): Likewise.
40701 [non-C99-based standards] (log1pf): Likewise.
40702 [non-C99-based standards] (logbf): Likewise.
40703 [non-C99-based standards] (nextafterf): Likewise.
40704 [non-C99-based standards] (remainderf): Likewise.
40705 [non-C99-based standards] (rintf): Likewise.
40706 [non-C99-based standards] (scalbf): Likewise.
40707 [non-C99-based standards] (copysignl): Likewise.
40708 [non-C99-based standards] (exp2l): Likewise.
40709 [non-C99-based standards] (log2l): Likewise.
40710 [non-C99-based standards] (modfl): Allow.
40711 [non-C99-based standards] (erfl): Do not allow.
40712 [non-C99-based standards] (erfcl): Likewise.
40713 [non-C99-based standards] (gammal): Likewise.
40714 [non-C99-based standards] (hypotl): Likewise.
40715 [non-C99-based standards] (j0l): Likewise.
40716 [non-C99-based standards] (j1l): Likewise.
40717 [non-C99-based standards] (jnl): Likewise.
40718 [non-C99-based standards] (lgammal): Likewise.
40719 [non-C99-based standards] (tgammal): Likewise.
40720 [non-C99-based standards] (y0l): Likewise.
40721 [non-C99-based standards] (y1l): Likewise.
40722 [non-C99-based standards] (ynl): Likewise.
40723 [non-C99-based standards] (isnanl): Likewise.
40724 [non-C99-based standards] (acoshl): Likewise.
40725 [non-C99-based standards] (asinhl): Likewise.
40726 [non-C99-based standards] (atanhl): Likewise.
40727 [non-C99-based standards] (cbrtl): Likewise.
40728 [non-C99-based standards] (expm1l): Likewise.
40729 [non-C99-based standards] (ilogbl): Likewise.
40730 [non-C99-based standards] (log1pl): Likewise.
40731 [non-C99-based standards] (logbl): Likewise.
40732 [non-C99-based standards] (nextafterl): Likewise.
40733 [non-C99-based standards] (remainderl): Likewise.
40734 [non-C99-based standards] (rintl): Likewise.
40735 [non-C99-based standards] (scalbl): Likewise.
40736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40737 [non-C99-based standards] (FP_*): Do not allow.
40738 [C99-based standards] (FP_*): Change to
40739 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40740 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40741 allow.
40742 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40743 (SIG_ERR): Likewise.
40744 [X/Open-based standards] (SIG_HOLD): Likewise.
40745 (SIG_IGN): Likewise.
40746 (SIGABRT): Use macro-int-constant. Specify type. Require
40747 positive value.
40748 (SIGFPE): Likewise.
40749 (SIGILL): Likewise.
40750 (SIGINT): Likewise.
40751 (SIGSEGV): Likewise.
40752 (SIGTER): Likewise.
40753 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40754 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40755 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40756 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40757 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40758 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40759 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40760 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40761 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40762 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40763 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40764 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40765 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40766 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40767 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40768 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40769 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40770 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40771 [X/Open-based standards] (SIGTRAP): Likewise.
40772 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40773 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40774 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40775 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40776 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40777 allow.
40778
b9f1922d
IW
407792012-05-08 Ian Wienand <ianw@vmware.com>
40780
40781 [BZ #14080]
40782 * time/tzset.c (__tzset_parse_tz): Update default rules for
40783 daylight time changes in the Energy Policy Act of 2005.
40784
1db86e88
AJ
407852012-05-09 Andreas Jaeger <aj@suse.de>
40786
40787 [BZ #13983]
40788 * elf/ldconfig.c (parse_conf): Change string to make clear that
40789 ldconfig only issued a warning if ld.so.conf does not exist.
40790
dee4a4e3
DM
407912012-05-08 David S. Miller <davem@davemloft.net>
40792
ee0db190
DM
40793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40794 movxtod instead of popping the value on the stack.
40795
dee4a4e3
DM
40796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40797
6a43ec98
CD
407982012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40799
40800 * config.h.in: Add HAVE_ARM_PCS_VFP.
40801
05c2c961
RMG
408022012-05-08 Roland Mc Grath <roland@hack.frob.com>
40803
bcfe3a54
ST
40804 [BZ #13979]
40805 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40806 checking but the checks are disabled for any reason.
05c2c961 40807
4b30f61a
L
408082012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40809
40810 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40811 and ELF64_R_TYPE with ELFW(R_TYPE).
40812
eee2bc67
JM
408132012-05-08 Joseph Myers <joseph@codesourcery.com>
40814
7ea5391a
JM
40815 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40816 (ulimit): Likewise.
40817
eee2bc67
JM
40818 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40819 (settimeofday): Likewise.
40820
abb66a67
MF
408212012-05-08 Mike Frysinger <vapier@gentoo.org>
40822
40823 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40824 a struct th_u2 inside the union, and move tu_block/tu_code into
40825 a new th_u3 union of tu_block/tu_code inside of that. Move
40826 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40827 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40828 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40829 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40830 (th_stuff): Change to th_u1.tu_stuff.
40831 (th_data): Define.
40832 (th_msg): Change to th_u1.th_u2.tu_data.
40833
7f18b530
DM
408342012-05-07 David S. Miller <davem@davemloft.net>
40835
05760585
DM
40836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40837
7f18b530
DM
40838 [BZ #14074]
40839 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40840 (SETUP_PIC_REG): Use it.
40841 (SETUP_PIC_REG_LEAF): Use it.
40842
495fd99f
JM
408432012-05-07 Joseph Myers <joseph@codesourcery.com>
40844
40845 [BZ #13885]
40846 [BZ #13923]
40847 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40848 USE_AS_EXPM1L.
40849 (EXPL_FINITE): Likewise.
40850 (FLDLOG): Likewise.
40851 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40852 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40853 e_expl.S.
40854 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40855 USE_AS_EXPM1L.
40856 (EXPL_FINITE): Likewise.
40857 (FLDLOG): Likewise.
40858 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40859 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40860 e_expl.S.
40861 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40862 test of -max_value argument for long double.
40863 * sysdeps/i386/fpu/libm-test-ulps: Update.
40864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40865
6693d694
DM
408662012-05-06 David S. Miller <davem@davemloft.net>
40867
40868 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40869 quad soft-float symbols whose references which are compiler
40870 generated.
40871 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40872
6c23e11c
JM
408732012-05-06 Joseph Myers <joseph@codesourcery.com>
40874
d8b82cad
JM
40875 [BZ #13884]
40876 [BZ #13914]
40877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40878 USE_AS_EXP10L.
40879 (EXPL_FINITE): Likewise.
40880 (FLDLOG): Likewise.
40881 (c0): Likewise.
40882 (c1): Likewise.
40883 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40884 Adjust comments for base varying.
40885 (__expl_finite): Change alias to EXPL_FINITE.
40886 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40887 e_expl.S.
40888 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40889 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40891 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40892 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40893 USE_AS_EXP10L.
40894 (EXPL_FINITE): Likewise.
40895 (FLDLOG): Likewise.
40896 (c0): Likewise.
40897 (c1): Likewise.
40898 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40899 Adjust comments for base varying.
40900 (__expl_finite): Change alias to EXPL_FINITE.
40901 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40902 tests for bugs.
40903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40904
6c23e11c
JM
40905 [BZ #14064]
40906 * math/libm-test.inc (check_float_internal): Correct ulp
40907 calculation for subnormal expected results.
40908
29ba805c
AJ
409092012-05-06 Andreas Jaeger <aj@suse.de>
40910
40911 * Makeconfig (+math-flags): New, set to -frounding-math.
40912 (+cflags): Add +math-flags so that all of glibc gets compiled with
40913 it.
40914
40915 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40916
7b17aeda
JM
409172012-05-05 Joseph Myers <joseph@codesourcery.com>
40918
5779f134
JM
40919 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40920 Disable one test.
40921
41498f4d
JM
40922 [BZ #13787]
40923 [BZ #13922]
40924 [BZ #14036]
40925 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40926 (__ieee754_expl): Allow for and saturate large arguments.
40927 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40928 (u_threshold): Likewise.
40929 (__exp): Call __ieee754_exp before checking for overflow and
40930 underflow.
40931 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40932 (u_threshold): Likewise.
40933 (__expf): Call __ieee754_expf before checking for overflow and
40934 underflow.
40935 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40936 (u_threshold): Likewise.
40937 (__expl): Call __ieee754_expl before checking for overflow and
40938 underflow.
40939 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40940 (__ieee754_expl): Allow for and saturate large arguments.
40941 * math/libm-test.inc (exp_test): Add another test. Do not allow
40942 missing overflow exception on overflow.
40943 (expm1_test): Do not allow missing overflow exception on overflow.
40944
6698b8bf
JM
40945 * sysdeps/i386/fpu/e_expl.c: Move to ...
40946 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40947 rather than using inline asm.
40948 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40949 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40950 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40951
7b17aeda
JM
40952 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40953 (nice): Likewise.
40954 (poll): Likewise.
40955 (signal): Likewise.
40956 (time): Likewise.
40957 (times): Likewise.
40958
f7c85819
JM
409592012-05-04 Joseph Myers <joseph@codesourcery.com>
40960
40961 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40962 sysdeps/unix/common/syscalls.list.
40963 (fchmod): Likewise.
40964 (fchown): Likewise.
40965 (ftruncate): Likewise.
40966 (getrusage): Likewise.
40967 (gettimeofday): Likewise.
40968 (setpgid): Likewise.
40969 (setregid): Likewise.
40970 (setreuid): Likewise.
40971 (sigaction): Likewise.
40972 (truncate): Likewise.
40973 (vhangup): Likewise.
40974 * sysdeps/unix/common/syscalls.list: Remove file.
40975 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40976 * sysdeps/unix/sysv/linux/Implies: Likewise.
40977
336270d0
L
409782012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40979
40980 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40982 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40983 Moved to ...
40984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40985 Here.
40986 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40987 to ...
40988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40989 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40990 to ...
40991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40992 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40993 to ...
40994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40995 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40996 to ...
40997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40998 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40999 to ...
41000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41001 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41002 to ...
41003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41004 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41005 to ...
41006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41007 Here.
41008 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41009 to ...
41010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41011 Here.
41012 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41013 to ...
41014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41015 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41016 Moved to ...
41017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41018 Here.
41019 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41020 to ...
41021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41022
d128e450
JM
410232012-05-04 Joseph Myers <joseph@codesourcery.com>
41024
fa8ee516
JM
41025 * sysdeps/unix/common/bits/dirent.h: Remove file.
41026 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41027
d128e450
JM
41028 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41029 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41030 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41031 * sysdeps/unix/bsd/isatty.c: Likewise.
41032 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41033 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41034 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41035
ff8faaf0 410362012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 41037
62881be4 41038 [BZ #13563]
31dc8730
AZ
41039 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41040 long double comparison inaccuracies.
41041 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41043
6fef930c
AS
410442012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41045
41046 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41048
8f203e6c
JM
410492012-05-04 Joseph Myers <joseph@codesourcery.com>
41050
41051 [BZ #14049]
41052 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41053 nonzero digits before rounding a hex value.
41054 * stdlib/tst-strtod.c (tests): Add another test.
41055
5197d9c2
AK
410562012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41057
41058 * sysdeps/s390/fpu/libm-test-ulps: Update.
41059
f0c1dedf
AJ
410602012-05-03 Andreas Jaeger <aj@suse.de>
41061
41062 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41063 does not get optimized out.
41064 (malloc_opt_barrier): New.
41065
a65ef2ae 410662012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 41067 Roland McGrath <roland@hack.frob.com>
a65ef2ae 41068
2b942cb7 41069 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 41070 intermediate file deletion.
2b942cb7 41071 (generated): Add .symlist files.
a65ef2ae 41072
54b71e02
JM
410732012-05-03 Joseph Myers <joseph@codesourcery.com>
41074
41075 [BZ #13775]
41076 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41077 Redirect under this condition.
41078 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41079 [__USE_GNU] (__dprintf_chk): Not under this condition.
41080 [__USE_GNU] (__vdprintf_chk): Likewise.
41081 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41082 under this condition.
41083 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41084 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41085 [__USE_XOPEN2K8] (vdprintf): Likewise.
41086 [__USE_GNU] (__dprintf_chk): Not under this condition.
41087 [__USE_GNU] (__vdprintf_chk): Likewise.
41088 [__USE_GNU] (dprintf): Likewise.
41089 [__USE_GNU] (vdprintf): Likewise.
41090
d3dfcc41
RM
410912012-05-03 Roland McGrath <roland@hack.frob.com>
41092
41093 * elf/Makefile (common-generated): Set this instead of generated for
41094 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41095 $(all-built-dso)-derived lists.
41096
7ac30cc5
AJ
410972012-05-03 Andreas Jaeger <aj@suse.de>
41098
0c51e550
AJ
41099 * sysdeps/i386/fpu/libm-test-ulps: Update.
41100
7ac30cc5
AJ
41101 * FAQ: Removed.
41102 * FAQ.in: Likewise.
41103 * scripts/gen-FAQ.pl: Likewise.
41104 * manual/install.texi (Installation): Point to online location of
41105 FAQ.
41106 * Makefile (files-for-dist): Remove FAQ.
41107 (FAQ): Remove.
41108
d4c2917f
AM
411092012-05-02 Allan McRae <allan@archlinux.org>
41110
41111 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41112 (LDFLAGS-reldepmod5.so): Likewise.
41113 (LDFLAGS-reldep6mod1.so): Likewise.
41114 (LDFLAGS-reldep6mod4.so): Likewise.
41115 (LDFLAGS-reldep8mod3.so): Likewise.
41116 (LDFLAGS-unload4mod1.so): Likewise.
41117 (LDFLAGS-unload4mod2.so): Likewise.
41118 (LDFLAGS-tst-initorder): Likewise.
41119 (LDFLAGS-tst-initordera2.so): Likewise.
41120 (LDFLAGS-tst-initordera3.so): Likewise.
41121 (LDFLAGS-tst-initordera4.so): Likewise.
41122 (LDFLAGS-tst-initorderb2.so): Likewise.
41123 (LDFLAGS-noload): Likewise.
41124 (LDFLAGS-next): Likewise.
41125 (LDFLAGS-order2mod1.so): Likewise.
41126 (LDFLAGS-order2mod2.so): Likewise.
41127 (LDFLAGS-tst-initorder2): Likewise.
41128 (LDFLAGS-tst-initorder2a.so): Likewise.
41129 (LDFLAGS-tst-initorder2b.so): Likewise.
41130 (LDFLAGS-tst-initorder2c.so): Likewise.
41131 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41132
d77f993f
DM
411332012-05-02 David S. Miller <davem@davemloft.net>
41134
41135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41136
171a70b4
PP
411372012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41138
41139 [BZ #14055]
41140 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41141
0be196ad
AJ
411422012-05-02 Andreas Jaeger <aj@suse.de>
41143
41144 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41145 since we manipulate rounding mode.
41146 (CPPFLAGS-test-idouble.c): Likewise.
41147 (CPPFLAGS-test-ifloat.c): Likewise.
41148 (CFLAGS-test-ldouble.c): Likewise.
41149 (CFLAGS-test-double.c): Likewise.
41150 (CFLAGS-test-float.c): Likewise.
41151 (CFLAGS-test-misc.c): Likewise.
41152 (CFLAGS-test-test-fenv.c): Likewise.
41153
4f9d04aa
AZ
411542012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41155
2b942cb7
RM
41156 [BZ #2550]
41157 [BZ #2570]
41158 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41159 comparisons to determine direction to adjust input.
4f9d04aa 41160
82a79e7d
RM
411612012-05-01 Roland McGrath <roland@hack.frob.com>
41162
f5a01ca9
RM
41163 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41164 output to the target.
41165
90fe4186
RM
41166 * scripts/localplt.awk: New file.
41167 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41168 (check-localplt-CFLAGS): Variable removed.
41169 ($(all-built-dso:=.jmprel)): New static pattern rule.
41170 (generated): Add those targets.
41171 (localplt-built-dso): New variable.
41172 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41173
41174 * elf/check-localplt.c: File removed.
41175
82397ed6
RM
41176 * scripts/check-execstack.awk: New file.
41177 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41178 (check-execstack-CFLAGS): Variable removed.
41179 ($(objpfx)check-execstack.h): Target removed.
41180 ($(objpfx)execstack-default): New target.
41181 (generated): Add that instead of check-execstack.h.
41182 ($(all-built-dso:=.phdr)): New static pattern rule.
41183 (generated): Add those targets.
41184 * elf/check-execstack.c: File removed.
41185
82a79e7d
RM
41186 * scripts/check-textrel.awk: New file.
41187 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41188 (check-textrel-CFLAGS): Variable removed.
41189 (all-built-dso): Use := to define.o
41190 ($(all-built-dso:=.dyn)): New static pattern rule.
41191 (generated): Add those targets.
41192 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41193 * config.make.in (READELF): New substituted variable.
41194 * elf/check-textrel.c: File removed.
41195
62fde54f 411962012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41197
615605c9
JM
41198 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41199 allow.
41200 * conform/data/ctype.h-data [C99-based standards] (isblank):
41201 Expect function.
41202 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41203 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41205 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41206 Specify type. Require positive value.
41207 (EILSEQ): Likewise.
41208 (ERANGE): Likewise.
41209 [ISO || POSIX] (EILSEQ): Do not expect.
41210 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41211 Specify type. Require positive value.
41212 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41213 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41214 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41215 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41216 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41217 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41218 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41219 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41220 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41221 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41222 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41223 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41224 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41225 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41226 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41227 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41228 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41229 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41230 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41231 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41232 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41233 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41234 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41235 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41236 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41237 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41238 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41239 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41240 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41241 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41242 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41243 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41244 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41245 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41246 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41247 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41248 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41249 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41250 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41251 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41252 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41253 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41254 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41255 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41256 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41257 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41258 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41259 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41260 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41261 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41262 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41263 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41264 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41265 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41266 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41267 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41268 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41269 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41270 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41271 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41272 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41273 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41274 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41275 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41276 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41277 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41278 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41279 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41280 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41281 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41282 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41283 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41284 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41285 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41286 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41287 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41288 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41289 Require >= 2.
41290 (FLT_ROUNDS): Expect as macro, not constant.
41291 (FLT_MANT_DIG): Use macro-int-constant.
41292 (DBL_MANT_DIG): Likewise.
41293 (LDBL_MANT_DIG): Likewise.
41294 (FLT_DIG): Likewise.
41295 (DBL_DIG): Likewise.
41296 (LDBL_DIG): Likewise.
41297 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41298 (DBL_MIN_EXP): Likewise.
41299 (LDBL_MIN_EXP): Likewise.
41300 (FLT_MAX_EXP): Use macro-int-constant.
41301 (DBL_MAX_EXP): Likewise.
41302 (LDBL_MAX_EXP): Likewise.
41303 (FLT_MAX_10_EXP): Likewise.
41304 (DBL_MAX_10_EXP): Likewise.
41305 (LDBL_MAX_10_EXP): Likewise.
41306 (FLT_MAX): Use macro-constant.
41307 (DBL_MAX): Likewise.
41308 (LDBL_MAX): Likewise.
41309 (FLT_EPSILON): Use macro-constant. Give upper bound.
41310 (DBL_EPSILON): Likewise.
41311 (LDBL_EPSILON): Likewise.
41312 (FLT_MIN): Likewise.
41313 (DBL_MIN): Likewise.
41314 (LDBL_MIN): Likewise.
41315 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41316 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41317 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41318 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41319 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41320 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41321 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41322 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41323 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41324 [ISO11] (FLT_TRUE_MIN): Likewise.
41325 [ISO11] (LDBL_TRUE_MIN): Likewise.
41326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41327 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41328 (SCHAR_MIN): Use macro-int-constant. Specify type.
41329 (SCHAR_MAX): Likewise.
41330 (UCHAR_MAX): Likewise.
41331 (CHAR_MIN): Likewise.
41332 (CHAR_MAX): Likewise.
41333 (MB_LEN_MAX): Use macro-int-constant.
41334 (SHRT_MIN): Use macro-int-constant. Specify type.
41335 (SHRT_MAX): Likewise.
41336 (USHRT_MAX): Likewise.
41337 (INT_MAX): Likewise.
41338 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41339 bound negative.
41340 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41341 bound with "U".
41342 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41343 bound with "L".
41344 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41345 bound negative. Suffix upper bound with "L".
41346 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41347 bound with "UL".
41348 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41349 Specify type.
41350 [C99-based standards] (LLONG_MAX): Likewise.
41351 [C99-based standards] (ULLONG_MAX): Likewise.
41352 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41353 == 0.
41354 [ISO11] (max_align_t): Require type.
41355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41356
c9140a62
JM
41357 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41358 from $CFLAGS, without defining away __attribute__ calls.
41359 (checknamespace): Use $CFLAGS_namespace.
41360
9af0bf29
JM
41361 * conform/conformtest.pl (@keywords): Only include C99 keywords
41362 for standards based on C99 or C11.
41363
343222a2
JM
41364 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41365 Disable tests.
41366 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41367 UNIX98]: Likewise.
41368
661f8cf0
JM
41369 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41370 usability of symbols in #if.
41371
ee74b9cb
JM
41372 * conform/conformtest.pl: If macro or constant types start
41373 "promoted:", expect the symbol to be of the following type
41374 promoted by the integer promotions.
62fde54f 41375
aafc49b3
JM
41376 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41377 in one place. Also handle "macro-constant".
41378
fefdf574
JM
41379 * conform/conformtest.pl: Only accept expected macro values with
41380 "==". Parse all "macro" lines in one place.
41381 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41382
f2d922fe
JM
41383 * conform/conformtest.pl: Handle braced types on "constant" lines
41384 instead of handling "typed-constant".
41385 * conform/data/signal.h-data: Use "constant" instead of
41386 "typed-constant".
41387
d22956c9
JM
41388 * conform/conformtest.pl: Handle "optional-" at start of lines in
41389 one place rather than duplicating several cases. Handle each
41390 format of "macro" line with initial "optional-".
41391
028e2e38
JM
41392 * conform/conformtest.pl: Only accept expected constant or
41393 optional-constant values with "==". Parse all "constant" lines in
41394 one place. Parse all "optional-constant" lines in one place.
41395 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41396 * conform/data/fmtmsg.h-data: Likewise.
41397 * conform/data/netinet/in.h-data: Likewise.
41398 * conform/data/tar.h-data: Likewise.
41399 * conform/data/limits.h-data: Use "==" form on "constant" and
41400 "optional-constant" lines.
41401
1b8f2850
JM
41402 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41403 Use -std=c99 for XOPEN2K.
41404 (@knownproblems): Remove.
41405 (newtoken): Don't check %isknown.
41406
a05a144b
JM
41407 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41408 Do not expect macro.
41409 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41410 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41411 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41412 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41413 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41414 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41415 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41416 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41417 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41418 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41419 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41420 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41421 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41422 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41423 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41424 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41425 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41426 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41427 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41428 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41429 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41430 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41431 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41432 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41433 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41434 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41435 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41436 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41437 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41438 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41439 [XPG3] (acosh): Likewise.
41440 [XPG3] (asinh): Likewise.
41441 [XPG3] (atanh): Likewise.
41442 [XPG3] (cbrt): Likewise.
41443 [XPG3] (expm1): Likewise.
41444 [XPG3] (ilogb): Likewise.
41445 [XPG3] (log1p): Likewise.
41446 [XPG3] (logb): Likewise.
41447 [XPG3] (nextafter): Likewise.
41448 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41449 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41450 [XPG3] (remainder): Likewise.
41451 [XPG3] (rint): Likewise.
41452 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41453 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41454 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41455 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41456 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41457 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41458 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41459 [UNIX98 || XOPEN2K] (scalb): Expect.
41460 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41461 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41462 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41463 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41464 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41465 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41466 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41467 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41468 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41469 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41470 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41471 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41472 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41473 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41474 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41475 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41476 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41477 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41478 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41479 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41480 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41481 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41482 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41483 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41484 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41485 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41486 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41487 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41488 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41489 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41490 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41491 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41492 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41493 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41494 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41495 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41496 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41497 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41498 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41499 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41500 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41501 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41502 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41503 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41504 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41505 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41506 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41507 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41508 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41509 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41510 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41511 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41512 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41513 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41514 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41515 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41516 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41517 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41518 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41519 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41520 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41521 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41522 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41523 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41524 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41525 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41526 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41527 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41528 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41529 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41530 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41531 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41532 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41533 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41534 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41535 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41536 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41537 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41538 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41539 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41540 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41541 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41542 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41543 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41544 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41545 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41546 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41547 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41548 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41549 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41550 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41551 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41552 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41553 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41554 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41555 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41556 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41557 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41558 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41559 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41560 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41561 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41562 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41563 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41564 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41565 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41566 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41567 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41568 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41569 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41570 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41571 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41572 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41573 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41574 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41575 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41576 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41577 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41578 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41579 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41580 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41581 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41582 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41583 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41584 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41585 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41586 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41587 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41588 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41589 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41590 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41591 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41592 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41593 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41594 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41595 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41596 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41597
73c5ebe3
JM
41598 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41599 _XOPEN_SOURCE_EXTENDED for XPG4.
41600
39c33b6c
JM
41601 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41602
62fde54f
JM
41603 * Makeconfig (localtime): Remove variable.
41604 (inst_localtime-file): Likewise.
41605
0741d64c
AS
416062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41607
41608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41609 Update.
41610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41611 Update.
41612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41613 Update.
41614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41615 Update.
41616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41617 Update.
41618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41619 Update.
41620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41621 Update.
41622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41623 Update.
41624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41625 Update.
41626
7cb029ee
JM
416272012-05-01 Joseph Myers <joseph@codesourcery.com>
41628
41629 [BZ #2550]
41630 [BZ #2570]
41631 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41632 comparisons to determine direction to adjust input.
41633 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41634 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41636 Likewise.
41637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41638 Likewise.
41639 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41640 Likewise.
41641 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41642 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41643 Likewise.
41644 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41645 Likewise.
41646 * math/libm-test.inc (nexttoward_test): Add more tests.
41647
412bd966
AS
416482012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41649
41650 [BZ #14040]
41651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41652 in version GLIBC_2.1, not GLIBC_2.0.
41653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41654 Likewise.
41655
9568c0c2
JM
416562012-04-30 Joseph Myers <joseph@codesourcery.com>
41657
adfbc8ac
JM
41658 [BZ #13942]
41659 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41660 (1 - x) * (1 + x).
41661 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41662 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41663 * math/libm-test.inc (acos_test): Add more tests.
41664 (asin_test): Likewise.
41665 * sysdeps/i386/fpu/libm-test-ulps: Update.
41666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41667
5ba3cc69
JM
41668 [BZ #14034]
41669 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41670 of square root.
41671 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41672 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41673 * math/libm-test.inc (acos_test_tonearest): New function.
41674 (acos_test_towardzero): Likewise.
41675 (acos_test_downward): Likewise.
41676 (acos_test_upward): Likewise.
41677 (asin_test_tonearest): Likewise.
41678 (asin_test_towardzero): Likewise.
41679 (asin_test_downward): Likewise.
41680 (asin_test_upward): Likewise.
41681 (main): Call the new functions.
41682 * sysdeps/i386/fpu/libm-test-ulps: Update.
41683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41684
9568c0c2
JM
41685 [BZ #13884]
41686 [BZ #13924]
41687 * math/e_exp10.c: Include <float.h>.
41688 (__ieee754_exp10): Handle underflow here rather than multiplying
41689 large negative argument by M_LN10.
41690 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41691 of __ieee754_expf.
41692 * math/e_exp10l.c: Include <float.h>.
41693 (__ieee754_exp10l): Handle underflow here rather than multiplying
41694 large negative argument by M_LN10l.
41695 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41696 spurious overflow exception on underflow.
41697
5ac3ea17
MP
416982012-04-29 Marek Polacek <polacek@redhat.com>
41699
41700 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41701 (__fortify_function): New macro.
41702 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41703 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41704 __extern_always_inline.
41705 * libio/bits/stdio2.h: Likewise.
41706 * libio/bits/stdio.h: Likewise.
41707 * string/string.h: Likewise.
41708 * string/bits/string3.h: Likewise.
41709 * include/stdio.h: Likewise.
41710 * stdlib/bits/stdlib.h: Likewise.
41711 * stdlib/stdlib.h: Likewise.
41712 * rt/bits/mqueue2.h: Likewise.
41713 * rt/mqueue.h: Likewise.
41714 * posix/bits/unistd.h: Likewise.
41715 * posix/unistd.h: Likewise.
41716 * io/bits/poll2.h: Likewise.
41717 * io/bits/fcntl2.h: Likewise.
41718 * io/fcntl.h: Likewise.
41719 * io/sys/poll.h: Likewise.
41720 * misc/bits/syslog.h: Likewise.
41721 * misc/bits/syslog-ldbl.h: Likewise.
41722 * misc/sys/syslog.h: Likewise.
41723 * socket/bits/socket2.h: Likewise.
41724 * socket/sys/socket.h: Likewise.
41725 * debug/tst-chk1.c: Likewise.
41726 * wcsmbs/bits/wchar2.h: Likewise.
41727 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41728 * wcsmbs/wchar.h: Likewise.
41729
ecf0ebfb
AJ
417302012-04-29 Andreas Jaeger <aj@suse.de>
41731
41732 * Makerules (tests): Remove enable-check-abi protection.
41733 (check-abi-warn): Remove.
41734 (check-abi-%): Remove check-abi-warn usage.
41735
41736 * configure.in: Remove check-abi configure option.
41737 * configure: Regenerated.
41738 * config.make.in (enable-check-abi): Remove.
41739
6d5c57fa
AS
417402012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41741
24c5d07e 41742 [BZ #14033]
ded5180a
AS
41743 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41744 double functions to double *_finite functions.
41745
7e0d315d
AS
41746 [BZ #13941]
41747 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41748 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41749 LDBL_MIN_EXP.
41750 * stdio-common/Makefile (tests): Add tst-sprintf3.
41751 * stdio-common/tst-sprintf3.c: New file.
41752
6d5c57fa
AS
41753 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41754 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41755
0749ff8b
JM
417562012-04-28 Joseph Myers <joseph@codesourcery.com>
41757
41758 * conform/conformtest.pl: Remove duplicate typed-constant
41759 handling.
41760
8dbd5d7b
DM
417612012-04-28 David S. Miller <davem@davemloft.net>
41762
41763 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41764 (check-abi-%): Remove AWK script prerequisite and explicit
41765 abilist directory.
41766 (check-abi): Rewrite to just diff the symlist with the abilist.
41767 (config-tls, config-abi-config): Delete, no longer used.
41768 (update-abi-%): Remove AWK script and explicit abilist directory.
41769 (update-abi): Rewrite to simply compare and conditionally copy the
41770 symlist and the sysdep abilist file. Remove update-abi-config
41771 checks.
41772 * abilist/ld.abilist: Remove.
41773 * abilist/libBrokenLocale.abilist: Remove.
41774 * abilist/libanl.abilist: Remove.
41775 * abilist/libcrypt.abilist: Remove.
41776 * abilist/libdl.abilist: Remove.
41777 * abilist/librt.abilist: Remove.
41778 * abilist/libthread_db.abilist: Remove.
41779 * abilist/libutil.abilist: Remove.
41780 * scripts/extract-abilist.awk: Remove.
41781 * scripts/merge-abilist.awk: Remove.
41782 * sysdeps/generic/libcidn.abilist: New file.
41783 * sysdeps/generic/libnss_compat.abilist: New file.
41784 * sysdeps/generic/libnss_db.abilist: New file.
41785 * sysdeps/generic/libnss_dns.abilist: New file.
41786 * sysdeps/generic/libnss_files.abilist: New file.
41787 * sysdeps/generic/libnss_hesiod.abilist: New file.
41788 * sysdeps/generic/libnss_nis.abilist: New file.
41789 * sysdeps/generic/libnss_nisplus.abilist: New file.
41790 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41791 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41792 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41793 file.
41794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41795 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41796 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41797 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41798 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41799 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41800 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41801 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41802 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41803 file.
41804 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41805 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41806 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41807 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41808 file.
41809 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41810 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41811 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41812 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41813 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41814 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41815 file.
41816 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41817 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41818 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41819 file.
41820 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41822 New file.
41823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41824 New file.
41825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41826 New file.
41827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41828 New file.
41829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41830 New file.
41831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41832 New file.
41833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41834 New file.
41835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41836 New file.
41837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41838 New file.
41839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41840 New file.
41841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41842 New file.
41843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41844 New file.
41845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41846 New file.
41847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41848 file.
41849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41850 New file.
41851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41852 New file.
41853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41854 file.
41855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41856 New file.
41857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41858 New file.
41859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41860 file.
41861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41862 New file.
41863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41864 New file.
41865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41866 New file.
41867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41868 New file.
41869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41870 New file.
41871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41872 New file.
41873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41875 file.
41876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41877 New file.
41878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41879 file.
41880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41881 file.
41882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41883 file.
41884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41885 file.
41886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41887 file.
41888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41889 New file.
41890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41891 file.
41892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41893 file.
41894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41895 New file.
41896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41897 file.
41898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41900 file.
41901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41902 New file.
41903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41904 file.
41905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41906 file.
41907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41908 file.
41909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41910 file.
41911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41912 file.
41913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41914 New file.
41915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41916 file.
41917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41918 file.
41919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41920 New file.
41921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41922 file.
41923 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41924 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41925 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41926 file.
41927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41928 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41929 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41930 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41931 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41932 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41933 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41934 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41935 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41936 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41939 file.
41940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41941 New file.
41942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41943 file.
41944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41945 file.
41946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41947 file.
41948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41949 file.
41950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41951 file.
41952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41953 New file.
41954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41955 New file.
41956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41957 file.
41958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41959 New file.
41960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41961 file.
41962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41964 file.
41965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41966 New file.
41967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41968 file.
41969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41970 file.
41971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41972 file.
41973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41974 file.
41975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41976 file.
41977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41978 New file.
41979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41980 New file.
41981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41982 file.
41983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41984 New file.
41985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41986 file.
41987
41d73a1b
JM
419882012-04-28 Joseph Myers <joseph@codesourcery.com>
41989
41990 * conform/conformtest.pl: Fix typo in handling typed-constant from
41991 allow-header.
41992
28aeeda4
JM
419932012-04-27 Joseph Myers <joseph@codesourcery.com>
41994
adae8f5e
JM
41995 * README: Cut down references to pre-2.6 Linux kernels and
41996 Linuxthreads. Update lists of configurations in libc and ports
41997 and sort alphabetically. Say "or newer" with Linux kernel version
41998 requirements.
41999
28aeeda4
JM
42000 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42001
a462cb63
RA
420022012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42003
42004 [BZ #887]
42005 * math/libm-test.inc (logb_test_downward): New test to expose
42006 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42007 rounding mode.
42008
6ad3493e
JM
420092012-04-27 Joseph Myers <joseph@codesourcery.com>
42010
42011 [BZ #14027]
42012 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42013 to be done.
42014 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42015 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42016
2ce4f015
JM
420172012-04-26 Joseph Myers <joseph@codesourcery.com>
42018
5aeb141a
JM
42019 * sysdeps/unix/i386/brk.S: Remove file.
42020 * sysdeps/unix/i386/dl-brk.S: Likewise.
42021 * sysdeps/unix/i386/pipe.S: Likewise.
42022 * sysdeps/unix/i386/sigreturn.S: Likewise.
42023 * sysdeps/unix/i386/syscall.S: Likewise.
42024 * sysdeps/unix/i386/vfork.S: Likewise.
42025 * sysdeps/unix/i386/wait.S: Likewise.
42026
7143acae
JM
42027 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42028 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42029
2ce4f015
JM
42030 * configure.in (arm*-none*): Do not allow without
42031 --enable-hacker-mode.
42032 (netbsd*): Remove case setting base_os.
42033 (386bsd*): Likewise.
42034 (freebsd*): Likewise.
42035 (bsdi*): Likewise.
42036 (osf*): Likewise.
42037 (sunos*): Likewise.
42038 (ultrix*): Likewise.
42039 (newsos*): Likewise.
42040 (dynix*): Likewise.
42041 (*bsd*): Likewise.
42042 (sysv*): Likewise.
42043 (isc*): Likewise.
42044 (esix*): Likewise.
42045 (sco*): Likewise.
42046 (minix*): Likewise.
42047 (irix4*): Likewise.
42048 (irix6*): Likewise.
42049 (solaris[2-9]*): Likewise.
42050 (none): Likewise.
42051 * configure: Regenerated.
42052
0ac229c8
AZ
420532012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42054
42055 [BZ #11521]
42056 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42057 overflow or cancellation in calculating denominator.
42058 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42059 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42060 down expression to avoid unexpected rounding in newer GCCs.
42061 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42062
33f244f4
DM
420632012-04-26 David S. Miller <davem@davemloft.net>
42064
42065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42066 long-double compat symbols.
42067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42080
cfa1f3e8
DM
420812012-04-25 David S. Miller <davem@davemloft.net>
42082
42083 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42084 HWCAP_* values only after the memory barriers have been defined.
42085 (atomic_full_barrier): Define.
42086 (atomic_read_barrier): Define.
42087 (atomic_write_barrier): Define.
42088
6e236b92
SP
420892012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42090
42091 * shlib-versions: Add libgcc_s version information.
42092 * sysdeps/generic/libgcc_s.h: Remove.
42093 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42094 libgcc_s.h.
42095 * sysdeps/gnu/unwind-resume.c: Likewise.
42096 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42097
aab39a09
DM
420982012-04-25 David S. Miller <davem@davemloft.net>
42099
42100 * sysdeps/unix/sparc/brk.S: Delete.
42101 * sysdeps/unix/sparc/dl-brk.S: Delete.
42102 * sysdeps/unix/sparc/pipe.S: Delete.
42103 * sysdeps/unix/sparc/sysdep.S: Delete.
42104 * sysdeps/unix/sparc/sysdep.h: Delete.
42105 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
42106 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42107 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42108 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42109 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
42110 (JUMPTARGET): Remove.
42111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42112 sysdeps/unix/sparc/sysdep.h
42113 (ENTRY, END): Remove.
42114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42115
a3cc4f48
JM
421162012-04-25 Joseph Myers <joseph@codesourcery.com>
42117
2ed8cda2
JM
42118 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42119 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42120 -DIS_IN_build.
42121
35d76d59
JM
42122 * timezone/README: Update upstream location and email address for
42123 tzcode and tzdata.
42124 * timezone/zdump.c: Update from tzcode 2012b.
42125 * timezone/zic.c: Likewise.
42126
a3cc4f48
JM
42127 * configure.in (libc_cv_as_needed): Remove test.
42128 * configure: Regenerated.
42129 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42130 conditional definition.
42131 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42132 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42133 * config.make.in (have-as-needed): Remove variable.
42134
ceab42c3
SP
421352012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42136 Paul Pluzhnikov <ppluzhnikov@google.com>
42137
42138 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42139 strings correctly.
42140
3ce2865f
CLT
421412012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42142
42143 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42144 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42145 * sysdeps/sh/strlen.S: Likewise.
42146
f37e0d68
JM
421472012-04-24 Joseph Myers <joseph@codesourcery.com>
42148
ae186e9a
JM
42149 * sysdeps/unix/fork.S: Remove file.
42150 * sysdeps/unix/i386/fork.S: Likewise.
42151 * sysdeps/unix/sparc/fork.S: Likewise.
42152
b96914af
JM
42153 * sysdeps/unix/system.c: Remove file.
42154 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42155
f37e0d68
JM
42156 * sysdeps/unix/getegid.S: Remove file.
42157 * sysdeps/unix/geteuid.S: Likewise.
42158
87ef29ca
RM
421592012-04-24 Roland McGrath <roland@hack.frob.com>
42160
83bcd236
RM
42161 * scripts/check-localplt.awk: New file.
42162 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42163 of diff.
42164 * scripts/data/localplt-generic.data: Add a comment.
42165
87ef29ca
RM
42166 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42167 NODE when __dir_mkfile failed.
42168 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42169 Reported by Ludovic Courtès <ludo@gnu.org>.
42170
e5a6e567
AJ
421712012-04-24 Andreas Jaeger <aj@suse.de>
42172
42173 * Makerules (common-clean): Also remove gen-as-const-headers
42174 files.
42175
c1820385
JM
421762012-04-24 Joseph Myers <joseph@codesourcery.com>
42177
42178 * Makerules (native-compile): Do not change working directory for
42179 build. Use $(OUTPUT_OPTION) in command.
42180 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42181
94e02fc4
AZ
421822012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42183
42184 [BZ #13886]
42185 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42186 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42187 * math/libm-test.inc (floor_test): Add more tests.
42188 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42189
3a533ca3
JM
421902012-04-24 Joseph Myers <joseph@codesourcery.com>
42191
940ab4b3
JM
42192 * sysdeps/unix/getdents.c: Remove file.
42193 * sysdeps/unix/sysv/getdents.c: Likewise.
42194 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42195
90e037bd
JM
42196 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42197 sysdeps/unix/mman/syscalls.list.
42198 (mmap): Likewise.
42199 (mprotect): Likewise.
42200 (msync): Likewise.
42201 (munmap): Likewise.
42202 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42203 * sysdeps/unix/mman/syscalls.list: Remove.
42204 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42205
3a533ca3
JM
42206 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42207 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42208 * configure: Regenerated.
42209 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42210 $(libgcc_s_suffix).
42211 * config.make.in (libgcc_s_suffix): Remove variable.
42212
1ad743de
JM
422132012-04-23 Joseph Myers <joseph@codesourcery.com>
42214
4ad451e2
JM
42215 * sysdeps/unix/sysv/gethostname.c: Move to ...
42216 * sysdeps/posix/gethostname.c: ... here.
42217
5e37ce39
JM
42218 * sysdeps/unix/execve.S: Remove file.
42219
1ad743de
JM
42220 * sysdeps/unix/_exit.S: Remove file.
42221
4e681b5b
AJ
422222012-04-23 Andreas Jaeger <aj@suse.de>
42223
42224 [BZ #13739]
42225 * manual/Makefile: Remove make dist support, there's no
42226 need for a stand-alone documentation tar ball.
42227 (TEXI2DVI): Define always, it's not in Makeconfig.
42228 (dist): Removed.
42229 (tar-it): Removed.
42230 (edition): Removed.
42231 (glibc-doc-$(edition).tar): Removed
42232 (%.Z): Removed.
42233 (%.gz): Removed.
42234 (%.uu): Removed.
42235 (ETAGS): Remove, it's in Makeconfig.
42236 (move-if-change): Remove, it's in Makeconfig.
42237
38686a03 422382012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42239
42240 [BZ #13970]
42241 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42242 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42243 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42244 (strtod_l, strtof_l, strtold_l): Remove __wur.
42245 It is not necessarily an error to ignore strtol's return value.
42246 One can reliably look at the stored endptr to decide whether
42247 the number had valid syntax.
42248
7c0616fa
AJ
422492012-04-21 Andreas Jaeger <aj@suse.de>
42250
803cb6b7 42251 [BZ #13739]
7c0616fa
AJ
42252 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42253
b0fe253f
JM
422542012-04-21 Joseph Myers <joseph@codesourcery.com>
42255
42256 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42257 * sysdeps/unix/sysv/Versions: Remove file.
42258
8280f22d
MT
422592012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42260
42261 [BZ #13927]
42262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42263
75ce411f 422642012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42265
42266 [BZ #7064]
42267 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42268 version from __vm86.
42269
097d59fa
JM
422702012-04-20 Joseph Myers <joseph@codesourcery.com>
42271
a90f3bcb
JM
42272 * sysdeps/unix/common/lxstat.c: Remove file.
42273 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42274
edc7ea78
JM
42275 * sysdeps/unix/sysv/Makefile: Remove file.
42276
cb78c221
JM
42277 * sysdeps/unix/sysv/direct.h: Remove file.
42278
efa6a45f
JM
42279 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42280 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42281 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42282 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42283 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42284 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42285 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42286
9c9f2d0c
JM
42287 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42288
4541c83b
JM
42289 * sysdeps/unix/xmknod.c: Remove file.
42290 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42291
f5d153a0
JM
42292 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42293
aa746595
JM
42294 * sysdeps/unix/sysv/i386/time.S: Remove file.
42295
cce5905e
JM
42296 * sysdeps/unix/fxstat.c: Remove file.
42297 * sysdeps/unix/xstat.c: Likewise.
42298 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42299
37fa3841
JM
42300 * sysdeps/unix/sysv/sigaction.c: Remove file.
42301
ff1962a3
JM
42302 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42303 (sysdep_headers): Remove variable.
42304 [termio.h not in sysdep_headers] (generated): Likewise.
42305 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42306 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42307 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42308 * sysdeps/unix/sysv/tcflow.c: Likewise.
42309 * sysdeps/unix/sysv/tcflush.c: Likewise.
42310 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42311 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42312 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42313 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42314 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42315
e7740d31
JM
42316 * sysdeps/unix/siglist.c: Remove file.
42317
ee06f18b
JM
42318 * sysdeps/unix/getppid.S: Remove file.
42319
097d59fa
JM
42320 * sysdeps/unix/mkdir.c: Remove file.
42321 * sysdeps/unix/rmdir.c: Likewise.
42322
ff3d51ec
AS
423232012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42324
42325 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42326 ERR_MAX value.
42327 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42328 errlist-compat value.
42329
50f81fd7
DM
423302012-04-18 David S. Miller <davem@davemloft.net>
42331
42332 * sysdeps/generic/memcopy.h (reg_char): Delete.
42333 * debug/strcat_chk.c: Use char, not reg_char.
42334 * debug/strcpy_chk.c: Likewise.
42335 * debug/strncat_chk.c: Likewise.
42336 * debug/strncpy_chk.c: Likewise.
42337 * string/memchr.c: Likewise.
42338 * string/memrchr.c: Likewise.
42339 * string/rawmemchr.c: Likewise.
42340 * string/strcat.c: Likewise.
42341 * string/strchr.c: Likewise.
42342 * string/strchrnul.c: Likewise.
42343 * string/strcmp.c: Likewise.
42344 * string/strcpy.c: Likewise.
42345 * string/strncat.c: Likewise.
42346 * string/strncmp.c: Likewise.
42347 * string/strncpy.c: Likewise.
42348
8ff41c46
WS
423492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42350
42351 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42352 __builtin_memcopy is called when src and dest ranges are known to not
42353 overlap.
42354
6b652f46
WS
423552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42356
42357 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42358 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42359 fwd_align_merge macro call.
42360 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42361 bwd_align_merge macro call.
42362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42363
b282631e
WS
423642012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42365
42366 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42367 bwd_align_merge macros.
42368 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42369 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42370 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42371
95aa737c
DM
423722012-04-18 David S. Miller <davem@davemloft.net>
42373
42374 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42375
7a99a614
AJ
423762012-04-18 Andreas Jaeger <aj@suse.de>
42377
42378 [BZ# 6794]
42379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42380 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42382
42383 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42384 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42386
42387 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42388 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42389 Adjust for changed ldbl-128 files.
42390
42391 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42392 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42393 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42394
e5270c23
DM
423952012-04-17 David S. Miller <davem@davemloft.net>
42396
42397 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42398
fb5e92c9
AS
423992012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42400
42401 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42402 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42403 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42404 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42405 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42406 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42407
76da7265
AZ
424082012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42409
42410 [BZ #6794]
42411 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42412 * math/libm-test.inc: Add ilogb errno and exception tests.
42413 * math/w_ilogb.c: New file: ilogb wrapper.
42414 * math/w_ilogbf.c: New file: ilogbf wrapper.
42415 * math/w_ilogbl.c: New file: ilogbl wrapper.
42416 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42417 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42418 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42419 exception being thrown with 0.0 as argument.
42420 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42421 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42422 exception being thrown with 0.0 as argument.
42423 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42424 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42425 exception being thrown with 0.0 as argument.
42426 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42427 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42428 exception being thrown with 0.0 as argument.
42429 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42430 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42431 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42432 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42433 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42434 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42435 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42436 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42437 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42438
0396e69d
PB
424392012-04-17 Petr Baudis <pasky@ucw.cz>
42440
42441 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42442 with altivec.
42443
750b5926
MP
424442012-04-16 Marek Polacek <polacek@redhat.com>
42445
42446 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42447
751728a1
MP
424482012-04-16 Marek Polacek <polacek@redhat.com>
42449
42450 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42451 operands of fdivp instruction.
42452
34a27407
L
424532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42454
42455 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42456 * elf/tst-auditmod3b.c: Likewise.
42457 * elf/tst-auditmod4b.c: Likewise.
42458 * elf/tst-auditmod5b.c: Likewise.
42459 * elf/tst-auditmod6b.c: Likewise.
42460 * elf/tst-auditmod6c.c: Likewise.
42461 * elf/tst-auditmod7b.c: Likewise.
42462 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42463 * sysdeps/x86_64/preconfigure.in: Likewise.
42464 * sysdeps/x86_64/preconfigure: Regenerated.
42465
7e73e17d
L
424662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42467
42468 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42469 __ILP32__.
42470
c7a6ab72
AB
424712012-04-13 Antoine Balestrat <merkil33@gmail.com>
42472
42473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42474 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42475
a9e8e0e0
CL
424762012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42477
42478 [BZ #13973]
42479 * locale/iso-639.def: Fix gl language name. Spotted by
42480 Yaron Shahrabani.
42481
ec98af7d
RM
424822012-04-12 Roland McGrath <roland@hack.frob.com>
42483
42484 [BZ #2074]
42485 * libio/libio.h (__io_write_fn): Update comment.
42486
247c3ede
PB
424872012-04-12 Petr Baudis <pasky@ucw.cz>
42488
42489 [BZ #2074]
42490 * stdio.texi (Hook Functions): The user provided writer function
42491 is not allowed to return -1.
42492
55939d6d
DM
424932012-04-11 David S. Miller <davem@davemloft.net>
42494
42495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42496
90020f5a
MF
424972012-04-11 Mike Frysinger <vapier@gentoo.org>
42498
42499 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42500 Add a leading slash to rtkaio.
42501
288f9098
JM
425022012-04-11 Jim Meyering <meyering@redhat.com>
42503
90020f5a
MF
42504 [BZ #11959]
42505 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42506 It is not necessarily an error to ignore fwrite's return
42507 value. One can reliably use ferror to test for errors after
42508 the fact.
288f9098 42509
4be2b570
L
425102012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42511
42512 * bits/types.h (__snseconds_t): New type.
42513 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42514
42515 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42516 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42517 (__SNSECONDS_T_TYPE): Likewise.
42518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42519 (__SNSECONDS_T_TYPE): Likewise.
42520 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42521 (__SNSECONDS_T_TYPE): Likewise.
42522
288f9098 425232012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42524
42525 [BZ #2636]
42526 * manual/time.texi (Processor Time): Return type of times is
42527 elapsed real time since an arbitrary point in the past.
42528 (CPU Time): Move CLK_TCK from here...
42529 (Processor Time): ...to here. Correct description.
42530 * manual/conf.texi (Constants for Sysconf): Correct description of
42531 _SC_CLK_TCK.
42532
d7dd4413
DM
425332012-04-10 David S. Miller <davem@davemloft.net>
42534
42535 [BZ #13967]
42536 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42537 where the is a gap between DT_REL(A) and DT_JMPREL.
42538
b46068fc
L
425392012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42540
42541 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42542 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42543 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42544
73d65cc3
SP
425452012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42546
42547 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42548 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42549 (dl_main): Handle --inhibit-cache.
42550 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42551 _dl_inhibit_cache.
42552 * elf/dl-load.c (_dl_map_object): Use it.
42553 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42554
bcc8d661
JM
425552012-04-09 Joseph Myers <joseph@codesourcery.com>
42556
8f9a2fae
JM
42557 [BZ #13872]
42558 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42559 (__ieee754_powl): Saturate large exponents rather than testing for
42560 overflow of y*log2(x).
42561 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42562 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42563 exceptions.
42564
bcc8d661
JM
42565 [BZ #11521]
42566 * math/s_ctan.c: Include <float.h>.
42567 (__ctan): Avoid internal overflow or cancellation in calculating
42568 denominator.
42569 * math/s_ctanf.c: Likewise.
42570 * math/s_ctanl.c: Likewise.
42571 * math/s_ctanh.c: Likewise.
42572 * math/s_ctanhf.c: Likewise.
42573 * math/s_ctanhl.c: Likewise.
42574 * math/libm-test.inc (ctan_test): Add more tests.
42575 (ctanh_test): Likewise.
42576 * sysdeps/i386/fpu/libm-test-ulps: Update.
42577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42578
823fbbb4
AJ
425792012-04-09 Andreas Jaeger <aj@suse.de>
42580
03879793
AJ
42581 [BZ #6894]
42582 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42583 is an optional BSD extension.
42584
823fbbb4
AJ
42585 [BZ #10254]
42586 * manual/stdio.texi (Opening Streams): Document additional fopen
42587 parameters.
42588
8de131cb
RM
425892012-04-09 Roland McGrath <roland@hack.frob.com>
42590
42591 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42592 %eax without telling the compiler.
42593
c0ed9d7d
CD
425942012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42595
42596 [BZ # 13963]
42597 * manual/install.texi: Use sourceware.org.
42598
c483f6b4
JM
425992012-04-09 Joseph Myers <joseph@codesourcery.com>
42600
d7dd9453
JM
42601 [BZ #13873]
42602 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42603 (__ieee754_pow): Generate overflow and underflow using huge*huge
42604 and tiny*tiny rather than just returning constant infinity or zero
42605 for large exponents.
42606 * math/libm-test.inc (pow_test): Require overflow exceptions for
42607 applicable cases of large exponents.
42608
c483f6b4
JM
42609 [BZ #706]
42610 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42611 (__ieee754_pow): Use iterative multiplication algorithm only for
42612 integer exponents with absolute value below 1024. Check for odd
42613 integer exponents when using algorithm for real exponents.
42614 * math/libm-test.inc (pow_test): Add more tests.
42615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42616
d2de7579
JM
426172012-04-08 Joseph Myers <joseph@codesourcery.com>
42618
42619 [BZ #13705]
42620 * math/libm-test.inc (exp_test): Do not allow overflow exception
42621 on underflow test.
42622
f77f1232
AJ
426232012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42624
42625 [BZ #13705]
42626 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42627 instead of __kernel_standard_f.
42628
3884932b
MF
426292012-04-08 Mike Frysinger <vapier@gentoo.org>
42630
42631 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42632 * sysdeps/x86_64/memset_chk.S: Likewise.
42633
54472e9c
AJ
426342012-04-08 Andreas Jaeger <aj@suse.de>
42635
6ab0fbfc
AJ
42636 [BZ #10153]
42637 * manual/startup.texi (Environment Access): Describe return value
42638 for putenv and setenv.
42639
61efba8c
AJ
42640 [BZ #6895]
42641 * manual/filesys.texi (Directory Entries): Add description for
42642 DT_LNK.
42643
95c3f29a
AJ
42644 [BZ #6890]
42645 * manual/filesys.texi (Directory Entries): Clarify that it's file
42646 system not operating system in the description of DT_UNKNOWN.
42647
54472e9c
AJ
42648 [BZ #6578]
42649 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42650
624254b1
SC
426512012-04-08 Stephen Compall <s11@member.fsf.org>
42652
42653 [BZ #6649]
42654 * manual/llio.texi (Opening and Closing Files): Add cross
42655 reference to explain mode argument.
42656
1e4920e0
MF
426572012-04-07 Mike Frysinger <vapier@gentoo.org>
42658
42659 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42660 * sysdeps/x86_64/memset_chk.S: Likewise.
42661
5ed848f3
DM
426622012-04-07 David S. Miller <davem@davemloft.net>
42663
42664 * elf/elf.h (R_SPARC_WDISP10): Define.
42665 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42666 R_SPARC_SIZE32.
42667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42668 R_SPARC_SIZE64 and R_SPARC_H34.
42669
96154cd8
CD
426702012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42671
42672 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42673 conditions and remove no longer applicable assertion.
42674
9904dc47
L
426752012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42676
42677 * bits/byteswap.h: Include <features.h>.
42678 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42679 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42680
f8887d0a
L
426812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42682
42683 * bits/byteswap.h (__bswap_16): Removed.
42684 Include <bits/byteswap-16.h> to get __bswap_16.
42685 * sysdeps/i386/bits/byteswap.h: Likewise.
42686 * sysdeps/s390/bits/byteswap.h: Likewise.
42687 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42688 * bits/byteswap-16.h: New file.
42689 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42690 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42691 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42692 * string/Makefile (headers): Add bits/byteswap-16.h.
42693
62470f60
PP
426942012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42695
42696 [BZ #13895]
42697 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42698 extra indirection.
42699 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42700 * nss/tst-nss-static.c: New.
42701
4dad7bab
RM
427022012-04-06 Robert Millan <rmh@gnu.org>
42703
42704 [BZ #6486]
42705 * manual/llio.texi (File Position Primitive): lseek
42706 refers to WHENCE when it really means OFFSET.
42707
e9142a17
AJ
427082012-04-06 Andreas Jaeger <aj@suse.de>
42709
2c040eff
AJ
42710 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42711 strncmp declarations.
42712
e9142a17
AJ
42713 * abilist/libc.abilist: Add __poll and __ppoll.
42714
ff9f1c5f
DM
427152012-04-05 David S. Miller <davem@davemloft.net>
42716
dcd2ae90
DM
42717 * scripts/check-local-headers.sh: Accept a host triplet in the
42718 path matched by the exclude regexp.
42719
993eb054
DM
42720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42721 definition.
42722 * sysdeps/powerpc/powerpc32/dl-machine.h
42723 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42724 * sysdeps/s390/s390-32/dl-machine.h
42725 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42726 * sysdeps/sparc/sparc32/dl-machine.h
42727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42728 * sysdeps/sparc/sparc64/dl-machine.h
42729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42730
ff9f1c5f
DM
42731 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42732 lazy binding.
48e2e132 42733 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42734 undefined symbol errors.
42735
48e2e132 42736 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42737 DT_NEEDED entries.
42738
e80d6f94
MM
427392012-04-05 Michael Matz <matz@suse.de>
42740
42741 [BZ #13592]
42742 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42743
349fa79f
AJ
427442012-04-05 Andreas Jaeger <aj@suse.de>
42745
42746 [BZ #13908]
42747 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42748 comment.
42749
f402708f
KK
427502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42751
42752 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42753 which ROUND is no valid rounding mode.
42754
2ecccfc9
KK
427552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42756
42757 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42758 read again.
42759 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42760
8a53f50f
KK
427612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42762
42763 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42764 an exception using FPU order intentionally.
42765
427662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42767
42768 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42769 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42770 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42771 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42772
d653abb7
SJ
427732012-04-05 Simon Josefsson <simon@josefsson.org>
42774
42775 [BZ #12340]
42776 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42777 EINVAL when BUFLEN is too smal.
42778
c3b1bf7d
TS
427792012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42780
42781 [BZ #13553]
42782 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42783 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42784
b1aa60f3
AJ
427852012-04-03 Andreas Jaeger <aj@suse.de>
42786
c3b1bf7d 42787 [BZ #13938]
67f60a26
AJ
42788 * manual/setjmp.texi (System V contexts): Fix sentence.
42789
b1aa60f3
AJ
42790 [BZ #13926]
42791 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42792 New macro for this case.
42793 [!__GNUC__] (__bswap_64): New inline function for this case.
42794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42795 * bits/byteswap.h: Likewise.
42796 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42797 ull, guard with __GLIBC_HAVE_LONG_LONG.
42798
42799 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42800 __GLIBC_HAVE_LONG_LONG.
42801
42802 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42803 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42804
39c59c35
TMQMF
428052012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42806
42807 [BZ #13691]
42808 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42809 inptr and inend, rather than using last_ch.
42810
135ffda8
DM
428112012-04-02 David S. Miller <davem@davemloft.net>
42812
42813 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42814 * stdio-common/printf-parse.h (read_int): Change return type to
42815 'int', return -1 on INT_MAX overflow.
42816 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42817 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42818 overflows INT_MAX. Check for overflow of in-format-string precision
42819 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42820 SIZE_MAX not INT_MAX for integer overflow test.
42821 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42822 skip the construct in the format string but do not record anything.
42823 * stdio-common/bug22.c: Adjust to test both width/prevision
42824 INT_MAX overflow as well as total length INT_MAX overflow. Check
42825 explicitly for proper errno values.
42826
228c019e
TS
428272012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42828
302cadd3
TS
42829 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42830 CHAR_MAX.
42831 * string/test-strcmp.c [! WIDE]: Likewise.
42832 * time/tst-mktime2.c: Likewise for INT_MAX.
42833 * string/test-string.h: #include <sys/param.h> for MIN.
42834
228c019e
TS
42835 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42836 * sysdeps/i386/init-first.c (init): Likewise.
42837 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42838 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42839 * sysdeps/sh/init-first.c (init): Likewise.
42840
cfa633f5
UD
428412012-04-01 Ulrich Drepper <drepper@gmail.com>
42842
42843 * po/ru.po: Update from translation team.
d1635ef8 42844 * po/vi.po: Likewise.
cfa633f5 42845
6cd0a5ea
SP
428462012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42847
42848 * resolv/nss_dns/dns-host.c: Merge copyright years.
42849
4b43400f
LD
428502012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42851
42852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42853 Optimize memcpy with prefetch if
42854 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42855 src, dst pointers have unequal 16 byte alignments.
42856
48c41d04
SP
428572012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42858
42859 [BZ #13928]
42860 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42861 from a CNAME entry and return the minimum ttl for the query.
42862 (gaih_getanswer_slice): Likewise.
42863
b8dc394d
JL
428642012-03-30 Jeff Law <law@redhat.com>
42865
42866 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42867 due to long keys.
42868 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42869 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42870
2f5a5ed0
JL
42871 * resolv/nss_dns/dns-host.c: Update copyright year.
42872
1d39e359
UD
428732012-03-30 Ulrich Drepper <drepper@gmail.com>
42874
c030f70c 42875 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42876 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42877
1d39e359
UD
42878 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42879 comments for sendmmsg.
42880
428812012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42882
42883 [BZ #13691]
42884 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42885 with only 1 character between 0x0041 and 0x01b0.
42886 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42887 * wcsmbs/tst-mbsnrtowcs.c: New file.
42888
20fde227
DM
428892012-03-29 David S. Miller <davem@davemloft.net>
42890
42891 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42892 small copies by hand.
42893
984a4237
JL
428942012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42895
42896 [BZ #13761]
57f41c40
AS
42897 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42898 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42899 group memberships.
984a4237 42900
18c9d62b
DM
429012012-03-28 David S. Miller <davem@davemloft.net>
42902
88d85d4f
DM
42903 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42904 that branches into memcpy.
42905 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42907 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42908 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42910 bits.
42911 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42912 implementation too.
42913 * sysdeps/sparc/mempcpy.S: New file.
42914
e5aa83e1
DM
42915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42916 the IFUNC routine in the libc case.
42917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42918
88570753
DM
42919 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42920 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42921 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42922 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42923 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42924 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42925 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42926 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42927
249d7567
DM
42928 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42929 loop to 256 bytes instead of 64 bytes and fix test signedness.
42930
18c9d62b
DM
42931 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42932 * sysdeps/sparc/sparc32/Makefile: rather than here...
42933 * sysdeps/sparc/sparc64/Makefile: and here.
42934
05f3d1f6
UD
429352012-03-28 Ulrich Drepper <drepper@gmail.com>
42936
42937 * malloc/mallocbug.c: Avoid warnings about unused variables.
42938
86ae07a8
JL
429392012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42940
42941 [BZ #13760]
42942 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42943 in the right place. Discard and retry query if response is
42944 larger than input buffer size.
42945
41bf21a1
JM
429462012-03-28 Joseph Myers <joseph@codesourcery.com>
42947
d6270972
JM
42948 [BZ #369]
42949 [BZ #2678]
42950 [BZ #3866]
42951 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42952 x for large integer exponent.
42953 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42954 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42955 sign of result as needed afterwards.
42956 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42957 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42958 result for underflowing pow the same as for overflow.
42959 (__kernel_standard_l): Handle powl overflow and underflow here
42960 rather than calling __kernel_standard.
42961 * math/libm-test.inc (pow_test): Add more tests.
42962
414fca03 42963 [BZ #3868]
41bf21a1
JM
42964 [BZ #13879]
42965 [BZ #13910]
42966 [BZ #13911]
42967 [BZ #13912]
42968 [BZ #13913]
42969 [BZ #13915]
42970 [BZ #13916]
42971 [BZ #13917]
42972 [BZ #13918]
42973 [BZ #13919]
42974 [BZ #13920]
42975 [BZ #13921]
42976 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42977 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42978 (__kernel_standard_l): New function.
42979 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42980 __kernel_standard.
42981 * math/w_acosl.c (__acosl): Likewise.
42982 * math/w_asinl.c (__asinl): Likewise.
42983 * math/w_atan2l.c (__atan2l): Likewise.
42984 * math/w_atanhl.c (__atanhl): Likewise.
42985 * math/w_coshl.c (__coshl): Likewise.
42986 * math/w_exp10l.c (__exp10l): Likewise.
42987 * math/w_exp2l.c (__exp2l): Likewise.
42988 * math/w_fmodl.c (__fmodl): Likewise.
42989 * math/w_hypotl.c (__hypotl): Likewise.
42990 * math/w_j0l.c (__j0l, __y0l): Likewise.
42991 * math/w_j1l.c (__j1l, __y1l): Likewise.
42992 * math/w_jnl.c (__jnl, __ynl): Likewise.
42993 * math/w_lgammal.c (__lgammal): Likewise.
42994 * math/w_log10l.c (__log10l): Likewise.
42995 * math/w_log2l.c (__log2l): Likewise.
42996 * math/w_logl.c (__logl): Likewise.
42997 * math/w_powl.c (__powl): Likewise.
42998 * math/w_remainderl.c (__remainderl): Likewise.
42999 * math/w_scalbl.c (sysv_scalbl): Likewise.
43000 * math/w_sinhl.c (__sinhl): Likewise.
43001 * math/w_sqrtl.c (__sqrtl): Likewise.
43002 * math/w_tgammal.c (__tgammal): Likewise.
43003 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43004 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43005 * math/libm-test.inc (acos_test): Add more tests.
43006 (acosh_test): Likewise.
43007 (asin_test): Likewise.
43008 (atanh_test): Likewise.
43009 (exp_test): Likewise.
43010 (exp10_test): Likewise.
43011 (exp2_test): Likewise.
43012 (expm1_test): Likewise.
43013 (lgamma_test): Likewise.
43014 (log_test): Likewise.
43015 (log10_test): Likewise.
43016 (log1p_test): Likewise.
43017 (log2_test): Likewise.
43018 (pow_test): Do not allow some spurious overflow exceptions.
43019 (sqrt_test): Add more tests.
43020 (tgamma_test): Likewise.
43021 (y0_test): Likewise.
43022 (y1_test): Likewise.
43023 (yn_test): Likewise.
43024
dd62fda6
AB
430252012-03-27 Anton Blanchard <anton@samba.org>
43026
43027 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43028 MAP_HUGETLB.
43029 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43031 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43032
1e3cdfda
AJ
430332012-03-27 David S. Miller <davem@davemloft.net>
43034
b855ab85
DM
43035 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43036
1e3cdfda
AJ
43037 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43038 have-as-vis3 check.
43039
430402012-03-27 Andreas Jaeger <aj@suse.de>
43041
43042 * sysdeps/x86_64/elf/configure.in: Moved to ...
43043 * sysdeps/x86_64/configure.in: ... here.
43044 * sysdeps/x86_64/elf/start.S: Moved to ...
43045 * sysdeps/x86_64/start.S: ... here.
43046 * sysdeps/x86_64/elf/configure: Delete.
43047
43048 * sysdeps/x86_64/configure.in: Merge contents from
43049 sysdeps/i386/configure.in (without i686 check).
43050
43051 * sysdeps/i386/elf/Versions: Merge into ...
43052 * sysdeps/i386/Versions: ... this.
43053 * sysdeps/i386/elf/Versions: Delete file.
43054 * sysdeps/i386/elf/start.S: Moved to ...
43055 * sysdeps/i386/start.S: ...here.
43056 * sysdeps/i386/elf/configure.in: Merge into...
43057 * sysdeps/i386/configure.in: ...here.
43058 * sysdeps/i386/elf/configure.in: Delete file.
43059 * sysdeps/i386/elf/configure: Delete file.
43060
43061 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43062 * debug/backtracesyms.c: ... here.
43063 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43064 * debug/backtracesymsfd.c: ... here.
43065 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43066 * sysdeps/generic/ifunc-sel.h: ... here.
43067
43068 * sysdeps/unix/i386/start.c: Delete file.
43069 * sysdeps/unix/sparc/start.c: Delete file.
43070 * sysdeps/unix/start.c: Delete file.
43071
43072 * sysdeps/sh/elf/configure.in: Moved to ...
43073 * sysdeps/sh/configure.in: ... here.
43074 * sysdeps/sh/elf/start.S: Moved to ...
43075 * sysdeps/sh/start.S: ... here.
43076 * sysdeps/sh/elf/configure: Delete file.
43077
43078 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43079 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43080 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43081 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43082 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43083 * sysdeps/powerpc/powerpc64/start.S: here.
43084 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43085 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43086 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43087 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43088 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43089
43090 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43091 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43092 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43093 * sysdeps/powerpc/powerpc32/start.S: ... here.
43094 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43095 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43096 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43097
43098 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43099 * sysdeps/powerpc/ifunc-sel.h: ... here.
43100 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43101 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43102
43103 * sysdeps/sparc/elf/configure.in: Moved to ...
43104 * sysdeps/sparc/configure.in: ... here.
43105 * sysdeps/sparc/elf/configure: Delete file.
43106 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43107 * sysdeps/sparc/sparc32/start.S: ... here.
43108 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43109 * sysdeps/sparc/sparc64/start.S: ... here.
43110 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43111 * sysdeps/sparc/sparc32/Makefile: ... this.
43112 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43113 * sysdeps/sparc/sparc64/Makefile: ... this.
43114
43115 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43116 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43117 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43118 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43119 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43120 * sysdeps/s390/s390-32/setjmp.S: ... here.
43121 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43122 * sysdeps/s390/s390-32/configure.in: ... here.
43123 * sysdeps/s390/s390-32/elf/configure: Delete file.
43124 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43125 * sysdeps/s390/s390-32/start.S: ... here.
43126
43127 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43128 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43129 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43130 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43131 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43132 * sysdeps/s390/s390-64/setjmp.S: ... here.
43133 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43134 * sysdeps/s390/s390-64/configure.in: ... here
43135 * sysdeps/s390/s390-64/elf/configure: Delete file.
43136 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43137 * sysdeps/s390/s390-64/start.S: ... here.
43138 * sysdeps/s390/s390-64/elf/configure: Delete.
43139
43140 * configure.in: Remove support for elf directories in sysdeps.
43141
43142 * configure: Regenerated.
43143 * sysdeps/i386/configure: Regenerated.
43144 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43145 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43146 * sysdeps/s390/s390-32/configure: Regenerated.
43147 * sysdeps/s390/s390-64/configure: Regenerated.
43148 * sysdeps/sh/configure: Regenerated.
43149 * sysdeps/sparc/configure: Regenerated.
43150 * sysdeps/x86_64/configure: Regenerated.
43151
a3f61311
AS
431522012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43153
c876e002
AS
43154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43155
a3f61311
AS
43156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43157 denormal result into account.
43158
ac4c54f0
RM
431592012-03-25 Roland McGrath <roland@hack.frob.com>
43160
43161 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43162 Reported by Allan McRae <allan@archlinux.org>.
43163
6a9b9c02
JL
431642012-03-23 Jeff Law <law@redhat.com>
43165
43166 * nss/getnssent.c (__nss_getent): Fix typo.
43167
4c42a0c1
DM
431682012-03-23 David S. Miller <davem@davemloft.net>
43169
43170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43171
1532c7ac
L
431722012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43173
43174 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43175 to pad to uint64_t for each field.
43176 (dl_tls_index): Replace unsigned long with uint64_t.
43177
3ff42526
PP
431782012-03-23 Daniel Jacobowitz <dmj@google.com>
43179 Paul Pluzhnikov <ppluzhnikov@google.com>
43180
43181 [BZ #6528]
43182 * grp/Makefile (otherlibs): Don't set it.
43183 * inet/Makefile (otherlibs): Likewise.
43184 * login/Makefile (otherlibs): Likewise.
43185 * nscd/Makefile (otherlibs): Likewise.
43186 * posix/Makefile (otherlibs): Likewise.
43187 * pwd/Makefile (otherlibs): Likewise.
43188 * rt/Makefile (otherlibs): Likewise.
43189 * sunrpc/Makefile (otherlibs): Likewise.
43190 * nss/Makefile (otherlibs): Likewise.
43191 Add libnss_files to routines and static-only-routines.
43192 ($(objpfx)getent): Remove rule.
43193 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43194 static-only-routines.
43195
7c69cd14
JM
431962012-03-22 Joseph Myers <joseph@codesourcery.com>
43197
43198 [BZ #13892]
43199 * math/s_cexp.c: Include <float.h>.
43200 (__cexp): Handle exp result overflowing not necessarily
43201 overflowing both real and imaginary parts of result.
43202 * math/s_cexpf.c: Likewise.
43203 * math/s_cexpl.c: Likewise.
43204 * math/libm-test.inc (cexp_test): Add more tests.
43205 * sysdeps/i386/fpu/libm-test-ulps: Update.
43206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43207
81b035fe
L
432082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43209
43210 * include/link.h (ELFW): New macro.
43211 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43212 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43213
1da7940c
L
432142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43215
43216 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43217 with uint64_t.
43218
b749dbb9
L
432192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43220
43221 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43222 declaration.
43223 (struct La_x32_retval): Likewise.
43224
2ff87f3f
L
432252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43226
43227 * sysdeps/x86_64/preconfigure.in: New file.
43228 * sysdeps/x86_64/preconfigure: New generated file.
43229
c0df8e69
JM
432302012-03-22 Joseph Myers <joseph@codesourcery.com>
43231
48e44791
JM
43232 [BZ #13824]
43233 * math/e_exp2l.c: Include <float.h>.
43234 (__ieee754_exp2l): Handle overflow and underflow cases
43235 separately. Only pass fractional part of argument to
43236 __ieee754_expl.
43237 * math/libm-test.inc (exp2_test): Add more tests.
43238
c0df8e69
JM
43239 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43240 negating x to take absolute value.
43241 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43242 Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43244 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43245 Likewise.
43246 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43247 computing low part if x was negated.
43248 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43249
c8e43ba7
L
432502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43251
43252 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43253 la_x32_gnu_pltexit.
43254 (pltexit): Cast int_retval to ptrdiff_t.
43255 * elf/tst-auditmod3b.c: Likewise.
43256 * elf/tst-auditmod4b.c: Likewise.
43257 * elf/tst-auditmod5b.c: Likewise.
43258 * elf/tst-auditmod6b.c: Likewise.
43259 * elf/tst-auditmod6c.c: Likewise.
43260 * elf/tst-auditmod7b.c: Likewise.
43261
43262 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43263 and x32_gnu_pltexit.
43264
43265 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43266 __ELF_NATIVE_CLASS.
43267 (La_x32_regs): New macro.
43268 (La_x32_retval): Likewise.
43269 (la_x32_gnu_pltenter): New function prototype.
43270 (la_x32_gnu_pltexit): Likewise.
43271
7998fa78
AS
432722012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43273
dcb33988
AS
43274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43275 exponent.
43276
233fc563
AS
43277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43278
7998fa78
AS
43279 * configure.in (libc_cv_cc_nofma): Check for option to disable
43280 generation of FMA instructions.
43281 * configure: Regenerate.
43282 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43283 * sysdeps/ieee754/dbl-64/Makefile: New file.
43284 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43285 Remove brandred-fma4.
43286 (CFLAGS-brandred-fma4.c): Remove.
43287 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43288 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43289 define.
43290 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43291 define.
43292
8e95c99a
L
432932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43294
43295 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43296 LLONG_MAX != LONG_MAX.
43297 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43298 (_fitoa_word): Likewise.
43299 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43300 LLONG_MAX != LONG_MAX.
43301 * stdio-common/_itowa.h: Include <_itoa.h>.
43302 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43303 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43304 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43305 only if not defined.
43306 (_ITOA_WORD_TYPE): Likewise.
43307 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43308 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43309
6f4db457
DM
433102012-03-21 David S. Miller <davem@davemloft.net>
43311
43312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43313
7785fe5a
L
433142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43315
43316 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43317 of x86_64 when setting libc_cv_slibdir, libdir and
43318 libc_cv_localedir.
43319 * sysdeps/unix/sysv/linux/configure: Regenerated.
43320
4535cd55
JM
433212012-03-21 Joseph Myers <joseph@codesourcery.com>
43322
43323 * manual/lang.texi (Old Varargs): Remove section.
43324 (How Variadic): Update menu.
43325 (va_start): Do not mention varargs.h.
43326
17228132
TS
433272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43328 Joseph Myers <joseph@codesourcery.com>
43329
43330 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43331 link test.
43332 * configure: Regenerated.
43333
8149f976
TS
433342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43335
05f3d1f6
UD
43336 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43337 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43338 conformtest.pl
8149f976 43339
1a4ac776
JM
433402012-03-21 Joseph Myers <joseph@codesourcery.com>
43341
be22ce65
JM
43342 * NOTES: Remove.
43343 * Makefile (files-for-dist): Remove NOTES.
43344 (NOTES): Remove rule.
43345 * README: Don't refer to NOTES.
43346 * manual/creature.texi: Don't include macros.texi.
43347 * manual/intro.texi (creature.texi): Remove comment referring to
43348 NOTES.
43349
40b601fb
JM
43350 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43351 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43352 * configure: Regenerated.
43353 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43354 LIBC_TRY_CC_OPTION.
43355 (libc_cv_as_i686): Likewise.
43356 (libc_cv_cc_avx): Likewise.
43357 (libc_cv_cc_sse2avx): Likewise.
43358 (libc_cv_cc_fma4): Likewise.
43359 (libc_cv_cc_novzeroupper): Likewise.
43360 * sysdeps/i386/configure: Regenerated.
43361
1a4ac776
JM
43362 [BZ #13883]
43363 * sysdeps/i386/fpu/s_cexp.S: Remove.
43364 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43365 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43366 * math/libm-test.inc (cexp_test): Add more tests.
43367 * sysdeps/i386/fpu/libm-test-ulps: Update.
43368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43369
a458e7fe
AM
433702012-03-21 Allan McRae <allan@archlinux.org>
43371
43372 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43373
0cb7efc5
JM
433742012-03-21 Joseph Myers <joseph@codesourcery.com>
43375
43376 [BZ #13871]
43377 * math/w_exp2.c: Do not include <float.h>.
43378 (o_threshold, u_threshold): Remove.
43379 (__exp2): Calculate result before checking finiteness and calling
43380 __kernel_standard.
43381 * math/w_exp2f.c: Likewise.
43382 * math/w_exp2l.c: Likewise.
43383 * math/libm-test.inc (exp2_test): Require overflow exception for
43384 1e6 input.
2460d3aa
JM
43385
43386 [BZ #3866]
43387 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43388 range of signed 64-bit integers before using fistpll. Remove
43389 checks for whether integers fit in mantissa bits.
43390 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43391 the range of signed 32-bit integers before using fistpl. Remove
43392 checks for whether integers fit in mantissa bits.
43393 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43394 (__ieee754_powl): Test for y outside the range of signed 64-bit
43395 integers before using fistpll. Reduce 64-bit values to 63-bit
43396 ones as needed.
43397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43398 divide-by-zero is raised for zero to large negative powers.
43399 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43400 (__ieee754_powl): Test for y outside the range of signed 64-bit
43401 integers before using fistpll. Reduce 64-bit values to 63-bit
43402 ones as needed.
43403 * math/libm-test.inc (pow_test): Add more tests.
43404
eb96ffb0
L
434052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43406
43407 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43408 <stdio-common/_itoa.h>.
43409 * debug/segfault.c: Likewise.
43410 * elf/dl-cache.c: Likewise.
43411 * elf/dl-minimal.c: Likewise.
43412 * elf/dl-misc.c: Likewise.
43413 * elf/dl-sysdep.c: Likewise.
43414 * elf/dl-version.c: Likewise.
43415 * elf/rtld.c: Likewise.
43416 * hurd/hurdsock.c: Likewise.
43417 * hurd/lookup-retry.c: Likewise.
43418 * malloc/malloc.c: Likewise.
43419 * malloc/mtrace.c: Likewise.
43420 * nscd/nscd_getgr_r.c: Likewise.
43421 * nscd/nscd_getpw_r.c: Likewise.
43422 * nscd/nscd_getserv_r.c: Likewise.
43423 * posix/getopt_init.c: Likewise.
43424 * posix/wordexp.c: Likewise.
43425 * stdio-common/_itoa.c: Likewise.
43426 * stdio-common/printf_fphex.c: Likewise.
43427 * stdio-common/vfprintf.c: Likewise.
43428 * string/_strerror.c: Likewise.
43429 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43430 * sysdeps/i386/i686/hp-timing.h: Likewise.
43431 * sysdeps/mach/_strerror.c: Likewise.
43432 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43433 * sysdeps/mach/hurd/sethostid.c: Likewise.
43434 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43435 * sysdeps/mach/xpg-strerror.c: Likewise.
43436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43437 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43438 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43439 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43440 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43441 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43442 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43443 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43444 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43445 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43446 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43447 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43448 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43449 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43450 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43451 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43452 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43453 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43454 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43455 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43456 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43457
43458 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43459
43460 * stdio-common/_itoa.h: Moved to ...
43461 * sysdeps/generic/_itoa.h: Here.
43462
43463 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43464
43465 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43466 instead of "_itoa.h" and "_itowa.h".
43467 * stdio-common/vfprintf.: Likewise.
43468
d1af992d
L
434692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43470
43471 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43472 <bits/wordsize.h>.
43473 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43474 (__signbit): Likwise.
43475 (llrintf): Likwise.
43476 (llrint): Likwise.
43477
114883e0
L
434782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43479
43480 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43481 __WORDSIZE != 64.
43482
c135cc1b
JM
434832012-03-20 Joseph Myers <joseph@codesourcery.com>
43484
43485 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43486 OVERFLOW_EXCEPTION_OK.
43487 * math/libm-test.inc ("Philosophy"): Update comment about
43488 exception testing.
43489 (OVERFLOW_EXCEPTION): Define.
43490 (OVERFLOW_EXCEPTION_OK): Likewise.
43491 (INVALID_EXCEPTION_OK): Renumber.
43492 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43493 (IGNORE_ZERO_INF_SIGN): Likewise.
43494 (test_exceptions): Handle FE_OVERFLOW.
43495 (exp10_test): Expect overflow exceptions.
43496 (exp2_test): Likewise.
43497 (expm1_test): Likewise.
43498 (nextafter_test): Likewise.
43499 (pow_test): Likewise.
43500 (scalbn_test): Likewise.
43501 (scalbln_test): Likewise.
43502
95443d88
L
435032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43504
43505 * sysdeps/x86_64/bits/atomic.h
43506 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43507 64bit integer.
43508 (atomic_exchange_acq): Likewise.
43509 (__arch_exchange_and_add_body): Likewise.
43510 (__arch_add_body): Likewise.
43511 (atomic_add_negative): Likewise.
43512 (atomic_add_zero): Likewise.
43513
490df6c4
L
435142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43515
c2722551 43516 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43517 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43518
5e52b189
L
435192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43520
43521 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43522 Check __x86_64__ instead of __WORDSIZE.
43523
a9879d4c
L
435242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43525
43526 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43527
5df98260
DM
435282012-03-19 David S. Miller <davem@davemloft.net>
43529
e1497744
DM
43530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43531
5df98260
DM
43532 * sysdeps/sparc/fpu/fenv_private.h: New file.
43533 * sysdeps/sparc/fpu/math_private.h: Use it.
43534 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43535 Remove.
57f41c40 43536 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43537 (libc_feholdexcept_setroundl): Remove.
43538 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43539 Remove.
43540 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43541 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43542
b4c35121
L
435432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43544
43545 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43546 int64_t instead of long int.
43547 (INSERT_WORDS64): Likwise.
43548
56965fd7
L
435492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43550
43551 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43552 _Unwind_GetCFA return to _Unwind_Ptr first.
43553
83d1aec8
JM
435542012-03-19 Joseph Myers <joseph@codesourcery.com>
43555
1897ad44
JM
43556 [BZ #13629]
43557 * math/s_clog.c: Include <float.h>.
43558 (__clog): Scale large or subnormal inputs.
43559 * math/s_clogf.c: Likewise.
43560 * math/s_clogl.c: Likewise.
43561 * math/s_clog10.c: Include <float.h>.
43562 (M_LOG10_2): Define.
43563 (__clog10): Scale large or subnormal inputs.
43564 * math/s_clog10f.c: Likewise.
43565 * math/s_clog10l.c: Likewise.
43566 * math/libm-test.inc (clog_test): Add more tests.
43567 (clog10_test): Likewise.
43568 * sysdeps/i386/fpu/libm-test-ulps: Update.
43569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43570
7726d6a9
JM
43571 [BZ #11451]
43572 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43573 x and y.
43574 * math/libm-test.inc (atan2_test): Add another test.
43575
83d1aec8
JM
43576 * Makerules (common-objdir-compile): Remove.
43577 * sysdeps/unix/Makefile (config-generated): Do not add
43578 $(unix-generated) to variable.
43579 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43580 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43581 Remove rule.
43582 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43583 Likewise.
43584 [generic bits/local_lim.h] (before-compile): Do not append to
43585 variable.
43586 [generic bits/local_lim.h] (common-generated): Likewise.
43587 [generic sys/param.h] (before-compile): Do not append to variable.
43588 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43589 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43590 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43591 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43592 include.
43593 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43594 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43595 [generic sys/param.h] ($(addprefix
43596 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43597 [generic sys/param.h] (common-generated): Do not append to
43598 variable.
43599 [generic sys/param.h] (sysdep_headers): Likewise.
43600 [generic bits/errno.h] (before-compile): Do not append to
43601 variable.
43602 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43603 rule.
43604 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43605 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43606 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43607 [generic bits/errno.h] (common-generated): Do not append to
43608 variable.
43609 [generic bits/ioctls.h] (before-compile): Do not append to
43610 variable.
43611 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43612 rule.
43613 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43614 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43615 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43616 rule.
43617 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43618 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43619 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43620 [generic bits/ioctls.h] (common-generated): Do not append to
43621 variable.
43622 [generic sys/syscall.h] (syscall.h): Remove variable.
43623 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43624 rule.
43625 [generic sys/syscall.h] (before-compile): Do not append to
43626 variable.
43627 [generic sys/syscall.h] (common-generated): Likewise.
43628 * sysdeps/unix/errnos-tmpl.c: Remove file.
43629 * sysdeps/unix/errnos.awk: Likewise.
43630 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43631 * sysdeps/unix/ioctls.awk: Likewise.
43632 * sysdeps/unix/mk-local_lim.c: Likewise.
43633 * sysdeps/unix/snarf-ioctls: Likewise.
43634
4851a949
RH
436352012-03-19 Richard Henderson <rth@twiddle.net>
43636
bd37f2ee
RH
43637 * sysdeps/i386/fpu/fenv_private.h: New file.
43638 * sysdeps/i386/fpu/math_private.h: Use it.
43639 (math_opt_barrier, math_force_eval): Remove.
43640 (libc_feholdexcept_setround_53bit): Remove.
43641 (libc_feupdateenv_53bit): Remove.
43642 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43643 (math_opt_barrier, math_force_eval): Remove.
43644 (libc_feholdexcept): Remove.
43645 (libc_feholdexcept_setround): Remove.
43646 (libc_fetestexcept, libc_fesetenv): Remove.
43647 (libc_feupdateenv_test): Remove.
43648 (libc_feupdateenv, libc_feholdsetround): Remove.
43649 (libc_feresetround): Remove.
43650
d0adc922
RH
43651 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43652 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43653
0fe0f1f8
RH
43654 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43655 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43656 (libc_feupdateenv_testl): New.
43657 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43658 (libc_feupdateenv_testf): New.
43659 (libc_feupdateenv): Use libc_feupdateenv_test.
43660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43661 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43662
eb92c487
RH
43663 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43664 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43665 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43666 (libc_feresetround_noex): New.
43667 (libc_feresetround_noexf): New.
43668 (libc_feresetround_noexl): New.
43669 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43670 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43671 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43672 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43673 SET_RESTORE_ROUND.
43674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43676 (__cos): Likewise.
43677 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43678 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43679 SET_RESTORE_ROUND_NOEX.
43680 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43681 SET_RESTORE_ROUND_NOEXF.
43682 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43683 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43684 (libc_feholdsetroundf): New.
43685 (libc_feresetround, libc_feresetroundf): New.
43686
7d2e8012
RH
43687 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43688 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43689 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43690
b4dabbb4
RH
43691 * sysdeps/generic/math_private.h: Include <fenv.h>.
43692 (default_libc_feholdexcept): New.
43693 (default_libc_feholdexcept_setround): New.
43694 (default_libc_fesetenv, default_libc_feupdateenv): New.
43695 (libc_feholdexcept): Only define if undefined.
43696 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43697 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43698 (libc_feholdexcept_setroundl): Likewise.
43699 (libc_feholdexcept_setround_53bit): Likewise.
43700 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43701 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43702 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43703 (libc_feupdateenv_53bit): Likewise.
43704 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43705 (libc_feholdexcept): Convert from macro to inline function.
43706 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43707 (libc_fesetenv, libc_feupdateenv): Likewise.
43708
4851a949
RH
43709 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43710 not previously defined.
43711 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43712 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43713 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43714 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43715 * sysdeps/ieee754/flt-32/math_private.h: New file.
43716 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43717 math_private.h below SET_FLOAT_WORD.
43718 (__isnan, __isinf_ns, __finite): Remove.
43719 (__isnanf, __isinf_nsf, __finitef): Remove.
43720
e79d442e
AS
437212012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43722
43723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43724
90b80344
DM
437252012-03-17 David S. Miller <davem@davemloft.net>
43726
43727 [BZ #6471]
43728 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43729 for 2.16.
43730
edc21804
DM
437312012-03-16 David S. Miller <davem@davemloft.net>
43732
77e927af
DM
43733 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43734 warnings.
43735
374976dd
DM
43736 [BZ #6471]
43737 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43738 properly.
43739 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43740 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43741 sysdep_routines when subdir is sysvipc.
43742 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43743 __getshmlba helper.
43744
edc21804
DM
43745 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43746
473c3ef3
L
437472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43748
43749 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43750 [__LP64__].
43751
eb0f39b6
L
437522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43753
43754 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43755 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43756 (__lround): Renamed to ...
43757 (__llround): This. Replace long int with long long int.
43758 Define lround functions as aliases of llround functions.
43759 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43760
6b6cd74b
L
437612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43762
43763 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43764 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43765 adresses to uintptr_t. Replace "long int" and "unsigned long
43766 int" with "greg_t" on va_arg.
43767
f1a77b01
L
437682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43769
43770 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43771 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43772
43773 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43774 Move e_machine check before EI_CLASS check. Handle x32
43775 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43776 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43777 SKIP_EM_IA_64 and include
43778 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43779
43780 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43781 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43782 (add_system_dir): New macro.
43783
43784 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43785 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43786
11b90b9f
JM
437872012-03-16 Joseph Myers <joseph@codesourcery.com>
43788
c36e1d23
JM
43789 [BZ #2551]
43790 [BZ #2552]
43791 [BZ #2553]
43792 [BZ #2554]
43793 [BZ #2562]
43794 [BZ #2563]
43795 [BZ #2565]
43796 [BZ #2566]
43797 [BZ #2576]
43798 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43799 (y0): Likewise.
43800 * math/w_j0f.c (j0f): Likewise.
43801 (y0f): Likewise.
43802 * math/w_j0l.c (__j0l): Likewise.
43803 (__y0l): Likewise.
43804 * math/w_j1.c (j1): Likewise.
43805 (y1): Likewise.
43806 * math/w_j1f.c (j1f): Likewise.
43807 (y1f): Likewise.
43808 * math/w_j1l.c (__j1l): Likewise.
43809 (__y1l): Likewise.
43810 * math/w_jn.c (jn): Likewise.
43811 (yn): Likewise.
43812 * math/w_jnf.c (jnf): Likewise.
43813 (ynf): Likewise.
43814 * math/w_jnl.c (__jnl): Likewise.
43815 (__ynl): Likewise.
43816 * math/libm-test.inc (j0_test): Add more tests.
43817 (j1_test): Likewise.
43818 (jn_test): Likewise. Add trailing semicolon to existing test.
43819 (y0_test): Likewise.
43820 (y1_test): Likewise.
43821 * sysdeps/i386/fpu/libm-test-ulps: Update.
43822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43823
11b90b9f
JM
43824 [BZ #13851]
43825 [BZ #13854]
43826 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43827 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43828 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43829 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43830 (__tanl): Set errno for infinite argument.
43831 * sysdeps/i386/fpu/mptan.c: Remove.
43832 * sysdeps/i386/fpu/s_tan.S: Likewise.
43833 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43834 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43835 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43836 * math/libm-test.inc (tan_test): Add more tests and enable more
43837 tests for double and long double.
43838 * sysdeps/i386/fpu/libm-test-ulps: Update.
43839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43840
6a1bd2a1
JK
438412012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43842
43843 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43844 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43845
10a803e0
RM
438462012-03-16 Roland McGrath <roland@hack.frob.com>
43847
43848 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43849 * configure.in: Use it for both main tree and add-ons.
43850 * configure: Regenerated.
43851
f196c7f7
L
438522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43853
43854 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43855
8848d99d
JM
438562012-03-16 Joseph Myers <joseph@codesourcery.com>
43857
96cbe7f4
JM
43858 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43859 in comment.
43860
8848d99d
JM
43861 [BZ #13851]
43862 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43863 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43865 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43866 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43867 infinite argument.
43868 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43870 != 0 for prec == 2.
43871 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43872 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43873 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43874 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43875 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43876 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43877 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43878 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43879 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43880 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43881 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43882 * math/libm-test.inc (cos_test): Add more tests and enable more
43883 tests for long double.
43884 (sin_test): Likewise.
43885 (sincos_test): Likewise.
43886 * sysdeps/i386/fpu/libm-test-ulps: Update.
43887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43888
dd7f4703
DM
438892012-03-16 David S. Miller <davem@davemloft.net>
43890
43891 * sysdeps/sparc/fpu/math_private.h: New file.
43892
006f1daa
DM
438932012-03-15 David S. Miller <davem@davemloft.net>
43894
c0c83bc8
DM
43895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43896 file.
e6a62e18 43897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43899 file.
e6a62e18
DM
43900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43906 sysdep routines.
43907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43908
88cb87d9
DM
43909 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43910 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43911
006f1daa 43912 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43914 sparc-ifunc.h
006f1daa 43915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43917 Likewise.
43918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43919 Likewise.
006f1daa
DM
43920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43924 Likewise.
006f1daa
DM
43925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43930 Likewise.
43931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43932 Likewise.
006f1daa
DM
43933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43957
11e0098e
AS
439582012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43959
43960 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43961 scaling.
43962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43963
e85b09d0
AJ
439642012-03-15 Andreas Jaeger <aj@suse.de>
43965
43966 [BZ #13852]
43967 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43968 ieee754/flt-32 implementation for sin, cos and sincos.
43969 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43970 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43971 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43972 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43973 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43974 ieee754/flt-32 implementation for tan.
43975
43976 * math/libm-test.inc (cos_test): Enable some large input tests for
43977 float as well
43978 (sin_test): Likewise.
43979 (sincos_test): Likewise.
43980 (tan_test): Add tests for large input.
43981
43982 * sysdeps/i386/fpu/libm-test-ulps: Update.
43983
81c64153
AJ
439842012-03-15 Andreas Jaeger <aj@suse.de>
43985
43986 [BZ #13658]
43987 * math/libm-test.inc (cos_test): Add more test cases.
43988 (sin_test): Likewise.
43989 (sincos_test): Likewise.
43990
7bbfa5c6
AJ
439912012-03-15 Andreas Jaeger <aj@suse.de>
43992
43993 [BZ #13837]
43994 * math/libm-test.inc (cos_test): Add a test case for large input
43995 value.
43996 (sin_test): Likewise.
43997 (sincos_test): Likewise.
43998
57f41c40
AS
439992012-03-15 Andreas Jaeger <aj@suse.de>
44000 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
44001
44002 [BZ #13658]
0671f479 44003 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
44004 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44005 * sysdeps/i386/fpu/branred.c: Likewise.
44006 * sysdeps/i386/fpu/dosincos.c: Likewise.
44007 * sysdeps/i386/fpu/mpa.c: Likewise.
44008 * sysdeps/i386/fpu/s_cos.S: Likewise.
44009 * sysdeps/i386/fpu/s_sin.S: Likewise.
44010 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44011 * sysdeps/i386/fpu/sincos32.c: Likewise.
44012
44013 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44014 Define.
44015 (libc_feupdateenv_53bit): Define.
44016 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44017 Define.
44018 (libc_feupdateenv_53bit): Define.
44019
44020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44021 53 bit (without extend i386 double precision).
44022
44023 * math/libm-test.inc (sincos_test): Add tests for large input.
44024 (sin): Likewise.
44025 (cos): Likewise.
44026
44027 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44028
9cad04ea
AS
440292012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44030
44031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44032
f7062b9a
DM
440332012-03-15 David S. Miller <davem@davemloft.net>
44034
44035 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44036 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44037 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44038 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
44050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44051 file.
f7062b9a 44052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
44053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44054 file.
f7062b9a 44055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
44056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44057 file.
f7062b9a 44058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
44059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44060 file.
f7062b9a
DM
44061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44063 fmin/fmax sysdep routines.
44064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44065
7bd951ff
DM
440662012-03-14 David S. Miller <davem@davemloft.net>
44067
559398ab
DM
44068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44097 routines.
44098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44099 file.
559398ab 44100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
44101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44102 file.
559398ab 44103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
44104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44105 file.
559398ab 44106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
44107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44108 file.
559398ab 44109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
44110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44111 file.
559398ab 44112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
44113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44114 file.
44115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44116 file.
44117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44118 file.
44119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44120 file.
44121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44122 New file.
44123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44124 file.
44125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44126 file.
559398ab 44127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
44128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44129 file.
559398ab 44130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44132 file.
559398ab 44133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
44134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44135 file.
559398ab 44136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44138 VIS3 routines.
559398ab
DM
44139
44140 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44141 New file.
44142
5a1c1e32
DM
44143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44144
eae47a36
DM
44145 * sysdeps/sparc/configure.in: New file.
44146 * sysdeps/sparc/configure: Generate.
44147 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44148 * configure: Regenerate.
44149 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44150 * config.make.in (have-as-vis3): New.
44151 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44152 available use -Av9d instead of -Av9a.
44153 * sysdeps/sparc/sparc64/Makefile: Likewise.
44154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44156 New file.
44157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44158 file.
44159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44160 New file.
44161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44162 file.
eae47a36
DM
44163 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44165 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44168
c0c83bc8
DM
44169 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44170 fzeros/fnegs to load 0x80000000 into a float register instead of
44171 using the stack.
7bd951ff
DM
44172 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44173
bd951ccb
JM
441742012-03-14 Joseph Myers <joseph@codesourcery.com>
44175
44176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44177 bits/syscall.h.
44178 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44179 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44180 ($(inst_includedir)/bits/syscall.h): Remove rule.
44181 ($(objpfx)bits/syscall.d): Include instead of
44182 $(objpfx)syscall-list.d.
44183 (generated): Change syscall-list.h and syscall-list.d to
44184 bits/syscall.h and bits/syscall.d.
44185
bb4e6db2
RM
441862012-03-14 Roland McGrath <roland@hack.frob.com>
44187
44188 [BZ #13846]
44189 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44190
aa4a2ae1
JM
441912012-03-14 Joseph Myers <joseph@codesourcery.com>
44192
e456826d
JM
44193 [BZ #13841]
44194 * math/s_csqrt.c: Include <float.h>.
44195 (__csqrt): Scale large or subnormal inputs.
44196 * math/s_csqrtf.c: Likewise.
44197 * math/s_csqrtl.c: Likewise.
44198 * math/libm-test.inc (csqrt_test): Add more tests.
44199 * sysdeps/i386/fpu/libm-test-ulps: Update.
44200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44201
aa4a2ae1
JM
44202 [BZ #13840]
44203 * math/libm-test.inc (hypot_test): Add more tests.
44204
7c10fd35
DM
442052012-03-13 David S. Miller <davem@davemloft.net>
44206
44207 [BZ #13840]
44208 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44209 double-precision for the calculation instead of scaling.
44210
f453b98b
JM
442112012-03-13 Joseph Myers <joseph@codesourcery.com>
44212
44213 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44214 manipulate bits before adding and subtracting TWO52[sx].
44215 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44216 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44217 Likewise.
44218 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44219
09a3453f
DM
442202012-03-13 David S. Miller <davem@davemloft.net>
44221
8e59da90
DM
44222 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44223 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44225 rtld-global-offsets.h
44226 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44227
2a8ab7f2
DM
44228 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44229 large parameters.
44230
10f62770
DM
44231 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44232
5f0bdb18
DM
44233 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44234 'err' in the ifdef scope in which it is actually used.
44235
09a3453f
DM
44236 * nss/nss_db/db-init.c: Include string.h
44237
b4b2eb5e
DM
442382012-03-12 David S. Miller <davem@davemloft.net>
44239
98bb2f1c
DM
44240 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44241 masking out of the most significant byte of random value used.
44242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44243 Fix coding style in previous change.
44244
b4b2eb5e
DM
44245 * sysdeps/unix/sysv/linux/kernel-features.h
44246 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44247 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44248 expression.
44249 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44250 later.
44251
6e226b09
DM
442522012-03-11 David S. Miller <davem@davemloft.net>
44253
a1bcbd40
DM
44254 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44255 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44256 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44257 for 'resultvar' otherwise things get truncated on 64-bit.
44258
cb9d6174
DM
44259 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44260 Fix masking out of the most significant byte of random value used.
44261
6e226b09
DM
44262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44263
058c132d
AS
442642012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44265
44266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44267
2d2cd515
DM
442682012-03-09 David S. Miller <davem@davemloft.net>
44269
44270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44271 variables with appropriate CPP guards.
57f41c40
AS
44272 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44273 from the frame pointer, not the stack pointer. Correct layout
44274 comments. Fix test on resulting framesize and the management of
44275 the outregs buffer for pltexit. Preserve floating point return
44276 values across _dl_call_pltexit call.
2d2cd515
DM
44277 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44278 framesize and the management of the outregs buffer for pltexit.
44279 Preserve floating point return values across _dl_call_pltexit
44280 call.
57f41c40
AS
44281 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44282 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44283 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44284 (print_exit): Fix format string for return register value.
44285
9a07f9d0
JM
442862012-03-10 Joseph Myers <joseph@codesourcery.com>
44287
44288 * sunrpc/Makefile (others): Add rpcgen.
44289 ($(objpfx)rpcgen): Remove special build rule and dependency on
44290 libc.
44291 * sunrpc/rpcgen.c: New file.
44292
547b5e30
PE
442932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44294
c524201a
PE
44295 [BZ #13673]
44296 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44297 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44298 * sysdeps/i386/crti.S: Likewise.
44299 * sysdeps/i386/crtn.S: Likewise.
44300 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44301 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44302 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44303 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44304 * sysdeps/sh/crti.S: Likewise.
44305 * sysdeps/sh/crtn.S: Likewise.
44306 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44307
7b6235f2
PE
44308 [BZ #13673]
44309 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44310 with URL.
44311 * locale/programs/locfile-kw.gperf: Likewise.
44312 * locale/programs/charmap-kw.h: Regenerated.
44313 * locale/programs/locfile-kw.h: Likewise.
44314
547b5e30
PE
44315 [BZ #13673]
44316 * intl/plural.y: Replace FSF snail mail address with URL.
44317 * intl/plural.c: Regenerated.
44318
5f0a5dae
RH
443192012-03-09 Richard Henderson <rth@twiddle.net>
44320
44321 * include/math_private.h: Remove file.
44322 * math/math_private.h: Move file ...
44323 * sysdeps/generic/math_private.h: ... here.
44324
b8c03620
RH
44325 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44326 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44327 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44328
4e234f5d 44329 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44330 and <math_private.h>.
44331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44336 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44339 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44343 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44345 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44346 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44347 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44349 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44350 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44352 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44353 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44356 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44357 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44361 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44363 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44366 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44371 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44381 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44395 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44405 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44418 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44424 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44426 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44431 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44432 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44433 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44434 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44439 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44441 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44442 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44443 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44445 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44450 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44454 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44458 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44459 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44460 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44461 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44462 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44463 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44464 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44465 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44466 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44467 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44468 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44469 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44470 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44471 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44472 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44474 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44475 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44476 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44477 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44478 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44479 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44480 * sysdeps/ieee754/k_standard.c: Likewise.
44481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44491 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44493 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44494 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44495 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44496 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44500 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44501 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44502 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44516 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44518 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44519 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44520 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44531 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44534 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44537 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44538 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44542 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44568 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44571 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44572 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44573 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44574 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44580 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44588 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44589 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44590 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44591 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44592 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44593 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44594 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44595 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44597 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44608 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44617 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44625 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44630 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44641 * sysdeps/ieee754/s_lib_version.c: Likewise.
44642 * sysdeps/ieee754/s_matherr.c: Likewise.
44643 * sysdeps/ieee754/s_signgam.c: Likewise.
44644 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44647 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44648 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44649 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44650 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44651 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44652 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44653 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44655 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44658 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44665
1991fa03
JM
446662012-03-09 Joseph Myers <joseph@codesourcery.com>
44667
44668 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44669 * sunrpc/rpc_main.c: Likewise.
44670 * sunrpc/rpc_svcout.c: Likewise.
44671
60d6f5a6
DM
446722012-03-09 David S. Miller <davem@davemloft.net>
44673
44674 * include/math_private.h: New file.
44675
4962050e
JM
446762012-03-09 Joseph Myers <joseph@codesourcery.com>
44677
02a6f887
JM
44678 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44679 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44680 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44681 from <bits/socket_type.h>.
44682 (enum __socket_type): Don't define here.
44683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44685 bits/socket_type.h.
44686
c6e013c1
JM
44687 [BZ #13566]
44688 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44689 checking __USE_GNU.
44690
4962050e
JM
44691 * Makerules ($(inst_includedir)/%.h): New rule.
44692 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44693 (install-others): Remove variable setting.
44694 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44695
38842f45
RH
446962012-03-08 Richard Henderson <rth@twiddle.net>
44697
67bb6da6
RH
44698 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44699 from macro to inline function; merge with the
44700 !__LIBC_INTERNAL_MATH_INLINES version.
44701 (__ieee754_sqrtf): Likewise.
44702
15194b4b
RH
44703 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44704 to inline function.
44705 (__rintf, __floor, __floorf): Likewise.
44706
64e21ede
RH
44707 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44708 macro to inline function.
44709 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44710
38842f45
RH
44711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44712 not <math/math_private.h>.
44713
c64bf5fe
DM
447142012-03-08 David S. Miller <davem@davemloft.net>
44715
44716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44717 copyright year.
44718 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44719
82d86f28
TS
447202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44721
44722 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44723 normalization.
44724 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44725 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44726
aea5d727
UD
447272012-03-08 Ulrich Drepper <drepper@gmail.com>
44728
44729 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44730 be defined individually, they must be defined as a block. Define
44731 S for printing a string instead of hidint the different by using a
44732 macro for adding the 'l'.
44733 * stdio-common/tst-fphex-wide.c: Adjust.
44734
70bca0a3
MP
447352012-03-07 Marek Polacek <polacek@redhat.com>
44736
44737 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44738
65b81130
MP
447392012-03-08 Marek Polacek <polacek@redhat.com>
44740
44741 [BZ #13806]
44742 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44743 * stdio-common/tst-fphex.c: Define a few macros to make the
44744 test reusable. Use them.
44745 * stdio-common/tst-fphex-wide.c: New file.
44746
07037eeb
JM
447472012-03-08 Joseph Myers <joseph@codesourcery.com>
44748
a7a93d50
JM
44749 [BZ #6911]
44750 * manual/macros.texi (gnusystems): New macro.
44751 (nongnusystems): Likewise.
44752 (gnulinuxhurdsystems): Likewise.
44753 (gnuhurdsystems): Likewise..
44754 (gnulinuxsystems): Likewise.
44755 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44756 variants of the GNU system, not "GNU system".
44757 * manual/conf.texi: Likewise.
44758 * manual/errno.texi: Likewise. Update example of errno macro
44759 expansion.
44760 * manual/filesys.texi: Likewise.
44761 (getumask): Document as specific to GNU/Hurd.
44762 * manual/install.texi: Likewise. Reword some references to
44763 GNU/Linux.
44764 * manual/intro.texi: Likewise.
44765 * manual/io.texi: Likewise.
44766 (File Name Portability): Detail which constraints are inapplicable
44767 to all GNU systems and which are only inapplicable to GNU/Hurd.
44768 * manual/job.texi: Likewise.
44769 * manual/llio.texi: Likewise.
44770 (O_NOCTTY): Document as present on GNU/Linux.
44771 * manual/maint.texi: Likewise.
44772 * manual/memory.texi: Likewise.
44773 * manual/pattern.texi: Likewise.
44774 * manual/pipe.texi: Likewise.
44775 * manual/process.texi: Likewise.
44776 * manual/resource.texi: Likewise.
44777 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44778 child on GNU/Hurd.
44779 * manual/setjmp.texi: Likewise.
44780 * manual/signal.texi: Likewise.
44781 * manual/startup.texi: Likewise.
44782 * manual/stdio.texi: Likewise.
44783 * manual/terminal.texi: Likewise.
44784 (ONLCR): Document as POSIX.
44785 (OXTABS): Document availability on GNU/Linux as XTABS.
44786 (ONOEOT): Document availability separately from other bits.
44787 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44788 * manual/time.texi: Likewise.
44789 * manual/users.texi: Likewise.
44790 * INSTALL: Regenerated.
44791 * sysdeps/gnu/errlist.c: Regenerated.
44792
07037eeb
JM
44793 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44794 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44795 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44796 puts.
44797 * configure: Regenerated.
44798
d1d3431a
JM
447992012-03-07 Joseph Myers <joseph@codesourcery.com>
44800
af6a1e37
JM
44801 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44802 default includes instead of AC_HEADER_CHECK.
44803 * sysdeps/i386/configure: Regenerated.
44804
d1d3431a
JM
44805 [BZ #10716]
44806 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44807 * math/s_cacoshf.c (__cacoshf): Likewise.
44808 * math/s_cacoshl.c (__cacoshl): Likewise.
44809 * math/s_casinh.c (__casinh): Set signs of result from argument.
44810 * math/s_casinhf.c (__casinhf): Likewise.
44811 * math/s_casinhl.c (__casinhl): Likewise.
44812 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44813 (casinh_test): Add more tests.
44814 * sysdeps/i386/fpu/libm-test-ulps: Update.
44815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44816
482ff4da
UD
448172012-03-07 Ulrich Drepper <drepper@gmail.com>
44818
872fda05
UD
44819 * po/zh_TW.po: Update from translation team.
44820
a4300c7a
UD
44821 * login/Makefile (distribute): Remove variable.
44822 * catgets/Makefile: Likewise.
44823 * mach/Makefile: Likewise.
44824 * malloc/Makefile: Likewise.
44825 * misc/Makefile: Likewise.
44826 * iconv/Makefile: Likewise.
44827 * nscd/Makefile: Likewise.
44828 * hurd/Makefile: Likewise.
44829 * manual/Makefile: Likewise.
44830 * locale/Makefile: Likewise.
44831 * intl/Makefile: Likewise.
44832 * conform/Makefile: Likewise.
44833 * nss/Makefile: Likewise.
44834 * time/Makefile: Likewise.
44835 * soft-fp/Makefile: Likewise.
44836 * dirent/Makefile: Likewise.
44837 * gmon/Makefile: Likewise.
44838 * po/Makefile: Likewise.
44839 * rt/Makefile: Likewise.
44840 * socket/Makefile: Likewise.
44841 * math/Makefile: Likewise.
44842 * signal/Makefile: Likewise.
44843 * debug/Makefile: Likewise.
44844 * elf/Makefile: Likewise.
44845 * timezone/Makefile: Likewise.
44846 * stdlib/Makefile: Likewise.
44847 * iconvdata/Makefile: Likewise.
44848 * sunrpc/Makefile: Likewise.
44849 * io/Makefile: Likewise.
44850 * argp/Makefile: Likewise.
44851 * inet/Makefile: Likewise.
44852 * hesiod/Makefile: Likewise.
44853 * grp/Makefile: Likewise.
44854 * csu/Makefile: Likewise.
44855 * wctype/Makefile: Likewise.
44856 * crypt/Makefile: Likewise.
44857 * libio/Makefile: Likewise.
44858 * string/Makefile: Likewise.
44859 * nis/Makefile: Likewise.
44860 * resolv/Makefile: Likewise.
44861 * stdio-common/Makefile: Likewise.
44862 * wcsmbs/Makefile: Likewise.
44863 * dlfcn/Makefile: Likewise.
44864 * posix/Makefile: Likewise.
44865
3b7c4e74 44866 [BZ #6959]
482ff4da
UD
44867 * timezone/Makefile: Don't install timezone files, just the programs
44868 and scripts.
44869
f72ed77d
UD
448702012-03-06 Ulrich Drepper <drepper@gmail.com>
44871
a000466f
UD
44872 * nss/databases.def: Add missing gshadow entry.
44873
f72ed77d
UD
44874 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44875
a53b7a4e
MP
448762012-03-06 Marek Polacek <polacek@redhat.com>
44877
44878 [BZ #13726]
44879 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44880 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44881 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44882 * stdio-common/tst-long-dbl-fphex.c: New file.
44883
e9258400
DM
448842012-03-06 David S. Miller <davem@davemloft.net>
44885
44886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44887 (set_obp_int): New function.
44888 (get_obp_int): New function.
44889 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44891 Avoid unused variable warnings on 'val' and use builtin_expect.
44892 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44893 __builtin_expect.
e9258400
DM
44894 (INLINE_CLONE_SYSCALL): Likewise.
44895
3bd2c723
DM
448962012-03-05 David S. Miller <davem@davemloft.net>
44897
44898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44899
bbb78d03
AS
449002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44901
884c5db4
AS
44902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44903
bbb78d03
AS
44904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44905 only for |x| >= 40.
44906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44907
1c9f702a 449082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44909
44910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44911 Replace gettimeofday with __vdso_gettimeofday.
44912
7be16f82
RM
44913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44914 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44915 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44916
44917 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44918 time with __vdso_time.
44919
ed58a00f
JM
449202012-03-05 Joseph Myers <joseph@codesourcery.com>
44921
44922 * manual/lang.texi (size_t): Note types to which size_t may be
44923 equivalent with the GNU C Library, but do not describe when
44924 differences between them are significant.
44925
30ee4ced
AJ
449262012-03-05 Andreas Jaeger <aj@suse.de>
44927
44928 * sysdeps/i386/fpu/libm-test-ulps: Update.
44929
b7cd39e8
JM
449302012-03-05 Joseph Myers <joseph@codesourcery.com>
44931
44932 [BZ #3976]
44933 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44934 (__ieee754_pow): Save and restore rounding mode and use
44935 round-to-nearest for main computations.
44936 * math/libm-test.inc (pow_test_tonearest): New function.
44937 (pow_test_towardzero): Likewise.
44938 (pow_test_downward): Likewise.
44939 (pow_test_upward): Likewise.
44940 (main): Call the new functions.
44941 * sysdeps/i386/fpu/libm-test-ulps: Update.
44942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44943
44944 [BZ #3976]
44945 * math/libm-test.inc (cosh_test_tonearest): New function.
44946 (cosh_test_towardzero): Likewise.
44947 (cosh_test_downward): Likewise.
44948 (cosh_test_upward): Likewise.
44949 (sinh_test_tonearest): Likewise.
44950 (sinh_test_towardzero): Likewise.
44951 (sinh_test_downward): Likewise.
44952 (sinh_test_upward): Likewise.
44953 (main): Call the new functions.
44954 * sysdeps/i386/fpu/libm-test-ulps: Update.
44955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44956
6c6a98c9
TV
449572012-03-05 Tom de Vries <tom@codesourcery.com>
44958
44959 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44960 default stack guard is set in last bytes.
44961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44962
21bb2d2e 449632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44964
21bb2d2e 44965 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44966
21bb2d2e
AJ
44967 [BZ #13656]
44968 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44969 possibly allocate from heap instead of stack.
44970 * stdio-common/bug-vfprintf-nargs.c: New file.
44971 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44972
c6922934
AS
449732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44974
44975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44976
bc957d53
MP
449772012-03-03 Marek Polacek <polacek@redhat.com>
44978
44979 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44980 * math/math_private.h: Likewise.
44981 * stdlib/tst-strtod.c: Likewise.
44982 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44983 * sysdeps/x86_64/bits/atomic.h: Likewise.
44984
6358490d
DM
449852012-03-02 David S. Miller <davem@davemloft.net>
44986
44987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44991 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44992 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44993 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44994 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44995
01ae168d
RM
449962012-03-02 Roland McGrath <roland@hack.frob.com>
44997
d9a17c07
RM
44998 [BZ #13792]
44999 * manual/examples/README: New file, says the example source files
45000 can be used under GPL>=2.
45001 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45002 line containing just "*/".
45003 * manual/examples/add.c: Add copyright header (GPL>=2).
45004 * manual/examples/argp-ex1.c: Likewise.
45005 * manual/examples/argp-ex2.c: Likewise.
45006 * manual/examples/argp-ex3.c: Likewise.
45007 * manual/examples/argp-ex4.c: Likewise.
45008 * manual/examples/atexit.c: Likewise.
45009 * manual/examples/db.c: Likewise.
45010 * manual/examples/dir.c: Likewise.
45011 * manual/examples/dir2.c: Likewise.
45012 * manual/examples/execinfo.c: Likewise.
45013 * manual/examples/filecli.c: Likewise.
45014 * manual/examples/filesrv.c: Likewise.
45015 * manual/examples/fmtmsgexpl.c: Likewise.
45016 * manual/examples/genpass.c: Likewise.
45017 * manual/examples/inetcli.c: Likewise.
45018 * manual/examples/inetsrv.c: Likewise.
45019 * manual/examples/isockad.c: Likewise.
45020 * manual/examples/longopt.c: Likewise.
45021 * manual/examples/memopen.c: Likewise.
45022 * manual/examples/memstrm.c: Likewise.
45023 * manual/examples/mkfsock.c: Likewise.
45024 * manual/examples/mkisock.c: Likewise.
45025 * manual/examples/mygetpass.c: Likewise.
45026 * manual/examples/pipe.c: Likewise.
45027 * manual/examples/popen.c: Likewise.
45028 * manual/examples/rprintf.c: Likewise.
45029 * manual/examples/search.c: Likewise.
45030 * manual/examples/select.c: Likewise.
45031 * manual/examples/setjmp.c: Likewise.
45032 * manual/examples/sigh1.c: Likewise.
45033 * manual/examples/sigusr.c: Likewise.
45034 * manual/examples/stpcpy.c: Likewise.
45035 * manual/examples/strdupa.c: Likewise.
45036 * manual/examples/strftim.c: Likewise.
45037 * manual/examples/strncat.c: Likewise.
45038 * manual/examples/subopt.c: Likewise.
45039 * manual/examples/swapcontext.c: Likewise.
45040 * manual/examples/termios.c: Likewise.
45041 * manual/examples/testopt.c: Likewise.
45042 * manual/examples/testpass.c: Likewise.
45043 * manual/examples/timeval_subtract.c: Likewise.
45044
01ae168d
RM
45045 [BZ #13792]
45046 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45047 function to ...
45048 * manual/timeval_subtract.c.texi: ... here, new file.
45049
49efa33d
DM
450502012-03-02 David S. Miller <davem@davemloft.net>
45051
45052 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45053
28afd92d
JM
450542012-03-02 Joseph Myers <joseph@codesourcery.com>
45055
804360ed
JM
45056 [BZ #3976]
45057 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45058 (__sin): Save and restore rounding mode and use round-to-nearest
45059 for all computations.
45060 (__cos): Save and restore rounding mode and use round-to-nearest
45061 for all computations.
45062 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45063 <fenv.h>.
45064 (tan): Save and restore rounding mode and use round-to-nearest for
45065 all computations.
45066 * math/libm-test.inc (cos_test_tonearest): New function.
45067 (cos_test_towardzero): Likewise.
45068 (cos_test_downward): Likewise.
45069 (cos_test_upward): Likewise.
45070 (sin_test_tonearest): Likewise.
45071 (sin_test_towardzero): Likewise.
45072 (sin_test_downward): Likewise.
45073 (sin_test_upward): Likewise.
45074 (tan_test_tonearest): Likewise.
45075 (tan_test_towardzero): Likewise.
45076 (tan_test_downward): Likewise.
45077 (tan_test_upward): Likewise.
45078 (main): Call the new functions.
45079 * sysdeps/i386/fpu/libm-test-ulps: Update.
45080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45081
a6d06d7b
JM
45082 [BZ #10135]
45083 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45084 small n, then large n, before computing and testing k+n.
45085 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45087 Likewise.
45088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45089 Likewise.
45090 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45091 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45098 * math/libm-test.inc (scalbn_test): Add more tests.
45099 (scalbln_test): Likewise.
45100
07e12bb3
JM
45101 * manual/filesys.texi (mode_t): Describe constraints on size and
45102 signedness, not exact equivalence to a particular type.
45103 (ino_t): Likewise.
45104 (ino64_t): Likewise.
45105 (dev_t): Likewise.
45106 (nlink_t): Likewise.
45107 (blkcnt_t): Likewise.
45108 (blkcnt64_t): Likewise.
45109 * manual/llio.texi (off_t): Likewise.
45110
28afd92d
JM
45111 [BZ #3976]
45112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45113 (__ieee754_exp): Save and restore rounding mode and use
45114 round-to-nearest for all computations.
45115 * math/libm-test.inc (exp_test_tonearest): New function.
45116 (exp_test_towardzero): Likewise.
45117 (exp_test_downward): Likewise.
45118 (exp_test_upward): Likewise.
45119 (main): Call the new functions.
45120 * sysdeps/i386/fpu/libm-test-ulps: Update.
45121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45122
b1eeb65d
CD
451232012-03-01 Chris Demetriou <cgd@google.com>
45124
45125 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45126 have predictable order.
45127
53362a4b
DM
451282012-03-01 David S. Miller <davem@davemloft.net>
45129
3c969083
DM
45130 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45131
759707de
DM
45132 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45133 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45134 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45135 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45136
dfdb8ff2
DM
45137 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45138 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45139 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45141 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45142 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45143 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45144 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45145 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45146
ead89f96
DM
45147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45148
7f66bd07
DM
45149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45150 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45151 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45152
53362a4b
DM
45153 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45155 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45169 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45170 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45171 * sysdeps/sparc/elf/configure: Regenerated.
45172
7b1902cb
JM
451732012-03-01 Joseph Myers <joseph@codesourcery.com>
45174
bec039bc
JM
45175 * configure.in (AS, LD): Require binutils 2.20 or later.
45176 * configure: Regenerated.
45177 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45178 as required minimum version.
45179 * INSTALL: Regenerated.
45180
7b1902cb
JM
45181 [BZ #2541]
45182 [BZ #4108]
45183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45184 before squaring exponent.
45185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45186 bottom long double and 27 bits of top long double before squaring
45187 exponent.
45188 * math/libm-test.inc (erfc_test): Add more tests.
45189 * sysdeps/i386/fpu/libm-test-ulps: Update.
45190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45192
f775c276
KT
451932012-03-01 Kai Tietz <ktietz@redhat.com>
45194
45195 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45196 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45197 containing bit-fields.
45198 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45199 * soft-fp/single.h (_FP_UNION_S): Likewise.
45200 * soft-fp/double.h (_FP_UNION_D): Likewise.
45201
5b8a4d4a
JM
452022012-02-29 Joseph Myers <joseph@codesourcery.com>
45203
0bab47b6
JM
45204 [BZ #13786]
45205 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45206 not include ../strcmp.S.
45207 [USE_AS_STRNCASECMP_L]: Likewise.
45208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45209 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45210 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45211 (__strncasecmp_l_ia32): Define as alias to
45212 __strncasecmp_l_nonascii.
45213
0fcad3e2
JM
45214 [BZ #5794]
45215 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45216 * sysdeps/i386/fpu/libm-test-ulps: Update.
45217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45218
5b8a4d4a
JM
45219 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45221
8fdceb2e
JL
452222012-02-29 Jeff Law <law@redhat.com>
45223
45224 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45225 out of bounds read.
45226
1f393a11
MP
452272012-02-29 Marek Polacek <polacek@redhat.com>
45228
45229 [BZ #13706]
45230 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45231 * elf/Makefile: Add rules to run tst-unused-dep.out.
45232
8847f037
DM
452332012-02-28 David S. Miller <davem@davemloft.net>
45234
45235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45241
169d7f11
JM
452422012-02-29 Joseph Myers <joseph@codesourcery.com>
45243
45244 * math/libm-test.inc (llround_test): Move one test from
45245 lround_test. Use TEST_f_L in moved test.
45246 (lround_test): Move misplaced test to llround_test. Add testcase
45247 from bug 2561.
45248
39adf059
UD
452492012-02-28 Ulrich Drepper <drepper@gmail.com>
45250
45251 * sysdeps/x86_64/fpu/e_expf.S: New file.
45252 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45253
71b5d1c5
SB
452542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45255
45256 [BZ #13637]
45257 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45258 of remain_len that may cause incomplete multi-byte character and
45259 false match.
45260 * posix/bug-regex33.c: New file.
45261 * posix/Makefile (tests): Add bug-regex33.
45262
1f77f049
JM
452632012-02-28 Joseph Myers <joseph@codesourcery.com>
45264
45265 * manual/macros.texi: New file.
45266 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45267 * manual/libc.texinfo: Include macros.texi.
45268 * manual/creatute.texi: Likewise.
45269 * manual/install.texi: Likewise.
45270 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45271 @glibcadj{} in references to the GNU C Library.
45272 * manual/charset.texi: Likewise.
45273 * manual/conf.texi: Likewise.
45274 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45275 when not using those macros.
45276 * manual/creature.texi: Likewise.
45277 * manual/crypt.texi: Likewise.
45278 * manual/errno.texi: Likewise.
45279 * manual/filesys.texi: Likewise.
45280 * manual/header.texi: Likewise.
45281 * manual/install.texi: Likewise.
45282 * manual/intro.texi: Likewise.
45283 * manual/io.texi: Likewise.
45284 * manual/job.texi: Likewise.
45285 * manual/lang.texi: Likewise.
45286 * manual/libc.texiinfo: Likewise.
45287 * manual/llio.texi: Likewise.
45288 * manual/locale.texi: Likewise.
45289 * manual/maint.texi: Likewise.
45290 * manual/math.texi: Likewise.
45291 * manual/memory.texi: Likewise.
45292 * manual/message.texi: Likewise.
45293 * manual/nss.texi: Likewise.
45294 * manual/pattern.texi: Likewise.
45295 * manual/process.texi: Likewise.
45296 * manual/resource.texi: Likewise.
45297 * manual/search.texi: Likewise.
45298 * manual/setjmp.texi: Likewise.
45299 * manual/signal.texi: Likewise.
45300 * manual/socket.texi: Likewise.
45301 * manual/startup.texi: Likewise.
45302 * manual/stdio.texi: Likewise.
45303 * manual/string.texi: Likewise.
45304 * manual/sysinfo.texi: Likewise.
45305 * manual/syslog.texi: Likewise.
45306 * manual/terminal.texi: Likewise.
45307 * manual/time.texi: Likewise.
45308 * manual/users.texi: Likewise.
45309 * INSTALL: Regenerated.
45310 * NOTES: Regenerated.
d40c5d54 45311 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45312
450bf206
AS
453132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45314
45315 * include/dirent.h: Include <dirstream.h> before
45316 <dirent/dirent.h>.
45317
741a235b
DM
453182012-02-28 David S. Miller <davem@davemloft.net>
45319
45320 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45321 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45322 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45324
d6b5aa58
DM
453252012-02-27 David S. Miller <davem@davemloft.net>
45326
1aff59a3
DM
45327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45329 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45330 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45331
d6b5aa58
DM
45332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45333 frame pointer instead of stack pointer relative arg slot.
45334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45337
433f48bf
CD
453382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45339
45340 [BZ #3992]
45341 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45342
d674b76d
DM
453432012-02-27 David S. Miller <davem@davemloft.net>
45344
45345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45351 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45353
0e7727f7
JM
453542012-02-27 Joseph Myers <joseph@codesourcery.com>
45355
45356 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45357 later. Allow versions 5-9.
43be4ca2 45358 * configure: Regenerated.
0e7727f7
JM
45359 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45360 required minimum version and 4.6 as recommended version. Do not
45361 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45362 * INSTALL: Regenerated.
0e7727f7 45363
a78bc654
DM
453642012-02-27 David S. Miller <davem@davemloft.net>
45365
428d5830
DM
45366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45372 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45374
a78bc654
DM
45375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45376 manipulate bits before adding and subtracting TWO112[sx].
45377 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45378
4579f81c
RM
453792012-02-27 Roland McGrath <roland@hack.frob.com>
45380
36c8acb4
RM
45381 [BZ #13775]
45382 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45383 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45384 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45385 being in POSIX, because they are in 1003.1-2008.
45386
84ad622b
RM
45387 * rt/tst-aio.c: Include <fcntl.h>.
45388 * rt/tst-aio7.c: Likewise.
45389 * rt/tst-aio64.c: Likewise.
45390
4579f81c
RM
45391 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45392
abd923db
JM
453932012-02-27 Joseph Myers <joseph@codesourcery.com>
45394
45395 * manual/install.texi (--with-headers): Describe headers as
45396 interface headers, not private headers.
45397 (Specific advice for GNU/Linux systems): Describe use of headers
45398 from "make headers_install", not private headers from older
45399 kernels.
43be4ca2 45400 * INSTALL: Regenerated.
abd923db
JM
45401 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45402 Change to 2.6.19.
45403 * sysdeps/unix/sysv/linux/configure: Regenerated.
45404
6664049b
JM
45405 * manual/llio.texi (fclean): Remove documentation.
45406
bb8b6697
JM
45407 * manual/Makefile (libc-texi-generated): New variable. Include
45408 version.texi.
45409 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45410 $(libc-texi-generated), not duplicated list of files.
45411 (version.texi, stamp-version): New rules.
45412 (realclean): Remove $(libc-texi-generated), not individual files
45413 from that list. Do not remove dir-add.texinfo.
45414 * manual/libc.texinfo: Comment out uses of edition numbers and
45415 references to printed manual. Remove last-updated dates.
45416 (EDITION): Comment out.
45417 (ISBN): Likewise.
45418 (VERSION, UPDATED): Remove.
45419 (version.texi): Include.
45420
12e5c3b9
AS
454212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45422
45423 * sysdeps/posix/spawni.c: Include <signal.h>.
45424 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45425 * sysdeps/pthread/aio_fsync.c: Likewise.
45426
4efeffc1 454272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45428
ba63ba08
UD
45429 * conform/Makefile (tests): Run only when not cross-compiling and
45430 when fast-check is not defined.
45431
d94a4670
UD
45432 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45433 * conform/data/limits.h-data: Fixes for POSIX2008.
45434 * conform/run-conformtest.sh: Run all tests.
45435 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45436 headers.
45437 * include/bits/dlfcn.h: Likewise.
45438 * include/langinfo.h: Likewise.
45439 * include/monetary.h: Likewise.
45440 * include/sys/poll.h: Likewise.
45441
45442 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45443 for __USE_GNU.
45444 * posix/spawn.h: Define __need_sigset_t.
45445 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45446 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45447 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45448 to get sigevent_t only.
45449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45450 only for __USE_GNU.
45451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45453 process_vm_writev only for __USE_GNU.
45454 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45455
45456 * conform/Makefile: For now ignore errors from run-conformtest.
45457 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45458 POSIX to avoid namespace pollution. Don't prepend headers.
45459 * conform/data/aio.h-data: Fixes for POSIX testing.
45460 * conform/data/fcntl.h-data: Likewise.
45461 * conform/data/glob.h-data: Likewise.
45462 * conform/data/grp.h-data: Likewise.
45463 * conform/data/pthread.h-data: Likewise.
45464 * conform/data/pwd.h-data: Likewise.
45465 * conform/data/signal.h-data: Likewise.
45466 * conform/data/spawn.h-data: Likewise.
45467 * conform/data/stdio.h-data: Likewise.
45468 * conform/data/stdlib.h-data: Likewise.
45469 * conform/data/stropts.h-data: Likewise.
45470 * conform/data/sys/mman.h-data: Likewise.
45471 * conform/data/sys/stat.h-data: Likewise.
45472 * conform/data/sys/types.h-data: Likewise.
45473 * conform/data/sys/wait.h-data: Likewise.
45474 * conform/data/time.h-data: Likewise.
45475 * conform/data/unistd.h-data: Likewise.
45476 * conform/data/utime.h-data: Likewise.
45477
45478 * io/sys/stat.h: fchmod was always in POSIX.
45479 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45480 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45481 * rt/aio.h: Define __need_timespec before including <time.h>.
45482 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45483 struct. Add forward declaration of pthread_attr_t and use it in
45484 sigevent.
45485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45487 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45488 always remove CLK_TCK definition.
45489
c20105c3
AS
454902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45491
45492 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45493
7a270350
UD
454942012-02-25 Ulrich Drepper <drepper@gmail.com>
45495
31341567
UD
45496 * conform/run-conformtest.sh: New file.
45497 * conform/Makefile: Run run-conformtest for tests.
45498 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45499 support.
45500
45501 * conform/data/uchar.h-data: New file.
45502 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45503 * conform/data/arpa/inet.h-data: Likewise.
45504 * conform/data/assert.h-data: Likewise.
45505 * conform/data/complex.h-data: Likewise.
45506 * conform/data/cpio.h-data: Likewise.
45507 * conform/data/ctype.h-data: Likewise.
45508 * conform/data/dirent.h-data: Likewise.
45509 * conform/data/dlfcn.h-data: Likewise.
45510 * conform/data/errno.h-data: Likewise.
45511 * conform/data/fcntl.h-data: Likewise.
45512 * conform/data/float.h-data: Likewise.
45513 * conform/data/fmtmsg.h-data: Likewise.
45514 * conform/data/fnmatch.h-data: Likewise.
45515 * conform/data/ftw.h-data: Likewise.
45516 * conform/data/glob.h-data: Likewise.
45517 * conform/data/grp.h-data: Likewise.
45518 * conform/data/iconv.h-data: Likewise.
45519 * conform/data/inttypes.h-data: Likewise.
45520 * conform/data/langinfo.h-data: Likewise.
45521 * conform/data/libgen.h-data: Likewise.
45522 * conform/data/limits.h-data: Likewise.
45523 * conform/data/locale.h-data: Likewise.
45524 * conform/data/math.h-data: Likewise.
45525 * conform/data/monetary.h-data: Likewise.
45526 * conform/data/mqueue.h-data: Likewise.
45527 * conform/data/ndbm.h-data: Likewise.
45528 * conform/data/net/if.h-data: Likewise.
45529 * conform/data/netdb.h-data: Likewise.
45530 * conform/data/netinet/in.h-data: Likewise.
45531 * conform/data/nl_types.h-data: Likewise.
45532 * conform/data/poll.h-data: Likewise.
45533 * conform/data/pthread.h-data: Likewise.
45534 * conform/data/pwd.h-data: Likewise.
45535 * conform/data/regex.h-data: Likewise.
45536 * conform/data/sched.h-data: Likewise.
45537 * conform/data/search.h-data: Likewise.
45538 * conform/data/semaphore.h-data: Likewise.
45539 * conform/data/setjmp.h-data: Likewise.
45540 * conform/data/signal.h-data: Likewise.
45541 * conform/data/spawn.h-data: Likewise.
45542 * conform/data/stdarg.h-data: Likewise.
45543 * conform/data/stdio.h-data: Likewise.
45544 * conform/data/stdlib.h-data: Likewise.
45545 * conform/data/string.h-data: Likewise.
45546 * conform/data/strings.h-data: Likewise.
45547 * conform/data/stropts.h-data: Likewise.
45548 * conform/data/sys/ipc.h-data: Likewise.
45549 * conform/data/sys/mman.h-data: Likewise.
45550 * conform/data/sys/msg.h-data: Likewise.
45551 * conform/data/sys/resource.h-data: Likewise.
45552 * conform/data/sys/select.h-data: Likewise.
45553 * conform/data/sys/sem.h-data: Likewise.
45554 * conform/data/sys/shm.h-data: Likewise.
45555 * conform/data/sys/socket.h-data: Likewise.
45556 * conform/data/sys/stat.h-data: Likewise.
45557 * conform/data/sys/statvfs.h-data: Likewise.
45558 * conform/data/sys/time.h-data: Likewise.
45559 * conform/data/sys/timeb.h-data: Likewise.
45560 * conform/data/sys/times.h-data: Likewise.
45561 * conform/data/sys/types.h-data: Likewise.
45562 * conform/data/sys/uio.h-data: Likewise.
45563 * conform/data/sys/un.h-data: Likewise.
45564 * conform/data/sys/utsname.h-data: Likewise.
45565 * conform/data/sys/wait.h-data: Likewise.
45566 * conform/data/syslog.h-data: Likewise.
45567 * conform/data/tar.h-data: Likewise.
45568 * conform/data/termios.h-data: Likewise.
45569 * conform/data/utime.h-data: Likewise.
45570 * conform/data/utmpx.h-data: Likewise.
45571 * conform/data/varargs.h-data: Likewise.
45572 * conform/data/wchar.h-data: Likewise.
45573 * conform/data/wctype.h-data: Likewise.
45574 * conform/data/wordexp.h-data: Likewise.
45575
45576 * include/stropts.h: New file.
45577 * include/uchar.h: New file.
45578 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45579 * include/assert.h: Likewise.
45580 * include/ctype.h: Likewise.
45581 * include/dirent.h: Likewise.
45582 * include/dlfcn.h: Likewise.
45583 * include/fcntl.h: Likewise.
45584 * include/fnmatch.h: Likewise.
45585 * include/glob.h: Likewise.
45586 * include/grp.h: Likewise.
45587 * include/libio.h: Likewise.
45588 * include/locale.h: Likewise.
45589 * include/math.h: Likewise.
45590 * include/net/if.h: Likewise.
45591 * include/netdb.h: Likewise.
45592 * include/netinet/in.h: Likewise.
45593 * include/pthread.h: Likewise.
45594 * include/pwd.h: Likewise.
45595 * include/regex.h: Likewise.
45596 * include/sched.h: Likewise.
45597 * include/search.h: Likewise.
45598 * include/setjmp.h: Likewise.
45599 * include/signal.h: Likewise.
45600 * include/stdio.h: Likewise.
45601 * include/stdlib.h: Likewise.
45602 * include/string.h: Likewise.
45603 * include/sys/cdefs.h: Likewise.
45604 * include/sys/mman.h: Likewise.
45605 * include/sys/msg.h: Likewise.
45606 * include/sys/resource.h: Likewise.
45607 * include/sys/select.h: Likewise.
45608 * include/sys/socket.h: Likewise.
45609 * include/sys/stat.h: Likewise.
45610 * include/sys/statvfs.h: Likewise.
45611 * include/sys/time.h: Likewise.
45612 * include/sys/times.h: Likewise.
45613 * include/sys/uio.h: Likewise.
45614 * include/sys/utsname.h: Likewise.
45615 * include/sys/wait.h: Likewise.
45616 * include/termios.h: Likewise.
45617 * include/time.h: Likewise.
45618 * include/ulimit.h: Likewise.
45619 * include/unistd.h: Likewise.
45620 * include/utime.h: Likewise.
45621 * include/wchar.h: Likewise.
45622 * include/wctype.h: Likewise.
45623 * include/wordexp.h: Likewise.
45624
45625 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45626
7a270350
UD
45627 * time/time.h: TIME_UTC must be a macro.
45628 Make timespec_get available for ISO C11 only as well.
45629
7724defc
UD
456302012-02-24 Ulrich Drepper <drepper@gmail.com>
45631
45632 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45633 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45634
6b1d1d46
JM
456352012-02-24 Joseph Myers <joseph@codesourcery.com>
45636
45637 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45638
0f8bbd69
JM
456392012-02-24 Joseph Myers <joseph@codesourcery.com>
45640
45641 * manual/texinfo.tex: Update to version 2012-01-19.16.
45642
66ab80bc
JM
456432012-02-24 Joseph Myers <joseph@codesourcery.com>
45644
45645 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45646
74981cc5
RM
456472012-02-24 Roland McGrath <roland@hack.frob.com>
45648
ee968201
RM
45649 [BZ #13738]
45650 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45651 * manual/fdl-1.3.texi: New file.
45652 * manual/fdl-1.1.texi: File removed.
45653
74981cc5
RM
45654 [BZ #13738]
45655 * manual/libc.texinfo (FDL_VERSION): New @set.
45656 Use it for mention of FDL in cover text.
45657 (Documentation License): Use it in @include file name.
45658
7bb764bc
JM
456592012-02-22 Joseph Myers <joseph@codesourcery.com>
45660 Roland McGrath <roland@hack.frob.com>
45661
45662 [BZ #5461]
57f41c40
AS
45663 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45664 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45665 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45666 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45667 name.
45668 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45669
6cbeae47
JM
456702012-02-22 Joseph Myers <joseph@codesourcery.com>
45671
45672 [BZ #2547]
45673 [BZ #11365]
45674 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45675 manipulate bits before adding and subtracting TWO23[sx].
45676 * math/libm-test.inc (nearbyint_test): Add more tests.
45677
fe45ce09
JM
456782012-02-22 Joseph Myers <joseph@codesourcery.com>
45679
45680 [BZ #2548]
45681 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45682 bits before adding and subtracting TWO23[sx].
45683 * math/libm-test.inc (rint_test): Add more tests.
45684 (rint_test_tonearest): Likewise.
45685 (rint_test_towardzero): Likewise.
45686 (rint_test_downward): Likewise.
45687 (rint_test_upward: Likewise.
45688
ff3b3d82
JM
456892012-02-22 Joseph Myers <joseph@codesourcery.com>
45690
45691 [BZ #10110]
45692 * include/stdc-predef.h: New file. Extracted from features.h.
45693 * include/features.h: Include stdc-predef.h.
45694 * Makefile (headers): Add stdc-predef.h.
45695 * CONFORMANCE (Compiler limitations): Update.
45696
ef0aab35
JM
456972012-02-22 Joseph Myers <joseph@codesourcery.com>
45698
45699 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45700
58639409
DM
457012012-02-21 David S. Miller <davem@davemloft.net>
45702
45703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45705
c0e70b25
DM
457062012-02-20 David S. Miller <davem@davemloft.net>
45707
45708 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45709 using a normal save/restore sequence, rather than allocating a
45710 dummy stack frame just to store a frame pointer and restore.
45711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45712
fb06851d
JM
457132012-02-21 Joseph Myers <joseph@codesourcery.com>
45714
45715 * manual/install.texi: Fix stray word in line-wrapped comment.
45716
7a8b71c3
DM
457172012-02-20 David S. Miller <davem@davemloft.net>
45718
d510c123
DM
45719 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45720 both binutils and gcc support GOTDATA.
45721
0722d7c2
DM
45722 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45723 "rd %pc" in the PIC register setup sequences.
45724
3d2b3019
DM
45725 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45726 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45728 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45729 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45734 (SYSCALL_ERROR_HANDLER): Likewise.
45735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45738 (SYSCALL_ERROR_HANDLER): Likewise.
45739
c80098a9
DM
45740 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45741 (HAVE_GCC_GOTDATA): New.
45742 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45743 relocation support in both binutils and gcc.
45744 * sysdeps/sparc/elf/configure: Regenerate.
45745
3a2545a0
DM
45746 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45747 * sysdeps/sparc/sparc32/elf/configure: Delete.
45748 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45749 * sysdeps/sparc/sparc64/elf/configure: Delete.
45750 * sysdeps/sparc/elf/configure.in: New file.
45751 * sysdeps/sparc/elf/configure: Generate.
45752
7a8b71c3
DM
45753 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45754 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45756 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45757 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45758
f1e86fca
JM
457592012-02-21 Joseph Myers <joseph@codesourcery.com>
45760
45761 * manual/install.texi: Do not mention specific glibc version
45762 numbers.
45763 * manual/libc.texinfo (VERSION, UPDATED): Update.
45764 (@copying): Use @copyright{} and range of years.
45765
0e7dfaef
JM
457662012-02-21 Joseph Myers <joseph@codesourcery.com>
45767
45768 [BZ #13695]
45769 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45770 [crti.S not in sysdirs] (generated): Do not append.
45771 [crti.S not in sysdirs] (omit-deps): Likewise.
45772 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45773 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45774 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45775 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45776 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45777 Likewise.
45778 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45779 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45780 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45781 * csu/defs.awk: Remove file.
45782 * sysdeps/generic/initfini.c: Likewise.
45783 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45784 variable.
45785 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45786 Likewise.
45787
599af3ca
JM
457882012-02-20 Joseph Myers <joseph@codesourcery.com>
45789
45790 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45791 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45792 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45795 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45796 <bits/epoll.h>.
45797 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45798 (__EPOLL_PACKED): Define to empty if not defined by
45799 <bits/epoll.h>.
45800 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45802 bits/epoll.h.
45803
0e499750
JM
458042012-02-20 Joseph Myers <joseph@codesourcery.com>
45805
45806 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45807 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45809 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45810 <bits/timerfd.h>.
45811 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45813 bits/timerfd.h.
45814
5ad91f6e
JM
458152012-02-20 Joseph Myers <joseph@codesourcery.com>
45816
45817 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45818 in C locale.
45819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45820 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823
06b99b02
AJ
458242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45825
45826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45828
7638c0fd
AS
458292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45830
45831 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45832 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45833 defined.
45834 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45835 Likewise.
45836 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45837 entry for 2.16.
45838
92221550
AJ
458392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45840
45841 * math/w_acos.c: Use non-signaling floating-point comparisons.
45842 * math/w_acosf.c: Likewise.
45843 * math/w_acosh.c: Likewise.
45844 * math/w_acoshf.c: Likewise.
45845 * math/w_acoshl.c: Likewise.
45846 * math/w_acosl.c: Likewise.
45847 * math/w_asin.c: Likewise.
45848 * math/w_asinf.c: Likewise.
45849 * math/w_asinl.c: Likewise.
45850 * math/w_atanh.c: Likewise.
45851 * math/w_atanhf.c: Likewise.
45852 * math/w_atanhl.c: Likewise.
45853 * math/w_exp2.c: Likewise.
45854 * math/w_exp2f.c: Likewise.
45855 * math/w_exp2l.c: Likewise.
45856 * math/w_j0.c: Likewise.
45857 * math/w_j0f.c: Likewise.
45858 * math/w_j0l.c: Likewise.
45859 * math/w_j1.c: Likewise.
45860 * math/w_j1f.c: Likewise.
45861 * math/w_j1l.c: Likewise.
45862 * math/w_jn.c: Likewise.
45863 * math/w_jnf.c: Likewise.
45864 * math/w_log.c: Likewise.
45865 * math/w_log10.c: Likewise.
45866 * math/w_log10f.c: Likewise.
45867 * math/w_log10l.c: Likewise.
45868 * math/w_log2.c: Likewise.
45869 * math/w_log2f.c: Likewise.
45870 * math/w_log2l.c: Likewise.
45871 * math/w_logf.c: Likewise.
45872 * math/w_logl.c: Likewise.
45873 * math/w_sqrt.c: Likewise.
45874 * math/w_sqrtf.c: Likewise.
45875 * math/w_sqrtl.c: Likewise.
45876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45877 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45881
ebaf36eb
JM
458822012-02-19 Joseph Myers <joseph@codesourcery.com>
45883
45884 [BZ #9739]
45885 * manual/string.texi (strnlen): Use correct parameter name in
45886 equivalent expression.
45887
71c254a6
JM
458882012-02-19 Joseph Myers <joseph@codesourcery.com>
45889
45890 [BZ #11174]
45891 * manual/users.texi (seteuid): Consistently use neweuid for
45892 argument name.
45893
16d2c631
JM
458942012-02-19 Joseph Myers <joseph@codesourcery.com>
45895
45896 [BZ #13704]
45897 * manual/nss.texi (Services in the NSS configuration): Correct
45898 list of services in example configuration file.
45899
cd837b09
NB
459002012-02-19 Nick Bowler <nbowler@draconx.ca>
45901
45902 [BZ #11322]
45903 * manual/arith.texi: Remove statements about negative zero
45904 behaving identically to zero.
45905
02c4bbad
JM
459062012-02-18 Joseph Myers <joseph@codesourcery.com>
45907
45908 [BZ #5993]
45909 * manual/install.texi: Do not document upgrading from libc5.
45910
366842e7
JM
459112012-02-18 Joseph Myers <joseph@codesourcery.com>
45912
45913 [BZ #4596]
45914 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45915
dd54084d
DM
459162012-02-18 David S. Miller <davem@davemloft.net>
45917
45918 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45919 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45920 %o7 across the call.
45921 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45922 instead.
45923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45924 SETUP_PIC_REG_LEAF.
45925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45926 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45927 * sysdeps/sparc/crtn.S: Likewise.
45928
2bcc53a3
UD
459292012-02-17 Ulrich Drepper <drepper@gmail.com>
45930
45931 * aout/Makefile: Remove.
45932
09c093b5
RK
459332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45934
45935 [BZ #13058]
45936 * manual/examples/argp-ex1.c (main): Format definition in GNU
45937 style.
45938 * manual/examples/argp-ex2.c (main): Likewise.
45939 * manual/examples/argp-ex3.c (main): Likewise.
45940 * manual/examples/argp-ex4.c (main): Likewise.
45941 * manual/examples/longopt.c (main): Use new-style prototype
45942 definition.
45943 * manual/examples/strncat.c (main): Specify return type and use
45944 (void) for arguments.
45945 * manual/examples/subopt.c (main): Use char **argv argument.
45946
2ee633a2
JM
459472012-02-17 Joseph Myers <joseph@codesourcery.com>
45948
45949 [BZ #5077]
45950 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45951 rounding modes.
45952
0520adde
FB
459532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45954
45955 [BZ #6907]
45956 * manual/string.texi (strchr): Change when strchrnul is
45957 recommended.
45958
3f4081cd
DGM
459592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45960
45961 [BZ #174]
45962 * manual/locale.texi (setlocale): Document LOCPATH.
45963
d1b10e78
JM
459642012-02-17 Joseph Myers <joseph@codesourcery.com>
45965
45966 [BZ #10210]
45967 * manual/process.texi (execle): Move @dots{} before last argument.
45968
79c6869c
PB
459692012-02-17 Paul Bolle <pebolle@tiscali.nl>
45970
45971 [BZ #12047]
45972 * manual/charset.texi (Generic Charset Conversion): Fix typo
45973 (LC_TYPE -> LC_CTYPE).
45974
cc6e48bc
NB
459752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45976
45977 [BZ #5805]
45978 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45979 (scalbnf): Likewise.
45980 (scalbnl): Likewise.
45981 (scalbln): Likewise.
45982 (scalblnf): Likewise.
45983 (scalblnl): Likewise.
45984 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45985 (vwarnx): Likewise.
45986 (verr): Likewise.
45987 (verrx): Likewise.
45988 * manual/filesys.texi (telldir): Use braces around return type.
45989 * manual/llio.texi (mmap): Add space after comma.
45990 (mmap64): Likewise.
45991 * manual/math.texi (jn): Use @var{} on parameter names.
45992 (jnf): Likewise.
45993 (jnl): Likewise.
45994 (yn): Likewise.
45995 (ynf): Likewise.
45996 (ynl): Likewise.
45997 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45998 line.
45999 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46000 "...".
46001 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46002 (sched_get_priority_max): Likewise.
46003 * manual/signal.texi (sigvec): Add space after comma.
46004 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46005 names.
46006 (if_indextoname): Likewise.
46007 (if_freenameindex): Likewise.
46008 (sendto): Use ',' instead of '.' in prototype.
46009 * manual/startup.texi (syscall): Use @dots{} instead of literal
46010 "...".
46011 * manual/stdio.texi (__fpending): Separate initial words of
46012 paragraph from @deftypefun line.
46013 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46014 "...".
46015 (vsyslog): Use @var{} on parameter names.
46016 * manual/terminal.texi (stty): Use @var{} on parameter names.
46017 * manual/users.texi (getutmp): Use @var{} on parameter names.
46018 (getutmpx): Likewise.
46019
5b23062f
JM
460202012-02-17 Joseph Myers <joseph@codesourcery.com>
46021
46022 [BZ #6884]
46023 * manual/stdio.texi (fopen): Fix typos in description of
46024 ",ccs=STRING".
46025
8dee4833
AJ
460262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46027
46028 [BZ #4026]
46029 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46030 get clock_id definition.
46031
9078ce93
TS
460322012-02-17 Thomas Schwinge <thomas@schwinge.name>
46033
46034 [BZ #4822]
46035 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46036 (madvise): Cast every argument to void on its own.
46037
3835c55f
JM
460382012-02-17 Joseph Myers <joseph@codesourcery.com>
46039
46040 [BZ #9902]
46041 * manual/startup.texi (Exit Status): Fix typo.
46042
35c47e37
JM
460432012-02-17 Joseph Myers <joseph@codesourcery.com>
46044
46045 [BZ #10140]
46046 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46047 * manual/examples/argp-ex2.c: Likewise.
46048 * manual/examples/argp-ex3.c: Likewise.
46049
e3b69ca7
RH
460502012-02-16 Richard Henderson <rth@redhat.com>
46051
46052 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46053 * sysdeps/s390/s390-32/initfini.c: Remove.
46054 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46055 * sysdeps/s390/s390-64/initfini.c: Remove.
46056
df83af67
KK
460572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46058
46059 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46060 compiler output for sysdeps/generic/initfini.c.
46061 * sysdeps/sh/elf/initfini.c: Remove file.
46062
f63f3380
DM
460632012-02-16 David S. Miller <davem@davemloft.net>
46064
fb59b3a4
DM
46065 [BZ #11494]
46066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46067
f63f3380
DM
46068 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46069 * sysdeps/sparc/crti.S: New file.
46070 * sysdeps/sparc/crtn.S: New file.
46071 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46072 * sysdeps/sparc/sparc64/Makefile: Likewise.
46073
df6a4a4a
MF
460742012-02-15 Mike Frysinger <vapier@gentoo.org>
46075
6dd8f3dc 46076 [BZ #3335]
df6a4a4a
MF
46077 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46078
1cac7236
RM
460792012-02-15 Roland McGrath <roland@hack.frob.com>
46080
d2c736f8
RM
46081 [BZ #4822]
46082 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46083
1cac7236
RM
46084 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46085 (write, read, close): Likewise.
46086 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46087
8e475601
JM
460882012-02-15 Joseph Myers <joseph@codesourcery.com>
46089
46090 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46091 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46092 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46093 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46094 <bits/signalfd.h>.
46095 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46097 bits/signalfd.h.
46098
ed656b40
MP
460992012-02-14 Marek Polacek <polacek@redhat.com>
46100
46101 * sysdeps/x86_64/crti.S: New file.
46102 * sysdeps/x86_64/crtn.S: New file.
46103 * sysdeps/x86_64/elf/initfini.c: Remove file.
46104
2a979d3a
JM
461052012-02-13 Joseph Myers <joseph@codesourcery.com>
46106
46107 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46108 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46109 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46110 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46111 <bits/inotify.h>.
46112 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46114 bits/inotify.h.
46115
2a418ac3
JM
461162012-02-13 Joseph Myers <joseph@codesourcery.com>
46117
46118 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46119 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46120 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46121 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46122 <bits/eventfd.h>.
46123 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46125 bits/eventfd.h.
46126
fb779be7
TS
461272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46128
e19e83c5
RM
46129 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46130 __feraiseexcept instead of feraiseexcept.
7c35ffed 46131
fb779be7
TS
46132 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46133 nanosleep invocations.
46134 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46135 strings, and add error checking for a nanosleep invocations.
46136
59ba27a6
PE
461372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46138
46139 Replace FSF snail mail address with URLs, as per GNU coding standards.
46140 Most of the snail mail addresses were wrong anyway, and omitting
46141 them makes the source code easier to maintain. Almost all of the
46142 changes are to license notices and to locale LC_IDENTIFICATION
46143 addresses, except for this one:
46144 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46145 not its snail mail address.
46146
57b957eb
RH
461472012-02-09 Richard Henderson <rth@twiddle.net>
46148
af850b1c
RH
46149 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46150 of kernel-features.h.
46151
57b957eb
RH
46152 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46153
6b73181a
MP
461542012-02-08 Marek Polacek <polacek@redhat.com>
46155
46156 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46157 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46158 * sysdeps/gnu/_G_config.h: Likewise.
46159 * sysdeps/generic/_G_config.h: Likewise.
46160
26ecc33a
AS
461612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46162
6c6dbc63
AS
46163 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46164 tests.
46165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46166
e216c012
AS
46167 * sysdeps/powerpc/powerpc32/crti.S: New file.
46168 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46169 * sysdeps/powerpc/powerpc64/crti.S: New file.
46170 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46171
26ecc33a
AS
46172 * Makeconfig (have-initfini): Don't set.
46173 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46174 * configure.in (nopic_initfini): Don't substitute.
46175 * config.h.in (HAVE_INITFINI): Don't #undef.
46176 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46177 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46178
3add8e13
JM
461792012-02-08 Joseph Myers <joseph@codesourcery.com>
46180
46181 Support crti.S and crtn.S provided directly by architectures.
46182 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46183 [crti.S in sysdirs] (omit-deps): Likewise.
46184 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46185 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46186 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46187 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46188 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46189 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46190 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46191 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46192 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46193 compiler output for sysdeps/generic/initfini.c.
46194 * sysdeps/i386/elf/Makefile: Remove file.
46195 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46196
a22f12b4
MP
461972012-02-07 Marek Polacek <polacek@redhat.com>
46198
46199 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46200 * sysdeps/gnu/_G_config.h: Likewise.
46201 * sysdeps/mach/hurd/_G_config.h: Likewise.
46202
148cf100
MP
462032012-02-07 Marek Polacek <polacek@redhat.com>
46204
46205 * math/Makefile (tests): Add tst-CMPLX2.
46206 * math/tst-CMPLX2.c: New file.
46207
cfdc0dd7
AS
462082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46209
84ba42c4
AS
46210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46211
cfdc0dd7
AS
46212 * math/libm-test.inc (jn_test): Add missing L suffix.
46213
622c86f4
MP
462142012-02-06 Marek Polacek <polacek@redhat.com>
46215
46216 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46217 * sysdeps/i386/fpu/e_powf.S: Likewise.
46218 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46219 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46221 * sysdeps/i386/fpu/e_pow.S: Likewise.
46222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46226 * sysdeps/i386/fpu/e_log2.S: Likewise.
46227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46229 * sysdeps/i386/fpu/e_powl.S: Likewise.
46230 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46233 * sysdeps/i386/fpu/e_logl.S: Likewise.
46234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46235 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46236 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46237 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46238 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46239 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46240 * sysdeps/i386/fpu/e_log.S: Likewise.
46241 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46243 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46244 * sysdeps/i386/fpu/e_logf.S: Likewise.
46245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46247 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46248 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46249 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46250 * sysdeps/i386/fpu/e_log10.S: Likewise.
46251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46256 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46257 * sysdeps/i386/asm-syntax.h: Likewise.
46258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46261 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46262 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46267 * sysdeps/powerpc/sysdep.h: Likewise.
46268 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46269 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46270
d4a54ac6
JM
462712012-02-06 Joseph Myers <joseph@codesourcery.com>
46272
46273 [BZ #411]
46274 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46275
314054ea
JM
462762012-02-06 Joseph Myers <joseph@codesourcery.com>
46277
46278 * sysdeps/i386/sysdep.h: Include <features.h>.
46279 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46280 version.
46281
d8e0ca50
JM
462822012-02-05 Joseph Myers <joseph@codesourcery.com>
46283
46284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46285 Define.
46286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46287 LOAD_PIC_REG_STR.
46288
b1da7dd9
JM
462892012-02-03 Joseph Myers <joseph@codesourcery.com>
46290
46291 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46292 (SETUP_PIC_REG): Use GET_PC_THUNK.
46293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46294 macro.
46295
9a1d9254
JM
462962012-02-03 Joseph Myers <joseph@codesourcery.com>
46297
46298 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46299 for non-PIC compilation.
46300 (SETUP_PIC_REG): Add .p2align directive.
46301 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46302 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46305 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46307 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46309 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46310 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46311 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46312 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46313 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46315 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46323 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46324 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46336 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46337 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46338 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46339 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46340 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46341 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46342
65dc3b75
JM
463432012-02-03 Joseph Myers <joseph@codesourcery.com>
46344
46345 * math/tst-CMPLX.c: Include <stdio.h>.
46346
d55bf177
JM
463472012-01-31 Joseph Myers <joseph@codesourcery.com>
46348
46349 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46350 float.
46351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46352 * sysdeps/sparc/bits/mathdef.h: Likewise.
46353
69db4f8f
MP
463542012-01-31 Marek Polacek <polacek@redhat.com>
46355
46356 * libio/libio.h: Don't define _PARAMS.
46357 * locale/programs/config.h: Don't define PARAMS.
46358 * stdlib/strtol_l.c: Likewise.
46359 (__strtol_l): Remove PARAMS from the prototype.
46360
41b81892
UD
463612012-01-31 Ulrich Drepper <drepper@gmail.com>
46362
3b49edc0
UD
46363 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46364 names. Just use the correct names. Remove unnecessary wrapper
46365 functions.
46366 * malloc/arena.c: Likewise.
46367 * malloc/hooks.c: Likewise.
46368
41b81892
UD
46369 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46370 ARENA_TEST says not to. Simplify test for creation of a new arena.
46371 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46372
27a25b6e
UD
463732012-01-30 Ulrich Drepper <drepper@gmail.com>
46374
46375 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46376 into tail calls.
46377 (update_get_addr): New function.
46378 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46379 GET_ADDR_MODULE parameter.
46380
c8a89e7d
JM
463812012-01-30 Joseph Myers <joseph@codesourcery.com>
46382
46383 * crypt/cert.c: Remove __STDC__ conditionals.
46384 * crypt/crypt-entry.c: Likewise.
46385 * crypt/crypt_util.c: Likewise.
46386 * libio/filedoalloc.c: Likewise.
46387 * libio/fileops.c: Likewise.
46388 * libio/genops.c: Likewise.
46389 * libio/iofclose.c: Likewise.
46390 * libio/iofdopen.c: Likewise.
46391 * libio/iofopen.c: Likewise.
46392 * libio/iofopen64.c: Likewise.
46393 * libio/iogetdelim.c: Likewise.
46394 * libio/iopopen.c: Likewise.
46395 * libio/obprintf.c: Likewise.
46396 * libio/oldfileops.c: Likewise.
46397 * libio/oldiofclose.c: Likewise.
46398 * libio/oldiofdopen.c: Likewise.
46399 * libio/oldiofopen.c: Likewise.
46400 * libio/oldiopopen.c: Likewise.
46401 * libio/wfiledoalloc.c: Likewise.
46402 * libio/wgenops.c: Likewise.
46403 * locale/programs/xmalloc.c: Likewise.
46404 * misc/syslog.c: Likewise.
46405 * stdio-common/xbug.c: Likewise.
46406 * string/memchr.c: Likewise.
46407 * string/memcmp.c: Likewise.
46408 * string/memrchr.c: Likewise.
46409 * string/rawmemchr.c: Likewise.
46410 * sysdeps/posix/getcwd.c: Likewise.
46411 * time/strftime_l.c: Likewise.
46412
3b100462
JM
464132012-01-30 Joseph Myers <joseph@codesourcery.com>
46414
46415 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46416 * config.make.in (config-cflags-sse2avx): Define.
46417 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46418 Fix typo.
46419
607998af
CM
464202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46421
46422 * scripts/config.guess: Update from upstream config git repository.
46423 * scripts/config.sub: Likewise.
46424
3601428f
CM
464252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46426
3ac8b282
CM
46427 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46428 (EM_NUM): Update.
46429 (R_TILEPRO_*, R_TILEGX_*): New macros.
46430
e034841e
CM
46431 * scripts/firstversions.awk: Fix bug in version range handling.
46432
540d7568
CM
46433 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46434
3601428f
CM
46435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46436
463de862
CM
46437 * include/sys/epoll.h: New file.
46438 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46439 libc_hidden_def.
46440
73139a76
UD
464412012-01-28 Ulrich Drepper <drepper@gmail.com>
46442
96bc5b45
UD
46443 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46444 Avoid unnecessary __WORDSIZE == 64 test.
46445 (fmaxf): Use VEX format if possible.
46446 (fmax): Likewise.
46447 (fminf): Likewise.
46448 (fmin): Likewise.
46449
56f6f6a2
UD
46450 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46451 * math/math_private.h: Remove libc_fegetround* and
46452 libc_fesetround*.
46453 * sysdeps/i386/configure.in: Check for -msse2avx.
46454 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46455 also if SSE2AVX is defined.
46456 Remove libc_fegetround* and libc_fesetround*.
46457 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46458 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46460 of HAS_YMM_USABLE.
46461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46466
73139a76
UD
46467 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46468
d73f93a4
AZ
464692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46470
46471 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46472 size is not set.
46473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46474
6ee65ed6
UD
464752012-01-27 Ulrich Drepper <drepper@gmail.com>
46476
46477 [BZ #13618]
46478 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46479 relocation.
46480 * Makeconfig (libm): Define.
46481 * elf/Makefile: Add rules to build and run tst-relsort1.
46482 * elf/tst-relsort1.c: New file.
46483 * elf/tst-relsort1mod1.c: New file.
46484 * elf/tst-relsort1mod2.c: New file.
46485
8db21882
JM
464862012-01-27 Joseph Myers <joseph@codesourcery.com>
46487
46488 * math/s_ldexp.c: Remove __STDC__ conditionals.
46489 * math/s_ldexpf.c: Likewise.
46490 * math/s_ldexpl.c: Likewise.
46491 * math/s_nextafter.c: Likewise.
46492 * math/s_nexttowardf.c: Likewise.
46493 * math/s_significand.c: Likewise.
46494 * math/s_significandf.c: Likewise.
46495 * math/s_significandl.c: Likewise.
46496 * math/w_jnl.c: Likewise.
46497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46503 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46506 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46507 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46529 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46531 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46533 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46537 * sysdeps/ieee754/k_standard.c: Likewise.
46538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46547 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46612 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46617 * sysdeps/ieee754/s_matherr.c: Likewise.
46618 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46619 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46622
965a54a4
JM
466232012-01-26 Joseph Myers <joseph@codesourcery.com>
46624
46625 * crypt/md5.h: Remove __STDC__ conditionals.
46626 * libio/libioP.h: Likewise.
46627 * locale/programs/config.h: Likewise.
46628 * sysdeps/generic/sysdep.h: Likewise.
46629 * sysdeps/i386/asm-syntax.h: Likewise.
46630 * sysdeps/s390/asm-syntax.h: Likewise.
46631 * sysdeps/unix/sysdep.h: Likewise.
46632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46634
7071ad79
JM
466352012-01-26 Joseph Myers <joseph@codesourcery.com>
46636
46637 * libio/libio.h: Remove __STDC__ conditionals.
46638 * malloc/obstack.h: Likewise.
46639 * math/complex.h: Likewise.
46640 * math/math.h: Likewise.
46641 * sysdeps/generic/_G_config.h: Likewise.
46642 * sysdeps/gnu/_G_config.h: Likewise.
46643 * sysdeps/mach/hurd/_G_config.h: Likewise.
46644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46646 * sysdeps/sparc/bits/mathdef.h: Likewise.
46647
afc5ed09
UD
466482012-01-26 Ulrich Drepper <drepper@gmail.com>
46649
46650 [BZ #13583]
46651 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46652 Clean up HAS_* macros.
afc5ed09 46653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46654 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46655 possible.
46656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46657 HAS_AVX.
46658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46663
bdb6de1d
JM
466642012-01-25 Joseph Myers <joseph@codesourcery.com>
46665
46666 * elf/tst-unique3.cc (gets): Remove declaration.
46667 * elf/tst-unique3lib.cc (gets): Likewise.
46668 * elf/tst-unique3lib2.cc (gets): Likewise.
46669 * elf/tst-unique4.cc (gets): Likewise.
46670
b15549e6
UD
466712012-01-24 Ulrich Drepper <drepper@gmail.com>
46672
46673 * include/stdio.h: Add C++ protection. Add gets declarations and
46674 definitions.
46675 * debug/tst-chk1.c: Don't declare gets here.
46676 * stdio-common/tst-gets.c: Likewise.
46677
a037381f
JM
466782012-01-24 Joseph Myers <joseph@codesourcery.com>
46679
46680 * posix/glob: Remove directory.
46681
f1d4aa75
JM
466822012-01-24 Joseph Myers <joseph@codesourcery.com>
46683
46684 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46685
81c0c964
PT
466862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46687
46688 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46689 of the non-standard EPFNOSUPPORT.
46690
0ea698ae
ST
466912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46692
46693 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46694 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46695 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46696
d220b117
UD
466972012-01-21 Ulrich Drepper <drepper@gmail.com>
46698
46699 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46700
3e1aa84e
UD
467012012-01-20 Ulrich Drepper <drepper@gmail.com>
46702
46703 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46704 transient errors.
46705 * nscd/grpcache.c (cache_addgr): Likewise.
46706 * nscd/hstcache.c (cache_addhst): Likewise.
46707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46708 * nscd/pwdcache.c (cache_addpw): Likewise.
46709 * nscd/servicescache.c (cache_addserv): Likewise.
46710
400aa020
UD
467112012-01-16 Ulrich Drepper <drepper@gmail.com>
46712
d77e7869
UD
46713 * malloc/malloc.c: Various cleanups.
46714 * malloc/hooks.c: Likewise.
46715
400aa020
UD
46716 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46717 * stdlib/bug-fmtmsg1.c: New file.
46718
46719 * stdlib/fmtmsg.c (init): Add missing unlock.
46720 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46721
e0a309cf
MP
467222012-01-12 Marek Polacek <polacek@redhat.com>
46723
46724 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46725 and _GNU_SOURCE.
46726
929d11c7
WS
467272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46728
46729 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46730 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46731 macro to ensure uniqueness of label name.
46732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46734
41d0e869
UD
467352012-01-11 Ulrich Drepper <drepper@gmail.com>
46736
0cc5ed3b
UD
46737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46738
41d0e869
UD
46739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46743
a47a831a
UD
467442012-01-10 Ulrich Drepper <drepper@gmail.com>
46745
daa891c0
UD
46746 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46747
46748 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46749 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46751
e58ef0f2
UD
46752 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46753
a47a831a 46754 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46758
46759 * math/bits/math-finite.h: Add ldexp support.
46760
a0bfc9c7
MP
467612012-01-10 Marek Polacek <polacek@redhat.com>
46762
46763 * locale/programs/localedef.h (show_archive_content): Add noreturn
46764 attribute.
46765
d6e97a1d
UD
467662012-01-09 Ulrich Drepper <drepper@gmail.com>
46767
46768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46769
d5835c26
UD
467702012-01-08 Ulrich Drepper <drepper@gmail.com>
46771
e5f484c6
UD
46772 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46773
d5835c26
UD
46774 * io/Makefile (headers): Add bits/poll2.h.
46775
d1f741e9
WS
467762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46777
46778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46779 typo #include statement.
46780
ec09c1c4
UD
467812012-01-08 Ulrich Drepper <drepper@gmail.com>
46782
46783 * include/sys/cdefs.h: Define __attribute_alloc_size.
46784 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46785 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46786 * elf/pldd.c: Likewise.
46787 * iconv/iconv_charmap.c: Likewise.
46788 * iconv/iconvconfig.c: Likewise.
46789 * iconv/strtab.c: Likewise.
46790 * locale/programs/locale.c: Likewise.
46791 * locale/programs/localedef.h: Likewise.
46792 * locale/programs/simple-hash.c: Likewise.
46793 * nscd/nscd.h: Likewise.
46794 * nss/makedb.c: Likewise.
46795 * sysdeps/generic/ldconfig.h: Likewise.
46796 * locale/programs/localedef.c: Remove xmalloc prototype.
46797 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46798
20b38e03
PP
467992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46800
46801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46802 appropriate.
46803
a0da5fe1
UD
468042012-01-08 Ulrich Drepper <drepper@gmail.com>
46805
1d5a644a 46806 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46807 * math/tst-CMPLX.c: New file.
1d5a644a 46808
8784a6db
UD
46809 * math/complex.h (CMPLXL): Fix typo.
46810
d9a216c0
UD
46811 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46812 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46813 GLIBC_2.16.
46814 * debug/tst-chk1.c: Add poll and ppoll tests.
46815 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46816 * include/sys/poll.h: Add hidden proto for ppoll.
46817 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46818 * sysdeps/mach/hurd/ppoll.c: Likewise.
46819 * io/ppoll.c: Likewise.
46820 * debug/poll_chk.c: New file.
46821 * debug/ppoll_chk.c: New file.
46822 * include/bits/poll2.h: New file.
46823 * io/bits/poll2.h: New file.
46824
ac097f5c
UD
46825 [BZ #1350]
46826 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46827
2119dcfa
UD
46828 * configure.in: static is always set to yes. Remove.
46829 * config.make.in: Don't set build-static.
46830 * Makeconfig: Remove use of build-static.
46831 * dlfcn/Makefile: Likewise.
46832 * elf/Makefile: Likewise.
46833 * math/Makefile: Likewise.
46834 * misc/Makefile: Likewise.
46835 * nptl/Makefile: Likewise.
46836 * sysdeps/mach/hurd/Makefile: Likewise.
46837
121766a9
UD
46838 * configure.in: PWD_P is not used anymore.
46839 * config.make.in: Remove PWD_P entry.
46840
51a1d39c 46841 * configure.in: Remove last remnants of RANLIB.
8720d066 46842 No need to check for signed size_t anymore.
215f4bdc
UD
46843 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46844 and IA-64.
3857022a 46845 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46846 * aclocal.m4: Likewise.
46847
d3ed7225
UD
46848 * wcsmbs/mbrtoc16.c: Implement using towc function.
46849 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46850 * wcsmbs/wcsmbsload.c: Likewise.
46851 * iconv/gconv_simple.c: Likewise.
46852 * iconv/gconv_int.h: Likewise.
46853 * iconv/gconv_builtin.h: Likewise.
46854 * iconv/iconv_prog.c: Remove CHAR16 handling.
46855
46856 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46857
46858 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46859
a0da5fe1
UD
46860 * configure.in: Remove --with-elf and --enable-bounded options.
46861 Dont set base_machine for ia64. More non-ELF conditions removed.
46862 Remove testing and setting of leading underscore information.
46863 * config.make.in (build-bounded): Set to no.
46864 * config.h.in: Remove NO_UNDERSCORES entry.
46865 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46866 them.
46867 * csu/start.c: Remove !NO_UNDERSCORE code.
46868 * locale/localeinfo.h: Likewise.
46869 * sysdeps/generic/machine-gmon.h: Likewise.
46870 * sysdeps/generic/sysdep.h: Likewise.
46871 * sysdeps/i386/sysdep.h: Likewise.
46872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46873 * sysdeps/mach/sysdep.h: Likewise.
46874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46876 * sysdeps/sh/sysdep.h: Likewise.
46877 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46878 * sysdeps/unix/i386/sysdep.S: Likewise.
46879 * sysdeps/unix/sparc/start.c: Likewise.
46880 * sysdeps/unix/sparc/sysdep.S: Likewise.
46881 * sysdeps/unix/sparc/sysdep.h: Likewise.
46882 * sysdeps/unix/start.c: Likewise.
46883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46884 * sysdeps/x86_64/sysdep.h: Likewise.
46885
df78418a
UD
468862012-01-07 Ulrich Drepper <drepper@gmail.com>
46887
a784e502
UD
46888 [BZ #13553]
46889 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46890 for non-gcc.
46891 * argp/argp-fmtstream.h: Use const instead __const.
46892 * argp/argp.h: Likewise.
46893 * assert/assert.h: Likewise.
46894 * bits/fenv.h: Likewise.
46895 * bits/sched.h: Likewise.
46896 * bits/sigset.h: Likewise.
46897 * bits/sigthread.h: Likewise.
46898 * catgets/nl_types.h: Likewise.
46899 * conform/data/pthread.h-data: Likewise.
46900 * crypt/crypt-private.h: Likewise.
46901 * crypt/crypt.h: Likewise.
46902 * crypt/crypt_util.c: Likewise.
46903 * ctype/ctype.h: Likewise.
46904 * debug/execinfo.h: Likewise.
46905 * debug/mbsnrtowcs_chk.c: Likewise.
46906 * debug/mbsrtowcs_chk.c: Likewise.
46907 * debug/wcsnrtombs_chk.c: Likewise.
46908 * debug/wcsrtombs_chk.c: Likewise.
46909 * debug/wcstombs_chk.c: Likewise.
46910 * dirent/dirent.h: Likewise.
46911 * dlfcn/dlfcn.h: Likewise.
46912 * elf/neededtest4.c: Likewise.
46913 * grp/grp.h: Likewise.
46914 * gshadow/gshadow.h: Likewise.
46915 * iconv/gconv.h: Likewise.
46916 * iconv/gconv_int.h: Likewise.
46917 * iconv/gconv_simple.c: Likewise.
46918 * iconv/iconv.h: Likewise.
46919 * iconv/loop.c: Likewise.
46920 * iconv/skeleton.c: Likewise.
46921 * include/aio.h: Likewise.
46922 * include/aliases.h: Likewise.
46923 * include/argz.h: Likewise.
46924 * include/arpa/inet.h: Likewise.
46925 * include/assert.h: Likewise.
46926 * include/dirent.h: Likewise.
46927 * include/dlfcn.h: Likewise.
46928 * include/execinfo.h: Likewise.
46929 * include/fcntl.h: Likewise.
46930 * include/fenv.h: Likewise.
46931 * include/glob.h: Likewise.
46932 * include/grp.h: Likewise.
46933 * include/libintl.h: Likewise.
46934 * include/mntent.h: Likewise.
46935 * include/netdb.h: Likewise.
46936 * include/pwd.h: Likewise.
46937 * include/rpc/netdb.h: Likewise.
46938 * include/sched.h: Likewise.
46939 * include/search.h: Likewise.
46940 * include/shadow.h: Likewise.
46941 * include/signal.h: Likewise.
46942 * include/stdio.h: Likewise.
46943 * include/stdlib.h: Likewise.
46944 * include/string.h: Likewise.
46945 * include/sys/socket.h: Likewise.
46946 * include/sys/stat.h: Likewise.
46947 * include/sys/statfs.h: Likewise.
46948 * include/sys/statvfs.h: Likewise.
46949 * include/sys/syslog.h: Likewise.
46950 * include/sys/time.h: Likewise.
46951 * include/sys/uio.h: Likewise.
46952 * include/time.h: Likewise.
46953 * include/unistd.h: Likewise.
46954 * include/utmp.h: Likewise.
46955 * include/wchar.h: Likewise.
46956 * include/wctype.h: Likewise.
46957 * inet/aliases.h: Likewise.
46958 * inet/arpa/inet.h: Likewise.
46959 * inet/netinet/ether.h: Likewise.
46960 * inet/netinet/in.h: Likewise.
46961 * intl/libintl.h: Likewise.
46962 * io/bits/fcntl2.h: Likewise.
46963 * io/fcntl.h: Likewise.
46964 * io/ftw.h: Likewise.
46965 * io/sys/poll.h: Likewise.
46966 * io/sys/stat.h: Likewise.
46967 * io/sys/statfs.h: Likewise.
46968 * io/sys/statvfs.h: Likewise.
46969 * io/utime.h: Likewise.
46970 * libio/bits/stdio.h: Likewise.
46971 * libio/bits/stdio2.h: Likewise.
46972 * libio/libio.h: Likewise.
46973 * libio/libioP.h: Likewise.
46974 * libio/stdio.h: Likewise.
46975 * locale/lc-ctype.c: Likewise.
46976 * locale/locale.h: Likewise.
46977 * login/utmp.h: Likewise.
46978 * malloc/arena.c: Likewise.
46979 * malloc/malloc.c: Likewise.
46980 * malloc/malloc.h: Likewise.
46981 * malloc/mcheck.c: Likewise.
46982 * malloc/mtrace.c: Likewise.
46983 * math/bits/mathcalls.h: Likewise.
46984 * math/fenv.h: Likewise.
46985 * math/math_private.h: Likewise.
46986 * misc/bits/error.h: Likewise.
46987 * misc/bits/syslog.h: Likewise.
46988 * misc/err.h: Likewise.
46989 * misc/error.h: Likewise.
46990 * misc/fstab.h: Likewise.
46991 * misc/mntent.h: Likewise.
46992 * misc/regexp.h: Likewise.
46993 * misc/search.h: Likewise.
46994 * misc/sgtty.h: Likewise.
46995 * misc/sys/mman.h: Likewise.
46996 * misc/sys/syslog.h: Likewise.
46997 * misc/sys/uio.h: Likewise.
46998 * misc/sys/xattr.h: Likewise.
46999 * misc/ttyent.h: Likewise.
47000 * nis/rpcsvc/ypclnt.h: Likewise.
47001 * nss/nss.h: Likewise.
47002 * posix/bits/unistd.h: Likewise.
47003 * posix/fnmatch.h: Likewise.
47004 * posix/glob.h: Likewise.
47005 * posix/sched.h: Likewise.
47006 * posix/spawn.h: Likewise.
47007 * posix/sys/wait.h: Likewise.
47008 * posix/unistd.h: Likewise.
47009 * posix/wordexp.h: Likewise.
47010 * pwd/pwd.h: Likewise.
47011 * resolv/netdb.h: Likewise.
47012 * resource/sys/resource.h: Likewise.
47013 * rt/aio.h: Likewise.
47014 * rt/bits/mqueue2.h: Likewise.
47015 * rt/mqueue.h: Likewise.
47016 * shadow/shadow.h: Likewise.
47017 * signal/signal.h: Likewise.
47018 * socket/send.c: Likewise.
47019 * socket/sendto.c: Likewise.
47020 * socket/sys/socket.h: Likewise.
47021 * stdio-common/printf.h: Likewise.
47022 * stdlib/bits/stdlib.h: Likewise.
47023 * stdlib/fmtmsg.h: Likewise.
47024 * stdlib/monetary.h: Likewise.
47025 * stdlib/stdlib.h: Likewise.
47026 * stdlib/ucontext.h: Likewise.
47027 * streams/stropts.h: Likewise.
47028 * string/argz.h: Likewise.
47029 * string/bits/string2.h: Likewise.
47030 * string/string.h: Likewise.
47031 * string/strings.h: Likewise.
47032 * sunrpc/rpc/auth.h: Likewise.
47033 * sunrpc/rpc/auth_des.h: Likewise.
47034 * sunrpc/rpc/clnt.h: Likewise.
47035 * sunrpc/rpc/netdb.h: Likewise.
47036 * sunrpc/rpc/pmap_clnt.h: Likewise.
47037 * sunrpc/rpc/xdr.h: Likewise.
47038 * sysdeps/generic/inttypes.h: Likewise.
47039 * sysdeps/generic/net/if.h: Likewise.
47040 * sysdeps/generic/sys/swap.h: Likewise.
47041 * sysdeps/gnu/net/if.h: Likewise.
47042 * sysdeps/gnu/utmpx.h: Likewise.
47043 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47044 * sysdeps/i386/i486/bits/string.h: Likewise.
47045 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47046 * sysdeps/s390/bits/string.h: Likewise.
47047 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47048 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47049 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47050 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47051 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47052 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47053 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47055 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47056 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47057 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47059 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47060 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47061 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47062 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47063 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47069 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47070 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47071 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47072 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47074 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47075 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47076 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47077 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47078 * sysvipc/sys/ipc.h: Likewise.
47079 * sysvipc/sys/msg.h: Likewise.
47080 * sysvipc/sys/sem.h: Likewise.
47081 * sysvipc/sys/shm.h: Likewise.
47082 * termios/termios.h: Likewise.
47083 * time/sys/time.h: Likewise.
47084 * time/time.h: Likewise.
47085 * wcsmbs/bits/wchar2.h: Likewise.
47086 * wcsmbs/uchar.h: Likewise.
47087 * wcsmbs/wchar.h: Likewise.
47088 * wctype/wctype.h: Likewise.
47089
0269750c
UD
47090 [BZ #13551]
47091 * Makeconfig: Remove all but ELF support including AIX support.
47092 * Makerules: Likewise.
47093 * config.h.in: Likewise.
47094 * config.make.in: Likewise.
47095 * configure: Likewise.
47096 * configure.in: Likewise.
47097 * csu/Makefile: Likewise.
47098 * csu/version.c: Likewise.
47099 * debug/Makefile: Likewise.
47100 * dlfcn/Makefile: Likewise.
47101 * elf/Makefile: Likewise.
47102 * extra-lib.mk: Likewise.
47103 * iconv/Makefile: Likewise.
47104 * include/libc-symbols.h: Likewise.
47105 * include/shlib-compat.h: Likewise.
47106 * resolv/Makefile: Likewise.
47107 * resolv/res_libc.c: Likewise.
47108 * rt/Makefile: Likewise.
47109 * sysdeps/i386/asm-syntax.h: Likewise.
47110 * sysdeps/i386/sysdep.h: Likewise.
47111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47112 * sysdeps/mach/sysdep.h: Likewise.
47113 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47114 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47115 * sysdeps/s390/asm-syntax.h: Likewise.
47116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47118 * sysdeps/sh/sysdep.h: Likewise.
47119 * sysdeps/unix/sparc/sysdep.h: Likewise.
47120 * sysdeps/wordsize-32/divdi3.c: Likewise.
47121 * sysdeps/x86_64/sysdep.h: Likewise.
47122
00bbd29b
UD
47123 * argp/Versions: Remove _argp_unlock_xxx.
47124
47125 [BZ #13559]
47126 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47127 * abilist/libBrokenLocale.abilist: Likewise.
47128 * abilist/libanl.abilist: Likewise.
47129 * abilist/libc.abilist: Likewise.
47130 * abilist/libcrypt.abilist: Likewise.
47131 * abilist/libdl.abilist: Likewise.
47132 * abilist/libm.abilist: Likewise.
47133 * abilist/libnsl.abilist: Likewise.
47134 * abilist/libpthread.abilist: Likewise.
47135 * abilist/libresolv.abilist: Likewise.
47136 * abilist/librt.abilist: Likewise.
47137 * abilist/libthread_db.abilist: Likewise.
47138 * abilist/libutil.abilist: Likewise.
47139 * abilist/libnss_db.abilist: New file.
47140
47141 * scripts/abilist.awk: Add support for indirect functions.
47142
a2693a0e
UD
47143 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47144
3f05895f
UD
47145 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47146
ecb6fb48
UD
47147 * shlib-versions: Remove entries for ports architectures.
47148
664f8cb9
UD
47149 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47150 files in ports.
47151 * elf/stackguard-macros.h: Remove support for IA-64.
47152 * elf/tst-auditmod1.c: Likewise.
47153 * sysdeps/generic/ldsodefs.h: Likewise.
47154
7ae81d88
UD
47155 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47156 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47157 configure files.
47158
bdeba135
UD
47159 [BZ #13552]
47160 * configure.in: Remove --enable-omitfp support.
47161 * FAQ.in: Adjust.
47162 * config.make.in: Likewise.
47163 * Makeconfig: Likewise.
47164 * manual/install.texi: Likewise.
47165
d75a0a62
UD
47166 In case anyone cares, the IA-64 architecture could move to ports.
47167 * sysdeps/ia64/*: Removed.
47168 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47169 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47170
dcc9756b
UD
47171 [BZ #13555]
47172 * configure.in: Remove entries for unsupported architectures.
47173
d3761ebc 47174 [BZ #13533]
9954432e
UD
47175 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47176 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47177 routines.
47178 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47179 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47180 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47181 fall back to using wcrtomb.
47182 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47183 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47184 renaming.
47185 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47186 * wcsmbs/tst-c16c32-1.c: New file.
47187
47188 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47189 local variable.
47190
c3a87236
UD
47191 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47192
28926a1b
UD
47193 * elf/tst-unique3.cc: Add explicit declaration of gets.
47194 * elf/tst-unique3lib.cc: Likewise.
47195 * elf/tst-unique3lib2.cc: Likewise.
47196 * elf/tst-unique4.cc: Likewise.
47197
df78418a
UD
47198 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47199
8ecd6b2a
JM
472002012-01-06 Joseph Myers <joseph@codesourcery.com>
47201
47202 [BZ #13566]
47203 * assert/assert.h (static_assert): Don't define for C++.
47204 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47205 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47206
9f115170
UD
472072012-01-03 Ulrich Drepper <drepper@gmail.com>
47208
5e0d0300
UD
47209 * iconv/loop.c (single loop): Fix assertion in storing of
47210 remaining bytes.
47211
9f115170
UD
47212 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47213
81fb02b0
UD
472142012-01-01 Ulrich Drepper <drepper@gmail.com>
47215
47216 * posix/getconf.c: Update copyright year.
47217 * nss/getent.c: Likewise.
a316c1f6 47218 * nss/makedb.c: Likewise.
81fb02b0
UD
47219 * iconv/iconvconfig.c: Likewise.
47220 * iconv/iconv_prog.c: Likewise.
47221 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47222 * elf/pldd.c: Likewise.
47223 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47224 * catgets/gencat.c: Likewise.
47225 * csu/version.c: Likewise.
47226 * elf/ldd.bash.in: Likewise.
47227 * elf/sprof.c (print_version): Likewise.
47228 * locale/programs/locale.c: Likewise.
47229 * locale/programs/localedef.c: Likewise.
a316c1f6 47230 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47231 * nscd/nscd.c (print_version): Likewise.
47232 * debug/xtrace.sh: Likewise.
47233 * malloc/memusage.sh: Likewise.
47234 * malloc/mtrace.pl: Likewise.
47235 * debug/catchsegv.sh: Likewise.
47236
2ba92745
JJ
472372011-12-30 Jakub Jelinek <jakub@redhat.com>
47238
47239 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47240 pure attribute.
47241
dadebdae
UD
472422011-12-24 Ulrich Drepper <drepper@gmail.com>
47243
d3761ebc 47244 [BZ #13533]
db6af3eb
UD
47245 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47246 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47247 transformations.
47248 * iconv/gconv_int.h: Likewise.
47249 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47250 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47251 from libc for GLIBC_2.16.
47252 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47253 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47254 * wcsmbs/uchar.h: Really define mbstate_t.
47255 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47256 * wcsmbs/c16rtomb.c: New file.
47257 * wcsmbs/mbrtoc16.c: New file.
47258 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47259 for C/POSIX locale.
47260 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47261 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47262
dadebdae
UD
47263 * wcsmbs/wchar.h: Add missing __restrict.
47264
67371b56
UD
472652011-12-23 Ulrich Drepper <drepper@gmail.com>
47266
74033a25
UD
47267 [BZ #13532]
47268 * time/Makefile (routines): Add timespec_get.
47269 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47270 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47271 timespec for ISO C11.
47272 * time/timespec_get.c: New file.
47273 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47275
380d7e87
UD
47276 [BZ #13531]
47277 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47278 * stdlib/stdlib.h: Declare aligned_alloc.
47279 * Versions.def: Add GLIBC_2.16 for libc.
47280 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47281
4e9e7a35
UD
47282 [BZ 13527]
47283 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47284 ISO C11.
47285
380d7e87 47286 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47287 code.
47288
03a71829
UD
47289 [BZ #13528]
47290 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47291
839e283e
UD
47292 [BZ #13529]
47293 * assert/assert.h (static_assert): Define.
47294
ce5294e2 47295 * version.h: Update for 2.16 development version.
90fa7312 47296
8d44e150 47297 [BZ #13526]
d7809905
UD
47298 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47299 _ISOC11_SOURCE.
47300
c0da14cd
UD
47301 * version.h (RELEASE): Bump for 2.15 release.
47302 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47303
530a3249
MP
47304 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47305 Patch by Marek Polacek <mpolacek@redhat.com>.
47306
67371b56
UD
47307 * bits/byteswap.h: Protect long long constants with __extension__.
47308 * sysdeps/i386/bits/byteswap.h: Likewise.
47309 * sysdeps/ia64/bits/byteswap.h: Likewise.
47310 * sysdeps/s390/bits/byteswap.h: Likewise.
47311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47312
15db4de1
LD
473132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47314
47315 [BZ #13540]
bbe315ea
LD
47316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47317 destination buffer.
15db4de1
LD
47318 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47319
2b2596b1
MP
473202011-12-23 Marek Polacek <polacek@redhat.com>
47321
47322 * elf/dl-addr.c (determine_info): Add inline keyword.
47323 * elf/tst-auditmod4b.c (check_avx): Likewise.
47324 * elf/tst-auditmod6b.c (check_avx): Likewise.
47325 * elf/tst-auditmod6c.c (check_avx): Likewise.
47326 * elf/tst-auditmod7b.c (check_avx): Likewise.
47327
70c6c246
UD
473282011-12-23 Ulrich Drepper <drepper@gmail.com>
47329
47330 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47331 !__SSE_MATH__.
47332
c044cf14
LD
473332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47334
15db4de1 47335 [BZ #13540]
c044cf14
LD
47336 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47337 processing for last bytes.
47338
6b13d9d9
BH
473392011-08-06 Bruno Haible <bruno@clisp.org>
47340
d455f537
BH
47341 [BZ #13061]
47342 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47343 U+0385, not to U+1FEE.
47344
6b13d9d9
BH
47345 [BZ #13062]
47346 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47347 entry for U+00A5 U+0301.
47348
db910efd
UD
473492011-12-22 Ulrich Drepper <drepper@gmail.com>
47350
27deeafc
UD
47351 [BZ #13166]
47352 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47353 buffer for the output is too small.
47354
aed9d171
UD
47355 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47356 optimization.
47357
db910efd
UD
47358 [BZ #13185]
47359 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47360 SSE flags if possible.
47361
2bd779ae
LD
473622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47363
e7f9dac3 47364 [BZ #13540]
2bd779ae
LD
47365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47366 processing for last bytes.
47367
154bfc16
JM
473682011-12-22 Joseph Myers <joseph@codesourcery.com>
47369
47370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47371 (syscall-list-default-options, syscall-list-default-condition)
47372 (syscall-list-includes): Define.
47373 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47374 list of ABIs and options and #if conditions for each ABI. Do not
47375 handle common syscalls between ABIs specially.
47376 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47377 Remove.
47378 (syscall-list-variants, syscall-list-32bit-options)
47379 (syscall-list-32bit-condition, syscall-list-64bit-options)
47380 (syscall-list-64bit-condition): Define.
47381 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47382 (syscall-list-variants, syscall-list-32bit-options)
47383 (syscall-list-32bit-condition, syscall-list-64bit-options)
47384 (syscall-list-64bit-condition): Define.
47385 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47386 Remove.
47387 (syscall-list-variants, syscall-list-32bit-options)
47388 (syscall-list-32bit-condition, syscall-list-64bit-options)
47389 (syscall-list-64bit-condition): Define.
47390 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47391 Remove.
47392 (syscall-list-variants, syscall-list-32bit-options)
47393 (syscall-list-32bit-condition, syscall-list-64bit-options)
47394 (syscall-list-64bit-condition): Define.
47395
21eaf3a5
UD
473962011-12-22 Ulrich Drepper <drepper@gmail.com>
47397
16c6f992
UD
47398 * locale/iso-639.def: Add brx entry.
47399
41043168
UD
47400 [BZ #13328]
47401 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47402 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47403
21eaf3a5
UD
47404 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47405 __feraiseexcept_renamed.
47406
e3a851a2
UD
474072011-12-21 Ulrich Drepper <drepper@gmail.com>
47408
4920765e
UD
47409 [BZ #13538]
47410 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47411 EPOLLET with unsigned values.
47412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47414
e3a851a2
UD
47415 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47416 to large cancellation.
47417 * math/s_cacoshf.c: Likewise.
47418 * math/s_cacoshl.c: Likewise.
47419
b27e24b8
RK
474202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47421
47422 [BZ #13305]
aebefeee 47423 [BZ #12786]
b27e24b8
RK
47424 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47425 * math/s_cacoshf.c: Likewise.
47426 * math/s_cacoshl.c: Likewise.
47427
ee190f67
UD
474282011-12-21 Ulrich Drepper <drepper@gmail.com>
47429
47430 [BZ #13439]
47431 * iconv/gconv.h: Define __GCONV_SWAP.
47432 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47433 * iconvdata/utf-16.c: Likewise.
47434 * iconvdata/utf-32.c: Likewise.
47435
707f25df
AS
474362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47437
47438 [BZ #13524]
47439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47440 numerator after shifting it by one limb.
47441
d2daaa1e
RÁE
474422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47443
47444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47445 under [__USE_EXTERN_INLINES].
47446
a4647e72
UD
474472011-12-17 Ulrich Drepper <drepper@gmail.com>
47448
47449 [BZ #13446]
47450 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47451
f0b264f1
AZ
474522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47453
47454 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47455 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47456 optimized code.
47457 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47459 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47460 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47461 for strncasecmp/strncasecmp_l compilation.
47462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47463 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47464
8ef4f244
MP
474652011-12-08 Marek Polacek <mpolacek@redhat.com>
47466
47467 [BZ #13484]
47468 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47469 of __asm__.
47470
97ac2654
UD
474712011-12-17 Ulrich Drepper <drepper@gmail.com>
47472
47473 [BZ #13506]
47474 * time/tzfile.c (__tzfile_read): Check values from file header.
47475
91d2a845
WS
474762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47477
47478 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47479 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47480 * powerpc/powerpc32/dl-start.S: Likewise.
47481 * powerpc/powerpc32/elf/start.S: Likewise.
47482 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47483 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47484 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47485 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47486 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47487 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47488 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47489 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47490 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47491 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47492 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47493 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47494 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47495 * powerpc/powerpc32/memset.S: Likewise.
47496 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47497 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47498 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47499 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47500 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47501 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47502 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47503 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47504 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47505 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47509
a1267ba1
AZ
475102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47511
47512 * math/libm-test.inc: Added more nearbyint tests.
47513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47517
ad8ac1bd
RL
475182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47519
47520 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47521 FD_CLOEXEC.
47522
1d3e4b61
UD
475232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47524
47525 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47526 Add wcscpy-ssse3 wcscpy-c.
47527 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47528 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47529 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47530 * sysdeps/x86_64/wcschr.S: New file.
47531 * sysdeps/x86_64/wcsrchr.S: New file.
47532 * string/test-strcmp.c: Remove checking of wcscmp function for
47533 wrong alignments.
47534 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47535 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47536 wcsrchr-sse2 wcsrchr-c.
47537 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47538 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47539 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47540 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47541 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47542 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47543 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47544 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47545 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47546 * wcsmbc/wcschr.c (WCSCHR): New macro.
47547
5b330a2d
UD
475482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47549
47550 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47551 * wcsmbs/test-wcsrchr.c: New file.
47552 * string/test-strrchr.c: Add wcsrchr support.
47553 (WIDE): New macro.
47554 * wcsmbs/test-wcscpy.c: New file.
47555 * string/test-strcpy.c: Add wcscpy support.
47556 (WIDE): New macro.
26428b7c 47557
f039c043
UD
475582011-12-10 Ulrich Drepper <drepper@gmail.com>
47559
47560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47561 the inner loop.
47562
850fb039
AS
475632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47564
47565 [BZ #13472]
47566 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47567
4efbd5cb
UD
475682011-12-04 Ulrich Drepper <drepper@gmail.com>
47569
52ff5dd0 47570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47571 Minor optimizations.
52ff5dd0 47572
4efbd5cb
UD
47573 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47574 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47575 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47576
8a426e12
UD
475772011-12-03 Ulrich Drepper <drepper@gmail.com>
47578
aff2453d
UD
47579 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47580 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47581 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47582 for gcc to avoid warnings.
47583 * inet/Makefile (tests): Add tst-checks.
47584 * inet/tst-checks.c: New file.
47585
47586 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47587 warning.
47588
47589 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47590 __wmemcmp_sse2.
47591
47592 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47593 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47594
8a426e12
UD
47595 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47596
9bea3473
UD
475972011-12-02 Ulrich Drepper <drepper@gmail.com>
47598
3a965496
UD
47599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47600 problem.
47601
9bea3473
UD
47602 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47603
f101631b
UD
476042011-11-29 Joseph Myers <joseph@codesourcery.com>
47605
47606 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47607 conditional on GCC version.
47608 (__arch_compare_and_exchange_val_8_acq)
47609 (__arch_compare_and_exchange_val_16_acq)
47610 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47611 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47612 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47613
a98275aa
UD
476142011-12-02 Joseph Myers <joseph@codesourcery.com>
47615
47616 * sysdeps/sh/backtrace.c: New file.
47617
d4cc29a2
AS
476182011-12-02 Andreas Schwab <schwab@redhat.com>
47619
47620 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47621 parenthesis.
47622
6257af2d
AS
476232011-12-01 Andreas Schwab <schwab@redhat.com>
47624
47625 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47626 falling back to utime.
47627
b5f44c1a
AS
476282011-11-30 Andreas Schwab <schwab@redhat.com>
47629
47630 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47631 expectations for float.
47632
f3a6cc0a
AS
476332011-11-29 Andreas Schwab <schwab@redhat.com>
47634
47635 * locale/weight.h (findidx): Add parameter len.
47636 * locale/weightwc.h (findidx): Likewise.
47637 * posix/fnmatch_loop.c (FCT): Adjust caller.
47638 * posix/regcomp.c (build_equiv_class): Likewise.
47639 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47640 * posix/regexec.c (check_node_accept_bytes): Likewise.
47641 * string/strcoll_l.c (STRCOLL): Likewise.
47642 * string/strxfrm_l.c (STRXFRM): Likewise.
47643
9d65ea3a
UD
476442011-11-17 Ulrich Drepper <drepper@gmail.com>
47645
47646 * Makefile.in: Remove CVSOPT handling.
47647 * configure.in: Remove use of AC_REVISION.
47648 * iconvdata/Makefile (distribute): No need to filter out CVS.
47649 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47650 handling.
47651
5583a086
AS
476522011-11-16 Andreas Schwab <schwab@redhat.com>
47653
47654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47655 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47656 [USE_AS_STRNCASECMP_L]: Likewise.
47657 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47658 NO_TLS_DIRECT_SEG_REFS.
47659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47660 Fix argument offsets for non-PIC.
47661 [USE_AS_STRNCASECMP_L]: Likewise.
47662 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47663 NO_TLS_DIRECT_SEG_REFS.
47664
d62a8200
UD
476652011-11-15 Ulrich Drepper <drepper@gmail.com>
47666
9d65ea3a 47667 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47668 O_CLOEXEC.
47669 * locale/loadlocale.c (_nl_load_locale): Likewise.
47670
09f93bd3
AS
476712011-11-15 Andreas Schwab <schwab@redhat.com>
47672
446514f9
AS
47673 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47674 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47676 (SYSCALL_GETTIME): Set errno on error.
47677
09f93bd3
AS
47678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47679 count references to noai6ai_cached.
47680
312be3f9
UD
476812011-11-15 Ulrich Drepper <drepper@gmail.com>
47682
47683 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47684
47685 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47686 FD_CLOEXEC for /proc/self/maps.
47687
47688 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47689 FD_CLOEXEC for /proc/meminfo.
47690
47691 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47692 gai.conf.
47693
47694 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47695 FD_CLOEXEC for given file.
47696
47697 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47698
47699 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47700 FD_CLOEXEC for /etc/hosts.
47701 (_gethtent): Likewise.
47702
47703 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47704
47705 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47706 cancellation and set FD_CLOEXEC for /etc/netgroup.
47707
47708 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47709 reading /etc/publickey.
47710
47711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47712 allow cancellation when reading /etc/group.
47713
47714 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47715 cancellation.
47716 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47717
47718 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47719 when using data file.
47720
47721 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47722
47723 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47724 (write_nis_obj): Use "c" and "e" in fopen.
47725
47726 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47727
47728 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47729
47730 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47731
47732 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47733
47734 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47735 locale.alias.
47736
47737 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47738
47739 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47740
47741 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47742
47743 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47744 file parsing and set FD_CLOEXEC.
47745
82af0fa8
UD
477462011-11-14 Ulrich Drepper <drepper@gmail.com>
47747
47748 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47749
a5fb313c
AS
477502011-11-14 Andreas Schwab <schwab@redhat.com>
47751
47752 * malloc/arena.c (arena_get2): Don't call reused_arena when
47753 _int_new_arena failed.
47754
6abf3465
UD
477552011-11-14 Ulrich Drepper <drepper@gmail.com>
47756
47757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47758 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47759 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47763 to compile strcasecmp and strncasecmp.
47764 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47765 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47766
47767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47768
76e3966e
UD
477692011-11-13 Ulrich Drepper <drepper@gmail.com>
47770
47771 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47772 locale-defines.sym to gen-as-const-headers.
47773 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47774 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47776 to compile strcasecmp and strncasecmp.
47777 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47778 strcasecmp_l and strncasecmp_l.
47779 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47780 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47781 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47783 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47785 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47786 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47787 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47788 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47789 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47790
ab26144e
UD
477912011-11-12 Ulrich Drepper <drepper@gmail.com>
47792
7edb22ef
UD
47793 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47794 result of SYSDEP_GETTIME_CPU to retval.
47795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47796 parameter list to macro. Remove trailing semicolon. Adjust users.
47797
9694fc44
UD
47798 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47799 variable.
47800
8ad89ef8
UD
47801 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47802 mantissa words.
47803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47804
0c822ef9
UD
47805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47806 from unused variable.
47807
874e0564
UD
47808 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47809 DWARF definitions.
47810 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47811 for assembling.
47812
3a2edc79
UD
47813 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47814 over namespaces.
47815
f3c2577f
UD
47816 * sunrpc/rpc_prot.c (rejected): Fix case value.
47817
294ce126
UD
47818 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47819 unsigned long long int to avoid warnings in shift.
47820
5e2b63c6
UD
47821 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47822 of use of trans.
47823 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47824 variable tmp.
47825
e7f4b08e
UD
47826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47827 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47828 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47829
ab26144e
UD
47830 * nis/nis_table.c (nis_list): Use variable of correct type for
47831 result of __follow_path call.
47832
8a6d5255
AZ
478332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47834
47835 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47836 of math functions ceil, trunc, floor, round, and sqrt, when
47837 avaliable on the platform.
47838 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47839 name clash.
47840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47843
aaddc98c
MP
478442011-10-30 Marek Polacek <mpolacek@redhat.com>
47845
47846 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47848
95b7042b
RM
478492011-11-11 Roland McGrath <roland@hack.frob.com>
47850
47851 * include/unistd.h: Fix __readlink return type.
47852 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47853
57769839
UD
478542011-11-11 Ulrich Drepper <drepper@gmail.com>
47855
47856 * stdlib/ucontext.h: Undo last change for makecontext.
47857
edc5984d
AS
478582011-11-11 Andreas Schwab <schwab@redhat.com>
47859
98591e58
AS
47860 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47861
edc5984d
AS
47862 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47863 * setjmp/setjmp.h: Mark functions as non-leaf.
47864 * setjmp/bits/setjmp2.h: Likewise.
47865 * stdlib/ucontext.h: Likewise.
47866
77cdc054
AS
478672011-11-10 Andreas Schwab <schwab@redhat.com>
47868
47869 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47870 (reused_arena): Don't check arena limit.
47871 (arena_get2): Atomically check arena limit.
47872
fe72eebd
UD
478732011-11-08 Ulrich Drepper <drepper@gmail.com>
47874
5f078c32
UD
47875 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47876 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47877
fe72eebd
UD
47878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47879 instructions.
47880
ae1bc2fa
AS
478812011-11-07 Andreas Schwab <schwab@redhat.com>
47882
7583a88d
AS
47883 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47884 handler when locking.
47885
ae1bc2fa
AS
47886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47887 Fix size of allocated buffer.
47888
10fb0bfa
AS
478892011-11-04 Andreas Schwab <schwab@redhat.com>
47890
998832a4
AS
47891 [BZ #10103]
47892 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47893 declarations for long double functions.
47894 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47895
10fb0bfa
AS
47896 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47897
3d7ba52b
AS
478982011-11-03 Andreas Schwab <schwab@redhat.com>
47899
a9ae54a1
AS
47900 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47901 installed.
47902
3d7ba52b
AS
47903 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47904 is disabled.
47905
bc8db248
ST
479062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47907
47908 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47909
45b96dd6
AS
479102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47911
647776f6
AS
47912 * include/alloca.h (stackinfo_alloca_round): Define.
47913 (extend_alloca): Use it.
47914 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47915 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47916 here.
47917
d91a8b93
AS
47918 * scripts/check-local-headers.sh: Ignore libaudit.h.
47919
45b96dd6
AS
47920 * nscd/Makefile (extra-objs): Make recursively expanded.
47921
432d41ce
UD
479222011-11-01 Ulrich Drepper <drepper@gmail.com>
47923
34372fc6
UD
47924 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47926
fadb59f8
UD
47927 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47928 * posix/tst-rfc3484-2.c: Likewise.
47929 * posix/tst-rfc3484-3.c: Likewise.
47930
78239589
UD
47931 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47932 process_vm_writev.
47933 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47934 process_vm_writev.
47935 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47936 process_vm_writev from libc using GLIBC_2.15 version.
47937
432d41ce
UD
47938 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47939
02f9c6cf
PP
479402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47941
47942 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47943 stack usage.
47944
3a2c0242
UD
479452011-10-31 Ulrich Drepper <drepper@gmail.com>
47946
f4ec4833
UD
47947 [BZ #13367]
47948 * nss/getent.c (initgroups_keys): Show error message in case no group
47949 names are given.
47950
3a2c0242
UD
47951 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47952 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47953 __bump_nl_timestamp.
47954 * nscd/connections (nscd_init): When host database is served open
47955 netlink socket and request notification about configuration changes.
47956 (main_loop_poll): Track netlink file descriptor and bump timestamp
47957 in case data becomes available.
47958 (main_loop_epoll): Likewise.
47959 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47960 (database_pers_head): Add extra_data fileds.
47961 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47962 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47963 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47964 Adjust caller.
47965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47966 in6ai data, call __free_in6ai.
47967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47968 Add -DHAVE_NETLINK.
47969 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47970 interface information. Reuse previous data if netlink timestamp
47971 is not changed.
47972 (__bump_nl_timestamp): New function.
47973 (__free_in6ai): New function.
47974
636064eb
UD
479752011-10-30 Ulrich Drepper <drepper@gmail.com>
47976
47977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47978 close_not_cancel_no_status here.
47979 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47980
9beb2334
UD
479812011-10-29 Ulrich Drepper <drepper@gmail.com>
47982
6ef76f3b
UD
47983 [BZ #13276]
47984 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47985 return value.
47986
0ffc4f3e 47987 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47988 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47989 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47990
cb95113e
UD
479912011-07-03 Andreas Jaeger <aj@suse.de>
47992
47993 [BZ #10709]
47994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47995 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47996 * math/libm-test.inc (sin_test): Add test case.
47997
a1b560ff
UD
479982011-10-29 Ulrich Drepper <drepper@gmail.com>
47999
c9aaface
UD
48000 [BZ #13337]
48001 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48003
d272e7f1
UD
48004 * elf/chroot_canon.c (chroot_canon): Cleanups.
48005
1bc33071
UD
48006 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48007
1760874d
TJ
48008 [BZ #13335]
48009 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48010 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48011
51d91b18
UD
48012 * string/test-strchr.c: Make usable for strchrnul testing.
48013 * string/test-strchrnul.c: New file.
48014 * string/Makefile (strop-tests): Add strchrnul.
48015
a1b560ff 48016 * po/it.po: Update from translation team.
b611fb81 48017 * po/es.po: Likewise.
a1b560ff 48018
a5b81e1f
UD
480192011-10-28 Ulrich Drepper <drepper@gmail.com>
48020
fd52bc6d
UD
48021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48022 the three constants needed as parameters. Drop the others.
48023 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48024 __m128i_strloadu_tolower.
52e4b9eb
UD
48025 Create and initialize variable zero and use it in all the places
48026 where _mm_setzero_si128 was used.
fd52bc6d 48027
a5b81e1f
UD
48028 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48029 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48030 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48032 anymore.
48033 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48036 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48037 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48038 __mpranred, __mptan.
48039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48046 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48047 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48048
b4343346
AS
480492011-10-28 Andreas Schwab <schwab@redhat.com>
48050
0c92d8a8
AS
48051 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48052 redefine if SHARED.
48053 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48054
b4343346
AS
48055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48056 wide char related routines to wcsmbs subdir.
48057
3871f58f
AS
480582011-10-27 Andreas Schwab <schwab@redhat.com>
48059
48060 [BZ #13344]
48061 * misc/sys/cdefs.h (__THROWNL): Define.
48062 * posix/unistd.h: Use __THREADNL instead of __THREAD
48063 for memory synchronization functions.
48064
94d44d9f
RM
480652011-10-26 Roland McGrath <roland@hack.frob.com>
48066
21b64b15 48067 [BZ #13349]
94d44d9f
RM
48068 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48069 doesn't exist.
48070 * manual/stdio.texi (Obstack Streams): Node removed.
48071
f6ce9294
AS
480722011-10-26 Andreas Schwab <schwab@redhat.com>
48073
80479147
AS
48074 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48075 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48077
f6ce9294
AS
48078 * math/math_private.h (math_force_eval): Allow non-addressable
48079 arguments.
48080 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48081
618280a1
UD
480822011-10-25 Ulrich Drepper <drepper@gmail.com>
48083
e0016b11
UD
48084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48085 file is not needed.
48086
48087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48094 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48095 Add AVX variants.
48096 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48097 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48098 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48099 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48101 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48102 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48104 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48105 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48106 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48107 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48112 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48113 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48114 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48115
48116 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48117 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48118
618280a1
UD
48119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48120 place. Use VEX encoding when compiling for AVX.
48121
37822576
AS
481222011-10-25 Andreas Schwab <schwab@redhat.com>
48123
1f1e1947
AS
48124 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48125 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48126
37822576
AS
48127 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48128
31ea014d
UD
481292011-10-25 Ulrich Drepper <drepper@gmail.com>
48130
d7826aa1 48131 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 48132 useless if() expression.
d7826aa1
UD
48133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48145 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48151 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48152
31ea014d
UD
48153 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48154
16437fec
AS
481552011-10-25 Andreas Schwab <schwab@redhat.com>
48156
48157 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48158 condition.
48159 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48160
31d3cc00
UD
481612011-10-25 Ulrich Drepper <drepper@gmail.com>
48162
48163 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48164 .text section. Avoid duplicate constants.
48165 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48167 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48173 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48174 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48177 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48178 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48179 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48194 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48195 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48207 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48209 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48210
58985aa9
UD
482112011-10-24 Ulrich Drepper <drepper@gmail.com>
48212
202c9deb
UD
48213 * sysdeps/x86_64/dla.h: Move to ...
48214 * sysdeps/x86_64/fpu/dla.h: ...here.
48215 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48216 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48217
af968f62
UD
48218 * config.make.in: Add have-mfma4 entry.
48219 * configure.in: Substitute libc_cv_cc_fma4.
48220 * math/Makefile (dbl-only-routines): Add sincostab.
48221 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48222 Use __sincostab not sincos.
48223 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48224 name is a macro.
48225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48229 using __copysign.
48230 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48231 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48232 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48233 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48234 and __inv.
48235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48236 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48237 __copysign.
48238 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48239 define aliases when function name is a macro.
48240 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48241 sysdeps/ieee754/dbl-64/sincos.tbl.
48242 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48243 fma4-enabled routines.
48244 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48245 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48246 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48247 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48249 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48253 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48254 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48256 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48257 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48258 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48259 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48260 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48261 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48262 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48264 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48268 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48274
58985aa9
UD
48275 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48276 rename.
48277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48285
a201fbcf
AS
482862011-10-24 Andreas Schwab <schwab@redhat.com>
48287
48288 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48289
fc2ee42a
LD
482902011-10-23 Ulrich Drepper <drepper@gmail.com>
48291
bb3129bd
UD
48292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48293
0275fff8
UD
48294 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48295 prediction.
48296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48297
2fa2ae85
UD
48298 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48299 Remove unused variable magic_bits.
48300 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48301
fc2ee42a
LD
48302 * string/strnlen.c: Define and use STRNLEN macro.
48303 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48304 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48306 * wcsmbs/wcslen.c: Define and use WCSLEN.
48307 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48308 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48309 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48310 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48311 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48312 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48314
ce7dd29f
LD
483152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48316
48317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48318 strnlen-sse2-no-bsf.
48319 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48321 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48322 Add strnlen support.
48323 (USE_AS_STRNLEN): New macro.
48324 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48326 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48327 * sysdeps/x86_64/wcslen.S: New file.
48328
979c70a3
MZ
483292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48330
48331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48332 XMM-moves are used for copying on small sizes.
48333
2d09f82f
LD
483342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48335
48336 * wcsmbs/Makefile (strop-tests): Add wcschr.
48337 * wcsmbs/test-wcschr.c: New file.
48338 * string/test-strchr.c: Update.
48339 Add wcschr support.
48340 (WIDE): New macro.
48341
619fccca
LD
483422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48343
2d09f82f 48344 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48345 * wcsmbs/test-wcslen.c: New file.
48346 * string/test-strlen.c: Update.
48347 Add wcslen support.
48348 (WIDE): New macro.
48349
09f699ea
UD
483502011-10-23 Ulrich Drepper <drepper@gmail.com>
48351
48352 * po/it.po: Update from translation team.
48353
95584d3b
LD
483542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48355
48356 * sysdeps/x86_64/wcscmp.S: Update.
48357 Fix wrong comparison semantics.
48358 wcscmp shall use signed comparison not unsigned.
48359 Don't use substraction to avoid overflow bug.
48360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48361 * wcsmbc/wcscmp.c: Likewise.
48362 * string/test-strcmp.c: Likewise.
48363 Add new tests to check cases with negative values.
48364
c8b3296b
UD
483652011-10-23 Ulrich Drepper <drepper@gmail.com>
48366
48367 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48368 * sysdeps/x86_64/dla.h: ...here. New file.
48369 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48374 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48378
246ad57a
AS
483792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48380
48381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48382 __ynl_finite aliases.
48383
a1a87169
UD
483842011-10-22 Ulrich Drepper <drepper@gmail.com>
48385
0d355eb7
UD
48386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48387
a1a87169
UD
48388 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48389 define DLA_FMA.
48390 [DLA_FMA] (EMULV): Use DLA_FMA.
48391 [DLA_FMA] (MUL12): Use EMULV.
48392 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48393 that are not needed.
48394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48401
ee2aafe0
AS
484022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48403
48404 * math/s_nan.c: Undef __nan.
48405 * math/s_nanf.c: Undef __nanf.
48406 * math/s_nanl.c: Undef __nanl.
48407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48408 "math_private.h".
48409
bc62c2fb
UD
484102011-10-22 Ulrich Drepper <drepper@gmail.com>
48411
77425c63
UD
48412 * math/s_catan.c: Add branch predictions.
48413 * math/s_catanf.c: Likewise.
48414 * math/s_catanh.c: Likewise.
48415 * math/s_catanhf.c: Likewise.
48416 * math/s_catanhl.c: Likewise.
48417 * math/s_catanl.c: Likewise.
48418 * math/s_cexp.c: Likewise.
48419 * math/s_cexpf.c: Likewise.
48420 * math/s_cexpl.c: Likewise.
48421 * math/s_clog.c: Likewise.
48422 * math/s_clog10.c: Likewise.
48423 * math/s_clog10f.c: Likewise.
48424 * math/s_clog10l.c: Likewise.
48425 * math/s_clogf.c: Likewise.
48426 * math/s_clogl.c: Likewise.
48427 * math/s_csqrt.c: Likewise.
48428 * math/s_csqrtf.c: Likewise.
48429 * math/s_csqrtl.c: Likewise.
48430 * math/s_ctanf.c: Likewise.
48431 * math/s_ctanh.c: Likewise.
48432 * math/s_ctanhf.c: Likewise.
48433 * math/s_ctanhl.c: Likewise.
48434 * math/s_ctanl.c: Likewise.
48435
bc62c2fb
UD
48436 * math/math_private.h: Define __nan, __nanf, __nanl.
48437 * math/s_cacosh.c: Include <math_private.h>.
48438 * math/s_cacoshl.c: Likewise.
48439 * math/s_casinh.c: Likewise.
48440 * math/s_casinhf.c: Likewise.
48441 * math/s_casinhl.c: Likewise.
48442 * math/s_ccos.c: Rely entire on ccosh.
48443 * math/s_ccosf.c: Rely entire on ccoshf.
48444 * math/s_ccosl.c: Rely entirely on ccoshl.
48445 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48446 Remove tests for FE_INVALID.
48447 * math/s_ccoshf.c: Likewise.
48448 * math/s_ccoshl.c: Likewise.
48449 * math/s_csin.c: Likewise.
48450 * math/s_csinf.c: Likewise.
48451 * math/s_csinh.c Likewise.
48452 * math/s_csinhf.c: Likewise.
48453 * math/s_csinhl.c: Likewise.
48454 * math/s_csinl.c: Likewise.
48455 * math/s_ctan.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48457 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48459
8ec250a4
UD
484602011-10-21 Ulrich Drepper <drepper@gmail.com>
48461
c196fed8
UD
48462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48463 compilation problems.
48464
8ec250a4
UD
48465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48466 __builtin_expect.
48467
8d4f46c6
UD
484682011-10-20 Ulrich Drepper <drepper@gmail.com>
48469
ed72b654
UD
48470 * sysdeps/i386/configure.in: Test for -mfma4 option.
48471 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48472 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48473 COMMON_CPUID_INDEX_80000001.
48474 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48475 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48476 use it if FMA3 is not supported.
48477 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48478
8d4f46c6
UD
48479 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48481
d45c60c2
AS
484822011-10-20 Andreas Schwab <schwab@redhat.com>
48483
48484 [BZ #12892]
48485 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48486 it would create a cycle with a link time dependency.
48487
d9a4d2ab
UD
484882011-10-19 Ulrich Drepper <drepper@gmail.com>
48489
855d1560
UD
48490 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48491 instruction.
48492 * string/Makefile (strop-tests): Add rawmemchr.
48493 * string/test-rawmemchr.c: New file.
48494
d9a4d2ab
UD
48495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48497 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48498 when compiling str{,n}casecmp and when AVX is available. Hook up
48499 new optimized code in initializers.
48500
8f3b1ffe
AS
485012011-10-19 Andreas Schwab <schwab@redhat.com>
48502
48503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48504 __feraiseexcept instead of feraiseexcept.
48505
d38f1dba
UD
485062011-10-18 Ulrich Drepper <drepper@gmail.com>
48507
d9a8d0ab
UD
48508 * math/math_private.h: Define defaults for libc_fetestexcept and
48509 libc_feupdateenv.
48510 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48511 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48512 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48513 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48516 libc_fetestexcept and libc_feupdateenv.
48517
4855e3dd
UD
48518 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48519 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48520 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48521 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48522 libc_feholdexcept_setround.
48523
581d30e3
UD
48524 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48525 Add s_nearbyint-c and s_nearbyintf-c.
48526 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48527 nearbyintf inlines.
48528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48530 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48532
d38f1dba
UD
48533 * math/math_private.h: Define defaults for libc_fegetround,
48534 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48535 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48536 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48537 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48538 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48539 standard functions.
48540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48541 Remove comments and hacks for old compiler versions.
48542 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48543 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48544 libc_feholdexceptl.
48545
caa6c9d8
AS
485462011-10-18 Andreas Schwab <schwab@redhat.com>
48547
48548 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48549 (__feraiseexcept_renamed): Add __NTH.
48550 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48551 namespace violations.
48552
97c066e6
UD
485532011-10-17 Ulrich Drepper <drepper@gmail.com>
48554
99ce7b04
UD
48555 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48556
1004d182
UD
48557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48558
228a984d
UD
48559 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48560 recently added interfaces.
48561 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48562
c8553a6a
UD
48563 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48564 about macro parameter expansion.
48565
ed22dcf6
UD
48566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48567 __NO_MATH_INLINES is defined. Cleanups.
48568
48569 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48570 and __floorf is target has SSE4.1.
48571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48572 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48573 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48575
b171c137
UD
48576 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48577 name.
48578 (floorf): Likewise.
48579
97c066e6
UD
48580 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48581
629f62ef
AS
485822011-10-17 Andreas Schwab <schwab@redhat.com>
48583
49a43d80
AS
48584 * misc/sys/cdefs.h: Fix last change.
48585
629f62ef
AS
48586 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48587 database lookup.
48588
e453f6cd
UD
485892011-10-16 Ulrich Drepper <drepper@gmail.com>
48590
aa78043a
UD
48591 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48592
ad0f5cad
UD
48593 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48601 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48602 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48603 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48604 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48605 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48606 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48608 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48610 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48612 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48613 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48614 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48615
48616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48617 ceil, ceilf, floor, floorf.
48618
48619 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48620 Perform IRELATIVE relocations last.
48621
e453f6cd
UD
48622 * elf/do-rel.h: Add another parameter nrelative, replacing the
48623 local variable with the same name. Change name of the function
48624 to end in Rel or Rela (uppercase).
48625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48626 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48627 elf_dynamic_do_##reloc function.
48628
fd5bdc09
UD
486292011-10-15 Ulrich Drepper <drepper@gmail.com>
48630
79b195b5
UD
48631 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48632 is sufficient, at least on modern CPUs.
48633
d4a28569
UD
48634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48635
b61099b5
UD
48636 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48637 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48638
bcf01e6d
UD
48639 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48640 __expl_finite.
48641 * math/bits/math-finite.h: Add entries for exp.
48642 * math/e_expl.c: Add __*_finite alias.
48643 * sysdeps/i386/fpu/e_exp.S: Likewise.
48644 * sysdeps/i386/fpu/e_expf.S: Likewise.
48645 * sysdeps/i386/fpu/e_expl.c: Likewise.
48646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48650 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48653
ba1a0d59
UD
48654 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48655 is sufficient, at least on modern CPUs.
48656
fd5bdc09
UD
48657 * ctype/ctype-info.c (__ctype_init): Define.
48658 * include/ctype.h (__ctype_init): Declare.
48659 (__ctype_b_loc): The variable is always initialized.
48660 (__ctype_toupper_loc): Likewise.
48661 (__ctype_tolower_loc): Likewise.
48662 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48663 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48664
7872cfb0
AS
486652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48666
b468825a
AS
48667 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48668
7872cfb0
AS
48669 * configure.in: Also look in $cxxmachine/include for C++ system
48670 headers.
48671
be13f7bf
LD
486722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48673
48674 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48675 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48676 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48677 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48679 (USE_AS_WMEMCMP): New macro.
48680 Fixing indents.
48681 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48682 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48683 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48684 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48686 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48687 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48689 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48690 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48691 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48692 (USE_AS_WMEMCMP): New macro.
48693 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48694 * sysdeps/string/test-memcmp.c: Update.
48695 Fix simple_wmemcmp.
48696 Add new tests.
48697 * wcsmbs/wmemcmp.c: Update.
48698 (WMEMCMP): New macro.
48699 Fix overflow bug.
48700
556a2007
AJ
487012011-10-12 Andreas Jaeger <aj@suse.de>
48702
48703 [BZ #13268]
48704 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48705
538faaa7
UD
487062011-10-15 Ulrich Drepper <drepper@gmail.com>
48707
ab6737ff
UD
48708 * libio/iofwide.c (do_length): Avoid warning.
48709
538faaa7
UD
48710 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48711
396a21b1
UD
487122011-10-14 Ulrich Drepper <drepper@gmail.com>
48713
cdf2901f
UD
48714 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48715
38ad40ce
UD
48716 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48717 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48718 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48719 * sysdeps/i386/i686/fpu/e_log.S: New file.
48720 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48721 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48722
396a21b1
UD
48723 * ctype/ctype.h: Add support for inlined isXXX functions when
48724 compiling C++ code.
48725
6b1f68c9
AS
487262011-10-14 Andreas Schwab <schwab@redhat.com>
48727
349290c0
AS
48728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48729
6b1f68c9
AS
48730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48731
f2282d42
RM
487322011-10-13 Roland McGrath <roland@hack.frob.com>
48733
48734 [BZ #13291]
48735 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48736
5298ffa8
AS
487372011-10-13 Andreas Schwab <schwab@redhat.com>
48738
714fad23
AS
48739 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48740 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48741 feraiseexcept.
48742
81dcc7fb
AS
48743 * sysdeps/x86_64/memrchr.S: Check for zero size.
48744
5298ffa8
AS
48745 * string/stratcliff.c: Add memrchr tests.
48746
951fbcec
LD
487472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48748
48749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48750 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48751 rawmemchr-sse2 rawmemchr-sse2-bsf.
48752 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48753 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48754 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48755 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48756 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48757 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48758 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48759 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48760 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48762 * string/memrchr.c (MEMRCHR): New macro.
48763
0ac5ae23
UD
487642011-10-12 Ulrich Drepper <drepper@gmail.com>
48765
48766 Add integration with gcc's -ffinite-math-only and optimize wrapper
48767 functions in libm.
48768 * Versions.def: Define GLIBC_2.15 version for libm.
48769 * math/Makefile (headers): Add bits/math-finite.h.
48770 * math/bits/math-finite.h: New file.
48771 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48772 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48773 * math/e_acoshl.c: Add __*_finite alias.
48774 * math/e_acosl.c: Likewise.
48775 * math/e_asinl.c: Likewise.
48776 * math/e_atan2l.c: Likewise.
48777 * math/e_atanhl.c: Likewise.
48778 * math/e_coshl.c: Likewise.
48779 * math/e_exp10.c: Likewise.
48780 * math/e_exp10f.c: Likewise.
48781 * math/e_exp10l.c: Likewise.
48782 * math/e_exp2l.c: Likewise.
48783 * math/e_fmodl.c: Likewise.
48784 * math/e_gammal_r.c: Likewise.
48785 * math/e_hypotl.c: Likewise.
48786 * math/e_j0l.c: Likewise.
48787 * math/e_j1l.c: Likewise.
48788 * math/e_jnl.c: Likewise.
48789 * math/e_lgammal_r.c: Likewise.
48790 * math/e_log10l.c: Likewise.
48791 * math/e_log2l.c: Likewise.
48792 * math/e_logl.c: Likewise.
48793 * math/e_powl.c: Likewise.
48794 * math/e_sinhl.c: Likewise.
48795 * math/e_sqrtl.c: Likewise.
48796 * math/e_scalb.c: Completely rewritten and optimized.
48797 * math/e_scalbf.c: Likewise.
48798 * math/e_scalbl.c: Likewise.
48799 * math/w_acos.c: Likewise.
48800 * math/w_acosf.c: Likewise.
48801 * math/w_acosl.c: Likewise.
48802 * math/w_acosh.c: Likewise.
48803 * math/w_acoshf.c: Likewise.
48804 * math/w_acoshl.c: Likewise.
48805 * math/w_asin.c: Likewise.
48806 * math/w_asinf.c: Likewise.
48807 * math/w_asinl.c: Likewise.
48808 * math/w_atan2.c: Likewise.
48809 * math/w_atan2f.c: Likewise.
48810 * math/w_atan2l.c: Likewise.
48811 * math/w_atanh.c: Likewise.
48812 * math/w_atanhf.c: Likewise.
48813 * math/w_atanhl.c: Likewise.
48814 * math/w_exp10.c: Likewise.
48815 * math/w_exp10f.c: Likewise.
48816 * math/w_exp10l.c: Likewise.
48817 * math/w_fmod.c: Likewise.
48818 * math/w_fmodf.c: Likewise.
48819 * math/w_fmodl.c: Likewise.
48820 * math/w_j0.c: Likewise.
48821 * math/w_j0f.c: Likewise.
48822 * math/w_j0l.c: Likewise.
48823 * math/w_j1.c: Likewise.
48824 * math/w_j1f.c: Likewise.
48825 * math/w_j1l.c: Likewise.
48826 * math/w_jn.c: Likewise.
48827 * math/w_jnf.c: Likewise.
48828 * math/w_log.c: Likewise.
48829 * math/w_logf.c: Likewise.
48830 * math/w_logl.c: Likewise.
48831 * math/w_log10.c: Likewise.
48832 * math/w_log10f.c: Likewise.
48833 * math/w_log10l.c: Likewise.
48834 * math/w_log2.c: Likewise.
48835 * math/w_log2f.c: Likewise.
48836 * math/w_log2l.c: Likewise.
48837 * math/w_pow.c: Likewise.
48838 * math/w_powf.c: Likewise.
48839 * math/w_powl.c: Likewise.
48840 * math/w_remainder.c: Likewise.
48841 * math/w_remainderf.c: Likewise.
48842 * math/w_remainderl.c: Likewise.
48843 * math/w_scalb.c: Likewise.
48844 * math/w_scalbf.c: Likewise.
48845 * math/w_scalbl.c: Likewise.
48846 * math/w_sqrt.c: Likewise.
48847 * math/w_sqrtf.c: Likewise.
48848 * math/w_sqrtl.c: Likewise.
48849 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48850 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48851 used.
48852 * math/math_private.h: Declare __kernel_standard_f.
48853 * math/w_cosh.c: Remove cruft and optimize a bit.
48854 * math/w_coshf.c: Likewise.
48855 * math/w_coshl.c: Likewise.
48856 * math/w_exp2.c: Likewise.
48857 * math/w_exp2f.c: Likewise.
48858 * math/w_exp2l.c: Likewise.
48859 * math/w_hypot.c: Likewise.
48860 * math/w_hypotf.c: Likewise.
48861 * math/w_hypotl.c: Likewise.
48862 * math/w_lgamma.c: Likewise.
48863 * math/w_lgamma_r.c: Likewise.
48864 * math/w_lgammaf.c: Likewise.
48865 * math/w_lgammaf_r.c: Likewise.
48866 * math/w_lgammal.c: Likewise.
48867 * math/w_lgammal_r.c: Likewise.
48868 * math/w_sinh.c: Likewise.
48869 * math/w_sinhf.c: Likewise.
48870 * math/w_sinhl.c: Likewise.
48871 * math/w_tgamma.c: Likewise.
48872 * math/w_tgammaf.c: Likewise.
48873 * math/w_tgammal.c: Likewise.
48874 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48876 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48877 Minor optimizations. Pretty printing. Remove cruft.
48878 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48881 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48882 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48883 * sysdeps/i386/fpu/e_asin.S: Likewise.
48884 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48885 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48886 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48887 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48891 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48892 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48893 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48894 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48895 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48896 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48897 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48898 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48899 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48900 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48901 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48902 * sysdeps/i386/fpu/e_log.S: Likewise.
48903 * sysdeps/i386/fpu/e_log10.S: Likewise.
48904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48906 * sysdeps/i386/fpu/e_log2.S: Likewise.
48907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48909 * sysdeps/i386/fpu/e_logf.S: Likewise.
48910 * sysdeps/i386/fpu/e_logl.S: Likewise.
48911 * sysdeps/i386/fpu/e_pow.S: Likewise.
48912 * sysdeps/i386/fpu/e_powf.S: Likewise.
48913 * sysdeps/i386/fpu/e_powl.S: Likewise.
48914 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48915 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48916 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48920 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48921 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48922 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48923 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48924 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48926 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48927 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48928 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48929 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48930 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48931 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48932 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48933 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48934 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48937 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48940 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48941 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48948 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48951 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48952 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48957 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48958 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48959 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48960 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48973 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48974 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48975 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48978 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48979 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48980 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48981 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49001 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49004 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49008 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49010 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49013 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49016 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49017 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49018 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49019 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49020 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49021 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49022 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49023 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49024 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49025 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49026 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49031 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49033 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49034 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49035 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49036 (__isnanf): Likewise.
49037 (__isinf_ns): Likewise.
49038 (__isinf_nsf): Likewise.
49039 (__finite): Likewise.
49040 (__finitef): Likewise.
49041 (__ieee754_sqrt): Define as macro.
49042 (__ieee754_sqrtf): Define as macro.
49043 (__ieee754_sqrtl): Define as macro.
49044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49045 inlined copy.
49046 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49047 __FINITE_MATH_ONLY__ consistent.
49048 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49049
12cc2fcd
AS
490502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49051
a843a204
AS
49052 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49053 of rawmemchr.
49054
12cc2fcd
AS
49055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49056
c853acd5
UD
490572011-10-09 Ulrich Drepper <drepper@gmail.com>
49058
49059 * po/ja.po: Update from translation team.
49060
c658d255
RM
490612011-10-08 Roland McGrath <roland@hack.frob.com>
49062
110946e4
RM
49063 * locale/programs/locarchive.c (prepare_address_space): New function.
49064 (create_archive, enlarge_archive, open_archive): Use it.
49065
50604220
RM
49066 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49067 inside [SHARED], where it is used.
49068
c658d255
RM
49069 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49070
49071 * nss/getent.c (netgroup_keys): Remove unused variable.
49072 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49073
6a621eb7
UD
490742011-10-08 Ulrich Drepper <drepper@gmail.com>
49075
7edb55ce
UD
49076 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49080 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49081 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49082 * math/Makefile (libm-calls): Add s_isinf_ns.
49083 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49084 * math/multc3.c: Likewise.
49085 * math/s_casin.c: Likewise.
49086 * math/s_casinf.c: Likewise.
49087 * math/s_casinl.c: Likewise.
49088 * math/s_ccos.c: Likewise.
49089 * math/s_ccosf.c: Likewise.
49090 * math/s_ccosl.c: Likewise.
49091 * math/s_ctan.c: Likewise.
49092 * math/s_ctanf.c: Likewise.
49093 * math/s_ctanh.c: Likewise.
49094 * math/s_ctanhf.c: Likewise.
49095 * math/s_ctanhl.c: Likewise.
49096 * math/s_ctanl.c: Likewise.
49097 * math/w_fmod.c: Likewise.
49098 * math/w_fmodf.c: Likewise.
49099 * math/w_fmodl.c: Likewise.
49100 * math/w_remainder.c: Likewise.
49101 * math/w_remainderf.c: Likewise.
49102 * math/w_remainderl.c: Likewise.
49103 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49104 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49107 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49108 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49109 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49110 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49111
187da0ae
UD
49112 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49113 of the number.
49114 * stdio-common/printf_fphex.c: Likewise.
49115 * stdio-common/printf_size.c: Likewise.
49116
9277c064
UD
49117 * math/e_exp10.c: Include math_private.h using <...> not "...".
49118 * math/e_exp10f.c: Likewise.
49119 * math/e_exp10l.c: Likewise.
49120 * math/e_exp2l.c: Likewise.
49121 * math/e_j0l.c: Likewise.
49122 * math/e_j1l.c: Likewise.
49123 * math/e_jnl.c: Likewise.
49124 * math/e_lgammal_r.c: Likewise.
49125 * math/e_rem_pio2l.c: Likewise.
49126 * math/e_scalb.c: Likewise.
49127 * math/e_scalbf.c: Likewise.
49128 * math/e_scalbl.c: Likewise.
49129 * math/k_cosl.c: Likewise.
49130 * math/k_sinl.c: Likewise.
49131 * math/k_tanl.c: Likewise.
49132 * math/s_cacoshf.c: Likewise.
49133 * math/s_catan.c: Likewise.
49134 * math/s_catanf.c: Likewise.
49135 * math/s_catanh.c: Likewise.
49136 * math/s_catanhf.c: Likewise.
49137 * math/s_catanhl.c: Likewise.
49138 * math/s_catanl.c: Likewise.
49139 * math/s_ccosh.c: Likewise.
49140 * math/s_ccoshf.c: Likewise.
49141 * math/s_ccoshl.c: Likewise.
49142 * math/s_cexp.c: Likewise.
49143 * math/s_cexpf.c: Likewise.
49144 * math/s_cexpl.c: Likewise.
49145 * math/s_clog.c: Likewise.
49146 * math/s_clog10.c: Likewise.
49147 * math/s_clog10f.c: Likewise.
49148 * math/s_clog10l.c: Likewise.
49149 * math/s_clogf.c: Likewise.
49150 * math/s_clogl.c: Likewise.
49151 * math/s_csin.c: Likewise.
49152 * math/s_csinf.c: Likewise.
49153 * math/s_csinh.c: Likewise.
49154 * math/s_csinhf.c: Likewise.
49155 * math/s_csinhl.c: Likewise.
49156 * math/s_csinl.c: Likewise.
49157 * math/s_csqrt.c: Likewise.
49158 * math/s_csqrtf.c: Likewise.
49159 * math/s_csqrtl.c: Likewise.
49160 * math/s_ctan.c: Likewise.
49161 * math/s_ctanf.c: Likewise.
49162 * math/s_ctanh.c: Likewise.
49163 * math/s_ctanhf.c: Likewise.
49164 * math/s_ctanhl.c: Likewise.
49165 * math/s_ctanl.c: Likewise.
49166 * math/s_ldexp.c: Likewise.
49167 * math/s_ldexpf.c: Likewise.
49168 * math/s_ldexpl.c: Likewise.
49169 * math/s_significand.c: Likewise.
49170 * math/s_significandf.c: Likewise.
49171 * math/s_significandl.c: Likewise.
49172 * math/w_acos.c: Likewise.
49173 * math/w_acosf.c: Likewise.
49174 * math/w_acosh.c: Likewise.
49175 * math/w_acoshf.c: Likewise.
49176 * math/w_acoshl.c: Likewise.
49177 * math/w_acosl.c: Likewise.
49178 * math/w_asin.c: Likewise.
49179 * math/w_asinf.c: Likewise.
49180 * math/w_asinl.c: Likewise.
49181 * math/w_atan2.c: Likewise.
49182 * math/w_atan2f.c: Likewise.
49183 * math/w_atan2l.c: Likewise.
49184 * math/w_atanh.c: Likewise.
49185 * math/w_atanhf.c: Likewise.
49186 * math/w_atanhl.c: Likewise.
49187 * math/w_cosh.c: Likewise.
49188 * math/w_coshf.c: Likewise.
49189 * math/w_coshl.c: Likewise.
49190 * math/w_dremf.c: Likewise.
49191 * math/w_exp10.c: Likewise.
49192 * math/w_exp10f.c: Likewise.
49193 * math/w_exp10l.c: Likewise.
49194 * math/w_exp2.c: Likewise.
49195 * math/w_exp2f.c: Likewise.
49196 * math/w_fmod.c: Likewise.
49197 * math/w_fmodf.c: Likewise.
49198 * math/w_fmodl.c: Likewise.
49199 * math/w_hypot.c: Likewise.
49200 * math/w_hypotf.c: Likewise.
49201 * math/w_hypotl.c: Likewise.
49202 * math/w_j0.c: Likewise.
49203 * math/w_j0f.c: Likewise.
49204 * math/w_j0l.c: Likewise.
49205 * math/w_j1.c: Likewise.
49206 * math/w_j1f.c: Likewise.
49207 * math/w_j1l.c: Likewise.
49208 * math/w_jn.c: Likewise.
49209 * math/w_jnf.c: Likewise.
49210 * math/w_jnl.c: Likewise.
49211 * math/w_lgamma.c: Likewise.
49212 * math/w_lgamma_r.c: Likewise.
49213 * math/w_lgammaf.c: Likewise.
49214 * math/w_lgammaf_r.c: Likewise.
49215 * math/w_lgammal.c: Likewise.
49216 * math/w_lgammal_r.c: Likewise.
49217 * math/w_log.c: Likewise.
49218 * math/w_log10.c: Likewise.
49219 * math/w_log10f.c: Likewise.
49220 * math/w_log10l.c: Likewise.
49221 * math/w_log2.c: Likewise.
49222 * math/w_log2f.c: Likewise.
49223 * math/w_log2l.c: Likewise.
49224 * math/w_logf.c: Likewise.
49225 * math/w_logl.c: Likewise.
49226 * math/w_pow.c: Likewise.
49227 * math/w_powf.c: Likewise.
49228 * math/w_powl.c: Likewise.
49229 * math/w_remainder.c: Likewise.
49230 * math/w_remainderf.c: Likewise.
49231 * math/w_remainderl.c: Likewise.
49232 * math/w_scalb.c: Likewise.
49233 * math/w_scalbf.c: Likewise.
49234 * math/w_scalbl.c: Likewise.
49235 * math/w_sinh.c: Likewise.
49236 * math/w_sinhf.c: Likewise.
49237 * math/w_sinhl.c: Likewise.
49238 * math/w_sqrt.c: Likewise.
49239 * math/w_sqrtf.c: Likewise.
49240 * math/w_sqrtl.c: Likewise.
49241 * math/w_tgamma.c: Likewise.
49242 * math/w_tgammaf.c: Likewise.
49243 * math/w_tgammal.c: Likewise.
49244
6a621eb7
UD
49245 * po/ja.po: Update from translation team.
49246
bf582445
AJ
492472011-09-29 Andreas Jaeger <aj@suse.de>
49248
f9efbf3a
AJ
49249 [BZ #13179]
49250 * sunrpc/netname.c (netname2host): Fix logic.
49251
bf582445
AJ
49252 [BZ #6779]
49253 [BZ #6783]
49254 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49255 correctly.
49256 * math/w_remainder.c (__remainder): Likewise.
49257 * math/w_remainderf.c (__remainderf): Likewise.
49258 * math/libm-test.inc (remainder_test): Add test cases.
49259
48693bea
AK
492602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49261
49262 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49263 sdiv_qrnnd.
49264
42622229
LD
492652011-10-07 Ulrich Drepper <drepper@gmail.com>
49266
49267 * string/test-memcmp.c: Avoid unncessary #defines.
49268 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49269
093ecf92
LD
492702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49271
49272 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49273 Use new sse2 version for core i3 - i7 as it's faster
49274 than sse42 version.
49275 (bit_Prefer_PMINUB_for_stringop): New.
49276 * sysdeps/x86_64/rawmemchr.S: Update.
49277 Replace with faster SSE2 version.
49278 * sysdeps/x86_64/memrchr.S: New file.
49279 * sysdeps/x86_64/memchr.S: Update.
49280 Replace with faster SSE2 version.
49281
fde56e5c
MP
492822011-09-12 Marek Polacek <mpolacek@redhat.com>
49283
49284 * elf/dl-load.c (lose): Add cast to avoid warning.
49285
21fd49a9
UD
492862011-10-07 Ulrich Drepper <drepper@gmail.com>
49287
5a06e643
UD
49288 * po/ca.po: Update from translation team.
49289
684ae515
UD
49290 * inet/getnetgrent_r.c: Hook up nscd.
49291 * nscd/Makefile (routines): Add nscd_netgroup.
49292 (nscd-modules): Add netgroupcache.
49293 (CFLAGS-netgroupcache.c): Define.
49294 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49295 (cache_search): Add const to second parameter.
49296 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49297 INNETGR.
49298 (dbs): Add netgrdb entry.
49299 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49300 (verify_persistent_db): Handle netgrdb.
49301 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49302 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49303 GETFDNETGR.
49304 (netgroup_response_header): Define.
49305 (innetgroup_response_header): Define.
49306 (datahead): Add netgroup_response_header and innetgroup_response_header
49307 elements.
49308 * nscd/nscd.conf: Add entries for netgroup cache.
49309 * nscd/nscd.h (dbtype): Add netgrdb.
49310 (_PATH_NSCD_NETGROUP_DB): Define.
49311 (netgroup_iov_disabled): Declare.
49312 (xmalloc, xcalloc, xrealloc): Move declarations here.
49313 (cache_search): Adjust prototype.
49314 Add netgroup-related prototypes.
49315 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49316 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49317 (__nscd_innetgr): Declare.
49318 * nscd/selinux.c (perms): Use access_vector_t as element type and
49319 add netgroup-related initializers.
49320 * nscd/netgroupcache.c: New file.
49321 * nscd/nscd_netgroup.c: New file.
49322 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49323 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49324 For four parameters use innetgr.
49325 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49326 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49327 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49328 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49329
21fd49a9
UD
49330 * nscd/connections.c (register_traced_file): Don't register file
49331 for disabled databases.
49332
054c0457
UD
493332011-10-06 Ulrich Drepper <drepper@gmail.com>
49334
32b63198
UD
49335 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49336
054c0457
UD
49337 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49338 from tree and freeing node.
49339
64031225
JO
493402011-09-25 Jiri Olsa <jolsa@redhat.com>
49341
49342 * nss/nsswitch.c (__nss_database_lookup): Handle
49343 nss_parse_service_list out of memory case.
49344
0490345c
JO
493452011-09-15 Jiri Olsa <jolsa@redhat.com>
49346
49347 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49348 out of memory case.
49349
3a62d00d
AS
493502011-10-04 Andreas Schwab <schwab@redhat.com>
49351
49352 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49353 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49354 pass it down.
49355 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49356 elf_machine_rela, elf_machine_lazy_rel.
49357 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49358 (ELF_DYNAMIC_DO_REL): Likewise.
49359 (ELF_DYNAMIC_DO_RELA): Likewise.
49360 (ELF_DYNAMIC_RELOCATE): Likewise.
49361 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49362 to ELF_DYNAMIC_DO_REL.
49363 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49364 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49365 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49366 elf_machine_rela.
49367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49368 skip_ifunc, don't call ifunc function if non-zero.
49369 (elf_machine_rela): Likewise.
49370 (elf_machine_lazy_rel): Likewise.
49371 (elf_machine_lazy_rela): Likewise.
49372 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49373 (elf_machine_lazy_rel): Likewise.
49374 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49375 Likewise.
49376 (elf_machine_lazy_rel): Likewise.
49377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49378 Likewise.
49379 (elf_machine_lazy_rel): Likewise.
49380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49381 (elf_machine_lazy_rel): Likewise.
49382 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49383 (elf_machine_lazy_rel): Likewise.
49384 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49385 (elf_machine_lazy_rel): Likewise.
49386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49387 (elf_machine_lazy_rel): Likewise.
49388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49389 (elf_machine_lazy_rel): Likewise.
49390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49391 (elf_machine_lazy_rel): Likewise.
49392
68577918
UD
493932011-09-28 Ulrich Drepper <drepper@gmail.com>
49394
49395 * nss/nss_files/files-init.c (_nss_files_init): Use static
49396 initialization for all the *_traced_file variables.
49397
68822d74
AS
493982011-09-28 Andreas Schwab <schwab@redhat.com>
49399
49400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49401
2056100b
RM
494022011-09-27 Roland McGrath <roland@hack.frob.com>
49403
49404 [BZ #13226]
49405 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49406
32c76b63
AS
494072011-09-27 Andreas Schwab <schwab@redhat.com>
49408
49409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49410 Reread the line before reparsing it.
49411
bf972c9d
AS
494122011-09-26 Andreas Schwab <schwab@redhat.com>
49413
49414 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49415
e057a1b5
JM
494162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49417 Maxim Kuvyrkov <maxim@codesourcery.com>
49418 Joseph Myers <joseph@codesourcery.com>
49419
49420 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49421 if needed for __stack_chk_guard.
49422
bc7e1c36
RM
494232011-09-19 Roland McGrath <roland@hack.frob.com>
49424
ecb1482f
RM
49425 * sysdeps/posix/spawni.c (script_execute): Always define it.
49426 It will be optimized away if unused.
49427 (maybe_script_execute): New function.
49428 (__spawni): Call it.
49429
bc7e1c36
RM
49430 * Makerules: Don't include tls.make.
49431 (config-tls): Always set to thread.
49432 * tls.make.c: File removed.
49433
1c3b002b
MF
494342011-09-19 Mike Frysinger <vapier@gentoo.org>
49435
49436 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49437 * config.make.in (CPPFLAGS-config): New substituted variable.
49438
2840865d
UD
494392011-09-15 Ulrich Drepper <drepper@gmail.com>
49440
88738eb6
UD
49441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49442
cbf645a6 49443 [BZ #13192]
2840865d
UD
49444 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49445 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49446
b402e91a
RM
494472011-09-15 Roland McGrath <roland@hack.frob.com>
49448
49449 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49450 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49452 (CALL_FAIL): Likewise.
49453 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49454 (CALL_FAIL): Macro removed.
49455 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49456
4c1a1f71
UD
494572011-09-15 Ulrich Drepper <drepper@gmail.com>
49458
49459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49460 for __FINITE_MATH_ONLY__ == 1.
49461
edc121be
AS
494622011-09-15 Andreas Schwab <schwab@redhat.com>
49463
49464 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49465 __ieee754_sqrt instead of sqrt.
49466 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49467 __ieee754_sqrtf instead of sqrtf.
49468 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49469 __floorf instead of floorf.
49470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49471 __floorf, __truncf instead of floorf, truncf.
49472
cd205654
UD
494732011-09-14 Ulrich Drepper <drepper@gmail.com>
49474
ee4d0315
UD
49475 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49476
cd205654
UD
49477 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49478 __extern_always_inline.
49479 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49480 32-bit.
49481
48b67d71
AS
494822011-09-14 Andreas Schwab <schwab@redhat.com>
49483
49484 * elf/rtld.c (dl_main): Also relocate in dependency order when
49485 doing symbol dependency testing.
49486
1ae12c75
AS
494872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49488
49489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49490 Always define `refsym'.
49491
995a80df
AS
494922011-09-13 Andreas Schwab <schwab@redhat.com>
49493
e529793b
AS
49494 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49495 (__FD_ELT): Renamed from __FDELT.
49496 * misc/bits/select2.h (__FD_ELT): Likewise.
49497 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49498 __FD_MASK instead of __FDELT, __FDMASK.
49499 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49500 Likewise.
49501 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49502 Likewise.
49503
52d4fef8
AS
49504 * elf/Makefile (gen-ldd): Fix pattern.
49505
995a80df
AS
49506 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49507 (init_tls): Likewise.
49508
8682f8b0
UD
495092011-09-12 Ulrich Drepper <drepper@gmail.com>
49510
49511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49512
de82006d
AS
495132011-09-12 Andreas Schwab <schwab@redhat.com>
49514
a7c8e6a1
AS
49515 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49516 `struct cmsghdr *' instead of `void *'.
49517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49518 Likewise.
49519
0f31fe77
AS
495202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49521
49522 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49523 if non-absolute.
49524 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49525 ldd_rewrite_script.
0f31fe77 49526
32b4c839
UD
495272011-09-11 Ulrich Drepper <drepper@gmail.com>
49528
83cd1420
UD
49529 * configure.in: Remove --with-tls option.
49530 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49531 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49532 out in case it is missing.
49533 * sysdeps/ia64/elf/configure.in: Likewise.
49534 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49535 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49536 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49537 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49538 * sysdeps/sh/elf/configure.in: Likewise.
49539 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49541 * sysdeps/x86_64/elf/configure.in: Likewise.
49542 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49543 * sysdeps/mach/hurd/tls.h: Likewise.
49544
633f745d
UD
49545 [BZ #13067]
49546 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49547
f318beb8
UD
49548 [BZ #13090]
49549 * configure.in: Fix use of AC_INIT.
49550
32b4c839
UD
49551 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49552
3ce1f295
UD
495532011-09-10 Ulrich Drepper <drepper@gmail.com>
49554
bb016596
UD
49555 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49556 __set_errno.
8e58439c
UD
49557 * malloc/hooks.c: Likewise.
49558
aebae053 49559 [BZ #11929]
02d46fc4
UD
49560 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49561 variables statically.
49562 (narenas): Initialize.
49563 (list_lock): Initialize.
bb016596
UD
49564 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49565 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49566 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49567 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49568 Add initializers to main_arena and mp_.
49569 (malloc_state): Remove pagesize member. Change all users to use
49570 GLRO(dl_pagesize).
49571
49572 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49573 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49574 is always initialized.
49575
22a89187
UD
49576 * malloc/malloc.c: Removed unused configurations and dead code.
49577 * malloc/arena.c: Likewise.
49578 * malloc/hooks.c: Likewise.
02d46fc4 49579 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49580
d063d164
UD
49581 * include/tls.h: Removed. USE___THREAD must always be defined.
49582 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49583 * elf/dl-libc.c: Likewise.
49584 * elf/dl-tsd.c: Likewise.
49585 * include/errno.h: Likewise.
49586 * include/netdb.h: Likewise.
49587 * include/resolv.h: Likewise.
49588 * inet/herrno-loc.c: Likewise.
49589 * inet/herrno.c: Likewise.
49590 * malloc/arena.c: Likewise.
49591 * malloc/hooks.c: Likewise.
49592 * malloc/malloc.c: Likewise.
49593 * resolv/res-state.c: Likewise.
49594 * resolv/res_libc.c: Likewise.
49595 * sysdeps/i386/dl-machine.h: Likewise.
49596 * sysdeps/ia64/dl-machine.h: Likewise.
49597 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49600 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49601 * sysdeps/sh/dl-machine.h: Likewise.
49602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49604 * sysdeps/unix/i386/sysdep.S: Likewise.
49605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49606 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49611 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49615 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49616 * sysdeps/x86_64/dl-machine.h: Likewise.
49617 * tls.make.c: Likewise.
49618
3ce1f295
UD
49619 * configure.in: Remove --with-__thread option. Make tests for
49620 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49621 tls_model attribute fail if no support is available. Remove
49622 USE_IN_LIBIO.
49623 * Makeconfig: Adjust for dropped configure option. All features are
49624 now mandatory.
49625 * Makerules: Likewise.
49626 * Versions.def: Likewise.
49627 * argp/argp-fmtstream.c: Likewise.
49628 * argp/argp-fmtstream.h: Likewise.
49629 * argp/argp-help.c: Likewise.
49630 * assert/assert.c: Likewise.
49631 * config.h.in: Likewise.
49632 * config.make.in: Likewise.
49633 * configure: Likewise.
49634 * configure.in: Likewise.
49635 * csu/Versions: Likewise.
49636 * csu/init.c: Likewise.
49637 * elf/tst-audit2.c: Likewise.
49638 * elf/tst-tls10.c: Likewise.
49639 * elf/tst-tls10.h: Likewise.
49640 * elf/tst-tls11.c: Likewise.
49641 * elf/tst-tls12.c: Likewise.
49642 * elf/tst-tls14.c: Likewise.
49643 * elf/tst-tlsmod11.c: Likewise.
49644 * elf/tst-tlsmod12.c: Likewise.
49645 * elf/tst-tlsmod13.c: Likewise.
49646 * elf/tst-tlsmod13a.c: Likewise.
49647 * elf/tst-tlsmod14a.c: Likewise.
49648 * elf/tst-tlsmod15b.c: Likewise.
49649 * elf/tst-tlsmod16a.c: Likewise.
49650 * elf/tst-tlsmod16b.c: Likewise.
49651 * elf/tst-tlsmod7.c: Likewise.
49652 * elf/tst-tlsmod8.c: Likewise.
49653 * elf/tst-tlsmod9.c: Likewise.
49654 * gmon/gmon.c: Likewise.
49655 * grp/fgetgrent_r.c: Likewise.
49656 * grp/putgrent.c: Likewise.
49657 * hurd/fopenport.c: Likewise.
49658 * include/libc-symbols.h: Likewise.
49659 * include/tls.h: Likewise.
49660 * intl/gettextP.h: Likewise.
49661 * intl/loadinfo.h: Likewise.
49662 * locale/global-locale.c: Likewise.
49663 * locale/localeinfo.h: Likewise.
49664 * mach/devstream.c: Likewise.
49665 * malloc/arena.c: Likewise.
49666 * malloc/set-freeres.c: Likewise.
49667 * misc/err.c: Likewise.
49668 * misc/getttyent.c: Likewise.
49669 * misc/mntent_r.c: Likewise.
49670 * posix/getopt.c: Likewise.
49671 * posix/wordexp.c: Likewise.
49672 * pwd/fgetpwent_r.c: Likewise.
49673 * resolv/Versions: Likewise.
49674 * resolv/res_hconf.c: Likewise.
49675 * shadow/fgetspent_r.c: Likewise.
49676 * shadow/putspent.c: Likewise.
49677 * stdio-common/printf_fphex.c: Likewise.
49678 * stdio-common/tmpfile.c: Likewise.
49679 * stdlib/abort.c: Likewise.
49680 * stdlib/fmtmsg.c: Likewise.
49681 * sunrpc/auth_unix.c: Likewise.
49682 * sunrpc/clnt_perr.c: Likewise.
49683 * sunrpc/clnt_tcp.c: Likewise.
49684 * sunrpc/clnt_udp.c: Likewise.
49685 * sunrpc/clnt_unix.c: Likewise.
49686 * sunrpc/openchild.c: Likewise.
49687 * sunrpc/svc_simple.c: Likewise.
49688 * sunrpc/svc_tcp.c: Likewise.
49689 * sunrpc/svc_udp.c: Likewise.
49690 * sunrpc/svc_unix.c: Likewise.
49691 * sunrpc/xdr.c: Likewise.
49692 * sunrpc/xdr_array.c: Likewise.
49693 * sunrpc/xdr_rec.c: Likewise.
49694 * sunrpc/xdr_ref.c: Likewise.
49695 * sunrpc/xdr_stdio.c: Likewise.
49696
1248c1c4
PB
496972011-09-09 Ulrich Drepper <drepper@gmail.com>
49698
49699 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49700
497012011-07-03 Andreas Jaeger <aj@suse.de>
49702
49703 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49704 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49705 regenerate with gen-libm-tests.pl.
49706
497072010-05-12 Petr Baudis <pasky@suse.cz>
49708
49709 [BZ #11589]
49710 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49711 around j0() zero points by switching to j1().
49712 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49716
f22e1074
UD
497172011-09-09 Ulrich Drepper <drepper@gmail.com>
49718
f19009c1
UD
49719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49720 instead of 0.
49721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49722 instead of 0.
f19009c1
UD
49723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49724 Patch in part by Pavel Roskin <proski@gnu.org>.
49725
3f8cc204
UD
49726 [BZ #13138]
49727 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49728 realloc.
49729 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49730 Free memory block if necessary.
49731
f22e1074
UD
49732 [BZ #12847]
49733 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49734 be NULL. Don't lock in this case.
49735
0a2349f9
RM
497362011-09-09 Roland McGrath <roland@hack.frob.com>
49737
49738 * elf/elf.h (ELFOSABI_GNU): New macro.
49739 (ELFOSABI_LINUX): Define to that.
49740
f3cdd467
DZ
497412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49742
49743 * string/strncat.c (strncat): Undef the symbol in case it has been
49744 defined in bits/string.h.
49745
74718d13
UD
497462011-09-09 Ulrich Drepper <drepper@gmail.com>
49747
633e9e0f
UD
49748 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49749
0a2349f9 49750 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49751 link map.
49752
f9924780
AJ
497532011-08-17 Andreas Jaeger <aj@suse.de>
49754
49755 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49756
7f5517aa
PP
497572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49758 Ian Lance Taylor <iant@google.com>
49759
49760 * math/libm-test.inc (lround_test): New testcase.
49761 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49762
762011fe
UD
497632011-09-08 Ulrich Drepper <drepper@gmail.com>
49764
92963737
UD
49765 * Makefile: Remove support for automatic cvs check-ins.
49766 * Makerules: Likewise.
49767 * config.make.in: Likewise.
49768 * configure.in: Likewise.
49769 * intl/Makefile: Likewise.
49770 * locale/Makefile: Likewise.
49771 * po/Makefile: Likewise.
49772 * posix/Makefile: Likewise.
49773 * sysdeps/gnu/Makefile: Likewise.
49774 * sysdeps/mach/hurd/Makefile: Likewise.
49775 * sysdeps/sparc/sparc32/Makefile: Likewise.
49776
b0727fd8
JS
49777 [BZ #13118]
49778 * posix/Makefile (bug-regex32-ENV): Define.
49779 Patch by John Stanley <jpsinthemix@verizon.net>.
49780
a0f33f99
UD
49781 * misc/Makefile (headers): Add bits/select2.h.
49782 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49783 * misc/bits/select2.h: New file.
49784 * include/bits/select2.h: New file.
49785 * debug/Makefile (routines): Add fdelt_chk.
49786 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49787 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49788 FD_ISSET.
49789 * debug/fdelt_chk.c: New file.
49790
762011fe
UD
49791 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49792 * wcsmbs/test-wmemcmp.c: Likewise.
49793 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49794 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49795
497962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49797
49798 * string/Makefile (strop-tests): Add memcmp.
49799 * string/test-wmemcmp.c: New file.
49800 * string/test-memcmp.c: Add wmemcmp support.
49801
7f513ec8
RM
498022011-09-08 Roland McGrath <roland@hack.frob.com>
49803
0442afb4
RM
49804 [BZ #13153]
49805 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49806 2011-07-19 change.
49807
7f513ec8
RM
49808 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49809 garbage value in a __mach_port_mod_refs call in the cases of the
49810 task-self and thread-self ports.
49811
a12b2239
ST
498122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49813
49814 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49815
610f9ab4
AS
498162011-09-08 Andreas Schwab <schwab@redhat.com>
49817
7f513ec8 49818 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49819
48882a1a
LD
498202011-09-07 Ulrich Drepper <drepper@gmail.com>
49821
b49865be
UD
49822 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49823
fdc86bc9
UD
49824 * elf/dl-libc.c (dlerror_run): Pass back error code from
49825 dl_catch_error.
49826
c966526a
UD
49827 [BZ #13123]
49828 * elf/dl-load.c (lose): Free l_origin if it is valid.
49829
48882a1a
LD
49830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49831 names.
49832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49837 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49838
77a2a8b4
AZ
498392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49840
49841 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49842 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49845 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49846 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49847 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49848 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49849 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49850 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49851
24f579d8
AM
498522011-08-15 Alan Modra <amodra@gmail.com>
49853
49854 [BZ #13092]
49855 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49856 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49857 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49858 ppc_mcount to static-only-routines.
49859 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49860 __mcount_internal.
49861 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49862 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49863
3d4837df
UD
498642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49865
49866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49867 for finite and infinity parameters.
49868
22700377
WS
498692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49870
49871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49872 and add nop instructions for throughput optimization.
49873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49874
5025581e
WS
498752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49876
49877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49878 aligned copy for power7 with vector-scalar instructions.
49879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49880
08a300c9
L
498812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49882
49883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49884 AVX check.
49885
59178ef9
AS
498862011-09-07 Andreas Schwab <schwab@redhat.com>
49887
49888 [BZ #13144]
49889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49890 last change.
49891
e38ba7ab
UD
498922011-09-07 Ulrich Drepper <drepper@gmail.com>
49893
49894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49895 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49896 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49898 clock_gettime.
49899
d53a73ac
UD
499002011-09-06 Ulrich Drepper <drepper@gmail.com>
49901
fc8bffcc
UD
49902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49903 Forgot to demangle the pointer.
49904
ceaa0c5d
UD
49905 * sysdeps/i386/sysdep.h: Define atom_text_section.
49906 * sysdeps/x86_64/sysdep.h: Likewise.
49907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49908 section with atom_text_section.
49909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49911 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49914
a77d3c17
UD
49915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49917 already be defined. Change to take two parameters and don't assign
49918 result to variable. Adjust all users.
49919 Define INTERNAL_GETTIME if not already defined.
49920 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49921 call.
49922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49923 HAVE_CLOCK_GETTIME_VSYSCALL.
49924 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49925
d53a73ac
UD
49926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49927 gettimeofday vsyscall, just use time.
49928
a8f84144
AS
499292011-09-06 Andreas Schwab <schwab@redhat.com>
49930
49931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49932 <errno.h>.
49933
ef606249
UD
499342011-09-06 Ulrich Drepper <drepper@gmail.com>
49935
49936 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49937 syscall on x86-64.
49938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49939 syscall.
49940 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49942 syscall if possible.
49943
6585cb60
UD
499442011-09-05 Ulrich Drepper <drepper@gmail.com>
49945
49946 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49947 e_ident. Don't pass to find_mapsXX.
49948 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49949
a5f524e4
LD
499502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49951
49952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49953 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49954 * sysdeps/x86_64/multiarch/strchr.S: Update.
49955 Check bit_slow_BSF bit.
49956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49957 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49959
554881ef
UD
499602011-09-05 Ulrich Drepper <drepper@gmail.com>
49961
d96de963
UD
49962 [BZ #13134]
49963 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49964 before glibc 2.15.
49965 (tryshell): Define.
49966 (__spawni): Change last parameter to be flag. Test
49967 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49968 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49969 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49970 * posix/spawni.c: Likewise.
49971 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49972 * posix/spawnp.c: Likewise. Change normal version to use
49973 SPAWN_XFLAGS_USE_PATH.
49974 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49975 SPAWN_XFLAGS_TRY_SHELL.
49976
d48e5868
UD
49977 [BZ #13150]
49978 * posix/glob.h: Remove gcc 1.x support.
49979
554881ef
UD
49980 [BZ #13068]
49981 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49982
693fb948
LD
499832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49984
49985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49986 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49987 strrchr-sse2-bsf
49988 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49989 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49992 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49994
1b48c537
UD
499952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49996
49d42c37
UD
49997 * sysdeps/x86_64/wcscmp.S: New file.
49998
1b48c537
UD
49999 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50000 wcscmp-c wcscmp-sse2
50001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50002 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50004 * wcsmbs/wcscmp.c: Allow renaming.
50005
15c95c5d
DM
500062011-09-05 David S. Miller <davem@davemloft.net>
50007
50008 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50009 stack slot, rather than the struct return pointer slot.
50010 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50011 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50013 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50014
2f0ad8f3
UD
500152011-09-05 Ulrich Drepper <drepper@gmail.com>
50016
d88ae418
UD
50017 * po/ja.po: Update from translation team.
50018
2f0ad8f3
UD
50019 [BZ #13144]
50020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50021 kernel in 64-bit binaries.
50022
5f4318d1
DM
500232011-09-01 David S. Miller <davem@davemloft.net>
50024
50025 * elf/elf.h (HWCAP_SPARC_*): Move to..
50026 * sysdeps/sparc/sysdep.h: this new file and add new values.
50027 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50028 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50029 _DL_HWCAP_COUNT to 24.
50030 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50031 entries.
50032 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50033 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50034 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50036 instead of magic constants.
50037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50038
3ba57516
DM
500392011-08-31 David S. Miller <davem@davemloft.net>
50040
50041 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50043 Reimplement to do errno handling inline.
50044 (SYSCALL_ERROR_HANDLER): New macro.
50045 (__SYSCALL_STRING): Do not do errno handling in asm.
50046 (__CLONE_SYSCALL_STRING): Delete.
50047 (__INTERNAL_SYSCALL_STRING): Delete.
50048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50049 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50050 (PSEUDO): Reimplement to do errno handling inline.
50051 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50052 (SYSCALL_ERROR_HANDLER): New macro.
50053 (__SYSCALL_STRING): Do not do errno handling in asm.
50054 (__CLONE_SYSCALL_STRING): Delete.
50055 (__INTERNAL_SYSCALL_STRING): Delete.
50056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50057 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50058 i386.
50059 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50060 (inline_syscall*): Add 'err' argument.
50061 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50062 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50063 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50064 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50065
50066 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50067 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50068
2bc17433
AS
500692011-08-30 Andreas Schwab <schwab@redhat.com>
50070
50071 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50072
fbeb5f4d
JO
500732011-08-29 Jiri Olsa <jolsa@redhat.com>
50074
50075 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50076 directive.
50077
ad69cc26
DM
500782011-08-24 David S. Miller <davem@davemloft.net>
50079
50080 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50081
39dd69df
AS
500822011-08-24 Andreas Schwab <schwab@redhat.com>
50083
50084 * elf/Makefile: Add rules to build and run unload8 test.
50085 * elf/unload8.c: New file.
50086 * elf/unload8mod1.c: New file.
50087 * elf/unload8mod1x.c: New file.
50088 * elf/unload8mod2.c: New file.
50089 * elf/unload8mod3.c: New file.
50090
50091 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50092 it wasn't used.
50093
2c0b250a
DM
500942011-08-23 David S. Miller <davem@davemloft.net>
50095
50096 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50097 subtract stack bias.
50098 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50099 %sp not %fp in calculations.
50100 (_JMPBUF_UNWINDS_ADJ): Likewise.
50101
22044b48
DM
50102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50103 (aio_suspend): Call it to force an exception region around the
50104 AIO_MISC_WAIT() invocation.
50105
2cae4995
AS
501062011-08-23 Andreas Schwab <schwab@redhat.com>
50107
50108 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50109 backslash.
50110
873a772e
AJ
501112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50112
50113 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50114 protection macro.
50115 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50116 and <dl-machine.h>.
50117 (Elf64_FuncDesc): Remove.
50118
25ad0df1
DM
501192011-08-22 David S. Miller <davem@davemloft.net>
50120
50121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50122 sigaltstack check, add missing cfi directives.
50123 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50124 missing cfi directives, and sigaltstack handling.
50125
e888bcbe
AS
501262011-08-16 Andreas Schwab <schwab@redhat.com>
50127
50128 [BZ #11724]
50129 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50130 object is seen twice.
50131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50132
50133 * elf/Makefile (distribute): Add tst-initorder2.c.
50134 (tests): Add tst-initorder2.
50135 (modules-names): Add tst-initorder2a tst-initorder2b
50136 tst-initorder2c tst-initorder2d. Add rules to build them.
50137 ($(objpfx)tst-initorder2.out): New rule.
50138 * elf/tst-initorder2.c: New file.
50139 * elf/tst-initorder2.exp: New file.
50140
87162f46
AS
501412011-08-22 Andreas Schwab <schwab@redhat.com>
50142
70538b7f
AS
50143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50144
f55ffe58
AS
50145 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50146 dependencies back to end of function.
50147
87162f46
AS
50148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50149 $(elfobjdir)/ld.so.
50150
91b392a4
UD
501512011-08-21 Ulrich Drepper <drepper@gmail.com>
50152
50153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50154 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50156 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50157 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50158 of __vdso_gettimeofday.
50159 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50160 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50161 attribute_hidden.
50162 (_libc_vdso_platform_setup): Remove initialization of
50163 __vdso_gettimeofday and __vdso_time.
50164
5c43483f
UD
501652011-08-20 Ulrich Drepper <drepper@gmail.com>
50166
775a77e7
UD
50167 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50168 and fgetc_unlocked.
50169 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50170 getc_unlocked.
89f447ed 50171
49c74ba9
UD
50172 * elf/dl-open.c (add_to_global): Report additions to the global scope
50173 for LD_DEBUG=scopes.
50174 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50175 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50176
5c43483f
UD
50177 [BZ #13114]
50178 * stdio-common/Makefile (tests): Add bug24.
50179 * stdio-common/bug24.c: New file.
50180
a101b025
AJ
501812011-08-19 Andreas Jaeger <aj@suse.de>
50182
50183 [BZ #13114]
50184 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50185 non-existant file when using close-on-exec mode.
50186
c88f1766
UD
501872011-08-20 Ulrich Drepper <drepper@gmail.com>
50188
0276a718
UD
50189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50190 the very first instruction.
50191
c88f1766
UD
50192 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50193 the CFI state in the end.
50194 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50195 inclusion of dl-trampoline.h.
50196 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50197
51ccffa0
AS
501982011-08-19 Andreas Schwab <schwab@redhat.com>
50199
94d7165f
AS
50200 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50201 expectations for long double.
50202
51ccffa0
AS
50203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50204 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50205
fd708658 502062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50207
50208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50209 artificual limit depends upon the system page size.
50210
44f0a71e
UD
502112011-08-17 Ulrich Drepper <drepper@gmail.com>
50212
50213 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50214 * resolv/Makefile: Define CFLAGS-libresolv.
50215
8de79a24
AS
502162011-08-17 Andreas Schwab <schwab@redhat.com>
50217
50218 * nss/makedb.c (compute_tables): Make variables used in nested
50219 function static.
50220
27724598
UD
502212011-08-17 Ulrich Drepper <drepper@gmail.com>
50222
c5305d88
UD
50223 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50224 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50225 if buffer was too small.
50226
27724598
UD
50227 * elf/pldd.c (main): Attach to all threads in the process.
50228 Rewrite /proc handling to use *at functions.
50229
076fe015
UD
502302011-08-16 Ulrich Drepper <drepper@gmail.com>
50231
174baab3
UD
50232 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50233 specifies first scope to show.
50234 (dl_open_worker): Update callers. Move printing scope of new
50235 object to before the relocation.
44f0a71e 50236 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50237 * sysdeps/generic/ldsodefs.h: Update declaration.
50238
076fe015
UD
50239 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50240 string for the scope number.
50241
a60df2c3
UD
502422011-08-14 Ulrich Drepper <drepper@gmail.com>
50243
50244 * nscd/servicescache.c (cache_addserv): Make sure written is always
50245 initialized.
50246
5e4287d1
RM
502472011-08-14 Roland McGrath <roland@hack.frob.com>
50248
85ae0589
RM
50249 * sysdeps/i386/i486/bits/atomic.h
50250 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50251 statement expression, so as to suppress "set but not used" warning.
50252 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50253
69f63097
RM
50254 * string/strncat.c (STRNCAT): Use prototype definition.
50255
675456ef
RM
50256 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50257 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50258 -Iprograms here.
50259 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50260 (localedef-modules): Add localedef.
50261 (locale-modules): Add locale.
50262
5e4287d1
RM
50263 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50264 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50265 to avoid a warning.
50266
9c96ff23
DM
502672011-08-14 David S. Miller <davem@davemloft.net>
50268
50269 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50270 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50271
f9ddf089
UD
502722011-08-13 Ulrich Drepper <drepper@gmail.com>
50273
44f0a71e 50274 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50275 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50276 * elf/rtld.c (dl_main): Set l_name of vDSO.
50277 Call _dl_show_scope when DL_DEBUG_SCOPES.
50278 (process_dl_debug): Recognize scopes flag and also set it for all.
50279 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50280 Declare _dl_show_scope.
50281
1dc27704
UD
50282 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50283 (do_dlopen): Pass caller_dlopen to dl_open.
50284 (__libc_dlopen_mode): Initialize caller_dlopen.
50285
f9ddf089
UD
50286 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50287 of libc. Make tolower call locale-independent. Optimize a bit by
50288 using isdigit instead of isalnum.
50289 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50290
9ac533d3
UD
502912011-08-12 Ulrich Drepper <drepper@gmail.com>
50292
50293 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50294 was a dependency or dynamically loaded.
50295
89edf2e9
UD
502962011-08-11 Ulrich Drepper <drepper@gmail.com>
50297
8e999d29
UD
50298 * intl/l10nflist.c: Allow architecture-specific pop function.
50299 * sysdeps/x86_64/l10nflist.c: New file.
50300
89edf2e9
UD
50301 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50302 classification.
50303
14d96785
AS
503042011-08-10 Andreas Schwab <schwab@redhat.com>
50305
50306 * include/dirent.h: Add libc_hidden_proto for scandirat and
50307 scandirat64. Don't declare __scandirat64.
50308 * dirent/scandirat.c: Add libc_hidden_def.
50309 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50310 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50311
6761ac04
DM
503122011-08-10 David S. Miller <davem@davemloft.net>
50313
50314 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50315 enum.
50316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50319
c55fbd1e
UD
503202011-08-09 Ulrich Drepper <drepper@gmail.com>
50321
50322 * Versions.def [libc]: Add GLIBC_2.15.
50323 * dirent/Makefile (routines): Add scandirat and scandirat64.
50324 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50325 GLIBC_2.15.
50326 * dirent/dirent.h: Declare scandirat and scandirat64.
50327 * dirent/scandirat.c: New file.
50328 * dirent/scandirat64.c: New file.
50329 * sysdeps/wordsize-64/scandirat.c: New file.
50330 * sysdeps/wordsize-64/scandirat64.c: New file.
50331 * dirent/opendir.c: Define opendirat.
50332 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50333 using scandirat.
50334 * dirent/scandir64.c: Adjust for scandir.c change.
50335 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50336 __scandirat64, and __scandir_cancel_handler.
50337 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50338 additional parameter and use openat instead of open (outside of ld.so).
50339 Add new __opendir as wrapper around __opendirat.
50340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50341 here without requiring old scandirat implementation.
50342
879165f2
UD
503432011-08-08 Ulrich Drepper <drepper@gmail.com>
50344
50345 * dirent/scandir.c (cancel_handler): Renamed to
50346 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50347 defined. Adjust users.
50348 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50350
cb7e923b
UD
503512011-08-04 Ulrich Drepper <drepper@gmail.com>
50352
16292edd
UD
50353 * string/test-string.h (IMPL): Use __STRING to expand name and then
50354 stringify it.
50355
cb7e923b
UD
50356 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50357 of cleanups.
50358
cff82933
LD
503592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50360
50361 * string/Makefile: Update.
50362 (strop-tests): Append strncat.
50363 * string/test-wcscmp.c: New file.
50364 New comprehensive test for wcscmp.
50365 * string/test-strcmp.c: Update.
50366 (WIDE): New define.
50367
9be9bfcc
AS
503682011-07-22 Andreas Schwab <schwab@redhat.com>
50369
50370 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50371 line.
50372
2e96f1c7
AS
503732011-07-26 Andreas Schwab <schwab@redhat.com>
50374
50375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50376 encoding to ACE if AI_IDN.
50377
85188888
JJ
503782011-08-01 Jakub Jelinek <jakub@redhat.com>
50379
50380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50381 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50382
5fa16e9b
LD
503832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50384
50385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50386 Fix overflow bug in strncat.
50387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50388
50389 * string/test-strncat.c: Update.
50390 Add new tests for checking overflow bugs.
50391
503922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50393
50394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50395 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50396 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50397 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50399 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50400 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50401 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50402 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50403
50404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50405 (USE_AS_STRCAT): Define.
50406 Add strcat and strncat support.
50407 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50408
8c1a459f
AS
504092011-07-25 Andreas Schwab <schwab@redhat.com>
50410
50411 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50412 __n bigger than INT_MAX+1.
50413 (__strncmp_g): Likewise.
50414
bba33c28
UD
504152011-07-23 Ulrich Drepper <drepper@gmail.com>
50416
798be72d
UD
50417 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50418 * libio/stido.h: Likewise.
50419
8accd4dc
UD
50420 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50421 (AF_NFC): Define.
50422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50423 (AF_NFC): Define.
50424
cbff0d96
UD
50425 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50428 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50430
9191c04a
UD
50431 [BZ #13021]
50432 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50433 installed.
50434
bba33c28
UD
50435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50436 typo.
50437 (_dl_x86_64_save_sse): Likewise.
50438
90f139dd
UD
504392011-07-22 Ulrich Drepper <drepper@gmail.com>
50440
1aae088a
UD
50441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50442 OSXSAVE.
50443 (_dl_x86_64_save_sse): Likewise.
50444
8e2045f5
UD
50445 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50446
90f139dd
UD
50447 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50448
1d002f25
AS
504492011-07-21 Andreas Schwab <schwab@redhat.com>
50450
50451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50452 change.
50453 (_dl_x86_64_save_sse): Use correct AVX check.
50454
21137f89
UD
504552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50456
50457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50458 bug in strncpy/strncat.
50459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50460
a65c0b7a
UD
504612011-07-21 Ulrich Drepper <drepper@gmail.com>
50462
50463 * string/tester.c (test_strcat): Add tests for different alignments
50464 of source and destination.
50465 (test_strncat): Likewise.
50466
6986b98a
UD
504672011-07-20 Ulrich Drepper <drepper@gmail.com>
50468
90bb2039
UD
50469 [BZ #12852]
50470 * posix/glob.c (glob): Check passed in values before using them in
50471 expressions to avoid some overflows.
50472 (glob_in_dir): Likewise.
50473
5644ef54
UD
50474 [BZ #13007]
50475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50476 check for AVX enablement so that we don't crash with old kernels and
50477 new hardware.
50478 * elf/tst-audit4.c: Add same checks here.
50479 * elf/tst-audit6.c: Likewise.
50480
50481 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50482
bfc9dc9b
AS
504832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50484
50485 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50486
702e64bb
UD
504872011-07-20 Ulrich Drepper <drepper@gmail.com>
50488
50489 * po/cs.po: Update from translation team.
50490 * po/bg.po: Likewise.
50491
295e904f
MP
504922011-07-12 Marek Polacek <mpolacek@redhat.com>
50493
50494 * misc/sys/cdefs.h: Add support for const attribute.
50495 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50496 to gnu_dev_{major,minor,makedev} functions.
50497
3ff94596
MP
504982011-07-20 Marek Polacek <mpolacek@redhat.com>
50499
50500 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50501
28b59fca
AS
505022011-07-20 Andreas Schwab <schwab@redhat.com>
50503
50504 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50505 strlen results.
50506
19df733e
AK
505072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50508
50509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50510 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50511 register in order to avoid conflicts with the soft frame pointer
50512 being held in r11 when necessary.
50513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50514 (INTERNAL_VSYSCALL_NCS): Likewise.
50515
c8835729
MP
505162011-07-14 Marek Polacek <mpolacek@redhat.com>
50517
50518 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50519 * elf/dl-fini.c (_dl_fini): Adjust caller.
50520 * elf/dl-close.c (_dl_close_worker): Likewise.
50521 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50522
b902330c
MP
505232011-07-15 Marek Polacek <mpolacek@redhat.com>
50524
8991e135
MP
50525 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50526 "aux_cache->nlibs < 0".
50527
b902330c
MP
50528 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50529 in the reload-count case.
50530
99710781
LD
505312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50532
50533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50534 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50535 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50536 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50537 * sysdeps/x86_64/multiarch/strcat.S: New file.
50538 * sysdeps/x86_64/multiarch/strncat.S: New file.
50539 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50541 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50542 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50544 (USE_AS_STRCAT): Define.
50545 Add strcat and strncat support.
50546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50548 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50549 * string/strncat.c: Update.
50550 (USE_AS_STRNCAT): Define.
50551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50552 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50553 and i7.
50554 * sysdeps/x86_64/multiarch/init-arch.h
50555 (bit_Prefer_PMINUB_for_stringop): New.
50556 (index_Prefer_PMINUB_for_stringop): Likewise.
50557 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50558 bit_Prefer_PMINUB_for_stringop.
50559
7dc6bd90
UD
505602011-07-19 Ulrich Drepper <drepper@gmail.com>
50561
50562 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50563 buffer64.
50564 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50565 of casting of buffer.
50566 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50567 buffer32 and buffer64.
50568 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50569 writes instead of casting of buffer.
50570 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50571 buffer32.
50572 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50573 casting of buffer.
50574
e0e72284
AS
505752011-07-19 Andreas Schwab <schwab@redhat.com>
50576
50577 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50578
feb1eb0b
UD
505792011-07-19 Ulrich Drepper <drepper@gmail.com>
50580
50581 * nscd/nscd.c (termination_handler): Don't do anything for a database
50582 if it has not yet been initialized.
50583
298711ff
UD
505842011-07-18 Ulrich Drepper <drepper@gmail.com>
50585
50586 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50587
505882011-07-15 Marek Polacek <mpolacek@redhat.com>
50589
50590 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50591
f9d68389
UD
505922011-07-18 Ulrich Drepper <drepper@gmail.com>
50593
50594 * po/nl.po: Update from translation team.
50595 * po/sv.po: Likewise.
50596
db290cf5
RM
505972011-07-16 Roland McGrath <roland@hack.frob.com>
50598
50599 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50600 now disallowed by GCC.
5c550700 50601
fd5e21c7
RM
50602 * configure.in (use-default-link): Default to yes if a test -shared
50603 link meets our qualifications.
50604 * configure: Regenerated.
50605
5c550700
RM
50606 * config.make.in (output-format): New variable.
50607 * configure.in: Check for ld --print-output-format support.
50608 * configure: Regenerated.
50609 * Makerules ($(common-objpfx)format.lds)
50610 [$(output-format) != unknown]: Just use $(output-format),
50611 instead of the linker-script munging.
50612
9fa2c032
RM
506132011-07-14 Roland McGrath <roland@hack.frob.com>
50614
a6928d51
RM
50615 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50616 of $(common-objpfx)shlib.lds.
50617 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50618
661607b3
RM
50619 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50620 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50621
9fa2c032
RM
50622 * configure.in (-z relro check): Adjust test code to add a large
50623 writable data section after it.
50624 * configure: Regenerated.
50625
defe9061
RM
506262011-07-11 Roland McGrath <roland@hack.frob.com>
50627
50628 * configure.in (-z relro check): Fix test code to make the variable
50629 truly const.
50630 * configure: Regenerated.
50631
319b9ad4
UD
506322011-07-11 Ulrich Drepper <drepper@gmail.com>
50633
50634 * nscd/nscd.h (struct traced_file): Define.
50635 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50636 elements. Add traced_files.
50637 (inotify_fd): Declare.
50638 (register_traced_file): Declare.
50639 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50640 (inotify_fd): Export.
50641 (resolv_conf_descr): Remove.
50642 (nscd_init): Move inotify descriptor creation to main.
50643 Don't register files for notification here.
50644 (register_traced_file): New function.
50645 (invalidate_cache): Don't use reset_res to determine whether to call
50646 res_init, go through the list of registered files.
50647 (main_loop_poll): The inotify descriptors are now stored in the
50648 structures for the traced files.
50649 (main_loop_epoll): Likewise
50650 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50651 to __nss_disable_nscd.
50652 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50653 for a database anymore. Check the records for all the registered
50654 files instead.
50655 * nss/Makefile (libnss_files-routines): Add files-init.
50656 (libnss_db-routines): Add db-init.
50657 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50658 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50659 * nss/nss_db/db-init.c: New file.
50660 * nss/nss_files/files-init.c: New file.
50661 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50662 __nss_lookup_function.
50663 (__nss_lookup_function): Call nss_load_library.
50664 (nss_load_all_libraries): New function.
50665 (__nss_disable_nscd): Take parameter with callback function for files
50666 to register. Set is_nscd. Load all the DSOs for the NSS modules
50667 used for the cached services.
50668 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50669 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50670 options for features to all the files in nscd.
50671
50672 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50673
23bee3e8
RM
506742011-07-10 Roland McGrath <roland@hack.frob.com>
50675
50676 * csu/elf-init.c (__libc_csu_init): Comment typo.
50677
46a5b7f0
UD
506782011-07-09 Ulrich Drepper <drepper@gmail.com>
50679
50680 * po/pl.po: Update from translation team.
50681 * po/ja.po: Likewise.
50682 * po/ru.po: Likewise.
50683 * po/ko.po: Likewise.
50684 * po/fr.po: Likewise.
50685
d30cf5bb
RM
506862011-07-09 Roland McGrath <roland@hack.frob.com>
50687
113ddea4
RM
50688 * configure.in (.ctors/.dtors header and trailer check):
50689 Use an empirical test on a built program.
50690 * configure: Regenerated.
50691
574920b4
RM
50692 * configure.in (-z relro check): Use an empirical test on a built DSO.
50693 Detect, but do not require, on ia64.
50694 * configure: Regenerated.
50695
d30cf5bb
RM
50696 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50697 Update tests that use readelf to use $READELF instead.
50698 * configure: Regenerated.
50699
8538fdb3
UD
507002011-07-08 Ulrich Drepper <drepper@gmail.com>
50701
50702 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50703 if the result is not used.
50704
04d08991
AJ
507052011-07-05 Andreas Jaeger <aj@suse.de>
50706
50707 [BZ#9696]
50708 * stdlib/tst-strtod.c: Add testcase.
50709
de283087
AD
507102011-07-07 Ulrich Drepper <drepper@gmail.com>
50711
4e5f31c8 50712 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50713 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50714 The latter has a higher limit. Take additional parameter to pass to
50715 the new function.
50716 (__pathconf): Pass file to __statfs_link_max.
50717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50718 __statfs_link_max.
50719 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50720 __statfs_link_max.
50721
de283087
AD
50722 [BZ #12868]
50723 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50725 Handle Lustre.
50726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50727 (__statfs_filesize_max): Likewise.
50728 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50729
c75fa153
AJ
507302011-07-05 Andreas Jaeger <aj@suse.de>
50731
50732 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50733
1a544854
UD
507342011-07-06 Marek Polacek <mpolacek@redhat.com>
50735
50736 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50737 `status' variable.
50738 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50739 Likewise.
50740
6f0eec67
UD
507412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50742
50743 * Makefile (strop-tests): Add strncat.
50744 * string/test-strncat.c: New file.
50745
aae30307
UD
507462011-06-30 Marek Polacek <mpolacek@redhat.com>
50747
50748 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50749
c0cfb5eb
UD
507502011-06-21 Andreas Jaeger <aj@suse.de>
50751
50752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50753 Copy rule from iconvdata/Makefile.
50754
01636b21
UD
507552011-07-06 Ulrich Drepper <drepper@gmail.com>
50756
50757 [BZ #12922]
50758 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50759 but no long options are defined, just return 'W'.
50760
9895c8bc
UD
507612011-06-22 Marek Polacek <mpolacek@redhat.com>
50762
50763 [BZ #9696]
50764 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50765
5d4cf042
UD
507662011-07-06 Ulrich Drepper <drepper@gmail.com>
50767
50768 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50769 netgroups to read.
960e5535 50770 (innetgr): Likewise.
5d4cf042 50771
751eb97e
RM
507722011-07-05 Roland McGrath <roland@hack.frob.com>
50773
50774 * config.make.in (install_root): Default to $(DESTDIR).
50775
f15f1e45
UD
507762011-07-05 Ulrich Drepper <drepper@gmail.com>
50777
50778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50779
4e34ac6a
RM
507802011-07-02 Roland McGrath <roland@hack.frob.com>
50781
5e9b6af4
RM
50782 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50783
84f9ea0f
RM
50784 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50785 containing directory rather than embedding absolute directory names.
50786
ea5ee9f7
RM
50787 * scripts/check-local-headers.sh: Rewritten using awk.
50788 Match by word, not by line. Print error messages for matches.
50789 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50790
1b74661a
RM
50791 * Makerules [shlib-lds-flags empty]:
50792 ($(common-objpfx)libc_pic.opts): New target.
50793 ($(common-objpfx)libc_pic.os.clean): New target.
50794 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50795
50796 * config.make.in (OBJCOPY): New variable.
50797 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50798 * configure: Regenerated.
50799
f781ef40
RM
50800 * config.make.in (use-default-link): New variable.
50801 * configure.in (use_default_link): Grok --with-default-link to set it.
50802 * configure: Regenerated.
50803 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50804 (shlib-lds, shlib-lds-flags): Define to empty.
50805
2d4fa81e
RM
50806 * Makerules (shlib-lds): New variable.
50807 (shlib-lds-flags): New variable.
50808 (build-shlib, build-moduile, build-module-asneeded): Use it.
50809 ($(common-objpfx)libc.so): Use $(shlib-lds).
50810 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50811 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50812
31fffa6b
RM
50813 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50814 DT_FLAGS/DT_FLAGS_1 with zero flags.
50815
4e34ac6a
RM
50816 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50817 linker script munging.
50818
fcfc776b
UD
508192011-07-02 Ulrich Drepper <drepper@gmail.com>
50820
50821 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50822 as 128-bit value.
50823 * crypt/sha512.c (sha512_process_block): Perform total addition using
50824 128-bit if possible.
50825 (__sha512_finish_ctx): Likewise.
50826 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50827 as 64-bit value.
50828 * crypt/sha256.c (SWAP64): Define.
50829 (sha256_process_block): Perform total addition using 64-bit if
50830 possible.
50831 (__sha256_finish_ctx): Likewise.
50832
99231d9a
UD
508332011-07-01 Ulrich Drepper <drepper@gmail.com>
50834
50835 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50837 * nscd/hstcache.c (cache_addhst): Likewise.
50838 * nscd/grpcache.c (cache_addgr): Likewise.
50839 * nscd/aicache.c (addhstaiX): Likewise
50840 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50841
445b4a53
TK
508422011-07-01 Thorsten Kukuk <kukuk@suse.de>
50843
50844 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50846 * nscd/hstcache.c (cache_addhst): Likewise.
50847 * nscd/grpcache.c (cache_addgr): Likewise.
50848 * nscd/aicache.c (addhstaiX): Likewise
50849
6d4d8e8e
AS
508502011-07-01 Andreas Schwab <schwab@redhat.com>
50851
50852 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50853 domain only when needed.
50854
89f654c5
AS
508552011-06-30 Andreas Schwab <schwab@redhat.com>
50856
50857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50858 is always restored.
50859
cf3b23ff
UD
508602011-06-29 Ulrich Drepper <drepper@gmail.com>
50861
50862 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50863 are re-adding the entry.
50864 * nscd/servicescache.c (cache_addserv): Likewise.
50865
751626f9
AJ
508662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50867
50868 * sysdeps/generic/dl-irel.h: fix protection against multiple
50869 inclusions.
50870 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50871
9113ea1f
UD
508722011-06-28 Ulrich Drepper <drepper@gmail.com>
50873
5c0b8d90
UD
50874 [BZ #12935]
50875 * malloc/memusage.sh: Fix quoting in message.
50876 * debug/xtrace.sh: Likewise.
50877
9113ea1f
UD
50878 * configure.in: Remove support for --experimental-malloc option, make
50879 it the default.
50880 * config.make.in: Likewise.
50881 * malloc/Makefile: Likewise.
50882
a4172181
AS
508832011-06-27 Andreas Schwab <schwab@redhat.com>
50884
50885 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50886 two-byte characters.
50887
78a7eee7
RM
508882011-06-27 Roland McGrath <roland@hack.frob.com>
50889
62bede13
RM
50890 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50891 AC_CACHE_CHECK invocation.
50892 * configure: Regenerated.
50893
78a7eee7
RM
50894 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50895
5ce33a62
UD
508962011-06-27 Ulrich Drepper <drepper@gmail.com>
50897
034807a9
UD
50898 [BZ #12350]
50899 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50900 bit from old_res_options.
50901
4902da17
UD
50902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50903
5ce33a62
UD
50904 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50905 value type for setfct.
50906
c2344f56
L
509072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50908
50909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50910 __gettimeofday instead of gettimeofday.
50911
68468076
UD
509122011-06-26 Ulrich Drepper <drepper@gmail.com>
50913
50914 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50915
acb0d739
L
509162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50917
50918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50919
50920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50921 info.
50922
8912479f
L
509232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50924
50925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50926 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50927 strcpy-sse2-unaligned strncpy-sse2-unaligned
50928 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50929 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50930 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50931 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50932 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50935 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50936 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50937 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50938 (STRCPY): Support SSE2 and SSSE3 versions.
50939
d5495a11
UD
509402011-06-24 Ulrich Drepper <drepper@gmail.com>
50941
50942 [BZ #12874]
50943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50944 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50945 kernels which artificially limit size of requests.
50946
0b1cbaae
L
509472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50948
50949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50950 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50951 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50952 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50953 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50954 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50955 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50956 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50959 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50960 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50961 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50962 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50963 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50965 Enable unaligned load optimization for Intel Core i3, i5 and i7
50966 processors.
50967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50968 Define.
50969 (index_Fast_Unaligned_Load): Define.
50970 (HAS_FAST_UNALIGNED_LOAD): Define.
50971
07f494a0
MP
509722011-06-23 Marek Polacek <mpolacek@redhat.com>
50973
50974 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50975
fa3fc0fe
UD
509762011-06-22 Ulrich Drepper <drepper@gmail.com>
50977
50978 [BZ #12907]
50979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50980 until it is clear that the information is realy needed.
50981 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50982
e12df166
AS
509832011-06-22 Andreas Schwab <schwab@redhat.com>
50984
50985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50986
852eb34d
UD
509872011-06-22 Ulrich Drepper <drepper@gmail.com>
50988
84e2a551
UD
50989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50990 /sys/devices/system/cpu/online if it is usable.
50991
852eb34d
UD
50992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50993 reading the information from the /proc filesystem to once a second.
50994
6e502e19
UD
509952011-06-21 Andreas Jaeger <aj@suse.de>
50996
50997 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50998 NULL after inclusion of kernel headers.
50999
75d39ff2
UD
510002011-06-21 Ulrich Drepper <drepper@gmail.com>
51001
51f9aa6a
UD
51002 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51003 calls to internal_setent.
51004
c0244a9d
UD
51005 [BZ #12885]
51006 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51007 addresses using gethostbyname4_r ignore IPv4 addresses.
51008
c5e3c2ae
UD
51009 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51010 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51011
75d39ff2
UD
51012 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51013
42675c6f
DM
510142011-06-20 David S. Miller <davem@davemloft.net>
51015
51016 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51017 inclusions.
51018 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51019
51020 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51021 (elf_irel): Use it.
51022 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51023 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51024 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51025 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51026 * sysdeps/x86_64/dl-irel.h: Likewise.
51027
51028 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51029 * elf/dl-sym.c: Likewise.
51030
57912a71
UD
510312011-06-15 Ulrich Drepper <drepper@gmail.com>
51032
51033 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51034 need to dereference resplen2.
51035
ee22793d
AS
510362011-06-14 Andreas Schwab <schwab@redhat.com>
51037
51038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51039
a9e836b0
UD
510402011-06-15 Ulrich Drepper <drepper@gmail.com>
51041
77fb9117
UD
51042 * Makeconfig: Define vardbdir and inst_vardbdir.
51043 * nss/Makefile: Add rules to install db-Makefile.
51044
40c1b22c
UD
51045 * nss/nss_db/db-XXX.c: Cleanup.
51046
9f2da732
UD
51047 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51048 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51049 GLIBC_PRIVATE.
51050 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51051 * nss/makedb.c: Implement -g option to specify that value strings
51052 are generated and should not be added to table iterated over for
51053 get*ent calls.
51054 * nss/nss_db/db-initgroups.c: New file.
51055
82e9a1f7
UD
51056 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51057 interface.
51058
c41af17e
UD
51059 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51060 (internal_getgrouplist): Adjust to name change.
51061 Update use_initgroups_entry if this is not the first call.
51062 * nss/databases.def: Add initgroups entry.
51063
a9e836b0
UD
51064 * nss/makedb.c (compute_tables): Check result of multiple hash table
51065 sizes to minimize maximum chain length.
51066
2666d441
UD
510672011-06-14 Ulrich Drepper <drepper@gmail.com>
51068
51069 * Versions.def: Add entry for libnss_db.
51070 * shlib-versions: Likewise.
51071 * nss/Makefile: Add rules to build libnss_db.
51072 * nss/Versions: Add libnss_db information. Organize libnss_files
51073 entries better.
51074 * nss/db-Makefile: Add gshadow support. Change rules for the new
51075 makedb progra. Some minor improvements to generate smaller files.
51076 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51077 here from...
51078 * nss/makedb.c: ...here.
51079 Improve database format to be smaller and require less memory at
51080 runtime.
51081 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51082 db anymore.
51083 * nss/nss_db/db-netgrp.c: Likewise.
51084 * nss/nss_db/db-open.c: Likewise.
51085 * nss/nss_files/flies-XXX.x: Adjust comments.
51086 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51087 * nss/nss_files/files-grp.c: Likewise.
51088 * nss/nss_files/files-hosts.c: Likewise.
51089 * nss/nss_files/files-network.c: Likewise.
51090 * nss/nss_files/files-proto.c: Likewise.
51091 * nss/nss_files/files-pwd.c: Likewise.
51092 * nss/nss_files/files-rpc.c: Likewise.
51093 * nss/nss_files/files-service.c: Likewise.
51094 * nss/nss_files/files-sgrp.c: Likewise.
51095 * nss/nss_files/files-spwd.c: Likewise.
51096 * nss/nss_db/db-alias.c: Removed.
51097 * nss/nss_db/dummy-db.h: Removed.
51098
9ee76b5a
UD
510992011-06-02 Ulrich Drepper <drepper@gmail.com>
51100
51101 * nss/makedb.c: Rewritten to not use database library.
51102 * nss/Makefile: Update to build new makedb program.
51103
c71ca1f8
AJ
511042011-06-14 Andreas Jaeger <aj@suse.de>
51105
51106 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51107 memset declaration.
51108
3154bfb8
UD
511092011-06-10 Andreas Schwab <schwab@redhat.com>
51110
51111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51112 tmpbuf.
51113
b350afab
RM
511142011-06-10 Roland McGrath <roland@hack.frob.com>
51115
decd4e50
RM
51116 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51117 * elf/Makefile ($(objpfx)ld.so): Likewise.
51118
5615eaf2
RM
51119 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51120 Don't list ld.so twice in dependencies.
51121
51122 * posix/bug-regex31.c: Include <stdlib.h>.
51123
51124 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51125
51126 * nis/nss_compat/compat-spwd.c
51127 (getspent_next_nss_netgr): Remove unused variable.
51128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51129
51130 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51131 nonmembers" output to use the right array.
51132
51133 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51134
51135 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51136
51137 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51138 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51139 * catgets/gencat.c (read_input_file): Likewise.
51140 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51141
51142 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51143 variable definition inside #if's controlling its use.
51144
51145 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51146
51147 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51148
51149 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51150
51151 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51152 unreachable code.
51153
51154 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51155
b68e08db
RM
51156 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51157 * configure: Regenerated.
51158
b350afab
RM
51159 * Makerules: Revert last change.
51160 * elf/Makefile: Likewise.
51161
28368601
RM
511622011-06-09 Roland McGrath <roland@hack.frob.com>
51163
51164 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51165 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51166 (reloc-link): Likewise.
51167
11988f8f
UD
511682011-06-09 Ulrich Drepper <drepper@gmail.com>
51169
51170 * elf/Makefile: Add rules to build pldd.
51171 * elf/pldd.c: New file.
51172 * elf/pldd-xx.c: New file.
51173
e80fab37
UD
511742011-06-07 Ulrich Drepper <drepper@gmail.com>
51175
51176 * version.h: Update for 2.15 development version.
51177
9b849836
DM
511782011-06-07 David S. Miller <davem@davemloft.net>
51179
51180 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51181 ifuncs.
51182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51183 elf_machine_lazy_rel): Likewise.
51184 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51186 elf_machine_lazy_rel): Likewise.
51187 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51188 dl_hwcap via passed in argument.
51189 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51190 Likewise.
51191
5a31b283
AK
511922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51193
51194 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51195
069e52f8
RM
511962011-06-06 Roland McGrath <roland@hack.frob.com>
51197
51198 [BZ #12849]
51199 * manual/fdl-1.1.texi: New file, verbatim from:
51200 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51201 * manual/lgpl-2.1.texi: New file, verbatim from:
51202 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51203 * manual/Makefile (licenses): New variable, list those new file names.
51204 (texis): Use it.
51205 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51206
51207 * manual/fdl.texi: File removed.
51208 * manual/lesser.texi: File removed.
51209 * manual/libc.texinfo (Copying, Documentation License):
51210 Use new @include file names, put @appendix directive before @include.
51211
f16846a5
JJ
512122011-06-04 Jakub Jelinek <jakub@redhat.com>
51213
51214 [BZ #12841]
51215 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51216 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51217 (mq_open): Add __NTH.
51218
3d29045b
L
512192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51220
51221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51222 Assume Intel Core i3/i5/i7 processor if AVX is available.
51223
8c297311
UD
512242011-05-31 Ulrich Drepper <drepper@gmail.com>
51225
51226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51227 typo.
51228
c8fc0c91
UD
512292011-05-31 Andreas Schwab <schwab@redhat.com>
51230
51231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51232 memory. Use alloca_account. Fix memory leak when retrying.
51233
5b27a807
UD
512342011-05-31 Ulrich Drepper <drepper@gmail.com>
51235
356f8bc6
UD
51236 * version.h (RELEASE): Bump for 2.14 release.
51237 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51238
5b27a807
UD
51239 * config.make.in (RANLIB): Remove entry.
51240
01f16ab0
UD
512412011-05-30 Ulrich Drepper <drepper@gmail.com>
51242
41fce8bd
UD
51243 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51244 (libc.pot): Work around missing support for .ksh extension in xgettext.
51245
4769ae77
UD
51246 [BZ #12684]
51247 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51248 if both request failed.
51249 (send_dg): In case of server errors clear resplen or *resplen2.
51250
6b1e7d19
UD
51251 [BZ #12454]
51252 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51253 when there are multiple maps.
51254 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51255 (_dl_fini): Remove test here.
51256
01f16ab0
UD
51257 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51258
b1ebd700
UD
512592011-05-29 Ulrich Drepper <drepper@gmail.com>
51260
7ae22829
UD
51261 [BZ #12350]
51262 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51263 bit from old_res_options.
51264 (gaih_inet): Likewise.
51265
553149f6 51266 [BZ #11099]
18a84741 51267 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51268 as signed.
51269
652ffab1
UD
51270 * resolv/res_init.c (res_setoptions): Make the code more compact.
51271
16985fd0
UD
51272 [BZ #11558]
51273 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51274 set RES_USEVC.
51275
0464f746
UD
51276 [BZ #11634]
51277 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51278
7d17596c
UD
51279 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51280
cf6bbbd7
UD
51281 [BZ #11781]
51282 * malloc/malloc.h: Declare malloc hook variables as volatile.
51283
13f1ab36
UD
51284 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51285 in last patch.
51286
b1ebd700
UD
51287 [BZ #11799]
51288 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51289 raise in the comment.
80e2212d
UD
51290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51292 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51293
ce67228d
UD
512942011-05-28 Ulrich Drepper <drepper@gmail.com>
51295
8887a920
UD
51296 [BZ #12811]
51297 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51298 grow the buffers more if it already has to be sufficient.
51299 (build_wcs_upper_buffer): Likewise.
51300 * posix/regexec.c (check_matching): Likewise.
51301 (clean_state_log_if_needed): Likewise.
51302 (extend_buffers): Don't enlarge buffers beyond size of the input
51303 buffer.
51304 Patches mostly by Emil Wojak <emil@wojak.eu>.
51305 * posix/bug-regex32.c: New file.
51306 * posix/Makefile (tests): Add bug-regex32.
51307
4f031072
UD
51308 * locale/findlocale.c (_nl_find_locale): Return right away if
51309 _nl_explode_name failed.
51310 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51311
d0478f0c
UD
51312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51313
de81b246
UD
51314 * debug/xtrace.sh: Unify messages.
51315 * malloc/memusage.sh: Likewise.
51316
c738465a
UD
51317 [BZ #12813]
51318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51319 time symbol from vDSO. Substitute with vsyscall if not available.
51320 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51321 __vdso_time.
51322
f1f929d7
UD
51323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51324 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51325 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51326 Add sendmmsg and internal_sendmmsg.
51327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51328 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51330
ce67228d
UD
51331 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51332 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51334
e57420c6
UD
513352011-05-27 Ulrich Drepper <drepper@gmail.com>
51336
a8509ca5
UD
51337 [BZ #12813]
51338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51339 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51340 available.
51341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51342 __vdso_getcpu.
51343
e57420c6
UD
51344 [BZ #12814]
51345 * iconvdata/Makefile (tests): Add bug-iconv9.
51346 * iconvdata/bug-iconv9.c: New file.
51347
4d07db15
AS
513482011-05-27 Andreas Schwab <schwab@redhat.com>
51349
51350 [BZ #12814]
51351 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51352
ea486f69
JJ
513532011-05-25 Jakub Jelinek <jakub@redhat.com>
51354
51355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51356 (struct user_regs_struct): Change intcs field back to cs.
51357
6f038433
UD
513582011-05-25 Ulrich Drepper <drepper@gmail.com>
51359
51360 * po/ja.po: Update from translation team.
51361
67f86a25
UD
513622011-05-23 Ulrich Drepper <drepper@gmail.com>
51363
51364 [BZ #12795]
51365 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51367
def7fbd6
AS
513682011-05-20 Andreas Schwab <schwab@redhat.com>
51369
51370 * stdlib/longlong.h: Update from GCC.
51371
f50ef8f1
AS
513722011-05-23 Andreas Schwab <schwab@redhat.com>
51373
51374 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51375 parameter name.
51376 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51377 Add parameter name.
51378 (__sysconf): Pass it down.
51379
de7ce8f1
UD
513802011-05-22 Ulrich Drepper <drepper@gmail.com>
51381
f2962a71
UD
51382 [BZ #12671]
51383 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51384 some situations.
51385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51386 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51387 add in in __libc_use_alloca calls. Adjust callers.
51388 (glob): Use malloc in some situations.
51389
de7ce8f1
UD
51390 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51391 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51392 pltexit.
51393
aec84f53
UD
513942011-05-21 Ulrich Drepper <drepper@gmail.com>
51395
05bb4a68
UD
51396 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51397 and CLOCK_BOOTTIME_ALARM.
51398
7ea72f99
UD
51399 [BZ #12782]
51400 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51401 is returned.
51402
7e4afad5
UD
51403 * string/_strerror.c (__strerror_r): Print negative errors as signed
51404 numbers.
51405
8e211fec
UD
51406 [BZ #12777]
51407 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51408 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51409 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51410
f7d82dc9
UD
51411 * configure.in: Fix typo in redirection and correct removal of test
51412 files in two cases.
51413
cc9e536d
UD
51414 [BZ #12788]
51415 * locale/setlocale.c (new_composite_name): Fix test to check for
51416 identical name of all categories.
51417
aec84f53
UD
51418 [BZ #12792]
51419 * libio/filedoalloc.c (local_isatty): New function.
51420 (_IO_file_doallocate): Use local_isatty.
51421 * stdio-common/perror.c (perror): In case a new stream is used
51422 forward the stream error.
51423 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51424 error flag.
51425
78e64fdc
RT
514262011-05-20 Ulrich Drepper <drepper@gmail.com>
51427
34a9094f
UD
51428 [BZ #11869]
51429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51430 alloca.
51431 * include/alloca.h (extend_alloca_account): Define.
51432
78e64fdc
RT
51433 [BZ #11857]
51434 * posix/regex.h: Fix comments with documentation of user-accessible
51435 fields after compilation and describe correct free'ing of pattern
51436 after re_compile_pattern.
51437 Patch by Reuben Thomas <rrt@sc3d.org>.
51438
457bddfc
RA
514392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51440
51441 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51442 and -mno-altivec to prevent the compiler from using Altivec and/or
51443 VSX instructions when the corresponding registers are not available.
51444
a4527b51
AS
514452011-05-19 Andreas Schwab <schwab@redhat.com>
51446
51447 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51448
ed690b2f
UD
514492011-05-19 Ulrich Drepper <drepper@gmail.com>
51450
51451 * libio/freopen.c (freopen): Use __dup2, not dup2.
51452 * libio/freopen64.c (freopen64): Likewise.
51453
8db73634
L
514542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51455
51456 [BZ #12775]
51457 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51458 * math/Makefile (tests): Add test-powl.
51459 (CFLAGS-test-powl.c): Define.
51460 * math/test-powl.c: New file.
51461
0a197a9d
L
514622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51463
51464 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51465
ee30c380
UD
514662011-05-17 Ulrich Drepper <drepper@gmail.com>
51467
51468 [BZ #11837]
51469 * iconvdata/gb18030.c: Update to GB18020-2005.
51470
6ce75379
UD
514712011-05-16 Ulrich Drepper <drepper@gmail.com>
51472
a4b89fd8
AR
51473 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51474 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51475 Patch by Aharon Robbins <arnold@skeeve.com>.
51476
ea389b12
UD
51477 [BZ #11892]
51478 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51479 on the stack.
51480
68a3f91f
UD
51481 [BZ #11895]
51482 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51483 through underflows.
51484
15cc7dd1
UD
51485 [BZ #12766]
51486 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51487 point to strings before performing equality test for error_one_per_line
51488 mode.
51489
f3799213
UD
51490 [BZ #11697]
51491 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51492
d79a9c94
UD
51493 [BZ #11820]
51494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51495 (struct user_fpregs_struct): Avoid __uint*_t types.
51496
56e5eb46
UD
51497 [BZ #6420]
51498 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51499 symbol info. Use it instead of calling _dl_addr locally.
51500 (lock_and_info): New function.
51501 (tr_freehook): Call lock_and_info and pass symbol info as additional
51502 parameter to tr_where.
51503 (tr_mallochook): Likewise.
51504 (tr_reallochook): Likewise.
51505 (tr_memalignhook): Likewise.
51506
6ce75379
UD
51507 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51508 used and couldn't be at all thread-safe.
51509
f8a3b5bf
UD
515102011-05-15 Ulrich Drepper <drepper@gmail.com>
51511
94b7cc37
UD
51512 * libio/freopen.c (freopen): Don't close old file descriptor
51513 before the new one is opened. Instead dup the new file descriptor
51514 to the old one after the new stream is created.
51515 * libio/freopen64.c (freopen64): Likewise.
51516 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51517 * libio/fileops.c (_IO_new_file_close_it): Handle new
51518 _IO_FLAGS2_NOCLOSE flag.
51519 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51520 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51521 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51522 _IO_FLAGS2_NOCLOSE flag.
51523 * include/unistd.h: Add hidden_proto for dup3.
51524 Define __have_dup3.
51525 * io/dup3.c: Define hidden symbol.
51526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51527
bd25564e
UD
51528 [BZ #7101]
51529 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51530 when an incomplete long option is used.
51531 * posix/tst-getopt_long1.c: New file.
51532 * posix/Makefile (tests): Add tst-getopt_long1.
51533
c84cfef4
UD
51534 [BZ #10138]
51535 * scripts/config.guess: Update from autoconf-2.68.
51536 * scripts/config.sub: Likewise.
51537
3b85df27
UD
51538 [BZ #10157]
51539 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51540 tests into ...
51541 (has_cpuclock): ...this. New function.
51542 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51543 macro here based on has_cpuclock code.
51544
15a856b1
UD
51545 [BZ #10149]
51546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51547 First byte (not low byte) is now always NUL.
51548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51549
05f399e6
UD
51550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51551 Use non-cancelable interfaces.
51552
10a52685 51553 [BZ #9809]
94ecc67d
UD
51554 * locale/iso-639.def: Add entry for Sorani.
51555
f8a3b5bf
UD
51556 [BZ #11901]
51557 * include/stdlib.h: Move include protection to the right place.
51558 Define abort_msg_s. Declare __abort_msg with it.
51559 * stdlib/abort.c (__abort_msg): Adjust type.
51560 * assert/assert.c (__assert_fail_base): New function. Majority
51561 of code from __assert_fail. Allocate memory for __abort_msg with
51562 mmap.
51563 (__assert_fail): Now call __assert_fail_base.
51564 * assert/assert-perr.c: Remove bulk of implementation. Use
51565 __assert_fail_base.
51566 * include/assert.hL Declare __assert_fail_base.
51567 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51568 mmap.
51569 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51570
1af4e298
UD
515712011-05-14 Ulrich Drepper <drepper@gmail.com>
51572
f8a3b5bf 51573 [BZ #11952]
d26dfc60
MG
51574 [BZ #12453]
51575 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51576 until all modules are registered in the DTV.
51577 * elf/Makefile: Add rules to build and run tst-tls19.
51578 * elf/tst-tls19.c: New file.
51579 * elf/tst-tls19mod1.c: New file.
51580 * elf/tst-tls19mod2.c: New file.
51581 * elf/tst-tls19mod3.c: New file.
51582 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51583
2fc54d6f
UD
51584 [BZ #12083]
51585 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51586 correctly.
51587
98d76b46
UD
51588 [BZ #12601]
51589 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51590 two-byte sequence errors.
51591 * iconvdata/Makefile (tests): Add bug-iconv8.
51592 * iconvdata/bug-iconv8.c: New file.
51593
da3c19ef
UD
51594 [BZ #12626]
51595 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51596 buf2 definition.
51597
ca408c15
UD
51598 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51599
d6f67f7d
UD
51600 [BZ #12432]
51601 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51602 (dummy_getcfa): New function.
51603 (init): Get _Unwind_GetCFA address, use dummy if not found.
51604 (backtrace_helper): In recursion check, also check whether CFA changes.
51605 (__backtrace): Completely initialize arg.
51606
1af4e298 51607 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51608 storing incomplete byte sequence in state object. Avoid testing for
51609 guaranteed too small input if we know there is enough data available.
1af4e298 51610
da62f81b
AS
516112011-05-11 Andreas Schwab <schwab@redhat.com>
51612
51613 * Makeconfig (+link-pie): Indent.
51614 * Rules (binaries-pie): Define if $(have-fpie) and
51615 $(build-shared).
51616 (binaries-shared): Also filter out $(binaries-pie).
51617 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51618 * nscd/Makefile (others-pie): Add nscd.
51619 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51620 ($(objpfx)nscd): Remove command override.
51621 * login/Makefile (others-pie): Add pt_chown.
51622 ($(objpfx)pt_chown): Remove command override.
51623 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51624 remove command overrides.
51625
fcabc0f8
UD
516262011-05-13 Ulrich Drepper <drepper@gmail.com>
51627
20030ae6
UD
51628 * libio/tst_putwc.c: Fix error messages.
51629
fcabc0f8
UD
51630 [BZ #12724]
51631 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51632 currently writing and seek to current position when not.
51633 * libio/Makefile (tests): Add bug-fclose1.
51634 * libio/bug-fclose1.c: New file.
51635
320a5dc0
PB
516362011-05-12 Ulrich Drepper <drepper@gmail.com>
51637
51638 [BZ #12511]
51639 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51640 don't set DF_1_NODELETE here.
51641 (do_lookup_x): When entering new entry test for copy relocation
51642 and if necessary set DF_1_NODELETE flag.
51643 * elf/tst-unique4.cc: New file.
51644 * elf/tst-unique4.h: New file.
51645 * elf/tst-unique4lib.cc: New file.
51646 * elf/Makefile: Add rules to build and run tst-unique4.
51647 Patch by Piotr Bury <pbury@goahead.com>.
51648
22836f52
UD
516492011-05-11 Ulrich Drepper <drepper@gmail.com>
51650
f574184a
UD
51651 [BZ #12052]
51652 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51653
e1fb097f
UD
51654 [BZ #12625]
51655 * misc/mntent_r.c (addmntent): Flush the stream after the output
51656
22836f52
UD
51657 [BZ #12393]
51658 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51659 (is_trusted_path_normalize): Skip initial colon. Append slash
51660 to empty buffer. Duplicate is_trusted_path code but allow
51661 constructed patch to be prefix.
51662 (is_dst): Allow $ORIGIN followed by /.
51663 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51664 Correct testing of result of is_trusted_path_normalize
51665 (decompose_rpath): Fix warning.
51666
7b3b0b2a
UD
516672011-05-10 Ulrich Drepper <drepper@gmail.com>
51668
51669 [BZ #11257]
51670 * grp/initgroups.c (internal_getgrouplist): When we found the service
51671 list through the initgroups entry in nsswitch.conf do not always
51672 continue on a successful lookup. Don't always use the
eac80ce2 51673 __nss_group_database value if it is set.
7b3b0b2a
UD
51674 * nss/nsswitch.conf (initgroups): Change action for successful db
51675 lookup to continue for compatibility.
51676
2a81eaa5
UD
516772011-05-09 Ulrich Drepper <drepper@gmail.com>
51678
be97a69e
UD
51679 [BZ #11532]
51680 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51681 and CP774 modules.
51682 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51683 and CP774 modules.
51684 * iconvdata/tst-tables.sh: Likewise.
51685 * iconvdata/cp770.c: New file.
51686 * iconvdata/cp771.c: New file.
51687 * iconvdata/cp772.c: New file.
51688 * iconvdata/cp773.c: New file.
51689 * iconvdata/cp774.c: New file.
51690 * iconvdata/testdata/CP770: New file.
51691 * iconvdata/testdata/CP770..UTF8: New file.
51692 * iconvdata/testdata/CP771: New file.
51693 * iconvdata/testdata/CP771..UTF8: New file.
51694 * iconvdata/testdata/CP772: New file.
51695 * iconvdata/testdata/CP772..UTF8: New file.
51696 * iconvdata/testdata/CP773: New file.
51697 * iconvdata/testdata/CP773..UTF8: New file.
51698 * iconvdata/testdata/CP774: New file.
51699 * iconvdata/testdata/CP774..UTF8: New file.
51700
51701 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51702 END CHARMAP line.
51703 * iconvdata/gen-8bit-gap.sh: Likewise.
51704 * iconvdata/gen-8bit.sh: Likewise.
51705
c1e9e399
UD
51706 * locale/iso-639.def: Add ary entry.
51707
24c55fb3 51708 [BZ #11258]
96b4b1b0
UD
51709 * locale/C-translit.h.in: Add U20A1 transliteration.
51710
bdc2f971
KB
51711 [BZ #12178]
51712 * locale/iso-639.def: Add wae entry.
51713 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51714
2952b117
UD
51715 [BZ #12545]
51716 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51717 for n.
51718
2a81eaa5
UD
51719 [BZ #12711]
51720 * locale/C-translit.h.in: Add entry for U20B9.
51721 Patch by pravin.d.s@gmail.com.
51722
28377d1b
UD
517232011-05-08 Ulrich Drepper <drepper@gmail.com>
51724
7fb90fb8
UD
51725 [BZ #12713]
51726 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51727 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51728 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51729 in rtld. Use *stat64.
7fb90fb8 51730 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51731 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51732 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51733 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51734 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51735 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51736 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51737 __fstatat64 macros.
7fb90fb8
UD
51738 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51739 * dirent/rewinddir.c: Add libc_hidden_def.
51740 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51741 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51742
28377d1b
UD
51743 * include/dirent.h (__alloc_dir): Add flags parameter.
51744 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51745 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51746 __alloc_dir.
51747 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51748 from fdopendir if O_CLOEXEC is already set.
51749
66bdbaa4
AM
517502011-03-15 Alan Modra <amodra@gmail.com>
51751
51752 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51753 l_tls_firstbyte_offset non-zero. Save padding offset in
51754 l_tls_firstbyte_offset for later use.
51755 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51756 freeing static tls block.
51757
95721191
JN
517582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51759
51760 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51761 where #ifdef was intended. The intent is to prevent ARG_MAX from
51762 being defined by the kernel headers.
51763
f87dfb1f
UD
517642011-05-07 Ulrich Drepper <drepper@gmail.com>
51765
51766 [BZ #12734]
51767 * resolv/resolv.h: Define RES_NOTLDQUERY.
51768 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51769 no-tld-query and set RES_NOTLDQUERY.
51770 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51771 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51772 modern BIND to search name as TLD unless forbidden.
51773
47c3cd7a
UD
517742011-05-07 Petr Baudis <pasky@suse.cz>
51775 Ulrich Drepper <drepper@gmail.com>
51776
51777 [BZ #12393]
51778 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51779 (is_trusted_path): ...to here.
c1e9ea35 51780 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51781 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51782 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51783
8a35c912
PP
517842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51785
51786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51787 __BEGIN/__END_DECLS.
51788
acd41f47
UD
517892011-05-06 Ulrich Drepper <drepper@gmail.com>
51790
51791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51792 NSS_STATUS_NOTFOUND if no record was found.
51793
597df647
AS
517942011-05-05 Andreas Schwab <schwab@redhat.com>
51795
51796 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51797 (headers-not-in-tirpc): Remove rpc/netdb.h
51798 * resolv/netdb.h: Revert last change.
51799
b9af1301
PP
518002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51801
51802 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51803 circular dependency between libgcc.a and libc.a.
51804
4e34d5f5
AS
518052011-05-05 Andreas Schwab <schwab@redhat.com>
51806
51807 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51808 * nis/Makefile: Don't install rpcsvc/*.
51809 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51810 instead of <rpc/types.h>.
51811 (MAXHOSTNAMELEN): Define.
51812
00ee369c
AS
518132011-05-03 Andreas Schwab <schwab@redhat.com>
51814
51815 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51816
0b592a30
MB
518172011-04-28 Maciej Babinski <mbabinski@google.com>
51818
51819 [BZ #12714]
51820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51821 gethostbyname4_r when IPv6 results are possible.
51822
6e04cbbe
UD
518232011-05-02 Ulrich Drepper <drepper@gmail.com>
51824
51825 [BZ #12723]
51826 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51827 _PC_PIPE_BUF handling.
51828
e4ecafe0
BH
518292011-04-30 Bruno Haible <bruno@clisp.org>
51830
51831 [BZ #12717]
51832 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51833 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51834 to 'int'.
51835 * inet/getnameinfo.c (getnameinfo): Likewise.
51836
125ee683
UD
518372011-04-29 Ulrich Drepper <drepper@gmail.com>
51838
51839 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51840 to groups setting in database lookup.
51841 * nss/nsswitch.conf: Add initgroups entry.
51842
b722481a
EB
518432011-04-22 Ulrich Drepper <drepper@gmail.com>
51844
51845 [BZ #12685]
51846 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51847 mode string.
51848 Patch by Eric Blake <eblake@redhat.com>.
51849
4df46dbd
L
518502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51851
51852 * sunrpc/Makefile (need-export-routines): Add svc_run.
51853 (routines): Remove svc_run.
51854 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51855 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51856 * sunrpc/svc_run.c (svc_run): Likewise.
51857 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51858
e84142d2
UD
518592011-04-21 Ulrich Drepper <drepper@gmail.com>
51860
51861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51862 problem in reallocation in last patch.
51863
877175d8
UD
518642011-04-20 Ulrich Drepper <drepper@gmail.com>
51865
51866 * sunrpc/Makefile: Move inclusion of Rules.
51867
ab8eed78
UD
518682011-04-19 Ulrich Drepper <drepper@gmail.com>
51869
51870 * nss/nss_files/files-initgroups.c: New file.
51871 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51872 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51873 _nss_files_initgroups_dyn.
51874
e3d8f584
RS
518752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51876
51877 * elf/elf.h (R_ARM_IRELATIVE): Define.
51878
af190f45
UD
518792011-04-19 Ulrich Drepper <drepper@gmail.com>
51880
51881 * po/ru.po: Update from translation team.
51882
53cf59ef
UD
518832011-04-17 Ulrich Drepper <drepper@gmail.com>
51884
51885 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51886 dependencies.
51887
4c559bcd
MF
518882011-02-06 Mike Frysinger <vapier@gentoo.org>
51889
51890 [BZ #12653]
51891 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51892 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51896
4420675c
AS
518972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51898
51899 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51900 differing bytes.
51901 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51904
75ea32ab
UD
519052011-04-17 Ulrich Drepper <drepper@gmail.com>
51906
51907 [BZ #12420]
51908 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51909 storing it.
51910 * stdlib/bug-getcontext.c: New file.
51911 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51912
27390476
AK
519132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51914
51915 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51916 instructions into .machine "z9-109".
51917 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51918 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51919
10442705
AK
519202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51921
51922 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51923 between environment variables and auxiliary vector.
51924
7b57bfe5
UD
519252011-04-16 Ulrich Drepper <drepper@gmail.com>
51926
51927 * Makefile: Add rules to build linkobj/libc.so.
51928 * include/libc-symbols.h: Define libc_hidden_nolink.
51929 * include/rpc/auth.h: Mark functions which are to be hidden.
51930 * include/rpc/auth_des.h: Likewise.
51931 * include/rpc/auth_unix.h: Likewise.
51932 * include/rpc/clnt.h: Likewise.
51933 * include/rpc/des_crypt.h: Likewise.
51934 * include/rpc/key_prot.h: Likewise.
51935 * include/rpc/pmap_clnt.h: Likewise.
51936 * include/rpc/pmap_prot.h: Likewise.
51937 * include/rpc/pmap_rmt.h: Likewise.
51938 * include/rpc/rpc_msg.h: Likewise.
51939 * include/rpc/svc.h: Likewise.
51940 * include/rpc/svc_auth.h: Likewise.
51941 * include/rpc/xdr.h: Likewise.
51942 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51943 * nss/Makefile: Likewise.
51944 * sunrpc/Makefile: Don't install headers. Build library with normal
51945 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51946 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51947 for the compat linking library. Remove use of INTDEF/INTUSE.
51948 * sunrpc/auth_none.c: Likewise.
51949 * sunrpc/auth_unix.c: Likewise.
51950 * sunrpc/authdes_prot.c: Likewise.
51951 * sunrpc/authuxprot.c: Likewise.
51952 * sunrpc/clnt_gen.c: Likewise.
51953 * sunrpc/clnt_perr.c: Likewise.
51954 * sunrpc/clnt_raw.c: Likewise.
51955 * sunrpc/clnt_simp.c: Likewise.
51956 * sunrpc/clnt_tcp.c: Likewise.
51957 * sunrpc/clnt_udp.c: Likewise.
51958 * sunrpc/clnt_unix.c: Likewise.
51959 * sunrpc/des_crypt.c: Likewise.
51960 * sunrpc/des_soft.c: Likewise.
51961 * sunrpc/get_myaddr.c: Likewise.
51962 * sunrpc/key_call.c: Likewise.
51963 * sunrpc/key_prot.c: Likewise.
51964 * sunrpc/netname.c: Likewise.
51965 * sunrpc/pm_getmaps.c: Likewise.
51966 * sunrpc/pm_getport.c: Likewise.
51967 * sunrpc/pmap_clnt.c: Likewise.
51968 * sunrpc/pmap_prot.c: Likewise.
51969 * sunrpc/pmap_prot2.c: Likewise.
51970 * sunrpc/pmap_rmt.c: Likewise.
51971 * sunrpc/publickey.c: Likewise.
51972 * sunrpc/rpc_cmsg.c: Likewise.
51973 * sunrpc/rpc_common.c: Likewise.
51974 * sunrpc/rpc_dtable.c: Likewise.
51975 * sunrpc/rpc_prot.c: Likewise.
51976 * sunrpc/rpc_thread.c: Likewise.
51977 * sunrpc/rtime.c: Likewise.
51978 * sunrpc/svc.c: Likewise.
51979 * sunrpc/svc_auth.c: Likewise.
51980 * sunrpc/svc_authux.c: Likewise.
51981 * sunrpc/svc_raw.c: Likewise.
51982 * sunrpc/svc_run.c: Likewise.
51983 * sunrpc/svc_simple.c: Likewise.
51984 * sunrpc/svc_tcp.c: Likewise.
51985 * sunrpc/svc_udp.c: Likewise.
51986 * sunrpc/svc_unix.c: Likewise.
51987 * sunrpc/svcauth_des.c: Likewise.
51988 * sunrpc/xcrypt.c: Likewise.
51989 * sunrpc/xdr.c: Likewise.
51990 * sunrpc/xdr_array.c: Likewise.
51991 * sunrpc/xdr_float.c: Likewise.
51992 * sunrpc/xdr_intXX_t.c: Likewise.
51993 * sunrpc/xdr_mem.c: Likewise.
51994 * sunrpc/xdr_rec.c: Likewise.
51995 * sunrpc/xdr_ref.c: Likewise.
51996 * sunrpc/xdr_sizeof.c: Likewise.
51997 * sunrpc/xdr_stdio.c: Likewise.
51998
e6c61494
UD
519992011-04-10 Ulrich Drepper <drepper@gmail.com>
52000
52001 [BZ #12650]
52002 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52003 * sysdeps/ia64/dl-tls.h: Likewise.
52004 * sysdeps/powerpc/dl-tls.h: Likewise.
52005 * sysdeps/s390/dl-tls.h: Likewise.
52006 * sysdeps/sh/dl-tls.h: Likewise.
52007 * sysdeps/sparc/dl-tls.h: Likewise.
52008 * sysdeps/x86_64/dl-tls.h: Likewise.
52009 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52010
34fe483e
AS
520112011-03-14 Andreas Schwab <schwab@redhat.com>
52012
52013 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52014 rpath element also skip the following colon.
52015 (expand_dynamic_string_token): Add is_path parameter and pass
52016 down to DL_DST_REQUIRED and _dl_dst_substitute.
52017 (decompose_rpath): Call expand_dynamic_string_token with
52018 non-zero is_path. Ignore empty rpaths.
52019 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52020 with zero is_path.
52021
f12a32e6
AS
520222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52023
52024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52025 Make cancelable.
52026
38a7d692
UD
520272011-04-09 Ulrich Drepper <drepper@gmail.com>
52028
52029 [BZ #12655]
52030 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52031 Patch by Filipe David Manana <fdmanana@apache.org>.
52032
e451d22b
AS
520332011-04-07 Andreas Schwab <schwab@redhat.com>
52034
52035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52036 Maintain aligned stack.
52037 (CHECK_RSP): Remove unused macro.
52038
dedc7c7b
UD
520392011-04-03 Ulrich Drepper <drepper@gmail.com>
52040
52041 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52043
94521213
UD
520442011-04-02 Ulrich Drepper <drepper@gmail.com>
52045
52046 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52047
8cb700c0 52048 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 52049
0354e355
L
520502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52051
52052 [BZ #12518]
52053 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52054 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52055 * sysdeps/x86_64/memmove.c: New file.
52056 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52057 (memcpy): Renamed to ...
52058 (__new_memcpy): This.
52059 (memcpy): Provide GLIBC_2_14 memcpy.
52060 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52061 (memcpy): Provide GLIBC_2_2_5 memcpy.
52062
8593482f
UD
520632011-04-01 Ulrich Drepper <drepper@gmail.com>
52064
52065 [BZ #12631]
52066 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52067
81a5726b
AS
520682011-03-30 Andreas Schwab <schwab@redhat.com>
52069
52070 * misc/syncfs.c: New file.
52071 * misc/Makefile (routines): Add syncfs.
52072 * posix/unistd.h: Declare syncfs.
52073 * sysdeps/unix/syscalls.list: Add syncfs.
52074
00e5419f
AS
520752011-04-01 Andreas Schwab <schwab@redhat.com>
52076
52077 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52078 open_by_handle_at.
52079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52084 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52086
748876bf
UD
520872011-04-01 Ulrich Drepper <drepper@gmail.com>
52088
658e451d
UD
52089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52096
748876bf
UD
52097 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52098 sync_file_range.c with -fexceptions.
52099 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52100 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52101 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52102 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52103 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52104 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
52106 sync_file_range as cancellation point
52107 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52108 now a wrapper around __call_sync_file_range with cancellation handling.
52109 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52110 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52111 function name to __call_sync_file_range.
52112 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52113 Add call_sync_file_range.
748876bf 52114
6e63d5e1
AS
521152011-04-01 Andreas Schwab <schwab@redhat.com>
52116
52117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 52118 bits/timex.h.
6e63d5e1 52119
46998f74
UD
521202011-04-01 Ulrich Drepper <drepper@gmail.com>
52121
4c1423ed
UD
52122 * iconv/iconv.h: Fix typo in comment.
52123 * io/fcntl.h: Likewise.
52124 * libio/stdio.h: Likewise.
52125 * posix/spawn.h: Likewise.
52126 * posix/unistd.h: Likewise.
52127 * stdlib/stdlib.h: Likewise.
52128 * time/time.h: Likewise.
52129 * wcsmbs/wchar.h: Likewise.
52130
158648c0
UD
52131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52132 open_by_handle): Add.
52133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52134 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52135 Augment a few comments.
52136 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52141 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52142 open_by_handle.
52143
46998f74
UD
52144 * io/fcntl.h (AT_EMPTY_PATH): Define.
52145
83fe108b
UD
521462011-03-30 Ulrich Drepper <drepper@gmail.com>
52147
52148 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52149 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52150 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52151 to...
52152 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52153 * Versions.def: Add GLIBC_2.14.
52154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52155 Export.
83fe108b 52156
bb242059
UD
521572011-03-22 Ulrich Drepper <drepper@gmail.com>
52158
52159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52160 round counter.
52161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52162
c97a1282
L
521632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52164
52165 [BZ #12597]
52166 * string/test-strncmp.c (do_page_test): New function.
52167 (check2): Likewise.
52168 (test_main): Call check2.
52169 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52170
2a115601
UD
521712011-03-20 Ulrich Drepper <drepper@gmail.com>
52172
52173 [BZ #12587]
52174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52175 Handle cache information in CPU leaf 4.
52176 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52177
8126d904
UD
521782011-03-18 Ulrich Drepper <drepper@gmail.com>
52179
042c49c6 52180 [BZ #12583]
8126d904
UD
52181 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52182 character representation.
52183 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52184
ccfe366e
RA
521852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52186
52187 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52188 END(__isnan) to END(__isnanf) to match function entry point/label
52189 EALIGN(__isnanf,...).
52190
c6e13027
JJ
521912011-03-10 Jakub Jelinek <jakub@redhat.com>
52192
52193 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52194
33f85a3f
UD
521952011-03-10 Ulrich Drepper <drepper@gmail.com>
52196
028478fa
UD
52197 [BZ #12510]
52198 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52199 copy from the symbol referenced in the relocation to initialize the
52200 used variable.
52201 Patch by Piotr Bury <pbury@goahead.com>.
52202 * elf/Makefile: Add rules to build and tst-unique3.
52203 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52204 * elf/tst-unique3.cc: New file.
52205 * elf/tst-unique3.h: New file.
52206 * elf/tst-unique3lib.cc: New file.
52207 * elf/tst-unique3lib2.cc: New file.
52208
33f85a3f
UD
52209 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52210
03592fc7
MF
522112011-03-10 Mike Frysinger <vapier@gentoo.org>
52212
52213 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52214 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52215 to _start.
03592fc7 52216
6a5ee102
UD
522172011-03-06 Ulrich Drepper <drepper@gmail.com>
52218
52219 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52220 to-be-loaded object along a path to loader is ld.so.
52221
7e4ba49c
HJ
522222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52223 Ulrich Drepper <drepper@gmail.com>
52224
52225 * sysdeps/x86_64/memset.S: After aligning destination, code
52226 branches to different locations depending on the value of
52227 misalignment, when multiarch is enabled. Fix this.
52228
522292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52230
52231 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52232 Set _x86_64_preferred_memory_instruction for AMD processsors.
52233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52234 Set bit_Prefer_SSE_for_memop for AMD processors.
52235
13a804de
UD
522362011-03-04 Ulrich Drepper <drepper@gmail.com>
52237
52238 * libio/fmemopen.c (fmemopen): Optimize a bit.
52239
9d25c392
AS
522402011-03-03 Andreas Schwab <schwab@redhat.com>
52241
52242 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52243
a5543c6a
RM
522442011-03-03 Roland McGrath <roland@redhat.com>
52245
52246 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52247
012d35f7
DM
522482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52249
7e4ba49c 52250 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52251 __bzero_ultra1 instead of __memset_ultra1.
52252
4bff6e01
AS
522532011-02-23 Andreas Schwab <schwab@redhat.com>
52254 Ulrich Drepper <drepper@gmail.com>
52255
52256 [BZ #12509]
52257 * include/link.h (struct link_map): Add l_orig_initfini.
52258 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52259 returning unsuccessfully.
52260 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52261 close of a file loaded at startup, restore the original l_initfini
52262 list.
52263 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52264 list, store the pointer.
52265 * elf/Makefile ($(objpfx)noload-mem): New rule.
52266 (noload-ENV): Define.
52267 (tests): Add $(objpfx)noload-mem.
52268 * elf/noload.c: Include <memcheck.h>.
52269 (main): Call mtrace. Close all opened handles.
52270
f2092faf
AS
522712011-02-17 Andreas Schwab <schwab@redhat.com>
52272
52273 [BZ #12454]
52274 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52275 dependencies are missing.
52276
6c8a2e88
ST
522772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52278
f2092faf 52279 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52280 Hurd needs munmap.
52281 * sysdeps/mach/hurd/ifreq.h: New file.
52282
84a42118
PB
522832011-01-27 Petr Baudis <pasky@suse.cz>
52284 Ulrich Drepper <drepper@gmail.com>
52285
071f805e 52286 [BZ 12445]#
84a42118
PB
52287 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52288 to extend_alloca().
52289 * stdio-common/bug23.c: New file.
52290 * stdio-common/Makefile (tests): Add bug23.
52291
e23fe25b
AS
522922010-09-28 Andreas Schwab <schwab@redhat.com>
52293 Ulrich Drepper <drepper@gmail.com>
52294
52295 [BZ #12489]
52296 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52297 before performing relro protection. At old place add assertion
52298 to make sure nothing changed.
52299
d3f02e10
NS
523002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52301 Glauber de Oliveira Costa <glommer@gmail.com>
52302
52303 * elf/elf.h: Add new ARM TLS relocs.
52304
d55fd7a5
RA
523052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52306
52307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52308 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52309 cast from r3.
52310 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52311 'tests' variable.
52312 * sysdeps/wordsize-64/tst-writev.c: New file.
52313
2206397e
RA
523142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52315
52316 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52317 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52318 insns in _dl_start to prevent a TOC reference before relocs are
52319 resolved.
52320
e9433893
UD
523212011-02-15 Ulrich Drepper <drepper@gmail.com>
52322
52323 [BZ #12469]
52324 * Makeconfig: Remove RANLIB definition.
52325 * Makerules: Don't use RANLIB.
52326 * aclocal.m4: Remove ranlib test.
52327 * configure.in: No need to check for ranlib.
52328 * elf/rtld-Rules: Don't use RANLIB.
52329
f75286c6
ST
523302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52331
8e31c82d
ST
52332 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52333 protection macro.
52334 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52335 inclusion protection macro.
52336
f75286c6
ST
52337 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52338 SIGRTMIN and SIGRTMAX and print information in that case only when
52339 SIGRTMIN is defined.
52340
c1d0e639
JJ
523412011-02-11 Jakub Jelinek <jakub@redhat.com>
52342
52343 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52344 arginfo fn returning -1.
52345
52346 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52347 and thousands string is zero terminated.
52348
edf9294e
AS
523492011-02-03 Andreas Schwab <schwab@redhat.com>
52350
52351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52352 sysdeps/unix/sysv/linux/bits/socket.h.
52353
2b7e92df
ST
523542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52355
edf9294e
AS
52356 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52357 (__CPU_COUNT): Remove old macros.
52358 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52359 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52360 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52361 (__sched_cpualloc, __sched_cpufree): Add declarations.
52362
a4c7ea7b
UD
523632011-02-05 Ulrich Drepper <drepper@gmail.com>
52364
52365 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52366 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52367 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52368 (readdhstai): Return value of addhstaiX call.
52369 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52370 (addgrbyX): Return value returned by cache_addgr.
52371 (readdgrbyname): Return value returned by addgrbyX.
52372 (readdgrbygid): Likewise.
52373 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52374 (addpwbyX): Return value returned by cache_addpw.
52375 (readdpwbyname): Return value returned by addhstbyX.
52376 (readdpwbyuid): Likewise.
52377 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52378 (addservbyX): Return value returned by cache_addserv.
52379 (readdservbyname): Return value returned by addservbyX:
52380 (readdservbyport): Likewise.
52381 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52382 (addhstbyX): Return value returned by cache_addhst.
52383 (readdhstbyname): Return value returned by addhstbyX.
52384 (readdhstbyaddr): Likewise.
52385 (readdhstbynamev6): Likewise.
52386 (readdhstbyaddrv6): Likewise.
52387 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52388 (readdinitgroups): Return value returned by addinitgroupsX.
52389 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52390 (prune_cache): Keep track of timeout value of re-added entries.
52391 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52392 * nscd/nscd.h: Adjust prototypes of readd* functions.
52393
a0bf67cc
RM
523942011-02-04 Roland McGrath <roland@redhat.com>
52395
52396 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52397 (nis_stats): Likewise.
52398 * nis/nis_modify.c (nis_modify): Likewise.
52399 * nis/nis_remove.c (nis_remove): Likewise.
52400 * nis/nis_add.c (nis_add): Likewise.
52401
52402 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52403
52404 * posix/fnmatch_loop.c: Add some consts.
52405
52406 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52407
435b95eb
L
524082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52409
52410 [BZ #12460]
52411 * config.make.in (config-cflags-novzeroupper): Define.
52412 * configure.in: Substitute libc_cv_cc_novzeroupper.
52413 * elf/Makefile (AVX-CFLAGS): Define.
52414 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52415 (CFLAGS-tst-auditmod4a.c): Likewise.
52416 (CFLAGS-tst-auditmod4b.c): Likewise.
52417 (CFLAGS-tst-auditmod6b.c): Likewise.
52418 (CFLAGS-tst-auditmod6c.c): Likewise.
52419 (CFLAGS-tst-auditmod7b.c): Likewise.
52420 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52421
8517b15e
UD
524222011-02-02 Ulrich Drepper <drepper@gmail.com>
52423
52424 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52425 function to the callback.
52426 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52427
10a656fe
AS
524282011-02-02 Andreas Schwab <schwab@redhat.com>
52429
52430 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52431 of errno.
52432
968dad0a
UD
524332011-01-19 Ulrich Drepper <drepper@gmail.com>
52434
9f94d2ea 52435 [BZ #11724]
968dad0a
UD
52436 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52437 of constructors.
52438 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52439 of destructors.
52440 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52441
52442 [BZ #11724]
52443 * elf/Makefile: Add rules to build and run new test.
52444 * elf/tst-initorder.c: New file.
52445 * elf/tst-initorder.exp: New file.
52446 * elf/tst-initordera1.c: New file.
52447 * elf/tst-initordera2.c: New file.
52448 * elf/tst-initordera3.c: New file.
52449 * elf/tst-initordera4.c: New file.
52450 * elf/tst-initorderb1.c: New file.
52451 * elf/tst-initorderb2.c: New file.
52452 * elf/tst-order-a1.c: New file.
52453 * elf/tst-order-a2.c: New file.
52454 * elf/tst-order-a3.c: New file.
52455 * elf/tst-order-a4.c: New file.
52456 * elf/tst-order-b1.c: New file.
52457 * elf/tst-order-b2.c: New file.
52458 * elf/tst-order-main.c: New file.
52459 New test case by George Gensure <werkt0@gmail.com>.
52460
86e92359
UD
524612010-10-01 Andreas Schwab <schwab@redhat.com>
52462
52463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52464 decoding ACE if AI_CANONIDN.
52465
5d5732b0
UD
524662011-01-18 Ulrich Drepper <drepper@gmail.com>
52467
52468 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52469
a77e8cbc
UD
524702011-01-17 Ulrich Drepper <drepper@gmail.com>
52471
6392473f
UD
52472 * version.h (RELEASE): Bump for 2.13 release.
52473 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52474
620a0529
UD
52475 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52476
18ba70a5
UD
52477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52478 MADV_NOHUGEPAGE.
32465c3e
UD
52479 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52482 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52484 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52485
c0dafcf1
UD
52486 * posix/getconf.c: Update copyright year.
52487 * catgets/gencat.c: Likewise.
52488 * csu/version.c: Likewise.
52489 * debug/catchsegv.sh: Likewise.
52490 * debug/xtrace.sh: Likewise.
52491 * elf/ldconfig.c: Likewise.
52492 * elf/ldd.bash.in: Likewise.
52493 * elf/sprof.c (print_version): Likewise.
52494 * iconv/iconv_prog.c: Likewise.
52495 * iconv/iconvconfig.c: Likewise.
52496 * locale/programs/locale.c: Likewise.
52497 * locale/programs/localedef.c: Likewise.
52498 * malloc/memusage.sh: Likewise.
52499 * malloc/mtrace.pl: Likewise.
52500 * nscd/nscd.c (print_version): Likewise.
52501 * nss/getent.c: Likewise.
52502
a77e8cbc
UD
52503 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52504 PF_CAIF, and PF_ALG.
52505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52506
77e8bddf
AS
525072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52508
1f20b93a
AS
52509 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52510 (modules-names): Use them.
52511 (ifunc-test-modules, ifunc-pie-tests): Define.
52512 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52513 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52514 (test-extras): Likewise.
52515 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52516 $(compile-command.c).
52517 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52518 (all-built-dso): Define.
52519 (check-textrel.out, check-execstack.out): Depend on it.
52520
77e8bddf
AS
52521 * configure.in: Don't override --enable-multi-arch.
52522
bc425b33
UD
525232011-01-15 Ulrich Drepper <drepper@gmail.com>
52524
52525 [BZ #6812]
52526 * nscd/hstcache.c (tryagain): Define.
52527 (cache_addhst): Return tryagain not notfound for temporary errors.
52528 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52529 failed.
52530
794c3ad3
UD
525312011-01-14 Ulrich Drepper <drepper@gmail.com>
52532
70181fdd
UD
52533 [BZ #10563]
52534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52535 to make the syscall.
52536 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52537
794c3ad3
UD
52538 [BZ #12378]
52539 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52540 and fall back to matching as normal character if the string ends before
52541 the matching ']' is found. This is what POSIX requires.
52542 * posix/testfnm.c: Adjust test result.
52543 * posix/globtest.sh: Adjust test result. Add new test.
52544 * posix/tst-fnmatch.input: Likewise.
52545 * posix/tst-fnmatch2.c: Add new test.
52546
68dc9497
AS
525472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52548
52549 * elf/Makefile (check-execstack): Revert last change. Depend on
52550 check-execstack.h.
52551 (check-execstack.h): New target.
52552 (generated): Add check-execstack.h.
52553 * elf/check-execstack.c: Include "check-execstack.h".
52554 (main): Revert last change.
52555 (handle_file): Return zero if GNU_STACK is absent and
52556 DEFAULT_STACK_PERMS doesn't include PF_X.
52557
451f001b
UD
525582011-01-13 Ulrich Drepper <drepper@gmail.com>
52559
cfa28e56
UD
52560 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52561 in child fails because the descriptor is already closed.
8cf8ce17
UD
52562 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52563 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52564 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52565
1086d70d
UD
52566 [BZ #12397]
52567 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52568 syscall.
52569
451f001b
UD
52570 [BZ #10484]
52571 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52572 temporary buffer used to handle multi lookups locally.
a85b5cb4 52573 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52574
08769175
UD
525752011-01-12 Ulrich Drepper <drepper@gmail.com>
52576
52577 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52578 loader is ld.so.
52579
5e49c52e
UD
525802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52581
52582 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52583 alignment for SSE2.
52584
60522a5f
UD
525852011-01-12 Ulrich Drepper <drepper@gmail.com>
52586
52587 [BZ #12394]
52588 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52589 characters. When rounding increased number of integer digits recompute
52590 number of groups.
52591 * stdio-common/tst-grouping.c: New file.
52592 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52593
f257bbd7
UD
525942011-01-09 Ulrich Drepper <drepper@gmail.com>
52595
52596 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52597 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52598
52599 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52600 void.
52601 * bits/select.h: Likewise.
52602
fa9c15cb
UD
526032011-01-08 Ulrich Drepper <drepper@gmail.com>
52604
52605 * po/ja.po: Update from translation team.
52606
16c2895f
DM
526072011-01-04 David S. Miller <davem@sunset.davemloft.net>
52608
52609 [BZ #11155]
52610 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52611 implementation just like for lxstat, fxstatat, et al.
52612
2543fef2
JM
526132010-12-27 Jim Meyering <meyering@redhat.com>
52614
52615 [BZ #12348]
52616 * posix/regexec.c (build_trtable): Return failure indication upon
52617 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52618
98727dbe
UD
526192010-12-25 Ulrich Drepper <drepper@gmail.com>
52620
5bd6dc5c
UD
52621 [BZ #12201]
52622 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52623 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52626
97983464
UD
52627 [BZ #12207]
52628 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52629
98727dbe
UD
52630 [BZ #12204]
52631 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52632 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52633
4a531bb0
L
526342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52635
52636 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52637 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52638 script has SORT_BY_INIT_PRIORITY.
52639 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52640 NO_CTORS_DTORS_SECTIONS is defined.
52641 * elf/soinit.c: Likewise.
52642 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52643 NO_CTORS_DTORS_SECTIONS is defined.
52644 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52645 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52646 * sysdeps/sh/init-first.c: Likewise.
52647 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52648
07eb4b71
UD
526492010-12-24 Ulrich Drepper <drepper@gmail.com>
52650
52651 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52652 always use the slow path.
52653
30950a5f
RA
526542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52655
52656 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52657 similar rule which adds the sysdep directories to the header search in
52658 order to pick up the correct platform stackinfo.h.
52659 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52660 perform test if it is, otherwise return successfully without testing.
52661 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52662 DEFAULT_STACK_PERMS define in stackinfo.h.
52663 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52664 defined in stackinfo.h.
52665 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52666 DEFAULT_STACK_PERMS defined in stackinfo.h.
52667 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52668 * sysdeps/ia64/stackinfo.h: Likewise.
52669 * sysdeps/s390/stackinfo.h: Likewise.
52670 * sysdeps/sh/stackinfo.h: Likewise.
52671 * sysdeps/sparc/stackinfo.h: Likewise.
52672 * sysdeps/x86_64/stackinfo.h: Likewise.
52673 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52674 PF_X for powerpc64. Retain PF_X for powerpc32.
52675
db753e2c
UD
526762010-12-19 Ulrich Drepper <drepper@gmail.com>
52677
14b697f7
UD
52678 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52679 accurately.
db753e2c
UD
52680 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52681 GETDENTS_64BIT_ALIGNED.
52682
28300719
UD
526832010-12-14 Ulrich Drepper <dreper@gmail.com>
52684
14b697f7 52685 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52686
4f197237
AS
526872010-12-10 Andreas Schwab <schwab@redhat.com>
52688
dbb0472f
AS
52689 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52690 _GNU_SOURCE.
52691
4f197237
AS
52692 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52693 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52694 Remove __restrict.
52695 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52696 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52697
fb88ac72
UD
526982010-12-09 Ulrich Drepper <drepper@gmail.com>
52699
52700 [BZ #11655]
52701 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52702 are initialized.
52703
42acbb92
JJ
527042010-12-09 Jakub Jelinek <jakub@redhat.com>
52705
52706 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52707
c038d98d
UD
527082010-12-03 Ulrich Drepper <drepper@gmail.com>
52709
52710 * po/it.po: Update from translation team.
52711
3a4a2499
L
527122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52713
52714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52715 unused codes.
52716
1e24cf6e
UD
527172010-11-30 Ulrich Drepper <drepper@gmail.com>
52718
52719 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52720
a7690819
AS
527212010-11-24 Andreas Schwab <schwab@redhat.com>
52722
52723 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52724 specially.
52725 (gaih_getanswer_slice): Likewise.
52726
3bf8d1b1
JJ
527272010-10-20 Jakub Jelinek <jakub@redhat.com>
52728
52729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52730
6db52fbb
PB
527312010-05-31 Petr Baudis <pasky@suse.cz>
52732
52733 [BZ #11149]
52734 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52735 silently even in the chroot mode.
52736
eaca7569
UD
527372010-11-22 Ulrich Drepper <drepper@gmail.com>
52738
52739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52740 last patch a bit. Pretty printing
52741
3056dcdb
UD
527422010-05-31 Petr Baudis <pasky@suse.cz>
52743
52744 [BZ #10085]
52745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52746 initialization of skip_initgroups_dyn.
52747
cf7c9078
UD
527482010-11-19 Ulrich Drepper <drepper@gmail.com>
52749
52750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52752
a1fb5e3e
UD
527532010-11-16 Ulrich Drepper <drepper@gmail.com>
52754
52755 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52756
3540d66b
AS
527572010-11-11 Andreas Schwab <schwab@redhat.com>
52758
52759 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52760 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52761 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52762 ($(objpfx)tst-fnmatch-mem): New rule.
52763 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52764 * posix/tst-fnmatch.c (main): Call mtrace.
52765
13b69574
L
527662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52767
52768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52769 Support Intel processor model 6 and model 0x2c.
52770
da93d214
LM
527712010-11-10 Luis Machado <luisgpm@br.ibm.com>
52772
52773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52774 signed comparison.
52775
8ca52c6e
L
527762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52777
52778 [BZ #12205]
52779 * string/test-strncasecmp.c (check_result): New function.
52780 (do_one_test): Use it.
52781 (check1): New function.
52782 (test_main): Use it.
52783 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52784 Support strcasecmp and strncasecmp.
52785
69da074d
UD
527862010-11-08 Ulrich Drepper <drepper@gmail.com>
52787
52788 [BZ #12194]
52789 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52791
ff02d528
L
527922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52793
52794 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52795 IFUNC support.
52796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52797 memset-x86-64.
52798 * sysdeps/x86_64/multiarch/bzero.S: New file.
52799 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52800 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52801 * sysdeps/x86_64/multiarch/memset.S: New file.
52802 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52804 Set bit_Prefer_SSE_for_memop for Intel processors.
52805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52806 Define.
52807 (index_Prefer_SSE_for_memop): Define.
52808 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52809
344d0b54
LM
528102010-11-04 Luis Machado <luisgpm@br.ibm.com>
52811
52812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52814
c0dde15b
UD
528152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52816
52817 [BZ #12191]
52818 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52819 (__x86_64_raw_data_cache_size_half): Likewise.
52820 (__x86_64_raw_shared_cache_size): Likewise.
52821 (__x86_64_raw_shared_cache_size_half): Likewise.
52822
52823 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52824 (__x86_64_raw_data_cache_size_half): Likewise.
52825 (__x86_64_raw_shared_cache_size): Likewise.
52826 (__x86_64_raw_shared_cache_size_half): Likewise.
52827 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52828 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52829 and __x86_64_raw_shared_cache_size_half. Round
52830 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52831 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52832 to multiple of 256 bytes.
52833
0e516e0e
MS
528342010-11-03 Ulrich Drepper <drepper@gmail.com>
52835
52836 [BZ #12167]
52837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52838 of inacessible symlinks. Verify result of symlink before returning it.
52839 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52840 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52841
0e012e87
ER
528422010-10-28 Erich Ritz <erichritz@gmail.com>
52843
52844 * math/math.h (isinf): Fix typo in comment.
52845
de0ff7bc
UD
528462010-11-01 Ulrich Drepper <drepper@gmail.com>
52847
52848 * po/da.po: Update from translation team.
52849
fa41c84d
UD
528502010-10-26 Ulrich Drepper <drepper@gmail.com>
52851
52852 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52853 is added to the list.
52854
f0967738
AK
528552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52856 Ulrich Drepper <drepper@gmail.com>
52857
52858 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52859 the global list here. Move code to...
52860 (_dl_add_to_namespace_list): ...here. New function.
52861 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52862 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52863 * elf/dl-load.c (lose): Don't remove the element from the list.
52864 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52865 (_dl_map_object): Likewise.
52866
528672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52868
52869 [BZ #12159]
52870 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52871 into all bytes of SSE register.
52872 Patch by Richard Li <richardpku@gmail.com>.
52873
f0967738 528742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52875
52876 [BZ #12140]
52877 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52878 perturbing.
52879
d0b9e94f
MB
528802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52881
52882 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52883 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52884 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52887 submachine.
52888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52889
8e9f92e9
AS
528902010-10-22 Andreas Schwab <schwab@redhat.com>
52891
52892 * include/dlfcn.h (__RTLD_SECURE): Define.
52893 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52894 mode & __RTLD_SECURE instead.
52895 (open_path): Rename preloaded parameter to secure.
52896 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52897 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52898 * elf/dl-deps.c (openaux): Likewise.
52899 * elf/rtld.c (struct map_args): Remove is_preloaded.
52900 (map_doit): Don't use it.
52901 (dl_main): Likewise.
52902 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52903 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52904
bc96fbda
AS
529052010-09-09 Andreas Schwab <schwab@redhat.com>
52906
52907 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52908 (sysd-rules-targets): Remove duplicates.
52909 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52910 rtld-%.$o dependency.
52911
22cd1c9b
AS
529122010-10-18 Andreas Schwab <schwab@redhat.com>
52913
52914 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52915 _dl_map_object do it.
52916
18edac48
UD
529172010-10-19 Ulrich Drepper <drepper@gmail.com>
52918
52919 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52920 fast fma builtins, define the macros in the C99 standard.
52921 (FP_FAST_FMAF): Likewise.
52922 (FP_FAST_FMAL): Likewise.
52923 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52924
52925 * bits/mathdef.h: Update copyright year.
52926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52927
d2050124
MM
529282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52929
52930 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52931 builtins, define the macros in the C99 standard.
52932 (FP_FAST_FMAF): Likewise.
52933 (FP_FAST_FMAL): Likewise.
52934 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52935 multiply/add.
52936 (FP_FAST_FMAF): Likewise.
52937
475facd1
JJ
529382010-10-15 Jakub Jelinek <jakub@redhat.com>
52939
52940 [BZ #3268]
52941 * math/libm-test.inc (fma_test): Some new testcases.
52942 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52944 y and infinite z. Do multiplication by C already in long double.
52945 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52947 y and infinite z. Do bitwise or of inexact bit into u.d.
52948 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52949 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52950 * sysdeps/i386/fpu/s_fma.S: Removed.
52951 * sysdeps/i386/fpu/s_fmal.S: Removed.
52952
7c08a05c
JJ
529532010-10-16 Jakub Jelinek <jakub@redhat.com>
52954
52955 [BZ #3268]
52956 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52958 computation is not scheduled after fetestexcept. Fix value
52959 of minimum denormal long double.
52960
f3f7372d
JJ
529612010-10-14 Jakub Jelinek <jakub@redhat.com>
52962
52963 [BZ #3268]
52964 * math/libm-test.inc (fma_test): Add some more tests.
52965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52966 correctly.
52967
14d43591
AS
529682010-10-15 Andreas Schwab <schwab@redhat.com>
52969
52970 * scripts/data/localplt-s390-linux-gnu.data: New file.
52971 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52972
5e908464
JJ
529732010-10-13 Jakub Jelinek <jakub@redhat.com>
52974
52975 [BZ #3268]
52976 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52977 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52978 instead of dbl-64.
52979 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52980 inlines.
52981 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52983 if one of x and y is very large and the other is subnormal.
52984 * sysdeps/s390/fpu/s_fmaf.c: New file.
52985 * sysdeps/s390/fpu/s_fma.c: New file.
52986 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52987 * sysdeps/powerpc/fpu/s_fma.S: New file.
52988 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52989 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52990 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52991
529922010-10-12 Jakub Jelinek <jakub@redhat.com>
52993
52994 [BZ #3268]
52995 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52996 fma tests.
52997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52998 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52999 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53000 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53001 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53002 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53003 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53004
b833d51f
UD
530052010-10-12 Ulrich Drepper <drepper@redhat.com>
53006
53007 [BZ #12078]
53008 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53009 * posix/bug-regex31.input: Add test case.
53010
1751705d
UD
530112010-10-11 Ulrich Drepper <drepper@gmail.com>
53012
e9b9cbf5
UD
53013 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53014 * posix/bug-regex31.input: New file.
53015
53016 [BZ #12078]
53017 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53018 (parse_sub_exp): Fix last change, use postorder.
53019
ef06edbe
UD
53020 * posix/bug-regex31.c: New file.
53021 * posix/Makefile: Add rules to build and run bug-regex31.
53022
a129c80d
UD
53023 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53024
53025 [BZ #12078]
53026 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53027
b76b818e
UD
53028 [BZ #12108]
53029 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53030 to have entries in sys_siglist.
53031
1751705d
UD
53032 [BZ #12093]
53033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53034 be NULL.
53035
9ff8d36f
JJ
530362010-10-07 Jakub Jelinek <jakub@redhat.com>
53037
53038 [BZ #3268]
53039 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53040 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53041 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53042 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53043 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53044 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53045 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53046 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53047 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53048 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53049 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53050 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53051 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53052 * math/ftestexcept.c (fetestexcept): Likewise.
53053 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53054 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53055 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53056 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53057 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53058 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53059 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53060
af325969
UD
530612010-10-11 Ulrich Drepper <drepper@gmail.com>
53062
c579b202 53063 [BZ #12107]
af325969
UD
53064 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53065 newline.
53066
67a67b95
UD
530672010-10-06 Ulrich Drepper <drepper@gmail.com>
53068
53069 * string/bug-strstr1.c: New file.
53070 * string/Makefile: Add rules to build and run bug-strstr1.
53071
5fb308bc
EB
530722010-10-05 Eric Blake <eblake@redhat.com>
53073
53074 [BZ #12092]
53075 * string/str-two-way.h (two_way_long_needle): Always clear memory
53076 when skipping input due to the shift table.
53077
45db99c7
UD
530782010-10-03 Ulrich Drepper <drepper@gmail.com>
53079
3b111893
UD
53080 [BZ #12005]
53081 * malloc/mcheck.c: Handle large requests.
53082
45db99c7
UD
53083 [BZ #12077]
53084 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53085 for strncmp and strncasecmp.
53086 * string/stratcliff.c: Add tests for strcmp and strncmp.
53087 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53088
cf7a1eb8
NI
530892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53090
53091 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53092 __set_fpscr.
53093
6484ba5e
AJ
530942010-09-30 Andreas Jaeger <aj@suse.de>
53095
53096 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53097 (CGROUP_SUPER_MAGIC): Define.
53098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53099 Handle btrfs and cgroup file systems.
53100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53101 Likewise.
53102
91c42559
LM
531032010-09-27 Luis Machado <luisgpm@br.ibm.com>
53104
53105 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53106 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53107
87a97932
AK
531082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53109
53110 [BZ #12067]
53111 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53112 trying to locate the ELF header.
53113
c21cc9bc
AS
531142010-09-27 Andreas Schwab <schwab@redhat.com>
53115
53116 [BZ #11611]
53117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53118 Mask out sign-bit copies when constructing f_fsid.
53119
315970f6
PB
531202010-09-24 Petr Baudis <pasky@suse.cz>
53121
53122 * debug/stack_chk_fail_local.c: Add missing licence exception.
53123 * debug/warning-nop.c: Likewise.
53124
1ac7a2c7
JM
531252010-09-15 Joseph Myers <joseph@codesourcery.com>
53126
53127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53128 implementing getdents64 using getdents syscall, set d_type if
53129 __ASSUME_GETDENTS32_D_TYPE.
53130
56801c50
AS
531312010-09-16 Andreas Schwab <schwab@redhat.com>
53132
53133 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53134 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53135
dda51327
UD
531362010-09-21 Ulrich Drepper <drepper@redhat.com>
53137
53138 [BZ #12037]
53139 * posix/unistd.h: Undo change of feature selection for ftruncate from
53140 2010-01-11.
53141
8ffcee4a
UD
531422010-09-20 Ulrich Drepper <drepper@redhat.com>
53143
a545ecd9 53144 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53145 detection.
53146
e24f0a8b
AS
531472010-09-20 Andreas Schwab <schwab@redhat.com>
53148
53149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53150 fanotify_mark.
53151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53152
7291c56f
AS
531532010-09-14 Andreas Schwab <schwab@redhat.com>
53154
53155 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53156 variables after CHECK_SP call.
53157 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53158
bc5fb037
AS
531592010-09-13 Andreas Schwab <schwab@redhat.com>
53160 Ulrich Drepper <drepper@redhat.com>
53161
53162 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53163 re-relocationg ld.so.
53164 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53165 _dl_init_paths call.
53166 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53167 here anymore.
53168
e66e7419
UD
531692010-09-14 Ulrich Drepper <drepper@redhat.com>
53170
53171 * resolv/res_init.c (__res_vinit): Count the default server we added.
53172
c044aa75
CLT
531732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53174 Ulrich Drepper <drepper@redhat.com>
53175
53176 [BZ #11968]
53177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53178 (____longjmp_chk): Use %ebx for saving value across system call.
53179 Add unwind info.
53180
32cf4069
AS
531812010-09-06 Andreas Schwab <schwab@redhat.com>
53182
53183 * manual/Makefile: Don't mix pattern rules with normal rules.
53184
817328ee
AS
531852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53186
53187 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53188 operation.
53189 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53190 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53191 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53192 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53194 Likewise.
53195
29fddf61
UD
531962010-09-04 Ulrich Drepper <drepper@redhat.com>
53197
53198 [BZ #11979]
53199 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53200 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53201
0959ffc9
UD
532022010-09-02 Ulrich Drepper <drepper@redhat.com>
53203
53204 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53205 * sysdeps/x86_64/addmul_1.S: Likewise.
53206 * sysdeps/x86_64/lshift.S: Likewise.
53207 * sysdeps/x86_64/mul_1.S: Likewise.
53208 * sysdeps/x86_64/rshift.S: Likewise.
53209 * sysdeps/x86_64/sub_n.S: Likewise.
53210 * sysdeps/x86_64/submul_1.S: Likewise.
53211
ece29840
ST
532122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53213
0959ffc9
UD
53214 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53215 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53216 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53217 * bits/sched.h [__need_schedparam]
ece29840 53218 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53219 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53220 (__defined_schedparam): Define to 1.
ece29840
ST
53221 (__sched_param): New structure, identical to sched_param.
53222 (__need_schedparam): Undefine.
53223
e53a31fe
MF
532242010-08-31 Mike Frysinger <vapier@gentoo.org>
53225
fdc0c10d
MF
53226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53227 (epoll_create1): Declare.
53228
e53a31fe
MF
53229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53230
a726d796
AS
532312010-08-31 Andreas Schwab <schwab@redhat.com>
53232
53233 [BZ #7066]
53234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53235 shifting retval into place.
53236
2f3e3dc7
UD
532372010-09-01 Ulrich Drepper <drepper@redhat.com>
53238
f2933da9
UD
53239 * nis/rpcsvc/nis.h: Update copyright notice.
53240 * nis/rpcsvc/nis.x: Likewise.
53241 * nis/rpcsvc/nis_callback.h: Likewise.
53242 * nis/rpcsvc/nis_callback.x: Likewise.
53243 * nis/rpcsvc/nis_object.x: Likewise.
53244 * nis/rpcsvc/nis_tags.h: Likewise.
53245 * nis/rpcsvc/yp.h: Likewise.
53246 * nis/rpcsvc/yp.x: Likewise.
53247 * nis/rpcsvc/ypupd.h: Likewise.
53248 * nis/yp_xdr.c: Likewise.
53249 * nis/ypupdate_xdr.c: Likewise.
53250
2f3e3dc7
UD
53251 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53252 mainly the body of pmap_getport. Add parameters to specify timeouts.
53253 (pmap_getport): Use __libc_rpc_getport.
53254 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53255 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53256 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53257
f3dcc2f9
AS
532582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53259
53260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53261 fanotify_mark.
53262
6d34eb5b
RM
532632010-08-27 Roland McGrath <roland@redhat.com>
53264
53265 * sysdeps/i386/i686/multiarch/Makefile
53266 (CFLAGS-varshift.c): New variable.
53267
9ea3de11
UD
532682010-08-27 Ulrich Drepper <drepper@redhat.com>
53269
c96d23fc
UD
53270 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53271 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53272
9ea3de11
UD
53273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53274
53275 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53276
623aac7f
L
532772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53278
53279 * sysdeps/x86_64/strlen.S: Unroll the loop.
53280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53281 strlen-sse2 strlen-sse2-bsf.
53282 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53283 __strlen_no_bsf if bit_Slow_BSF is set.
53284 (__strlen_sse42): Removed.
53285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53286 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53287
8b2b7715
RM
532882010-08-25 Roland McGrath <roland@redhat.com>
53289
53290 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53291 * sysdeps/x86_64/multiarch/varshift.c: New file.
53292 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53293 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53294 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53295 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53296
e73015f2
L
532972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53298
53299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53300 strlen-sse2 strlen-sse2-bsf.
53301 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53302 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53303 (__strlen_sse2): Removed.
53304 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53307 bit_Slow_BSF for Atom.
53308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53309 (index_Slow_BSF): Define.
53310 (HAS_SLOW_BSF): Define.
53311
df24a73e
UD
533122010-08-25 Ulrich Drepper <drepper@redhat.com>
53313
53314 [BZ #10851]
53315 * resolv/res_init.c (__res_vinit): When no server address at all
53316 is given default to loopback.
53317
f2ac4868
RM
533182010-08-24 Roland McGrath <roland@redhat.com>
53319
09055553
RM
53320 * configure.in: Remove config-name.h generation.
53321 * configure: Regenerated.
53322 * config-name.in: File removed.
53323 * scripts/config-uname.sh: New file.
53324 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53325 ($(objdir)config-name.h): New target.
53326
f2ac4868
RM
53327 * sunrpc/rpc_parse.h: Avoid nested comment.
53328
73f27d5e
RH
533292010-08-24 Richard Henderson <rth@redhat.com>
53330 Ulrich Drepper <drepper@redhat.com>
53331 H.J. Lu <hongjiu.lu@intel.com>
53332
53333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53335 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53336 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53337 _mm_alignr_epi8 with _mm_loadu_si128.
53338 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53339 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53340 (__m128i_shift_right): Removed.
53341 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53342 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53343 * sysdeps/x86_64/multiarch/varshift.h: New file.
53344 * sysdeps/x86_64/multiarch/varshift.S: New file.
53345
84b9230c
MF
533462010-08-21 Mike Frysinger <vapier@gentoo.org>
53347
53348 * configure.in: Move assembler checks to before sysdep dir checking.
53349
9bbd0ddc
PB
533502010-08-20 Petr Baudis <pasky@suse.cz>
53351
53352 * LICENSES: Sync the sunrpc license.
53353
9da4bb31
UD
533542010-08-19 Ulrich Drepper <drepper@redhat.com>
53355
a7ab6ec8
UD
53356 * sunrpc/auth_des.c: Update copyright notice once again.
53357 * sunrpc/auth_none.c: Likewise.
53358 * sunrpc/auth_unix.c: Likewise.
53359 * sunrpc/authdes_prot.c: Likewise.
53360 * sunrpc/authuxprot.c: Likewise.
53361 * sunrpc/bindrsvprt.c: Likewise.
53362 * sunrpc/clnt_gen.c: Likewise.
53363 * sunrpc/clnt_perr.c: Likewise.
53364 * sunrpc/clnt_raw.c: Likewise.
53365 * sunrpc/clnt_simp.c: Likewise.
53366 * sunrpc/clnt_tcp.c: Likewise.
53367 * sunrpc/clnt_udp.c: Likewise.
53368 * sunrpc/clnt_unix.c: Likewise.
53369 * sunrpc/des_crypt.c: Likewise.
53370 * sunrpc/des_soft.c: Likewise.
53371 * sunrpc/get_myaddr.c: Likewise.
53372 * sunrpc/getrpcport.c: Likewise.
53373 * sunrpc/key_call.c: Likewise.
53374 * sunrpc/key_prot.c: Likewise.
53375 * sunrpc/openchild.c: Likewise.
53376 * sunrpc/pm_getmaps.c: Likewise.
53377 * sunrpc/pm_getport.c: Likewise.
53378 * sunrpc/pmap_clnt.c: Likewise.
53379 * sunrpc/pmap_prot.c: Likewise.
53380 * sunrpc/pmap_prot2.c: Likewise.
53381 * sunrpc/pmap_rmt.c: Likewise.
53382 * sunrpc/rpc/auth.h: Likewise.
53383 * sunrpc/rpc/auth_unix.h: Likewise.
53384 * sunrpc/rpc/clnt.h: Likewise.
53385 * sunrpc/rpc/des_crypt.h: Likewise.
53386 * sunrpc/rpc/key_prot.h: Likewise.
53387 * sunrpc/rpc/netdb.h: Likewise.
53388 * sunrpc/rpc/pmap_clnt.h: Likewise.
53389 * sunrpc/rpc/pmap_prot.h: Likewise.
53390 * sunrpc/rpc/pmap_rmt.h: Likewise.
53391 * sunrpc/rpc/rpc.h: Likewise.
53392 * sunrpc/rpc/rpc_des.h: Likewise.
53393 * sunrpc/rpc/rpc_msg.h: Likewise.
53394 * sunrpc/rpc/svc.h: Likewise.
53395 * sunrpc/rpc/svc_auth.h: Likewise.
53396 * sunrpc/rpc/types.h: Likewise.
53397 * sunrpc/rpc/xdr.h: Likewise.
53398 * sunrpc/rpc_clntout.c: Likewise.
53399 * sunrpc/rpc_cmsg.c: Likewise.
53400 * sunrpc/rpc_common.c: Likewise.
53401 * sunrpc/rpc_cout.c: Likewise.
53402 * sunrpc/rpc_dtable.c: Likewise.
53403 * sunrpc/rpc_hout.c: Likewise.
53404 * sunrpc/rpc_main.c: Likewise.
53405 * sunrpc/rpc_parse.c: Likewise.
53406 * sunrpc/rpc_parse.h: Likewise.
53407 * sunrpc/rpc_prot.c: Likewise.
53408 * sunrpc/rpc_sample.c: Likewise.
53409 * sunrpc/rpc_scan.c: Likewise.
53410 * sunrpc/rpc_scan.h: Likewise.
53411 * sunrpc/rpc_svcout.c: Likewise.
53412 * sunrpc/rpc_tblout.c: Likewise.
53413 * sunrpc/rpc_util.c: Likewise.
53414 * sunrpc/rpc_util.h: Likewise.
53415 * sunrpc/rpcinfo.c: Likewise.
53416 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53417 * sunrpc/rpcsvc/key_prot.x: Likewise.
53418 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53419 * sunrpc/rpcsvc/mount.x: Likewise.
53420 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53421 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53422 * sunrpc/rpcsvc/rex.x: Likewise.
53423 * sunrpc/rpcsvc/rstat.x: Likewise.
53424 * sunrpc/rpcsvc/rusers.x: Likewise.
53425 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53426 * sunrpc/rpcsvc/spray.x: Likewise.
53427 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53428 * sunrpc/rtime.c: Likewise.
53429 * sunrpc/svc.c: Likewise.
53430 * sunrpc/svc_auth.c: Likewise.
53431 * sunrpc/svc_authux.c: Likewise.
53432 * sunrpc/svc_raw.c: Likewise.
53433 * sunrpc/svc_run.c: Likewise.
53434 * sunrpc/svc_simple.c: Likewise.
53435 * sunrpc/svc_tcp.c: Likewise.
53436 * sunrpc/svc_udp.c: Likewise.
53437 * sunrpc/svc_unix.c: Likewise.
53438 * sunrpc/svcauth_des.c: Likewise.
53439 * sunrpc/xcrypt.c: Likewise.
53440 * sunrpc/xdr.c: Likewise.
53441 * sunrpc/xdr_array.c: Likewise.
53442 * sunrpc/xdr_float.c: Likewise.
53443 * sunrpc/xdr_mem.c: Likewise.
53444 * sunrpc/xdr_rec.c: Likewise.
53445 * sunrpc/xdr_ref.c: Likewise.
53446 * sunrpc/xdr_sizeof.c: Likewise.
53447 * sunrpc/xdr_stdio.c: Likewise.
53448
9da4bb31
UD
53449 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53450 handling.
53451
bdaa77bc
AS
534522010-08-19 Andreas Schwab <schwab@redhat.com>
53453
53454 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53455
fe2f79db
LM
534562010-08-19 Luis Machado <luisgpm@br.ibm.com>
53457
53458 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53459 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53460 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53461 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53463 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53464 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53465 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53468 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53470 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53471 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53472
b9b42ee0
AB
534732010-07-26 Anton Blanchard <anton@samba.org>
53474
53475 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53476 * malloc/arena.c (heap_trim): Likewise.
53477
1c06ba31
UD
534782010-08-16 Ulrich Drepper <drepper@redhat.com>
53479
53480 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53481 here. Not...
53482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53483 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53484
f8392f40
L
534852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53486
53487 * sysdeps/i386/elf/Makefile: New file.
53488
3162f12e
AS
534892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53490
53491 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53492 from fanotify_init.
53493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53495
28c90b2c
UD
534962010-08-15 Ulrich Drepper <drepper@redhat.com>
53497
53498 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53499 of strncasecmp_l.
1feccb6c 53500 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53501
ca6bb004
UD
535022010-08-14 Ulrich Drepper <drepper@redhat.com>
53503
e9f82e0d
UD
53504 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53505 strncase_l-nonascii.
53506 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53507 Add strncase_l-ssse3.
53508 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53509 * sysdeps/x86_64/strcmp.S: Likewise.
53510 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53511 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53512 * sysdeps/x86_64/strncase.S: New file.
53513 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53514 * sysdeps/x86_64/strncase_l.S: New file.
53515 * string/Makefile (strop-tests): Add strncasecmp.
53516 * string/test-strncasecmp.c: New file.
53517
53518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53519 warning.
53520
ca6bb004
UD
53521 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53523
052fa7b3
AS
535242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53525
53526 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53527
962dba78
UD
535282010-08-12 Ulrich Drepper <drepper@redhat.com>
53529
53530 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53532 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53533
bebff237
AM
535342010-05-01 Alan Modra <amodra@gmail.com>
53535
53536 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53537 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53538 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53539 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53540 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53541 tidying. Don't tail-call __sigjmp_save for static lib.
53542 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53543 save location.
53544 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53545 (CALL_MCOUNT): Add eh info, and nop after bl.
53546 (TAIL_CALL_SYSCALL_ERROR): New macro.
53547 (PSEUDO_RET): Use it.
53548 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53549 Correct save location of integer regs and cr.
53550 (_dl_profile_resolve): Correct cr save location. Delete nops
53551 after bl when SHARED. Reduce cfi size a little by better
53552 placement of cfi directives.
53553 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53554 make a stack frame. Instead use parm save area as a temp.
53555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53556 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53558 Don't make a stack frame for parent, use parm save area.
53559 Increase child stack frame to 112 bytes. Don't save unused reg,
53560 and adjust reg usage. Set up cfi on error recovery and
53561 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53563 (__makecontext): Add dummy nop after jump to exit.
53564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53565 Use correct parm save area and cr save, reduce stack frame.
53566 Correct cfi for possible PSEUDO_RET frame setup.
53567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53568 Branch to local label emitted by PSEUDO_RET rather than
53569 __syscall_error.
53570
02637374
AS
535712010-08-12 Andreas Schwab <schwab@redhat.com>
53572
53573 [BZ #11904]
53574 * locale/programs/locale.c (print_assignment): New function.
53575 (show_locale_vars): Use it.
53576
c3e2f19b
UD
535772010-08-11 Ulrich Drepper <drepper@redhat.com>
53578
3cdaa6ad
UD
53579 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53580 field.
53581 (struct statfs64): Likewise.
53582 (_STATFS_F_FLAGS): Define.
53583 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53585 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53586 (ST_VALID): Define locally.
53587 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53588 __statvfs_getflags, use the provided value.
53589 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53590 __ASSUME_STATFS_F_FLAGS.
53591
754f7da3
UD
53592 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53593
10b3bedc
UD
53594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53595 Add sys/fanotify.h.
53596 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53597 fanotify_mask for GLIBC_2.13.
53598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53599 fanotify_init and fanotify_mark.
53600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53601 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53602
c08fb0d7
UD
53603 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53604 Add prlimit.
53605 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53606 prlimit64 for GLIBC_2.13.
53607 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53608 prlimit64.
53609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53610 syscall.
53611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53612 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53616 add prlimit alias.
53617 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53618
15bac72b
UD
53619 [BZ #11903]
53620 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53621 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53622
c3e2f19b
UD
53623 * nss/Makefile: Add rules to build and run tst-nss-test1.
53624 * shlib-versions: Add entry for libnss_test1.
53625 * nss/nss_test1.c: New file.
53626 * nss/tst-nss-test1.c: New file.
53627
53628 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53629 (__nss_configure_lookup): Set appropriate entry in
53630 __nss_configure_lookup to true.
53631 * nss/nsswitch.h: Define enum with indeces of databases in
53632 databases and __nss_database_custom arrays. Declare
53633 __nss_database_custom.
53634 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53635 to avoid using nscd when custom rules are installed.
53636 * nss/getXXbyYY_r.c: Likewise.
53637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53638
53639 * nss/nss_files/files-parse.c: Whitespace fixes.
53640
f15ce4d8
UD
536412010-08-09 Ulrich Drepper <drepper@redhat.com>
53642
53643 [BZ #11883]
53644 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53645 * posix/fnmatch_loop.c: Likewise.
53646
d22e4cc9
AK
536472010-07-17 Andi Kleen <ak@linux.intel.com>
53648
53649 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53650 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53651 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53652 * Versions.def [GLIBC_2.13]: Add.
53653
805bc17d
UD
536542010-08-06 Ulrich Drepper <drepper@redhat.com>
53655
53656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53657 Also fail if tpwd after pwuid call is NULL.
53658
5a42321d
ST
536592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53660
53661 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53662 when converting to ms.
53663
fd3ebeda
ST
536642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53665
53666 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53667 EOPNOTSUPP errors with ENOTTY.
53668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53669 EOPNOTSUPP errors with ENOTTY.
53670
73507d3a
UD
536712010-07-31 Ulrich Drepper <drepper@redhat.com>
53672
53673 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53674 Add strcasecmp_l-ssse3.
53675 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53676 strcasecmp.
53677 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53678 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53680
fe36dd02
UD
536812010-07-30 Ulrich Drepper <drepper@redhat.com>
53682
66f6765a
UD
53683 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53684
42e08a54
UD
53685 * string/Makefile (strop-tests): Add strcasecmp.
53686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53687 strcasecmp_l-nonascii.
53688 (gen-as-const-headers): Add locale-defines.sym.
53689 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53690 * sysdeps/x86_64/strcasecmp.S: New file.
53691 * sysdeps/x86_64/strcasecmp_l.S: New file.
53692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53693 * sysdeps/x86_64/locale-defines.sym: New file.
53694 * string/test-strcasecmp.c: New file.
53695
fe36dd02
UD
53696 * string/test-strcasestr.c: Test both ends of the range of characters.
53697 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53698
48cbc0d6
RM
536992010-07-29 Roland McGrath <roland@redhat.com>
53700
76e6d6bc 53701 [BZ #11856]
48cbc0d6
RM
53702 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53703
880113d9
UD
537042010-07-27 Ulrich Drepper <drepper@redhat.com>
53705
53706 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53707 for ld.so.
53708
deb9cabb
AS
537092010-07-27 Andreas Schwab <schwab@redhat.com>
53710
53711 * manual/memory.texi (Malloc Tunable Parameters): Document
53712 M_PERTURB.
53713
1c7570ff
RM
537142010-07-26 Roland McGrath <roland@redhat.com>
53715
53716 [BZ #11840]
53717 * configure.in (-fgnu89-inline check): Set and substitute
53718 gnu89_inline, not libc_cv_gnu89_inline.
53719 * configure: Regenerated.
53720 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53721
24fb0f88
UD
537222010-07-26 Ulrich Drepper <drepper@redhat.com>
53723
53724 * string/test-strnlen.c: New file.
53725 * string/Makefile (strop-tests): Add strnlen.
53726 * string/tester.c (test_strnlen): Add a few more test cases.
53727 * string/tst-strlen.c: Better error reporting.
53728
53729 * sysdeps/x86_64/strnlen.S: New file.
53730
8e96b93a
UD
537312010-07-24 Ulrich Drepper <drepper@redhat.com>
53732
53733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53734 lower-latency instructions.
53735
dbc676d4
UD
537362010-07-23 Ulrich Drepper <drepper@redhat.com>
53737
53738 * string/test-strcasestr.c: New file.
53739 * string/test-strstr.c: New file.
53740 * string/Makefile (strop-tests): Add strstr and strcasestr.
53741 * string/str-two-way.h: Don't undefine MAX.
53742 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53743
f6a31e0e
AS
537442010-07-21 Andreas Schwab <schwab@redhat.com>
53745
53746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53747 strcasestr-nonascii.
53748 (CFLAGS-strcasestr-nonascii.c): Define.
53749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53751 Remove unused attribute.
53752
5dbc3b6c
RM
537532010-07-20 Roland McGrath <roland@redhat.com>
53754
53755 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53756 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53757 ld.so.cache was broken. With it, there is no way to disable dsocaps
53758 like LD_HWCAP_MASK can disable hwcaps.
53759
23d101d8
EPM
537602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53761
53762 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53763
cc9f2e47
UD
537642010-07-16 Ulrich Drepper <drepper@redhat.com>
53765
53766 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53767 call in strcasestr.
53768 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53769 __strcasestr_sse42_nonascii.
53770 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53771 strcasestr-nonascii.c.
53772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53773
77c1b069
LM
537742010-06-15 Luis Machado <luisgpm@br.ibm.com>
53775
53776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53778 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53780
440566c3
UD
537812010-07-09 Ulrich Drepper <drepper@redhat.com>
53782
53783 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53784 fcntl.
53785
5be9d05d
AS
537862010-07-06 Andreas Schwab <schwab@redhat.com>
53787
c30b7ee2 53788 [BZ #11577]
5be9d05d
AS
53789 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53790 dl_signal_cerror.
53791
8a492a67
UD
537922010-07-06 Ulrich Drepper <drepper@redhat.com>
53793
53794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53795 _PC_PIPE_BUF using F_GETPIPE_SZ.
53796
713df3d5
RM
537972010-07-05 Roland McGrath <roland@redhat.com>
53798
53799 * manual/arith.texi (Rounding Functions): Fix rint description
53800 implicit in round description.
53801
702e8f14
UD
538022010-07-02 Ulrich Drepper <drepper@redhat.com>
53803
53804 * elf/Makefile: Fix linking for a few tests to make recent linker
53805 happy.
53806
52ed8be9
AS
538072010-06-30 Andreas Schwab <schwab@redhat.com>
53808
53809 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53810 $(common-objpfx)libc_nonshared.a.
53811
f47c9a11
LM
538122010-06-21 Luis Machado <luisgpm@br.ibm.com>
53813
53814 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53815 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53816 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53818 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53836 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53837 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53838 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53839 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53840 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53841 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53842 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53843 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53844 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53845 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53846 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53847 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53862
6fb8cbcb
L
538632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53864
53865 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53866 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53867 * string/memmove.c (memmove): Renamed to ...
53868 (MEMMOVE): ...this. Default to memmove.
53869 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53870 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53871 (END_CHK): Define.
53872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53873 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53874 mempcpy-ssse3-back memmove-ssse3-back.
53875 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53878 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53879 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53880 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53881 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53882 * sysdeps/x86_64/multiarch/memmove.c: New file.
53883 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53884 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53885 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53886 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53889 Define.
53890 (index_Fast_Copy_Backward): Define.
53891 (HAS_ARCH_FEATURE): Define.
53892 (HAS_FAST_REP_STRING): Define.
53893 (HAS_FAST_COPY_BACKWARD): Define.
53894
4e733bac 538952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53896
53897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53898 Restore proper fallback handling.
53899
63c4ed22
UD
539002010-06-19 Ulrich Drepper <drepper@redhat.com>
53901
ac2b484c
UD
53902 [BZ #11701]
53903 * posix/group_member.c (__group_member): Correct checking loop.
53904
63c4ed22
UD
53905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53906 OOM in getpwuid_r correctly. Return error number when the caller
53907 should return, otherwise -1.
53908 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53909 call returning > 0 value.
53910 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53911
765ade4b
AS
539122010-06-07 Andreas Schwab <schwab@redhat.com>
53913
53914 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53915 libc_nonshared.a from targets in modules-names.
53916
80da2e09
KS
539172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53918
53919 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53920 requires it.
53921
158db122
LM
539222010-06-10 Luis Machado <luisgpm@br.ibm.com>
53923
53924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53928
caa78cf8
AS
539292010-06-02 Andreas Schwab <schwab@redhat.com>
53930
53931 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53932
b2ef2c01
UD
539332010-06-14 Ulrich Drepper <drepper@redhat.com>
53934
53935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53936 and F_GETPIPE_SZ.
53937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53943
fbd643b6
RM
539442010-06-14 Roland McGrath <roland@redhat.com>
53945
53946 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53947
f32f2869
JJ
539482010-06-07 Jakub Jelinek <jakub@redhat.com>
53949
53950 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53951 __REDIRECT followed by __THROW.
53952 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53953 * posix/getopt.h (getopt): Likewise.
53954
2a50c078
EPM
539552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53956
53957 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53958 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53959 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53960 in AT_FLAGS.
53961 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53962 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53963
eb5ad2eb
LM
539642010-05-28 Luis Machado <luisgpm@br.ibm.com>
53965
53966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53967
3c88fe1e
L
539682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53969
53970 [BZ #11640]
53971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53972 Properly check family and model.
53973
d2f73151
TY
539742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53975
53976 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53977
ebd2e13d
LM
539782010-05-24 Luis Machado <luisgpm@br.ibm.com>
53979
53980 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53981
b32b8b45
UD
539822010-05-21 Ulrich Drepper <drepper@redhat.com>
53983
53984 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53985 symbol reference.
53986
9acbe24d
AS
539872010-05-19 Andreas Schwab <schwab@redhat.com>
53988
53989 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53990 symbol reference.
53991
f0ccf6ea
AS
539922010-05-21 Andreas Schwab <schwab@redhat.com>
53993
3d04ff3a
AS
53994 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53995 and internal_recvmmsg.
53996 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53997 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53999 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54000
f0ccf6ea
AS
54001 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54002 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54003 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54004
5b08ac57
AS
540052010-05-20 Andreas Schwab <schwab@redhat.com>
54006
54007 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54008
4828935d
LM
540092010-05-17 Luis Machado <luisgpm@br.ibm.com>
54010
54011 POWER7 optimizations.
54012 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54013 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54014
373d545e
UD
540152010-05-19 Ulrich Drepper <drepper@redhat.com>
54016
54017 * version.h: Update for 2.13 development version.
54018
21a2b1ae
AS
540192010-05-12 Andrew Stubbs <ams@codesourcery.com>
54020
54021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54022 exceptions. Return 0.
54023
3f7dcb2b
RM
540242010-05-07 Roland McGrath <roland@redhat.com>
54025
54026 * elf/ldconfig.c (main): Add a const.
54027
5f24d53a 540282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 54029
a160f8d8
UD
54030 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54031 (args_options): Add no-idn option.
54032 (ahosts_keys_int): Add idn_flags to ai_flags.
54033 (parse_option): Handle 'i' option to clear idn_flags.
54034
5f24d53a
UD
54035 * malloc/malloc.c (_int_free): Possible race in the most recently
54036 added check. Only act on the data if no current modification
54037 happened.
265bb1ce
UD
54038
54039See ChangeLog.17 for earlier changes.
This page took 7.67511 seconds and 5 git commands to generate.