]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use PTR_MANGLE on libgcc unwinder function pointers.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3eb5d2fc
RM
12014-12-16 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4 (init): Apply PTR_MANGLE to pointers before storing them.
5 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6 before using them.
7
d003ada2
JM
82014-12-16 Joseph Myers <joseph@codesourcery.com>
9
380292ba
JM
10 [BZ #17719]
11 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12 define as weak alias of __memrchr.
13 (__memrchr): Do not define as strong alias of memrchr.
14 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
15 Remove variable.
16 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19
9a44d530
JM
20 [BZ #17717]
21 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
23 (if_indextoname): Rename to __if_indextoname and define as weak
24 alias of __if_indextoname. Use libc_hidden_weak.
25 (if_freenameindex): Rename to __if_freenameindex and define as
26 weak alias of __if_freenameindex.
27 (if_nameindex): Rename to __if_nameindex and define as weak alias
28 of __if_nameindex.
29 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30 __if_nametoindex and define as weak alias of __if_nametoindex.
31 Use libc_hidden_weak.
32 (if_freenameindex): Rename to __if_freenameindex and define as
33 weak alias of __if_freenameindex.
34 (if_nameindex): Rename to __if_nameindex and define as weak alias
35 of __if_nameindex.
36 (if_indextoname): Rename to __if_indextoname and define as weak
37 alias of __if_indextoname. Use libc_hidden_weak.
38 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39 __if_nametoindex and define as weak alias of __if_nametoindex.
40 Use libc_hidden_weak.
41 (if_freenameindex): Rename to __if_freenameindex and define as
42 weak alias of __if_freenameindex. Use libc_hidden_weak.
43 (if_nameindex_netlink): Use __if_freenameindex instead of
44 if_freenameindex.
45 (if_nameindex): Rename to __if_nameindex and define as weak alias
46 of __if_nameindex. Use libc_hidden_weak.
47 (if_indextoname): Rename to __if_indextoname and define as weak
48 alias of __if_indextoname. Use libc_hidden_weak.
49 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
50 libc_hidden_proto.
51 [!_ISOMAC] (__if_freenameindex): Likewise.
52 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
53 if_nametoindex.
54 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
55 variable.
56 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
57 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
58 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
59 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
60 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
61 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
62 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
63
d003ada2
JM
64 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
65 Remove variable.
66 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
67 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
68
a0d424ef
SP
692014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
70
0cd85520
SP
71 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
72 subscript above bounds'
73
a0d424ef
SP
74 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
75 bounds.
76
0e426475
AS
772014-12-16 Arjun Shankar <arjun.is@lostca.se>
78
8b460906
AS
79 * libio/tst-fopenloc.c: Use test-skeleton.c.
80
fa13e15b
AS
81 * stdlib/tst-bsearch.c: Use test-skeleton.c.
82 (entry): Rename to ITEM.
83 (do_test, comp): Adjust.
84
0e426475
AS
85 * stdio-common/tst-fseek.c: Use test-skeleton.c.
86
4f646bce
TR
872014-12-16 Torvald Riegel <triegel@redhat.com>
88
89 * string/tester.c: Include <libc-internal.h>.
90 (test_memset): Ignore -Wmemset-transposed-args.
91
a07c4427
TR
922014-12-16 Torvald Riegel <triegel@redhat.com>
93
94 * misc/tst-mntent2.c (do_test): Fix warning.
95
1469f466
TR
962014-12-16 Torvald Riegel <triegel@redhat.com>
97
98 * elf/tst-unique4lib.cc(a): Mark as used.
99
11e3417a
FW
1002014-12-16 Florian Weimer <fweimer@redhat.com>
101
102 [BZ #17630]
103 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
104 names.
105
ae61fc7b
AM
1062014-12-16 Allan McRae <allan@archlinux.org>
107
108 * stdio-common/Makefile (tests): Re-add bug26.
109
363a9899
OB
1102014-12-15 Ondřej Bílka <neleai@seznam.cz>
111
112 [BZ #17657]
113 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
114 static array.
115
d52c62df
TR
1162014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
117
118 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
119 (__lll_lock_wait): Likewise.
120 (__lll_timedlock_wait): Likewise.
121 (__lll_timedwait_tid): Likewise.
122 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
123 (__lll_robust_timedlock_wait): Likewise.
124 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
125 (lll_cond_trylock): Likewise.
126 (__lll_lock): Likewise.
127 (__lll_robust_lock): Likewise.
128 (__lll_cond_lock): Likewise.
129 (lll_robust_cond_lock): Likewise.
130 (__lll_timedlock): Likewise.
131 (__lll_robust_timedlock): Likewise.
132 (__lll_unlock): Likewise.
133 (__lll_robust_unlock): Likewise.
134 (lll_wait_tid): Likewise.
135 (lll_timedwait_tid): Likewise.
136
045a6bcd
TR
1372014-12-15 Torvald Riegel <triegel@redhat.com>
138
139 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
140
7f786dc1
TR
1412014-12-15 Torvald Riegel <triegel@redhat.com>
142
143 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
144
e7e21cba
AZ
1452014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
146
147 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
148 * stdio-common/tst-sprintf.c: Likewise.
149
bc89c0fc
TR
1502014-12-15 Torvald Riegel <triegel@redhat.com>
151
152 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
153
a5357b7c
JL
1542014-12-15 Jeff Law <law@redhat.com>
155
156 [BZ #16617]
157 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
158 on the heap. (CVE-2012-3406)
159 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
160 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
161 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
162
3a12c70f
WN
1632014-12-15 Will Newton <will.newton@linaro.org>
164
165 * manual/install.texi: Bump required version of texinfo
166 to 4.7 from 4.5.
167 * INSTALL: Regenerated.
168 * configure.ac: Check for makeinfo version 4.7 and above.
169 * configure: Regenerated.
170
e4f639e4
RM
1712014-12-12 Roland McGrath <roland@hack.frob.com>
172
173 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
174 PREFIX, string constant to insert between directory and name.
175 * sysdeps/posix/shm_open.c: Update caller.
176 * sysdeps/posix/shm_unlink.c: Likewise.
177 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
178 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
179 (SEM_SHM_PREFIX): New macro.
180 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
181 [$(have-thread-library) = no].
182 * nptl/Makefile (libpthread-routines): Add shm-directory.
183 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
184 * sysdeps/nptl/shm-directory.h: New file.
185 * sysdeps/posix/shm-directory.c
186 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
187 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
188 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
189 INTERNAL_SYSCALL.
190 (__where_is_shmfs): Function removed.
191 (mountpoint, defaultmount, defaultdir, __namedsem_once):
192 Variables removed.
193 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
194 Use SHM_GET_NAME.
195 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
196
197 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
198 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
199 unconditional for use inside libpthread.
200 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
201
439c43f6
RM
2022014-12-12 Roland McGrath <roland@hack.frob.com>
203
c76d1ff5
RM
204 * nptl/pthread_getaffinity.c: New file.
205 * nptl/pthread_setaffinity.c: New file.
206 * nptl/pthread_getname.c: New file.
207 * nptl/pthread_setname.c: New file.
208
439c43f6
RM
209 * nptl/pthread_create.c (START_THREAD_DEFN)
210 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
211
48e435cd
SL
2122014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
213 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214
215 * resolv/res_send.c (send_vc): Disable warning resplen may
216 be used uninitialized.
217
9d9c0019
SL
2182014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
219
220 * nptl/tst-mutex6.c
221 (ATTR_NULL): New define checks ATTR against NULL.
222 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
223 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
224
9173840b
JL
2252014-12-11 James Lemke <jwlemke@codesourcery.com>
226
227 [BZ #17581]
228 * malloc/hooks.c
229 (mem2mem_check): Revert my previous change.
230 (malloc_check_get_size): Revert my previous change.
231 (mem2chunk_check): Revert my previous change.
232
78e21c5d
RM
2332014-12-11 Roland McGrath <roland@hack.frob.com>
234
235 * sysdeps/posix/shm-directory.c: New file.
236 * sysdeps/posix/shm-directory.h: New file.
237 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
238 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
239 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
240 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
241 Transmute EPERM to EACCES.
242 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
243 from ...
244 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
245 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
246
f82c43af
KK
2472014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
248
249 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
250 pointer and cast to uintptr_t.
251 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
252 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
253 Add cast to avoid warning.
254 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
255
fc00cf7b
JM
2562014-12-11 Joseph Myers <joseph@codesourcery.com>
257
258 * nptl/semaphore.h: Move to ...
259 * sysdeps/pthread/semaphore.h: ... here.
260 * Makefile (installed-headers): Change nptl/semaphore.h to
261 sysdeps/pthread/semaphore.h.
262
1c4053db
RM
2632014-12-11 Roland McGrath <roland@hack.frob.com>
264
73b0c1a1
RM
265 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
266 generated error format strings.
267
1c4053db
RM
268 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
269 -Wformat-extra-args warnings for scanf formats.
270 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
271 test of zero-length format (duh).
272 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
273 corner-case scanf format test.
274 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
275 generated fprintf format string.
276 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
277 corner-case sprintf format tests.
278 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
279 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
280 -Wformat-extra-args warnings throughout.
281 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
282 (CFLAGS-scanf4.c): Likewise.
283 (CFLAGS-scanf7.c): Likewise.
284 (CFLAGS-tst-sprintf.c): Likewise.
285 (CFLAGS-tst-printf.c): Likewise.
286 (CFLAGS-tst-printfsz.c): Likewise.
287
47d51f4f
JM
2882014-12-11 Joseph Myers <joseph@codesourcery.com>
289
a1edbf3c
JM
290 * include/cpio.h: New file.
291 * include/fmtmsg.h: Likewise.
292
47d51f4f
JM
293 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
294 corresponding format argument to size_t.
295 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
296 arguments.
297 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
298 corresponding format argument to size_t.
299 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
300 arguments.
301 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
302 corresponding format argument to size_t.
303 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
304 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
305 (CFLAGS-tst-mbswcs2.c): Likewise.
306 (CFLAGS-tst-mbswcs3.c): Likewise.
307 (CFLAGS-tst-mbswcs4.c): Likewise.
308 (CFLAGS-tst-mbswcs5.c): Likewise.
309 (CFLAGS-tst-trans.c): Likewise
310
e9813cfb
RM
3112014-12-11 Roland McGrath <roland@hack.frob.com>
312
313 * posix/regexbug1.c (main): Use "%s" format with regerror results,
314 rather than assuming they won't contain any '%'s.
315
f627ca82
CM
3162014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
317
318 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
319 inhibit_loop_to_libcall to avoid recursive calls.
320 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
321 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
322
7f296942
AZ
3232014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
324
325 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
326 prototype.
327
d0276e18
SE
3282014-12-11 Steve Ellcey <sellcey@imgtec.com>
329
330 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
331 integer value instead of boolean.
332
fc56e970
SE
3332014-12-11 Steve Ellcey <sellcey@imgtec.com>
334
335 * malloc/malloc.c: Fix powerof2 check.
336
40e53917
SL
3372014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
338
339 * locale/programs/locfile.h (maybe_swap_uint32):
340 Remove inline and add unused attribute.
341
1ea166df
SL
3422014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
343
9d9c0019 344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
345 Truncating assembler expression to a .long expression.
346
acf869f4
AS
3472014-12-11 Andreas Schwab <schwab@suse.de>
348
349 * elf/rtld.c (struct map_args): Constify str member.
350 (do_preload): Constify fname argument.
351
9d969099
AZ
3522014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
355 constants definition.
356
da5bcaa4
AS
3572014-12-11 Andreas Schwab <schwab@suse.de>
358
b0a3c164
AS
359 [BZ #16657]
360 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
361 FORCE_ELISION instead of DO_ELISION.
362 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
363 Remove.
364 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
365 Likewise.
366
da5bcaa4
AS
367 * iconvdata/gconv-modules: Remove duplicate entry.
368
6d248857
WN
3692014-12-11 Will Newton <will.newton@linaro.org>
370
371 Merge gettext 0.19.3 into intl/.
372
373 This involves a number of cosmetic changes to comments
374 and ANSI function definitions and prototypes throughout
375 all the files. The gettext copyright header is used but
376 with the date ranges taken from the glibc copy.
377
378 * NEWS: Add gettext merge to 2.21.
379 * intl/bindtextdom.c: Switch to gettext copyright.
380 Use ANSI definitions and prototypes.
381 Use gl_* locking primitives rather than __libc_* ones.
382 Use __builtin_expect rather than __glibc_likely/unlikely.
383 * intl/dcgettext.c: Switch to gettext copyright.
384 Use ANSI definitions and prototypes.
385 * intl/dcigettext.c: Switch to gettext copyright.
386 Use ANSI definitions and prototypes.
387 (INTDIV0_RAISES_SIGFPE): New define.
388 Use gl_* locking primitives rather than __libc_* ones.
389 Include eval-plural.h instead of plural-eval.c.
390 Use __builtin_expect rather than __glibc_likely/unlikely.
391 * intl/dcngettext.c: Switch to gettext copyright.
392 Use ANSI definitions and prototypes.
393 * intl/dgettext.c: Likewise.
394 * intl/dngettext.c: Likewise.
395 * intl/plural-eval.c: Renamed to...
396 * intl/eval-plural.h: ...this.
397 * intl/explodename.c: Switch to gettext copyright.
398 Use ANSI definitions and prototypes.
399 (_nl_explode_name): Use strchr instead of __rawmemchr.
400 * intl/finddomain.c: Switch to gettext copyright.
401 Use ANSI definitions and prototypes.
402 Use gl_* locking primitives rather than __libc_* ones.
403 (_nl_find_domain): Use malloc rather than alloca for
404 allocation of temporary locale name.
405 * intl/gettext.c: Switch to gettext copyright.
406 Use ANSI definitions and prototypes.
407 * intl/gettextP.h: Switch to gettext copyright.
408 Use ANSI definitions and prototypes.
409 Use gl_* locking primitives rather than __libc_* ones.
410 * intl/gmo.h: Switch to gettext copyright.
411 (struct sysdep_string): Move struct segment_pair outside of
412 struct definition.
413 * intl/hash-string.c: Use ANSI definitions and prototypes.
414 * intl/hash-string.h: Switch to gettext copyright.
415 Use ANSI definitions and prototypes.
416 * intl/l10nflist.c: Switch to gettext copyright.
417 Use ANSI definitions and prototypes.
418 (_nl_normalize_codeset): Avoid integer overflow.
419 * intl/loadinfo.h: Switch to gettext copyright.
420 Use ANSI definitions and prototypes.
421 (LIBINTL_DLL_EXPORTED): New define.
422 (PATH_SEPARATOR): New define.
423 * intl/loadmsgcat.c: Switch to gettext copyright.
424 * intl/localealias.c: Switch to gettext copyright.
425 Use ANSI definitions and prototypes.
426 (_nl_expand_alias): Use PATH_SEPARATOR.
427 * intl/ngettext.c: Switch to gettext copyright.
428 Use ANSI definitions and prototypes.
429 * intl/plural-exp.c: Likewise.
430 * intl/plural-exp.h: Switch to gettext copyright.
431 Use ANSI definitions and prototypes.
432 (struct expression): Move definition of enum operator outside
433 of struct definition.
434 * intl/plural.c: Regenerate.
435 * intl/plural.y: Switch to gettext copyright.
436 Use ANSI definitions and prototypes.
437 Port to bison 3.0.
438 * intl/textdomain.c: Switch to gettext copyright.
439 Use ANSI definitions and prototypes.
440 Use gl_* locking primitives rather than __libc_* ones.
441
48c43298
SE
4422014-12-10 Steve Ellcey <sellcey@imgtec.com>
443
444 * debug/warning-nop.c: Add used atrribute.
445
2b89bce9
JM
4462014-12-10 Joseph Myers <joseph@codesourcery.com>
447
c153ac9f
JM
448 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
449
2b89bce9
JM
450 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
451 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
452 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
453
2cfbdb9a
JM
4542014-12-10 Joseph Myers <joseph@codesourcery.com>
455 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
457 [BZ #17634]
458 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
459 Undefine after defining function. Define as weak alias of
460 __wcschr. Use libc_hidden_weak.
461 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
462 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
463 (libc_hidden_def): Also define __GI___wcschr alias.
464 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
465 __wcschr and define as weak alias of __wcschr.
466 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
467 __wcschr.
468 [!WCSCHR] (DEFAULT_WCSCHR): Define.
469 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
470 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
471 libc_hidden_weak. Do not use libc_hidden_def.
472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
473 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
474 __GI___wcschr alias.
475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
476 [IS_IN (libc)] (wcschr): Define as macro expanding to
477 __redirect_wcschr.
478 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
479 [IS_IN (libc)] (__wcschr_power6): Likewise.
480 [IS_IN (libc)] (__wcschr_power7): Likewise.
481 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
482 instead of wcschr.
483 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
484 __libc_wcschr.
485 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
486 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
487 __wcschr and define as weak alias of __wcschr. Use
488 libc_hidden_builtin_def.
489 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
490 as weak alias of __wcschr. Use libc_hidden_weak.
491 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
492 wcschr.
493 * time/era.c (_nl_init_era_entries): Likewise.
494 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
495 variable.
496 (test-xfail-XPG3/time.h/linknamespace): Likewise.
497 (test-xfail-XPG4/time.h/linknamespace): Likewise.
498
1b8bf351
JM
4992014-12-10 Joseph Myers <joseph@codesourcery.com>
500
501 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
502 format for long int variable.
503
f5f46d51
AK
5042014-12-10 Anders Kaseorg <andersk@MIT.EDU>
505
506 [BZ #10672]
07008f7d 507 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
508 qsort stable.
509
217a74a8
AS
5102014-12-10 Andreas Schwab <schwab@suse.de>
511
512 [BZ #12847]
513 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
514 user-controlled locks.
515
aa76a5c7
RE
5162014-12-10 Richard Earnshaw <rearnsha@arm.com>
517
518 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
519 register.
520
2084e7ca
JM
5212014-12-10 Joseph Myers <joseph@codesourcery.com>
522
a4ecc9eb
JM
523 * configure.ac (--disable-werror): New configure option.
524 (enable_werror): New AC_SUBST.
525 * configure: Regenerated.
526 * config.make.in (enable-werror): New variable.
527 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
528 -Wno-error=undef.
529 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
530 * manual/install.texi (Configuring and compiling): Document
531 --disable-werror.
532 * INSTALL: Regenerated.
533 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
534 (CFLAGS-tst-chk2.c): Likewise.
535 (CFLAGS-tst-chk3.c): Likewise.
536 (CFLAGS-tst-chk4.cc): Likewise.
537 (CFLAGS-tst-chk5.cc): Likewise.
538 (CFLAGS-tst-chk6.cc): Likewise.
539 (CFLAGS-tst-lfschk1.c): Likewise.
540 (CFLAGS-tst-lfschk2.c): Likewise.
541 (CFLAGS-tst-lfschk3.c): Likewise.
542 (CFLAGS-tst-lfschk4.cc): Likewise.
543 (CFLAGS-tst-lfschk5.cc): Likewise.
544 (CFLAGS-tst-lfschk6.cc): Likewise.
545
0f88636c
JM
546 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
547 (main): Disable -Wdeprecated-declarations around calls to
548 register_printf_function.
549
c81e9deb
JM
550 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
551 (do_test): Disable -Wdiv-by-zero around some calls to
552 fwrite_unlocked and fread_unlocked.
553
2084e7ca
JM
554 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
555 (DIAG_POP_NEEDS_COMMENT): Likewise.
556 (_DIAG_STR1): Likewise.
557 (_DIAG_STR): Likewise.
558 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
559 * stdio-common/bug21.c: Include <libc-internal.h>.
560 (do_test): Disable -Wformat around call to sscanf.
561 * stdio-common/scanf14.c: Include <libc-internal.h>.
562 (main): Disable -Wformat around some calls to scanf functions.
563
df7ecc6b
TR
5642014-12-09 Torvald Riegel <triegel@redhat.com>
565
566 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
567
2aa3862e
AZ
5682014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
569
570 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
571 stack variable alignment.
572
c5c2b7c3
JM
5732014-12-06 Joseph Myers <joseph@codesourcery.com>
574
575 [BZ #17682]
576 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
577 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
578 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
579 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
580 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
581 __getrlimit instead of getrlimit.
582 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
583 __gettimeofday instead of gettimeofday.
584 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
585 Likewise.
586 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
587 Likewise.
588 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
589 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
590 Remove variable.
591 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
592 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
593
9752c3cd
AZ
5942014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
595
596 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
597 for wide-character tests.
598
4bee4cd9
RM
5992014-12-04 Roland McGrath <roland@hack.frob.com>
600
601 * io/openat64.c: #include <libc-internal.h>
602 (__openat64): Prototypify. Use ignore_value on MODE.
603 * io/openat.c: Likewise.
604 * misc/reboot.c: #include <libc-internal.h>
605 (reboot): Prototypify. Use ignore_value on HOWTO.
606 * misc/ptrace.c: #include <libc-internal.h>
607 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
608
84dbedb6
JM
6092014-12-04 Joseph Myers <joseph@codesourcery.com>
610
611 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
612 XPG4, UNIX98 and XOPEN2K.
613 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
614 Remove variable.
615 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
616
b7a3e1c4 6172014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 618
af50dfc1 619 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
620 * libio/iofopen.c: Likewise.
621 * libio/wfileops.c: Likewise.
622
fe8b4d98
SP
623 [BZ #17653]
624 * libio/fileops.c (_IO_new_file_underflow): Unset cached
625 offset on EOF.
626 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
627 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
628 (fgets_func): Function pointer to fgets and fgetws.
629 (do_ftell_test): Add test to verify ftell value after read
630 EOF.
631 (do_test): Set fgets_func.
632
61b4f792
SP
633 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
634 O_TRUNC flag for w and w+ modes.
635 (do_rewind_test): Likewise.
636 (do_ftell_test): Likewise.
637 (do_write_test): Likewise.
638
be349d70
SP
639 [BZ #17647]
640 * libio/fileops.c (do_ftell): Seek only when there are
641 unflushed writes.
642 * libio/wfileops.c (do_ftell_wide): Likewise.
643 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
644 test case.
645 (do_one_test): Call it.
646
e3d6dba5
JM
6472014-12-03 Joseph Myers <joseph@codesourcery.com>
648
649 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
650 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
651 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
652 Remove variable.
653 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
654 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
655 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
656
7f994279
JM
6572014-12-02 Joseph Myers <joseph@codesourcery.com>
658
28a91e8f
JM
659 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
660 Remove variable.
661 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
662
7f994279
JM
663 [BZ #17668]
664 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
665 as weak alias of __getifaddrs. Use libc_hidden_weak.
666 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
667 __freeifaddrs. Use libc_hidden_weak.
668 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
669 define as weak alias of __getifaddrs. Use libc_hidden_weak.
670 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
671 __freeifaddrs. Use libc_hidden_weak.
672 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
673 __getifaddrs and define as weak alias of __getifaddrs. Use
674 libc_hidden_weak.
675 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
676 __freeifaddrs. Use libc_hidden_weak.
677 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
678 Remove variable.
679 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
680 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
681
bbe4c142
PJ
6822014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
683
684 [BZ #17601]
685 * sysdeps/mips/start.S (__start): Use indirect jump to call
686 __libc_start_main.
687
66cadc05
JM
6882014-12-02 Joseph Myers <joseph@codesourcery.com>
689
909e16d9
JM
690 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
691
4e0b9016
JM
692 * nptl/tst-mutex1.c: Include <stdbool.h>.
693 [!ATTR] (ATTR_NULL): New macro.
694 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
695 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
696 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
697
b1aff6a4
JM
698 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
699 to char *.
700
266865c0
JM
701 [BZ #17665]
702 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
703 Change conditional to [__USE_MISC].
704
84e5e756
JM
705 [BZ #17664]
706 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
707 fgets_unlocked.
708 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
709 __fgets_unlocked.
710 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
711 fgets_unlocked.
712 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
713 Remove variable.
714 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
715 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
716 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
717 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
718 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
719 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
720 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
721 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
722 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
723
66cadc05
JM
724 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
725
2e8a2de2 7262014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
727
728 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
729 Remove strpbrk objects.
730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
731 (__libc_ifunc_impl_list): Remove strpbrk implementation.
732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
733 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
734 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
735 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
736
bb2542e0
AZ
737 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
738 Remove strcspn objects.
739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
740 (__libc_ifunc_impl_list): Remove strcspn implementation.
741 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
742 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
743 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
744 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
745
746 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
747 Remove strspn objetcs.
748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
749 (__libc_ifunc_impl_list): Remove strspn implementation.
750 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
751 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
752 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
753 * sysdeps/powerpc/powerpc64/strspn.S: New file.
754
08f1e1d2
JL
7552014-12-01 James Lemke <jwlemke@codesourcery.com>
756
757 [BZ #17581]
758 * malloc/hooks.c
759 (mem2mem_check): Add a terminator to the chain of checking blocks.
760 (malloc_check_get_size): Use it here.
761 (mem2chunk_check): Ditto.
762
a8a7d7d2
RS
7632014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
764
765 * sysdeps/powerpc/powerpc64/strtok.S: New file.
766 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
767
97114a38
CD
7682014-11-29 Carlos O'Donell <carlos@redhat.com>
769
c8dc1727
CD
770 * bits/ioctl-types.h: Indent preprocessor directives correctly.
771
6d03458e
CD
772 * nptl/nptl-init.c: Include libc-internal.h.
773 (__pthread_initialize_minimal_internal): Use ROUND_UP.
774
97114a38
CD
775 * elf/ldconfig.c (search_dir): Expand comment.
776
0e7e69ba
JM
7772014-11-29 Joseph Myers <joseph@codesourcery.com>
778
779 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
780 variable.
781 (linknamespace-symlist-stdlibs-tests): Likewise.
782 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
783 instead of $(objpfx)symlist-stdlibs.
784 (linknamespace-libs-isoc): New variable.
785 (linknamespace-libs): Use $(linknamespace-libs-isoc).
786 (linknamespace-libs-ISO): New variable.
787 (linknamespace-libs-ISO99): Likewise.
788 (linknamespace-libs-ISO11): Likewise.
789 (linknamespace-libs-XPG3): Likewise.
790 (linknamespace-libs-XPG4): Likewise.
791 (linknamespace-libs-POSIX): Likewise.
792 (linknamespace-libs-UNIX98): Likewise.
793 (linknamespace-libs-XOPEN2K): Likewise.
794 (linknamespace-libs-POSIX2008): Likewise.
795 (linknamespace-libs-XOPEN2K8): Likewise.
796 ($(objpfx)symlist-stdlibs): Replace by
797 $(linknamespace-symlist-stdlibs-tests). Use
798 $(linknamespace-libs-$*) as set of libraries.
799 ($(linknamespace-header-tests)): Update dependencies. Use
800 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
801 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
802 * conform/linknamespace.pl: Remove comment about considering
803 definitions of symbols from irrelevant libraries.
804
d8dd0080
L
8052014-11-28 H.J. Lu <hongjiu.lu@intel.com>
806
807 [BZ #13862]
808 * elf/dl-tls.c: Include <atomic.h>.
809 (oom): Remove #ifdef SHARED/#endif.
810 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
811 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
812 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
813 big enough.
814 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
815 * nptl/Makefile (tests): Add tst-stack4.
816 (modules-names): Add tst-stack4mod.
817 ($(objpfx)tst-stack4): New.
818 (tst-stack4mod.sos): Likewise.
819 ($(objpfx)tst-stack4.out): Likewise.
820 ($(tst-stack4mod.sos)): Likewise.
821 (clean): Likewise.
822 * nptl/tst-stack4.c: New file.
823 * nptl/tst-stack4mod.c: Likewise.
824
167da422
B
8252014-11-27 J. Brown <jb999@gmx.de>
826
827 * sysdeps/x86/bits/string.h: Add recent CPUs.
828
9114625b
JM
8292014-11-27 Joseph Myers <joseph@codesourcery.com>
830
6b5189eb
JM
831 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
832 sigblock.
833
49051f8e
JM
834 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
835 feof.
836
9114625b
JM
837 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
838 variable.
839
e7300fef
SL
8402014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
841
842 * nscd/connections.c: Include libc-internal.h because of macro
843 usage ignore_value.
844
1721f0a4
SP
8452014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
846
847 * string/bits/string3.h (__warn_memset_zero_len): Don't
848 declare for gcc newer than 5.0.
849 (memset): Don't test for zero-length __LEN for gcc newer than
850 5.0.
851
be970916
JM
8522014-11-27 Joseph Myers <joseph@codesourcery.com>
853
d88548f4
JM
854 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
855 size_t for %zu format.
856
be970916
JM
857 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
858 difference, not %ju.
859
3b20fd5c
JM
8602014-11-26 Joseph Myers <joseph@codesourcery.com>
861
8915eace
JM
862 * include/libc-internal.h (ignore_value): New macro.
863 * nscd/connections.c (restart): Wrap calls to setuid and setgid
864 with ignore_value.
865
f1a5a0e3
JM
866 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
867 definition.
868
59ef1715
JM
869 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
870 pthread_cleanup_push to void *.
871
a6f3079b
JM
872 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
873 Undefine.
874
706688aa
JM
875 [BZ #16619]
876 [BZ #16740]
877 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
878 instead of 1L << 52.
879
12da14a5
JM
880 * libio/bug-rewind.c (do_test): Check fwscanf return values.
881 * libio/bug-rewind2.c (do_test): Likewise.
882
bd5dadac
JM
883 * debug/test-stpcpy_chk-ifunc.c: Remove file.
884 * debug/test-strcpy_chk-ifunc.c: Likewise.
885 * wcsmbs/test-wcschr-ifunc.c: Likewise.
886 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
887 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
888 * wcsmbs/test-wcslen-ifunc.c: Likewise.
889 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
890 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
891 * Rules [$(multi-arch) = no] (tests): Do not filter out
892 $(tests-ifunc).
893 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
894 * debug/Makefile (tests-ifunc): Remove variable.
895 (tests): Do not add $(tests-ifunc).
896 * wcsmbs/Makefile (tests-ifunc): Remove variable.
897 (tests): Do not add $(tests-ifunc).
898 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
899 [TEST_IFUNC]: Remove conditionals.
900 * string/test-string.h (TEST_IFUNC): Remove macro.
901 [TEST_IFUNC]: Remove conditionals.
902
3b20fd5c
JM
903 * string/test-strchr.c [!WIDE] (L): New macro.
904 [WIDE] (L): Likewise.
905 (check1): Use CHAR instead of char. Use L on string and character
906 constants.
907
704f7947
AZ
9082014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
909
910 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
911 tests.
912 * sysdeps/powerpc/bits/atomic.h
913 (__arch_atomic_exchange_and_add_32_acq): Add definition.
914 (__arch_atomic_exchange_and_add_32_rel): Likewise.
915 (atomic_exchange_and_add_acq): Likewise.
916 (atomic_exchange_and_add_rel): Likewise.
917 * sysdeps/powerpc/powerpc32/bits/atomic.h
918 (__arch_atomic_exchange_and_add_64_acq): Add definition.
919 (__arch_atomic_exchange_and_add_64_rel): Likewise.
920 * sysdeps/powerpc/powerpc64/bits/atomic.h
921 (__arch_atomic_exchange_and_add_64_acq): Add definition.
922 (__arch_atomic_exchange_and_add_64_rel): Likewise.
923
cdcb42d7
TR
9242014-11-26 Torvald Riegel <triegel@redhat.com>
925
926 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
927 Change synchronization of __sched_fifo_min_prio and
928 __sched_fifo_max_prio.
929 * nptl/pthread_mutexattr_getprioceiling.c
930 (pthread_mutexattr_getprioceiling): Likewise.
931 * nptl/pthread_mutexattr_setprioceiling.c
932 (pthread_mutexattr_setprioceiling): Likewise.
933 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
934 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
935 Likewise.
936
c82f5c0c
JM
9372014-11-26 Joseph Myers <joseph@codesourcery.com>
938
939 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
940 void.
941
439e1ad6
JM
9422014-11-25 Joseph Myers <joseph@codesourcery.com>
943
944 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
945 third argument const.
946
b1eda10e
PE
9472014-11-25 Paul Eggert <eggert@cs.ucla.edu>
948
949 fnmatch: work around GCC compiler warning bug with uninit var
950 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
951 This works around a bug with x86-64 GCC 4.9.2 and earlier
952 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
953 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
954 used uninitialized in this function [-Wmaybe-uninitialized]".
955
bde2667a
JM
9562014-11-25 Joseph Myers <joseph@codesourcery.com>
957
958 * posix/bug-regex31.c (main): Return RES not 0.
959
5fbb5691
AB
9602014-11-25 Anton Blanchard <anton@samba.org>
961
962 * sysdeps/powerpc/bits/atomic.h
963 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
964
467fec0b
BM
9652014-11-24 Sterling Augustine <saugustine@google.com>
966
967 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
968
e9ff8efb
RC
9692014-11-24 Ryan Cumming <etaoins@gmail.com>
970
971 [BZ #17608]
972 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
973
9744496f
JM
9742014-11-24 Joseph Myers <joseph@codesourcery.com>
975
976 [BZ #17633]
977 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
978 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
979 variable.
980 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
981 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
982
6423d475
WD
9832014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
984
985 * string/strncpy.c (strncpy): Improve performance by using memset.
986
9872014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
988
989 * string/strcpy.c (strcpy):
990 Improve performance by using strlen and memcpy.
991
5d178c37
LH
9922014-11-24 Leonhard Holz <leonhard.holz@web.de>
993
994 * string/strcoll_l.c (get_next_seq): __always_inline.
995 * string/strcoll_l.c (do_compare): __always_inline.
996
279bc5b3
SP
9972014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
998
7a9ebfa1
SP
999 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1000 defined.
1001 * include/mqueue.h: Likewise.
1002 * include/stdlib.h: Likewise.
1003
4f41c682
SP
1004 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1005 (get_null_defines): Adjust.
1006 * sunrpc/Makefile: Adjust comment.
1007 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1008 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1009 (CFLAGS-interp.c): Likewise.
1010 (CFLAGS-ldconfig.c): Likewise.
1011 (CPPFLAGS-.os): Likewise.
1012 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1013 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1014 * extra-modules.mk (extra-modules.mk): Likewise.
1015 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1016 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1017 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1018 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1019 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1020 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1021 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1022 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1023 * iconvdata/Makefile (CPPFLAGS): Likewise.
1024 (cpp-srcs-left): Add libof for all iconvdata routines.
1025 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1026 * include/assert.h: Likewise.
1027 * include/ctype.h: Likewise.
1028 * include/errno.h: Likewise.
1029 * include/libc-symbols.h: Likewise.
1030 * include/math.h: Likewise.
1031 * include/netdb.h: Likewise.
1032 * include/resolv.h: Likewise.
1033 * include/stdio.h: Likewise.
1034 * include/stdlib.h: Likewise.
1035 * include/string.h: Likewise.
1036 * include/sys/stat.h: Likewise.
1037 * include/wctype.h: Likewise.
1038 * intl/l10nflist.c: Likewise.
1039 * libidn/idn-stub.c: Likewise.
1040 * libio/libioP.h: Likewise.
1041 * nptl/libc_multiple_threads.c: Likewise.
1042 * nptl/pthreadP.h: Likewise.
1043 * posix/regex_internal.h: Likewise.
1044 * resolv/res_hconf.c: Likewise.
1045 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1046 * sysdeps/arm/memmove.S: Likewise.
1047 * sysdeps/arm/sysdep.h: Likewise.
1048 * sysdeps/generic/_itoa.h: Likewise.
1049 * sysdeps/generic/symbol-hacks.h: Likewise.
1050 * sysdeps/gnu/errlist.awk: Likewise.
1051 * sysdeps/gnu/errlist.c: Likewise.
1052 * sysdeps/i386/i586/memcpy.S: Likewise.
1053 * sysdeps/i386/i586/memset.S: Likewise.
1054 * sysdeps/i386/i686/memcpy.S: Likewise.
1055 * sysdeps/i386/i686/memmove.S: Likewise.
1056 * sysdeps/i386/i686/mempcpy.S: Likewise.
1057 * sysdeps/i386/i686/memset.S: Likewise.
1058 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1059 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1060 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1061 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1062 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1064 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1066 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1067 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1068 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1069 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1070 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1071 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1072 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1073 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1074 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1075 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1076 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1077 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1078 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1079 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1080 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1081 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1082 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1083 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1084 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1085 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1087 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1088 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1089 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1091 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1092 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1094 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1095 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1096 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1097 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1098 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1099 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1100 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1101 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1102 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1103 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1104 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1105 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1106 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1107 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1108 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1109 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1110 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1112 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1113 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1114 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1115 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1116 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1117 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1118 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1119 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1120 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1121 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1122 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1123 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1124 * sysdeps/posix/closedir.c: Likewise.
1125 * sysdeps/posix/opendir.c: Likewise.
1126 * sysdeps/posix/readdir.c: Likewise.
1127 * sysdeps/posix/rewinddir.c: Likewise.
1128 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1129 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1130 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1131 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1132 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1134 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1137 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1140 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1142 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1144 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1145 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1146 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1148 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1149 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1150 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1152 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1163 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1164 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1165 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1166 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1167 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1168 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1169 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1170 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1172 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1173 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1174 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1175 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1176 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1177 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1178 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1179 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1180 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1182 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1183 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1184 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1185 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1186 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1187 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1188 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1189 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1190 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1192 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1193 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1194 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1196 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1197 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1198 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1199 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1200 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1201 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1202 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1203 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1204 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1205 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1206 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1207 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1208 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1209 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1210 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1211 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1212 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1213 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1214 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1215 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1216 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1217 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1218 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1219 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1220 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1224 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1226 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1227 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1229 * sysdeps/unix/alpha/sysdep.S: Likewise.
1230 * sysdeps/unix/alpha/sysdep.h: Likewise.
1231 * sysdeps/unix/make-syscalls.sh: Likewise.
1232 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1235 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1236 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1237 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1238 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1239 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1240 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1241 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1242 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1243 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1245 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1246 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1247 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1248 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1249 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1250 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1251 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1252 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1253 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1254 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1255 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1256 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1257 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1258 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1261 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1262 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1266 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1271 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1272 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1273 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1274 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1275 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1279 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1282 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1283 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1284 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1285 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1287 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1288 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1290 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1291 * sysdeps/x86_64/memcpy.S: Likewise.
1292 * sysdeps/x86_64/memmove.c: Likewise.
1293 * sysdeps/x86_64/memset.S: Likewise.
1294 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1295 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1296 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1297 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1298 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1301 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1302 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1303 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1304 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1306 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1307 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1308 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1309 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1311 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1312 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1313 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1314 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1317 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1318 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1319 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1320 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1321 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1322 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1323 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1324 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1325 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1326 * sysdeps/x86_64/strcmp.S: Likewise.
1327
76ca86a5
SP
1328 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1329
a3848485
SP
1330 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1331 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1332 * elf/rtld-Rules: Likewise.
1333 * elf/setup-vdso.h: Likewise.
1334 * include/assert.h: Likewise.
1335 * include/bits/stdlib-float.h: Likewise.
1336 * include/errno.h: Likewise.
1337 * include/sys/stat.h: Likewise.
1338 * include/unistd.h: Likewise.
1339 * sysdeps/aarch64/setjmp.S: Likewise.
1340 * sysdeps/alpha/setjmp.S: Likewise.
1341 * sysdeps/arm/__longjmp.S: Likewise.
1342 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1343 * sysdeps/arm/setjmp.S: Likewise.
1344 * sysdeps/arm/sysdep.h: Likewise.
1345 * sysdeps/generic/_itoa.h: Likewise.
1346 * sysdeps/generic/dl-sysdep.h: Likewise.
1347 * sysdeps/generic/ldsodefs.h: Likewise.
1348 * sysdeps/i386/dl-tls.h: Likewise.
1349 * sysdeps/i386/setjmp.S: Likewise.
1350 * sysdeps/m68k/setjmp.c: Likewise.
1351 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1352 * sysdeps/mach/hurd/opendir.c: Likewise.
1353 * sysdeps/posix/getcwd.c: Likewise.
1354 * sysdeps/posix/opendir.c: Likewise.
1355 * sysdeps/posix/profil.c: Likewise.
1356 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1357 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1358 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1359 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1360 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1361 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1363 * sysdeps/s390/dl-tls.h: Likewise.
1364 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1365 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1366 * sysdeps/sh/sh3/setjmp.S: Likewise.
1367 * sysdeps/sh/sh4/setjmp.S: Likewise.
1368 * sysdeps/unix/alpha/sysdep.h: Likewise.
1369 * sysdeps/unix/arm/sysdep.S: Likewise.
1370 * sysdeps/unix/i386/sysdep.S: Likewise.
1371 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1372 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1373 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1374 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1375 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1376 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1377 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1378 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1379 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1380 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1381 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1382 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1386 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1388 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1389 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1391 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1394 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1395 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1398 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1399 * sysdeps/x86_64/setjmp.S: Likewise.
1400
a109996e
SP
1401 * include/math.h: Use IS_IN instead of IS_IN_libm.
1402 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1414 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1415 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1416 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1420 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1421 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1422 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1423 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1424 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1425 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1426 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1427 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1428 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1429 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1430 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1431 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1432 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1436 Likewise.
1437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1438 Likewise.
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1440 Likewise.
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1442 Likewise.
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1444 Likewise.
1445 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1447 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1448 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1449 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1450 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1459 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1461 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1462 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1463 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1464 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1465 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1466 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1469 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1471 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1472
ce9f10f7
SP
1473 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1474 * nptl/pthreadP.h: Likewise.
1475 * nptl_db/structs.def: Likewise.
1476 * sysdeps/arm/sysdep.h: Likewise.
1477 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1478 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1479 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1480 * sysdeps/unix/alpha/sysdep.h: Likewise.
1481 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1482 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1483 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1484 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1485 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1486 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1487 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1488 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1489 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1490 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1491 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1492 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1493 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1494 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1499 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1502 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1503 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1504 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1505 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1506 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1507
016afc75
SP
1508 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1509 * nptl/pthreadP.h: Likewise.
1510 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1511 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1513 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1514 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1515 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1516 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1517 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1518 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1519 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1520 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1521 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1523 Likewise.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1525 Likewise.
1526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1528 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1531 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1532 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1533 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1534
9b42a0b3
SP
1535 * dlfcn/dladdr.c: Use IS_IN.
1536 * dlfcn/dladdr1.c: Likewise.
1537 * dlfcn/dlclose.c: Likewise.
1538 * dlfcn/dlerror.c: Likewise.
1539 * dlfcn/dlinfo.c: Likewise.
1540 * dlfcn/dlmopen.c: Likewise.
1541 * dlfcn/dlopen.c: Likewise.
1542 * dlfcn/dlsym.c: Likewise.
1543 * dlfcn/dlvsym.c: Likewise.
1544
85f36372
SP
1545 * include/ifaddrs.h: Use IS_IN.
1546 * inet/check_pf.c: Likewise.
1547 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1548 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1549
fb6784e3
SP
1550 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1551 IS_IN_ldconfig.
1552 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1553 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1554
2886d2d1
SP
1555 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1556 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1557 IS_IN (libc).
1558
9a484857
SP
1559 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1560
a10178bd
SP
1561 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1562 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1563 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1564 * include/libc-symbols.h (IS_IN_LIB): New macro.
1565 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1566 * include/netdb.h: Likewise.
1567 * include/stap-probe.h: Remove all uses of IN_LIB.
1568
279bc5b3
SP
1569 * Makeconfig (module-cppflags-real): Define MODULE_NAME
1570 instead of IN_MODULE.
1571 * include/libc-symbols.h (IN_MODULE): Define using
1572 MODULE_NAME.
1573 (PASTE_NAME, PASTE_NAME1): New macros.
1574 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1575 of IN_LIB.
1576 (STAP_PROBE_ASM): Likewise.
1577
e0cfa510
ST
15782014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
1579
1580 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1581 __mach_init in dlopened libc.
1582
34d97d87
MF
15832014-11-22 Mike Frysinger <vapier@gentoo.org>
1584
1585 * sysdeps/arm/preconfigure.ac: Delete EABI check.
1586 * sysdeps/arm/preconfigure: Regenerate.
1587
33cd1f74
RM
15882014-11-21 Roland McGrath <roland@hack.frob.com>
1589
1590 * nptl/pthread_create.c (__pthread_create_2_1): Set
1591 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1592 when copying values from IATTR into PD.
1593
8c230039
WN
15942014-11-21 Will Newton <will.newton@linaro.org>
1595 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1596
6d3db89b
AP
1597 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1598 Refactor inline-asm. Also add comment.
1599
01194ba1
WN
1600 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1601 ElfW macro instead of hardcoded Elf64 types.
1602 (la_aarch64_gnu_pltenter): Likewise.
1603 * sysdeps/aarch64/dl-machine.h
1604 (elf_machine_runtime_setup): Use ElfW(Addr).
1605
8c230039
WN
1606 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1607 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1608 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1609 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1610 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1611 (R_AARCH64_TLS_DTPMOD64): Rename to ..
1612 (R_AARCH64_TLS_DTPMOD): This.
1613 (R_AARCH64_TLS_DTPREL64): Rename to ...
1614 (R_AARCH64_TLS_DTPREL): This.
1615 (R_AARCH64_TLS_TPREL64): Rename to ...
1616 (R_AARCH64_TLS_TPREL): This.
1617 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1618 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1619 R_AARCH64_TLS_TPREL64.
1620 (elf_machine_rela): Likewise.
1621
0d79fa53
TR
16222014-11-21 Torvald Riegel <triegel@redhat.com>
1623
1624 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1625 by setting it to 0. 64b atomics are not supported currently.
1626
b59d114b
AO
16272014-11-21 Alexandre Oliva <aoliva@redhat.com>
1628
1629 [BZ #16469]
1630 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1631 search domain names.
1632
f3d945d5
AO
16332014-11-21 Alexandre Oliva <aoliva@redhat.com>
1634
1635 [BZ #16469]
1636 * NEWS: Update.
1637 * resolv/res_query.c (__libc_res_nquerydomain): Retain
1638 trailing dot.
1639 * posix/tst-getaddrinfo5.c: New.
1640 * posix/Makefile (tests): Add it.
1641
49698902
AO
16422014-11-21 Alexandre Oliva <aoliva@redhat.com>
1643
1644 [BZ #14498]
1645 * NEWS: Fixed.
1646 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1647 after parsing line but before break_if_match.
1648 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1649 if there is a protocol mismatch.
1650
81959214
MS
16512014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1652
1653 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1654 because the potential race is on the user-supplied stream.
1655
7729e0e9
AO
16562014-11-21 Alexandre Oliva <aoliva@redhat.com>
1657
1658 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1659 string literal if not passed a buffer.
1660 * manual/job.texi (ctermid): Update reasoning, note deviation
1661 from posix, suggest mtasurace when not passed a buffer, for
1662 future non-preliminary safety notes.
1663
a4ea5e28
AO
16642014-11-21 Alexandre Oliva <aoliva@redhat.com>
1665
1666 * manual/users.texi (cuserid): Fix MT-Safety note for the case
1667 of not passing it a buffer.
1668 Reported by Peng Haitao.
1669
a2b581cb
AO
16702014-11-21 Alexandre Oliva <aoliva@redhat.com>
1671
1672 * manual/Makefile ($(objpfx)stamp-summary): Require
1673 check-safety.sh to pass.
1674 * manual/check-safety.sh: Wish for verification that every
1675 @deftypefn and @deftypefun is followed by a @safety remark.
1676
f214ff74
RM
16772014-11-20 Roland McGrath <roland@hack.frob.com>
1678
7f0dfae0
RM
1679 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1680
2f531bbb
RM
1681 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1682 PTHREAD_CANCEL_ASYNCHRONOUS.
1683 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1684 send SIGCANCEL.
1685
f214ff74
RM
1686 * nptl/default-sched.h: New file.
1687 * sysdeps/unix/sysv/linux/default-sched.h: New file.
1688 * nptl/pthread_create.c: Include it.
1689 (__pthread_create_2_1): Use collect_default_sched instead of making
1690 Linux syscalls here directly.
1691
e37c91d4
TR
16922014-11-20 Torvald Riegel <triegel@redhat.com>
1693
1694 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1695 __pthread_once): Use C11 atomics.
1696
1eccfecd
TR
16972014-11-20 Torvald Riegel <triegel@redhat.com>
1698
1699 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1700
ff871426
TR
17012014-11-20 Torvald Riegel <triegel@redhat.com>
1702
1703 * include/atomic.h (__atomic_link_error, __atomic_check_size,
1704 atomic_thread_fence_acquire, atomic_thread_fence_release,
1705 atomic_thread_fence_seq_cst, atomic_load_relaxed,
1706 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1707 atomic_compare_exchange_weak_relaxed,
1708 atomic_compare_exchange_weak_acquire,
1709 atomic_compare_exchange_weak_release,
1710 atomic_exchange_acquire, atomic_exchange_release,
1711 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1712 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1713 atomic_fetch_and_acquire,
1714 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1715
1ea339b6
TR
17162014-11-20 Torvald Riegel <triegel@redhat.com>
1717
1718 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1719 USE_ATOMIC_COMPILER_BUILTINS): Define.
1720 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1721 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1722 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1723 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1724 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1725 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1726 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1727 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1728 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1730 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1732 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1734 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1736 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1738 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1740 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1742 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1744 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1746 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1747 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1748 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1750 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1752 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1753 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1754 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1755 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1756 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1757 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1758 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1759 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1760
cbd463e2
RM
17612014-11-19 Roland McGrath <roland@hack.frob.com>
1762
d960211f
RM
1763 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1764 the sched_priority value here. It was already checked when the user
1765 called pthread_attr_setschedparam.
1766
cbd463e2
RM
1767 * nptl/tst-bad-schedattr.c: New file.
1768 * nptl/Makefile (tests): Add it.
1769
a39208bd
CD
17702014-11-19 Carlos O'Donell <carlos@redhat.com>
1771 Florian Weimer <fweimer@redhat.com>
1772 Joseph Myers <joseph@codesourcery.com>
1773 Adam Conrad <adconrad@0c3.net>
1774 Andreas Schwab <schwab@suse.de>
1775 Brooks <bmoses@google.com>
1776
1777 [BZ #17625]
1778 * wordexp-test.c (__dso_handle): Add prototype.
1779 (__register_atfork): Likewise.
1780 (__app_register_atfork): New function.
1781 (registered_forks): New global.
1782 (register_fork): New function.
1783 (test_case): Add 3 new tests for WRDE_CMDSUB.
1784 (main): Call __app_register_atfork.
1785 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1786 fork count is non-zero fail the test.
1787 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1788 is set.
1789 (parse_dollars): Remove check for WRDE_NOCMD.
1790 (parse_dquote): Likewise.
1791
9cd47470
SP
17922014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1793
130ac68c
SP
1794 * Makeconfig (built-modules): List non-library modules to be
1795 built.
1796 (module-cppflags): Include libc-modules.h for
1797 everything except shlib-versions.v.i.
1798 (CPPFLAGS): Use it.
1799 (before-compile): Add libc-modules.h.
1800 ($(common-objpfx)libc-modules.h,
1801 $(common-objpfx)libc-modules.stmp): New targets.
1802 (common-generated): Add libc-modules.h and libc-modules.stmp.
1803 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1804 * include/libc-symbols.h: Don't include libc-modules.h.
1805 * include/libc-modules.h: Remove file.
1806 * scripts/gen-libc-modules.awk: New script to generate
1807 libc-modules.h.
1808 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1809 Depend on libc-modules.stmp.
1810
286663c3
SP
1811 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1812
9cd47470
SP
1813 * Makeconfig (in-module): Get value of libof set for the
1814 translation unit.
1815 (CPPFLAGS): Use $(in-module).
1816 * Makerules: Don't suffix routine names for nonlib.
1817 * include/libc-modules.h: New file.
1818 * include/libc-symbols.h: Include libc-modules.h
1819 (IS_IN): New macro to replace IS_IN_* macros.
1820 * elf/Makefile: Set libof-* for each routine.
1821 * elf/rtld-Rules: Likewise.
1822 * extra-modules.mk: Likewise.
1823 * iconv/Makefile: Likewise.
1824 * iconvdata/Makefile: Likewise.
1825 * locale/Makefile: Likewise.
1826 * malloc/Makefile: Likewise.
1827 * nss/Makefile: Likewise.
1828 * sysdeps/gnu/Makefile: Likewise.
1829 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1830 * sysdeps/unix/sysv/linux/Makefile: Likewise.
1831 * sysdeps/s390/s390-64/Makefile: Likewise.
1832 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
1833 CPPFLAGS for nscd instead of nonlib.
1834
32fed10f
RM
18352014-11-18 Roland McGrath <roland@hack.frob.com>
1836
d71035bd
RM
1837 * nptl/createthread.c: New file.
1838
6540b991
RM
1839 * nptl/createthread.c: Moved ...
1840 * sysdeps/unix/sysv/linux/createthread.c: ... here.
1841
32fed10f
RM
1842 * nptl/createthread.c: Add proper top-line comment.
1843 (do_clone): Folded into ...
1844 (create_thread): ... here. Take new arguments STOPPED_START and
1845 THREAD_RAN. Always set PD->stopped_start to something here. Don't
1846 increment __nptl_threads, do event-reporting logic, do
1847 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1848 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
1849 resource cleanup if sched_setaffinity or sched_setscheduler fails,
1850 just send SIGCANCEL.
1851 * nptl/pthread_create.c: Forward-declare create_thread before
1852 including createthread.c.
1853 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1854 declaration, and new macro START_THREAD_SELF to replace argument.
1855 Remove return statement.
1856 (report_thread_creation): New function.
1857 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1858 synchronization logic, and __nptl_nthreads increment here, around
1859 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1860 PD->parent_cancelhandling here, before create_thread. When
1861 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1862 __deallocate_stack, and ENOMEM translation here.
1863
107a5bf0
JM
18642014-11-18 Joseph Myers <joseph@codesourcery.com>
1865
1866 [BZ #17616]
1867 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1868 (mptwo): Rename to __mptwo.
1869 (__inv): Use __mptwo instead of mptwo.
1870 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1871 (mptwo): Rename to __mptwo.
1872 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1873 of mpone and __mptwo instead of mptwo.
1874 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1875 instead of mpone.
1876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1877 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1878 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1879 of mpone and __mptwo instead of mptwo.
1880 (__mpranred): Use __mpone instead of mpone.
1881 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1882 variable.
1883 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1884 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1885 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1886 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1887 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1888 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1889 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1890 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1891 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1892 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1893 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1894 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1895 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1896 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1897 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1898 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1899 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1900 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1901 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1902
3b679ab3
TV
19032014-11-18 Tom de Vries <tom@codesoucery.com>
1904
1905 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1906 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1907
19082014-11-17 Richard Henderson <rth@redhat.com>
1909
1910 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1911 (_FP_PACK_RAW_2): Remove.
1912 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1913 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1914 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1915 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1916 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1917 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1918 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1919 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1920 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1921 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1922 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1923 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1924 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1925 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1926 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1927 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1928
0781a777
RM
19292014-11-14 Roland McGrath <roland@hack.frob.com>
1930
1931 * signal/signal.h [__USE_MISC]
1932 (struct sigvec): Remove type.
1933 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1934 (sigvec): Remove declaration.
1935 * sysdeps/posix/sigvec.c: Moved ...
1936 * signal/sigvec.c: ... here, replacing old file.
1937 (struct sigvec): New type, copied from old signal.h definition.
1938 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1939 (__sigvec): Convert definition to prototype.
1940 (sigvec): Replace weak_alias with compat_symbol.
1941 * signal/Versions (libc: GLIBC_2.21): New version set.
1942 * include/signal.h: Remove __sigvec declaration.
1943 * sysdeps/unix/bsd/sigvec.c: Remove file.
1944 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1945 * manual/signal.texi (BSD Handler): Remove subsection.
1946 Move siginterrupt up to ...
1947 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1948 (Blocking in BSD): Fold subsection into its parent.
1949 * NEWS: Mention sigvec removal.
1950
a4733812
JM
19512014-11-14 Joseph Myers <joseph@codesourcery.com>
1952
5ae4fe60
JM
1953 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1954 (DLA_FMS): Make definition conditional only on [__FMA4__].
1955 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1956 definition.
1957
6a0dd472
JM
1958 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1959 Make definition conditional only on [PROF].
1960 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1961 definition.
1962 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1963 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1964
a4733812
JM
1965 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1966 !__GNUC__].
1967 * include/signal.h (__sigpause): Move declaration above call to
1968 libc_hidden_proto.
1969 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1970 variable.
1971 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1972 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1973
cf7246dd
DM
19742014-11-14 David S. Miller <davem@davemloft.net>
1975
1976 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1977 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1978
c1b0aadc
JM
19792014-11-14 Joseph Myers <joseph@codesourcery.com>
1980
4863355a
JM
1981 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1982 * configure: Regenerated.
1983 * manual/install.texi (Tools for Compilation): Document a
1984 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1985 compiler verified to work.
1986 * INSTALL: Regenerated.
1987
c1b0aadc
JM
1988 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1989 redeclare with asm name.
1990 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1991 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1992 including <string.h>.
1993 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1995 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1996 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1997 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1998 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1999 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2000
2a1cfd94
JM
20012014-11-13 Joseph Myers <joseph@codesourcery.com>
2002
bf438382
JM
2003 * stdlib/strtol.c (__strtol): Use prototype definition.
2004
2a1cfd94
JM
2005 [BZ #17594]
2006 * stdlib/strtol.c (SYM__): New macro.
2007 (SYM__1): Likewise.
2008 (__strtol): Likewise.
2009 (strtol): Rename to __strtol and define as weak alias of
2010 __strtol. Use libc_hidden_weak.
2011
20ed0d26
SL
20122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2013
2014 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2015 Use numbered labels in inline assembly.
2016
53244a4e
SL
20172014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2018
2019 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2020 Add setjmp LIBC_PROBE.
2021 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2022 Likewise.
2023 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2024 Add longjmp, longjmp_target LIBC_PROBE.
2025 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2026 Likewise.
2027
47df8251
SL
20282014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2029
2030 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2031 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2032 to get rid of unused variable warning.
2033
618cebef
SL
20342014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2035
2036 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2037 Check for unwind_backtrace == NULL only in SHARED case.
2038 (__backchain_backtrace): Compile only in SHARED case.
2039 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2040 Likewise.
2041 (__backchain_backtrace): Declare as static.
2042
c6aab2cb
RM
20432014-11-12 Roland McGrath <roland@hack.frob.com>
2044
2045 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2046 (__libc_multiple_threads_ptr): Variable moved ...
2047 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2048
5a6fa4d7
JM
20492014-11-12 Joseph Myers <joseph@codesourcery.com>
2050
24f4f825
JM
2051 * conform/GlibcConform.pm: New file.
2052 * conform/conformtest.pl: Use GlibcConform module.
2053 * conform/linknamespace.pl: New file.
2054 * conform/list-header-symbols.pl: Likewise.
2055 * conform/Makefile (linknamespace-symlists-base): New variable.
2056 (linknamespace-symlists-tests): Likewise.
2057 (linknamespace-header-base): Likewise.
2058 (linknamespace-header-tests): Likewise.
2059 (tests-special): Add new tests.
2060 ($(linknamespace-symlists-tests)): New rule.
2061 (linknamespace-libs): New variable.
2062 ($(objpfx)symlist-stdlibs): New rule.
2063 ($(linknamespace-header-tests)): Likewise.
2064 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2065 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2066 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2067 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2068 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2069 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2070 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2071 (test-xfail-ISO/math.h/linknamespace): Likewise.
2072 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2073 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2074 (test-xfail-ISO/time.h/linknamespace): Likewise.
2075 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2076 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2077 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2078 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2079 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2080 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2081 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2082 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2083 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2084 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2085 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2086 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2087 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2088 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2089 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2090 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2091 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2092 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2093 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2094 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2095 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2096 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2097 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2098 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2099 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2100 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2101 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2102 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2103 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2104 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2105 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2106 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2107 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2108 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2109 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2110 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2111 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2112 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2113 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2114 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2115 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2116 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2117 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2118 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2119 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2120 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2121 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2122 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2123 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2124 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2125 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2126 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2127 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2128 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2129 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2130 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2131 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2132 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2133 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2134 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2135 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2136 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2137 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2138 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2139 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2140 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2141 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2142 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2143 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2144 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2145 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2146 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2147 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2148 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2149 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2150 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2151 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2152 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2153 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2154 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2155 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2156 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2157 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2158 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2159 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2160 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2161 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2162 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2163 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2164 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2165 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2166 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2167 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2168 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2169 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2170 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2171 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2172 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2173 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2174 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2175 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2176 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2177 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2178 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2179 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2180 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2181 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2182 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2183 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2184 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2185 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2186 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2187 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2188 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2189 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2190 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2191 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2192 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2193 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2194 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2195 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2196 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2197 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2198 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2199 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2200 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2201 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2202 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2203 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2204 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2205 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2206 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2207 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2208 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2209 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2210 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2211 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2212 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2213 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2214 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2215 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2216 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2217 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2218 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2219 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2220 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2221 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2222 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2223 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2224 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2225
cc67478e
JM
2226 [BZ #17589]
2227 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2228 of fgets_unlocked.
2229
9975e3d3
JM
2230 [BZ #17585]
2231 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2232 (memmem): Rename to __memmem and define as weak alias of
2233 __memmem. Use libc_hidden_weak.
2234 (__memmem): Use libc_hidden_def.
2235 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2236 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2237 memmem.
2238
c4eae752
JM
2239 [BZ #17582]
2240 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2241 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2242 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2243 and define as weak alias of __fgets_unlocked. Use
2244 libc_hidden_weak.
2245 (__fgets_unlocked): Use libc_hidden_def.
2246 * include/stdio.h (__fgets_unlocked): Declare. Use
2247 libc_hidden_proto.
2248 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2249 __fgets_unlocked instead of fgets_unlocked.
2250 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2251 (GET_NPROCS_CONF_PARSER): Likewise.
2252 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2253 (GET_NPROCS_CONF_PARSER): Likewise.
2254
01cad84e
JM
2255 [BZ #17574]
2256 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2257 weak alias of __wmemset. Use libc_hidden_weak.
2258 (__wmemset): Use libc_hidden_def.
2259 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2260 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2261 of wmemset.
2262
939da411
JM
2263 [BZ #17573]
2264 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2265 with asm name __mempcpy.
2266 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2267
293d9a41
JM
2268 [BZ #17572]
2269 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2270 and define as weak alias of __rawmemchr.
2271 (__rawmemchr): Do not define as strong alias of rawmemchr.
2272
bef8fd60
JM
2273 [BZ #17571]
2274 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2275 alias of __qsort_r.
2276 (qsort): Call __qsort_r instead of qsort_r.
2277 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2278 (__qsort_r): Declare. Call libc_hidden_proto.
2279 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2280 instead of qsort_r.
2281 * nscd/gai.c (__qsort_r): Define to qsort_r.
2282 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2283 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2284 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2285
c52ff39e
JM
2286 [BZ #17570]
2287 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2288 define as weak alias of __malloc_info.
2289
2f5c1b00
JM
2290 [BZ #17584]
2291 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2292 as weak alias of __rewinddir. Don't use libc_hidden_def.
2293 (__rewinddir): Use libc_hidden_def.
2294 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2295 as weak alias of __rewinddir. Don't use libc_hidden_def.
2296 (__rewinddir): Use libc_hidden_def.
2297 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2298 weak alias of __rewinddir. Don't use libc_hidden_def.
2299 (__rewinddir): Use libc_hidden_def.
2300 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2301 (__rewinddir): Use libc_hidden_proto.
2302 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2303 rewinddir.
2304 (__getcwd): Use __rewinddir instead of rewinddir.
2305
5a6fa4d7
JM
2306 [BZ #17583]
2307 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2308 alias of __fileno. Use libc_hidden_weak.
2309 (__fileno): Use libc_hidden_def.
2310 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2311 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2312 alias of __ftello.
2313 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2314 __ftello.
2315 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2316 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2317 libc_hidden_def.
2318 (fread_unlocked): Don't use libc_hidden_ver.
2319 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2320 and define as weak alias of __fread_unlocked. Don't use
2321 libc_hidden_def.
2322 (__fread_unlocked): Use libc_hidden_def.
2323 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2324 (ftello): Don't use libc_hidden_proto.
2325 (__ftello): Declare. Use libc_hidden_proto.
2326 (fread_unlocked): Don't use libc_hidden_proto.
2327 (__fread_unlocked): Declare. Use libc_hidden_proto.
2328 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2329 and __ftello instead of fileno, fread_unlocked and ftello.
2330
2581b98e
SP
23312012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2332
2333 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2334 GOT12.
2335 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2336 Likewise.
2337 (_dl_start_user): Likewise.
2338 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2339
533bb7c2
SP
23402014-11-12 Carlos O'Donell <carlos@redhat.com>
2341 Siddhesh Poyarekar <siddhesh@redhat.com>
2342
2343 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2344 Move argv and envp down instead of moving argc up.
2345 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2346
fffa1cf8
LH
23472014-11-12 Leonhard Holz <leonhard.holz@web.de>
2348
2349 [BZ #17506]
2350 * test-skeleton.c (main): Return successful if one of
2351 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2352 * string/tst-strcoll-overflow.c: Define expected status.
2353
fb89b46d
TU
23542014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2355
2356 [BZ #17475]
2357 * locale/iso-639.def: Define Bhili and Tulu language codes.
2358
5c40c3ba
AH
23592014-11-11 Alan Hayward <alan.hayward@arm.com>
2360
2361 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2362
b17fe01b 23632014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
2364
2365 [BZ #17555]
2366 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2367
bd805071
AS
23682014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2369
2370 * configure.ac: Updated check of minimal required version to
2371 2.22.
2372 * manual/install.texi (Tools for Compilation): Updated version
2373 number.
2374 * configure: Regenerated.
2375 * INSTALL: Likewise.
2376
1400983e
AS
23772014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2378
2379 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2380 __tls_get_addr.
2381
2c46a66a
JM
23822014-11-07 Joseph Myers <joseph@codesourcery.com>
2383
2384 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2385 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2386 (__waitpid): Don't define as alias. Use libc_hidden_def not
2387 libc_hidden_weak.
2388 (waitpid): Define as alias of __waitpid.
2389 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2390 __waitpid.
2391 (__waitpid): Don't define as alias. Use libc_hidden_def not
2392 libc_hidden_weak.
2393 (waitpid): Define as alias of __waitpid.
2394 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2395 __libc_waitpid alias.
2396 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2397 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2398 Likewise.
2399 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2400 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2401 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2402 alias.
2403 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2404 __waitpid.
2405 (__waitpid): Don't define as alias. Use libc_hidden_def not
2406 libc_hidden_weak.
2407 (waitpid): Define as alias of __waitpid.
2408
da53d6db
CD
24092014-11-06 Carlos O'Donell <carlos@redhat.com>
2410
a2887bdb
CD
2411 * manual/llio.texi: Add comment that write safety has been
2412 fixed in Linux.
2413
da53d6db
CD
2414 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2415 (localplt-build-dso): Add elf/ld.so.
2416 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2417 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2418 and free for ld.so.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2420 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2422 Likewise.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2424 Likewise.
2425 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2426 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2427 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2428 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2429 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2430 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2431 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2432 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2433 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2436
9cf27b8d
JM
24372014-11-05 Joseph Myers <joseph@codesourcery.com>
2438
2439 [BZ #14132]
2440 * include/libc-symbols.h (INTUSE): Remove macro.
2441 (INTDEF): Likewise.
2442 (INTVARDEF): Likewise.
2443 (_INTVARDEF): Likewise.
2444 (INTDEF2): Likewise.
2445 (INTVARDEF2): Likewise.
2446 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2447 rtld_hidden_def instead of INTVARDEF.
2448 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2449 (_dl_starting_up_internal): Remove declaration.
2450 (_dl_starting_up): Use rtld_hidden_proto.
2451 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2452 declaration.
2453 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2454 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2455 _dl_starting_up.
2456 * elf/dl-writev.h (_dl_writev): Likewise.
2457 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2458 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2459 _dl_starting_up_internal.
2460
af83568d
AZ
24612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2462
2463 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2464 test-skeleton.c.
2465
b01ee67c
WN
24662014-11-05 Will Newton <will.newton@linaro.org>
2467
2468 * benchtests/Makefile: (bench-malloc): Add malloc thread
2469 scalability benchmark.
2470 * benchtests/bench-malloc-threads.c: New file.
2471
be9d4ccc
RE
24722014-11-05 Richard Earnshaw <rearnsha@arm.com>
2473
2474 * sysdeps/aarch64/strchrnul.S: New file.
2475
7110166d
AZ
24762014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477
2478 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2479 definition.
2480 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2481 Likwise.
2482 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2483 Likewise.
2484 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2485 Likewise.
2486 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2487 Likewise.
2488 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2489 Likewise.
2490
24912014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
2492
2493 * catgets/test-gencat.c: Use test-skeleton.c.
2494 * catgets/tst-catgets.c: Likewise.
2495 * csu/tst-empty.c: Likewise.
2496 * elf/tst-audit2.c: Likewise.
2497 * elf/tst-global1.c: Likewise.
2498 * elf/tst-pathopt.c: Likewise.
2499 * elf/tst-piemod1.c: Likewise.
2500 * elf/tst-tls10.c: Likewise.
2501 * elf/tst-tls11.c: Likewise.
2502 * elf/tst-tls12.c: Likewise.
2503 * gnulib/tst-gcc.c: Likewise.
2504 * iconvdata/tst-e2big.c: Likewise.
2505 * iconvdata/tst-loading.c: Likewise.
2506 * iconv/tst-iconv1.c: Likewise.
2507 * iconv/tst-iconv2.c: Likewise.
2508 * inet/test-inet6_opt.c: Likewise.
2509 * inet/tst-gethnm.c: Likewise.
2510 * inet/tst-network.c: Likewise.
2511 * inet/tst-ntoa.c: Likewise.
2512 * intl/tst-codeset.c: Likewise.
2513 * intl/tst-gettext2.c: Likewise.
2514 * intl/tst-gettext3.c: Likewise.
2515 * intl/tst-ngettext.c: Likewise.
2516 * intl/tst-translit.c: Likewise.
2517 * io/test-stat.c: Likewise.
2518 * libio/test-fmemopen.c: Likewise.
2519 * libio/tst-freopen.c: Likewise.
2520 * libio/tst-sscanf.c: Likewise.
2521 * libio/tst-ungetwc1.c: Likewise.
2522 * libio/tst-ungetwc2.c: Likewise.
2523 * libio/tst-widetext.c: Likewise.
2524 * localedata/tst-ctype.c: Likewise.
2525 * localedata/tst-digits.c: Likewise.
2526 * localedata/tst-leaks.c: Likewise.
2527 * localedata/tst-mbswcs1.c: Likewise.
2528 * localedata/tst-mbswcs2.c: Likewise.
2529 * localedata/tst-mbswcs3.c: Likewise.
2530 * localedata/tst-mbswcs4.c: Likewise.
2531 * localedata/tst-mbswcs5.c: Likewise.
2532 * localedata/tst-setlocale.c: Likewise.
2533 * localedata/tst-trans.c: Likewise.
2534 * localedata/tst-wctype.c: Likewise.
2535 * localedata/tst-xlocale1.c: Likewise.
2536 * login/tst-grantpt.c: Likewise.
2537 * malloc/tst-calloc.c: Likewise.
2538 * malloc/tst-malloc.c: Likewise.
2539 * malloc/tst-mallocstate.c: Likewise.
2540 * malloc/tst-mcheck.c: Likewise.
2541 * malloc/tst-mtrace.c: Likewise.
2542 * malloc/tst-obstack.c: Likewise.
2543 * math/atest-exp2.c: Likewise.
2544 * math/atest-exp.c: Likewise.
2545 * math/atest-sincos.c: Likewise.
2546 * math/test-matherr.c: Likewise.
2547 * math/test-misc.c: Likewise.
2548 * math/test-powl.c: Likewise.
2549 * math/tst-definitions.c: Likewise.
2550 * misc/tst-dirname.c: Likewise.
2551 * misc/tst-efgcvt.c: Likewise.
2552 * misc/tst-fdset.c: Likewise.
2553 * misc/tst-hsearch.c: Likewise.
2554 * misc/tst-mntent2.c: Likewise.
2555 * nptl/tst-sem7.c: Likewise.
2556 * nptl/tst-sem8.c: Likewise.
2557 * nptl/tst-sem9.c: Likewise.
2558 * nss/test-netdb.c: Likewise.
2559 * posix/tst-fnmatch.c: Likewise.
2560 * posix/tst-getlogin.c: Likewise.
2561 * posix/tst-gnuglob.c: Likewise.
2562 * posix/tst-mmap.c: Likewise.
2563 * pwd/tst-getpw.c: Likewise.
2564 * resolv/tst-inet_ntop.c: Likewise.
2565 * rt/tst-timer.c: Likewise.
2566 * stdio-common/test-fseek.c: Likewise.
2567 * stdio-common/test-popen.c: Likewise.
2568 * stdio-common/test-vfprintf.c: Likewise.
2569 * stdio-common/tst-cookie.c: Likewise.
2570 * stdio-common/tst-fileno.c: Likewise.
2571 * stdio-common/tst-gets.c: Likewise.
2572 * stdio-common/tst-obprintf.c: Likewise.
2573 * stdio-common/tst-perror.c: Likewise.
2574 * stdio-common/tst-sprintf2.c: Likewise.
2575 * stdio-common/tst-sprintf3.c: Likewise.
2576 * stdio-common/tst-sprintf.c: Likewise.
2577 * stdio-common/tst-swprintf.c: Likewise.
2578 * stdio-common/tst-tmpnam.c: Likewise.
2579 * stdio-common/tst-unbputc.c: Likewise.
2580 * stdio-common/tst-wc-printf.c: Likewise.
2581 * stdlib/tst-environ.c: Likewise.
2582 * stdlib/tst-fmtmsg.c: Likewise.
2583 * stdlib/tst-limits.c: Likewise.
2584 * stdlib/tst-rand48-2.c: Likewise.
2585 * stdlib/tst-rand48.c: Likewise.
2586 * stdlib/tst-random2.c: Likewise.
2587 * stdlib/tst-random.c: Likewise.
2588 * stdlib/tst-strtol.c: Likewise.
2589 * stdlib/tst-strtoll.c: Likewise.
2590 * stdlib/tst-tls-atexit.c: Likewise.
2591 * stdlib/tst-xpg-basename.c: Likewise.
2592 * string/test-ffs.c: Likewise.
2593 * string/tst-bswap.c: Likewise.
2594 * string/tst-inlcall.c: Likewise.
2595 * string/tst-strtok.c: Likewise.
2596 * string/tst-strxfrm.c: Likewise.
2597 * sysdeps/x86_64/tst-audit10.c: Likewise.
2598 * sysdeps/x86_64/tst-audit3.c: Likewise.
2599 * sysdeps/x86_64/tst-audit4.c: Likewise.
2600 * sysdeps/x86_64/tst-audit5.c: Likewise.
2601 * time/tst-ftime_l.c: Likewise.
2602 * time/tst-getdate.c: Likewise.
2603 * time/tst-mktime3.c: Likewise.
2604 * time/tst-mktime.c: Likewise.
2605 * time/tst-posixtz.c: Likewise.
2606 * time/tst-strptime2.c: Likewise.
2607 * time/tst-strptime3.c: Likewise.
2608 * wcsmbs/tst-btowc.c: Likewise.
2609 * wcsmbs/tst-mbrtowc.c: Likewise.
2610 * wcsmbs/tst-mbsrtowcs.c: Likewise.
2611 * wcsmbs/tst-wchar-h.c: Likewise.
2612 * wcsmbs/tst-wcpncpy.c: Likewise.
2613 * wcsmbs/tst-wcrtomb.c: Likewise.
2614 * wcsmbs/tst-wcsnlen.c: Likewise.
2615 * wcsmbs/tst-wcstof.c: Likewise.
2616
2004e7fb
JM
26172014-11-04 Joseph Myers <joseph@codesourcery.com>
2618
ab97ee8f
JM
2619 [BZ #14132]
2620 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2621 INTDEF.
2622 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2623 declaration.
2624 (_dl_mcount): Use rtld_hidden_proto.
2625 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2626 _dl_mcount.
2627 * elf/rtld.c (_rtld_global_ro): Likewise.
2628
c5684fdb
JM
2629 [BZ #14132]
2630 * elf/dl-init.c (_dl_init): Don't use INTDEF.
2631 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2632 of _dl_init_internal.
2633 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2634 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2635 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2636 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2637 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2638 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2639 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2640 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2641 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2642 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2643 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2644 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2645 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2646 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2647 * sysdeps/tile/dl-start.S (_start): Likewise.
2648 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2649 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2650
4243cbea
JM
2651 [BZ #14132]
2652 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2653 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2654 (rtld_progname): Make macro definition unconditional.
2655 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2656 INTDEF.
2657 (dlmopen_doit): Do not use INTUSE with _dl_argv.
2658 (dl_main): Likewise.
2659 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2660 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2661 instead of _dl_argv_internal.
2662 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2663 __GI__dl_argv instead of INTUSE(_dl_argv).
2664 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2665 __GI__dl_argv instead of _dl_argv_internal.
2666
2004e7fb
JM
2667 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2668 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2669 macro.
2670 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2671 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2672 New macro.
2673 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2674 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2675 macro.
2676 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2677 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2678
97827bfc
AS
26792014-11-04 Andreas Schwab <schwab@suse.de>
2680
2681 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2682
5e4df284
AZ
26832014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2684
2685 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2686 mtvsrd instruction in binary form.
2687
04b76b5a
AS
26882014-11-03 Andreas Schwab <schwab@suse.de>
2689
2690 [BZ #17522]
2691 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2692 for less than MB_LEN_MAX use a local buffer of that size.
2693 * libio/tst-fputws.c: New file.
2694 * libio/Makefile (tests): Add tst-fputws.
2695
4c6da7da
JM
26962014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
2697
2698 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2699 the size of the fpu_fr.fpu_dregs[] array.
2700
1679ba8e
JM
27012014-11-01 Joseph Myers <joseph@codesourcery.com>
2702
2703 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2704 (__nanosleep): Do not define as alias.
2705 (nanosleep): Define as alias of __nanosleep.
2706 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2707 __libc_nanosleep name.
2708
2626c183
JM
27092014-10-31 Joseph Myers <joseph@codesourcery.com>
2710
2711 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2712 install.texi in comment.
2713
7f981fc2
TR
27142014-10-31 Torvald Riegel <triegel@redhat.com>
2715
2716 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2717 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2718 ... add here and use lwsync or sync ...
2719 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2720 ... and add here using lwsync.
2721
d6f373d2
MF
27222014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
2723
2724 * elf/dl-machine-reject-phdr.h: New file.
2725 * elf/dl-load.c: #include that.
2726 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2727 if that returned true.
2728
67c37987
RM
27292014-10-31 Roland McGrath <roland@hack.frob.com>
2730
2731 [BZ #17496]
2732 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2733 gen-as-const-headers chunk. Add a big scare comment after the last
2734 safe place to touch before-compile.
2735
94a42455 27362014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 2737
f3f5d895
JM
2738 * manual/install.texi (Tools for Compilation): Update autoconf
2739 version requirements.
2740 * INSTALL: Regenerated.
2741
f62ff286
JM
2742 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2743 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2744 (__libc_pselect): Likewise.
94a42455
JM
2745
2746 [BZ #14138]
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2751
ff9dbdc0
TR
27522014-10-31 Torvald Riegel <triegel@redhat.com>
2753
2754 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2755 correct barrier instruction.
2756 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2757 Likewise.
2758 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2759 Likewise.
2760
b4f66884
RM
27612014-10-30 Roland McGrath <roland@hack.frob.com>
2762
2763 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2764 after defining inlines. Instead, just use parens to defeat macro
2765 expansion of __isctype in its declaration.
2766
e19c95fd
JM
27672014-10-30 Joseph Myers <joseph@codesourcery.com>
2768
2769 * include/sys/uio.h (__libc_readv): Remove declaration.
2770 (__libc_writev): Likewise.
2771 * misc/readv.c (__libc_readv): Rename to __readv.
2772 (__readv): Do not define as alias.
2773 (readv): Define as alias of __readv.
2774 * misc/writev.c (__libc_writev): Rename to __writev.
2775 (__writev): Do not define as alias.
2776 (writev): Define as alias of __writev.
2777 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2778 (__readv): Do not define as alias.
2779 (readv): Define unconditionally as alias of __readv.
2780 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2781 (__writev): Do not define as alias.
2782 (writev): Define unconditionally as alias of __writev.
2783 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2784 name.
2785 (writev): Do not define __libc_writev name.
2786
65b00b6c
RM
27872014-10-30 Roland McGrath <roland@hack.frob.com>
2788
2789 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2790 (convert_charseq): New function, broken out of ...
2791 (use_from_charmap): ... here. Call it.
2792 (use_to_charmap): Use convert_charseq and free instead of duplicating
2793 its code with a variable-length stack struct.
2794
d4e157aa
JM
27952014-10-30 Joseph Myers <joseph@codesourcery.com>
2796
2797 * include/fcntl.h (__libc_creat): Remove declaration.
2798 * io/creat.c (__libc_creat): Rename to creat.
2799 (creat): Do not define as alias.
2800 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2801 of creat instead of __libc_creat.
2802 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2803 to creat.
2804 (creat): Do not define as alias.
2805 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2806 __libc_creat.
2807 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2808 __libc_creat name.
2809 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2810 Likewise.
2811
0c6891a0
CD
28122014-10-29 Carlos O'Donell <carlos@redhat.com>
2813
2814 * manual/llio.texi: Add comments discussing why write() may be
2815 considered MT-unsafe on Linux.
2816
cc00cece
CD
28172014-10-28 Carlos O'Donell <carlos@redhat.com>
2818
2819 * dl-load.c (local_strdup): Remove.
2820 (expand_dynamic_string_token): Use __strdup.
2821 (decompose_rpath): Likewise.
2822 (_dl_map_object): Likewise.
2823
51e623f2
JM
28242014-10-28 Joseph Myers <joseph@codesourcery.com>
2825
2826 [BZ #14132]
2827 * sysdeps/generic/unwind-dw2-fde.c
2828 (__register_frame_info_bases_internal): Do not declare.
2829 (__register_frame_info_table_bases_internal): Likewise.
2830 (__deregister_frame_info_bases_internal): Likewise.
2831 (__register_frame_info_bases): Declare and use hidden_proto before
2832 definition. Use hidden_def instead of INTDEF.
2833 (__register_frame_info_table_bases): Likewise.
2834 (__deregister_frame_info_bases): Likewise.
2835 (__register_frame_info): Do not use INTUSE.
2836 (__register_frame): Likewise.
2837 (__register_frame_info_table): Likewise.
2838 (__register_frame_table): Likewise.
2839 (__deregister_frame_info): Likewise.
2840 (__deregister_frame): Likewise.
2841
03d41216
GC
28422014-10-27 Gratian Crisan <gratian.crisan@ni.com>
2843
2844 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2845 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2846 not undefine.
2847 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2848 Likewise.
2849 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2850 Likewise.
2851
a4b3624d
JM
28522014-10-27 Joseph Myers <joseph@codesourcery.com>
2853
2854 [BZ #14138]
2855 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2856 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2857 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2858 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2859 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2860 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2862 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2863 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2864 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2866 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2867 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2868 syscall.
2869 (setfsuid): Likewise.
2870 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2871 (setfsuid): Likewise.
2872 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2873 (setfsuid): Likewise.
2874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2875 Likewise.
2876 (setfsuid): Likewise.
2877 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2878 (setfsuid): Likewise.
2879 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2880 Likewise.
2881 (setfsuid): Likewise.
2882
3574f2fd
AS
28832014-10-27 Andreas Schwab <schwab@suse.de>
2884
2885 [BZ #17501]
2886 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2887 check for Slow_SSE4_2 feature bit.
2888 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2889 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2890 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2891 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2892
70996a37
RM
28932014-10-24 Roland McGrath <roland@hack.frob.com>
2894
461a7b1e
RM
2895 * configure.ac: Validate compiler version with a empirical test of
2896 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2897 $CC -v output.
2898 * configure: Regenerated.
2899
70996a37
RM
2900 * inet/htons.c (htons): Prototypify.
2901 * inet/htonl.c (htonl): Likewise.
2902
e80514b5
WD
29032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2904
2905 * string/strncat.c (strncat): Improve performance by using strlen.
2906
6e46de42
WD
29072014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2908
2909 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2910
6a9ad2fa
WD
29112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2912
2913 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2914 Call libc_fetestexcept_aarch64.
2915
1c8810ed
WD
29162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2917
2918 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2919 Call libc_feholdexcept_aarch64.
2920
8b1af712
WD
29212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2922
2923 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2924 Call get_rounding_mode.
2925
a7b00c11
WD
29262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2927
2928 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2929 Simplify logic.
2930
3a84f1a6
WD
29312014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2932
2933 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2934 Simplify logic.
2935
48eb7a94
JM
29362014-10-24 Joseph Myers <joseph@codesourcery.com>
2937
c8bc4038
JM
2938 [BZ #14138]
2939 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2940 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2941 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2942 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2943 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2944 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2945 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2946 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2948 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2949 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2950 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2951 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2952 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2953 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2954 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2955 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2956 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2957 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2958 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2959 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2960 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2961 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2962 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2963 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2964 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2965 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2966 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2967 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2968 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2969 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2970 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2971 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2972 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2973 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2974 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2976 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2979 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2980 syscall.
2981 (geteuid): Likewise.
2982 (getgid): Likewise.
2983 (getuid): Likewise.
2984 (getresgid): Likewise.
2985 (getresuid): Likewise.
2986 (getgroups): Likewise.
2987 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2988 (geteuid): Likewise.
2989 (getgid): Likewise.
2990 (getuid): Likewise.
2991 (getresgid): Likewise.
2992 (getresuid): Likewise.
2993 (getgroups): Likewise.
2994 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2995 (geteuid): Likewise.
2996 (getgid): Likewise.
2997 (getuid): Likewise.
2998 (getresgid): Likewise.
2999 (getresuid): Likewise.
3000 (getgroups): Likewise.
3001 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3002 Likewise.
3003 (geteuid): Likewise.
3004 (getgid): Likewise.
3005 (getuid): Likewise.
3006 (getresgid): Likewise.
3007 (getresuid): Likewise.
3008 (getgroups): Likewise.
3009 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3010 (geteuid): Likewise.
3011 (getgid): Likewise.
3012 (getuid): Likewise.
3013 (getresgid): Likewise.
3014 (getresuid): Likewise.
3015 (getgroups): Likewise.
3016 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3017 Likewise.
3018 (geteuid): Likewise.
3019 (getgid): Likewise.
3020 (getuid): Likewise.
3021 (getgroups): Likewise.
3022
48eb7a94
JM
3023 [BZ #14138]
3024 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3025 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3026 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3027 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3028 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3029 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3030 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3031 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3032 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3033 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3034 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3035 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3036 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3037 __chown.
3038 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3039 (lchown): Likewise.
3040 (fchown): Likewise.
3041 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3042 Likewise.
3043 (lchown): Likewise.
3044 (fchown): Likewise.
3045 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3046 (lchown): Likewise.
3047 (fchown): Likewise.
3048 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3049 Likewise.
3050 (lchown): Likewise.
3051 (fchown): Likewise.
3052
ea9a7c8b
WD
30532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3054
3055 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3056 Simplify logic.
3057
e226de33
WD
30582014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3059
3060 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3061 Cleanup logic.
3062
6e3d8ed3
WD
30632014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3064
3065 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3066 Remove unused include.
3067
eb04247d
WD
30682014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3069
3070 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3071 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3072 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3073 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3074
13d84554
CD
30752014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3076 Helge Deller <deller@gmx.de>
3077
3078 [BZ #17508]
3079 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3080 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3081 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3082
15f9c5df
JM
30832014-10-23 Joseph Myers <joseph@codesourcery.com>
3084
3085 [BZ #14132]
3086 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3087 Remove macro definition.
3088 (__ashrdi3_v_glibc20): Likewise.
3089 (__lshrdi3_v_glibc20): Likewise.
3090 (__cmpdi2_v_glibc20): Likewise.
3091 (__ucmpdi2_v_glibc20): Likewise.
3092 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3093 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3094 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3095 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3096 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3097 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3098
c6dfed24
RM
30992014-10-22 Roland McGrath <roland@hack.frob.com>
3100
3101 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3102 old GNU extension [0] syntax.
3103 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3104 alloca rather than an array member with variable length.
3105 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3106 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3107 (parse_opt): ... here. Likewise use alloca there.
3108 Validate the -i argument before checking for rootness.
3109 (send_shutdown): New function, broken out of ...
3110 (parse_opt): ... here.
3111
8c2b1ed8
RM
31122014-10-22 Roland McGrath <roland@hack.frob.com>
3113
3114 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3115 macro to get at the _rt_local_ro field.
3116 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3117 ([PIC] case) or _dl_hwcap ([!PIC] case).
3118 * sysdeps/arm/setjmp.S: Likewise.
3119
3120 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3121 * sysdeps/arm/configure.ac: New check to define it.
3122 * sysdeps/arm/configure: Regenerated.
3123 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3124 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3125 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3126 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3127 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3128 Use move/movt pair instead of a load.
3129 (LDST_GLOBAL): Macro removed.
3130 (LDR_GLOBAL): New macro replaces it.
3131 (LDR_HIDDEN): New macro.
3132 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3133 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3134
3135 * setjmp/tst-setjmp-static.c: New file.
3136 * setjmp/Makefile (tests): Add it.
3137 (tests-static): New variable.
3138
b5af9297
MR
31392014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3140
3141 [BZ #17485]
3142 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3143
a13d0d74
JM
31442014-10-21 Joseph Myers <joseph@codesourcery.com>
3145
3146 [BZ #14132]
3147 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3148
f05e73f6
RM
31492014-10-21 Roland McGrath <roland@hack.frob.com>
3150
3151 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3152
6ab1d1ea
RM
31532014-10-20 Roland McGrath <roland@hack.frob.com>
3154
3155 * io/fts.c (dirent_not_directory): New function.
3156 (fts_build): Call it.
3157
ab49e763
RM
31582014-10-20 Roland McGrath <roland@hack.frob.com>
3159
e436eb79
RM
3160 * nptl/version.c (__nptl_main): Use normal __write rather than
3161 INTERNAL_SYSCALL.
3162 (banner): Update copyright years.
3163
6af246cf
RM
3164 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3165 gettimeofday.
3166 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3167 * nptl/pthread_cond_timedwait.c: Likewise.
3168 * nptl/pthread_mutex_timedlock.c: Likewise.
3169 * nptl/sem_timedwait.c: Likewise.
3170
ab49e763
RM
3171 * sysdeps/nptl/bits/libc-lock.h
3172 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3173 (__libc_lock_init_recursive): Return void, not 0.
3174 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3175 (__libc_rwlock_init): Likewise.
3176 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3177
f50277c1
TR
31782014-10-20 Torvald Riegel <triegel@redhat.com>
3179
3180 [BZ #15215]
3181 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3182 (__pthread_once_slow): ... here.
3183 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3184 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3185
63668b70
TR
31862014-10-20 Torvald Riegel <triegel@redhat.com>
3187
3188 [BZ #15215]
3189 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3190 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3191 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3192 * nptl/pthread_once.c (__pthread_once): Likewise.
3193 Update comments.
3194
42b7f5d4
JM
31952014-10-20 Joseph Myers <joseph@codesourcery.com>
3196
3197 [BZ #14138]
3198 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3199 name.
3200 (writev): Use __libc_writev as strong name.
3201 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3202 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3203
b0643088
RM
32042014-10-17 Roland McGrath <roland@hack.frob.com>
3205
114c4e09
RM
3206 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3207
674b8978
RM
3208 * sysdeps/i386/nptl/tls.h
3209 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3210 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3211 New macros.
3212 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3213 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3214 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3215 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3216 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3217 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3218
184ee940
RM
3219 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3220 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3221 on [__NR_futex].
3222 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3223 broken out of ...
3224 (__pthread_mutex_init): ... here. Call it.
3225 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3226 Conditionalize PI cases on [__NR_futex].
3227 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3228 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3229 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3230
327ae257
RM
3231 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3232 conditional on [SIGSETXID].
3233 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3234 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3235 is defined. Likewise for SIGSETXID.
3236 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3237 Conditionalize definitions on [SIGSETXID].
3238 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3239 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3240 unblocking on [SIGCANCEL].
3241
b0643088
RM
3242 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3243 [__NR_set_robust_list].
3244
33cc770b
SP
32452014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3246
3247 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3248 (do_compare): Likewise.
3249
0742aef6
LH
32502014-10-17 Leonhard Holz <leonhard.holz@web.de>
3251
3252 [BZ #15884]
3253 * string/strcoll_l.c: Don't include stdio.h.
3254 (coll_seq): Remove members idxarr and rulearr.
3255 (get_next_seq_cached): Remove function.
3256 (get_next_seq): Likewise.
3257 (get_next_seq_nocache): Rename to get_next_seq.
3258 (do_compare): Remove function.
3259 (do_compare_nocache): Rename to do_compare.
3260 (STRCOLL): Remove weight and rules cache.
3261
ee54ce44
RM
32622014-10-16 Roland McGrath <roland@hack.frob.com>
3263
3264 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3265 * sysdeps/arm/sfp-machine.h: ... to here.
3266 * sysdeps/arm/Implies: Remove arm/soft-fp.
3267
a75d3b02
JM
32682014-10-14 Joseph Myers <joseph@codesourcery.com>
3269
3270 * conform/data/sys/utsname.h-data (*_t): Allow.
3271 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3272 [POSIX] (WEXITED): Do not expect constant.
3273 [POSIX] (WSTOPPED): Likewise.
3274 [POSIX] (WNOHANG): Likewise.
3275 [POSIX] (WNOWAIT): Likewise.
3276 [POSIX] (siginfo_t): Do not expect type or elements.
3277 [POSIX] (pid_t): Do not expect type.
3278 [POSIX] (signal.h): Do not allow header.
3279 [POSIX] (sys/resource.h): Likewise.
3280 [POSIX] (si_*): Do not allow pattern.
3281 [POSIX] (W*): Likewise.
3282 [POSIX] (P_*): Likewise.
3283 [POSIX] (BUS_*): Likewise.
3284 [POSIX] (CLD_*): Likewise.
3285 [POSIX] (FPE_*): Likewise.
3286 [POSIX] (ILL_*): Likewise.
3287 [POSIX] (POLL_*): Likewise.
3288 [POSIX] (SEGV_*): Likewise.
3289 [POSIX] (SI_*): Likewise.
3290 [POSIX] (TRAP_*): Likewise.
3291 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3292 variable.
3293
fda389c8
SP
32942014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3295
3296 [BZ #12926]
3297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3298 infinite loop when __recvmsg returns 0.
3299
6bc6bd3b
JM
33002014-10-10 Joseph Myers <joseph@codesourcery.com>
3301
fcb32af1
JM
3302 * CANCEL-FCT-WAIVE: Remove file.
3303 * CANCEL-FILE-WAIVE: Likewise.
3304
6bc6bd3b
JM
3305 [BZ #14132]
3306 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3307 instead of INTVARDEF.
3308 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3309 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3310 rtld_hidden_data_def instead of INTVARDEF.
3311 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3312 * elf/dl-deps.c (expand_dst): Likewise.
3313 * elf/dl-load.c (_dl_dst_count): Likewise.
3314 (_dl_dst_substitute): Likewise.
3315 (decompose_rpath): Likewise.
3316 (_dl_init_paths): Likewise.
3317 (open_path): Likewise.
3318 (_dl_map_object): Likewise.
3319 * elf/rtld.c (dl_main): Likewise.
3320 (process_dl_audit): Likewise.
3321 (process_envvars): Likewise.
3322 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3323 Remove declaration.
3324 (__libc_enable_secure): Use rtld_hidden_proto.
3325
b8c80a7e
KS
33262014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3327
3328 * elf/dl-load.c
3329 (add_path): New function broken out of _dl_rtld_di_serinfo.
3330 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3331
ff12c11f
JM
33322014-10-09 Joseph Myers <joseph@codesourcery.com>
3333
5c0508a3
JM
3334 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3335 parentheses around macro arguments.
3336 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3339 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3340 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3341 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3342 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3343 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3344 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3345 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3347 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3348 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3349 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3350 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3351 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3352 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3353 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3354 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3357 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3358 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3359 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3361 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3362 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3363 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3365 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3366 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3367 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3368 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3369 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3370 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3371 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3372 Likewise.
3373 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3375 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3378 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3379 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3380 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3381 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3382 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3383 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3384 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3385 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3386 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3390 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3394 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3395 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3397 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3398 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3399 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3400 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3401 (_FP_FRAC_SRS_1): Likewise.
3402 (_FP_FRAC_CLZ_1): Likewise.
3403 (_FP_MUL_MEAT_1_imm): Likewise.
3404 (_FP_MUL_MEAT_1_wide): Likewise.
3405 (_FP_MUL_MEAT_1_hard): Likewise.
3406 (_FP_SQRT_MEAT_1): Likewise.
3407 (_FP_FRAC_ASSEMBLE_1): Likewise.
3408 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3409 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3410 (__FP_CLZ_2): Likewise.
3411 (_FP_MUL_MEAT_2_wide): Likewise.
3412 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3413 (_FP_MUL_MEAT_2_gmp): Likewise.
3414 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3415 (_FP_SQRT_MEAT_2): Likewise.
3416 (_FP_FRAC_ASSEMBLE_2): Likewise.
3417 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3418 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3419 (_FP_FRAC_CLZ_4): Likewise.
3420 (_FP_MUL_MEAT_4_wide): Likewise.
3421 (_FP_MUL_MEAT_4_gmp): Likewise.
3422 (_FP_SQRT_MEAT_4): Likewise.
3423 (_FP_FRAC_ASSEMBLE_4): Likewise.
3424 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3425 * soft-fp/op-common.h (_FP_CMP): Likewise.
3426 (_FP_CMP_EQ): Likewise.
3427 (_FP_CMP_UNORD): Likewise.
3428 (_FP_TO_INT): Likewise.
3429 (_FP_FROM_INT): Likewise.
3430 [!__FP_CLZ] (__FP_CLZ): Likewise.
3431 (_FP_DIV_HELP_imm): Likewise.
3432 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3433 Likewise.
3434 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3440 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3444 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3445 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3446 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3448 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3449 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3450 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3451 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3459 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3463 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3464 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3466 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3467 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3468 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3469 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3470 (FP_UNPACK_RAW_SP): Likewise.
3471 (FP_PACK_RAW_S): Likewise.
3472 (FP_PACK_RAW_SP): Likewise.
3473 (FP_UNPACK_S): Likewise.
3474 (FP_UNPACK_SP): Likewise.
3475 (FP_UNPACK_SEMIRAW_S): Likewise.
3476 (FP_UNPACK_SEMIRAW_SP): Likewise.
3477 (FP_PACK_S): Likewise.
3478 (FP_PACK_SP): Likewise.
3479 (FP_PACK_SEMIRAW_S): Likewise.
3480 (FP_PACK_SEMIRAW_SP): Likewise.
3481 (_FP_SQRT_MEAT_S): Likewise.
3482 (FP_CMP_S): Likewise.
3483 (FP_CMP_EQ_S): Likewise.
3484 (FP_CMP_UNORD_S): Likewise.
3485 (FP_TO_INT_S): Likewise.
3486 (FP_FROM_INT_S): Likewise.
3487
a736ec37
JM
3488 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3489
ff12c11f
JM
3490 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3491 (FP_EX_INVALID_IMZ): Likewise.
3492 (FP_EX_INVALID_IMZ_FMA): Likewise.
3493 (FP_EX_INVALID_ISI): Likewise.
3494 (FP_EX_INVALID_ZDZ): Likewise.
3495 (FP_EX_INVALID_IDI): Likewise.
3496 (FP_EX_INVALID_SQRT): Likewise.
3497 (FP_EX_INVALID_CVI): Likewise.
3498 (FP_EX_INVALID_VC): Likewise.
3499 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3500 "invalid" exceptions.
3501 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3502 (_FP_ADD_INTERNAL): Likewise.
3503 (_FP_MUL): Likewise.
3504 (_FP_FMA): Likewise.
3505 (_FP_DIV): Likewise.
3506 (_FP_CMP_CHECK_NAN): Likewise.
3507 (_FP_SQRT): Likewise.
3508 (_FP_TO_INT): Likewise.
3509 (FP_EXTEND): Likewise.
3510
b6dcfe8c
AM
35112014-10-09 Allan McRae <allan@archlinux.org>
3512
3513 * po/fr.po: Update French translation from translation project.
3514
2d6a47ba
JM
35152014-10-09 Joseph Myers <joseph@codesourcery.com>
3516
cb831245
JM
3517 [BZ #14132]
3518 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3519 of INTDEF.
3520 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3521 (__cxa_atexit): Use libc_hidden_proto.
3522 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3523
5deeb190
JM
3524 [BZ #14132]
3525 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3526 declaration.
3527 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3528 [!_ISOMAC] (__iswspace_l_internal): Likewise.
3529 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3530 [!_ISOMAC] (__iswctype_internal): Likewise.
3531 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3532 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3533 alias.
3534 (fcntl): Remove __fcntl_internal alias.
3535 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3536 __connect_internal alias.
3537 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3538 Likewise.
3539
454ac701
JM
3540 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3541 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3542 FP_DENORM_ZERO.
3543 (_FP_CHECK_FLUSH_ZERO): New macro.
3544 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3545 (_FP_CMP): Likewise.
3546 (_FP_CMP_EQ): Likewise.
3547 (_FP_TO_INT): Do not set inexact for subnormal arguments if
3548 FP_DENORM_ZERO.
3549 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3550 (FP_TRUNC): Likewise.
3551
0022e688
JM
3552 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3553 treated as invalid conversion, not as normal exponent.
3554
73e28d9c
JM
3555 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3556 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
3557 (_FP_CMP_EQ): Likewise.
3558 (_FP_CMP_UNORD): Likewise.
3559 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3560 (FP_CMP_EQ_D): Likewise.
3561 (FP_CMP_UNORD_D): Likewise.
3562 * soft-fp/extended.h (FP_CMP_E): Likewise.
3563 (FP_CMP_EQ_E): Likewise.
3564 (FP_CMP_UNORD_E): Likewise.
3565 * soft-fp/quad.h (FP_CMP_Q): Likewise.
3566 (FP_CMP_EQ_Q): Likewise.
3567 (FP_CMP_UNORD_Q): Likewise.
3568 * soft-fp/single.h (FP_CMP_S): Likewise.
3569 (FP_CMP_EQ_S): Likewise.
3570 (FP_CMP_UNORD_S): Likewise.
3571 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3572 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3573 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3574 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3575 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3576 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3577 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3578 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3579 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3580 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3581 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3582 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3583 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3584 to FP_CMP_Q.
3585 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3586 FP_CMP_Q.
3587 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3588 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3589 FP_CMP_EQ_Q.
3590 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3591 FP_CMP_Q.
3592 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3593 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3594 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3595 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3596 FP_CMP_EQ_Q.
3597 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3598 FP_CMP_Q.
3599 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3600 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3601 FP_CMP_EQ_Q.
3602 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3603 FP_CMP_Q.
3604 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3605 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3606 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3607 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3608 FP_CMP_EQ_Q.
3609
43059f42
JM
3610 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3611 a subnormal result, set the underflow exception if trapping on
3612 underflow is enabled.
3613 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3614 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3615 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3616 redefine to 0.
3617 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3618 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3619 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3620 * soft-fp/extendxftf2.c (__extendxftf2): Use
3621 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3622
2d6a47ba
JM
3623 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3624 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3625 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3626 FP_HANDLE_EXCEPTIONS.
3627 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3628 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3629 FP_HANDLE_EXCEPTIONS.
3630 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3631 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3632 FP_HANDLE_EXCEPTIONS.
3633 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3634 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3635 FP_HANDLE_EXCEPTIONS.
3636
620f462e
JM
36372014-10-08 Joseph Myers <joseph@codesourcery.com>
3638
3639 [BZ #14132]
3640 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3641 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3642 use INTUSE.
3643 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3644 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3645 Remove alias.
3646 (__adjtimex): Define using libc_hidden_ver.
3647 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3648 Remove declaration.
3649 (ntp_gettime): Call __adjtimex directly.
3650 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3651 Remove declaration.
3652 (ntp_gettimex): Call __adjtimex directly.
3653 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3654 __adjtimex_internal alias.
3655
c763c5d2
RM
36562014-10-08 Roland McGrath <roland@hack.frob.com>
3657
3658 [BZ #17460]
3659 * nscd/nscd.c (more_help): Rewrite list of tables collection
3660 using xstrdup and asprintf.
3661
3662 * nscd/nscd_conf.c: Remove local xstrdup declaration.
3663
7b8fb2b8
RM
36642014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3665 Roland McGrath <roland@hack.frob.com>
3666
3667 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3668 (do_lookup_unique): ... local function 'enter' here; update callers.
3669
abb280f7
JM
36702014-10-06 Joseph Myers <joseph@codesourcery.com>
3671
f7b42517
JM
3672 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3673 compat_symbol calls on [SHARED].
3674 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3675 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3676 Remove.
3677 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3678 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3679 (oldsetrlimit): Remove.
3680 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3682 (lchown): New syscall entry.
3683 (oldsetrlimit): Remove.
3684 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3685 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3686 (oldsetrlimit): Remove.
3687 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3688
abb280f7
JM
3689 [BZ #14138]
3690 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3691 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3692 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3693 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3695 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3696 (fchown): Likewise.
3697 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3698 (fchown): Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3700 Likewise.
3701
47d46237
AZ
37022014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3703
3704 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3705 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3706 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3707 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3709 Likewise.
3710 (__old_sem_post): Likewise.
3711
37122014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 3713
845a7343
CM
3714 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3715 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3716 HAVE_CLOCK_GETTIME_VSYSCALL macros.
3717 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3718 Use INLINE_VSYSCALL macro.
3719 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3720 __vdso_clock_gettime.
3721 * sysdeps/unix/sysv/linux/tile/init-first.c
3722 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3723 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3724 __vdso_clock_gettime.
3725
83d641ef
CM
3726 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3727 to set up frame more cleanly.
3728
d9cd52e6
CM
3729 * sysdeps/tile/memcmp.c: New file.
3730
4b68ea11
CM
3731 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3732
c86f7b80
CM
3733 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3734 * sysdeps/tile/tilegx/strcasestr.c: New file.
3735 * sysdeps/tile/tilegx/strnlen.c: New file.
3736 * sysdeps/tile/tilegx/strstr.c: New file.
3737
1c4c1a6f
CM
3738 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3739
99d86ea3
AS
37402014-10-06 Arjun Shankar <arjun.is@lostca.se>
3741
3742 * nptl/tst-setuid3.c: Write errors to stdout.
3743
06210a44
KS
37442014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3745
3746 * elf/dl-deps.c
3747 (preload): New functions broken out of _dl_map_object_deps.
3748 (_dl_map_object_deps): Remove a nested function. Update call sites.
3749
6268f532
JM
37502014-10-01 Joseph Myers <joseph@codesourcery.com>
3751
3752 [BZ #14138]
3753 * sysdeps/unix/sysv/linux/execve.c: Remove file.
3754 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3755
b925285f
SE
37562014-10-01 Steve Ellcey <sellcey@mips.com>
3757
3758 * sysdeps/mips/strcmp.S: New.
3759
754a15c6
JM
37602014-09-30 Joseph Myers <joseph@codesourcery.com>
3761
3762 [BZ #14138]
3763 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3764 (linkat): Likewise.
3765 (mkdirat): Likewise.
3766 (readlinkat): Likewise.
3767 (renameat): Likewise.
3768 (symlinkat): Likewise.
3769 (unlinkat): Likewise.
3770 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3771 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3772 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3773 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3774 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3775 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3776 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3777
85bb81c9
WN
37782014-09-30 Will Newton <will.newton@linaro.org>
3779
dc6fe23b
WN
3780 * math/math.h: Define long double math functions if
3781 _LIBC_TEST is defined.
3782 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3783
85bb81c9
WN
3784 * localedata/Makefile: Move assignment to tests-special
3785 into an ifdef testing run-built-tests.
3786 * timezone/Makefile: Likewise.
3787
b7e02da4
JM
37882014-09-29 Joseph Myers <joseph@codesourcery.com>
3789
3790 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3791 with $(BASH) not $(SHELL).
3792
62058ce6
CD
37932014-09-29 Carlos O'Donell <carlos@redhat.com>
3794 Matthew LeGendre <legendre1@llnl.gov>
3795
3796 [BZ #17411]
3797 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3798 l_reloc_result.
3799
8e257a29
KS
38002014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3801
3802 * stdio-common/printf_fp.c
3803 (hack_digit): New function, broken out of ...
3804 (__printf_fp): ... local function here. Update call sites.
3805 hack_digit now takes an additional parameter that is a pointer
3806 to a struct of the referenced locals. Those locals moved inside
3807 the struct and references updated.
3808
f4a58f0d
L
38092014-09-29 H.J. Lu <hongjiu.lu@intel.com>
3810
3811 * aclocal.m4: Require autoconf 2.69.
3812 * configure: Regenerated.
3813 * sysdeps/aarch64/configure: Likewise.
3814 * sysdeps/alpha/configure: Likewise.
3815 * sysdeps/arm/armv7/configure: Likewise.
3816 * sysdeps/arm/configure: Likewise.
3817 * sysdeps/ia64/configure: Likewise.
3818 * sysdeps/mach/configure: Likewise.
3819 * sysdeps/mips/configure: Likewise.
3820 * sysdeps/s390/configure: Likewise.
3821 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3823
3824 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3825 file.
3826 * sysdeps/ia64/configure.ac: Likewise.
3827
93ae1eba
JM
38282014-09-26 Joseph Myers <joseph@codesourcery.com>
3829
1810d3ab
JM
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3831 specify symbol version for ld.so. Do not include entry for
3832 libpthread.
3833 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3834 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3835 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3836
93ae1eba
JM
3837 [BZ #14171]
3838 * Makeconfig [$(build-shared) = yes]
3839 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3840 makefiles.
3841 [$(build-shared) = yes && $(soversions.mk-done) = t]
3842 ($(common-objpfx)gnu/lib-names.h): Remove rule.
3843 [$(build-shared) = yes && $(soversions.mk-done) = t]
3844 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
3845 to Makerules.
3846 [$(build-shared) = yes && $(soversions.mk-done) = t]
3847 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3848 here.
3849 [$(build-shared) = yes && $(soversions.mk-done) = t]
3850 (common-generated): Don't append gnu/lib-names.h and
3851 gnu/lib-names.stmp here.
3852 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3853 (lib-names-h-abi): New variable.
3854 [$(build-shared) = yes && $(soversions.mk-done) = t]
3855 (lib-names-stmp-abi): Likewise.
3856 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3857 abi-variants] (before-compile): Append
3858 $(common-objpfx)$(lib-names-h-abi).
3859 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3860 abi-variants] (common-generated): Append gnu/lib-names.h.
3861 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3862 abi-variants] (install-others-nosubdir): Depend on
3863 $(inst_includedir)/$(lib-names-h-abi).
3864 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3865 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3866 [$(build-shared) = yes && $(soversions.mk-done) = t]
3867 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3868 [$(build-shared) = yes && $(soversions.mk-done) = t]
3869 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3870 [$(build-shared) = yes && $(soversions.mk-done) = t]
3871 (common-generated): Append $(lib-names-h-abi) and
3872 $(lib-names-stmp-abi).
3873 * scripts/lib-names.awk: Do not handle multi being set.
3874 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3875 Remove variable.
3876 (abi-lp64_be-ld-soname): Likewise.
3877 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3878 Likewise.
3879 (abi-hard-ld-soname): Likewise.
3880 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3881 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3882 Remove variable.
3883 (abi-o32_hard-ld-soname): Likewise.
3884 (abi-o32_soft_2008-ld-soname): Likewise.
3885 (abi-o32_hard_2008-ld-soname): Likewise.
3886 (abi-n32_soft-ld-soname): Likewise.
3887 (abi-n32_hard-ld-soname): Likewise.
3888 (abi-n32_soft_2008-ld-soname): Likewise.
3889 (abi-n32_hard_2008-ld-soname): Likewise.
3890 (abi-n64_soft-ld-soname): Likewise.
3891 (abi-n64_hard-ld-soname): Likewise.
3892 (abi-n64_soft_2008-ld-soname): Likewise.
3893 (abi-n64_hard_2008-ld-soname): Likewise.
3894 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3895 Likewise.
3896 (abi-64-v2-ld-soname): Likewise.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3898 ld.so entries.
3899 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3900 variable.
3901 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3902 entry.
3903 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3904 variable.
3905 (abi-64-ld-soname): Likewise.
3906 (abi-x32-ld-soname): Likewise.
3907 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3908 entry.
3909 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3910
68870f12
JM
39112014-09-23 Joseph Myers <joseph@codesourcery.com>
3912
3913 [BZ #14138]
3914 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3915 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3916 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3917 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3918 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3919 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3920 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3921 syscall entry for GLIBC_2.2 symbol version.
3922 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3923 Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3925 (setrlimit): Likewise.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3927 Likewise.
3928
ea58f202
WN
39292014-09-23 Will Newton <will.newton@linaro.org>
3930
3931 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3932 _LINUX_ARM_SYSDEP_H include guard too.
3933 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3934 define.
3935
69eb9a18
RV
39362014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3937
3938 * sysdeps/unix/sysv/linux/eventfd.c:
3939 Make first argument unsigned.
3940 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3941 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3942
20e5a5f7
OB
39432014-09-20 Ondřej Bílka <neleai@seznam.cz>
3944
3945 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3946 * socket/sys/socket.h: Likewise
3947 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3948
d3c827e7
AK
39492014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3950
3951 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3952
fe1cc35a
AS
39532014-09-17 Arjun Shankar <arjun.is@lostca.se>
3954
3955 * time/tst-ftime.c: New test.
3956 * time/Makefile (tests): Add tst-ftime.
3957
4e8afe69
JM
39582014-09-17 Joseph Myers <joseph@codesourcery.com>
3959
c4fe3ea7
JM
3960 * soft-fp/extended.h: Fix comment formatting.
3961 * soft-fp/op-1.h: Likewise.
3962 * soft-fp/op-2.h: Likewise.
3963 * soft-fp/op-4.h: Likewise.
3964 * soft-fp/op-8.h: Likewise.
3965 * soft-fp/op-common.h: Likewise.
3966 * soft-fp/soft-fp.h: Likewise.
3967
4e8afe69
JM
3968 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3969
af296fcd
JM
39702014-09-16 Joseph Myers <joseph@codesourcery.com>
3971
3972 [BZ #6652]
3973 * Makeconfig (soversions-default-setname): Remove variable.
3974 ($(common-objpfx)soversions.i): Don't pass default_setname to
3975 soversions.awk.
3976 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3977 oldest_abi to abi-versions.awk.
3978 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3979 * config.make.in (oldest-abi): Remove variable.
3980 * configure.ac (--enable-oldest-abi): Remove configure option.
3981 * configure: Regenerated.
3982 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3983 text.
3984 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3985 * scripts/soversions.awk: Do not handle default_setname variable.
3986 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3987 variable.
3988 * sysdeps/mach/hurd/configure: Regenerated.
3989 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3990 variable.
3991 * sysdeps/unix/sysv/linux/configure: Regenerated.
3992
545583d6
SP
39932014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3994
d330b980
SP
3995 * elf/Makefile (CFLAGS-interp.c): Remove.
3996 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3997 path string.
3998 * elf/interp.c: Include generated runtime-linker.h
3999
02657da2
SP
4000 * Makerules (lib%.so): Don't include $(+interp) in
4001 prerequisites.
4002 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4003 * dlfcn/eval.c: Remove file.
4004
653b1080
SP
4005 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4006 macros.
4007
602f80ec
SP
4008 [BZ #17266]
4009 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4010 4.2 and newer.
4011
545583d6
SP
4012 [BZ #17370]
4013 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4014
884ddc50
SP
40152014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4016 Jakub Jelinek <jakub@redhat.com>
4017
4018 [BZ #17266]
4019 * libio/stdio.h: Check definition of __fortify_function
4020 instead of __extern_always_inline to include bits/stdio2.h.
4021 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4022 check if __extern_always_inline is defined.
4023 [__USE_MISC || __USE_XOPEN]: Likewise.
4024 [__USE_ISOC99] Likewise.
4025 * misc/sys/cdefs.h (__fortify_function): Define only if
4026 __extern_always_inline is defined.
4027 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4028 __extern_always_inline and __extern_inline only for g++-4.3
4029 and newer or a compatible gcc.
4030
a7b87268
AS
40312014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4032
4033 [BZ #17371]
4034 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4035 last change to handle zero prefix length.
4036
3f41521d
SP
40372014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4038
61fe374a
SP
4039 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4040 _SC_REGEX_VERSION.
4041
3f41521d
SP
4042 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4043 _POSIX_RAW_SOCKETS.
4044
d8f879ee
AM
40452014-09-13 Allan McRae <allan@archlinux.org>
4046
4047 * po/ru.po: Update Russian translation from translation project.
4048
c079afb7
RM
40492014-09-12 Roland McGrath <roland@hack.frob.com>
4050
a62b3c15
RM
4051 * locale/programs/locale.c (show_locale_vars): Inline local function
4052 into its sole call site. Clean up some style nits.
4053 (print_item): New function, broken out of ...
4054 (show_info): ... local function here. Clean up style nits.
4055
d7e49b19
RM
4056 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4057 out of ...
4058 (set_class_defaults): ... local function set_default here.
4059 Define set_default as a macro locally to pass constant parameters.
4060 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4061 rather than a shared local.
4062
c079afb7
RM
4063 * stdlib/rpmatch.c (try): New function, broken out of ...
4064 (rpmatch): ... local function here. Also, prototypify definition.
4065
0bd72468
JM
40662014-09-12 Joseph Myers <joseph@codesourcery.com>
4067
ba90e050
JM
4068 * scripts/soversions.awk: Do not handle configuration names.
4069 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4070 vendor and os variables to soversions.awk.
4071 * configure.ac: Do not modify gnu-* host_os.
4072 * configure: Regenerated
4073 * shlib-versions: Remove first column with configuration names.
4074 * nptl/shlib-versions: Likewise.
4075 * nptl_db/shlib-versions: Likewise.
4076 * sysdeps/hppa/shlib-versions: Likewise.
4077 * sysdeps/m68k/shlib-versions: Likewise.
4078 * sysdeps/mach/hurd/shlib-versions: Likewise.
4079 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4080 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4081 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4082 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4083 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4084 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4085 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4086 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4088 Likewise.
4089 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4090 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4091 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4093 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4094 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4095 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4096 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4097
73a39112
JM
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4099 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4101 Regenerated.
4102 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4104 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4105
c729e7c1
JM
4106 * shlib-versions: Remove OS-specific entries. Moved to files in
4107 sysdeps.
4108 * sysdeps/mach/hurd/shlib-versions: New file.
4109 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4110
dc932a24
JM
4111 * nptl/shlib-versions: Remove architecture-specific entries.
4112 Moved to files in sysdeps.
4113 * shlib-versions: Likewise.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4115 file.
4116 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4117 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4118 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4120
0bd72468
JM
4121 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4122 (UDP_NO_CHECK6_RX): Likewise.
4123
920238e0
SP
41242014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4125
4126 * sysdeps/posix/sysconf.c (__sysconf): Spell
4127 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4128
ba7b4d29
FW
41292014-08-12 Florian Weimer <fweimer@redhat.com>
4130
4131 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4132 loading.
4133 * iconv/Versions (__gconv_transliterate): Export for use from
4134 gconv modules.
4135 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4136 (struct __gconv_trans_data, __gconv_trans_fct,
4137 __gconv_trans_context_fct, __gconv_trans_query_fct,
4138 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4139 definitions.
4140 (struct __gconv_step_data): Remove __trans member.
4141 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4142 longer hidden. Remove unused trans_data argument.
4143 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4144 (__gconv_translit_find): Remove declaration.
4145 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4146 prototype.
4147 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4148 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4149 trans_data argument. Add hidden definition.
4150 (__gconv_translit_find): Remove.
4151 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4152 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4153 * iconv/skeleton.c: Remove transliteration initialization.
4154 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4155 __gconv_step_data initialization.
4156 * libio/iofwide.c (__libio_translit_): Remove.
4157 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4158 * wcsmbs/btowc.c (__btowc): Likewise.
4159 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4160 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4161 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4162 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4163 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4164 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4165 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4166 * wcsmbs/wctob.c (wctob): Likewise.
4167
5379aebd
SP
41682014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
4170 [BZ #16194]
4171 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4172 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4173 register usage.
4174 * sysdeps/x86/Makefile: Adjust.
4175
8c0ab919
RM
41762014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4177 Roland McGrath <roland@hack.frob.com>
4178
4179 * locale/weight.h: Add include guard.
4180 (findidx): Make static rather than auto; take new parameters
4181 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4182 * locale/weightwc.h: Likewise.
4183 * posix/fnmatch_loop.c
4184 (FCT): Change type of EXTRA from int32_t to wint_t.
4185 Don't include either header inside the function.
4186 Call FINDIDX rather than findidx, and pass new arguments.
4187 #undef FINDIDX at the end of the file.
4188 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4189 FINDIDX before including fnmatch_loop.c for the non-wide version.
4190 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4191 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4192 for the wide version.
4193 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4194 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4195 Pass new arguments to findidx.
4196 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4197 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4198 Don't #include it inside the function. Pass new arguments to findidx.
4199 * posix/regex_internal.h
4200 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4201 (re_string_elem_size_at): Don't #include it inside the function.
4202 Pass new arguments to findidx.
4203 * string/strcoll_l.c: #include WEIGHT_H at top level.
4204 (get_next_seq): Don't #include it inside the function.
4205 Pass new arguments to findidx.
4206 (get_next_seq_nocache): Likewise.
4207 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4208 (STRXFRM): Don't #include it inside the function.
4209 Pass new arguments to findidx.
4210
52ffbdf2
FW
42112014-09-11 Florian Weimer <fweimer@redhat.com>
4212
4213 [BZ #17344]
4214 * malloc/malloc.c (unlink): Turn asserts into a call to
4215 malloc_printerr.
4216
984c0ea9
TL
42172014-09-11 Tim Lammens <tim.lammens@gmail.com>
4218
4219 [BZ #17370]
4220 * libio/wfileops (do_ftell_wide): Free OUT.
4221
3daee107
CM
42222014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4223
4224 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4225
58b930ae
SP
42262014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4227
4228 [BZ #17363]
4229 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4230 group if the current group is empty.
4231
3b473fec
AZ
42322014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4233
71ae8647
AZ
4234 * benchtests/bench-memset.c (test_main): Add more test from size
4235 from 32 to 512 bytes.
4236 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4237 Add POWER8 memset object.
4238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4239 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4240 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4241 implementation.
4242 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4243 Likewise.
4244 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4245 multiarch POWER8 memset optimization.
4246 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4247 POWER8 memset optimization.
4248
3b473fec
AZ
4249 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4250 Remove bzero multiarch objects.
4251 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4254 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4255 Remove define.
4256 [__bzero]: Redefine to specific name.
4257 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4258 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4259 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4260 define.
4261 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4262 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4263
e6fb9587
FW
42642014-09-10 Florian Weimer <fweimer@redhat.com>
4265
4266 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4267 warnings into errors.
4268
4269 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4270 __cxa_thread_atexit_impl prototype.
4271
9d3a350b
SE
42722014-09-09 Steve Ellcey <sellcey@mips.com>
4273
4274 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4275 Fix capitalization of error message.
4276
0febba23
SE
42772014-09-09 Steve Ellcey <sellcey@mips.com>
4278
4279 * sysdeps/mips/preconfigure: Modify ABI tests.
4280
645a0e9c
CD
42812014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4282
4283 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4284
d83f0734
CD
42852014-09-07 Roland McGrath <roland@hack.frob.com>
4286 Carlos O'Donell <carlos@systemhalted.org>
4287
4288 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4289 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4290 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4291 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4292 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4293 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4294 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4295 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4296 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4297 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4298 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4299 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4300 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4301 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4302 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4303 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4304 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4305 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4306 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4307 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4308 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4309 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4310 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4311 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4312 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4313 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4314 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4315 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4316 Deconditionalize the code that was previously under [RESET_PID].
4317 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4318 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4319 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4320 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4321 include sysdep.h.
4322
21c83793
AM
43232014-09-08 Allan McRae <allan@archlinux.org>
4324
4325 * version.h (RELEASE): Set to "development".
4326 (VERSION): Set to "2.20.90"
4327
1cd9b65c
AM
43282014-09-07 Allan McRae <allan@archlinux.org
4329
b8079dd0
AM
4330 * version.h (RELEASE): Set to "stable".
4331 (VERSION): Set to "2.20"
4332 * include/features.h (__GLIBC_MINOR__): Set to 20.
4333
c46303ef
AM
4334 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4335 Liebler.
4336
1cd9b65c
AM
4337 * po/ko.po: Update Korean translation from translation project.
4338
8622092d
CM
43392014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4340
4341 [BZ #17354]
4342 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4343 macro for handling signed relocations.
4344
41488498
FW
43452014-09-03 Florian Weimer <fweimer@redhat.com>
4346
4347 [BZ #17325]
4348 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4349 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4350 assert.
4351 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4352 * iconvdata/ibm935.c (BODY): Likewise.
4353 * iconvdata/ibm937.c (BODY): Likewise.
4354 * iconvdata/ibm939.c (BODY): Likewise.
4355 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4356 assert.
4357 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4358 script.
4359 * iconvdata/run-iconv-test.sh: New test loop for checking for
4360 decoder crashers.
4361
a78b712d
KR
43622014-09-02 Khem Raj <raj.khem@gmail.com>
4363
4364 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4365 libm_hidden_ver.
4366
cb08abc6
AM
43672014-09-01 Allan McRae <allan@archlinux.org>
4368
2c31e102
AM
4369 * po/eo.po: Update Esperanto translation from translation project.
4370
cb08abc6
AM
4371 * po/ca.po: Update Catalan translation from translation project.
4372
17a62de1
ST
43732014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4374
4375 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4376 __proc_dostop call.
4377
9570bc53
MW
43782014-08-27 Mark Wielaard <mjw@redhat.com>
4379
4380 [BZ #17319]
4381 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4382 to call set_thread_area instead of hand written asm.
4383 (__NR_set_thread_area): Removed define.
4384 (TLS_FLAG_WRITABLE): Likewise.
4385 (__ASSUME_SET_THREAD_AREA): Remove check.
4386 (TLS_EBX_ARG): Remove define.
4387 (TLS_LOAD_EBX): Likewise.
4388
b0f955c9
ST
43892014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4390
4391 Simplify atomicity of socket creation in bind.
4392
4393 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4394 looking up the name after linking the file.
4395
529bf515
AM
43962014-08-27 Allan McRae <allan@archlinux.org>
4397
4398 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4399
a1a6a401
FW
44002014-08-26 Florian Weimer <fweimer@redhat.com>
4401
4402 [BZ #17187]
4403 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4404 trans_compare, open_translit, __gconv_translit_find):
4405 Remove module loading code.
4406
686ab290
AM
44072014-08-26 Allan McRae <allan@archlinux.org>
4408
e4e7cfd2
AM
4409 * po/vi.po: Update Vietnamese translation from translation project.
4410
6aa09f71
AM
4411 * po/uk.po: Update Ukrainian translation from translation project.
4412
edc0660e
AM
4413 * po/fr.po: Update French translation from translation project.
4414
7eea72ac
AM
4415 * po/ru.po: Update Russian translation from translation project.
4416
93c49eff
AM
4417 * po/pl.po: Update Polish translation from translation project.
4418
46acaf63
AM
4419 * po/cs.po: Update Czech translation from translation project.
4420
a9f5ce98
AM
4421 * po/de.po: Update German translation from translation project.
4422
373f2b78
AM
4423 * po/bg.po: Update Bulgarian translation from translation project.
4424
e7548bd8
AM
4425 * po/sv.po: Update Sweedish translation from translation project.
4426
c526bf4d
AM
4427 * po/nl.po: Update Dutch translation from translation project.
4428
686ab290
AM
4429 * po/es.po: Update Spanish translation from translation project.
4430
eb72478a
SP
44312014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4432
dd763fdb
SP
4433 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4434
318c7a58
SP
4435 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4436 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4437 (CPPFLAGS-iconvconfig): Likewise.
4438 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4439
eb72478a
SP
4440 * include/libc-symbols.h: Remove unnecessary check for
4441 NOT_IN_libc.
4442 * nptl/pthreadP.h: Likewise.
4443 * sysdeps/aarch64/setjmp.S: Likewise.
4444 * sysdeps/alpha/setjmp.S: Likewise.
4445 * sysdeps/arm/sysdep.h: Likewise.
4446 * sysdeps/i386/setjmp.S: Likewise.
4447 * sysdeps/m68k/setjmp.c: Likewise.
4448 * sysdeps/posix/getcwd.c: Likewise.
4449 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4450 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4451 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4452 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4453 * sysdeps/sh/sh3/setjmp.S: Likewise.
4454 * sysdeps/sh/sh4/setjmp.S: Likewise.
4455 * sysdeps/unix/alpha/sysdep.h: Likewise.
4456 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4457 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4458 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4459 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4464 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4466 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4467 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4469 * sysdeps/x86_64/setjmp.S: Likewise.
4470
d44a052c
JM
44712014-08-13 Joseph Myers <joseph@codesourcery.com>
4472
4473 [BZ #17263]
4474 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4475 <stdint.h>.
4476 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4477 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4478
508ce3ac
SP
44792014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4480
e44c8b0e
SP
4481 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4482
508ce3ac
SP
4483 [BZ #17262]
4484 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4485 and __x86_64__ when disabling x87 inline functions.
4486
b4acef1f
L
44872014-08-12 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 [BZ #17259]
4490 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4491 asm statement with __cpuid_count.
4492
61b1ef6e
MF
44932014-08-12 Mike Frysinger <vapier@gentoo.org>
4494
4495 * configure.ac: Change __ehdr_start code to dereference the struct.
4496 Run readelf on the output to look for relocations.
4497 * configure: Regenerated.
4498
898c62f4
JM
44992014-08-12 Joseph Myers <joseph@codesourcery.com>
4500
4501 [BZ #17261]
4502 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4503 value to 0.
4504 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4505
9a8a5720
RM
45062014-08-12 Roland McGrath <roland@hack.frob.com>
4507
4508 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4509
4e75751c
BO
45102014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
4511
4512 [BZ #16892]
4513 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4514 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4515
bb2ce416
SA
45162014-08-12 Sean Anderson <seanga2@gmail.com>
4517
4518 * malloc/malloc.c: Fix typo in comment.
4519
7950a4ee
AM
45202014-08-09 Allan McRae <allan@archlinux.org>
4521
4522 * Regenerate libc.po.
4523
f469c49f
MF
45242014-08-08 Mike Frysinger <vapier@gentoo.org>
4525
4526 * intl/tst-gettext2.sh: Check every lang file for creation.
4527
656b84c2
WD
45282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4529
4530 * sysdeps/aarch64/fpu/math_private.h
4531 (libc_feholdsetround_noex_aarch64_ctx): New function.
4532
538e9e45
W
45332014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
4534
4535 * sysdeps/arm/armv6/strcpy.S (strcpy):
4536 Fix performance issue in misaligned cases.
4537
d4795e4a
AZ
45382014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4539
4540 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4541 Move definition from termios.h.
4542 (struct termio): Likewise.
4543 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4544 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4545 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4546 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4547 Likewise.
4548 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4549 Move definition to ioctl-types.h
4550 (struct termio): Likewise.
4551 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4552 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4553 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4554 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4555 Likewise.
4556
64accb62
RH
45572014-08-05 Richard Henderson <rth@redhat.com>
4558
27bb6dc0
RH
4559 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4560 exceptions.
4561 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4562 Add fraiseexcpt.
4563 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4564 Use __feraiseexcept.
4565 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4566 Protect libm symbols with IS_IN_libm.
4567
64accb62
RH
4568 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4569
e5292691
BO
45702014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
4571
4572 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4573
5b4bd2d4
WN
45742014-08-04 Will Newton <will.newton@linaro.org>
4575
4576 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4577 file.
4578
fcadaeef
MF
45792014-08-04 Mike Frysinger <vapier@gentoo.org>
4580
4581 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4582 variants for each function.
4583
43a94c64
RM
45842014-08-04 Roland McGrath <roland@hack.frob.com>
4585
4586 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4587 appended ...
4588 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4589 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4590 appended ...
4591 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4592 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4593 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4594 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4595 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4596 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4597 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4598 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4599 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4600 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4601 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4602 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4603 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4604 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4605 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4607 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4608 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4627 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4628 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4629 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4630 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4631 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4633 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4634 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4635 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4636 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4637 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4638 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4639 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4640 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4641 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4642 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4643 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4644 Update #include.
4645 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4646 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4647
8f3c1fa4
RM
46482014-08-04 Roland McGrath <roland@hack.frob.com>
4649
4650 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4651 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4652 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4653 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4654 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4655 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4656
ca08746f
RM
46572014-08-04 Roland McGrath <roland@hack.frob.com>
4658
4659 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4660 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4661 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4662 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4663
9c925ff9
RM
46642014-08-04 Roland McGrath <roland@hack.frob.com>
4665
4666 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4667 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4668 (__libc_vfork): Define function under this name.
4669 (__vfork): Define as an alias.
4670 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4671 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4672
e641054c
RM
46732014-08-04 Roland McGrath <roland@hack.frob.com>
4674
4675 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4676 that was previously under [RESET_PID].
4677 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4678
dacdc867
AS
46792014-08-04 Andreas Schwab <schwab@suse.de>
4680
4681 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4682
41f725ff
MF
46832014-08-03 Mike Frysinger <vapier@gentoo.org>
4684
4685 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4686 (main): Likewise.
4687
277cfb31
RM
46882014-08-01 Roland McGrath <roland@hack.frob.com>
4689
4690 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4691
4896f049
RH
46922014-08-01 Richard Henderon <rth@redhat.com>
4693
4694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4695 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4696 typo in exact zero test.
4697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4700
6f64e7d7
RM
47012014-08-01 Roland McGrath <roland@hack.frob.com>
4702
4703 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4704 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4705 * sysdeps/arm/sysdep.h: ... here.
4706 [!__ASSEMBLER__]: Include <stdint.h>.
4707
3f3dd810
SP
47082014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
a476ac4b
SP
4710 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4711 (HAVE_WCTYPE_H): Likewise.
4712 (HAVE_ISWCTYPE): Likewise.
4713 (ENABLE_NLS): Likewise.
4714 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4715 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4716
78dd658a
SP
4717 * posix/regex_internal.c: Check if DEBUG is defined and is
4718 set.
4719
3f3dd810
SP
4720 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4721 (HAVE_MBSRTOWCS): Likewise.
4722 * posix/fnmatch.c: Include string.h unconditionally.
4723
95ee7fb1
SL
47242014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4725
4726 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4727 reversal.
4728
23fe486b
RM
47292014-07-31 Roland McGrath <roland@hack.frob.com>
4730
f61a113f
RM
4731 * sysdeps/generic/safe-fatal.h: New file.
4732 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4733 * nptl/forward.c: Include it.
4734 (__pthread_unwind): Use __safe_fatal as default action, rather
4735 than a bogus use of INTERNAL_SYSCALL that could never work.
4736
9fe7e787
RM
4737 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4738 * configure.ac (libc_cv_builtin_trap): New test.
4739 * configure: Regenerated.
4740 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4741 (ABORT_INSTRUCTION): Define using __builtin_trap.
4742
23fe486b
RM
4743 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4744 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4745 * sysdeps/nptl/nptl-signals.h: New file.
4746 * nptl/pthreadP.h: Include <nptl-signals.h>.
4747
f349489e
SL
47482014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4749
4750 * sysdeps/s390/s390-64/utf16-utf32-z9.c
4751 (ONE_DIRECTION): Define.
4752 * sysdeps/s390/s390-64/utf8-utf16-z9.c
4753 (ONE_DIRECTION): Define.
4754 * sysdeps/s390/s390-64/utf8-utf32-z9.c
4755 (ONE_DIRECTION): Define.
4756
2f438e20
SL
47572014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4758
4759 * sysdeps/s390/Makefile: Delete file.
4760 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4761 * sysdeps/s390/__longjmp.c: Delete file.
4762 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4763 Remove fields __flags and __reserved.
4764 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4765 and add versioning.
4766 * sysdeps/s390/rtld-__longjmp.c: Delete file.
4767 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4768 * sysdeps/s390/rtld-setjmp.S: Likewise.
4769 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4770 * sysdeps/s390/s390-32/__longjmp.c: ... here.
4771 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4772 * sysdeps/s390/s390-32/setjmp.S: ... here.
4773 Add versioning.
4774 (__sigsetjmp): Remove setting __flags field.
4775 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4776 * sysdeps/s390/s390-64/__longjmp.c: ... here.
4777 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4778 * sysdeps/s390/s390-64/setjmp.S: ... here.
4779 Add versioning.
4780 (__sigsetjmp): Remove setting __flags field.
4781 * sysdeps/s390/setjmp.S: Delete file.
4782 * sysdeps/s390/sigjmp.c: Likewise.
4783 * sysdeps/s390/v1-longjmp.c: Likewise.
4784 * sysdeps/s390/v1-setjmp.h: Likewise.
4785 * sysdeps/s390/v1-sigjmp.c: Likewise.
4786 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4787 Remove v1-longjmp_chk.
4788 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4789 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4790 Include debug/longjmp_chk.c and add versioning.
4791 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4792 Include nptl/pt-longjmp.c and add versioning.
4793 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4794 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4795 Include __longjmp.c.
4796 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4797 Move to ...
4798 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4799 (__getcontext): Remove setting __flags field.
4800 Add versioning.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4802 Don't restore upper high grps.
4803 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4804 Likewise.
4805 (__swapcontext): Remove setting uc_flags field.
4806 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4807 Delete file.
4808 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4809 Include __longjmp.c.
4810 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4811 Move to ...
4812 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4813 (__getcontext): Remove setting __flags field.
4814 Add versioning.
4815 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4816 (__swapcontext): Remove setting uc_flags field.
4817 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4818 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4819 Remove fields uc_high_gprs and __reserved.
4820 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4821 New file with reverted content.
4822 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4823 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4824 Regenerated.
4825 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4826 Regenerated.
4827
6c9578a2
AS
48282014-07-31 Andreas Schwab <schwab@suse.de>
4829
4830 * config.h.in (HAVE_IFUNC): Define to 0.
4831 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4832 definedness.
4833
05f3633d
LM
48342014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
4835
4836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4837 memmove-avx-unaligned, memcpy-avx-unaligned and
4838 mempcpy-avx-unaligned.
4839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4840 Add tests for AVX memcpy functions.
4841 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4842 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4843 memcpy_chk.
4844 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4845 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4846 memmove_chk.
4847 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4848 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4849 mempcpy_chk.
4850 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4851 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4852 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4853
a53fbd8e
AZ
48542013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855
4856 [BZ #17213]
4857 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4858 powerpc64le.
4859
0961f7e1
JL
48602014-07-29 Jeff Layton <jlayton@poochiereds.net>
4861
4862 [BZ #16839]
4863 * manual/llio.texi: Add section about open file description locks.
4864 * manual/examples/ofdlocks.c: Example of open file description
4865 lock usage.
4866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4867 F_OFD_SETLK, and F_OFD_SETLKW.
4868
cc5fb300
AM
48692014-07-23 Allan McRae <allan@archlinux.org>
4870
4871 * po/es.po: Update Spanish translation from translation project.
4872
23329dca
AS
48732014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4874
4875 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4876
9c82da17
MR
48772014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4878
4879 [BZ #17078]
4880 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4881 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4882 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4883
29c4f53e
JM
48842014-07-17 Joseph Myers <joseph@codesourcery.com>
4885
831b9896
JM
4886 [BZ #17088]
4887 * math/fesetenv.c (__fesetenv)
4888 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4889 * math/feupdateenv.c (__feupdateenv)
4890 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4891
b21c2d50
JM
4892 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4893 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4894 (__ASSUME_SOCKETCALL): Do not define.
4895
067764ef
JM
4896 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4897 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4898 (__ASSUME_SOCKETCALL): Do not define.
4899 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4900 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4901 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4902 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4903 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4904 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4905 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4906 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4907
642530c1
JM
4908 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4909 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4910 (__ASSUME_SOCKETCALL): Do not define.
4911 (__ASSUME_IPC64): Define unconditionally.
4912 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4913 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4914 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4915 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4916 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4917 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4918 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4919 Likewise.
4920
03f77315
JM
4921 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4922 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4923 (__ASSUME_SOCKETCALL): Do not define.
4924 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4925 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4926 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4927 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4928 (__ASSUME_REQUEUE_PI): Define unconditionally.
4929 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4930 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4931 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4932 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4933 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4934 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4935
083b1f7c
JM
4936 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4937 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4938 (__ASSUME_SOCKETCALL): Do not define.
4939 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4940 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4941 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4942 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4943 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4944 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4945
5be44ea6
JM
4946 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4947 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4948 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4949 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4950 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4951 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4952 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4953 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4954 (__ASSUME_GETCPU_SYSCALL): Likewise.
4955
d95ffd4c
JM
4956 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4957 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4958 cases for individual architectures.
4959 * sysdeps/gnu/configure: Regenerated.
4960 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4961 LIBC_SLIBDIR_RTLDDIR.
4962 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4963 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4964 LIBC_SLIBDIR_RTLDDIR.
4965 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4967 LIBC_SLIBDIR_RTLDDIR.
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4969 Regenerated.
4970 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4971 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4972 file.
4973 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4974 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4975 file.
4976 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4977 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4978 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4979 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4980
29c4f53e
JM
4981 * sysdeps/aarch64/shlib-versions: Move to ...
4982 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4983 * sysdeps/alpha/shlib-versions: Move to ...
4984 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4985 * sysdeps/arm/shlib-versions: Move to ...
4986 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4987 * sysdeps/hppa/shlib-versions: Move all contents except for
4988 libgcc_s entry to ...
4989 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4990 entry from ...
4991 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4992 * sysdeps/ia64/shlib-versions: Move to ...
4993 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4994 entry from ...
4995 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4996 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4997 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4998 * sysdeps/microblaze/shlib-versions: Move to ...
4999 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5000 * sysdeps/mips/shlib-versions: Move to ...
5001 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5002 entry from ...
5003 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5004 * sysdeps/tile/shlib-versions: Move to ...
5005 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5006 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5007 from ...
5008 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5010 entry from ...
5011 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5012
32bead5b
WN
50132014-07-17 Will Newton <will.newton@linaro.org>
5014
57977c4b
WN
5015 * sysdeps/arm/bits/atomic.h
5016 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5017 (__arch_compare_and_exchange_bool_16_int): Likewise.
5018 (__arch_compare_and_exchange_bool_64_int): Likewise.
5019
32bead5b
WN
5020 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5021 into an #else block.
5022
37fccd41
RM
50232014-07-16 Roland McGrath <roland@hack.frob.com>
5024
5025 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5026 just Linux configurations. Test empirically that the compiler sets
5027 __ARM_EABI__, rather than using the tuple to decide.
5028 * sysdeps/arm/preconfigure: Regenerated.
5029 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5030 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5031 contents appended ...
5032 * sysdeps/arm/configure.ac: ... here.
5033 * sysdeps/arm/configure: Regenerated.
5034
b365f3ec
RM
50352014-07-15 Roland McGrath <roland@hack.frob.com>
5036
8badf496
RM
5037 * nptl/pthread_kill.c: New file.
5038 * nptl/pthread_sigmask.c: New file.
5039 * nptl/pthread_sigqueue.c: New file.
5040
3df6f22e
RM
5041 * sysdeps/nptl/lowlevellock.h: New file.
5042 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5043 * sysdeps/nptl/lowlevellock-futex.h: New file.
5044
b365f3ec
RM
5045 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5046 Remove dead declarations.
5047
f2fef657
L
50482014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5049
5050 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5051 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5052 config-cflags-avx2.
5053 * sysdeps/x86_64/configure.ac: Likewise.
5054 * sysdeps/i386/configure: Regenerated.
5055 * sysdeps/x86_64/configure: Likewise.
5056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5057 memset-avx2 only if config-cflags-avx2 is yes.
5058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5059 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5060 defined.
5061 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5062 only if HAVE_AVX2_SUPPORT is defined.
5063 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5064
f6c44d47
AM
50652014-07-14 Alan Modra <amodra@gmail.com>
5066
5067 [BZ #17153]
5068 * elf/elf.h (DT_PPC64_NUM): Correct value.
5069 * NEWS: Add to fixed bug list.
5070
7ee03f00
JM
50712014-07-13 Jim Meyering <meyering@fb.com>
5072
5073 [BZ 17150]
5074 regex: don't deref NULL upon heap allocation failure
5075 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5076 failure in one more place.
5077 To trigger the segfault, configure grep -with-included-regex,
5078 build it, and run these commands:
5079 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5080
9d39d517
AS
50812014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5082
5083 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5084
a75b89b7
RH
50852014-07-11 Richard Henderson <rth@redhat.com>
5086
5087 * sysdeps/aarch64/libm-test-ulps: Update.
5088
771eb141
FW
50892014-07-10 Florian Weimer <fweimer@redhat.com>
5090
5091 [BZ #17135]
5092 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5093 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5094 (__nptl_setxid): Initialize error member. Call
5095 __nptl_setxid_error.
5096 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5097 * nptl/descr.h (struct xid_command): Add error member.
5098 * nptl/tst-setuid3.c: New file.
5099 * nptl/Makefile (tests): Add it.
5100
bc1da176
AZ
51012014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5102
5103 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5104 New define.
5105 (__lll_trylock): Use __lll_base_trylock.
5106 (__lll_cond_trylock): Likewise.
5107
887865fc
RM
51082014-07-10 Roland McGrath <roland@hack.frob.com>
5109
c0c6bac9
RM
5110 * nptl/pthread_create.c (start_thread): Use atomic_or and
5111 lll_futex_wake directly rather than lll_robust_dead.
5112 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5113 (lll_robust_dead): Macro removed.
6a42be57 5114 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
5115 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5116 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5117 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5118 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5119 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5120 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5121 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5122 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5124 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5125 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5126 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5127 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5128 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5129
887865fc
RM
5130 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5131 Use atomic_compare_and_exchange_val_acq directly rather than
5132 lll_robust_trylock.
5133 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5134 (__lll_robust_trylock, lll_robust_trylock): Removed.
5135 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5136 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5137 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5138 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5139 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5140 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5141 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5142 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5144 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5145 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5147 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5148 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5149
58536726
FW
51502014-07-02 Florian Weimer <fweimer@redhat.com>
5151
5152 * manual/locale.texi (Locale Names): New section documenting
5153 locale name syntax. Adjust menu and node chaining accordingly.
5154 (Choosing Locale): Reference Locale Names, Locale Categories.
5155 Mention setting LC_ALL=C. Reflect that name syntax is now
5156 documented.
5157 (Locale Categories): New section title. Reference Locale Names.
5158 LC_ALL is an environment variable, but not a category.
5159 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5160 description, now in Locale Name. Reference that section. Locale
5161 name syntax is now documented.
5162
4e8f95a0
FW
51632014-07-02 Florian Weimer <fweimer@redhat.com>
5164
5165 [BZ #17137]
5166 * locale/findlocale.c (name_present, valid_locale_name): New
5167 functions.
5168 (_nl_find_locale): Use the loc_name variable to store name
5169 candidates. Call name_present and valid_locale_name to check and
5170 validate locale names. Return an error if the locale is invalid.
5171
d1836456
FW
51722014-07-02 Florian Weimer <fweimer@redhat.com>
5173
5174 * locale/setlocale.c (setlocale): Use strdup for allocating
5175 composite name copy.
5176
d69b7f5a
SP
51772014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5178
888c679b
SP
5179 Sync up with gnulib.
5180 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5181 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5182 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5183 and _GL_ARG_NONNULL.
5184 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5185 [!_LIBC]: Include code for Windows and Cygwin.
5186 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5187 Include prototype for int strerror_r.
5188 [!_LIBC] (is_open): New function.
5189 (flush_stdout): New function.
5190 (print_errno_message): Use it.
5191 (error): Likewise.
5192 (error_at_line): Likewise.
5193 (error_tail) Add function attribute macros. Use
5194 __builtin_expect.
5195
180e0e4b
SP
5196 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5197
d22f1fe2
SP
5198 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5199
12f2254b
SP
5200 * io/ftw.c: Include sys/param.h unconditionally.
5201
c3c7c360
SP
5202 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5203
d62aa75a
SP
5204 [BZ #17125]
5205 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5206 libc_freeres_ptr.
5207 (freecache): New function to free CACHE on exit.
5208
d69b7f5a
SP
5209 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5210 initialization.
5211
5efe06a1
DM
52122014-07-09 David S. Miller <davem@davemloft.net>
5213
5214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5215
7000d82e
DM
5216 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5217 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5218 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5219 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5220 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5221 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5222 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5223 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5224 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5225 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5226 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5227 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5228 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5229
c213442d
AS
52302014-07-09 Andreas Schwab <schwab@suse.de>
5231
4a2552c3
AS
5232 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5233 output.
5234 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5235 (do_test): Likewise.
5236
c213442d
AS
5237 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5238
82374e65
WN
52392014-07-09 Will Newton <will.newton@linaro.org>
5240
5241 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5242 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5243 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5244 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5245 * sysdeps/hppa/start.S (_start): Likewise.
5246
6680738a
SP
52472014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5248
6ee3eab4
SP
5249 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5250
6680738a
SP
5251 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5252 defined.
5253
80b5c505
SP
52542014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5255
e35c53e3
SP
5256 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5257 after checking that it is non-NULL.
5258
80b5c505
SP
5259 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5260
91f4b564
AZ
52612014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5262
27b75f56
AZ
5263 * sysdeps/powerpc/memmove.c: Remove file.
5264 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5265 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5266 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5267 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5268 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5269 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5270 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5271 string memmove instead of removed powerpc one.
5272
e7f95bb5
AZ
5273 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5274 [weak_alias]: Fix compiler warning due trailing data.
5275 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5276 [weak_alias]: Likewise.
5277 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5278 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5279
91f4b564
AZ
5280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5281 (__libc_ifunc_impl_list): Add memmove functions.
5282
7c33f1e5
SP
52832014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5284
5285 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5286 Remove code.
5287 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5288 Likewise
5289 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5290 Likewise
5291 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5292 Likewise
5293 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5294 Likewise
5295 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5296 Likewise
5297 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5298 Likewise
5299 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5300 Likewise
5301 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5302 Likewise
5303 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5304 Likewise
5305 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5306 Likewise
5307 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5308 Likewise
5309 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5310 Likewise
5311 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5312 Likewise
5313 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5314 Likewise
5315 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5316 Likewise
5317 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5318 Likewise
5319
3f17b03b
AZ
53202014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5321
87868c24
AZ
5322 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5323 to avoid alignment traps in non-cacheable memory.
5324 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5325
07aedd78
AZ
5326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5327 multiarch objects.
5328 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5329 file: multiarch power7 memmove.
5330 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5331 multiarch default memmove.
5332 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5333 multiarch memove for powerpc32/power4.
5334
17762f66
AZ
5335 * string/bcopy.c: Use full path to include memmove.c.
5336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5337 multiarch objects.
5338 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5339 bcopy for powerpc64.
5340 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5341 bcopy for powerpc64.
5342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5343 and memmove implementations.
5344 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5345 optimized multiarch memmove for POWER7/powerpc64.
5346 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5347 default multiarch memmove for powerpc64.
5348 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5349 multiarch for powerpc64.
5350 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5351 for POWER7/powerpc64.
5352 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5353 memmove for POWER7/powerpc64.
5354
d6f68bbe
AZ
5355 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5356 glibc default one.
5357
3f17b03b
AZ
5358 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5359 __ELF_NATIVE_CLASS equal to 64.
5360
08192659
RM
53612014-07-07 Roland McGrath <roland@hack.frob.com>
5362
f4c4021b
RM
5363 * sysdeps/nptl/lowlevellock.h: File removed.
5364
f083450f
RM
5365 * NEWS: NPTL is no longer an add-on!
5366 * nptl/internaltypes.h: Moved ...
5367 * sysdeps/nptl/internaltypes.h: ... here.
5368 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5369 * sysdeps/nptl/fork.c: Likewise.
5370 * sysdeps/nptl/gai_misc.h: Likewise.
5371 * sysdeps/nptl/librt-cancellation.c: Likewise.
5372 * sysdeps/nptl/jmp-unwind.c: Likewise.
5373 * sysdeps/nptl/setxid.h: Likewise.
5374 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5375 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5376 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5377 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5378 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5379 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5380 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5381 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5382 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5383 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5384 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5385 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5386 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5387 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5388 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5389 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5390 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5391 * nptl/Makeconfig: Moved ...
5392 * sysdeps/nptl/Makeconfig: ... here.
5393 * nptl/configure: File removed.
5394 * nptl/ANNOUNCE: File removed.
5395 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5396 * sysdeps/unix/sysv/linux/configure: Regenerated.
5397
08192659
RM
5398 * nptl/Makefile (routines): Add libc_pthread_init,
5399 libc_multiple_threads, register-atfork and unregister-atfork.
5400 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5401 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5402 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5403 pthread-pi-defines.sym, structsem.sym.
5404 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5405 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5406 [$(subdir) = nptl] (tests): Add tst-setgetname.
5407 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5408 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5409 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5410 [!LIBC_SIGACTION]: Remove aliases.
5411 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5412 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5413 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5414 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5415 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5416 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5419 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5420 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5421 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5422 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5423 __libc_allocate_rtsig_private.
5424 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5425 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5426 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5427 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5428 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5429 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5430 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5431 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5432 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5433 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5434 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5435 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5436 * nptl/internaltypes.h: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5438 * sysdeps/nptl/jmp-unwind.c: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5440 * nptl/libc-lowlevellock.c: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5442 * nptl/libc_multiple_threads.c: ... here.
5443 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5444 * nptl/libc_pthread_init.c: ... here.
5445 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5446 * nptl/lowlevelbarrier.sym: ... here.
5447 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5448 * nptl/lowlevelcond.sym: ... here.
5449 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5450 * nptl/lowlevellock.c: ... here.
5451 * nptl/lowlevellock.h: Moved ...
5452 * sysdeps/nptl/lowlevellock.h: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5454 * nptl/lowlevelrobustlock.c: ... here.
5455 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5456 * nptl/lowlevelrobustlock.sym: ... here.
5457 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5458 * nptl/lowlevelrwlock.sym: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5460 * nptl/pt-fork.c: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5462 * nptl/pthread-pi-defines.sym: ... here.
5463 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5464 * nptl/pthread_attr_getaffinity.c: ... here.
5465 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5466 * nptl/pthread_attr_setaffinity.c: ... here.
5467 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5468 * nptl/pthread_mutex_cond_lock.c: ... here.
5469 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5470 Update #include.
5471 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5472 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5473 * nptl/pthread_once.c: ... here, replacing old file.
5474 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5475 * nptl/pthread_yield.c: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5477 * nptl/register-atfork.c: ... here.
5478 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5479 * nptl/sem_post.c: ... here.
5480 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5481 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5482 * nptl/sem_timedwait.c: ... here.
5483 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5484 * nptl/sem_trywait.c: ... here.
5485 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5486 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5487 * nptl/sem_wait.c: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5489 * nptl/structsem.sym: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5491 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5492 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5493 * nptl/unregister-atfork.c: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5495 * nptl/unwindbuf.sym: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5497 * sysdeps/nptl/fork.c: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5499 * sysdeps/nptl/fork.h: ... here.
5500 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5501 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5502 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5503 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5504 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5506 * sysdeps/unix/sysv/linux/getpid.c: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5508 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5509 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5510 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5511 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5512 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5513 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5514 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5515 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5516 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5517 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5518 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5519 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5520 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5522 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5524 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5526 * sysdeps/unix/sysv/linux/raise.c: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5528 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5530 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5532 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5534 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5536 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5538 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5540 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5541 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5542
96baf6ff
SP
55432014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5544
5545 * sysdeps/generic/memcopy.h: Add comment for
5546 MEMCPY_OK_FOR_FWD_MEMMOVE.
5547
6b7b14b2
WN
55482014-07-04 Will Newton <will.newton@linaro.org>
5549
1570a72b
WN
5550 * string/memchr.c: Merge from gnulib.
5551 [_LIBC]: Remove conditionals.
5552 (__ptr_t): Remove define.
5553 (LONG_MAX_32_BITS): Likewise.
5554 (LONG_MAX): Likewise.
5555 (MEMCHR): Use ANSI prototype and optimize algorithm.
5556
6b7b14b2
WN
5557 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5558
38851324
SP
55592014-07-03 Roland McGrath <roland@hack.frob.com>
5560
3d9eb57c
RM
5561 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5562 (lll_futex_timed_wait_bitset): Fix syscall argument count.
5563
78b984ae
RM
5564 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5565 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5566 in a bare environment with no <stdlib.h> installed.
5567 * sysdeps/nptl/configure: Regenerated.
5568
2d5976a5
RM
5569 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5570
c1f5acd4
RM
5571 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5572 AC_EGREP_CPP for kernel header checks, so they only succeed if
5573 including <linux/version.h> actually works right.
5574 * sysdeps/unix/sysv/linux/configure: Regenerated.
5575
4d614fe5
RM
5576 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5577 value so it's not diagnosed as unused.
5578
38851324
SP
5579 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5580 thing) with "ifeq ($(subdir),rt)".
5581
b3ec00e5
RH
55822014-07-03 Richard Henderson <rth@redhat.com>
5583
69862e25
RH
5584 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5585 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5586 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5587
d5e16ade
RH
5588 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5589 (math_force_eval): New.
5590
ca7b945c
RH
5591 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5592 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5593
cd1175a3
RH
5594 * sysdeps/alpha/fpu/s_round.c: Remove file.
5595 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5596
b3ec00e5
RH
5597 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5598 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5599 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5600 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5601 (_dl_start, print_statistics): Likewise.
5602 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5603 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5604
5605 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5606 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5607 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5608 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5609 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5610 (HP_SMALL_TIMING_AVAIL): Define.
5611 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5612 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5613 (HP_SMALL_TIMING_AVAIL): Define.
5614 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5615 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5616
5617 * sysdeps/aarch64/hp-timing.h: New file.
5618
5619 * sysdeps/generic/hp-timing.h: Remove dead comment.
5620 * sysdeps/generic/hp-timing-common.h: New file.
5621 * sysdeps/alpha/hp-timing.h: Include it.
5622 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5623 * sysdeps/i386/i686/hp-timing.h: Likewise.
5624 * sysdeps/ia64/hp-timing.h: Likewise.
5625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5626 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5627 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5628 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5629 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5630 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5631 (hp_timing_t): New.
5632
5633 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5634 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5635 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5636 * elf/rtld.c (_dl_start_final): Likewise.
5637 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5638 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5639 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5640 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5641 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5642 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5643 (HP_TIMING_DIFF_INIT): Remove.
5644 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5645 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5646 (HP_TIMING_DIFF_INIT): Remove.
5647 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5648 * sysdeps/i386/i686/hp-timing.c: Remove file.
5649 * sysdeps/x86_64/hp-timing.c: Remove file.
5650 * sysdeps/ia64/hp-timing.c: Remove file.
5651 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5652 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5653 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5654 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5655
5656 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5657 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5658 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5659 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5660 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5661 (HP_TIMING_ACCUM): Remove.
5662 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5663 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5664 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5665
5666 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5667 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5668 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5669 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5670 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5671 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5673 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5674
5675 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5676
225f410f
MR
56772014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
5678
5679 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5680
3247f285
SP
56812014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5682
5683 Sync up with gettext.
5684 * intl/loadmsgcat.c: Define O_BINARY if not defined.
5685 [_MSC_VER]: Include malloc.h
5686 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5687 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5688 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
5689 TEMP_FAILURE_RETRY. Cast return of alloca.
5690 [!_LIBC] Call gl_rwlock_init.
5691 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5692
d12704c7
SP
56932014-07-02 Roland McGrath <roland@hack.frob.com>
5694
5695 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5696 before checking its value.
5697
99f8dc92
SP
56982014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5699
05fdac77
SP
5700 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5701
99f8dc92
SP
5702 * debug/memcpy_chk.c: Don't include pagecopy.h.
5703 * debug/mempcpy_chk.c: Likewise.
5704 * string/memcpy.c: Likewise.
5705 * string/memmove.c: Likewise.
5706 * sysdeps/powerpc/memmove.c: Likewise.
5707 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
5708 definition of PAGE_COPY_FWD_MAYBE here...
5709 * sysdeps/generic/pagecopy.h: ... from here.
5710 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5711
bc8ea385
VR
57122014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5713 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5714
5715 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5717 optimizations.
5718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5719 (__libc_ifunc_impl_list): Likewise.
5720 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5721 multiarch strcat for PPC64.
5722 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5723 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5724
fe5f34e4
RM
57252014-07-02 Roland McGrath <roland@hack.frob.com>
5726
5727 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5728
256aa665
SP
57292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5730
d4eb8195
SP
5731 * intl/loadmsgcat.c: Remove declaration of
5732 get_sysdep_segment_value.
5733 (get_sysdep_segment_value): Use ISO C style.
5734 (_nl_load_domain): Use ISO C style. Get rid of redundant
5735 semicolon. Fix typo and formatting in comment.
5736 (_nl_unload_domain): Use ISO C style.
5737
256aa665
SP
5738 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5739
b100f9aa
WN
57402014-07-02 Will Newton <will.newton@linaro.org>
5741
5742 * malloc/obstack.c: Merge from gnulib master.
5743 [HAVE_CONFIG_H]: Remove conditional code.
5744 [!_LIBC]: Include config.h.
5745 [!ELIDE_CODE]: Don't include inttypes.h, include
5746 stdint.h unconditionally.
5747 (print_and_abort): Mark as _Noreturn.
5748 (_obstack_allocated_p): Mark as __attribute_pure__.
5749 (obstack_free): Rename to __obstack_free.
5750 [!__attribute__]: Remove conditional code.
5751 * malloc/obstack.h: Merge from gnulib master.
5752 [__cplusplus]: Move conditional down.
5753 [!__attribute_pure__]: Define __attribute_pure__ here
5754 if it is not already defined.
5755 (_obstack_memory_used): Mark as __attribute_pure__.
5756 [!__obstack_free]: Define as obstack_free.
5757 [__GNUC__]: Remove check for ancient NeXT gcc.
5758
c4c41244
PE
57592014-07-02 Will Newton <will.newton@linaro.org>
5760 Paul Eggert <eggert@cs.ucla.edu>
5761
5762 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5763
e1e041c4
SP
57642014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5765
5766 * resolv/gethnamaddr.c: Add comment warning that the file is
5767 not maintained.
5768
ccf431ff
CD
57692014-07-01 Carlos O'Donell <carlos@redhat.com>
5770
d34570a6
CD
5771 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5772 entries.
5773
ccf431ff
CD
5774 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5775 entry for aio_cancel and aio_cancel64.
5776 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5777 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5778 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5779 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5780 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5781 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5782 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5783 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5784 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5785 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5786 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5787 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5788 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5789
ca06321d
RM
57902014-07-01 Roland McGrath <roland@hack.frob.com>
5791
5792 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5793 * nptl/pthread_mutex_lock.c: Likewise.
5794 * nptl/pthread_mutex_timedlock.c: Likewise.
5795 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5796
a1ac3184
RH
57972014-07-01 Richard henderson <rth@redhat.com>
5798
631021e0
RH
5799 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5800 (__isnan, __isnanl): Remove.
5801 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5802
a1ac3184
RH
5803 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5804
0c1d731f
SL
58052014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5806
5807 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5808
76985d3e
SP
58092014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5810
5811 * resolv/nss_dns/dns-host.c (getanswer_r)
5812 [MULTI_PTRS_ARE_ALIASES]: Remove code.
5813
b0cb3096
JM
58142014-07-01 Joseph Myers <joseph@codesourcery.com>
5815
5816 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5817 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5818 undefine.
5819 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5820 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5821
4d76cb39
RM
58222014-07-01 Roland McGrath <roland@hack.frob.com>
5823
5824 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5825 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5826
5827 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5828 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5829
5830 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5831 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5832 ... here.
5833 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5834 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5835
5836 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5837 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5838 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5839 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5840
5841 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5842 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5843 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5846 Moved ...
5847 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5848 ... here.
5849 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5864 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5865 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5866 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5867 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5868 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5869 ... here.
5870 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5873 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5874 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5875 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5876 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5877 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5878
0cdcad17
DH
58792014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5880
5881 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5882 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5883 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5884 Add sysdep.
5885
9b71d0e3
AZ
58862014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5889
665390c2
JM
58902014-06-30 Joseph Myers <joseph@codesourcery.com>
5891
ae05a9d7
JM
5892 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5893 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5894
a7672a2f
JM
5895 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5896
665390c2
JM
5897 * sysdeps/arm/libm-test-ulps: Regenerated.
5898
d7a05d07
MR
58992014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5900 Roland McGrath <roland@hack.frob.com>
5901
5902 * test-skeleton.c (signal_handler): Kill the whole process group
5903 before killing the child individually.
5904 (main): Report any failure on `setpgid'.
5905
46f1d8a6
RM
59062014-06-30 Roland McGrath <roland@hack.frob.com>
5907
5908 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5909 from _TLS_H to _ARM_NPTL_TLS_H.
5910 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5911 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5912
9c37ec0b
JM
59132014-06-30 Joseph Myers <joseph@codesourcery.com>
5914
ce9c5b3e
JM
5915 [BZ #16539]
5916 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5917 (__expm1l): Return argument unchanged when small but not
5918 subnormal.
5919
3a6e9887
JM
5920 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5921 include macro name.
5922 (_FP_UNPACK_RAW_1_P): Likewise.
5923 (_FP_PACK_RAW_1): Likewise.
5924 (_FP_PACK_RAW_1_P): Likewise.
5925 (_FP_MUL_MEAT_1_wide): Likewise.
5926 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5927 (_FP_MUL_MEAT_1_hard): Likewise.
5928 (_FP_DIV_MEAT_1_imm): Likewise.
5929 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5930 (_FP_DIV_MEAT_1_udiv): Likewise.
5931 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5932 (_FP_UNPACK_RAW_2): Likewise.
5933 (_FP_UNPACK_RAW_2_P): Likewise.
5934 (_FP_PACK_RAW_2): Likewise.
5935 (_FP_PACK_RAW_2_P): Likewise.
5936 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5937 (_FP_MUL_MEAT_2_wide): Likewise.
5938 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5939 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5940 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5941 (_FP_MUL_MEAT_2_gmp): Likewise.
5942 (_FP_DIV_MEAT_2_udiv): Likewise.
5943 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5944 (_FP_FRAC_SRL_4): Likewise.
5945 (_FP_FRAC_SRST_4): Likewise.
5946 (_FP_FRAC_SRS_4): Likewise.
5947 (_FP_UNPACK_RAW_4): Likewise.
5948 (_FP_UNPACK_RAW_4_P): Likewise.
5949 (_FP_PACK_RAW_4): Likewise.
5950 (_FP_PACK_RAW_4_P): Likewise.
5951 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5952 (_FP_MUL_MEAT_4_wide): Likewise.
5953 (_FP_MUL_MEAT_4_gmp): Likewise.
5954 (umul_ppppmnnn): Likewise.
5955 (_FP_DIV_MEAT_4_udiv): Likewise.
5956 (__FP_FRAC_ADD_4): Likewise.
5957 (__FP_FRAC_SUB_3): Likewise.
5958 (__FP_FRAC_SUB_4): Likewise.
5959 (__FP_FRAC_DEC_3): Likewise.
5960 (__FP_FRAC_DEC_4): Likewise.
5961 (__FP_FRAC_ADDI_4): Likewise.
5962 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5963 (_FP_FRAC_SRL_8): Likewise.
5964 (_FP_FRAC_SRS_8): Likewise.
5965
9c37ec0b
JM
5966 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5967 include macro name.
5968 (FP_UNPACK_RAW_EP): Likewise.
5969 (FP_PACK_RAW_E): Likewise.
5970 (FP_PACK_RAW_EP): Likewise.
5971 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5972 (_FP_ISSIGNAN): Likewise.
5973 (_FP_ADD_INTERNAL): Likewise.
5974 (_FP_FMA): Likewise.
5975 (_FP_CMP): Likewise.
5976 (_FP_SQRT): Likewise.
5977 (_FP_TO_INT): Likewise.
5978 (_FP_FROM_INT): Likewise.
5979 (FP_EXTEND): Likewise.
5980 (_FP_DIV_MEAT_N_loop): Likewise.
5981
2125f674
MR
59822014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5983
5984 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5985 throughout.
5986
edea4028
JM
59872014-06-29 Joseph Myers <joseph@codesourcery.com>
5988
5989 [BZ #17097]
5990 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5991 result with correct sign in case of exponents that produce
5992 overflow except for X very close to 1.
5993
dd0ba018
PE
59942014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5995
5996 mktime: merge #if/#ifdef usage from glibc
5997 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5998 as that works with both Glibc's and Gnulib's style.
5999 See thread starting at Siddhesh Poyarekar's bug report at:
6000 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6001
64df73c2
SP
60022014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6003
6004 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6005 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6006 * sysdeps/tile/tilegx/memmove.c: Remove file.
6007
f1eafb41
JM
60082014-06-27 Joseph Myers <joseph@codesourcery.com>
6009
6010 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6011 abi-name definition.
6012 * scripts/soversions.awk: Do not handle or generate ABI lines.
6013 * shlib-versions: Remove ABI entries.
6014 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6015 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6016
58eb0862
RM
60172014-06-27 Roland McGrath <roland@hack.frob.com>
6018
37caf178
RM
6019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6020 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6021 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6022 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6024 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6026 Moved ...
6027 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6028 ... here.
6029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6030 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6031 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6032 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6033 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6034 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6036 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6038 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6040 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6042 Moved ...
6043 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6044 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6049 Moved ...
6050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6052 Moved ...
6053 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6057 Moved ...
6058 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6059 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6060 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6061 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6062 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6064 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6066 Moved ...
6067 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6068 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6069 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6070 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6071 Moved ...
6072 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6073 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6074 Moved ...
6075 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6076 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6077 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6078 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6079 Moved ...
6080 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6081 ... here.
6082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6083 Identical file removed.
6084 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6085 Moved ...
6086 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6087 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6088 Identical file removed.
6089 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6090 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6091 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6092 Moved ...
6093 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6094 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6095 Identical file removed.
6096 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6097 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6099 Identical file removed.
6100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6102 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6103 Identical file removed.
6104 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6105 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6106 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6107 Identical file removed.
6108 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6109 Moved ...
6110 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6111 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6112 Identical file removed.
6113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6114 Moved ...
6115 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6117 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6118 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6119 Identical file removed.
6120 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6121 Moved ...
6122 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6123 ... here.
6124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6125 Identical file removed.
6126 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6127 Moved ...
6128 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6130 Identical file removed.
6131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6132 Moved ...
6133 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6134 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6135 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6137 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6139 Moved ...
6140 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6141 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6142 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6143
58eb0862
RM
6144 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6145 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6146 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6147 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6148 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6149
6f12d062
AS
61502014-06-27 Arjun Shankar <arjun.is@lostca.se>
6151
6152 [BZ #17092]
6153 * nscd/nscd.c (monitor_child): Return exit status of child
6154 instead of return value from wait syscall.
6155
be254932
JM
61562014-06-27 Joseph Myers <joseph@codesourcery.com>
6157
cb403c34
JM
6158 * configure.ac (libc_commonpagesize): Remove variable.
6159 (libc_relro_required): Likewise.
6160 (libc_cv_z_relro): Remove configure test.
6161 * configure: Regenerated.
6162 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6163 variable.
6164 (libc_relro_required): Likewise.
6165 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6166 (libc_relro_required): Likewise.
6167 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6168 (libc_relro_required): Likewise.
6169 * sysdeps/arm/preconfigure: Regenerated.
6170 * sysdeps/ia64/preconfigure: Remove file.
6171 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6172 variable.
6173 (libc_relro_required): Likewise.
6174
be254932
JM
6175 [BZ #16561]
6176 [BZ #16562]
6177 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6178 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6179 recompute overflowing results in original rounding mode.
6180 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6181 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6182 recompute overflowing results in original rounding mode.
6183 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6184 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6185 recompute overflowing results in original rounding mode.
6186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6187 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6188 recompute overflowing results in original rounding mode.
6189 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6190 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6191 recompute overflowing results in original rounding mode.
6192 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6193 (libc_feholdsetround_ctx): New macro.
6194 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6195 * sysdeps/i386/fpu/libm-test-ulps: Update.
6196 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6197
b351d85a
JM
61982014-06-26 Joseph Myers <joseph@codesourcery.com>
6199
6200 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6201 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6202 corresponding .cpsetup call.
6203
3cb4de47
RM
62042014-06-26 Roland McGrath <roland@hack.frob.com>
6205
6206 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6207 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6208 * sysdeps/arm/Makefile [$(subdir) = csu]
6209 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6210 (static-only-routines): Add aeabi_read_tp here.
6211 (shared-only-routines): Add libc-aeabi_read_tp here.
6212 (CFLAGS-libc-start.c): Add -fexceptions here.
6213 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6214 (sysdep_routines, static-only-routines, shared-only-routines):
6215 Don't add to these here.
6216 (CFLAGS-libc-start.c): Likewise.
6217
6218 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6219 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6220 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6221 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6222 * sysdeps/arm/Makefile [$(subdir) = rt]
6223 (librt-sysdep_routines, librt-shared-only-routines):
6224 Append rt-aeabi_unwind_cpp_pr1 here.
6225 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6226 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6227 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6228 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6229 Append nptl-aeabi_unwind_cpp_pr1 here.
6230 (tests): Filter out tst-cleanupx4 here.
6231 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6232 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6233 Don't do those here.
6234
354426bb
JM
62352014-06-26 Joseph Myers <joseph@codesourcery.com>
6236
6237 * scripts/list-sources.sh: Do not handle ports specially.
6238
28b0a8c9
RM
62392014-06-26 Roland McGrath <roland@hack.frob.com>
6240
a3dd035d
RM
6241 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6242 * sysdeps/arm/feupdateenv.c: Likewise.
6243
28b0a8c9
RM
6244 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6245
e66a8203
JM
62462014-06-26 Joseph Myers <joseph@codesourcery.com>
6247
6248 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6249 trailing whitespace removed.
6250 * scripts/config.guess: Update to version 2014-03-23.
6251 * scripts/config.sub: Update to version 2014-05-01
6252 * scripts/install-sh: Update to version 2013-12-25.23.
6253 * scripts/move-if-change: Update from gnulib.
6254
74171115
SP
62552014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6256
b97c9ce5
SP
6257 * debug/memmove_chk.c: Remove pagecopy.h include.
6258
4000f892
SP
62592014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6260
74171115
SP
6261 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6262 identical to gnulib mktime.
6263
a8779c28
JM
62642014-06-26 Joseph Myers <joseph@codesourcery.com>
6265
e64708de
JM
6266 * configure.ac: Do not test for machine being rs6000. Do not test
6267 for powerpc*-*soft.
6268 * configure: Regenerated.
6269
a8779c28
JM
6270 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6271 test.
6272 * configure: Regenerated.
6273 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6274 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6275 Remove configure test.
6276 * sysdeps/arm/configure: Regenerated.
6277 * sysdeps/nptl/configure.ac: Do not check
6278 libc_cv_asm_cfi_directives.
6279 * sysdeps/nptl/configure: Regenerated.
6280 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6281 * sysdeps/x86_64/nptl/configure: Remove generated file.
6282 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6283 unconditional.
6284 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6285
2aac0a86
SP
62862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6287
059bf913
SP
6288 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6289 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6290 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6291 it is defined.
6292
4cf5b6d0
SP
6293 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6294 instead of whether it is defined.
6295 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6296 * sysdeps/hppa/dl-machine.h: Likewise.
6297 * sysdeps/ia64/dl-machine.h: Likewise.
6298 * sysdeps/m68k/dl-machine.h: Likewise.
6299 * sysdeps/microblaze/dl-machine.h: Likewise.
6300 * sysdeps/mips/dl-machine.: Likewise.
6301 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6302 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6303 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6304 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6305 * sysdeps/sh/dl-machine.h: Likewise.
6306 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6308 * sysdeps/tile/dl-machine.h: Likewise.
6309 * sysdeps/x86_64/dl-machine.h: Likewise.
6310
2aac0a86
SP
6311 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6312 code.
6313 (verify_persistent_db): Likewise.
6314
6ad2df0b
RM
63152014-06-26 Roland McGrath <roland@hack.frob.com>
6316
d8a483f3
RM
6317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6318 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6320 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6322 Moved ...
6323 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6324 ... here.
6325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6326 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6328 Identical file removed.
6329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6330 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6332 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6334 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6336 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6338 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6340 Moved ...
6341 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6343 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6345 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6347 Moved ...
6348 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6350 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6352 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6354 Identical file removed.
6355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6356 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6358 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6360 Moved ...
6361 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6362 ... here.
6363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6364 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6366 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6368 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6370 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6372 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6374 Moved ...
6375 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6377 Moved ...
6378 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6380 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6382 Moved ...
6383 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6385 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6386
52ae23b4
RM
6387 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6388 folded into ...
6389 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6390 * sysdeps/unix/sysv/linux/s390/Versions
6391 (libpthread: GLIBC_2.19): New version set.
6392 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6393 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6394 (librt: GLIBC_2.3.3): New version set.
6395 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6396 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6397 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6398 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6399 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6400 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6401 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6402 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6403 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6404 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6405 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6406 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6407 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6408 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6409 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6410 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6411 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6412 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6413 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6414 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6415 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6417 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6419 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6421 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6423 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6424 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6425 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6426 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6428 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6431 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6433 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6434 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6435 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6437 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6439 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6440
39507e4a
RM
6441 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6442 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6443 (__libc_vfork): Define the function under this name.
6444 [!NOT_IN_libc] (__vfork): Make this an alias.
6445 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6447 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6448 (__libc_vfork): Define the function under this name.
6449 [!NOT_IN_libc] (__vfork): Make this an alias.
6450 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6451 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6452 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6455 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6456
e549ee56
RM
6457 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6458 code that was previously under [RESET_PID].
6459 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6460 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6462
6ad2df0b
RM
6463 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6464 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6465 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6466 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6468 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6469 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6470 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6471 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6472 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6473 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6474 Moved ...
6475 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6476 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6477 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6478 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6479 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6480 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6481 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6482 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6483 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6485 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6486 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6487 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6488 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6489 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6491 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6492 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6493 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6495 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6497 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6498 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6499 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6500 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6501 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6502 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6503 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6504
7c1c1d8e
RM
65052014-06-25 Roland McGrath <roland@hack.frob.com>
6506
6507 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6508 that was previously under [RESET_PID].
6509 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6510
3e239be6
JM
65112014-06-25 Joseph Myers <joseph@codesourcery.com>
6512
74385da5
JM
6513 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6514 not undefine and redefine.
6515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6516 [O_CLOEXEC]: Make code unconditional.
6517 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6518 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6519 <kernel-features.h>.
6520 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6521 conditional variable definition.
6522 (shm_open) [O_CLOEXEC]: Make code unconditional.
6523 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6524 code.
6525
c2570a0b
JM
6526 * configure.ac (USE_REGPARMS): Don't define here.
6527 * configure: Regenerated.
6528 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6529 * sysdeps/i386/configure: Regenerated.
6530
11b076bb
JM
6531 * nptl/createthread.c: Don't include kernel-features.h.
6532 * nptl/pthread_cancel.c: Likewise.
6533 * nptl/pthread_condattr_setclock.c: Likewise.
6534 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6535 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6536 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6537 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6538 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6539 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6540 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6543 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6544 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6545 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6546 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6547 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6548 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6549 * nscd/gai.c: Likewise.
6550 * nss/nss_db/db-open.c: Likewise.
6551 * sysdeps/generic/ldsodefs.h: Likewise.
6552 * sysdeps/sh/nptl/tls.h: Likewise.
6553 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6554 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6555 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6556 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6557 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6558 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6559 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6560 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6562 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6563 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6564 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6565 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6566 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6567 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6568 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6569 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6570 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6571 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6572 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6573 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6575 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6576 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6577 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6578 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6579 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6580 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6581 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6582 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6583 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6584 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6585 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6586 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6587 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6588 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6589 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6590 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6591 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6592 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6593 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6594 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6595 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6596 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6597 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6598 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6599 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6600 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6601 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6602 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6603 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6604 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6605 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6606 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6607 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6608 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6609 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6610 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6633 * sysdeps/unix/sysv/linux/pread.c: Likewise.
6634 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6635 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6636 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6637 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6638 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6639 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6640 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6641 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6642 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6643 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6644 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6645 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6646 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6647 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6648 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6650 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6651 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6652 * sysdeps/unix/sysv/linux/system.c: Likewise.
6653 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6654 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6655 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6656 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6657 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6659 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6660
92072d57
JM
6661 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6662 * configure: Regenerated.
6663 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6664
3e239be6
JM
6665 * configure.ac (base_machine): Do not set specially for particular
6666 machines here.
6667 * configure: Regenerated.
6668 * sysdeps/powerpc/preconfigure: Move machine and base_machine
6669 settings from configure.ac.
6670 * sysdeps/i386/preconfigure: New file.
6671 * sysdeps/s390/preconfigure: Likewise.
6672 * sysdeps/sh/preconfigure: Likewise.
6673 * sysdeps/sparc/preconfigure: Likewise.
6674
06d50baa
RM
66752014-06-25 Roland McGrath <roland@hack.frob.com>
6676
74836003
RM
6677 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6678 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6679 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6680 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6681 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6682 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6683 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6684 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6685 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6686 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6687 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6688 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6689 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6690 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6691 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6692 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6693 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6694 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6695 * sysdeps/sparc/sparc64/Makefile: ... appended here.
6696
6697 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6698 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6699 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6700 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6701 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6702 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6703 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6704 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6705 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6706 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6707 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6708 * sysdeps/sparc/sparc32/sem_post.c: ... here.
6709 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6710 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6711 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6712 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6713 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6714 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6715 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6716 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6717 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6718 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6719 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6720 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6721 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6722 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6723 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6724 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6725 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6726 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6727 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6728 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6729 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6730 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6731 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6732 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6733 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6734 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6735
06d50baa
RM
6736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6737 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6739 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6741 Moved ...
6742 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6743 ... here.
6744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6745 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6747 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6749 Moved ...
6750 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6752 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6754 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6756 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6758 Moved ...
6759 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6761 Moved ...
6762 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6764 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6766 Moved ...
6767 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6769 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6771 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6773 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6775 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6777 Moved ...
6778 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6779 ... here.
6780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6781 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6783 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6785 Moved ...
6786 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6788 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6790 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6792 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6794 Moved ...
6795 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6797 Moved ...
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6800 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6802 Moved ...
6803 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6805 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6807 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6808
a4ccbc9b
JM
68092014-06-25 Joseph Myers <joseph@codesourcery.com>
6810
0828edbf
JM
6811 * timezone/checktab.awk: Update from tzcode 2014e.
6812 * timezone/private.h: Likewise.
6813 * timezone/tzfile.h: Likewise.
6814 * timezone/zdump.c: Likewise.
6815 * timezone/zic.c: Likewise.
6816
a4ccbc9b
JM
6817 * sysdeps/unix/sysv/linux/kernel-features.h
6818 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6820 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6821 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6822 Remove conditional code.
6823
9aea0cb8
WN
68242014-06-25 Will Newton <will.newton@linaro.org>
6825
6826 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6827 (_dl_arm_cap_flags): Add HWCAP2 values.
6828 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6829 (_DL_HWCAP_COUNT): Increase to 37.
6830 (_DL_HWCAP_LAST): New define.
6831 (_DL_HWCAP2_LAST): New define.
6832 (_dl_procinfo): Add support for printing
6833 AT_HWCAP2 entries.
6834 (_dl_string_hwcap): Use _dl_hwcap_string.
6835
6eaa65ce
AZ
68362014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837
6838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6839
0f5b7185
JM
68402014-06-25 Joseph Myers <joseph@codesourcery.com>
6841
cfd2ea50
JM
6842 * README: Do not mention ports directory.
6843
cecf2ed4
JM
6844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6845 Remove macro.
6846 * sysdeps/unix/sysv/linux/futimes.c: Do not include
6847 <kernel-features.h>.
6848 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6849 conditional variable definition.
6850 (__futimes): Update comment.
6851 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6852 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6853
a638de82
JM
6854 [BZ #16560]
6855 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6856 arguments close to 0.
6857 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6858 Likewise.
6859 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6860 Likewise.
6861 * math/auto-libm-test-in: Add more tests of exp10.
6862 * math/auto-libm-test-out: Regenerated.
6863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6864
0f5b7185
JM
6865 * sysdeps/unix/sysv/linux/kernel-features.h
6866 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6867 * sysdeps/unix/sysv/linux/readv.c: Do not include
6868 <kernel-features.h>.
6869 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6870 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6871 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6872 unconditional.
6873 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6874 conditional code.
6875 * sysdeps/unix/sysv/linux/writev.c: Do not include
6876 <kernel-features.h>.
6877 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6878 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6879 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6880 unconditional.
6881 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6882 conditional code.
6883
c7aec4be
WN
68842014-06-25 Will Newton <will.newton@linaro.org>
6885
6886 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6887 comment changes throughout the file. Remove checks
6888 for HAVE_*_H definitions that are not required.
6889 (__gen_tempname): Call abort if an unknown kind value is
6890 passed.
6891
c5241f95
AS
68922014-06-25 Andreas Schwab <schwab@suse.de>
6893
6894 [BZ #17086]
6895 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6896 scalbln, scalblnf, scalblnl in libc.
6897
911422da
SP
68982014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6899
6900 [BZ #17086]
6901 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6902 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6903 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6904
0d749bbe
RM
69052014-06-24 Roland McGrath <roland@hack.frob.com>
6906
6907 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6908 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6909 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6910 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6911 Update #include.
6912 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6913 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6914 Update #include.
6915 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6916 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6917 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6918 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6919 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6920 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6921 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6922 * sysdeps/x86/bits/semaphore.h: ... here.
6923 * sysdeps/x86/nptl/elide.h: Moved ...
6924 * sysdeps/x86/elide.h: ... here.
6925 * sysdeps/x86_64/nptl/Implies: File removed.
6926 * sysdeps/i386/nptl/Implies: File removed.
6927
0ea5d373
JM
69282014-06-24 Joseph Myers <joseph@codesourcery.com>
6929
4060283d
JM
6930 [BZ #16539]
6931 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6932 return the argument for normal arguments with exponent below -64.
6933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6934 Likewise.
6935 * math/auto-libm-test-in: Add another test of expm1.
6936 * math/auto-libm-test-out: Regenerated.
6937
e7dd3c8c
JM
6938 [BZ #16287]
6939 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6940 calling __erfcl for arguments at least 16.
6941 * math/auto-libm-test-in: Add more tests of erf.
6942 * math/auto-libm-test-out: Regenerated.
6943
0ea5d373
JM
6944 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6945 individual architectures.
6946 * sysdeps/unix/sysv/linux/configure: Regenerated.
6947 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6948 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6949 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6950 (ldd_rewrite_script): Define variable.
6951 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6953 file.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6955 generated file.
6956 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6957 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6958 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6959 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6960 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6961 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6962 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6963 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6964
2307e126
SP
69652014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6966
6967 [BZ #17084]
6968 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6969 Rename member __data.d to __data.__elision_data.
6970
c0a4ed77
W
69712014-06-24 Wilco <wdijkstr@arm.com>
6972
6973 * NEWS: Add 16918 to fixed bug list.
6974
b8c00573
W
69752014-06-24 Wilco <wdijkstr@arm.com>
6976
6977 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6978
b5570d92
W
69792014-06-24 Wilco <wdijkstr@arm.com>
6980
6981 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6982 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6983 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6984 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6985 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6986 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6987 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6988 Use _FPU_MASK_RM.
6989
947bdca2
W
69902014-06-24 Wilco <wdijkstr@arm.com>
6991
6992 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6993
00f669ed
W
69942014-06-24 Wilco <wdijkstr@arm.com>
6995
6996 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6997 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6998 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6999 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7000
db59bad3
W
70012014-06-24 Wilco <wdijkstr@arm.com>
7002
7003 [BZ #16918]
7004 * sysdeps/arm/feupdateenv.c (feupdateenv):
7005 Rewrite to reduce FPSCR accesses and fix return value.
7006
001f7b77
W
70072014-06-24 Wilco <wdijkstr@arm.com>
7008
7009 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7010 Optimize to avoid unnecessary FPSCR writes.
7011 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7012 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7013 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7014 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7015
4841e6a6
W
70162014-06-24 Wilco <wdijkstr@arm.com>
7017
7018 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7019 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7020 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7021 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7022 Call libc_fetestexcept_vfp.
7023 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7024 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7025 __SOFTFP__ ifdef so that they can be built for softfp.
7026
0813022c
SP
70272014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7028
08e5862f
SP
7029 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7030 argument type signed char.
7031
0813022c
SP
7032 * Makerules (check-abi): Dump diff of symlist if the test
7033 fails.
7034
3fc7236a
RM
70352014-06-23 Roland McGrath <roland@hack.frob.com>
7036
aba8ef95
RM
7037 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7038 using abort.
7039
3fc7236a
RM
7040 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7041 Remove unused variable ST.
7042
4da6db51
JM
70432014-06-23 Joseph Myers <joseph@codesourcery.com>
7044
4648909d
JM
7045 [BZ #16354]
7046 [BZ #17061]
7047 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7048 small arguments before calling __expm1.
7049 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7050 small arguments before calling __expm1f.
7051 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7052 small arguments before calling __expm1l.
7053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7054 Likewise.
7055 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7056 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7057 spurious underflow for some cosh tests.
7058 * math/auto-libm-test-out: Regenerated.
7059 * sysdeps/i386/fpu/libm-test-ulps: Update.
7060
46a3d3c7
JM
7061 [BZ #17050]
7062 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7063 (__ieee754_y1): Set errno if return value overflows.
7064 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7065 (__ieee754_y1f): Set errno if return value overflows.
7066 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7067 (__ieee754_y1l): Set errno if return value overflows.
7068 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7069 (__ieee754_y1l): Set errno if return value overflows.
7070 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7071 * math/auto-libm-test-out: Regenerated.
7072
863893ec
JM
7073 * math/gen-auto-libm-tests.c: Document use of
7074 ignore-zero-inf-sign.
7075 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7076 (input_flags): Add ignore-zero-inf-sign.
7077 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7078 * math/gen-libm-test.pl (generate_testfile): Handle
7079 ignore-zero-inf-sign.
7080 * math/auto-libm-test-in: Mark some cpow tests with
7081 ignore-zero-inf-sign and some with xfail-rounding.
7082 * math/auto-libm-test-out: Regenerated.
7083 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7084 * sysdeps/i386/fpu/libm-test-ulps: Update.
7085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7086
4da6db51
JM
7087 [BZ #16315]
7088 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7089 overflowing or underflowing operations take place with sign of
7090 result.
7091 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7092 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7093 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7094 (__ieee754_pow): Recompute overflowing and underflowing results in
7095 original rounding mode.
7096 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7097 (__powl_helper): Allow negative argument X and scale negated value
7098 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7099 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7100 overflowing or underflowing operations take place with sign of
7101 result.
7102 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7103 Include <math.h>.
7104 * math/auto-libm-test-in: Add more tests of pow.
7105 * math/auto-libm-test-out: Regenerated.
7106 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7107 (pow_tonearest_test_data): Remove.
7108 (pow_test_tonearest): Likewise.
7109 (pow_towardzero_test_data): Likewise.
7110 (pow_test_towardzero): Likewise.
7111 (pow_downward_test_data): Likewise.
7112 (pow_test_downward): Likewise.
7113 (pow_upward_test_data): Likewise.
7114 (pow_test_upward): Likewise.
7115 (main): Don't call removed functions.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118
5686b236
RM
71192014-06-23 Roland McGrath <roland@hack.frob.com>
7120
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7122 Moved ...
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7125 Moved ...
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7128 Moved ...
7129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7131 Moved ...
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7134 File removed.
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7136 File removed.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7138 File removed.
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7140 File removed.
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7142 File removed.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7144 File removed.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7146 File removed.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7148 File removed.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7150 File removed.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7152 File removed.
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7154 File removed.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7156 File removed.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7158 Moved ...
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7161 Moved ...
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7163 ... here.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7165 Moved ...
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7168 Moved ...
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7171 Moved ...
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7174 Moved ...
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7177 Moved ...
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7180 Moved ...
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7183 Moved ...
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7187 ... here.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7189 Moved ...
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7192 Moved ...
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7194 ... here.
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7196 Moved ...
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7198 ... here.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7200 Moved ...
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7202 ... here.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7204 Moved ...
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7207 Moved ...
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7212 Moved ...
7213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7214 ... here.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7216 Moved ...
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7218 ... here.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7220 Moved ...
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7223 Moved ...
7224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7226 Moved ...
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7229 Moved ...
7230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7232 Moved ...
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7234 ... here.
7235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7236 Moved ...
7237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7239 Moved ...
7240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7242 Moved ...
7243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7245 Moved ...
7246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7250 Moved ...
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7253 Moved ...
7254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7256 Moved ...
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7258 ... here.
7259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7260 Moved ...
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7262 ... here.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7264 Moved ...
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7266 ... here.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7268 Moved ...
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7271 Moved ...
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7274 Moved ...
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7277 Moved ...
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7279 ... here.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7281 Moved ...
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7283 ... here.
7284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7285 Moved ...
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7287 ... here.
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7289 Moved ...
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7292 Moved ...
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7294
e6d90d67
WD
72952014-06-23 Will Newton <will.newton@linaro.org>
7296 Wilco <wdijkstr@arm.com>
7297
7298 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7299 implementation. Include get-rounding-mode.h.
7300 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7301 [!libc_feholdsetround_noex_ctx]: Define
7302 libc_feholdsetround_noex_ctx.
7303 [!libc_feholdsetround_noexf_ctx]: Define
7304 libc_feholdsetround_noexf_ctx.
7305 [!libc_feholdsetround_noexl_ctx]: Define
7306 libc_feholdsetround_noexl_ctx.
7307 (libc_feholdsetround_ctx): New function.
7308 (libc_feresetround_ctx): New function.
7309 (libc_feholdsetround_noex_ctx): New function.
7310 (libc_feresetround_noex_ctx): New function.
7311
d42df555
RM
73122014-06-23 Roland McGrath <roland@hack.frob.com>
7313
88a46474
RM
7314 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7315 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7316 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7317 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7318 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7319 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7320
15bed472
RM
7321 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7322 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7323 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7324 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7325 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7326 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7327 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7328 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7330 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7332 Moved ...
7333 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7334 ... here.
7335 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7336 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7338 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7340 Moved ...
7341 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7342 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7343 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7344 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7345 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7347 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7349 Moved ...
7350 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7352 Moved ...
7353 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7354 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7355 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7357 Moved ...
7358 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7359 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7360 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7361 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7362 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7363 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7364 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7365 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7366 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7368 Moved ...
7369 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7370 ... here.
7371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7372 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7373 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7374 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7376 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7378 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7380 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7382 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7384 Moved ...
7385 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7386 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7387 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7388 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7389 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7391 Moved ...
7392 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7393 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7394 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7395 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7396 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7397
d42df555
RM
7398 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7399 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7400 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7401 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7402 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7403 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7404 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7405 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7407 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7408 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7409 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7410 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7411 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7412 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7413 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7415 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7419 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7420 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7426
76e5216e
JM
74272014-06-23 Joseph Myers <joseph@codesourcery.com>
7428
7429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7430 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7431 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7432 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7433 (IPV6_PMTUDISC_INTERFACE): Likewise.
7434 (IPV6_PMTUDISC_OMIT): Likewise.
7435
7a81cbcc
AS
74362014-06-23 Andreas Schwab <schwab@suse.de>
7437
7438 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7439 Remove unused errout label.
7440
db224009
AZ
74412014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7442
7443 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7444 macro: hardware supports Vector Crypto instructions.
7445
f393b4aa
WN
74462014-06-23 Will Newton <will.newton@linaro.org>
7447
cc7d0447
WN
7448 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7449 rather than __builtin_expect.
7450
d6d06225
WN
7451 * elf/dl-lookup.c (undefined_msg): Remove variable.
7452 (_dl_lookup_symbol_x): Replace undefined_msg with string
7453 literal.
7454
f393b4aa
WN
7455 * elf/dl-lookup.c (do_lookup_unique): New function.
7456 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7457 to a separate function.
7458
ac60763e
AS
74592014-06-23 Andreas Schwab <schwab@suse.de>
7460
7461 [BZ #17079]
7462 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7463 before reading the next line.
7464
c5c13355
WN
74652014-06-23 Will Newton <will.newton@linaro.org>
7466
7467 * test-skeleton.c (signal_handler): Use printf and %m
7468 rather than perror. Use printf rather than fprintf to
7469 stderr. Use puts rather than fputs to stderr.
7470 (main): Likewise.
7471
bd3675f9
LC
74722014-06-22 Ludovic Courtès <ludo@gnu.org>
7473
7474 * nscd/nscd.c (thread_info_t): Remove typedef.
7475 (thread_info): Remove variable.
7476
d03efb2f
AM
74772014-06-21 Allan McRae <allan@archlinux.org>
7478
7479 * NEWS: Mention CVE-2014-4043.
7480
bc4a86fa
RM
74812014-06-20 Roland McGrath <roland@hack.frob.com>
7482
dc9a54f8
RM
7483 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7484 * nptl/smp.h: ... here.
7485
bd7022c4
RM
7486 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7487
26ffd5e6
RM
7488 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7489 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7490 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7491 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7492
93a6d082
RM
7493 * nptl/allocatestack.c: Include <stack-aliasing.h>.
7494 * nptl/stack-aliasing.h: New file.
7495 * sysdeps/i386/i686/stack-aliasing.h: New file.
7496 * sysdeps/i386/i686/nptl/Makefile: File removed.
7497 * sysdeps/x86_64/stack-aliasing.h: New file.
7498 * sysdeps/x86_64/nptl/Makefile
7499 (CFLAGS-pthread_create.c): Variable removed.
7500
bc4a86fa
RM
7501 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7502 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7503 old file.
7504 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7505 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7506 old file.
7507
2272ffc1
JM
75082014-06-21 Joseph Myers <joseph@codesourcery.com>
7509
7510 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7511 (__ASSUME_SIGFRAME_V2): Remove macro.
7512 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7513 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7514 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7515 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7516 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7517 Declare as function. Remove conditional macro definitions.
7518 (__default_rt_sa_restorer): Likewise.
7519 (__default_sa_restorer_v1): Remove declaration.
7520 (__default_sa_restorer_v2): Likewise.
7521 (__default_rt_sa_restorer_v1): Likewise.
7522 (__default_rt_sa_restorer_v2): Likewise.
7523 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7524 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7525 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7526
4b88139b
RM
75272014-06-20 Roland McGrath <roland@hack.frob.com>
7528
7529 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7530 (libpthread-routines): Add sysdep.
7531 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7532 * sysdeps/unix/sysv/linux/sparc/Versions
7533 (libpthread: GLIBC_2.3.3): New version set.
7534 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7535 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7536 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7537 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7538 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
7539 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7540 Moved ...
7541 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7542 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7543 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7544 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7545 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7547 * sysdeps/sparc/nptl/sem_init.c: ... here.
7548 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7549 * sysdeps/sparc/nptl/sem_post.c: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7551 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7552 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7553 * sysdeps/sparc/nptl/sem_wait.c: ... here.
7554 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7555 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7556 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7557 (libpthread-routines): Add cpu_relax.
7558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7559 File removed.
7560 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7561 (librt: GLIBC_2.3.3): New version set.
7562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7563 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7564 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7565 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7568 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7570 Moved ...
7571 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7573 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7575 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7577 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7579 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7581 Moved ...
7582 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7583 Update #include.
7584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7585 Moved ...
7586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7587 Update #include.
7588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7589 Moved ...
7590 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7591 Update #include.
7592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7593 Moved ...
7594 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7595 Update #include.
7596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7597 Moved ...
7598 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7599 Update #include.
7600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7601 Moved ...
7602 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7603 Update #include.
7604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7605 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7611 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7613 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7615 Moved ...
7616 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7618 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7620 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7621
d7109027
JM
76222014-06-20 Joseph Myers <joseph@codesourcery.com>
7623
9bc6103d
JM
7624 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7625 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7626 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7627 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7628 * nscd/nscd.c: Likewise.
7629 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7630 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7631 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7632 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7633
d7109027
JM
7634 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7635 <kernel-features.h>.
7636 (init_mq_netlink): Remove conditional have_sock_cloexec
7637 definitions. Remove code conditional on have_sock_cloexec < 0.
7638 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7639 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7640 * sysdeps/unix/sysv/linux/opensock.c: Do not include
7641 <kernel-features.h>.
7642 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7643 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7644
d92d8f8a
L
76452014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7646
7647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7648 Add tests for memset_chk and memset.
7649
7650 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7651 with AVX2_Usable.
7652
4e6d2347
MR
76532014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7654
257ce712
MR
7655 [BZ #16046]
7656 * elf/tst-dl-iter-static.c: New file.
7657 * elf/Makefile (tests-static): Add tst-dl-iter-static.
7658
4e6d2347
MR
7659 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7660 error.
7661
a2a76afe
JM
76622014-06-20 Joseph Myers <joseph@codesourcery.com>
7663
7fd00f99
JM
7664 * sysdeps/unix/sysv/linux/kernel-features.h
7665 (__ASSUME_F_GETOWN_EX): Remove macro.
7666 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7667 <kernel-features.h>.
7668 (miss_F_GETOWN_EX): Remove variable or macro.
7669 (do_fcntl): Do not check miss_F_GETOWN_EX.
7670 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7671
4a103975
JM
7672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7673 Remove macro.
7674 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7675 [!__ASSUME_AT_RANDOM]: Remove conditional code.
7676 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7677
a2a76afe
JM
7678 * sysdeps/unix/sysv/linux/kernel-features.h
7679 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7680 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7681 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7682 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7683
90e5dd48
MR
76842014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
7685
7686 [BZ #17075]
7687 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7688 Fix calculation of the symbol's value.
7689 * sysdeps/arm/tst-armtlsdescloc.c: New file.
7690 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7691 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7692 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7693 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7694 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7695 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7696 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7697 (modules-names): Add `tst-armtlsdescmod',
7698 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7699 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7700 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7701 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7702 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7703 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7704 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7705 ($(objpfx)tst-armtlsdescloc): New dependency.
7706 ($(objpfx)tst-armtlsdescextnow): Likewise.
7707 ($(objpfx)tst-armtlsdescextlazy): Likewise.
7708 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7709 TLS scheme support.
7710 * sysdeps/arm/configure: Regenerate.
7711
809fdf0d
JM
77122014-06-20 Joseph Myers <joseph@codesourcery.com>
7713
7714 * include/fcntl.h (__atfct_seterrno): Remove prototype.
7715 (__atfct_seterrno_2): Likewise.
7716 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7717 <kernel-features.h>.
7718 (__ASSUME_ATFCTS): Do not undefine and redefine.
7719 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7720 (__have_atfcts): Remove conditional definition.
7721 (__fxstatat([__NR_fstatat64]: Make code unconditional.
7722 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7723 unreachable if [__ASSUME_ATFCTS].
7724 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7725 not undefine and redefine.
7726 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7727 <kernel-features.h>.
7728 (faccessat) [__NR_faccessat]: Make code unconditional.
7729 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7730 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7731 <kernel-features.h>.
7732 (fchmodat) [__NR_fchmodat]: Make code unconditional.
7733 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7734 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7735 <kernel-features.h>.
7736 (fchownat) [__NR_fchownat]: Make code unconditional.
7737 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7738 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7739 <kernel-features.h>.
7740 (futimesat) [__NR_futimesat]: Make code unconditional.
7741 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7742 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7743 <kernel-features.h>.
7744 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7745 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7746 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7747 <kernel-features.h>.
7748 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7749 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7750 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7751 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7752 <kernel-features.h>.
7753 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7754 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7755 * sysdeps/unix/sysv/linux/linkat.c: Do not include
7756 <kernel-features.h>.
7757 (linkat) [__NR_linkat]: Make code unconditional.
7758 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7759 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7760 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7761 <kernel-features.h>.
7762 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7763 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7764 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7765 <kernel-features.h>.
7766 (mkdirat) [__NR_mkdirat]: Make code unconditional.
7767 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7768 * sysdeps/unix/sysv/linux/openat.c: Do not include
7769 <kernel-features.h>.
7770 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7771 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7772 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7773 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7774 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7775 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7776 <kernel-features.h>.
7777 (readlinkat) [__NR_readlinkat]: Make code unconditional.
7778 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
7779 result of INLINE_SYSCALL directly, not via int variable.
7780 * sysdeps/unix/sysv/linux/renameat.c: Do not include
7781 <kernel-features.h>.
7782 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7783 (renameat) [__NR_renameat]: Make code unconditional.
7784 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7785 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7786 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7787 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7789 (__ASSUME_ATFCTS): Do not undefine and redefine.
7790 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7791 <kernel-features.h>.
7792 (symlinkat) [__NR_symlinkat]: Make code unconditional.
7793 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7794 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7795 <kernel-features.h>.
7796 (unlinkat) [__NR_unlinkat]: Make code unconditional.
7797 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7799 (__ASSUME_ATFCTS): Do not undefine and redefine.
7800 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7801 <kernel-features.h>.
7802 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7803 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7804 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7805 <kernel-features.h>.
7806 (__xmknodat) [__NR_mknodat]: Make code unconditional.
7807 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7808
224c6c51
L
78092014-06-20 H.J. Lu <hongjiu.lu@intel.com>
7810
7811 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7812
aa6ec754
AS
78132014-06-20 Andreas Schwab <schwab@linux-m68k.org>
7814
7815 [BZ #17069]
7816 * posix/regcomp.c (parse_reg_exp): Deallocate partially
7817 constructed tree before returning error.
7818 * posix/bug-regexp36.c: Expand test case.
7819
d8c2869d
SL
78202014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7821
3ef6b850
SL
7822 [BZ #6803]
7823 * math/libm-test.inc (scalbln_test_date):
7824 Add errno expectations.
7825 * math/w_scalblnf.c: New File.
7826 Add wrapper which checks for setting errno to ERANGE.
7827 Add weak_alias for corresponding scalbln function.
7828 * math/w_scalbln.c: Likewise.
7829 * math/w_scalblnl.c: Likewise.
7830 * math/Makefile (libm-calls): Add w_scalbln.
7831 * sysdeps/ieee754/flt-32/s_scalblnf.c:
7832 Remove weak_alias for corresponding scalbln function.
7833 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7837 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7838 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7839 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7840 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7841 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7842 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7843 Remove long_double_symbol for scalblnl function in libm, libc.
7844 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7845 Add wrapper which checks for setting errno to ERANGE.
7846 Add long_double_symbol for scalblnl function in libm, libc.
7847 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7848 Remove long_double_symbol for scalblnl in libm.
7849 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7850 Add wrapper which checks for setting errno to ERANGE.
7851 Add long_double_symbol for scalblnl function in libm.
7852 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7853 Do not use wrapper because of own implementation.
7854
c8daec5c
L
78552014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7856
7857 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7858 3 bytes for __pad1 for x32.
7859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7860
5c74e47c
LM
78612014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7862 H.J. Lu <hongjiu.lu@intel.com>
7863
7864 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7865 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7866 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7867 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7868 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7869
4d43ef1e
AS
78702014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7871
7872 [BZ #17069]
7873 * posix/regcomp.c (parse_expression): Deallocate partially
7874 constructed tree before returning error.
7875 * posix/Makefile.c (tests): Add bug-regex36.
7876 (generated): Add bug-regex36.mtrace.
7877 (tests-special): Add $(objpfx)bug-regex36-mem.out
7878 (bug-regex36-ENV): New variable.
7879 ($(objpfx)bug-regex36-mem.out): New rule.
7880 * posix/bug-regex36.c: New file.
7881
51a7380b
WN
78822014-06-19 Will Newton <will.newton@linaro.org>
7883
7884 * malloc/malloc.c (systrim): If extra is zero then return
7885 early.
7886
91b84fe5
SP
78872014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
7889 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7890
f940b965
RE
78912014-06-19 Richard Earnshaw <rearnsha@arm.com>
7892
7893 * sysdeps/aarch64/strchr.S: New file.
7894
4ba7a00f
JM
78952014-06-18 Joseph Myers <joseph@codesourcery.com>
7896
7897 [BZ #17022]
7898 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7899 from arguments -2 or below.
7900 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7901 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7902
b3a9f56b
AS
79032014-06-18 Andreas Schwab <schwab@suse.de>
7904
7905 [BZ #17062]
7906 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7907 of a bracket expr not to run off the end of the string.
7908 * posix/Makefile (tests): Add tst-fnmatch3.
7909 * posix/tst-fnmatch3.c: New file.
7910
85d89278
JM
79112014-06-18 Joseph Myers <joseph@codesourcery.com>
7912
7913 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7914 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7915 [$(cross-compiling) = no]: Likewise.
7916 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7917 [$(cross-compiling) = no]: Likewise.
7918
754c5a08
RS
79192014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7920
7921 [BZ #17031]
7922 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7923 double, adjusted for any remainder from the high double.
7924 * math/libm-test.inc (nearbyint): Add tests.
7925 (rint): Likewise.
7926
556f529d
AZ
79272014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928
7929 * nptl/sysdeps/powerpc/Makefile: Moved ...
7930 * sysdeps/powerpc/nptl/Makefile: ... here.
7931 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7932 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7933 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7934 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7935 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7936 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7937 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7938 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7939 * nptl/sysdeps/powerpc/tls.h: Moved ...
7940 * sysdeps/powerpc/nptl/tls.h: ... here.
7941
91c03c53
JM
79422014-06-16 Joseph Myers <joseph@codesourcery.com>
7943
7944 [BZ #16681]
7945 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7946 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7947 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7948 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7949 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7950 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7951 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7952 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7953 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7954
a76e63c5
AS
79552014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7956
7957 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7958
f2f6d82f
AS
79592014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7960
ea8a15f6
AS
7961 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7962 defined operator.
7963
f2f6d82f
AS
7964 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7965 $TIMEOUTFACTOR.
7966
a7291117
FW
79672014-06-16 Florian Weimer <fweimer@redhat.com>
7968
7969 [BZ #17058]
7970 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7971 non-executed part of the test.
7972
3d7c00e3
AS
79732014-06-16 Andreas Schwab <schwab@suse.de>
7974
7975 * string/bits/string2.h (strdup, strndup): Update feature guard.
7976
6957fb31
DM
79772014-06-14 David S. Miller <davem@davemloft.net>
7978
7979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7980
11b9e55b
AS
79812014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7982
1d2a0492
AS
7983 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7984 that was previously under [RESET_PID].
7985 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7986
11b9e55b
AS
7987 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7988 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7989 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7990 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7991 (__libc_vfork): New strong alias.
7992 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7993
0f6901d0
AK
79942014-06-14 Andi Kleen <ak@linux.intel.com>
7995
7996 * sysdeps/generic/elide.h: New file.
7997
38bbbb9f
SL
79982014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7999
8000 * Makefile (installed-headers): Adjust path of pthread.h header.
8001
45193bb8
RM
80022014-06-13 Roland McGrath <roland@hack.frob.com>
8003
9a25fd1e
RM
8004 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8005 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8007 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8008
4004f7e4
RM
8009 * nptl/sysdeps/s390/Makefile: Moved ...
8010 * sysdeps/s390/nptl/Makefile: ... here.
8011 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8012 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8013 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8014 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8015 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8016 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8017 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8018 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8019 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8020 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8021 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8022 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8023 * nptl/sysdeps/s390/tls.h: Moved ...
8024 * sysdeps/s390/nptl/tls.h: ... here.
8025
45193bb8
RM
8026 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8027 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8028
f6fdf533
DM
80292014-06-13 David S. Miller <davem@davemloft.net>
8030
8031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8034 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8039 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8040 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8041 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8042 Remove RESET_PID cpp guards.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8044 Remove RESET_PID cpp guards.
8045 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8046
f5d71e14
AS
80472014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8050 __sp to uintptr_t.
8051
b7aa8caa
AK
80522014-06-13 Andi Kleen <ak@linux.intel.com>
8053
4b266200
AZ
8054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8055 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8059 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8062 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8065 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8066 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8067 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8069 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8071 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8072 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
8074
8075 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
8076 (pthread_rwlock_rdlock): Add elision.
8077 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8078 (pthread_rwlock_wrlock): Add elision.
8079 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8080 (pthread_rwlock_trywrlock): Add elision.
8081 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8082 (pthread_rwlock_tryrdlock): Add elision.
8083 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8084 (pthread_rwlock_tryrdlock): Add elision unlock.
8085 * nptl/sysdeps/pthread/pthread.h:
8086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8087 (PTHREAD_RWLOCK_INITIALIZER,
8088 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8089 Handle new elision field.
8090 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8091 * sysdeps/arm/nptl/bits/pthreadtypes.h
8092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8093 * sysdeps/sh/nptl/bits/pthreadtypes.h
8094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8095 * sysdeps/tile/nptl/bits/pthreadtypes.h
8096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8097 * sysdeps/a/nptl/bits/pthreadtypes.h
8098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8099 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8101 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8103 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8105 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8107 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8109 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8111 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8113 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8115 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8116 (elision_init): Set try_xbegin to zero when no RTM.
8117 * sysdeps/x86/nptl/bits/pthreadtypes.h
8118 (pthread_rwlock_t): Change __pad1 to __rwelision.
8119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 8120
a832bdd3
AK
81212014-06-13 Andi Kleen <ak@linux.intel.com>
8122
8123 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8124 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8125 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8126 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8127
995a46bb
MI
81282014-06-13 Meador Inge <meadori@codesourcery.com>
8129
8130 [BZ #16996]
03ed7738 8131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
8132 that the cached result has been set before returning it.
8133
45262aee
RM
81342014-06-12 Roland McGrath <roland@hack.frob.com>
8135
febf6cc5
RM
8136 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8137 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8138 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8139 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8141 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8142
e2682246
RM
8143 * nptl/sysdeps/sparc/Makefile: Moved ...
8144 * sysdeps/sparc/nptl/Makefile: ... here.
8145 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8146 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8147 * nptl/sysdeps/sparc/tls.h: Moved ...
8148 * sysdeps/sparc/nptl/tls.h: ... here.
8149 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8150 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8151 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8152 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8153 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8154 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8155 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8156 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8157 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8158 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8159 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8160 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8161 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8162 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8163 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8164 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8165 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8167 Update #include.
8168 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8170 Update #include.
8171 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8172 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8173 Update #include.
8174 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8175 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8176 Update #include.
8177
b0725f43
RM
8178 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8179
b14368b8
RM
8180 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8181 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8182
c5620eb3
RM
8183 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8184 (struct list_links): Type removed.
8185 (struct thread_node, struct timer_node): Replace struct list_links
8186 with struct list_head.
8187 (list_unlink_ip): Likewise.
8188 * sysdeps/pthread/timer_routines.c
8189 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8190 (list_append, list_insbefore): Likewise.
8191 (list_init): Function removed.
8192 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
8193 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8194 * sysdeps/pthread/Makefile: ... here, new file.
8195
8196 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8197 * sysdeps/nptl/Implies: ... here.
8198 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8199 * nptl/sysdeps/pthread/list.h: Moved ...
8200 * include/list.h: ... here.
8201 * nptl/sysdeps/pthread/createthread.c: Moved ...
8202 * nptl/createthread.c: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8204 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8205 * nptl/pt-longjmp.c: ... here.
8206 * nptl/sysdeps/pthread/Makefile: Moved ...
8207 * sysdeps/nptl/Makefile: ... here.
8208 * nptl/sysdeps/pthread/Subdirs: Moved ...
8209 * sysdeps/nptl/Subdirs: ... here.
8210 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8211 * sysdeps/nptl/aio_misc.h: ... here.
8212 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8213 * sysdeps/nptl/bits/libc-lock.h: ... here.
8214 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8215 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8216 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8217 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8218 * nptl/sysdeps/pthread/configure: Moved ...
8219 * sysdeps/nptl/configure: ... here.
8220 * nptl/sysdeps/pthread/configure.ac: Moved ...
8221 * sysdeps/nptl/configure.ac: ... here.
8222 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8223 * sysdeps/nptl/gai_misc.h: ... here.
8224 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8225 * sysdeps/nptl/librt-cancellation.c: ... here.
8226 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8227 * sysdeps/nptl/malloc-machine.h: ... here.
8228 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8229 * sysdeps/nptl/pthread-functions.h: ... here.
8230 * nptl/sysdeps/pthread/pthread.h: Moved ...
8231 * sysdeps/nptl/pthread.h: ... here.
8232 * nptl/sysdeps/pthread/setxid.h: Moved ...
8233 * sysdeps/nptl/setxid.h: ... here.
8234 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8235 * sysdeps/nptl/sigfillset.c: ... here.
8236 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8237 * sysdeps/nptl/tcb-offsets.h: ... here.
8238 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8239 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8240 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8241 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8242 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8243 * sysdeps/pthread/allocalim.h: ... here.
8244 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8245 * sysdeps/pthread/bits/sigthread.h: ... here.
8246 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8247 * sysdeps/pthread/flockfile.c: ... here.
8248 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8249 * sysdeps/pthread/ftrylockfile.c: ... here.
8250 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8251 * sysdeps/pthread/funlockfile.c: ... here.
8252 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8253 * sysdeps/pthread/posix-timer.h: ... here.
8254 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8255 * sysdeps/pthread/timer_create.c: ... here.
8256 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8257 * sysdeps/pthread/timer_delete.c: ... here.
8258 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8259 * sysdeps/pthread/timer_getoverr.c: ... here.
8260 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8261 * sysdeps/pthread/timer_gettime.c: ... here.
8262 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8263 * sysdeps/pthread/timer_routines.c: ... here.
8264 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8265 * sysdeps/pthread/timer_settime.c: ... here.
8266 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8267 * sysdeps/pthread/tst-timer.c: ... here.
8268 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8269 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8270
e876b090
RM
8271 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8272 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8273
f6b07b3d
RM
8274 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8275 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8276 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8277 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8278 Update #include target.
8279 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8280 * sysdeps/i386/i686/nptl/Makefile: ... here.
8281 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8282 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8283 Update #include target.
8284 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8285 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8286 * nptl/sysdeps/i386/Makefile: Moved ...
8287 * sysdeps/i386/nptl/Makefile: ... here.
8288 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8289 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8290 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8291 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8292 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8293 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8294 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8295 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8296 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8297 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8298 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8299 * nptl/sysdeps/i386/tls.h: Moved ...
8300 * sysdeps/i386/nptl/tls.h: ... here.
8301
45262aee
RM
8302 * sysdeps/sh/Makefile [$(subdir) = csu]
8303 (gen-as-const-headers): Add tcb-offsets.sym.
8304 * nptl/sysdeps/sh/Makefile: File removed.
8305 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8306 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8307 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8308 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8309 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8310 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8311 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8312 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8313 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8314 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8315 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8316 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8317 * nptl/sysdeps/sh/tls.h: Moved ...
8318 * sysdeps/sh/nptl/tls.h: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8320 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8322 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8324 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8326 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8328 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8329 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8330 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8332 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8334 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8336 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8338 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8340 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8344 Moved ...
8345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8347 Moved ...
8348 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8349 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8350 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8354 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8355 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8356 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8357 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8358 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8360 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8362 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8364 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8366 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8367
35a5e3e3
SL
83682014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8369
8370 * posix/spawn_faction_addopen.c: Include string.h.
8371
14642b85
RM
83722014-06-11 Roland McGrath <roland@hack.frob.com>
8373
8374 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8375 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8376 * nptl/sysdeps/x86_64/Makefile: Moved ...
8377 * sysdeps/x86_64/nptl/Makefile: ... here.
8378 * nptl/sysdeps/x86_64/configure: Moved ...
8379 * sysdeps/x86_64/nptl/configure: ... here.
8380 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8381 * sysdeps/x86_64/nptl/configure.ac: ... here.
8382 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8383 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8384 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8385 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8386 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8387 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8388 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8389 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8390 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8391 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8392 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8393 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8394 * nptl/sysdeps/x86_64/tls.h: Moved ...
8395 * sysdeps/x86_64/nptl/tls.h: ... here.
8396 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8397 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8398 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8399 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8400
8401 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8402
31c44fea
AZ
84032014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8404
8405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8406
e81a4f9a
JM
84072014-06-11 Joseph Myers <joseph@codesourcery.com>
8408
8409 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8410 type.
8411 [POSIX] (off_t): Likewise.
8412 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8413 [POSIX] (S_ISBLK): Require macro.
8414 [POSIX] (S_ISCHR): Likewise.
8415 [POSIX] (S_ISDIR): Likewise.
8416 [POSIX] (S_ISFIFO): Likewise.
8417 [POSIX] (S_ISREG): Likewise.
8418 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8419 optional-macro.
8420 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8421 type.
8422 [POSIX] (time_t): Likewise.
8423 [POSIX] (timer_t): Likewise.
8424
89e435f3
FW
84252014-06-11 Florian Weimer <fweimer@redhat.com>
8426
8427 [BZ #17048]
8428 * posix/spawn_int.h (struct __spawn_action): Make the path string
8429 non-const to support deallocation.
8430 * posix/spawn_faction_addopen.c
8431 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8432 * posix/spawn_faction_destroy.c
8433 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8434 path in all spawn_do_open actions.
8435 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8436 posix_spawn_file_actions_addopen.
8437
c3a2ebe1
CM
84382014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8439
8440 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8441 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8442 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8443 conditional code always true.
8444 (__libc_vfork): New alias.
8445
9503784a
RM
84462014-06-11 Roland McGrath <roland@hack.frob.com>
8447
c9cab3d2
RM
8448 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8449 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8450
d3996c79
RM
8451 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8452
ba5ec611
RM
8453 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8454 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8455
f12b4814
RM
8456 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8457 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8458
9503784a
RM
8459 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8460 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8461
e23d3d26
VR
84622014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8463
8464 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8465 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8466 multiarch strcmp for PPC64.
8467 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8468 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8470 multiarch optimizations.
8471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8472 (__libc_ifunc_impl_list): Likewise.
8473
42b1161e
SP
84742014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8475
8476 * benchtests/scripts/validate_benchout.py: New script.
8477 * benchtests/Makefile (bench-func): Call it.
8478 * benchtests/scripts/benchout.schema.json: New file.
8479
2d0fc4dc
CM
84802014-06-10 Chris Metcalf <cmetcalf@tilera.com>
8481
4a594c34
AZ
8482 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8483 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8484 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8485 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8486 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8487 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8488 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8489 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8490 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8491 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8492 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8493 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8494 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8495 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8496 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8497 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 8499 Moved ...
4a594c34 8500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 8501 ... here.
4a594c34 8502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 8503 Moved ...
4a594c34
AZ
8504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 8506 Moved ...
4a594c34 8507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 8508 ... here.
4a594c34 8509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 8510 Moved ...
4a594c34 8511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 8512 ... here.
4a594c34 8513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 8514 Moved ...
4a594c34
AZ
8515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 8517 Moved ...
4a594c34 8518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 8519 ... here.
4a594c34 8520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 8521 Moved ...
4a594c34 8522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 8523 ... here.
4a594c34 8524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 8525 Moved ...
4a594c34
AZ
8526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 8528 Moved ...
4a594c34 8529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 8530 ... here.
4a594c34 8531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 8532 Moved ...
4a594c34 8533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 8534 ... here.
4a594c34 8535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 8536 Moved ...
4a594c34 8537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 8538 ... here.
4a594c34 8539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 8540 Moved ...
4a594c34
AZ
8541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 8543 Moved ...
4a594c34 8544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 8545 ... here.
4a594c34 8546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 8547 Moved ...
4a594c34 8548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 8549 ... here.
4a594c34 8550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 8551 Moved ...
4a594c34 8552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 8553 ... here.
4a594c34 8554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 8555 Moved ...
4a594c34
AZ
8556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 8558 Moved ...
4a594c34 8559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 8560 ... here.
4a594c34 8561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 8562 Moved ...
4a594c34 8563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 8564 ... here.
4a594c34 8565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 8566 Moved ...
4a594c34
AZ
8567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 8569 Moved ...
4a594c34 8570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 8571 ... here.
4a594c34 8572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 8573 Moved ...
4a594c34
AZ
8574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 8576 Moved ...
4a594c34
AZ
8577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 8579 Moved ...
4a594c34 8580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 8581 ... here.
4a594c34 8582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 8583 Moved ...
4a594c34 8584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 8585 ... here.
4a594c34 8586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 8587 Moved ...
4a594c34 8588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 8589 ... here.
4a594c34 8590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 8591 Moved ...
4a594c34
AZ
8592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 8594 Moved ...
4a594c34 8595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 8596 ... here.
4a594c34 8597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 8598 Moved ...
4a594c34 8599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 8600 ... here.
4a594c34
AZ
8601 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8602 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 8606 Moved ...
4a594c34 8607 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 8608 ... here.
4a594c34
AZ
8609 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8612 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 8622 Moved ...
4a594c34
AZ
8623 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 8625 Moved ...
4a594c34
AZ
8626 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 8630 Moved ...
4a594c34
AZ
8631 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8633 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8634 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8635 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8636 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8637 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 8638
0570cfed
W
86392014-06-10 Wilco <wdijkstr@arm.com>
8640
8641 * math/test-fenv-return.c: New file.
8642 * math/Makefile: Add new test test-fenv-return.
8643
f8ba1b56
JM
86442014-06-10 Joseph Myers <joseph@codesourcery.com>
8645
8646 [BZ #17042]
8647 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8648 when x - 1 is zero.
8649 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8650 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8651 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8652 0.0L for an argument of 1.0L.
8653 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8654 Likewise.
8655 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8656 value when x - 1 is zero.
8657 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8658 * sysdeps/i386/fpu/libm-test-ulps: Update.
8659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8660
2c3520d9
BO
86612014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
8662
8663 [BZ #15119]
8664 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8665
acaa4d24
RM
86662014-06-09 Roland McGrath <roland@hack.frob.com>
8667
8668 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8669 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8670
962b744d
RM
86712014-06-09 Roland McGrath <roland@hack.frob.com>
8672
d752f0cc
RM
8673 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8674 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8675
34eda6d1
RM
8676 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8677 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8678
50f0a637
RM
8679 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8680 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8681
08f41f04
RM
8682 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8683 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8684
962b744d
RM
8685 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8686 if not already defined.
8687 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8688 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8689 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8690 (TLS_INIT_TP): Use it.
8691 (TLS_DEFINE_INIT_TP): New macro.
8692 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8693
09f19b05
JM
86942014-06-09 Joseph Myers <joseph@codesourcery.com>
8695
8696 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8697 constant.
8698 [POSIX] (IXANY): Likewise.
8699 [POSIX] (OLCUC): Likewise.
8700 [POSIX || POSIX2008] (CBAUD): Do not allow.
8701 [POSIX || POSIX2008] (DEFECHO): Likewise.
8702 [POSIX || POSIX2008] (ECHOCTL): Likewise.
8703 [POSIX || POSIX2008] (ECHOKE): Likewise.
8704 [POSIX || POSIX2008] (ECHOPRT): Likewise.
8705 [POSIX || POSIX2008] (EXTA): Likewise.
8706 [POSIX || POSIX2008] (EXTB): Likewise.
8707 [POSIX || POSIX2008] (FLUSHO): Likewise.
8708 [POSIX || POSIX2008] (LOBLK): Likewise.
8709 [POSIX || POSIX2008] (PENDIN): Likewise.
8710 [POSIX || POSIX2008] (SWTCH): Likewise.
8711 [POSIX || POSIX2008] (VDISCARD): Likewise.
8712 [POSIX || POSIX2008] (VDSUSP): Likewise.
8713 [POSIX || POSIX2008] (VLNEXT): Likewise.
8714 [POSIX || POSIX2008] (VREPRINT): Likewise.
8715 [POSIX || POSIX2008] (VSTATUS): Likewise.
8716 [POSIX || POSIX2008] (VWERASE): Likewise.
8717 (B*): Change to B[0123456789]*.
8718 * conform/data/time.h-data [POSIX || UNIX98]
8719 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8720 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8721 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8722 [POSIX] (tm_*): Do not allow.
8723
686554bf
JM
87242014-06-07 Joseph Myers <joseph@codesourcery.com>
8725
8726 * Makefile (install): Don't set LANGUAGE.
8727 * Makefile.in (install): Likewise.
8728 * assert/Makefile (test-assert-ENV): Remove variable.
8729 (test-assert-perr-ENV): Likewise.
8730 * elf/Makefile (neededtest4-ENV): Likewise.
8731 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8732 [$(cross-compiling) = no]: Don't set LANGUAGE.
8733 * io/ftwtest-sh (LANG): Remove variable.
8734 * libio/Makefile (tst-widetext-ENV): Likewise.
8735 * manual/install.texi (Running make install): Don't refer to
8736 environment settings for make install.
8737 * INSTALL: Regenerated.
8738 * nptl/tst-tls6.sh: Don't set LANG.
8739 * posix/globtest.sh (LANG): Remove variable.
8740 * string/Makefile (tester-ENV): Likewise.
8741 (inl-tester-ENV): Likewise.
8742 (noinl-tester-ENV): Likewise.
8743 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8744 [$(cross-compiling) = no]: Don't set LANGUAGE.
8745 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8746 without explicit environment settings.
8747
68e6b6b1
RM
87482014-06-06 Roland McGrath <roland@hack.frob.com>
8749
8750 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8751 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8752 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8753 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8754
4d3ae034
CM
87552014-06-06 Chris Metcalf <cmetcalf@tilera.com>
8756
8757 * crypt/crypt-private.h [DOS]: Add some includes taken from the
8758 other files in the crypt directory.
8759 * crypt/crypt.c: Remove duplicate includes.
8760 * crypt/crypt-entry.c: Likewise.
8761 * crypt/crypt_util.c: Likewise.
8762
8540f6d2
JM
87632014-06-06 Joseph Myers <joseph@codesourcery.com>
8764
8765 * Makeconfig (run-program-env): New variable.
8766 (run-program-prefix-before-env): Likewise.
8767 (run-program-prefix-after-env): Likewise.
8768 (run-program-prefix): Define in terms of new variables.
8769 (built-program-cmd-before-env): New variable.
8770 (built-program-cmd-after-env): Likewise.
8771 (built-program-cmd): Define in terms of new variables.
8772 (test-program-prefix-before-env): New variable.
8773 (test-program-prefix-after-env): Likewise.
8774 (test-program-prefix): Define in terms of new variables.
8775 (test-program-cmd-before-env): New variable.
8776 (test-program-cmd-after-env): Likewise.
8777 (test-program-cmd): Define in terms of new variables.
8778 * Rules (make-test-out): Use $(run-program-env).
8779 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8780 (help): Do not mention environment variables. Mention
8781 --timeoutfactor option.
8782 (timeoutfactor): New variable.
8783 (blacklist_exports): Remove function.
8784 (exports): Remove variable.
8785 (command): Do not include ${exports}.
8786 * manual/install.texi (Configuring and compiling): Do not mention
8787 test wrappers preserving environment variables. Mention that last
8788 assignment to a variable must take precedence.
8789 * INSTALL: Regenerated.
8790 * benchtests/Makefile (run-bench): Use $(run-program-env).
8791 * catgets/Makefile ($(objpfx)test1.cat): Use
8792 $(built-program-cmd-before-env), $(run-program-env) and
8793 $(built-program-cmd-after-env).
8794 ($(objpfx)test2.cat): Do not specify environment variables
8795 explicitly.
8796 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8797 $(run-program-env) and $(built-program-cmd-after-env).
8798 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8799 $(run-program-env) and $(test-program-cmd-after-env).
8800 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8801 explicitly.
8802 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8803 run_program_env and test_program_cmd_after_env arguments.
8804 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8805 * elf/tst-pathopt.sh: Use run_program_env argument.
8806 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8807 $(test-wrapper-env) and $(run-program-env).
8808 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8809 run_program_env arguments.
8810 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8811 * intl/Makefile ($(objpfx)tst-gettext.out): Use
8812 $(test-program-prefix-before-env), $(run-program-env) and
8813 $(test-program-prefix-after-env).
8814 ($(objpfx)tst-gettext2.out): Likewise.
8815 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8816 run_program_env and test_program_prefix_after_env arguments.
8817 * intl/tst-gettext2.sh: Likewise.
8818 * intl/tst-gettext4.sh: Do not set environment variables
8819 explicitly.
8820 * intl/tst-gettext6.sh: Likewise.
8821 * intl/tst-translit.sh: Likewise.
8822 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8823 $(test-program-prefix-before-env), $(run-program-env) and
8824 $(test-program-prefix-after-env).
8825 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8826 run_program_env and test_program_prefix_after_env arguments.
8827 * math/Makefile (run-regen-ulps): Use $(run-program-env).
8828 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8829 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
8830 explicitly with each use of ${test_wrapper_env}.
8831 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8832 $(test-program-prefix-before-env), $(run-program-env) and
8833 $(test-program-prefix-after-env).
8834 * posix/tst-getconf.sh: Do not set environment variables
8835 explicitly.
8836 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8837 run_program_env and test_program_prefix_after_env arguments.
8838 * stdio-common/tst-printf.sh: Do not set environment variables
8839 explicitly.
8840 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8841 $(test-program-prefix-before-env), $(run-program-env) and
8842 $(test-program-prefix-after-env).
8843 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8844 run_program_env and test_program_prefix_after_env arguments.
8845 Split $test calls into $test_pre and $test.
8846 * timezone/Makefile (build-testdata): Use
8847 $(built-program-cmd-before-env), $(run-program-env) and
8848 $(built-program-cmd-after-env).
8849
ed36bfa1
AZ
88502014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8851
8852 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8853 strlen for non SHARED builds.
8854
fc75bf46
SP
88552014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8856
8857 * nptl/allocatestack.c (check_list): Inlined function...
8858 (__reclaim_stacks): ... here.
8859
d89b3d80
OB
88602014-06-05 Ondřej Bílka <neleai@seznam.cz>
8861
8862 [BZ #15698]
8863 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8864 memory overrun.
8865
2bf18041
JM
88662014-06-05 Joseph Myers <joseph@codesourcery.com>
8867
8868 * Rules (make-test-out): Include
8869 LOCPATH=$(common-objpfx)localedata in default environment.
8870 * debug/Makefile (tst-chk1-ENV): Remove variable.
8871 (tst-chk2-ENV): Likewise.
8872 (tst-chk3-ENV): Likewise.
8873 (tst-chk4-ENV): Likewise.
8874 (tst-chk5-ENV): Likewise.
8875 (tst-chk6-ENV): Likewise.
8876 (tst-lfschk1-ENV): Likewise.
8877 (tst-lfschk2-ENV): Likewise.
8878 (tst-lfschk3-ENV): Likewise.
8879 (tst-lfschk4-ENV): Likewise.
8880 (tst-lfschk5-ENV): Likewise.
8881 (tst-lfschk6-ENV): Likewise.
8882 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8883 (tst-iconv7-ENV): Likewise.
8884 * intl/Makefile (LOCPATH-ENV): Likewise.
8885 (tst-codeset-ENV): Likewise.
8886 (tst-gettext3-ENV): Likewise.
8887 (tst-gettext5-ENV): Likewise.
8888 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8889 (tst-fopenloc-ENV): Likewise.
8890 (tst-fgetws-ENV): Remove variable.
8891 (tst-ungetwc1-ENV): Likewise.
8892 (tst-ungetwc2-ENV): Likewise.
8893 (bug-ungetwc2-ENV): Likewise.
8894 (tst-swscanf-ENV): Likewise.
8895 (bug-ftell-ENV): Likewise.
8896 (tst-fgetwc-ENV): Likewise.
8897 (tst-fseek-ENV): Likewise.
8898 (tst-ftell-partial-wide-ENV): Likewise.
8899 (tst-ftell-active-handler-ENV): Likewise.
8900 (tst-ftell-append-ENV): Likewise.
8901 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8902 (tst-regexloc-ENV): Likewise.
8903 (bug-regex1-ENV): Likewise.
8904 (tst-regex-ENV): Likewise.
8905 (tst-regex2-ENV): Likewise.
8906 (bug-regex5-ENV): Likewise.
8907 (bug-regex6-ENV): Likewise.
8908 (bug-regex17-ENV): Likewise.
8909 (bug-regex18-ENV): Likewise.
8910 (bug-regex19-ENV): Likewise.
8911 (bug-regex20-ENV): Likewise.
8912 (bug-regex22-ENV): Likewise.
8913 (bug-regex23-ENV): Likewise.
8914 (bug-regex25-ENV): Likewise.
8915 (bug-regex26-ENV): Likewise.
8916 (bug-regex30-ENV): Likewise.
8917 (bug-regex32-ENV): Likewise.
8918 (bug-regex33-ENV): Likewise.
8919 (bug-regex34-ENV): Likewise.
8920 (bug-regex35-ENV): Likewise.
8921 (tst-rxspencer-ENV): Likewise.
8922 (tst-rxspencer-no-utf8-ENV): Likewise.
8923 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8924 (tst-sscanf-ENV): Likewise.
8925 (tst-swprintf-ENV): Likewise.
8926 (tst-swscanf-ENV): Likewise.
8927 (test-vfprintf-ENV): Likewise.
8928 (scanf13-ENV): Likewise.
8929 (bug14-ENV): Likewise.
8930 (tst-grouping-ENV): Likewise.
8931 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8932 (tst-strtod3-ENV): Likewise.
8933 (tst-strtod4-ENV): Likewise.
8934 (tst-strtod5-ENV): Likewise.
8935 (testmb2-ENV): Likewise./
8936 * string/Makefile (tst-strxfrm-ENV): Likewise.
8937 (tst-strxfrm2-ENV): Likewise.
8938 (bug-strcoll1-ENV): Likewise.
8939 (test-strcasecmp-ENV): Likewise.
8940 (test-strncasecmp-ENV): Likewise.
8941 * time/Makefile (tst-strptime-ENV): Likewise.
8942 (tst-ftime_l-ENV): Likewise.
8943 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8944 (tst-mbrtowc-ENV): Likewise.
8945 (tst-wcrtomb-ENV): Likewise.
8946 (tst-mbrtowc2-ENV): Likewise.
8947 (tst-c16c32-1-ENV): Likewise.
8948 (tst-mbsnrtowcs-ENV): Likewise.
8949
cd1fb604
OB
89502014-06-05 Ondřej Bílka <neleai@seznam.cz>
8951
8952 * manual/resource.texi (How to get information about the memory
8953 subsystem?): Fix typo.
8954 Reported by Peon de la Parra Ivan <peon@keba.com>
8955
b42eca7d
GY
89562014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8957
8958 [BZ #16882]
8959 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8960 (pthread_spin_lock): Branch out of spin loop to proper location.
8961 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8962 (pthread_spin_lock): Likewise.
8963
902b71f9
DM
8964 * nptl/tst-spin4.c: New test.
8965 * nptl/Makefile (tests): Add tst-spin4.
8966
f9d2d032
AS
89672014-06-03 Andreas Schwab <schwab@suse.de>
8968
8969 [BZ #15946]
8970 * resolv/res_send.c (send_dg): Reload file descriptor after
8971 calling reopen.
8972
cf7bfd28
SL
89732014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8974
8975 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8976
111cc714
RH
89772014-06-03 Richard Henderson <rth@redhat.com>
8978
89b4bd6b
RH
8979 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8980 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8981 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8982 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8983 in the SAVE_PID block.
8984 (__libc_vfork): New alias.
71840409 8985 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8986
111cc714
RH
8987 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8988 child in registers, not on the stack. Remove RESET_PID conditionals.
8989 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8990
ccc39911
MS
89912014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8992
8993 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8994
693096cc
W
89952014-06-03 Wilco <wdijkstr@arm.com>
8996
8997 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8998 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8999 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9000 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9001 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9002 Likewise.
9003
0b4366bc
W
90042014-06-03 Wilco <wdijkstr@arm.com>
9005
9006 * sysdeps/aarch64/fpu/math_private.h
9007 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9008 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9009 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9010 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9011 Fix declarations.
9012
8747cd03
KS
90132014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9014
9015 * crypt/crypt-private.h: Include ufc-crypt.h.
9016 (__b64_from_24bit): Declare extern.
9017 * crypt/crypt_util.c(__b64_from_24bit): New function.
9018 (b64t): New static const variable.
9019 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9020 (b64t): Remove variable.
9021 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9022 * crypt/sha256-crypt.c: Include crypt-private.h.
9023 (b64t): Remove variable.
9024 (__sha256_crypt_r): Remove b64_from_24bit and replace
9025 with __b64_from_24bit.
9026 * crypt/sha512-crypt.c: Likewise.
9027
d936d379
RM
90282014-06-02 Roland McGrath <roland@hack.frob.com>
9029
9030 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9031 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9032 Label the code __libc_vfork rather than __vfork.
9033 [!NOT_IN_libc] (vfork): Define as weak alias.
9034 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9035 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9036 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9037
9fa76613
SP
90382014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9039
9040 * malloc/malloc.c (malloc_info): Fix format specifier for
9041 n_mmaps.
9042
a88dadbe
W
90432014-06-02 Wilco <wdijkstr@arm.com>
9044
9045 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9046 FPCR write.
9047
c95b3011
W
90482014-06-02 Wilco <wdijkstr@arm.com>
9049
9050 [BZ #17009]
9051 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9052 Rewrite to reduce FPCR/FPSR accesses.
9053
6b4d7a90
DM
90542014-06-01 David S. Miller <davem@davemloft.net>
9055
9056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9057
30f3d07c
DM
90582014-05-31 David S. Miller <davem@davemloft.net>
9059
9060 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9061 to occur in round to nearest mode when |x| >= 2.0
9062
74f31c18
RH
90632014-05-30 Richard Henderson <rth@twiddle.net>
9064
f0712b54
RH
9065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9066 (PSEUDO_RET_NOERRNO): Remove.
9067 (ret): Don't redefine.
9068 (ret_NOERRNO): Define in terms of ret.
9069 (ret_ERRVAL): Likewise.
9070
74f31c18
RH
9071 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9072 use of PSEUDO_RET; perform the error check directly.
9073
30477995
MM
90742014-05-30 Marko Myllynen <myllynen@redhat.com>
9075
9076 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9077 with __int128_t.
9078
62a58816
SP
90792014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9080
9081 * malloc/malloc (malloc_info): Fix formatting.
9082
4d653a59
SP
90832014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9084 Roland McGrath <roland@hack.frob.com>
9085
9086 * malloc/malloc (malloc_info): Also print mmapped statistics.
9087
5190c17f
RM
90882014-05-30 Roland McGrath <roland@hack.frob.com>
9089
9090 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9091 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9092
987c0269
OB
90932014-05-30 Ondřej Bílka <neleai@seznam.cz>
9094
9095 * malloc/malloc.c (malloc_info): Inline mi_arena.
9096
af4e8ef9
RH
90972014-05-29 Richard Henderson <rth@twiddle.net>
9098
1670e207
RH
9099 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9100 Remove comma before expanding ASM_ARGS_##nr.
9101 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9102 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9103 of ASM_ARGS_##nr.
9104 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9105 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9106 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9107 (ASM_ARGS_1): Add leading comma.
9108
11a28aee
RH
9109 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9110 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9111 to __errno_location.
9112 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9113 Remove the expected plt for __errno_location.
9114
a17e5ffb 9115 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 9116 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
9117 call to __read_tp.
9118
b5be4597
RH
9119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9120 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9121 it and break it down.
9122 (DOCARGS_0, DOCARGS_1): Do nothing.
9123 (DOCARGS_2): Update to store into the new stack frame.
9124 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9125 (UNDOCARGS_1): Update to restore from the new stack frame.
9126 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9127 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9128
645d44ab
RH
9129 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9130 (SINGLE_THREAD_P): New parameter for result regno.
9131 (PSEUDO): Update to match; use cbz instead of beq.
9132
a8b4f04a
RH
9133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9134 Use ENTRY to define the _nocancel entry point. Share the syscall
9135 and syscall error check paths with the cancel path.
9136 (PSEUDO_END): New.
9137
af4e8ef9
RH
9138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9139 whitespace; tabs before and after asm mnemonics.
9140
26b0d2e1
EW
91412014-05-29 Eric Wong <normalperson@yhbt.net>
9142
9143 [BZ #15132]
9144 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9145 Call fstat64 or stat64 internally, depending on arguments passed.
9146 Replace stat buffer argument with file descriptor argument.
9147 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9148 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9149 Pass fd to __internal_statvfs instead of calling fstat64.
9150 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9151 Pass fd to __internal_statvfs64 instead of calling fstat64.
9152 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9153 Pass -1 to __internal_statvfs instead of calling stat64.
9154 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9155 Pass -1 to __internal_statvfs64 instead of calling stat64.
9156
1efe2bd9
RM
91572014-05-28 Roland McGrath <roland@hack.frob.com>
9158
0d3b7a19
RM
9159 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9160 that was previously under [RESET_PID].
9161 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9162
1efe2bd9
RM
9163 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9164 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9165
a6bea3ca
RM
91662014-05-27 Roland McGrath <roland@hack.frob.com>
9167
30b6629e
RM
9168 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9169
a6bea3ca
RM
9170 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9171 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9172
3dfb9a5c
OB
91732014-05-27 Ondřej Bílka <neleai@seznam.cz>
9174
9175 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9176
774f9285
AS
91772014-05-27 Andreas Schwab <schwab@suse.de>
9178
9179 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9180 TLS_INIT_TP macro.
9181 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9182 * elf/rtld.c (init_tls, dl_main): Likewise.
9183 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9184 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9185 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9186 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9187 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9188 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9189 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9190 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9191 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9192 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9193 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9194 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9195 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9196 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9197 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9198 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9199 * sysdeps/generic/tls.h: Update description.
9200
36ffe739
WN
92012014-05-27 Will Newton <will.newton@linaro.org>
9202
9203 [BZ #16990]
9204 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9205 and restore r2 rather than just restoring.
9206
2482ae43
SP
92072014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9208
9209 [BZ #16724]
9210 * libio/tst-ftell-append.c: New test case.
9211 * libio/Makefile (tests): Add test case.
9212 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9213 append mode.
9214 * libio/wfileops.c (do_ftell_wide): Likewise.
9215
3d1024e8
AZ
92162014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9217
bab90016
AZ
9218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9219
c7a8d667
AZ
9220 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9221 ...
9222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9224 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9225 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9226 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9227 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9228 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9229 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9231 Moved ...
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9234 Moved ...
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9236 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9237 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9238 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9239 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9240 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9241 ...
9242 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9243 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9244 Moved ...
9245 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9246 here.
9247 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9248 ...
9249 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9250 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9251 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9252
daee7851
AZ
9253 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9254 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9255 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9256 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9257
50a40819
AZ
9258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9259 merge into ...
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9262 ...
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9265 ...
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9268 Moved ...
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9270 here.
9271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9272 Moved ...
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9275 Moved ...
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9277
8464c2a1
AZ
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9279 conditional [RESET_PID].
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9282 removed.
9283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9284 removed.
9285
3d1024e8
AZ
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9287 <tcb-offsets.h>.
9288 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9289 (__libc_vfork): New strong alias.
9290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9291 removed.
9292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9293 Removed.
9294
9295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9296 <tcb-offsets.h>.
9297 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9298 (__libc_vfork): New strong alias.
9299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9300 removed.
9301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9302 removed.
9303
fdfd175d
CD
93042014-05-26 Carlos O'Donell <carlos@redhat.com>
9305
9306 * malloc/malloc.c (mi_arena): New function.
9307 (malloc_info): Remove nested function mi_arena. Call non-nosted
9308 function mi_arena.
9309
d298c416
AZ
93102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9311
9312 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9313 by insrwi.
9314 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9315 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9316 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9317 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9318 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9319 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9320 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9321
b60ea6ff
AS
93222014-05-26 Andreas Schwab <schwab@suse.de>
9323
9324 [BZ #16984]
9325 * locale/programs/repertoire.c (repertoire_read): Add slash
9326 between I18NPATH element and file name.
9327 * locale/programs/locfile.c (locfile_read): Likewise.
9328
67365926
SL
93292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9330
9331 * nptl/pthread_mutexattr_settype.c
9332 (__pthread_mutexattr_settype):
9333 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9334
f8bdf1f0
SL
93352014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9336
9337 * nptl/tst-mutex5 (do_test):
9338 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9339
15eaf6ff
SP
93402014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9341
9342 * benchtests/README: Document 'init' directive.
9343 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9344 BENCH_INIT.
9345 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9346 (parse_file): Recognize 'init' directive.
9347
75f11331
KM
93482014-05-26 Kyle McMartin <kyle@redhat.com>
9349
9350 [BZ #16796]
9351 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9352 alignment of struct pthread.
9353
c3ec475c
SP
93542014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9355
9356 [BZ #16878]
9357 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9358 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9359 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9360 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9361
82aab97c
RH
93622014-05-25 Richard Henderson <rth@twiddle.net>
9363
aa2f176d
RH
9364 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9365 (SINGLE_THREAD_P_PIC): Remove.
9366 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9367 (SINGLE_THREAD_P_PIC): Remove.
9368
ca3cfa40
RH
9369 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9370 branch to syscall error ...
9371 (PSEUDO): ... here.
9372 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9373 from __local_syscall_error to .Lsyscall_error.
9374 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9375 (SYSCALL_ERROR): Update label name.
9376
6e6c2d01
RH
9377 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9378 Do not use DOARGS/UNDOARGS.
9379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9380 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9381 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9382 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9383 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9384
c69abcee
RH
9385 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9386 block comment.
9387
82aab97c
RH
9388 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9389 define if !NOT_IN_libc.
9390 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9391 define with non-default symbol versions.
9392
8820e3ac
RH
93932014-05-23 Richard Henderson <rth@twiddle.net>
9394
900e445f
RH
9395 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9396 (vfork, __vfork): Define via compat_symbol.
9397
8820e3ac
RH
9398 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9399 [!HAVE_IFUNC] (vfork_compat): Remove.
9400 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9401
e59252a5
JM
94022014-05-23 Joseph Myers <joseph@codesourcery.com>
9403
9404 [BZ #16978]
9405 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9406 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9407 variable.
9408
132c7f5f
RH
94092014-05-23 Richard Henderson <rth@twiddle.net>
9410
bc89e962
RH
9411 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9412 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9413 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9414 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9415
9416 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9417 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9418 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9419 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9420 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9421 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9422 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9423 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9424 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9425 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9426 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9427 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9428 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9429 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9431 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9433 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9434 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9435 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9439 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9447 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9448 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9449 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9450 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9451 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9452 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9453 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9454 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9455 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9456 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9457 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9458 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9459 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9460 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9461 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9462 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9463 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9464 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9465 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9466 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9467 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9469 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9471 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9472
e2fa4bc2
RH
9473 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9474 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9475 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
9476 before exiting on error.
9477 (__libc_vfork): New strong alias.
9478 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9479 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9480
279b24e2
RH
9481 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9482 that was previously under [RESET_PID].
9483 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9484
132c7f5f
RH
9485 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9486
b72592e7
JM
94872014-05-23 Joseph Myers <joseph@codesourcery.com>
9488
9489 [BZ #16977]
9490 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9491 value when x - 1 is zero.
9492 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9493 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9494 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9495 0.0L for an argument of 1.0L.
9496 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9497 Likewise.
9498 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9499 value when x - 1 is zero.
9500 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9501 * sysdeps/i386/fpu/libm-test-ulps: Update.
9502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503
2302d679
RV
95042014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9505
9506 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9507 alphasort and versionsort.
9508
32999d63
AZ
95092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9510
9511 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9512 macro.
9513 [copysignf]: Likewise.
9514
019324d0
SP
95152014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9516
9517 * crypt/md5-crypt.c: Fix formatting.
9518
34fff5c2
KS
95192014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9520
9521 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9522 (b64_from_24bit): New function.
9523
3d2badac
AZ
95242014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9525
9526 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9527 libc_hidden_builtin_def to ifunc.
9528 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9529 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9530
f7bb179f 95312014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
9532
9533 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9534 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9535
4134b50d
JM
95362014-05-21 Joseph Myers <joseph@codesourcery.com>
9537
bb7d0337
JM
9538 * nscd/Depend (linuxthreads): Remove.
9539 (nptl): Add.
9540 * resolv/Depend (linuxthreads): Remove.
9541 * rt/Depend (linuxthreads): Remove.
9542
4134b50d
JM
9543 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9544 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9545 $(common-objpfx)elf/.
9546 (link-libc-before-gnulib): Likewise.
9547 (elfobjdir): Remove variable.
9548 * Makefile (install): Use $(elf-objpfx) instead of
9549 $(common-objpfx)elf/.
9550 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9551 $(elfobjdir)/.
9552 (link-libc-deps): Likewise.
9553 ($(common-objpfx)libc.so): Likewise.
9554 ($(common-objpfx)linkobj/libc.so): Likewise.
9555 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9556 instead of $(common-objpfx)elf/.
9557 (symbolic-link-list): Likewise.
9558 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9559 [$(cross-compiling) = no]: Likewise.
9560 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9561 $(elfobjdir)/.
9562 (static-gnulib-arch): Likewise.
9563 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9564 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9565 $(common-objpfx)elf/.
9566
3612eb8f
RH
95672014-05-21 Richard Henderson <rth@redhat.com>
9568
a6b3657b
RH
9569 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9570 (SINGLE_THREAD_P): Use the correct width load. Fold
9571 into the ldr offset.
9572
3612eb8f
RH
9573 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9574 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9575
175cef41
JM
95762014-05-20 Joseph Myers <joseph@codesourcery.com>
9577
9578 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9579 (libgcc_s_resume): Use __attribute_used__.
9580 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9581 Likewise.
9582
e13bccd3
AZ
95832014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9584
9585 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9586 optimization when used with float constants.
9587
7c112a38
AZ
9588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9589
ae75a883
AJ
95902014-05-20 Aurelien Jarno <aurelien@aurel32.net>
9591
9592 [BZ #16915]
9593 * locale/nl_langinfo_l.c: Make direct reference to every
9594 _nl_current_CATEGORY symbol.
9595 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9596 (tests-static): Add tst-langinfo-static.
9597 (tests-special): Add tst-langinfo-static.out.
9598 ($(objpfx)tst-langinfo.out): Redirect output.
9599 ($(objpfx)tst-langinfo-static.out): New.
9600 * localedata/tst-langinfo.sh: Send output to stdout.
9601 * localedata/tst-langinfo-static.c: New file.
9602
4406c41c
AJ
9603 [BZ #16965]
9604 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9605 when the shift amount is modulo the limb size.
9606
4c0a1e63
RH
96072014-05-20 Richard Henderson <rth@redhat.com>
9608
de9d8f20
RH
9609 [BZ #16967]
9610 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9611 Change type of sa_flags from unsigned int to int.
9612
4c0a1e63
RH
9613 [BZ #16966]
9614 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
9615
9616 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9617
a60339aa
WN
96182014-05-20 Will Newton <will.newton@linaro.org>
9619
9620 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9621 Test the return value of the system call in the nocancel case.
9622
7d05a816
YR
96232014-05-20 Will Newton <will.newton@linaro.org>
9624 Yvan Roux <yvan.roux@linaro.org>
9625
9626 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9627 #include of asm/ptrace.h.
9628 (PTRACE_GET_THREAD_AREA): Remove #undef.
9629 (PTRACE_GETHBPREGS): Likewise.
9630 (PTRACE_SETHBPREGS): Likewise.
9631 (struct user_regs_struct): New structure.
9632 (struct user_fpsimd_struct): New structure.
9633 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9634 #include of asm/ptrace.h and second #include of sys/user.h.
9635 (PTRACE_GET_THREAD_AREA): Remove #undef.
9636 (PTRACE_GETHBPREGS): Likewise.
9637 (PTRACE_SETHBPREGS): Likewise.
9638 (ELF_NGREG): Use new struct user_regs_struct.
9639 (elf_fpregset_t): Use new struct user_fpsimd_struct.
9640
af121e37
AZ
96412014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9642
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9645
834caf06
JM
96462014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
9647
9648 [BZ #16958]
9649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9650 membar to avoid block loads/stores to overlap previous stores.
9651
e184a918
RH
96522014-05-17 Richard Henderson <rth@redhat.com>
9653
9654 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9655 Create the __##syscall_name##_nocancel entry point.
9656 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9657 Remove; let the sysdep-cancel.h code create it.
9658
f56c7a6a
DM
96592014-05-17 David S. Miller <davem@davemloft.net>
9660
9661 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9662 Protect with __USE_GNU.
9663 (TIOCSET_TEMPT): Likewise.
9664 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9665 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9666 these are already provided in bits/ioctl-types.h
9667
f75616b2
RM
96682014-05-16 Roland McGrath <roland@hack.frob.com>
9669
3edeca86
RM
9670 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9671 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9672
f75616b2
RM
9673 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9674 Use wait4 regardless of [__NR_waitpid].
9675
deb0f7f6
MR
96762014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9677
9678 PR libgcc/60166
9679 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9680 (_FP_NANSIGN_Q): Set the quiet bit.
9681
79520f4b
JM
96822014-05-16 Joseph Myers <joseph@codesourcery.com>
9683
9684 * benchtests/Makefile
9685 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9686 not $(common-objpfx)math/libm.so.
9687 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9688 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9689 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9690 $(common-objpfx)dlfcn/libdl.so.
9691 ($(objpfx)tst-audit8): Depend on $(libm), not
9692 $(common-objpfx)math/libm.so.
9693 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9694 not $(common-objpfx)dlfcn/libdl.so.
9695 * math/Makefile
9696 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9697 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
9698 [$(build-shared) = yes].
9699 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9700 $(common-objpfx)nptl/libpthread.so.
9701 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9702 $(common-objpfx)math/libm.so$(libm.so-version) or
9703 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9704 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9705 $(common-objpfx)dlfcn/libdl.so.
9706 * setjmp/Makefile (link-libm): Remove variable.
9707 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9708 * stdio-common/Makefile (link-libm): Remove variable.
9709 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9710 * stdlib/Makefile (link-libm): Remove variable.
9711 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9712 ($(objpfx)tst-strtod-round): Likewise.
9713 ($(objpfx)tst-tininess): Likewise.
9714 ($(objpfx)tst-strtod-underflow): Likewise.
9715 ($(objpfx)tst-strtod6): Likewise.
9716 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9717 $(libdl), not $(common-objpfx)nptl/libpthread.so and
9718 $(common-objpfx)dlfcn/libdl.so.
9719
026b0fe4
AZ
97202014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9721
9722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9723 BSD terminal modes definitions.
9724
def4bcb2
RM
97252014-05-16 Roland McGrath <roland@hack.frob.com>
9726
fe39b021
RM
9727 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9728 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9729
1d1fc46e 9730 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
9731 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9732 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9733 Don't do #include_next.
9734 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9735 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9736 Don't do #include_next.
9737 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9738 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9739 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9740 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9741
c72399fb
AM
97422014-05-16 Allan McRae <allan@archlinux.org>
9743
d51d659d
AM
9744 * po/sv.po: Update Swedish translation from translation project.
9745
c72399fb
AM
9746 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9747 in sed expression.
9748
d0583c40
AJ
97492014-05-16 Aurelien Jarno <aurelien@aurel32.net>
9750
9751 [BZ #16917]
9752 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9753 errno if the TIOCGPTN ioctl fails with an error different than
9754 EINVAL.
9755 * login/tst-ptsname.c: New file.
9756 * login/Makefile (tests): Add tst-ptsname.
9757
d16e6ec7
AJ
9758 [BZ #16943]
9759 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9760 and prlimit64.
9761
cf26a0cb
SP
97622014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9763
9764 [BZ #16849]
9765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9766 herrno to return EAI_AGAIN.
9767
5675da1e
RM
97682014-05-14 Roland McGrath <roland@hack.frob.com>
9769
a5d87b3d
RM
9770 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9771 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9772 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9773 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9774 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9775 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9777 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9779 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9780 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9782 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9783 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9785 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9799 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9801 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9803 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9808 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9810 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9812 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9814 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9816 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9822 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9824 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9828 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9830 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9834 Moved ...
9835 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9851 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9855 Moved ...
9856 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9859
039890a6
RM
9860 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9861 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9862 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9863 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9864 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9865 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9866 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9867 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9868 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9869 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9870 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9871 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9872 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9874 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9876 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9878 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9879 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9880 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9881 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9882 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9883 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9884 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9885 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9886 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9888 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9890 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9891
65c89320
RM
9892 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9893 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9894
348f8e8c
RM
9895 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9896 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9897 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9898 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9899 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9901 Moved ...
9902 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9904 Moved ...
9905 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9906 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9907 Moved ...
9908 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9910 Moved ...
9911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9912 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9913 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9914 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9915 Moved ...
9916 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9918 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9922 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9924 Moved ...
9925 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9926 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9927 Moved ...
9928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9929 ... here.
9930 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9931 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9933 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9935 Moved ...
9936 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9937 ... here.
9938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9939 Moved ...
9940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9941 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9942 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9943 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9944 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9946 Moved ...
9947 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9948 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9949 Moved ...
9950 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9951 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9952 Moved ...
9953 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9955 Moved ...
9956 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9957 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9958 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9959 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9960 Moved ...
9961 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9963 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9965 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9966 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9967 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9969 Moved ...
9970 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9972 Moved ...
9973 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9974 ... here.
9975 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9976 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9977 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9978 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9979 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9980 Moved ...
9981 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9982 ... here.
9983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9984 Moved ...
9985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9986 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9987 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9988 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9989 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9990 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9991 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9992 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9993 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9994 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9995 Moved ...
9996 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9998 Moved ...
9999 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10001 Moved ...
10002 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10004 Moved ...
10005 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10006 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10007 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10008 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10009 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10010 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10011 Moved ...
10012 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10013 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10014 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10018 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10020 Moved ...
10021 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10022 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10023 Moved ...
10024 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10025 ... here.
10026 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10027 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10028 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10029 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10030 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10031 Moved ...
10032 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10033 ... here.
10034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10035 Moved ...
10036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10037 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10038 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10039 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10040 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10041 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10042 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10043 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10044 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10045 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10046 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10047
5085af05
RM
10048 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10049 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10050
708f0813
RM
10051 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10052 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10053
c96067bc
RM
10054 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10055 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10056 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10057 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10058 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10059 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10060 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10061 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10062 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10063 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10064 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10065 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10066 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10067 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10068 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10070 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10072 Moved ...
10073 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10075 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10077 Moved ...
10078 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10080 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10082 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10084 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10086 Moved ...
10087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10089 Moved ...
10090 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10092 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10096 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10097 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10098 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10099 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10100 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10101 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10102 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10103 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10104 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10105 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10106 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10107
ec136444
RM
10108 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10109 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10110 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10111 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10112 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10113
2fbdf533
RM
10114 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10115 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10116 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10117 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10118 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10119 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10120 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10121 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10122 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10123 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10124
4c68138b
RM
10125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10127
4eaae765
RM
10128 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10129 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
10130 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10131 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10132 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10133 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10134 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10135 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10136 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10137 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10138 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10139 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10140 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10141 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10143 Update #include.
10144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10145 Likewise.
10146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10147 Likewise.
10148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10149 Likewise.
10150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10151 Likewise.
10152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10153 Likewise.
10154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10155 Likewise.
10156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10157 Likewise.
10158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10159 Likewise.
10160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10161 Likewise.
4ef6befa
RM
10162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
10167 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10168 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10172 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10173 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10174 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 10177
941d7dfd
RM
10178 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10179 that was previously under [RESET_PID].
10180 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10181 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10182 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10183
1b731c35
RM
10184 * sysdeps/i386/nptl/Implies: New file.
10185 * sysdeps/x86_64/nptl/Implies: New file.
10186 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10187 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10188 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10189 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10190
e2787137
RM
10191 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10192 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10193 (__libc_vfork): New strong alias.
10194 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10195 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10196
10197 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10198 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10199 (__libc_vfork): New strong alias.
10200 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10201 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10202
5675da1e
RM
10203 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10204 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10205 (__libc_vfork): New strong alias.
10206 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10207 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10208 * nptl/pt-vfork.c: New file.
10209 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10210 (libpthread: GLIBC_2.20): New version set (empty).
10211
4f02e2b8
WN
102122014-05-14 Will Newton <will.newton@linaro.org>
10213
10214 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10215 rather than #if.
10216
0bf061d3
JM
102172014-05-14 Joseph Myers <joseph@codesourcery.com>
10218
1a84c3d6
JM
10219 [BZ #16564]
10220 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10221 arguments with exponent 65 or above.
10222 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10223 arguments 0x1p113L or above.
10224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10225 to arguments 0x1p107L or above.
10226 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10227 positive arguments with exponent 65 or above.
10228 * math/auto-libm-test-in: Add more tests of log1p.
10229 * math/auto-libm-test-out: Regenerated.
10230
01dbacd2
JM
10231 [BZ #16928]
10232 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10233 non-finite arguments is +0.
10234 * math/s_cacosf.c (__cacosf): Likewise.
10235 * math/s_cacosl.c (__cacosl): Likewise.
10236 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10237 * sysdeps/i386/fpu/libm-test-ulps: Update.
10238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10239
913d03c8
JM
10240 [BZ #16927]
10241 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10242 value.
10243 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10244 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10245 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10246 for explicit high bit of mantissa when testing for argument equal
10247 to 1.
10248 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10249 * sysdeps/i386/fpu/libm-test-ulps: Update.
10250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10251
0bf061d3
JM
10252 [BZ #16516]
10253 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10254 (__erf): Scale by 16 instead of 8 in potentially underflowing
10255 case. Ensure exception if result actually underflows.
10256 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10257 (__erff): Scale by 16 instead of 8 in potentially underflowing
10258 case. Ensure exception if result actually underflows.
10259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10260 (efx8): Remove variable.
10261 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10262 case. Ensure exception if result actually underflows.
10263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10264 (efx8): Remove variable.
10265 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10266 case. Ensure exception if result actually underflows.
10267 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10268 (efx8): Remove variable.
10269 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10270 case. Ensure exception if result actually underflows.
10271 * math/auto-libm-test-in: Add more tests of erf.
10272 * math/auto-libm-test-out: Regenerated.
10273
73ba67cb
AS
102742014-05-14 Andreas Schwab <schwab@suse.de>
10275
3d8c8bff
AS
10276 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10277 Remove code conditionalized on USE___THREAD.
10278
73ba67cb
AS
10279 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10280 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10281 not definedness.
10282
5c521ecd
JM
102832014-05-14 Joseph Myers <joseph@codesourcery.com>
10284
5e7698c6
JM
10285 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10286 Define unconditionally.
10287 (__ASSUME_O_CLOEXEC): Likewise.
10288 (__ASSUME_SOCK_CLOEXEC): Likewise.
10289 (__ASSUME_IN_NONBLOCK): Likewise.
10290 (__ASSUME_PIPE2): Likewise.
10291 (__ASSUME_EVENTFD2): Likewise.
10292 (__ASSUME_SIGNALFD4): Likewise.
10293 (__ASSUME_DUP3): Likewise.
10294 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10295 (__ASSUME_DUP3): Do not define.
10296 (__ASSUME_EVENTFD2): Likewise.
10297 (__ASSUME_IN_NONBLOCK): Likewise.
10298 (__ASSUME_O_CLOEXEC): Likewise.
10299 (__ASSUME_PIPE2): Likewise.
10300 (__ASSUME_SIGNALFD4): Likewise.
10301 (__ASSUME_SOCK_CLOEXEC): Likewise.
10302 (__ASSUME_UTIMES): Undefine.
10303 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10304 (__ASSUME_UTIMES): Do not define.
10305 (__ASSUME_O_CLOEXEC): Likewise.
10306 (__ASSUME_SOCK_CLOEXEC): Likewise.
10307 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10308 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10309 0x020621].
10310 (__ASSUME_PIPE2): Likewise.
10311 (__ASSUME_EVENTFD2): Likewise.
10312 (__ASSUME_SIGNALFD4): Likewise.
10313 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10314 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10315 Do not define.
10316 (__ASSUME_EVENTFD2): Likewise.
10317 (__ASSUME_SIGNALFD4): Likewise.
10318 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10319 (__ASSUME_32BITUIDS): Likewise.
10320 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10321 (__ASSUME_IPC64): Likewise.
10322 (__ASSUME_ST_INO_64_BIT): Likewise.
10323 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10324 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10325 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10326 (__ASSUME_UTIMES): Do not define.
10327 (__ASSUME_PSELECT): Likewise.
10328 (__ASSUME_PPOLL): Likewise.
10329 (__ASSUME_O_CLOEXEC): Likewise.
10330 (__ASSUME_SOCK_CLOEXEC): Likewise.
10331 (__ASSUME_IN_NONBLOCK): Likewise.
10332 (__ASSUME_PIPE2): Likewise.
10333 (__ASSUME_EVENTFD2): Likewise.
10334 (__ASSUME_SIGNALFD4): Likewise.
10335 (__ASSUME_DUP3): Likewise.
10336 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10337 (__ASSUME_UTIMES): 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/microblaze/kernel-features.h
10346 (__ASSUME_UTIMES): Likewise.
10347 (__ASSUME_O_CLOEXEC): Likewise.
10348 (__ASSUME_SOCK_CLOEXEC): Likewise.
10349 (__ASSUME_IN_NONBLOCK): Likewise.
10350 (__ASSUME_PIPE2): Likewise.
10351 (__ASSUME_EVENTFD2): Likewise.
10352 (__ASSUME_SIGNALFD4): Likewise.
10353 (__ASSUME_DUP3): Likewise.
10354 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10355 Likewise.
10356 (__ASSUME_UTIMES): Likewise.
10357 (__ASSUME_EVENTFD2): Likewise.
10358 (__ASSUME_SIGNALFD4): Likewise.
10359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10360 (__ASSUME_O_CLOEXEC): Likewise.
10361 (__ASSUME_SOCK_CLOEXEC): Likewise.
10362 (__ASSUME_IN_NONBLOCK): Likewise.
10363 (__ASSUME_PIPE2): Likewise.
10364 (__ASSUME_EVENTFD2): Likewise.
10365 (__ASSUME_SIGNALFD4): Likewise.
10366 (__ASSUME_DUP3): Likewise.
10367 (__ASSUME_UTIMES): Undefine.
10368
5c521ecd
JM
10369 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10370 feclearexcept. Remove symbol versioning code.
10371 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10372 symbol versioning code.
10373 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10374 symbol versioning code.
10375 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10376 feupdateenv. Remove symbol versioning code.
10377 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10378 fegetexceptflag. Remove symbol versioning code.
10379 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10380 fesetexceptflag. Remove symbol versioning code.
10381 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10382 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10383 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10384 (__posix_fadvise64_l32): Remove prototype.
10385 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10386 code.
10387
5da9dfad
RM
103882014-05-13 Roland McGrath <roland@hack.frob.com>
10389
10390 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10391 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10392 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10393 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10394
893b4f37
SK
103952014-05-13 Sami Kerola <kerolasa@iki.fi>
10396
10397 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10398 current working directory
10399
e0db6517
RM
104002014-05-13 Roland McGrath <roland@hack.frob.com>
10401
58aa195d
RM
10402 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10403 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10404 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10405 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10406 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10407 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10408 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10409 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10410 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10411 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10412 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10413 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10414 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10415 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10416 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10417 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10418 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10419 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10420 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10421 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10422 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10423 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10424 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10425 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10426 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10427 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10428 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10429 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10430 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10431 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10432 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10433 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10434 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10435 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10436 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10437 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10438 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10439 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10440 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10441 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10442 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10443 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10444
8c6d01f0
RM
10445 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10446 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10447
10448 * sysdeps/unix/sysv/linux/arm/Makefile
10449 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10450 Add rt-aeabi_unwind_cpp_pr1.
10451 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10452 Add nptl-aeabi_unwind_cpp_pr1.
10453 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10454 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10455 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10456 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10457 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10458 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10459
10460 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10461 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10462 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10463 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10464
bba6da4e
RM
10465 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10466 Deconditionalize the code that was previously under [RESET_PID].
10467 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10468
e0db6517
RM
10469 * sysdeps/generic/exit-thread.h: New file.
10470 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10471 * include/unistd.h (__exit_thread): Remove declaration.
10472 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10473 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10474 * csu/libc-start.c: Include <exit-thread.h>.
10475 (LIBC_START_MAIN): Pass no argument to __exit_thread.
10476 * nptl/pthread_create.c: Include <exit-thread.h>.
10477 (start_thread): Call __exit_thread in place of __exit_thread_inline.
10478 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10479 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10480 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10481 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10482 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10483 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10484 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10485 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10486 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10487 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10488 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10489 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10490 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10491 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10492 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10493 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10494
01eb16fd
AS
104952014-05-13 Andreas Schwab <schwab@suse.de>
10496
10497 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10498
637461d9
JM
104992014-05-12 Joseph Myers <joseph@codesourcery.com>
10500
10501 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10502 (__ASSUME_UTIMES): Do not condition on kernel version.
10503 (__ASSUME_PSELECT): Define unconditionally.
10504 (__ASSUME_PPOLL): Likewise.
10505 (__ASSUME_ATFCTS): Likewise.
10506 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10507 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10508 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10509 (__ASSUME_UTIMENSAT): Define unconditionally.
10510 (__ASSUME_PRIVATE_FUTEX): Likewise.
10511 (__ASSUME_FALLOCATE): Likewise.
10512 (__ASSUME_O_CLOEXEC): Likewise.
10513 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10514 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10515 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10516 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10517 (__ASSUME_IN_NONBLOCK): Likewise.
10518 (__ASSUME_PIPE2): Likewise.
10519 (__ASSUME_EVENTFD2): Likewise.
10520 (__ASSUME_SIGNALFD4): Likewise.
10521 (__ASSUME_DUP3): Likewise.
10522 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10523 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10524 (__ASSUME_AT_RANDOM): Likewise.
10525 (__ASSUME_PREADV): Likewise.
10526 (__ASSUME_PWRITEV): Likewise.
10527 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10528 (__ASSUME_F_GETOWN_EX): Define unconditionally.
10529 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10530 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10531 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10532 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10533 (__ASSUME_O_CLOEXEC): Define unconditionally.
10534 (__ASSUME_PSELECT): Do not undefine conditionally.
10535 (__ASSUME_PPOLL): Likewise.
10536 (__ASSUME_ATFCTS): Likewise.
10537 (__ASSUME_SET_ROBUST_LIST): Likewise.
10538 (__ASSUME_UTIMENSAT): Likewise.
10539 (__ASSUME_FDATASYNC): Define unconditionally.
10540 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10541 (__ASSUME_SIGFRAME_V2): Likewise.
10542 )__ASSUME_EVENTFD2): Likewise.
10543 (__ASSUME_SIGNALFD4): Likewise.
10544 (__ASSUME_PSELECT): Do not undefine conditionally.
10545 (__ASSUME_PPOLL): Likewise.
10546 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10547 (__ASSUME_PSELECT): Define unconditionally.
10548 (__ASSUME_PPOLL): Likewise.
10549 (__ASSUME_O_CLOEXEC): Likewise.
10550 (__ASSUME_SOCK_CLOEXEC): Likewise.
10551 (__ASSUME_IN_NONBLOCK): Likewise.
10552 (__ASSUME_PIPE2): Likewise.
10553 (__ASSUME_EVENTFD2): Likewise.
10554 (__ASSUME_SIGNALFD4): Likewise.
10555 (__ASSUME_DUP3): Likewise.
10556 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10557 (__ASSUME_O_CLOEXEC): Likewise.
10558 (__ASSUME_SOCK_CLOEXEC): Likewise.
10559 (__ASSUME_IN_NONBLOCK): Likewise.
10560 (__ASSUME_PIPE2): Likewise.
10561 (__ASSUME_EVENTFD2): Likewise.
10562 (__ASSUME_SIGNALFD4): Likewise.
10563 (__ASSUME_DUP3): Likewise.
10564 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10565 (__ASSUME_EVENTFD2): Likewise.
10566 (__ASSUME_SIGNALFD4): Likewise.
10567 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10568
315eb1d8
AS
105692014-05-12 Andreas Schwab <schwab@suse.de>
10570
10571 [BZ #16932]
10572 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10573 (_nss_nis_gethostbyname4_r): Return error if item length is larger
10574 than maximum RPC packet size.
10575 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10576 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10577 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10578 (_nss_nis_getservbyport_r): Likewise.
10579
91df99f7
WN
105802014-05-12 Will Newton <will.newton@linaro.org>
10581
10582 * malloc/Makefile (tests): Add tst-mallopt.
10583 * malloc/tst-mallopt.c: New file.
10584
0a982a29
RM
105852014-05-09 Roland McGrath <roland@hack.frob.com>
10586
10587 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10588 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10589
0ded08a5
AZ
105902014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10591
10592 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10593 (tst-tlsmod6.so): Likewise.
10594
55d4d550
RM
105952014-05-09 Roland McGrath <roland@hack.frob.com>
10596
10597 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10598
77d08aca
JM
105992014-05-09 Joseph Myers <joseph@codesourcery.com>
10600
10601 [BZ #16064]
10602 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10603 and <dl-procinfo.h>.
10604 (__fegetenv): Save SSE state in envp->__eip if supported.
10605 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10606 envp->__eip if supported.
10607 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10608 and <dl-procinfo.h>.
10609 (__fesetenv): Always set __eip, __cs_selector, __opcode,
10610 __data_offset and __data_selector in environment to 0. Set SSE
10611 state if supported.
10612 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10613 test-fenv-sse.
10614 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10615 -mfpmath=sse.
10616 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10617
28162f4d
WN
106182014-05-09 Will Newton <will.newton@linaro.org>
10619
10620 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10621 and libc_relro_required for ARM.
10622 * sysdeps/arm/preconfigure: Regenerate.
10623
5a414ff7
DV
106242014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
10625 Stefan Liebler <stli@linux.vnet.ibm.com>
10626
10627 * config.make.in (enable-lock-elision): New Makefile variable.
10628 * configure.ac: Likewise.
10629 * configure: Regenerate.
10630 * sysdeps/s390/configure.ac:
10631 Add check for gcc transactions support.
10632 * sysdeps/s390/configure: Regenerate.
10633 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10634 Build elision files if enabled.
10635 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10636 Add lock elision support for s390.
10637 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10638 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10639 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10640 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10641 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10642 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10643 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10644 Likewise.
10645 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10646 Likewise.
10647 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10648 Likewise.
10649 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10650 Likewise.
10651 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10652 (__lll_timedlock_elision, __lll_lock_elision)
10653 (__lll_unlock_elision, __lll_trylock_elision)
10654 (lll_timedlock_elision, lll_lock_elision)
10655 (lll_unlock_elision, lll_trylock_elision): Add.
10656 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10657 (pthread_mutex_t): Add lock elision support for s390.
10658
1a2f40e5
W
106592014-05-14 Wilco <wdijkstr@arm.com>
10660
10661 * sysdeps/arm/fclrexcpt.c: Cleanup.
10662 * sysdeps/arm/fedisblxcpt.c: Cleanup.
10663 * sysdeps/arm/feenablxcpt.c: Cleanup.
10664 * sysdeps/arm/fegetenv.c: Cleanup.
10665 * sysdeps/arm/fegetexcept.c: Cleanup.
10666 * sysdeps/arm/fegetround.c: Cleanup.
10667 * sysdeps/arm/feholdexcpt.c: Cleanup.
10668 * sysdeps/arm/fesetenv.c: Cleanup.
10669 * sysdeps/arm/fesetround.c: Cleanup.
10670 * sysdeps/arm/feupdateenv.c: Cleanup.
10671 * sysdeps/arm/fgetexcptflg.c: Cleanup.
10672 * sysdeps/arm/fraiseexcpt.c: Cleanup.
10673 * sysdeps/arm/fsetexcptflg.c: Cleanup.
10674 * sysdeps/arm/ftestexcept.c: Cleanup.
10675 * sysdeps/arm/get-rounding-mode.h: Cleanup.
10676 * sysdeps/arm/setfpucw.c: Cleanup.
10677
f63c86fe
WN
106782014-05-09 Will Newton <will.newton@linaro.org>
10679
10680 * sysdeps/arm/armv7/strcmp.S: New file.
10681 * NEWS: Mention addition of ARMv7 optimized strcmp.
10682
7a1a51b5
RM
106832014-05-08 Roland McGrath <roland@hack.frob.com>
10684
95afbbe5
RM
10685 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10686 look for %.ac rather than %.in.
10687
10688 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10689 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10690 * sysdeps/mach/hurd/configure: Regenerated.
10691 * sysdeps/unix/sysv/linux/configure: Regenerated.
10692
7a1a51b5
RM
10693 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10694
5057ad3b
SE
106952014-05-07 Steve Ellcey <sellcey@mips.com>
10696
10697 [BZ# 16922]
10698 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10699 (LONG_SUB): Ditto.
10700 (PTR_SUB): Ditto.
10701
8dc97517
AS
107022014-05-07 Andreas Schwab <schwab@suse.de>
10703
10704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10705 when skipping over non-matching result from nscd.
10706
ce0c5b8f
OB
107072014-05-07 Ondřej Bílka <neleai@seznam.cz>
10708
10709 [BZ #16876]
10710 * nptl/sockperf.c (client): Check socket return value.
8dc97517 10711
a1189263
OB
10712 [BZ #16877]
10713 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10714 nscd security class.
ce0c5b8f 10715
0f58d252
RM
107162014-05-06 Roland McGrath <roland@hack.frob.com>
10717
10718 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10719 * sysdeps/arm/unwind.h: ... here.
10720
83df9ad0
AJ
107212014-05-06 Aurelien Jarno <aurelien@aurel32.net>
10722
ce0c5b8f
OB
10723 [BZ# 16916]
10724 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10725 Define.
83df9ad0 10726
f360f94a
VR
107272014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10728
10729 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10730 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10731 multiarch strncpy for PPC64.
10732 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10733 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10735 multiarch optimizations.
10736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10737 (__libc_ifunc_impl_list): Likewise.
10738 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10739 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10740 multiarch stpncpy for PPC64.
10741 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10743
978a41c3
AS
107442014-05-06 Andreas Schwab <schwab@suse.de>
10745
10746 [BZ #16912]
10747 * gmon/mcount.c (_MCOUNT_DECL): Use
10748 atomic_compare_and_exchange_bool_acq instead of
10749 catomic_compare_and_exchange_bool_acq.
10750
eb1ed03d
RM
107512014-05-05 Roland McGrath <roland@hack.frob.com>
10752
fe658845
RM
10753 * elf/Makefile (others, install-bin): Remove pldd.
10754 (pldd-modules): Variable removed.
10755 ($(objpfx)pldd): Target removed.
10756 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10757 (others, install-bin): Append pldd here.
10758 ($(objpfx)pldd): New target.
10759
eb1ed03d
RM
10760 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10761 to 0, so the first #if test emitted later doesn't see it undefined.
10762 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10763 * sysdeps/gnu/errlist.c: Regenerated.
10764
19c4bec0
AZ
107652014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10766
10767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10768 [libc_hidden_builtin_def]: Define to empty value.
10769 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10770 [libc_hidden_builtin_def]: Likewise.
10771 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10772 [libc_hidden_builtin_def]: Likewise.
10773 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10774 [libc_hidden_builtin_def]: Likewise.
10775 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10776 __redirect_memcpy and define ifunc as default hidden symbol.
10777 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10778 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10779
7776e669
AC
107802014-05-04 Adam Conrad <adconrad@0c3.net>
10781
10782 * locale/iso-4217.def: Reintroduce XDR currency.
10783
d69aeb12
AM
107842014-05-04 Allan McRae <allan@archlinux.org>
10785
10786 * po/eo.po: Update Esperanto translation from translation project.
10787
8f1df5cf
CD
107882014-05-02 Carlos O'Donell <carlos@redhat.com>
10789
10790 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10791 and FEATURE_INDEX_MAX to 1.
10792 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10793
13e402e7
SE
107942014-05-01 Steve Ellcey <sellcey@mips.com>
10795
10796 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10797 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10798 * iconvdata/big5.c (ONE_DIRECTION): Define.
10799 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10800 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10801 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10802 * iconvdata/cp932.c (ONE_DIRECTION): Define.
10803 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10804 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10805 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10806 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10807 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10808 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10809 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10810 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10811 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10812 * iconvdata/gbk.c (ONE_DIRECTION): Define.
10813 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10814 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10815 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10816 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10817 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10818 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10819 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10820 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10821 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10822 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10823 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10824 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10825 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10826 * iconvdata/iso646.c (ONE_DIRECTION): Define.
10827 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10828 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10829 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10830 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10831 * iconvdata/johab.c (ONE_DIRECTION): Define.
10832 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10833 * iconvdata/sjis.c (ONE_DIRECTION): Define.
10834 * iconvdata/t.61.c (ONE_DIRECTION): Define.
10835 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10836 * iconvdata/tscii.c (ONE_DIRECTION): Define.
10837 * iconvdata/uhc.c (ONE_DIRECTION): Define.
10838 * iconvdata/unicode.c (ONE_DIRECTION): Define.
10839 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10840 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10841 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10842
c727f032
RM
108432014-05-01 Roland McGrath <roland@hack.frob.com>
10844
8f2f08d0
RM
10845 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10846 (_IO_JUMPS_OFFSET): Define to 0.
10847
c727f032
RM
10848 * nptl/sysdeps/pthread/bits/libc-lock.h
10849 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10850 (__libc_lock_define_initialized_recursive): Always define using
10851 initializer. Modern compilers treat uninitialized (implicit zero) and
10852 explicit zero initializers the same (i.e. put the datum in bss).
10853
a849e800
AS
108542014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10855
10856 * nscd/nscd-client.h: Include <string.h>.
10857
5331255b
DM
108582014-05-01 David S. Miller <davem@davemloft.net>
10859
10860 [BZ #16885]
10861 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10862 multiple zero bytes exist at the end of a string.
10863 Reported by Aurelien Jarno <aurelien@aurel32.net>
10864
10865 * string/test-strcmp.c (check): Add explicit test for situations where
10866 there are multiple zero bytes after the first.
10867
4fdfe821
AS
108682014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10869
10870 [BZ #16890]
10871 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10872 when compiling wprintf.
10873 * stdio-common/tstdiomisc.c (t3): New function.
10874 (main): Call it.
10875
0cdddc25
SE
108762014-05-01 Steve Ellcey <sellcey@mips.com>
10877
10878 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10879 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10880 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10881 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10882
6426d77e
SE
108832014-05-01 Steve Ellcey <sellcey@mips.com>
10884
10885 * stdlib/longlong.h: Updated from GCC.
10886
6d96f5e4
WN
108872014-05-01 Will Newton <will.newton@linaro.org>
10888 Bernard Ogden <bernie.ogden@linaro.org>
10889
7470db0c
WN
10890 * NEWS: Update fixed bug list.
10891
6d96f5e4
WN
10892 [BZ #15119]
10893 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10894
211d653c
DM
108952014-04-30 David S. Miller <davem@davemloft.net>
10896
4fa262fa
DM
10897 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10898 (libc_feholdexcept_setround_sparc_ctx): New function.
10899 (libc_fesetenv_sparc_ctx): Likewise.
10900 (libc_feupdateenv_sparc_ctx): Likewise.
10901 (libc_feholdsetround_sparc_ctx): Likewise.
10902 (libc_feholdexcept_setround_ctx): Define.
10903 (libc_feholdexcept_setroundf_ctx): Likewise.
10904 (libc_feholdexcept_setroundl_ctx): Likewise.
10905 (libc_fesetenv_ctx): Likewise.
10906 (libc_fesetenvf_ctx): Likewise.
10907 (libc_fesetenvl_ctx): Likewise.
10908 (libc_feupdateenv_ctx): Likewise.
10909 (libc_feupdateenvf_ctx): Likewise.
10910 (libc_feupdateenvl_ctx): Likewise.
10911 (libc_feresetround_ctx): Likewise.
10912 (libc_feresetroundf_ctx): Likewise.
10913 (libc_feresetroundl_ctx): Likewise.
10914 (libc_feholdsetround_ctx): Likewise.
10915 (libc_feholdsetroundf_ctx): Likewise.
10916 (libc_feholdsetroundl_ctx): Likewise.
10917
1d3d93ef
DM
10918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10919 with __USE_GNU instead of XOPEN cpp guards.
10920
8aa583c3
DM
10921 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10922 0.
10923
211d653c
DM
10924 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10925 with XOPEN cpp guards.
10926
60c8f1f6
JB
109272014-04-30 Julian Brown <julian@codesourcery.com>
10928
10929 [BZ #16888]
10930 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10931 handling.
10932
9a461d46
JM
109332014-04-30 Joseph Myers <joseph@codesourcery.com>
10934
d0f5b3f8
JM
10935 [BZ #9894]
10936 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10937 Change to 2.6.32.
10938 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10939 * sysdeps/unix/sysv/linux/configure: Regenerated.
10940 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10941 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10942 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10943 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10944 * README: Update reference to required Linux kernel version.
10945 * manual/install.texi (Linux): Update reference to required Linux
10946 kernel headers version.
10947 * INSTALL: Regenerated.
10948
9a461d46
JM
10949 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10950 header inclusion.
10951 [POSIX] (limits.h): Likewise.
10952 [POSIX] (math.h): Likewise.
10953 [POSIX] (sys/wait.h): Likewise.
10954 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10955 function.
10956 [POSIX] (stddef.h): Do not allow header inclusion.
10957
1775babf
AZ
109582014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10959
57f41c40 10960 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10961
8f630cca
YY
109622014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10963
10964 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10965 Return immediately after lll_futex_wake.
10966
1cdeb237
SP
109672014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10968
bc8f194c
SP
10969 [BZ #16791]
10970 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10971 structure.
10972 (datahead_init_pos): Call datahead_init_common early.
10973 (datahead_init_neg): Likewise.
10974
1cdeb237
SP
10975 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10976 datahead_init_neg): New functions.
10977 * nscd/aicache.c (addhstaiX): Use them.
10978 * nscd/grpcache.c (cache_addgr): Likewise.
10979 * nscd/hstcache.c (cache_addhst): Likewise.
10980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10981 * nscd/netgroupcache.c (do_notfound): Likewise.
10982 (addgetnetgrentX): Likewise.
10983 (addinnetgrX): Likewise.
10984 * nscd/pwdcache.c (cache_addpw): Likewise.
10985 * nscd/servicescache.c (cache_addserv): Likewise.
10986
16b293a7
SP
109872014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10988 Atsushi Onoe <atsushi@onoe.org>
10989
10990 [BZ #14308]
10991 [BZ #12994]
10992 [BZ #13651]
10993 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10994 one response is valid.
10995 * resolv/res_send.c (send_dg): Check for validity of other
10996 response if the current response is a referral.
10997
a28a9b94
SE
109982014-04-29 Steve Ellcey <sellcey@mips.com>
10999
11000 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11001
2ca180e9
SL
110022014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11003
11004 [BZ #16823]
11005 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11006 Always divide by positive zero when computing -Inf result.
11007 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11008 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11009
18f2945a
AZ
110102014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11011
11012 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11013 FPSCR if value do not change.
11014 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11015 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11016 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11017 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11018 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11019 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11020 function.
11021
5abebba4
CD
110222014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11023
11024 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11025 * sysdeps/unix/sysv/linux/hppa: Move directory from
11026 ports/systeps/unix/sysv/linux/hppa.
11027 * README: Update listing for hppa-*-linux-gnu.
11028
f7ed60c2
OB
110292014-04-28 Ondřej Bílka <neleai@seznam.cz>
11030
fff763a5
OB
11031 [BZ #16754]
11032 * manual/stdio.texi (Hook functions): Fix types of stream hook
11033 functions.
f7ed60c2
OB
11034 [BZ #16854]
11035 * socket/sys/socket.h: Fix typo in comment.
11036
df639d73
WD
110372014-04-28 Wilco <wdijkstr@arm.com>
11038
f7ed60c2 11039 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
11040 * sysdeps/arm/math_private.h: New file.
11041 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11042
48332d82
L
110432014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11046 with __int128_t.
11047 (La_x86_64_retval): Likewise.
11048
e5e0d9a4
IB
110492014-04-24 Ian Bolton <ian.bolton@arm.com>
11050
11051 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11052 fpsr if value didn't change.
11053 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11054 to fpcr if value didn't change.
11055 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11056 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11057 fpsr or fpcr if value didn't change.
11058 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11059 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11060 fpcr if value didn't change.
11061 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11062 to fpsr if value didn't change.
11063
bacc75f7
SP
110642014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11065
11066 * nptl/tst-sem3.c: Use test-skeleton.c
11067 (main): Rename to do_test. Use return instead of
11068 exit.
11069 * nptl/tst-sem4.c: Use test-skeleton.c
11070 (main): Rename to do_test.
11071
a059d359
DM
110722014-04-22 David S. Miller <davem@davemloft.net>
11073
11074 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11075 (struct sigaction): New struct member __glibc_reserved0, change
11076 type of sa_flags to int.
11077
ea6c92f3
YZ
110782014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11079
11080 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11081 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11082
766c4a36
SP
110832014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11084
11085 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11086 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11087
140cc7ab
VK
110882014-04-22 Will Newton <will.newton@linaro.org>
11089 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11090
11091 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11092 (__longjmp): Add longjmp and longjmp_target SystemTap
11093 probes.
11094 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11095 (__sigsetjmp): Add setjmp SystemTap probe.
11096
c54e5cf7
CD
110972014-04-17 Carlos O'Donell <carlos@redhat.com>
11098
11099 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11100 match manual order.
11101
75ffb047
AZ
111022014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11103
11104 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11105
2cd925f7
AZ
11106 * sysdeps/powerpc/fpu/fenv_private.h
11107 (libc_feholdexcept_setroundl_ctx): Define to
11108 libc_feholdexcept_setround_ppc_ctx.
11109 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11110 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11111 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11112 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11113
39e6cd8d
IB
111142014-04-17 Ian Bolton <ian.bolton@arm.com>
11115
11116 * sysdeps/aarch64/math-tests.h: New file.
11117
f9281df9
SY
111182014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11119
11120 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11121 New.
11122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11123 Check and set bit_AVX2_Usable.
11124 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11125 macro.
11126 (bit_AVX2): Likewise.
11127 (index_AVX2_Usable): Likewise.
11128 (CPUID_AVX2): Likewise.
11129 (HAS_AVX2): Likewise.
11130
37d35007
WN
111312014-04-17 Will Newton <will.newton@linaro.org>
11132
7c677662
WN
11133 * manual/setjmp.texi (System V contexts): Add note that
11134 calling setcontext on a context created by a call to a
11135 signal handler is undefined. Update text to note that
11136 setcontext from a signal handler is possible but not
11137 recommended.
11138
37d35007 11139 [BZ #16629]
e04a4e9d
WN
11140 * stdlib/tst-setcontext.c: Include signal.h.
11141 (main): Check that the signal stack before and
11142 after swapcontext is the same.
11143
37d35007
WN
11144 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11145 Re-implement to restore registers in user code and avoid
11146 rt_sigreturn system call.
11147
423a7160
W
111482014-04-17 Wilco <wdijkstr@arm.com>
11149
11150 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11151 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11152 * math/test-fenv.c: Skip exception trap tests on targets which only
11153 support non-stop mode.
11154
bc93ab29
IB
111552014-04-17 Ian Bolton <ian.bolton@arm.com>
11156 Wilco Dijkstra <wilco.dijkstra@arm.com>
11157
11158 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11159 (libc_feholdsetround_aarch64_ctx)
11160 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11161 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11162 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11163 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11164 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11165 (libc_feresetround_noexl_ctx): Define.
11166
95fc5fa3
RH
111672014-04-16 Richard Henderson <rth@redhat.com>
11168
ddb04724
RH
11169 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11170
d77c0899
RH
11171 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11172 unwind tables.
11173
a3df56fc
RH
11174 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11175 const from the non-libc, non-ldso copy.
11176
95fc5fa3
RH
11177 * sysdeps/alpha/libm-test-ulps: Regenerate.
11178
7e0b6763
IB
111792014-04-16 Ian Bolton <ian.bolton@arm.com>
11180 Wilco Dijkstra <wilco.dijkstra@arm.com>
11181
11182 * sysdeps/aarch64/fpu/math_private.h: New file.
11183
a9ea2e0c
MS
111842014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11185
11186 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11187
ea8ba7cd
IZ
111882014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11189
7e54fd04 11190 [BZ #16275]
ea8ba7cd
IZ
11191 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11192 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11194 Intel MPX bound registers before _dl_profile_fixup.
11195 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11196 registers after _dl_profile_fixup. Save and restore bound
11197 registers bnd0/bnd1 when calling _dl_call_pltexit.
11198 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11199 (LR_BND_OFFSET): Likewise.
11200 (LRV_BND0_OFFSET): Likewise.
11201 (LRV_BND1_OFFSET): Likewise.
11202
9f2a4fbc
ST
112032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11204
11205 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11206 to...
11207 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
11208 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11209 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11210 fields.
9f2a4fbc 11211
fd15a59b
ST
112122014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11213
11214 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11215
f19dfa0a
SL
112162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11217
11218 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11219
4fa8bc3b
SL
112202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11221
11222 [BZ #14770]
11223 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11224 * sysdeps/s390/configure: Regenerate.
11225
8ea587db
SL
11226 [BZ #16824]
11227 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11228 Set round-to-nearest internally to reduce error accumulation.
11229
aa5f0ff1
AM
112302014-04-16 Alan Modra <amodra@gmail.com>
11231
11232 [BZ #16740]
11233 [BZ #16619]
11234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11235 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 11236 * NEWS: Update fixed bug list.
aa5f0ff1 11237
bb9c256f
SP
112382014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11239
11240 * benchtests/Makefile: Depend on libraries in build directory.
11241 (bench-math): Separate out math tests.
11242 (bench-pthread): Separate out pthread tests.
11243 (bench): Include math and pthread tests.
11244
f737dfd0
CD
112452014-04-14 Carlos O'Donell <carlos@redhat.com>
11246
11247 [BZ #16831]
11248 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11249 _dl_debug_initialize.
11250
0699f766
CD
11251 * configure.ac: Remove SELinux header check.
11252 * configure: Regenerate.
11253 * nscd/selinux.c (perms): Array of const char* to permission names.
11254 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11255 default policy. Call string_to_security_class and string_to_av_perm to
11256 translate strings. Enforce default policy and call avs_has_perm with
11257 results of translated strings.
11258
809bd45f
DM
112592014-04-13 David S. Miller <davem@davemloft.net>
11260
11261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11262
89e691f2
AM
112632014-04-12 Allan McRae <allan@archlinux.org>
11264
11265 [BZ #16838]
11266 * manual/string.texi (Collation Functions): Fix qsort argument
11267 order in example.
11268 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11269
9c9daaeb
CM
112702014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11271
11272 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11273 Make the test a no-op if there are no exceptions defined.
11274
95561fb9
PP
112752014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11276
fe8d072c 11277 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
11278 enable-hardcoded-path-in-tests
11279
970c602a
WN
112802014-04-11 Will Newton <will.newton@linaro.org>
11281
11282 * benchtests/Makefile (extra-objs): Add json-lib.o.
11283 (bench-func): Tidy up JSON output.
11284 * benchtests/bench-skeleton.c: Include json-lib.h.
11285 (main): Use JSON library functions to do output of
11286 benchmark results.
11287 * benchtests/bench-timing-type.c (main): Output the
11288 timing type simply, leaving formatting to the user.
11289 * benchtests/json-lib.c: New file.
11290 * benchtests/json-lib.h: Likewise.
11291
36875b06
TR
112922014-04-11 Torvald Riegel <triegel@redhat.com>
11293
11294 [BZ #15215]
11295 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11296 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11297 memory barriers. Add comments.
11298 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11299 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11300 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11301 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11302 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11303 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11304
579db35a
SL
113052014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11306
11307 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11308 * sysdeps/s390/s390-64/configure.ac: ... this ...
11309 * sysdeps/s390/configure.ac: ... to here.
11310 * sysdeps/s390/s390-32/configure: Delete file.
11311 * sysdeps/s390/s390-64/configure: Delete file.
11312 * sysdeps/s390/configure: Regenerate.
11313
c12e9f37
JAPH
113142014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11315
11316 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11317
439bda32
WN
113182014-04-11 Will Newton <will.newton@linaro.org>
11319
11320 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11321 to zero if it is not defined elsewhere. (mtrim): Test
11322 the value of MALLOC_DEBUG with #if rather than #ifdef.
11323
6a5d6ea1
TR
113242014-04-10 Torvald Riegel <triegel@redhat.com>
11325
11326 * benchtests/pthread_once-inputs: New file.
11327 * benchtests/pthread_once-source.c: New file.
11328 * benchtests/README: Update documentation.
11329
a4c75cfd
IZ
113302014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11331 H.J. Lu <hongjiu.lu@intel.com>
11332
7e54fd04 11333 [BZ #16275]
a4c75cfd
IZ
11334 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11335 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11336 * sysdeps/x86_64/configure: Regenerated.
11337 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11338 macro.
11339 (REGISTER_SAVE_RAX): Likewise.
11340 (REGISTER_SAVE_RCX): Likewise.
11341 (REGISTER_SAVE_RDX): Likewise.
11342 (REGISTER_SAVE_RSI): Likewise.
11343 (REGISTER_SAVE_RDI): Likewise.
11344 (REGISTER_SAVE_R8): Likewise.
11345 (REGISTER_SAVE_R9): Likewise.
11346 (REGISTER_SAVE_BND0): Likewise.
11347 (REGISTER_SAVE_BND1): Likewise.
11348 (REGISTER_SAVE_BND2): Likewise.
11349 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11350 bound registers when calling _dl_fixup.
11351
27822ce6
AZ
113522014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11353
11354 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
11355 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11356 of its definition.
27822ce6
AZ
11357 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11358 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11359 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11360 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11361 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11362 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11363 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11364
a88ddc90
PTB
113652014-04-09 Peter Brett <peter@peter-b.co.uk>
11366
11367 [BZ #15514]
11368 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11369 pathconf(_PC_NAME_MAX).
11370
01f8eac2
AZ
113712014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11372
11373 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11374 Remove macro usage.
11375 (__PTHREAD_SPINS): Move definition to ...
11376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11377 (__PTHREAD_SPINS): ... here.
11378 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11379 (__PTHREAD_SPIN): Likewise.
11380 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11381 (__PTHREAD_SPIN): Likewise.
11382 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11383 (__PTHREAD_SPIN): Likewise.
11384 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11385 (__PTHREAD_SPIN): Likewise.
11386 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11387 (__PTHREAD_SPIN): Likewise.
11388 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11389 (__PTHREAD_SPIN): Likewise.
11390 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11391 (__PTHREAD_SPIN): Likewise.
11392 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11393 (__PTHREAD_SPIN): Likewise.
11394 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11395 (__PTHREAD_SPIN): Likewise.
11396 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11397 (__PTHREAD_SPIN): Likewise.
11398 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11399 (__PTHREAD_SPIN): Likewise.
11400 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11401 (__PTHREAD_SPIN): Likewise.
11402
de21c33c
AZ
11403 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11404 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11405 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11406 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11407 imply folder.
11408 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11409 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11410 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11411 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11412 correct imply path.
11413 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11414 strlen symbol for non multi-arch builds.
11415 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11416 missing hidden_def and weak_alias.
11417
862c472e
CD
114182014-04-08 Carlos O'Donell <carlos@redhat.com>
11419
11420 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11421
8667f90e
WN
114222014-04-07 Will Newton <will.newton@linaro.org>
11423
11424 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11425 and contents. [!_LIBC] Remove #ifndef and contents.
11426 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11427 * string/memccpy.c (__memccpy): Use ANSI prototype.
11428 * string/memfrob.c (memfrob): Likewise.
11429 * string/strcoll.c (STRCOLL): Likewise.
11430 * string/strlen.c (strlen): Likewise.
11431 * string/strtok.c (STRTOK): Likewise.
11432 * string/strcat.c: Remove unused #include of memcopy.h.
11433 (strcat): Use ANSI prototype.
11434 * string/strchr.c: Remove unused #include of memcopy.h.
11435 (strchr): Use ANSI prototype.
11436 * string/strcmp.c: Remove unused #include of memcopy.h.
11437 (strcmp): Use ANSI prototype.
11438 * string/strcpy.c: Remove unused #include of memcopy.h.
11439 (strcpy): Use ANSI prototype.
11440
7ffa9423
AZ
114412014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11442
11443 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11444 * config.make.in (config-extra-cppflags): Set it from
11445 libc_extra_cppflags.
11446 * configure.ac (libc_extra_cflags): Make it accumulate over
11447 configure fragments.
11448 (libc_extra_cppflags): New flag.
11449 * configure. Regenerate.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
11451 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11452 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11454
8bd70862
AZ
11455 [BZ #16815]
11456 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11457 result for FE_DOWNWARD rounding mode.
11458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11459 Likewise.
11460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11461
d42f3448
CM
114622014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11463
11464 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11465 in function argument name.
11466
1c21d115
DS
114672014-04-03 David Svoboda <svoboda@cert.org>
11468
11469 [BZ #5666]
11470 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11471 explicitly.
11472
fcccd512
RM
114732014-04-03 Roland McGrath <roland@hack.frob.com>
11474
11475 * elf/dl-unmap-segments.h: New file.
11476 * sysdeps/generic/ldsodefs.h
11477 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11478 * elf/dl-close.c: Include <dl-unmap-segments.h>.
11479 * elf/dl-fptr.c: Likewise.
11480 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11481 * sysdeps/aarch64/tlsdesc.c: Likewise.
11482 * sysdeps/arm/tlsdesc.c: Likewise.
11483 * sysdeps/i386/tlsdesc.c: Likewise.
11484 * sysdeps/tile/dl-runtime.c: Likewise.
11485 * sysdeps/x86_64/tlsdesc.c: Likewise.
11486 * elf/dl-load.h: New file.
11487 * elf/dl-load.c: Include it.
11488 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11489 Macros moved to dl-load.h.
11490 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11491 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11492 Use _dl_unmap_segments in place of __munmap.
11493 Break out segment-mapping loop into ...
11494 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11495
f6488e2b
WN
114962014-04-03 Will Newton <will.newton@linaro.org>
11497
11498 * elf/dl-lookup.c (do_lookup_x): Remove comment
11499 referring to nested function and move variable
11500 declarations down to before first use.
11501
6f05bafe
JM
115022014-04-02 Joseph Myers <joseph@codesourcery.com>
11503
a84e78c8
JM
11504 [BZ #16799]
11505 [BZ #16800]
11506 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11507 with 0 numerator.
11508 * math/s_catanf.c (__catanf): Likewise.
11509 * math/s_catanh.c (__catanh): Likewise.
11510 * math/s_catanhf.c (__catanhf): Likewise.
11511 * math/s_catanhl.c (__catanhl): Likewise.
11512 * math/s_catanl.c (__catanl): Likewise.
11513 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11514 by positive zero when computing -Inf result.
11515 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11516 (catanh_test): Likewise.
11517 * sysdeps/i386/fpu/libm-test-ulps: Update.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11519
6f05bafe
JM
11520 [BZ #16789]
11521 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11522 instead of using underflowing value in computing result.
11523 * math/s_clog10.c (__clog10): Likewise.
11524 * math/s_clog10f.c (__clog10f): Likewise.
11525 * math/s_clog10l.c (__clog10l): Likewise.
11526 * math/s_clogf.c (__clogf): Likewise.
11527 * math/s_clogl.c (__clogl): Likewise.
11528 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11529 (clog10_test): Likewise.
11530 * sysdeps/i386/fpu/libm-test-ulps: Update.
11531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11532
b0abbc21
AM
115332014-04-02 Alan Modra <amodra@gmail.com>
11534
11535 [BZ #16739]
11536 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11537 output when value is near a power of two. Use int64_t for lx and
11538 remove casts. Use decimal rather than hex exponent constants.
11539 Don't use long double multiplication when double will suffice.
11540 * math/libm-test.inc (nextafter_test_data): Add tests.
11541 * NEWS: Add 16739 and 16786 to bug list.
11542
af6b1797
AM
11543 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11544
483818d7
AM
11545 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11546
f6c55796
WN
115472014-04-01 Will Newton <will.newton@linaro.org>
11548
11549 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11550 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
11551
13f7fe35
FW
115522014-04-01 Florian Weimer <fweimer@redhat.com>
11553
11554 [BZ #13347]
11555 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11556 * nptl/tst-setuid2.c: New file.
11557 * nptl/Makefile (xtests): Add tst-setuid2.
11558
c859b32e
AM
115592014-04-01 Alan Modra <amodra@gmail.com>
11560
11561 [BZ #16786]
11562 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11563
54fa2475
JM
115642014-03-31 Joseph Myers <joseph@codesourcery.com>
11565
8795b4a4
JM
11566 [BZ #6803]
11567 [BZ #6804]
11568 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11569 set errno as appropriate.
11570 * math/w_scalbf.c (__scalbf): Likewise.
11571 * math/w_scalbl.c (__scalbl): Likewise.
11572 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11573 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11574 * math/libm-test.inc (scalb_test_data): Add errno expectations.
11575 Add more NaN tests.
11576
54fa2475
JM
11577 [BZ #16349]
11578 * math/w_atan2.c: Include <errno.h>.
11579 (__atan2): Set errno for result underflowing to zero.
11580 * math/w_atan2f.c: Include <errno.h>.
11581 (__atan2f): Set errno for result underflowing to zero.
11582 * math/w_atan2l.c: Include <errno.h>.
11583 (__atan2l): Set errno for result underflowing to zero.
11584 * math/auto-libm-test-in: Don't allow missing errno for some atan2
11585 tests.
11586 * math/auto-libm-test-out: Regenerated.
11587
757d9dd5
AZ
115882014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589
11590 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11591 Encode instruction correctly in little endian.
11592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11593 Likewise.
11594 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11595 Likewise.
11596 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11597 Likewise.
11598 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11599 Likewise.
11600
d7a68734
JM
116012014-03-31 Joseph Myers <joseph@codesourcery.com>
11602
47c5adeb
JM
11603 [BZ #9894]
11604 * sysdeps/unix/sysv/linux/kernel-features.h
11605 [__sparc__ && !__arch64__ && !__sparc_v9__]
11606 (__ASSUME_SET_ROBUST_LIST): Do not define.
11607 [__sparc__ && !__arch64__ && !__sparc_v9__]
11608 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11609 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11610 Likewise.
11611 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11612 (__ASSUME_FUTEX_LOCK_PI): Undefine.
11613 (__ASSUME_REQUEUE_PI): Likewise.
11614 (__ASSUME_SET_ROBUST_LIST): Likewise.
11615 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11616 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11617 Undefine.
11618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11619 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11620 Likewise.
11621 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11622 Likewise.
11623 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11624 Likewise.
11625 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11626 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11627 Undefine.
11628 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11629 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11630 Likewise.
11631
d7a68734
JM
11632 [BZ #16648]
11633 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11634 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11635 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11636
c760f5c2
WN
116372014-03-31 Will Newton <will.newton@linaro.org>
11638
11639 * benchtests/Makefile (bench): Add ffs and ffsll to list
11640 of tests.
11641 * benchtests/ffs-inputs: New file.
11642 * benchtests/ffsll-inputs: Likewise.
11643
ea6029b1
JM
116442014-03-29 Joseph Myers <joseph@codesourcery.com>
11645
11646 [BZ #16770]
11647 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11648 too large before casting to int.
11649 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11650 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11651 * math/libm-test.inc (scalb_test_data): Add more tests.
11652
cf806aff
SP
116532014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11654
56737508
SP
11655 * benchtests/Makefile (DETAILED_OPT): New make option.
11656 (bench-func): Run benchmark program with -d if DETAILED_OPT is
11657 set.
11658 * benchtests/bench-skeleton.c: Include stdbool.h.
11659 (main): Store and print timings per input.
11660 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11661 member to each argument value.
11662 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11663 (_print_arg_data): Initialize per-input timing to 0.
11664
cb5e4aad
SP
11665 * benchtests/Makefile (timing-type): New binary.
11666 (bench-clean): Also remove bench-timing-type.
11667 (bench): New target for timing-type.
11668 (bench-func): Print output in JSON format.
11669 * benchtests/bench-skeleton.c (main): Print output in JSON
11670 format.
11671 * benchtests/bench-timing-type.c: New file.
11672 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11673 (TIMING_PRINT_STATS): Remove.
11674 * benchtests/scripts/bench.py (_print_arg_data): Store variant
11675 name separately.
11676
cf806aff
SP
11677 * benchtests/bench-modf.c: Remove.
11678 * benchtests/modf-inputs: New inputs file.
11679
289e0779
JM
116802014-03-28 Joseph Myers <joseph@codesourcery.com>
11681
11682 [BZ #16362]
11683 * math/s_clog10.c (M_PI_LOG10E): New macro.
11684 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11685 imaginary parts are 0.
11686 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11687 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11688 imaginary parts are 0.
11689 * math/s_clog10l.c (M_PI_LOG10El): New macro.
11690 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11691 imaginary parts are 0.
11692 * math/libm-test.inc (clog10_test_data): Update expected results
11693 for when real and imaginary parts are 0.
11694
277ae3f1
PP
116952014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
11696
11697 * elf/dl-load.c: Finish conversion of __builtin_expect into
11698 __glibc_{un}likely.
11699
03a7091f
JM
117002014-03-27 Joseph Myers <joseph@codesourcery.com>
11701
11702 [BZ #16348]
11703 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11704 1+x for argument with exponent below -67.
11705 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11706 Likewise.
11707 * math/auto-libm-test-in: Add more tests of exp.
11708 * math/auto-libm-test-out: Regenerated.
11709
ea7d8b95
SP
117102014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11711
dd3022d7
SP
11712 [BZ #16759]
11713 * inet/getnetgrent_r.c (get_nonempty_val): New function.
11714 (nscd_getnetgrent): Use it.
11715
ea7d8b95
SP
11716 [BZ #16760]
11717 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11718 of stpcpy.
11719
df5b85da
AK
117202014-03-27 Andi Kleen <ak@linux.intel.com>
11721
57f41c40
AS
11722 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11723 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11724 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11725 (lll_robust_unlock): Remove out of line section. Use cfi
11726 intrinsics.
df5b85da 11727 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
11728 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11729 (lll_robust_lock, lll_cond_lock, lll_timedlock)
11730 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11731 (lll_robust_unlock): Remove out of line section. Use cfi
11732 intrinsics.
df5b85da
AK
11733 (LLL_STUB_UNWIND_INFO*): Remove.
11734
fbd6b5a4
SP
117352014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11736
11737 [BZ #16758]
11738 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11739 blank values.
11740
1b26b855
PP
117412014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
11742
11743 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11744
9be36fb8
JM
117452014-03-26 Joseph Myers <joseph@codesourcery.com>
11746
11747 [BZ #16198]
11748 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11749 fnstenv.
11750 * math/test-fenv-preserve.c: New file.
11751 * math/Makefile (tests): Add test-fenv-preserve.
11752
60a2f3c1
WN
117532014-03-26 Will Newton <will.newton@linaro.org>
11754
11755 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11756
a5e5f1e2
RM
117572014-03-25 Roland McGrath <roland@hack.frob.com>
11758
11759 * scripts/versionlist.awk: Partition the version sets and emit all
11760 GLIBC_* (sorted) before all others (sorted).
11761
00f4012a
JM
117622014-03-25 Joseph Myers <joseph@codesourcery.com>
11763
11764 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11765 GLIBC_2.2.5 version.
11766
7bc5a741
AZ
117672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11768
11769 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11770 calls.
11771
7578473b
AZ
11772 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11773 previous change.
11774
f3f1dab3
AZ
11775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11776
6da36183
AS
117772014-03-25 Andreas Schwab <schwab@suse.de>
11778
11779 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11780 label to be used after in6ailist is initialized.
11781
f3f1dab3 117822014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 11783
7578473b 11784 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
11785 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11786
046651c1
JM
117872014-03-25 Joseph Myers <joseph@codesourcery.com>
11788
11789 [BZ #16357]
11790 [BZ #16599]
11791 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11792 min_plus_half.
11793 (fp_formats): Update initializers.
11794 (init_fp_formats): Initialize new field.
11795 (output_for_one_input_case): Allow underflow for results up to
11796 min_plus_half.
11797 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11798 * math/auto-libm-test-in: Don't mark some underflows from asin and
11799 atanh as spurious.
11800 * math/auto-libm-test-out: Regenerated.
11801 * sysdeps/i386/fpu/libm-test-ulps: Update.
11802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11803
003e49ed
AS
118042014-03-25 Andreas Schwab <schwab@suse.de>
11805
11806 * libio/Makefile (tst-ftell-partial-wide-ENV)
11807 (tst-ftell-active-handler-ENV): Define.
11808
de031874
SL
118092014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11810
11811 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11812
55a81e3b
PP
118132014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11814
11815 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11816
f3426898
JM
118172014-03-24 Joseph Myers <joseph@codesourcery.com>
11818
11819 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11820 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11821 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11822
a42faf59
PP
118232014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
11824
11825 [BZ #16634]
a42faf59 11826 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
11827 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11828 (open_path): Change from boolean 'secure' to complete flag 'mode'
11829 (_dl_map_object): Adjust.
a42faf59
PP
11830 * elf/Makefile (tests): Add tst-dlopen-aout.
11831 * elf/tst-dlopen-aout.c: New test.
11832
50936127
SL
118332014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11834
11835 [BZ #16714]
11836 * sysdeps/unix/sysv/linux/s390/bits/stat.h
11837 (struct stat): Rename member pad0 to __glibc_reserved0.
11838
26011b5c
SL
11839 [BZ #16712]
11840 * sysdeps/s390/s390-32/bits/wordsize.h
11841 (__WORDSIZE32_SIZE_ULONG): New define.
11842 * sysdeps/s390/s390-64/bits/wordsize.h
11843 (__WORDSIZE32_SIZE_ULONG): Likewise.
11844 * sysdeps/generic/stdint.h (SIZE_MAX):
11845 Define as UL if __WORDSIZE32_SIZE_ULONG.
11846
a2d86bf1
SL
11847 [BZ #16713]
11848 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11849 (__glibc_reserved0): New variable.
11850 (sa_flags): Change type to int.
11851
78b6eebc
SL
11852 * posix/Makefile (before-compile): Use += before-compile instead
11853 of a :=.
11854
f1399b5a
SL
11855 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11856 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11857
a071766e
AS
118582014-03-20 Andreas Schwab <schwab@suse.de>
11859
11860 [BZ #16743]
11861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11862 non-matching result from nscd.
11863
27c673b8
SP
118642014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11865
11866 * scripts/bench.py: Moved to ...
11867 * benchtests/scripts/bench.py: ... here.
11868 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11869
44152e4b
AS
118702014-03-24 Andreas Schwab <schwab@suse.de>
11871
11872 [BZ #16002]
11873 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11874 alloca_account and account alloca use for struct in6ailist.
11875
b376a11a
JM
118762014-03-24 Joseph Myers <joseph@codesourcery.com>
11877
11878 [BZ #16284]
11879 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11880 rounding mode to recompute results that overflow to infinity or
11881 underflow to zero.
11882 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11883 bug 16284.
11884 * math/auto-libm-test-out: Regenerated.
11885 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11886 (ccosh_test): Likewise.
11887 (csin_test_data): Use plus_oflow.
11888 (csin_test): Use ALL_RM_TEST.
11889 (csinh_test_data): Use plus_oflow.
11890 (csinh_test): Use ALL_RM_TEST.
11891 * sysdeps/i386/fpu/libm-test-ulps: Update.
11892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11893
f7be7376
JM
118942014-03-21 Joseph Myers <joseph@codesourcery.com>
11895
1ca2d03e
JM
11896 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11897 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11898 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11899
f7be7376
JM
11900 [BZ #16731]
11901 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11902 when x - 1 is zero.
11903 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11904 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11905 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11907 argument is 1.
11908 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11909 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11910 zero.
11911 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11912 * sysdeps/i386/fpu/libm-test-ulps: Update.
11913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11914
fdf4534d
SP
119152014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11916
df26ea53
SP
11917 * scripts/bench.pl: Remove file.
11918 * scripts/bench.py: New benchmark script.
11919 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11920 * benchtests/README: Mention python dependency.
11921 * scripts/pylintrc: New file.
11922 * scripts/pylint: New file.
11923
fdf4534d
SP
11924 * bits/mathdef.h: Use #ifdef instead of #if.
11925 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11926 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11927 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11928 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11929 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11930 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11931
6f23d093
AZ
119322014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11933 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11934
11935 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11937 and strpbrk-ppc64 objects.
11938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11939 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11940 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11941 multiarch strpbrk for POWER7.
11942 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11943 multiarch strpbrk for PPC64.
11944 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11945 ifunc selector.
11946 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11947 strpbrk for POWER7.
11948
8c92dfff
JM
119492014-03-20 Joseph Myers <joseph@codesourcery.com>
11950
11951 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11952 (atan_test): Likewise.
11953 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11954 (atanh_test): Use ALL_RM_TEST.
11955 (atan2_test_data): Likewise.
11956 (cabs_test): Likewise.
11957 (cacosh_test): Likewise.
11958 (carg_test): Likewise.
11959 (casin_test): Likewise.
11960 (casinh_test): Likewise.
11961 (cbrt_test): Likewise.
11962 (csqrt_test): Likewise.
11963 (erf_test): Likewise.
11964 (erfc_test): Likewise.
11965 (pow10_test): Likewise.
11966 (exp2_test): Likewise.
11967 (hypot_test): Likewise.
11968 (j0_test): Likewise.
11969 (j1_test): Likewise.
11970 (lgamma_test): Likewise.
11971 (gamma_test): Likewise.
11972 (sincos_test): Likewise.
11973 (tanh_test): Likewise.
11974 (y0_test): Likewise.
11975 (y1_test): Likewise.
11976 * sysdeps/i386/fpu/libm-test-ulps: Update.
11977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11978
6eaf95cb
AZ
119792014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11980
a387428c
SP
11981 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11982 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11983 and strcspn-ppc64 objects.
11984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11985 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11986 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11987 multiarch strcspn for POWER7.
11988 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11989 multiarch strcspn for PPC64.
11990 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11991 ifunc selector.
11992 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11993 strcspn for POWER7.
11994
ae3a5dff
JM
119952014-03-20 Joseph Myers <joseph@codesourcery.com>
11996
11997 * math/gen-libm-test.pl (generate_testfile): Expect only function
11998 name as argument to AUTO_TESTS_* and pass results for all rounding
11999 modes to parse_args.
12000 (parse_auto_input): Separate inputs of automatic tests from
12001 outputs before storing in %auto_tests.
12002 * math/libm-test.inc (acos_test_data): Update call to
12003 AUTO_TESTS_f_f.
12004 (acos_test): Use ALL_RM_TEST.
12005 (acos_tonearest_test_data): Remove.
12006 (acos_test_tonearest): Likewise.
12007 (acos_towardzero_test_data): Likewise.
12008 (acos_test_towardzero): Likewise.
12009 (acos_downward_test_data): Likewise.
12010 (acos_test_downward): Likewise.
12011 (acos_upward_test_data): Likewise.
12012 (acos_test_upward): Likewise.
12013 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12014 (asin_test_data): Likewise.
12015 (asin_test): Use ALL_RM_TEST.
12016 (asin_tonearest_test_data): Remove.
12017 (asin_test_tonearest): Likewise.
12018 (asin_towardzero_test_data): Likewise.
12019 (asin_test_towardzero): Likewise.
12020 (asin_downward_test_data): Likewise.
12021 (asin_test_downward): Likewise.
12022 (asin_upward_test_data): Likewise.
12023 (asin_test_upward): Likewise.
12024 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12025 (atan_test_data): Likewise.
12026 (atanh_test_data): Likewise.
12027 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12028 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12029 (carg_test_data): Likewise.
12030 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12031 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12032 (ccosh_test_data): Likewise.
12033 (cexp_test_data): Likewise.
12034 (clog_test_data): Likewise.
12035 (clog10_test_data): Likewise.
12036 (cos_test_data): Update call to AUTO_TESTS_f_f.
12037 (cos_test): Use ALL_RM_TEST.
12038 (cos_tonearest_test_data): Remove.
12039 (cos_test_tonearest): Likewise.
12040 (cos_towardzero_test_data): Likewise.
12041 (cos_test_towardzero): Likewise.
12042 (cos_downward_test_data): Likewise.
12043 (cos_test_downward): Likewise.
12044 (cos_upward_test_data): Likewise.
12045 (cos_test_upward): Likewise.
12046 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12047 (cosh_test): Use ALL_RM_TEST.
12048 (cosh_tonearest_test_data): Remove.
12049 (cosh_test_tonearest): Likewise.
12050 (cosh_towardzero_test_data): Likewise.
12051 (cosh_test_towardzero): Likewise.
12052 (cosh_downward_test_data): Likewise.
12053 (cosh_test_downward): Likewise.
12054 (cosh_upward_test_data): Likewise.
12055 (cosh_test_upward): Likewise.
12056 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12057 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12058 (ctan_test_data): Likewise.
12059 (ctan_test): Use ALL_RM_TEST.
12060 (ctan_tonearest_test_data): Remove.
12061 (ctan_test_tonearest): Likewise.
12062 (ctan_towardzero_test_data): Likewise.
12063 (ctan_test_towardzero): Likewise.
12064 (ctan_downward_test_data): Likewise.
12065 (ctan_test_downward): Likewise.
12066 (ctan_upward_test_data): Likewise.
12067 (ctan_test_upward): Likewise.
12068 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12069 (ctanh_test): Use ALL_RM_TEST.
12070 (ctanh_tonearest_test_data): Remove.
12071 (ctanh_test_tonearest): Likewise.
12072 (ctanh_towardzero_test_data): Likewise.
12073 (ctanh_test_towardzero): Likewise.
12074 (ctanh_downward_test_data): Likewise.
12075 (ctanh_test_downward): Likewise.
12076 (ctanh_upward_test_data): Likewise.
12077 (ctanh_test_upward): Likewise.
12078 (erf_test_data): Update call to AUTO_TESTS_f_f.
12079 (erfc_test_data): Likewise.
12080 (exp_test_data): Likewise.
12081 (exp_test): Use ALL_RM_TEST.
12082 (exp_tonearest_test_data): Remove.
12083 (exp_test_tonearest): Likewise.
12084 (exp_towardzero_test_data): Likewise.
12085 (exp_test_towardzero): Likewise.
12086 (exp_downward_test_data): Likewise.
12087 (exp_test_downward): Likewise.
12088 (exp_upward_test_data): Likewise.
12089 (exp_test_upward): Likewise.
12090 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12091 (exp10_test): Use ALL_RM_TEST.
12092 (exp10_tonearest_test_data): Remove.
12093 (exp10_test_tonearest): Likewise.
12094 (exp10_towardzero_test_data): Likewise.
12095 (exp10_test_towardzero): Likewise.
12096 (exp10_downward_test_data): Likewise.
12097 (exp10_test_downward): Likewise.
12098 (exp10_upward_test_data): Likewise.
12099 (exp10_test_upward): Likewise.
12100 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12101 (expm1_test_data): Likewise.
12102 (expm1_test): Use ALL_RM_TEST.
12103 (expm1_tonearest_test_data): Remove.
12104 (expm1_test_tonearest): Likewise.
12105 (expm1_towardzero_test_data): Likewise.
12106 (expm1_test_towardzero): Likewise.
12107 (expm1_downward_test_data): Likewise.
12108 (expm1_test_downward): Likewise.
12109 (expm1_upward_test_data): Likewise.
12110 (expm1_test_upward): Likewise.
12111 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12112 (fma_test): Use ALL_RM_TEST.
12113 (fma_towardzero_test_data): Remove.
12114 (fma_test_towardzero): Likewise.
12115 (fma_downward_test_data): Likewise.
12116 (fma_test_downward): Likewise.
12117 (fma_upward_test_data): Likewise.
12118 (fma_test_upward): Likewise.
12119 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12120 (j0_test_data): Update call to AUTO_TESTS_f_f.
12121 (j1_test_data): Likewise.
12122 (jn_test_data): Update call to AUTO_TESTS_if_f.
12123 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12124 (log_test_data): Update call to AUTO_TESTS_f_f.
12125 (log10_test_data): Likewise.
12126 (log1p_test_data): Likewise.
12127 (log2_test_data): Likewise.
12128 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12129 (pow_tonearest_test_data): Likewise.
12130 (sin_test_data): Update call to AUTO_TESTS_f_f.
12131 (sin_test): Use ALL_RM_TEST.
12132 (sin_tonearest_test_data): Remove.
12133 (sin_test_tonearest): Likewise.
12134 (sin_towardzero_test_data): Likewise.
12135 (sin_test_towardzero): Likewise.
12136 (sin_downward_test_data): Likewise.
12137 (sin_test_downward): Likewise.
12138 (sin_upward_test_data): Likewise.
12139 (sin_test_upward): Likewise.
12140 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12141 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12142 (sinh_test): Use ALL_RM_TEST.
12143 (sinh_tonearest_test_data): Remove.
12144 (sinh_test_tonearest): Likewise.
12145 (sinh_towardzero_test_data): Likewise.
12146 (sinh_test_towardzero): Likewise.
12147 (sinh_downward_test_data): Likewise.
12148 (sinh_test_downward): Likewise.
12149 (sinh_upward_test_data): Likewise.
12150 (sinh_test_upward): Likewise.
12151 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12152 (sqrt_test): Use ALL_RM_TEST.
12153 (sqrt_tonearest_test_data): Remove.
12154 (sqrt_test_tonearest): Likewise.
12155 (sqrt_towardzero_test_data): Likewise.
12156 (sqrt_test_towardzero): Likewise.
12157 (sqrt_downward_test_data): Likewise.
12158 (sqrt_test_downward): Likewise.
12159 (sqrt_upward_test_data): Likewise.
12160 (sqrt_test_upward): Likewise.
12161 (tan_test_data): Update call to AUTO_TESTS_f_f.
12162 (tan_test): Use ALL_RM_TEST.
12163 (tan_tonearest_test_data): Remove.
12164 (tan_test_tonearest): Likewise.
12165 (tan_towardzero_test_data): Likewise.
12166 (tan_test_towardzero): Likewise.
12167 (tan_downward_test_data): Likewise.
12168 (tan_test_downward): Likewise.
12169 (tan_upward_test_data): Likewise.
12170 (tan_test_upward): Likewise.
12171 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12172 (tgamma_test_data): Likewise.
12173 (y0_test_data): Likewise.
12174 (y1_test_data): Likewise.
12175 (yn_test_data): Update call to AUTO_TESTS_if_f.
12176 (main): Do not call removed functions.
12177
d71aeee8
JM
121782014-03-19 Joseph Myers <joseph@codesourcery.com>
12179
12180 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12181 (ldexp_test_data): Remove.
12182 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12183 scalbn_test_data.
12184 (scalb_test): Use ALL_RM_TEST.
12185
baaf1ded
AS
121862014-03-19 Andreas Schwab <schwab@suse.de>
12187
12188 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12189
b1115e91
JM
121902014-03-19 Joseph Myers <joseph@codesourcery.com>
12191
12192 [BZ #16649]
12193 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12194 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12195 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12197 (__ASSUME_PREADV): Undefine.
12198 (__ASSUME_PWRITEV): Likewise.
12199
0283ecca
RM
122002014-03-18 Roland McGrath <roland@hack.frob.com>
12201
7d375303
RM
12202 * bits/mman-linux.h: Add comment about non-Linux use.
12203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12204 bits/mman-linux.h resting place.
12205
0283ecca
RM
12206 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12207 * bits/mman-linux.h: ... here.
12208
aebe1003
AZ
122092014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12210
12211 * conform/conformtest.pl: Add standard definition when calling C
12212 preprocessor on data files.
12213 (checknamespace): Remove unused variable.
12214
b29b6bb8
JM
122152014-03-18 Joseph Myers <joseph@codesourcery.com>
12216
12217 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12218 minus_oflow, plus_uflow and minus_uflow in expected results.
12219 * math/libm-test.inc (scalbn_test_data): Add more tests of
12220 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12221 minus_uflow.
12222 (scalbn_test): Use ALL_RM_TEST.
12223 (scalbln_test_data): Add more tests of negative arguments. Use
12224 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12225 (scalbln_test): Use ALL_RM_TEST.
12226
c8f8fa15
RM
122272014-03-18 Roland McGrath <roland@hack.frob.com>
12228
12229 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12230
fede7a5f
WN
122312014-03-18 Will Newton <will.newton@linaro.org>
12232
12233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12234 inaccurate comment.
12235
80cf0a58
JM
122362014-03-18 Joseph Myers <joseph@codesourcery.com>
12237
12238 * Makerules [!subdir] (check-abi): Exit with error status if a
12239 test failed.
12240
b3620862
JM
122412014-03-17 Joseph Myers <joseph@codesourcery.com>
12242
12243 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12244 for rint. Include results for all rounding modes.
12245 (nearbyint_test): Use ALL_RM_TEST.
12246 (rint_test_data): Include all tests used for nearbyint.
12247
788bba36
WN
122482014-03-17 Will Newton <will.newton@linaro.org>
12249
04ec140a
WN
12250 * nptl/sysdeps/pthread/pthread.h: Revert previous
12251 change.
12252
7579d8d5
WN
12253 * sysdeps/generic/ldsodefs.h: Revert previous
12254 change.
12255
c15cf13a
WN
12256 * libio/genops.c: Revert previous change.
12257 * libio/libioP.h: Likewise.
12258 * stdio-common/vfprintf.c: Likewise.
12259
d0ac1324
WN
12260 * sysdeps/generic/math_private.h: Revert previous
12261 change.
12262
9290130a
WN
12263 * sysdeps/generic/math_private.h: Check whether
12264 HAVE_RM_CTX is defined with #ifdef rather
12265 than #if.
12266
afb466fc
WN
12267 * argp/argp-fmtstream.h: Check whether
12268 __STRICT_ANSI__ is defined with #ifdef rather
12269 than #if.
12270 * argp/argp.h: Likewise.
12271
f7efd7c3
WN
12272 * libio/genops.c: Check whether
12273 _IO_JUMPS_OFFSET is defined with #ifdef rather
12274 than #if.
12275 * libio/libioP.h: Likewise.
12276 * stdio-common/vfprintf.c: Likewise.
12277
53f1bed3
WN
12278 * sysdeps/generic/ldsodefs.h: Check whether
12279 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12280 than #if.
12281
788bba36
WN
12282 * nptl/sysdeps/pthread/pthread.h: Check
12283 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12284 its value.
12285
fcd89ebe
SP
122862014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12287
ae42bbc5
SP
12288 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12289 setting O_APPEND.
12290 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12291 test case.
12292
ea33158c
SP
12293 [BZ #16680]
12294 * libio/fileops.c (_IO_file_open): Seek to end of file but
12295 don't cache the offset.
12296 (get_file_offset): Remove function.
12297 (do_ftell): Use cached offset when available.
12298 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12299 don't cache the offset.
12300 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12301 case.
12302 (do_one_test): Call it.
12303 (do_ftell_test): Fix up expected old offset for a+ mode.
12304 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12305 available.
12306
b1dbb426
SP
12307 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12308 up test status with function return status.
12309 (do_write_test): Likewise.
12310 (do_append_test): Likewise.
12311
fcd89ebe
SP
12312 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12313 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12314 Remove.
12315
9962a2d3
JM
123162014-03-17 Joseph Myers <joseph@codesourcery.com>
12317
12318 * math/gen-libm-test.pl (parse_args): Handle results specified for
12319 each rounding mode separately.
12320 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12321 tests and results from lrint_tonearest_test_data,
12322 lrint_towardzero_test_data, lrint_downward_test_data and
12323 lrint_upward_test_data.
12324 (lrint_test): Use ALL_RM_TEST.
12325 (lrint_tonearest_test_data): Remove.
12326 (lrint_test_tonearest): Likewise.
12327 (lrint_towardzero_test_data): Likewise.
12328 (lrint_test_towardzero): Likewise.
12329 (lrint_downward_test_data): Likewise.
12330 (lrint_test_downward): Likewise.
12331 (lrint_upward_test_data): Likewise.
12332 (lrint_test_upward): Likewise.
12333 (llrint_test_data): Merge in per-rounding-mode tests and results
12334 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12335 llrint_downward_test_data and llrint_upward_test_data.
12336 (llrint_test): Use ALL_RM_TEST.
12337 (llrint_tonearest_test_data): Remove.
12338 (llrint_test_tonearest): Likewise.
12339 (llrint_towardzero_test_data): Likewise.
12340 (llrint_test_towardzero): Likewise.
12341 (llrint_downward_test_data): Likewise.
12342 (llrint_test_downward): Likewise.
12343 (llrint_upward_test_data): Likewise.
12344 (llrint_test_upward): Likewise.
12345 (rint_test_data): Merge in per-rounding-mode tests and results
12346 from rint_tonearest_test_data, rint_towardzero_test_data,
12347 rint_downward_test_data and rint_upward_test_data. Add
12348 per-rounding-mode results for tests not in those arrays.
12349 (rint_test): Use ALL_RM_TEST.
12350 (rint_tonearest_test_data): Remove.
12351 (rint_test_tonearest): Likewise.
12352 (rint_towardzero_test_data): Likewise.
12353 (rint_test_towardzero): Likewise.
12354 (rint_downward_test_data): Likewise.
12355 (rint_test_downward): Likewise.
12356 (rint_upward_test_data): Likewise.
12357 (rint_test_upward): Likewise.
12358 (main): Don't call removed functions.
12359
5006148e
RM
123602014-03-14 Roland McGrath <roland@hack.frob.com>
12361
12362 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12363 "Compiled on ..." crapola. It is anti-useful.
12364
d6fe5e58
JM
123652014-03-14 Joseph Myers <joseph@codesourcery.com>
12366
12367 * scripts/evaluate-test.sh: Handle fourth argument to determine
12368 whether test run should stop on failure.
12369 * Makeconfig (stop-on-test-failure): New variable.
12370 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12371 $(stop-on-test-failure).
12372 * Makefile (tests): Give a summary of results from testing and
12373 exit with failure status if they include an ERROR or FAIL.
12374 (xtests): Likewise.
12375 * manual/install.texi (Configuring and compiling): Mention
12376 stop-on-test-failure=y.
12377 * INSTALL: Regenerated.
12378
498a2233
RM
123792014-03-14 Roland McGrath <roland@hack.frob.com>
12380
22dbc19d
RM
12381 * scripts/versionlist.awk: New file.
12382 * Makerules [$(build-shared) = yes]
12383 (postclean-generated): Add Versions.def, not Versions.def.v and
12384 Versions.def.v.i.
12385 ($(common-objpfx)Versions.def.v.i): Target removed.
12386 ($(common-objpfx)Versions.def): New target.
12387 ($(common-objpfx)Versions.all): Depend on that rather that
12388 $(common-objpfx)Versions.def.v.
12389 * Versions.def: File removed.
12390
498a2233
RM
12391 * Makeconfig (+gccwarn): Add -Wundef.
12392 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12393 a dl-sysdep.h breaking its contract.
12394 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12395 * include/stackinfo.h: New file.
12396 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12397 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12398 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12399 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12400 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12401 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12402 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12403 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12404 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12405 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12406 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12407 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12408 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12409 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12410 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12411
c7de5025
AZ
124122014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12413
12414 [BZ #16707]
12415 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12416 implementation.
12417 * math/libm-test.inc (round_test_data): Add more tests.
12418
98fb27a3
AZ
12419 [BZ #16706]
12420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12421 implementation.
12422 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12423
374f7f61
AZ
12424 [BZ #16701]
12425 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12426 implementation.
12427 * math/libm-test.inc (ceil_test_data): Add more tests.
12428
4655c291
AZ
12429 * math/libm-test.inc (trunc_test_data): Add more tests related to
12430 BZ#16414.
12431
d7329d4b
RM
124322014-03-14 Roland McGrath <roland@hack.frob.com>
12433
12434 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12435 with #if rather than #ifdef.
12436 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12437
aa4de9ce
L
124382014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12441 first. Disable AVX-512 GCC support if assembler doesn't support
12442 it.
12443 * sysdeps/x86_64/configure: Regenerated.
12444
2e03fae7
CD
124452014-03-13 Carlos O'Donell <carlos@redhat.com>
12446
12447 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12448 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12449 (__old_pthread_attr_setstack): Likewise.
12450 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12451 [!_STACK_GROWS_DOWN]: Likewise.
12452
43ca83ec
MF
124532014-03-13 Mike Frysinger <vapier@gentoo.org>
12454
12455 * config.make.in (have-bash2): Delete.
12456 * configure.ac (libc_cv_have_bash2): Delete.
12457 * configure: Regenerate.
12458 * elf/Makefile (common-ldd-rewrite): Rename to ...
12459 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12460 (sh-ldd-rewrite): Delete.
12461 (bash-ldd-rewrite): Delete.
12462 (have-bash2): Delete checks.
57f41c40
AS
12463 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12464 ldd-rewrite.
c66e48b4
MF
12465
12466 * config.make.in (have-ksh): Delete.
12467 (KSH): Delete.
12468 * configure.ac (libc_cv_have_ksh): Delete.
12469 * configure: Regenerate.
12470
b93834ef
MF
12471 * elf/Makefile: Delete $(have-ksh) check.
12472 ($(objpfx)sotruss): Change KSH to BASH.
12473 * elf/sotruss.ksh: Rename to ...
12474 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
12475 function style to match POSIX. Drop ksh vim mode setting.
12476
f3a4632a
MF
12477 * manual/time.texi (Specifying the Time Zone with TZ): Change
12478 Tuesday to Thursday.
12479
5896c8bd
MF
12480 * debug/tst-longjmp_chk2.c: Update header comment.
12481 (stackoverflow_handler): Add comment. Call assert on pass value.
12482
2d63a517
IZ
124832014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
12484
7e54fd04 12485 [BZ #16194]
2d63a517
IZ
12486 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12487 (HAVE_AVX512_ASM_SUPPORT): Likewise.
12488 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12489 (La_x86_64_vector): Add zmm.
12490 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12491 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12492 ($(objpfx)tst-audit10): New target.
12493 ($(objpfx)tst-audit10.out): Likewise.
12494 (tst-audit10-ENV): New.
12495 (AVX512-CFLAGS): Likewise.
12496 (CFLAGS-tst-audit10.c): Likewise.
12497 (CFLAGS-tst-auditmod10a.c): Likewise.
12498 (CFLAGS-tst-auditmod10b.c): Likewise.
12499 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12500 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12501 * sysdeps/x86_64/configure: Regenerated.
12502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12503 AVX-512 zmm register support.
12504 (_dl_x86_64_save_sse): Likewise.
12505 (_dl_x86_64_restore_sse): Likewise.
12506 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12507 size vector registers.
12508 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12509 (ZMM_SIZE): Likewise.
12510 * sysdeps/x86_64/tst-audit10.c: New file.
12511 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12512 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12513
44c4e5d5
RM
125142014-03-13 Roland McGrath <roland@hack.frob.com>
12515
12516 * configure.ac (HAVE_EHDR_START): New check.
12517 * configure: Regenerated.
12518 * config.h.in (HAVE_EHDR_START): New #undef.
12519 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12520 assuming the lowest-addressed segment maps the start of the file.
12521
acd6e389
JM
125222014-03-13 Joseph Myers <joseph@codesourcery.com>
12523
12524 * INSTALL: Regenerated.
12525
6f918f36
WN
125262014-03-13 Will Newton <will.newton@linaro.org>
12527
12528 * manual/setjmp.texi (System V contexts): Improve
12529 clarity and grammar of documentation.
12530
798212a0
PP
125312014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
12532
12533 [BZ #16381]
798212a0 12534 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 12535 (tests-pie): Add tst-pie2.
798212a0
PP
12536 * elf/tst-pie2.c: New file.
12537 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12538 for ET_EXEC.
12539 * elf/rtld.c (map_doit): Load executable as lt_executable.
12540 (dl_main): Likewise.
12541
abe6d90c
JM
125422014-03-12 Joseph Myers <joseph@codesourcery.com>
12543
12544 [BZ #16642]
12545 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12546 (__ASSUME_PSELECT): Undefine.
12547
dd3946c6
AZ
125482014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12549
12550 [BZ #16689]
12551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12552 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12553 static build.
12554 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12555 selector for static builds.
12556
c44496df
SP
125572014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12558
12559 [BZ #16695]
12560 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12561 key in the buffer.
12562
27c7220a
AZ
125632014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12564
57f41c40
AS
12565 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12566 IFUNC selector for static builds.
27c7220a 12567
600fa361
JM
125682014-03-11 Joseph Myers <joseph@codesourcery.com>
12569
76c96cf7
JM
12570 * sysdeps/mips/math_private.h [__mips_hard_float]
12571 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12572 libc_feresetround_mips_ctx.
12573 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12574 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12575 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12576
600fa361
JM
12577 [BZ #16677]
12578 * math/s_nextafter.c (__nextafter): Do not return value from
12579 overflowing computation.
12580 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12581 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12582 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12583 Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12585 Likewise.
12586 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12587 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12588
d7706c32
RM
125892014-03-11 Roland McGrath <roland@hack.frob.com>
12590
12591 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12592 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12593 Move sfi_sp use from the load-multiple (that no longer sets sp) to
12594 the new mov targetting sp.
12595
4facea47
AZ
125962014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12597
12598 [BZ #16683]
12599 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12600 Define it for static builds as well.
12601 (NO_BZERO_IMPL): Likewise.
12602
e65caf1f
VR
126032014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12604
12605 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12606 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12607 multiarch strspn for PPC64.
12608 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12609 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12611 (__libc_ifunc_impl_list): Likewise.
12612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12613 multiarch optimizations
12614 * string/strspn.c (strspn): Using macro to redefine symbol name.
12615
ba9cc071
AZ
126162014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12617 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12618
12619 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12620 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12621 multiarch strncat for PPC64.
12622 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12623 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12625 (__libc_ifunc_impl_list): Likewise.
12626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12627 multiarch optimizations
12628
8b4ff974
SP
126292014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12630
12631 [BZ #16639]
12632 * nscd/nscd.service: Make service type forking.
12633
54b46a4b
AZ
126342014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12635
12636 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12637 sign in non default rounding modes.
12638 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12639
e9996ef7
JM
126402014-03-08 Joseph Myers <joseph@codesourcery.com>
12641
12642 * math/libm-test.inc (ALL_RM_TEST): New macro.
12643 (ceil_test): Use ALL_RM_TEST.
12644 (cimag_test): Likewise.
12645 (conj_test): Likewise.
12646 (copysign_test): Likewise.
12647 (cproj_test): Likewise.
12648 (creal_test): Likewise.
12649 (fabs_test): Likewise.
12650 (floor_test): Likewise.
12651 (fmax_test): Likewise.
12652 (fmin_test): Likewise.
12653 (fmod_test): Likewise.
12654 (fpclassify_test): Likewise.
12655 (frexp_test): Likewise.
12656 (ilogb_test): Likewise.
12657 (isfinite_test): Likewise.
12658 (finite_test): Likewise.
12659 (isgreater_test): Likewise.
12660 (isgreaterequal_test): Likewise.
12661 (isinf_test): Likewise.
12662 (isless_test): Likewise.
12663 (islessequal_test): Likewise.
12664 (islessgreater_test): Likewise.
12665 (isnan_test): Likewise.
12666 (isnormal_test): Likewise.
12667 (issignaling_test): Likewise.
12668 (isunordered_test): Likewise.
12669 (logb_test): Likewise.
12670 (logb_downward_test_data): Remove.
12671 (logb_test_downward): Likewise.
12672 (lround_test): Use ALL_RM_TEST.
12673 (llround_test): Likewise.
12674 (modf_test): Likewise.
12675 (nexttoward_test): Likewise.
12676 (remainder_test): Likewise.
12677 (drem_test): Likewise.
12678 (remainder_tonearest_test_data): Likewise.
12679 (remainder_test_tonearest): Likewise.
12680 (drem_test_tonearest): Likewise.
12681 (remainder_towardzero_test_data): Likewise.
12682 (remainder_test_towardzero): Likewise.
12683 (drem_test_towardzero): Likewise.
12684 (remainder_downward_test_data): Likewise.
12685 (remainder_test_downward): Likewise.
12686 (drem_test_downward): Likewise.
12687 (remainder_upward_test_data): Likewise.
12688 (remainder_test_upward): Likewise.
12689 (drem_test_upward): Likewise.
12690 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
12691 (round_test): Use ALL_RM_TEST.
12692 (signbit_test): Likewise.
12693 (trunc_test): Likewise.
12694 (significand_test): Likewise.
12695 (main): Don't call removed functions.
12696
bc61d27c
JM
126972014-03-07 Joseph Myers <joseph@codesourcery.com>
12698
5c780849
JM
12699 [BZ #16674]
12700 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12701 || __USE_XOPEN2K8].
12702 (ILL_ILLOPN): Likewise.
12703 (ILL_ILLADR): Likewise.
12704 (ILL_ILLTRP): Likewise.
12705 (ILL_PRVOPC): Likewise.
12706 (ILL_PRVREG): Likewise.
12707 (ILL_COPROC): Likewise.
12708 (ILL_BADSTK): Likewise.
12709 (FPE_INTDIV): Likewise.
12710 (FPE_INTOVF): Likewise.
12711 (FPE_FLTDIV): Likewise.
12712 (FPE_FLTOVF): Likewise.
12713 (FPE_FLTUND): Likewise.
12714 (FPE_FLTRES): Likewise.
12715 (FPE_FLTINV): Likewise.
12716 (FPE_FLTSUB): Likewise.
12717 (SEGV_MAPERR): Likewise.
12718 (SEGV_ACCERR): Likewise.
12719 (BUS_ADRALN): Likewise.
12720 (BUS_ADRERR): Likewise.
12721 (BUS_OBJERR): Likewise.
12722 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12723 (TRAP_TRACE): Likewise.
12724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12725 __USE_XOPEN2K8].
12726 (CLD_KILLED): Likewise.
12727 (CLD_DUMPED): Likewise.
12728 (CLD_TRAPPED): Likewise.
12729 (CLD_STOPPED): Likewise.
12730 (CLD_CONTINUED): Likewise.
12731 (POLL_IN): Likewise.
12732 (POLL_OUT): Likewise.
12733 (POLL_MSG): Likewise.
12734 (POLL_ERR): Likewise.
12735 (POLL_PRI): Likewise.
12736 (POLL_HUP): Likewise.
12737 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12738 Likewise.
12739 (ILL_ILLOPN): Likewise.
12740 (ILL_ILLADR): Likewise.
12741 (ILL_ILLTRP): Likewise.
12742 (ILL_PRVOPC): Likewise.
12743 (ILL_PRVREG): Likewise.
12744 (ILL_COPROC): Likewise.
12745 (ILL_BADSTK): Likewise.
12746 (FPE_INTDIV): Likewise.
12747 (FPE_INTOVF): Likewise.
12748 (FPE_FLTDIV): Likewise.
12749 (FPE_FLTOVF): Likewise.
12750 (FPE_FLTUND): Likewise.
12751 (FPE_FLTRES): Likewise.
12752 (FPE_FLTINV): Likewise.
12753 (FPE_FLTSUB): Likewise.
12754 (SEGV_MAPERR): Likewise.
12755 (SEGV_ACCERR): Likewise.
12756 (BUS_ADRALN): Likewise.
12757 (BUS_ADRERR): Likewise.
12758 (BUS_OBJERR): Likewise.
12759 (BUS_MCEERR_AR): Likewise.
12760 (BUS_MCEERR_AO): Likewise.
12761 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12762 (TRAP_TRACE): Likewise.
12763 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12764 __USE_XOPEN2K8].
12765 (CLD_KILLED): Likewise.
12766 (CLD_DUMPED): Likewise.
12767 (CLD_TRAPPED): Likewise.
12768 (CLD_STOPPED): Likewise.
12769 (CLD_CONTINUED): Likewise.
12770 (POLL_IN): Likewise.
12771 (POLL_OUT): Likewise.
12772 (POLL_MSG): Likewise.
12773 (POLL_ERR): Likewise.
12774 (POLL_PRI): Likewise.
12775 (POLL_HUP): Likewise.
12776 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12777 (ILL_ILLOPN): Likewise.
12778 (ILL_ILLADR): Likewise.
12779 (ILL_ILLTRP): Likewise.
12780 (ILL_PRVOPC): Likewise.
12781 (ILL_PRVREG): Likewise.
12782 (ILL_COPROC): Likewise.
12783 (ILL_BADSTK): Likewise.
12784 (FPE_INTDIV): Likewise.
12785 (FPE_INTOVF): Likewise.
12786 (FPE_FLTDIV): Likewise.
12787 (FPE_FLTOVF): Likewise.
12788 (FPE_FLTUND): Likewise.
12789 (FPE_FLTRES): Likewise.
12790 (FPE_FLTINV): Likewise.
12791 (FPE_FLTSUB): Likewise.
12792 (SEGV_MAPERR): Likewise.
12793 (SEGV_ACCERR): Likewise.
12794 (BUS_ADRALN): Likewise.
12795 (BUS_ADRERR): Likewise.
12796 (BUS_OBJERR): Likewise.
12797 (BUS_MCEERR_AR): Likewise.
12798 (BUS_MCEERR_AO): Likewise.
12799 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12800 (TRAP_TRACE): Likewise.
12801 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12802 __USE_XOPEN2K8].
12803 (CLD_KILLED): Likewise.
12804 (CLD_DUMPED): Likewise.
12805 (CLD_TRAPPED): Likewise.
12806 (CLD_STOPPED): Likewise.
12807 (CLD_CONTINUED): Likewise.
12808 (POLL_IN): Likewise.
12809 (POLL_OUT): Likewise.
12810 (POLL_MSG): Likewise.
12811 (POLL_ERR): Likewise.
12812 (POLL_PRI): Likewise.
12813 (POLL_HUP): Likewise.
12814 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12815 Likewise.
12816 (ILL_ILLOPN): Likewise.
12817 (ILL_ILLADR): Likewise.
12818 (ILL_ILLTRP): Likewise.
12819 (ILL_PRVOPC): Likewise.
12820 (ILL_PRVREG): Likewise.
12821 (ILL_COPROC): Likewise.
12822 (ILL_BADSTK): Likewise.
12823 (ILL_BADIADDR): Likewise.
12824 (ILL_BREAK): Likewise.
12825 (FPE_INTDIV): Likewise.
12826 (FPE_INTOVF): Likewise.
12827 (FPE_FLTDIV): Likewise.
12828 (FPE_FLTOVF): Likewise.
12829 (FPE_FLTUND): Likewise.
12830 (FPE_FLTRES): Likewise.
12831 (FPE_FLTINV): Likewise.
12832 (FPE_FLTSUB): Likewise.
12833 (FPE_DECOVF): Likewise.
12834 (FPE_DECDIV): Likewise.
12835 (FPE_DECERR): Likewise.
12836 (FPE_INVASC): Likewise.
12837 (FPE_INVDEC): Likewise.
12838 (SEGV_MAPERR): Likewise.
12839 (SEGV_ACCERR): Likewise.
12840 (SEGV_PSTKOVF): Likewise.
12841 (BUS_ADRALN): Likewise.
12842 (BUS_ADRERR): Likewise.
12843 (BUS_OBJERR): Likewise.
12844 (BUS_MCEERR_AR): Likewise.
12845 (BUS_MCEERR_AO): Likewise.
12846 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12847 (TRAP_TRACE): Likewise.
12848 (TRAP_BRANCH): Likewise.
12849 (TRAP_HWBKPT): Likewise.
12850 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12851 __USE_XOPEN2K8].
12852 (CLD_KILLED): Likewise.
12853 (CLD_DUMPED): Likewise.
12854 (CLD_TRAPPED): Likewise.
12855 (CLD_STOPPED): Likewise.
12856 (CLD_CONTINUED): Likewise.
12857 (POLL_IN): Likewise.
12858 (POLL_OUT): Likewise.
12859 (POLL_MSG): Likewise.
12860 (POLL_ERR): Likewise.
12861 (POLL_PRI): Likewise.
12862 (POLL_HUP): Likewise.
12863 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12864 (ILL_ILLOPN): Likewise.
12865 (ILL_ILLADR): Likewise.
12866 (ILL_ILLTRP): Likewise.
12867 (ILL_PRVOPC): Likewise.
12868 (ILL_PRVREG): Likewise.
12869 (ILL_COPROC): Likewise.
12870 (ILL_BADSTK): Likewise.
12871 (FPE_INTDIV): Likewise.
12872 (FPE_INTOVF): Likewise.
12873 (FPE_FLTDIV): Likewise.
12874 (FPE_FLTOVF): Likewise.
12875 (FPE_FLTUND): Likewise.
12876 (FPE_FLTRES): Likewise.
12877 (FPE_FLTINV): Likewise.
12878 (FPE_FLTSUB): Likewise.
12879 (SEGV_MAPERR): Likewise.
12880 (SEGV_ACCERR): Likewise.
12881 (BUS_ADRALN): Likewise.
12882 (BUS_ADRERR): Likewise.
12883 (BUS_OBJERR): Likewise.
12884 (BUS_MCEERR_AR): Likewise.
12885 (BUS_MCEERR_AO): Likewise.
12886 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12887 (TRAP_TRACE): Likewise.
12888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12889 __USE_XOPEN2K8].
12890 (CLD_KILLED): Likewise.
12891 (CLD_DUMPED): Likewise.
12892 (CLD_TRAPPED): Likewise.
12893 (CLD_STOPPED): Likewise.
12894 (CLD_CONTINUED): Likewise.
12895 (POLL_IN): Likewise.
12896 (POLL_OUT): Likewise.
12897 (POLL_MSG): Likewise.
12898 (POLL_ERR): Likewise.
12899 (POLL_PRI): Likewise.
12900 (POLL_HUP): Likewise.
12901 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12902 (ILL_ILLOPN): Likewise.
12903 (ILL_ILLADR): Likewise.
12904 (ILL_ILLTRP): Likewise.
12905 (ILL_PRVOPC): Likewise.
12906 (ILL_PRVREG): Likewise.
12907 (ILL_COPROC): Likewise.
12908 (ILL_BADSTK): Likewise.
12909 (FPE_INTDIV): Likewise.
12910 (FPE_INTOVF): Likewise.
12911 (FPE_FLTDIV): Likewise.
12912 (FPE_FLTOVF): Likewise.
12913 (FPE_FLTUND): Likewise.
12914 (FPE_FLTRES): Likewise.
12915 (FPE_FLTINV): Likewise.
12916 (FPE_FLTSUB): Likewise.
12917 (SEGV_MAPERR): Likewise.
12918 (SEGV_ACCERR): Likewise.
12919 (BUS_ADRALN): Likewise.
12920 (BUS_ADRERR): Likewise.
12921 (BUS_OBJERR): Likewise.
12922 (BUS_MCEERR_AR): Likewise.
12923 (BUS_MCEERR_AO): Likewise.
12924 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12925 (TRAP_TRACE): Likewise.
12926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12927 __USE_XOPEN2K8].
12928 (CLD_KILLED): Likewise.
12929 (CLD_DUMPED): Likewise.
12930 (CLD_TRAPPED): Likewise.
12931 (CLD_STOPPED): Likewise.
12932 (CLD_CONTINUED): Likewise.
12933 (POLL_IN): Likewise.
12934 (POLL_OUT): Likewise.
12935 (POLL_MSG): Likewise.
12936 (POLL_ERR): Likewise.
12937 (POLL_PRI): Likewise.
12938 (POLL_HUP): Likewise.
12939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12940 (ILL_ILLOPN): Likewise.
12941 (ILL_ILLADR): Likewise.
12942 (ILL_ILLTRP): Likewise.
12943 (ILL_PRVOPC): Likewise.
12944 (ILL_PRVREG): Likewise.
12945 (ILL_COPROC): Likewise.
12946 (ILL_BADSTK): Likewise.
12947 (FPE_INTDIV): Likewise.
12948 (FPE_INTOVF): Likewise.
12949 (FPE_FLTDIV): Likewise.
12950 (FPE_FLTOVF): Likewise.
12951 (FPE_FLTUND): Likewise.
12952 (FPE_FLTRES): Likewise.
12953 (FPE_FLTINV): Likewise.
12954 (FPE_FLTSUB): Likewise.
12955 (SEGV_MAPERR): Likewise.
12956 (SEGV_ACCERR): Likewise.
12957 (BUS_ADRALN): Likewise.
12958 (BUS_ADRERR): Likewise.
12959 (BUS_OBJERR): Likewise.
12960 (BUS_MCEERR_AR): Likewise.
12961 (BUS_MCEERR_AO): Likewise.
12962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12963 (TRAP_TRACE): Likewise.
12964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12965 __USE_XOPEN2K8].
12966 (CLD_KILLED): Likewise.
12967 (CLD_DUMPED): Likewise.
12968 (CLD_TRAPPED): Likewise.
12969 (CLD_STOPPED): Likewise.
12970 (CLD_CONTINUED): Likewise.
12971 (POLL_IN): Likewise.
12972 (POLL_OUT): Likewise.
12973 (POLL_MSG): Likewise.
12974 (POLL_ERR): Likewise.
12975 (POLL_PRI): Likewise.
12976 (POLL_HUP): Likewise.
12977 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12978 (ILL_ILLOPN): Likewise.
12979 (ILL_ILLADR): Likewise.
12980 (ILL_ILLTRP): Likewise.
12981 (ILL_PRVOPC): Likewise.
12982 (ILL_PRVREG): Likewise.
12983 (ILL_COPROC): Likewise.
12984 (ILL_BADSTK): Likewise.
12985 (ILL_DBLFLT): Likewise.
12986 (ILL_HARDWALL): Likewise.
12987 (FPE_INTDIV): Likewise.
12988 (FPE_INTOVF): Likewise.
12989 (FPE_FLTDIV): Likewise.
12990 (FPE_FLTOVF): Likewise.
12991 (FPE_FLTUND): Likewise.
12992 (FPE_FLTRES): Likewise.
12993 (FPE_FLTINV): Likewise.
12994 (FPE_FLTSUB): Likewise.
12995 (SEGV_MAPERR): Likewise.
12996 (SEGV_ACCERR): Likewise.
12997 (BUS_ADRALN): Likewise.
12998 (BUS_ADRERR): Likewise.
12999 (BUS_OBJERR): Likewise.
13000 (BUS_MCEERR_AR): Likewise.
13001 (BUS_MCEERR_AO): Likewise.
13002 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13003 (TRAP_TRACE): Likewise.
13004 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13005 __USE_XOPEN2K8].
13006 (CLD_KILLED): Likewise.
13007 (CLD_DUMPED): Likewise.
13008 (CLD_TRAPPED): Likewise.
13009 (CLD_STOPPED): Likewise.
13010 (CLD_CONTINUED): Likewise.
13011 (POLL_IN): Likewise.
13012 (POLL_OUT): Likewise.
13013 (POLL_MSG): Likewise.
13014 (POLL_ERR): Likewise.
13015 (POLL_PRI): Likewise.
13016 (POLL_HUP): Likewise.
13017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13018 (ILL_ILLOPN): Likewise.
13019 (ILL_ILLADR): Likewise.
13020 (ILL_ILLTRP): Likewise.
13021 (ILL_PRVOPC): Likewise.
13022 (ILL_PRVREG): Likewise.
13023 (ILL_COPROC): Likewise.
13024 (ILL_BADSTK): Likewise.
13025 (FPE_INTDIV): Likewise.
13026 (FPE_INTOVF): Likewise.
13027 (FPE_FLTDIV): Likewise.
13028 (FPE_FLTOVF): Likewise.
13029 (FPE_FLTUND): Likewise.
13030 (FPE_FLTRES): Likewise.
13031 (FPE_FLTINV): Likewise.
13032 (FPE_FLTSUB): Likewise.
13033 (SEGV_MAPERR): Likewise.
13034 (SEGV_ACCERR): Likewise.
13035 (BUS_ADRALN): Likewise.
13036 (BUS_ADRERR): Likewise.
13037 (BUS_OBJERR): Likewise.
13038 (BUS_MCEERR_AR): Likewise.
13039 (BUS_MCEERR_AO): Likewise.
13040 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13041 (TRAP_TRACE): Likewise.
13042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13043 __USE_XOPEN2K8].
13044 (CLD_KILLED): Likewise.
13045 (CLD_DUMPED): Likewise.
13046 (CLD_TRAPPED): Likewise.
13047 (CLD_STOPPED): Likewise.
13048 (CLD_CONTINUED): Likewise.
13049 (POLL_IN): Likewise.
13050 (POLL_OUT): Likewise.
13051 (POLL_MSG): Likewise.
13052 (POLL_ERR): Likewise.
13053 (POLL_PRI): Likewise.
13054 (POLL_HUP): Likewise.
13055 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13056 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13057
bc61d27c
JM
13058 [BZ #16670]
13059 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13060 before #include of <time.h>.
13061 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13062 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13063 (test-xfail-UNIX98/sched.h/conform): Likewise.
13064
302949e2
MS
130652014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13066
13067 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13068 error absence of trapping exception support.
13069 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13070
a00f522a
JM
130712014-03-07 Joseph Myers <joseph@codesourcery.com>
13072
6f99f280
JM
13073 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13074 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13075 * timezone/Makefile (testdata): Move definition above include of
13076 Rules.
13077 (test-zones): New variable.
13078 (tests-special): Add zone files.
13079 (build-testdata): Use $(evaluate-test).
13080
0b20a9e8
JM
13081 * elf/Makefile (tests-special): Rename tests to end with .out.
13082 ($(objpfx)noload-mem): Likewise.
13083 ($(objpfx)tst-leaks1-mem): Likewise.
13084 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13085 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13086 $(objpfx)test-iconvconfig.out.
13087 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13088 set -e inside subshell and redirect output to file.
13089 * iconvdata/Makefile (generated): Rename tests to end with .out.
13090 Correct type.
13091 (tests-special): Rename tests to end with .out.
13092 ($(objpfx)mtrace-tst-loading): Likewise.
13093 * intl/Makefile (generated): Likewise.
13094 (tests-special): Likewise.
13095 ($(objpfx)mtrace-tst-gettext): Likewise.
13096 * misc/Makefile (generated): Likewise.
13097 (tests-special): Likewise.
13098 ($(objpfx)tst-error1-mem): Likewise.
13099 * nptl/Makefile (tests-special): Likewise.
13100 ($(objpfx)tst-stack3-mem): Likewise.
13101 (generated): Likewise.
13102 * posix/Makefile (generated): Likewise.
13103 (tests-special): Likewise.
13104 (xtests-special): Likewise.
13105 ($(objpfx)tst-fnmatch-mem): Likewise.
13106 ($(objpfx)bug-regex2-mem): Likewise.
13107 ($(objpfx)bug-regex14-mem): Likewise.
13108 ($(objpfx)bug-regex21-mem): Likewise.
13109 ($(objpfx)bug-regex31-mem): Likewise.
13110 ($(objpfx)tst-vfork3-mem): Likewise.
13111 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13112 ($(objpfx)tst-pcre-mem): Likewise.
13113 ($(objpfx)tst-boost-mem): Likewise.
13114 ($(objpfx)bug-ga2-mem): Likewise.
13115 ($(objpfx)bug-glob2-mem): Likewise.
13116 * resolv/Makefile (generate): Likewise.
13117 (tests-special): Likewise.
13118 (xtests-special): Likewise.
13119 (generated): Likewise.
13120 ($(objpfx)mtrace-tst-leaks): Likewise.
13121 ($(objpfx)mtrace-tst-leaks2): Likewise.
13122
265d52ab
JM
13123 * scripts/merge-test-results.sh: New file.
13124 * Makefile (tests-special-notdir): New variable.
13125 (tests): Run merge-test-results.sh.
13126 (xtests): Likewise.
13127 * Rules (tests-special-notdir): New variable.
13128 (xtests-special-notdir): Likewise.
13129 (tests): Run merge-test-results.sh
13130 (xtests): Likewise.
13131
54ee292d
JM
13132 * Makeconfig (test-xfail-name): New variable.
13133 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13134 compute variable name for expected failures.
13135 * conform/Makefile (conformtest-headers-data): New variable.
13136 (conformtest-standards): Likewise.
13137 (conformtest-headers-ISO): Likewise.
13138 (conformtest-headers-ISO99): Likewise.
13139 (conformtest-headers-ISO11): Likewise.
13140 (conformtest-headers-POSIX): Likewise.
13141 (conformtest-headers-XPG3): Likewise.
13142 (conformtest-headers-XPG4): Likewise.
13143 (conformtest-headers-UNIX98): Likewise.
13144 (conformtest-headers-XOPEN2K): Likewise.
13145 (conformtest-headers-POSIX2008): Likewise.
13146 (conformtest-headers-XOPEN2K8): Likewise.
13147 (conformtest-header-list-base): Likewise.
13148 (conformtest-header-list-tests): Likewise.
13149 (conformtest-header-base): Likewise.
13150 (conformtest-header-tests): Likewise.
13151 (tests-special): Add $(conformtest-header-list-tests). If
13152 [$(fast-check) && !$(cross-compiling)], add
13153 $(conformtest-header-tests) instead of
13154 $(objpfx)run-conformtest.out.
13155 (generated): Add $(conformtest-header-list-base). If
13156 [$(fast-check) && !$(cross-compiling)], add
13157 $(conformtest-header-base). Remove previous setting.
13158 ($(conformtest-header-list-tests)): New target.
13159 (test-xfail-run-conformtest): Remove variable.
13160 ($(objpfx)run-conformtest.out): Remove target.
13161 (test-xfail-ISO11/complex.h/conform): New variable.
13162 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13163 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13164 (test-xfail-XPG3/varargs.h/conform): Likewise.
13165 (test-xfail-XPG4/varargs.h/conform): Likewise.
13166 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13167 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13168 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13169 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13170 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13171 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13172 (test-xfail-XPG3/ftw.h/conform): Likewise.
13173 (test-xfail-XPG3/grp.h/conform): Likewise.
13174 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13175 (test-xfail-XPG3/limits.h/conform): Likewise.
13176 (test-xfail-XPG3/pwd.h/conform): Likewise.
13177 (test-xfail-XPG3/search.h/conform): Likewise.
13178 (test-xfail-XPG3/signal.h/conform): Likewise.
13179 (test-xfail-XPG3/stdio.h/conform): Likewise.
13180 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13181 (test-xfail-XPG3/string.h/conform): Likewise.
13182 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13183 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13184 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13185 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13186 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13187 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13188 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13189 (test-xfail-XPG3/termios.h/conform): Likewise.
13190 (test-xfail-XPG3/time.h/conform): Likewise.
13191 (test-xfail-XPG3/unistd.h/conform): Likewise.
13192 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13193 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13194 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13195 (test-xfail-XPG4/netdb.h/conform): Likewise.
13196 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13197 (test-xfail-XPG4/signal.h/conform): Likewise.
13198 (test-xfail-XPG4/stdio.h/conform): Likewise.
13199 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13200 (test-xfail-XPG4/stropts.h/conform): Likewise.
13201 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13202 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13203 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13204 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13205 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13206 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13207 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13208 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13209 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13210 (test-xfail-XPG4/termios.h/conform): Likewise.
13211 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13212 (test-xfail-XPG4/unistd.h/conform): Likewise.
13213 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13214 (test-xfail-POSIX/sched.h/conform): Likewise.
13215 (test-xfail-POSIX/signal.h/conform): Likewise.
13216 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13217 (test-xfail-POSIX/tar.h/conform): Likewise.
13218 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13219 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13220 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13221 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13222 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13223 (test-xfail-UNIX98/sched.h/conform): Likewise.
13224 (test-xfail-UNIX98/signal.h/conform): Likewise.
13225 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13226 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13227 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13228 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13229 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13230 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13231 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13232 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13233 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13234 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13235 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13236 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13237 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13238 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13239 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13240 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13241 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13242 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13243 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13244 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13245 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13246 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13247 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13248 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13249 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13250 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13251 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13252 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13253 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13254 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13255 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13256 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13257 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13258 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13259 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13260 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13261 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13262 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13263 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13264 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13265 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13266 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13267 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13268 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13269 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13270 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13271 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13272 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13273 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13274 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13275 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13276 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13277 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13278 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13279 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13280 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13281 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13282 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13283 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13284 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13285 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13286 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13287 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13288 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13289 (conformtest-cc-flags): Likewise.
13290 ($(conformtest-header-tests): New target.
13291 * conform/check-header-lists.sh: New file.
13292 * conform/run-conformtest.sh: Remove.
13293
a00f522a
JM
13294 * conform/conformtest.pl: Allow ' and \ in values given for
13295 constants.
13296 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13297 inclusion.
13298 [POSIX] (sys/types.h): Likewise.
13299 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13300 inclusion.
13301 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13302 inclusion.
13303 * conform/data/signal.h-data (SIGIO): Remove expectation.
13304 [XPG3] (SIGBUS): Do not expect.
13305 [POSIX || XPG3] (SIGPOLL): Likewise.
13306 [POSIX || XPG3] (SIGPROF): Likewise.
13307 [POSIX || XPG3] (SIGSYS): Likewise.
13308 [XPG3] (SIGTRAP): Likewise.
13309 [POSIX || XPG3] (SIGURG): Likewise.
13310 [POSIX || XPG3] (SIGVTALRM): Likewise.
13311 [POSIX || XPG3] (SIGXCPU): Likewise.
13312 [POSIX || XPG3] (SIGXFSZ): Likewise.
13313 [POSIX] (SA_SIGINFO): Expect.
13314 [XPG3] (siginfo_t): Do not expect type or contents.
13315 [POSIX] (si_pid): Do not expect element.
13316 [POSIX] (si_uid): Likewise.
13317 [POSIX] (si_addr): Likewise.
13318 [POSIX] (si_status): Likewise.
13319 [POSIX] (si_band): Likewise.
13320 [XPG4] (si_value): Likewise.
13321 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13322 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13323 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13324 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13325 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13326 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13327 [POSIX || XPG3] (ILL_COPROC): Likewise.
13328 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13329 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13330 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13331 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13332 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13333 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13334 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13335 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13336 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13337 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13338 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13339 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13340 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13341 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13342 [POSIX || XPG3] (CLD_EXITED): Likewise.
13343 [POSIX || XPG3] (CLD_KILLED): Likewise.
13344 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13345 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13346 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13347 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13348 [POSIX || XPG3] (POLL_IN): Likewise.
13349 [POSIX || XPG3] (POLL_OUT): Likewise.
13350 [POSIX || XPG3] (POLL_MSG): Likewise.
13351 [POSIX || XPG3] (POLL_ERR): Likewise.
13352 [POSIX || XPG3] (POLL_PRI): Likewise.
13353 [POSIX || XPG3] (POLL_HUP): Likewise.
13354 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13355 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13356 (SIG*): Do not allow.
13357 [XPG3] (si_*): Likewise.
13358 [XPG3] (SI_*): Likewise.
13359 [XPG3 || XPG4] (sigev_*): Likewise.
13360 [XPG3 || XPG4] (SIGEV_*): Likewise.
13361 [XPG3 || XPG4] (sival_*): Likewise.
13362 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13363 [POSIX || XPG3] (BUS_*): Likewise.
13364 [POSIX || XPG3] (CLD_*): Likewise.
13365 [POSIX || XPG3] (FPE_*): Likewise.
13366 [POSIX || XPG3] (ILL_*): Likewise.
13367 [POSIX || XPG3] (POLL_*): Likewise.
13368 [POSIX || XPG3] (SEGV_*): Likewise.
13369 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13370 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13371 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13372 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13373 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13374 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13375 Specify type and value.
13376 (TVERSLEN): Likewise.
13377 (REGTYPE): Likewise.
13378 (AREGTYPE): Likewise.
13379 (LNKTYPE): Likewise.
13380 (SYMTYPE): Likewise.
13381 (CHRTYPE): Likewise.
13382 (BLKTYPE): Likewise.
13383 (DIRTYPE): Likewise.
13384 (FIFOTYPE): Likewise.
13385 (CONTTYPE): Likewise.
13386 (TSUID): Likewise.
13387 (TSGID): Likewise.
13388 (TSVTX): Likewise.
13389 (TUREAD): Likewise.
13390 (TUWRITE): Likewise.
13391 (TUEXEC): Likewise.
13392 (TGREAD): Likewise.
13393 (TGWRITE): Likewise.
13394 (TGEXEC): Likewise.
13395 (TOREAD): Likewise.
13396 (TOWRITE): Likewise.
13397 (TOEXEC): Likewise.
13398 [POSIX] (TSVTX): Expect constant.
13399
aa97dee1
JM
134002014-03-06 Joseph Myers <joseph@codesourcery.com>
13401
f214606a
JM
13402 * Makefile (tests): Change dependencies to ....
13403 (tests-special): ... additions to this variable.
13404 (tests): Depend on $(tests-special).
13405 * Makerules (check-abi-list): New variable.
13406 (check-abi): Depend on $(check-abi-list).
13407 [$(subdir) = elf] (tests-special): Add
13408 $(objpfx)check-abi-libc.out.
13409 [$(build-shared) = yes && subdir] (tests-special): Add
13410 $(check-abi-list).
13411 [$(build-shared) = yes && subdir] (tests): Do not depend on
13412 check-abi.
13413 * Rules (tests): Depend on $(tests-special).
13414 (xtests): Depend on $(xtests-special).
13415 * catgets/Makefile (tests): Change dependencies to ....
13416 (tests-special): ... additions to this variable.
13417 * conform/Makefile (tests): Change dependencies to ....
13418 (tests-special): ... additions to this variable.
13419 * elf/Makefile (tests): Change dependencies to ....
13420 (tests-special): ... additions to this variable.
13421 * grp/Makefile (tests): Change dependencies to ....
13422 (tests-special): ... additions to this variable.
13423 * iconv/Makefile (xtests): Change dependencies to ....
13424 (xtests-special): ... additions to this variable.
13425 * iconvdata/Makefile (tests): Change dependencies to ....
13426 (tests-special): ... additions to this variable.
13427 * intl/Makefile (tests): Change dependencies to ....
13428 (tests-special): ... additions to this variable. Also add
13429 $(objpfx)tst-gettext.out.
13430 * io/Makefile (tests): Change dependencies to ....
13431 (tests-special): ... additions to this variable.
13432 * libio/Makefile (tests): Change dependencies to ....
13433 (tests-special): ... additions to this variable.
13434 * malloc/Makefile (tests): Change dependencies to ....
13435 (tests-special): ... additions to this variable.
13436 * misc/Makefile (tests): Change dependencies to ....
13437 (tests-special): ... additions to this variable.
13438 * nptl/Makefile (tests): Change dependencies to ....
13439 (tests-special): ... additions to this variable.
13440 * nptl_db/Makefile (tests): Change dependencies to ....
13441 (tests-special): ... additions to this variable.
13442 * posix/Makefile (tests): Change dependencies to ....
13443 (tests-special): ... additions to this variable.
13444 (xtests): Change dependencies to ....
13445 (xtests-special): ... additions to this variable.
13446 * resolv/Makefile (tests): Change dependencies to ....
13447 (tests-special): ... additions to this variable.
13448 (xtests): Change dependencies to ....
13449 (xtests-special): ... additions to this variable.
13450 * stdio-common/Makefile (tests): Change dependencies to ....
13451 (tests-special): ... additions to this variable.
13452 (do-tst-unbputc): Remove target.
13453 (do-tst-printf): Likewise.
13454 * stdlib/Makefile (tests): Change dependencies to ....
13455 (tests-special): ... additions to this variable.
13456 * string/Makefile (tests): Change dependencies to ....
13457 (tests-special): ... additions to this variable.
13458 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13459 (tests-special): ... additions to this variable.
13460
81700b53
JM
13461 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13462 whole file.
13463 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13464 whole file.
13465 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13466 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13467
2ea18461
JM
13468 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13469 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13470 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13471 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13472 * conform/data/libgen.h-data [XPG3]: Likewise.
13473 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13474 * conform/data/ndbm.h-data [XPG3]: Likewise.
13475 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13476 * conform/data/netdb.h-data [XPG3]: Likewise.
13477 * conform/data/netinet/in.h-data [XPG3]: Likewise.
13478 * conform/data/poll.h-data [XPG3]: Likewise.
13479 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13480 * conform/data/strings.h-data [XPG3]: Likewise.
13481 * conform/data/stropts.h-data [XPG3]: Likewise.
13482 * conform/data/sys/mman.h-data [XPG3]: Likewise.
13483 * conform/data/sys/resource.h-data [XPG3]: Likewise.
13484 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13485 Likewise.
13486 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13487 * conform/data/sys/time.h-data [XPG3]: Likewise.
13488 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13489 * conform/data/sys/uio.h-data [XPG3]: Likewise.
13490 * conform/data/sys/un.h-data [XPG3]: Likewise.
13491 * conform/data/syslog.h-data [XPG3]: Likewise.
13492 * conform/data/ucontext.h-data [XPG3]: Likewise.
13493 * conform/data/utmpx.h-data [XPG3]: Likewise.
13494 * conform/data/varargs.h-data [UNIX98]: Enable file.
13495
355bc986
JM
13496 * manual/Makefile (INSTALL_INFO): Remove variable setting.
13497
215db402
JM
13498 * math/libm-test.inc (struct test_f_f_data): Move expected results
13499 into structure for each rounding mode.
13500 (struct test_ff_f_data): Likewise.
13501 (struct test_ff_f_data_nexttoward): Likewise.
13502 (struct test_fi_f_data): Likewise.
13503 (struct test_fl_f_data): Likewise.
13504 (struct test_if_f_data): Likewise.
13505 (struct test_fff_f_data): Likewise.
13506 (struct test_c_f_data): Likewise.
13507 (struct test_f_f1_data): Likewise.
13508 (struct test_fF_f1_data): Likewise.
13509 (struct test_ffI_f1_data): Likewise.
13510 (struct test_c_c_data): Likewise.
13511 (struct test_cc_c_data): Likewise.
13512 (struct test_f_i_data): Likewise.
13513 (struct test_ff_i_data): Likewise.
13514 (struct test_f_l_data): Likewise.
13515 (struct test_f_L_data): Likewise.
13516 (struct test_fFF_11_data): Likewise.
13517 (RM_): New macro.
13518 (RM_FE_DOWNWARD): Likewise.
13519 (RM_FE_TONEAREST): Likewise.
13520 (RM_FE_TOWARDZERO): Likewise.
13521 (RM_FE_UPWARD): Likewise.
13522 (RUN_TEST_LOOP_f_f): Update references to expected results.
13523 (RUN_TEST_LOOP_2_f): Likewise.
13524 (RUN_TEST_LOOP_fff_f): Likewise.
13525 (RUN_TEST_LOOP_c_f): Likewise.
13526 (RUN_TEST_LOOP_f_f1): Likewise.
13527 (RUN_TEST_LOOP_fF_f1): Likewise.
13528 (RUN_TEST_LOOP_fI_f1): Likewise.
13529 (RUN_TEST_LOOP_ffI_f1): Likewise.
13530 (RUN_TEST_LOOP_c_c): Likewise.
13531 (RUN_TEST_LOOP_cc_c): Likewise.
13532 (RUN_TEST_LOOP_f_i): Likewise.
13533 (RUN_TEST_LOOP_f_i_tg): Likewise.
13534 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13535 (RUN_TEST_LOOP_f_b): Likewise.
13536 (RUN_TEST_LOOP_f_b_tg): Likewise.
13537 (RUN_TEST_LOOP_f_l): Likewise.
13538 (RUN_TEST_LOOP_f_L): Likewise.
13539 (RUN_TEST_LOOP_fFF_11): Likewise.
13540 * math/gen-libm-test.pl (parse_args): Output four copies of
13541 expected results for each test.
13542
67737b8f
JM
13543 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13544 (__ASSUME_UTIMES): Remove.
13545 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13546 (__ASSUME_UTIMES): Likewise.
13547
aa97dee1
JM
13548 * math/gen-auto-libm-tests.c: Update comment on output format.
13549 (output_for_one_input_case): Generate before-rounding and
13550 after-rounding information as conditions on output flags not
13551 floating-point format.
13552 * math/auto-libm-test-out: Regenerated.
13553 * math/gen-libm-test.pl (cond_value): New function.
13554 (or_cond_value): Use cond_value.
13555 (generate_testfile): Handle conditional exceptions.
13556
e6b6a857
JM
135572014-03-05 Joseph Myers <joseph@codesourcery.com>
13558
2f0a0f44
JM
13559 * math/libm-test.inc (max_valid_error): New variable.
13560 (init_max_error): Take new argument specifying whether function
13561 results are exactly determined. Set max_valid_error and bound
13562 other variables for errors based on this argument.
13563 (set_max_error): Do not record results above max_valid_error.
13564 (check_float_internal): Only accept errors of up to 0.5ulps if
13565 also at most max_valid_error.
13566 (START): Take new argument EXACT and pass it to init_max_error.
13567 (acos_test): Update call to START.
13568 (acos_test_tonearest): Likewise.
13569 (acos_test_towardzero): Likewise.
13570 (acos_test_downward): Likewise.
13571 (acos_test_upward): Likewise.
13572 (acosh_test): Likewise.
13573 (asin_test): Likewise.
13574 (asin_test_tonearest): Likewise.
13575 (asin_test_towardzero): Likewise.
13576 (asin_test_downward): Likewise.
13577 (asin_test_upward): Likewise.
13578 (asinh_test): Likewise.
13579 (atan_test): Likewise.
13580 (atanh_test): Likewise.
13581 (atan2_test): Likewise.
13582 (cabs_test): Likewise.
13583 (cacos_test): Likewise.
13584 (cacosh_test): Likewise.
13585 (carg_test): Likewise.
13586 (casin_test): Likewise.
13587 (casinh_test): Likewise.
13588 (catan_test): Likewise.
13589 (catanh_test): Likewise.
13590 (cbrt_test): Likewise.
13591 (ccos_test): Likewise.
13592 (ccosh_test): Likewise.
13593 (ceil_test): Likewise.
13594 (cexp_test): Likewise.
13595 (cimag_test): Likewise.
13596 (clog_test): Likewise.
13597 (clog10_test): Likewise.
13598 (conj_test): Likewise.
13599 (copysign_test): Likewise.
13600 (cos_test): Likewise.
13601 (cos_test_tonearest): Likewise.
13602 (cos_test_towardzero): Likewise.
13603 (cos_test_downward): Likewise.
13604 (cos_test_upward): Likewise.
13605 (cosh_test): Likewise.
13606 (cosh_test_tonearest): Likewise.
13607 (cosh_test_towardzero): Likewise.
13608 (cosh_test_downward): Likewise.
13609 (cosh_test_upward): Likewise.
13610 (cpow_test): Likewise.
13611 (cproj_test): Likewise.
13612 (creal_test): Likewise.
13613 (csin_test): Likewise.
13614 (csinh_test): Likewise.
13615 (csqrt_test): Likewise.
13616 (ctan_test): Likewise.
13617 (ctan_test_tonearest): Likewise.
13618 (ctan_test_towardzero): Likewise.
13619 (ctan_test_downward): Likewise.
13620 (ctan_test_upward): Likewise.
13621 (ctanh_test): Likewise.
13622 (ctanh_test_tonearest): Likewise.
13623 (ctanh_test_towardzero): Likewise.
13624 (ctanh_test_downward): Likewise.
13625 (ctanh_test_upward): Likewise.
13626 (erf_test): Likewise.
13627 (erfc_test): Likewise.
13628 (exp_test): Likewise.
13629 (exp_test_tonearest): Likewise.
13630 (exp_test_towardzero): Likewise.
13631 (exp_test_downward): Likewise.
13632 (exp_test_upward): Likewise.
13633 (exp10_test): Likewise.
13634 (exp10_test_tonearest): Likewise.
13635 (exp10_test_towardzero): Likewise.
13636 (exp10_test_downward): Likewise.
13637 (exp10_test_upward): Likewise.
13638 (pow10_test): Likewise.
13639 (exp2_test): Likewise.
13640 (expm1_test): Likewise.
13641 (expm1_test_tonearest): Likewise.
13642 (expm1_test_towardzero): Likewise.
13643 (expm1_test_downward): Likewise.
13644 (expm1_test_upward): Likewise.
13645 (fabs_test): Likewise.
13646 (fdim_test): Likewise.
13647 (floor_test): Likewise.
13648 (fma_test): Likewise.
13649 (fma_test_towardzero): Likewise.
13650 (fma_test_downward): Likewise.
13651 (fma_test_upward): Likewise.
13652 (fmax_test): Likewise.
13653 (fmin_test): Likewise.
13654 (fmod_test): Likewise.
13655 (fpclassify_test): Likewise.
13656 (frexp_test): Likewise.
13657 (hypot_test): Likewise.
13658 (ilogb_test): Likewise.
13659 (isfinite_test): Likewise.
13660 (finite_test): Likewise.
13661 (isgreater_test): Likewise.
13662 (isgreaterequal_test): Likewise.
13663 (isinf_test): Likewise.
13664 (isless_test): Likewise.
13665 (islessequal_test): Likewise.
13666 (islessgreater_test): Likewise.
13667 (isnan_test): Likewise.
13668 (isnormal_test): Likewise.
13669 (issignaling_test): Likewise.
13670 (isunordered_test): Likewise.
13671 (j0_test): Likewise.
13672 (j1_test): Likewise.
13673 (jn_test): Likewise.
13674 (ldexp_test): Likewise.
13675 (lgamma_test): Likewise.
13676 (gamma_test): Likewise.
13677 (lrint_test): Likewise.
13678 (lrint_test_tonearest): Likewise.
13679 (lrint_test_towardzero): Likewise.
13680 (lrint_test_downward): Likewise.
13681 (lrint_test_upward): Likewise.
13682 (llrint_test): Likewise.
13683 (llrint_test_tonearest): Likewise.
13684 (llrint_test_towardzero): Likewise.
13685 (llrint_test_downward): Likewise.
13686 (llrint_test_upward): Likewise.
13687 (log_test): Likewise.
13688 (log10_test): Likewise.
13689 (log1p_test): Likewise.
13690 (log2_test): Likewise.
13691 (logb_test): Likewise.
13692 (logb_test_downward): Likewise.
13693 (lround_test): Likewise.
13694 (llround_test): Likewise.
13695 (modf_test): Likewise.
13696 (nearbyint_test): Likewise.
13697 (nextafter_test): Likewise.
13698 (nexttoward_test): Likewise.
13699 (pow_test): Likewise.
13700 (pow_test_tonearest): Likewise.
13701 (pow_test_towardzero): Likewise.
13702 (pow_test_downward): Likewise.
13703 (pow_test_upward): Likewise.
13704 (remainder_test): Likewise.
13705 (drem_test): Likewise.
13706 (remainder_test_tonearest): Likewise.
13707 (drem_test_tonearest): Likewise.
13708 (remainder_test_towardzero): Likewise.
13709 (drem_test_towardzero): Likewise.
13710 (remainder_test_downward): Likewise.
13711 (drem_test_downward): Likewise.
13712 (remainder_test_upward): Likewise.
13713 (drem_test_upward): Likewise.
13714 (remquo_test): Likewise.
13715 (rint_test): Likewise.
13716 (rint_test_tonearest): Likewise.
13717 (rint_test_towardzero): Likewise.
13718 (rint_test_downward): Likewise.
13719 (rint_test_upward): Likewise.
13720 (round_test): Likewise.
13721 (scalb_test): Likewise.
13722 (scalbn_test): Likewise.
13723 (scalbln_test): Likewise.
13724 (signbit_test): Likewise.
13725 (sin_test): Likewise.
13726 (sin_test_tonearest): Likewise.
13727 (sin_test_towardzero): Likewise.
13728 (sin_test_downward): Likewise.
13729 (sin_test_upward): Likewise.
13730 (sincos_test): Likewise.
13731 (sinh_test): Likewise.
13732 (sinh_test_tonearest): Likewise.
13733 (sinh_test_towardzero): Likewise.
13734 (sinh_test_downward): Likewise.
13735 (sinh_test_upward): Likewise.
13736 (sqrt_test): Likewise.
13737 (sqrt_test_tonearest): Likewise.
13738 (sqrt_test_towardzero): Likewise.
13739 (sqrt_test_downward): Likewise.
13740 (sqrt_test_upward): Likewise.
13741 (tan_test): Likewise.
13742 (tan_test_tonearest): Likewise.
13743 (tan_test_towardzero): Likewise.
13744 (tan_test_downward): Likewise.
13745 (tan_test_upward): Likewise.
13746 (tanh_test): Likewise.
13747 (tgamma_test): Likewise.
13748 (trunc_test): Likewise.
13749 (y0_test): Likewise.
13750 (y1_test): Likewise.
13751 (yn_test): Likewise.
13752 (significand_test): Likewise.
13753
e6b6a857
JM
13754 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13755 individual tests in comment.
13756 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13757 (prev_max_error): New variable.
13758 (prev_real_max_error): Likewise.
13759 (prev_imag_max_error): Likewise.
13760 (compare_ulp_data): Don't refer to test names in comment.
13761 (find_test_ulps): Remove function.
13762 (find_function_ulps): Likewise.
13763 (find_complex_function_ulps): Likewise.
13764 (init_max_error): Take function name as argument. Look up ulps
13765 for that function.
13766 (print_ulps): Remove function.
13767 (print_max_error): Use prev_max_error instead of calling
13768 find_function_ulps.
13769 (print_complex_max_error): Use prev_real_max_error and
13770 prev_imag_max_error instead of calling find_complex_function_ulps.
13771 (check_float_internal): Take max_ulp parameter instead of calling
13772 find_test_ulps. Don't call print_ulps.
13773 (check_float): Update call to check_float_internal.
13774 (check_complex): Update calls to check_float_internal.
13775 (START): Pass argument to init_max_error.
13776 * math/gen-libm-test.pl (%results): Don't include "kind"
13777 information.
13778 (parse_ulps): Don't handle ulps of individual tests.
13779 (print_ulps_file): Likewise.
13780 (output_ulps): Likewise.
13781 * math/README.libm-test: Update.
13782 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13783 individual tests.
13784 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13785 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13786 * sysdeps/arm/libm-test-ulps: Likewise.
13787 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13788 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13789 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13790 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13791 * sysdeps/microblaze/libm-test-ulps: Likewise.
13792 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13793 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13794 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13795 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13796 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13797 * sysdeps/sh/libm-test-ulps: Likewise.
13798 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13799 * sysdeps/tile/libm-test-ulps: Likewise.
13800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13801
45adef3c
JM
138022014-03-04 Joseph Myers <joseph@codesourcery.com>
13803
13804 * math/libm-test.inc (print_complex_max_error): Check separately
13805 whether real and imaginary errors are within allowed range and
13806 pass 0 to print_complex_function_ulps instead of value within
13807 allowed range.
13808
000232b9
SP
138092014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13810
d4b17258
SP
13811 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13812 formatting.
13813 (get_handles_fopen): Likewise.
13814 (do_write_test): Likewise.
13815
091eff71
SP
13816 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13817
fa3cd248
SP
13818 * libio/fileops.c (do_ftell): Use cached offset when
13819 available.
13820 * libio/iofwide.c (do_ftell_wide): Likewise.
13821 * libio/iofdopen.c (_IO_new_fdopen): Don't use
13822 _IO_file_attach.
13823 * libio/wfileops.c (_IO_fwide): Don't cache offset.
13824
000232b9
SP
13825 [BZ #16532]
13826 * libio/libioP.h (get_file_offset): New function.
13827 * libio/fileops.c (get_file_offset): Likewise.
13828 (do_ftell): Likewise.
13829 (_IO_new_file_seekoff): Split out ftell logic.
13830 * libio/wfileops.c (do_ftell_wide): Likewise.
13831 (_IO_wfile_seekoff): Split out ftell logic.
13832 * libio/tst-ftell-active-handler.c: New test case.
13833 * libio/Makefile (tests): Add it.
13834
116f4d1a
RM
138352014-03-03 Roland McGrath <roland@hack.frob.com>
13836
13837 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13838 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13839
532a6035
SP
138402014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13841
13842 [BZ #16639]
13843 * nscd/connections.c (nscd_init): Call do_exit.
13844 (start_threads): Call do_exit and notify_parent.
13845 (begin_drop_privileges): Call do_exit.
13846 (finish_drop_privileges): Likewise.
13847 * nscd/selinux.c (preserve_capabilities): Likewise.
13848 (install_real_capabilities): Likewise.
13849 (nscd_selinux_enabled): Likewise.
13850 (avc_create_thread): Likewise.
13851 (avc_alloc_lock): Likewise.
13852 (nscd_avc_init): Likewise.
13853 * nscd/nscd.c (parent_fd): New static variable.
13854 (main): Create a pipe between parent and child processes.
13855 Skip closing parent_fd.
13856 (monitor_child): New function.
13857 (do_exit): Likewise.
13858 (notify_parent): Likewise.
13859 * nscd/nscd.h (notify_parent): Likewise.
13860 (do_exit): Likewise.
13861
d6285c9f
CD
138622014-03-03 Carlos O'Donell <carlos@redhat.com>
13863
13864 * malloc/malloc.c (__libc_calloc): Revert last change.
13865
2b85d2a0
AZ
138662014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13867
13868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13869
c7debbdf
RS
138702014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13871
13872 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13874 implementation.
13875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13876 (__libc_ifunc_impl_list): Likewise.
13877 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13878 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13879 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13880 * string/strrchr.c: Define STRRCHR.
13881
235eed86
OB
138822014-02-28 Ondřej Bílka <neleai@seznam.cz>
13883
13884 * benchtest/bench-strtok.c (simple_strtok): Delete.
13885 (strtok_string): Use as benchmark.
13886 * string/strtok (STRTOK): New macro.
13887
8e25d1e7
CD
138882014-02-28 Carlos O'Donell <carlos@redhat.com>
13889
ef563f92
CD
13890 * manual/threads.texi: Add header and standard comments to all
13891 functions.
13892
8e25d1e7
CD
13893 * elf/dl-lookup.c (check_match): New function.
13894 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13895 (do_lookup_x): Remove nested function check_match. Use non-nested
13896 function check_match.
13897
ff71cc37
RM
138982014-02-28 Roland McGrath <roland@hack.frob.com>
13899
f08e9a26
RM
13900 * csu/Makefile (generated, before-compile): Use += rather than =.
13901 * catgets/Makefile (generated, generated-dirs): Likewise.
13902 * debug/Makefile (generated): Likewise.
13903 * dlfcn/Makefile (generated): Likewise.
13904 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13905 * iconvdata/Makefile (before-compile, generated): Likewise.
13906 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13907 * libio/Makefile (generated): Likewise.
13908 * malloc/Makefile (generated): Likewise.
13909 * manual/Makefile (generated, generated-dirs): Likewise.
13910 * misc/Makefile (generated): Likewise.
13911 * posix/Makefile (generated): Likewise.
13912 * resolv/Makefile (generated): Likewise.
13913 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13914 * timezone/Makefile (generated, generated-dirs): Likewise.
13915
ff71cc37
RM
13916 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13917
fe13a20c
AZ
139182014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13919
57f41c40
AS
13920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13921 power8 implementation.
13922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13923 file: POWER8 llround ifunc implementation.
13924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13925 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13926 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13927 POWER8 llround implementation.
13928
57f41c40
AS
13929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13930 power8 implementation.
13931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13932 file: POWER8 llrint ifunc implementation.
13933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13934 Add POWER8 implementation.
1ad8950a
AZ
13935 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13936 POWER8 llrint implementation.
13937
57f41c40
AS
13938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13939 power8 implementation.
13940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13941 file: POWER8 finite ifunc implementation.
13942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13943 Add POWER8 implementation.
cac626d6
AZ
13944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13945 Likewise.
13946 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13947 POWER8 finite implementation.
13948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13949
57f41c40
AS
13950 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13951 power8 implementation.
13952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13953 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13955 POWER8 implementation.
13956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13957 Likewise.
57f41c40
AS
13958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13959 isinf implementation.
4393fc11
AZ
13960 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13961
57f41c40
AS
13962 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13963 (INIT_ARCH): Add hwcap2 initialization.
13964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13965 power8 implementation.
13966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13967 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13969 POWER8 implementation.
13970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13971 Likewise.
57f41c40
AS
13972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13973 isnan implementation.
487972ae
AZ
13974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13975
7d92b787
JY
139762014-02-27 Joey Ye <joey.ye@arm.com>
13977
13978 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13979 (_FP_NANFRAC_Q): Set to zero.
13980
1cadc858
SP
139812014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13982
13983 [BZ #16623]
13984 * math/auto-libm-test-in: New test inputs.
13985 * math/auto-libm-test-out: Regenerate.
13986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13987 and DA.
13988 (__cos): Likewise.
13989 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13990
f8c17e79
JM
139912014-02-27 Joseph Myers <joseph@codesourcery.com>
13992
13993 * scripts/evaluate-test.sh: Take new argument indicating whether
13994 failure is expected.
13995 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13996 indicating whether failure is expected.
13997 * conform/Makefile (test-xfail-run-conformtest): New variable.
13998 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13999 level.
14000 * posix/Makefile (test-xfail-annexc): New variable.
14001 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14002
a5f891ac
JM
140032014-02-26 Joseph Myers <joseph@codesourcery.com>
14004
14005 * argp/Makefile: Include Makeconfig immediately after defining
14006 subdir.
14007 * assert/Makefile: Likewise.
14008 * benchtests/Makefile: Likewise.
14009 * catgets/Makefile: Likewise.
14010 * conform/Makefile: Likewise.
14011 * crypt/Makefile: Likewise.
14012 * csu/Makefile: Likewise.
14013 (all): Remove target.
14014 * ctype/Makefile: Include Makeconfig immediately after defining
14015 subdir.
14016 * debug/Makefile: Likewise.
14017 * dirent/Makefile: Likewise.
14018 * dlfcn/Makefile: Likewise.
14019 * gmon/Makefile: Likewise.
14020 * gnulib/Makefile: Likewise.
14021 * grp/Makefile: Likewise.
14022 * gshadow/Makefile: Likewise.
14023 * hesiod/Makefile: Likewise.
14024 * hurd/Makefile: Likewise.
14025 (all): Remove target.
14026 * iconvdata/Makefile: Include Makeconfig immediately after
14027 defining subdir.
14028 * inet/Makefile: Likewise.
14029 * intl/Makefile: Likewise.
14030 * io/Makefile: Likewise.
14031 * libio/Makefile: Likewise.
14032 (all): Remove target.
14033 * locale/Makefile: Include Makeconfig immediately after defining
14034 subdir.
14035 * login/Makefile: Likewise.
14036 * mach/Makefile: Likewise.
14037 (all): Remove target.
14038 * malloc/Makefile: Include Makeconfig immediately after defining
14039 subdir.
14040 (all): Remove target.
14041 * manual/Makefile: Include Makeconfig immediately after defining
14042 subdir.
14043 * math/Makefile: Likewise.
14044 * misc/Makefile: Likewise.
14045 * nis/Makefile: Likewise.
14046 * nss/Makefile: Likewise.
14047 * po/Makefile: Likewise.
14048 (all): Remove target.
14049 * posix/Makefile: Include Makeconfig immediately after defining
14050 subdir.
14051 * pwd/Makefile: Likewise.
14052 * resolv/Makefile: Likewise.
14053 * resource/Makefile: Likewise.
14054 * rt/Makefile: Likewise.
14055 * setjmp/Makefile: Likewise.
14056 * shadow/Makefile: Likewise.
14057 * signal/Makefile: Likewise.
14058 * socket/Makefile: Likewise.
14059 * soft-fp/Makefile: Likewise.
14060 * stdio-common/Makefile: Likewise.
14061 * stdlib/Makefile: Likewise.
14062 * streams/Makefile: Likewise.
14063 * string/Makefile: Likewise.
14064 * sunrpc/Makefile: Likewise.
14065 (all): Remove target.
14066 * sysvipc/Makefile: Include Makeconfig immediately after defining
14067 subdir.
14068 * termios/Makefile: Likewise.
14069 * time/Makefile: Likewise.
14070 * timezone/Makefile: Likewise.
14071 (all): Remove target.
14072 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14073 subdir.
14074 * wctype/Makefile: Likewise.
14075
5b456e9d
SE
140762014-02-26 Steve Ellcey <sellcey@mips.com>
14077
14078 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14079 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14080 (libc_feholdexcept_setround_mips): Ditto.
14081 (libc_feholdsetround): New.
14082 (libc_feholdsetroundf): New.
14083 (libc_feholdsetroundl): New.
14084 (libc_feupdateenv_test_mips): New.
14085 (libc_feupdateenv_test): New.
14086 (libc_feupdateenv_testf): New.
14087 (libc_feupdateenv_testl): New.
14088 (libc_feresetround): New.
14089 (libc_feresetroundf): New.
14090 (libc_feresetroundl): New.
14091 (libc_fetestexcept_mips): New.
14092 (libc_fetestexcept): New.
14093 (libc_fetestexceptf): New.
14094 (libc_fetestexceptl): New.
14095 (HAVE_RM_CTX): New.
14096 (libc_feholdexcept_setround_mips_ctx): New.
14097 (libc_feholdexcept_setround_ctx): New.
14098 (libc_feholdexcept_setroundf_ctx): New.
14099 (libc_feholdexcept_setroundl_ctx): New.
14100 (libc_fesetenv_mips_ctx): New.
14101 (libc_fesetenv_ctx): New.
14102 (libc_fesetenv_ctxf): New.
14103 (libc_fesetenv_ctxl): New.
14104 (libc_feupdateenv_mips_ctx): New.
14105 (libc_feupdateenv_ctx): New.
14106 (libc_feupdateenvf_ctx): New.
14107 (libc_feupdateenvl_ctx): New.
14108 (libc_feholdsetround_mips_ctx): New.
14109 (libc_feholdsetround_ctx): New.
14110 (libc_feholdsetroundf_ctx): New.
14111 (libc_feholdsetroundl_ctx): New.
14112 (libc_feresetround_mips_ctx): New.
14113 (libc_feresetround_ctx): New.
14114 (libc_feresetroundf_ctx): New.
14115 (libc_feresetroundl_ctx): New.
14116
085d0e35
CD
141172014-02-26 Carlos O'Donell <carlos@redhat.com>
14118
f067bf1f
CD
14119 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14120
085d0e35
CD
14121 * manual/ipc.texi: New file.
14122 * manual/Makefile (chapters): Add ipc.
14123 * manual/job.texi: Add "Inter-Process Communication" to next.
14124 * manual/process.texi: Add "Inter-Process Communication" to prev.
14125
86e58c08
AZ
141262014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14127
14128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14129
4248f0da
OB
141302014-02-26 Ondřej Bílka <neleai@seznam.cz>
14131
14132 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14133
cf822e3c
OB
14134 * manual/arith.texi: Fix spaces after sentences.
14135 * manual/charset.texi: Likewise.
14136 * manual/errno.texi: Likewise.
14137 * manual/install.texi: Likewise.
14138 * manual/llio.texi: Likewise.
14139 * manual/locale.texi: Likewise.
14140 * manual/maint.texi: Likewise.
14141 * manual/math.texi: Likewise.
14142 * manual/memory.texi: Likewise.
14143 * manual/message.texi: Likewise.
14144 * manual/probes.texi: Likewise.
14145 * manual/resource.texi: Likewise.
14146 * manual/signal.texi: Likewise.
14147 * manual/socket.texi: Likewise.
14148 * manual/stdio.texi: Likewise.
14149 * manual/string.texi: Likewise.
14150 * manual/time.texi: Likewise.
14151 * manual/users.texi: Likewise.
14152
ade40b10
CD
141532014-02-25 Carlos O'Donell <carlos@redhat.com>
14154
14155 [BZ #16632]
14156 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14157 _DEFAULT_SOURCE is defined.
14158
d0503676
CD
141592014-02-25 Ulrich Drepper <drepper@gmail.com>
14160 Carlos O'Donell <carlos@redhat.com>
14161
14162 [BZ #16613]
14163 * elf/dl-tls.c (_dl_count_modids): New function.
14164 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14165 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14166 audit library and increment generation counter.
14167 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14168 * elf/tst-audit9.c: New file.
14169 * elf/tst-auditmod9a.c: New file.
14170 * elf/tst-auditmod9b.c: New file.
14171 * elf/Makefile: Add rules to build and run tst-audit9.
14172
4cbf380c
FW
141732014-02-25 Florian Weimer <fweimer@redhat.com>
14174
14175 [BZ #15347]
14176 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14177
80a56cc3
WN
141782014-02-25 Will Newton <will.newton@linaro.org>
14179
14180 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14181 (__longjmp): Restore sp and lr before restoring callee
14182 saved registers. Add longjmp and longjmp_target
14183 SystemTap probe point.
14184 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14185 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14186 Define to zero to match jmpbuf layout.
14187 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14188 (__sigsetjmp): Save sp and lr before saving callee
14189 saved registers. Add setjmp SystemTap probe point.
14190
3ea0f74e
SL
141912014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14192
14193 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14194
b04acb26
AS
141952014-02-24 Andreas Schwab <schwab@suse.de>
14196
14197 [BZ #15804]
14198 * elf/pldd.c (wait_for_ptrace_stop): New function.
14199 (main): Call it after attaching.
14200
098ad55c
RM
142012014-02-22 Roland McGrath <roland@hack.frob.com>
14202
d4ec6ae1
RM
14203 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14204 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14205 Versions files is now verboten.
14206 * hurd/Versions (libc: GLIBC_2.0):
14207 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14208 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14209 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14210 * mach/Versions: Likewise.
14211
098ad55c
RM
14212 * csu/Versions: Remove unused %include.
14213 * resolv/Versions: Likewise.
14214
acd7f096
JM
142152014-02-21 Joseph Myers <joseph@codesourcery.com>
14216
f0881698
JM
14217 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14218 ($(objpfx)check-local-headers.out): Likewise.
14219 ($(objpfx)begin-end-check.out): Likewise.
14220 * Makerules (check-abi-%.out): Likewise.
14221 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14222 ($(objpfx)test2.cat): Likewise.
14223 ($(objpfx)de/libc.cat): Likewise.
14224 ($(objpfx)test-gencat.out): Likewise.
14225 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14226 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14227 ($(objpfx)noload-mem): Likewise.
14228 ($(objpfx)tst-pathopt.out): Likewise.
14229 ($(objpfx)tst-rtld-load-self.out): Likewise.
14230 ($(objpfx)tst-array1-cmp.out): Likewise.
14231 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14232 ($(objpfx)tst-array2-cmp.out): Likewise.
14233 ($(objpfx)tst-array3-cmp.out): Likewise.
14234 ($(objpfx)tst-array4-cmp.out): Likewise.
14235 ($(objpfx)tst-array5-cmp.out): Likewise.
14236 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14237 ($(objpfx)check-textrel.out): Likewise.
14238 ($(objpfx)check-execstack.out): Likewise.
14239 ($(objpfx)check-localplt.out): Likewise.
14240 ($(objpfx)order2-cmp.out): Likewise.
14241 ($(objpfx)tst-leaks1-mem): Likewise.
14242 ($(objpfx)tst-leaks1-static-mem): Likewise.
14243 ($(objpfx)tst-initorder-cmp.out): Likewise.
14244 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14245 ($(objpfx)tst-unused-dep.out): Likewise.
14246 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14247 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14248 * iconv/Makefile (test-iconvconfig): Likewise.
14249 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14250 ($(objpfx)iconv-test.out): Likewise.
14251 ($(objpfx)tst-tables.out): Likewise.
14252 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14253 ($(objpfx)tst-gettext.out): Likewise.
14254 ($(objpfx)tst-translit.out): Likewise.
14255 ($(objpfx)tst-gettext2.out): Likewise.
14256 ($(objpfx)tst-gettext4.out): Likewise.
14257 ($(objpfx)tst-gettext6.out): Likewise.
14258 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14259 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14260 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14261 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14262 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14263 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14264 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14265 ($(objpfx)wordexp-tst.out): Likewise.
14266 ($(objpfx)annexc.out): Likewise.
14267 ($(objpfx)tst-fnmatch-mem): Likewise.
14268 ($(objpfx)bug-regex2-mem): Likewise.
14269 ($(objpfx)bug-regex14-mem): Likewise.
14270 ($(objpfx)bug-regex21-mem): Likewise.
14271 ($(objpfx)bug-regex31-mem): Likewise.
14272 ($(objpfx)tst-vfork3-mem): Likewise.
14273 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14274 ($(objpfx)tst-pcre-mem): Likewise.
14275 ($(objpfx)tst-boost-mem): Likewise.
14276 ($(objpfx)tst-getconf.out): Likewise.
14277 ($(objpfx)bug-ga2-mem): Likewise.
14278 ($(objpfx)bug-glob2-mem): Likewise.
14279 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14280 ($(objpfx)mtrace-tst-leaks2): Likewise.
14281 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14282 ($(objpfx)tst-printf.out): Likewise.
14283 ($(objpfx)tst-setvbuf1.out): Likewise.
14284 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14285 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14286 ($(objpfx)tst-fmtmsg.out): Likewise.
14287 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14288 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14289
acd7f096
JM
14290 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14291 * bits/sigaction.h [__USE_MISC]: Likewise.
14292 * bits/waitstatus.h: Update #endif comments.
14293 * ctype/ctype.h: Likewise.
14294 * dirent/dirent.h: Likewise.
14295 [__USE_MISC]: Remove redundant conditionals.
14296 * grp/grp.h: Update #endif comments.
14297 [__USE_GNU]: Remove redundant conditionals.
14298 [__USE_MISC]: Likewise.
14299 * inet/netinet/in.h [__USE_GNU]: Likewise.
14300 * io/sys/stat.h [__USE_MISC]: Likewise.
14301 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14302 * libio/bits/stdio.h: Update #endif comments.
14303 [__USE_MISC]: Remove redundant conditionals.
14304 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14305 * libio/stdio.h: Update #endif comments.
14306 [__USE_MISC]: Remove redundant conditionals.
14307 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14308 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14309 * math/math.h: Update #else and #endif comments.
14310 [__USE_MISC]: Remove redundant conditionals.
14311 * misc/sys/uio.h: Update #endif comments.
14312 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14313 * posix/glob.h [__USE_MISC]: Likewise.
14314 * posix/sys/types.h: Update #endif comments.
14315 [__USE_MISC]: Remove redundant conditionals.
14316 * posix/sys/wait.h: Update #endif comments.
14317 [__USE_MISC]: Remove redundant conditionals.
14318 * posix/unistd.h: Update #endif comments.
14319 [__USE_MISC]: Remove redundant conditionals.
14320 * pwd/pwd.h [__USE_GNU]: Likewise.
14321 [__USE_MISC]: Likewise.
14322 * resolv/netdb.h [__USE_GNU]: Likewise.
14323 * signal/signal.h: Update #endif comments.
14324 [__USE_MISC]: Remove redundant conditionals.
14325 * stdlib/stdlib.h: Update #else and #endif comments.
14326 [__USE_MISC]: Remove redundant conditionals.
14327 [__USE_GNU]: Likewise.
14328 * string/bits/string2.h [__USE_MISC]: Likewise.
14329 * string/string.h: Update #endif comments.
14330 [__USE_MISC]: Remove redundant conditionals.
14331 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14332 Likewise.
14333 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14334 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14335 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14336 Likewise.
14337 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14338 Likewise.
14339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14340 comments.
14341 [__USE_MISC]: Remove redundant conditionals.
14342 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14343 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14344 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14345 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14346 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14347 Likewise.
14348 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14349 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14350 Likewise.
14351 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14352 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14353 Likewise.
14354 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14355 Likewise.
14356 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14357 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14358 Likewise.
14359 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14360 Likewise.
14361 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14362 * sysdeps/x86/bits/string.h: Update #endif comments.
14363 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14364 conditionals.
14365 * time/sys/time.h: Update #endif comments.
14366 * time/time.h: Likewise.
14367 [__USE_MISC]: Remove redundant conditionals.
14368
a5d82e4e
YG
143692014-02-21 Yury Gribov <y.gribov@samsung.com>
14370
14371 [BZ #16600]
14372 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14373
9a80491d
AS
143742014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14375
14376 * Versions.def (librt): Add GLIBC_2.17.
14377
105fa381
AC
143782014-02-21 Adam Conrad <adconrad@0c3.net>
14379
14380 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14381 synonym for _SYS_AUXV_H to allow direct inclusion.
14382 * sysdeps/sparc/bits/hwcap.h: Likewise.
14383 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14384 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14385 * sysdeps/sparc/sysdep.h: Likewise.
14386
b8cd1c4e
SP
143872014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14388
14389 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14390
bd939d23
RS
143912014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14392
14393 * benchtests/bench-strrchr.c: Print length instead of position.
14394
5d7b57ca
JM
143952014-02-20 Joseph Myers <joseph@codesourcery.com>
14396
bc688c10
JM
14397 [BZ #16611]
14398 * sysdeps/unix/sysv/linux/kernel-features.h
14399 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14400 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14401 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14402 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14403 Likewise.
14404 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14405 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14406 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14407 (__ASSUME_SENDMMSG): Define instead of using previous
14408 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14409 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14410 (__ASSUME_SENDMMSG_SYSCALL): Define.
14411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14412 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14413 Likewise.
14414 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14415 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14416 Likewise.
14417 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14418 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14419 Likewise.
14420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14421 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14422 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14423 [__ASSUME_SENDMMSG]: Change conditionals to
14424 [__ASSUME_SENDMMSG_SOCKETCALL].
14425 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14426 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14427 Define.
14428 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14429 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14430 Likewise.
14431 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14432 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14433 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14434 [!__ASSUME_SENDMMSG]: Change conditional to
14435 [!__ASSUME_SENDMMSG_SOCKETCALL].
14436 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14437 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14438 Define.
14439
0e31b18c
JM
14440 [BZ #16610]
14441 * sysdeps/unix/sysv/linux/kernel-features.h
14442 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14443 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14444 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14445 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14446 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14447 [__i386__ || __sparc__]
14448 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14449 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14450 (__ASSUME_RECVMMSG): Define instead of using previous
14451 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14452 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14453 (__ASSUME_RECVMMSG_SYSCALL): Define.
14454 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14456 Likewise.
14457 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14458 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14459 Likewise.
14460 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14462 Likewise.
14463 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14464 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14465 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14466 [__ASSUME_RECVMMSG]: Change condition to
14467 [__ASSUME_RECVMMSG_SOCKETCALL].
14468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14469 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14470 Define.
14471 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14472 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14473 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14474 Likewise.
14475 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14476 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14477 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14478 [!__ASSUME_RECVMMSG]: Change condition to
14479 [!__ASSUME_RECVMMSG_SOCKETCALL].
14480 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14481 (__ASSUME_RECVMMSG_SYSCALL): Define.
14482
dd481ccf
JM
14483 [BZ #16609]
14484 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14485 __powerpc__ || __s390__ || __sh__ || __sparc__]
14486 (__ASSUME_SOCKETCALL): Define.
14487 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14488 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14489 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14490 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14491 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14492 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14493 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14494 (__ASSUME_ACCEPT4): Define instead of using previous
14495 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14496 __powerpc__ || __sparc__ || __s390__)] condition.
14497 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14498 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14499 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14500 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14501 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14502 [!__ASSUME_ACCEPT4]: Change condition to
14503 [!__ASSUME_ACCEPT4_SOCKETCALL].
14504 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14505 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
14506 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14508 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14509 __ASSUME_ACCEPT4_SYSCALL.
14510 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14511 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14512 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14513 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14514 __ASSUME_ACCEPT4_SYSCALL.
14515 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14516 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14517 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14518 [__ASSUME_ACCEPT4]: Change condition to
14519 [__ASSUME_ACCEPT4_SOCKETCALL].
14520 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14521 (__ASSUME_SOCKETCALL): Define.
14522 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14524 (__ASSUME_SOCKETCALL): Define.
14525 (__ASSUME_ACCEPT4): Remove.
14526 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14527 Define.
14528 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14529 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14530 Likewise.
14531 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14532 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14533
5d7b57ca
JM
14534 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14535 macro.
14536 (HWCAP_ARM_LPAE): Likewise.
14537 (HWCAP_ARM_EVTSTRM): Likewise.
14538 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14539 Add vpfd32, lpae and evtstrm.
14540 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14541 Increase to 22.
14542
63689d61
JM
145432014-02-19 Joseph Myers <joseph@codesourcery.com>
14544
14545 * math/auto-libm-test-in: Add tests of clog10.
14546 * math/auto-libm-test-out: Regenerated.
14547 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14548 * sysdeps/i386/fpu/libm-test-ulps: Update.
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14550
ab09bf61
AS
145512014-02-18 Andreas Schwab <schwab@suse.de>
14552
14553 [BZ #16574]
14554 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14555 Store non-zero if the second buffer was newly allocated.
14556 (send_dg): Likewise.
14557 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14558 to send_vc and send_dg.
14559 (res_nsend): Pass NULL for ansp2_malloced.
14560 * resolv/res_query.c (__libc_res_nquery): Add parameter
14561 answerp2_malloced and pass it down to __libc_res_nsend.
14562 (res_nquery): Pass additional NULL to __libc_res_nquery.
14563 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14564 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
14565 second answer buffer if answerp2_malloced was set.
14566 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14567 (__libc_res_nquerydomain): Add parameter
14568 answerp2_malloced and pass it down to __libc_res_nquery.
14569 (res_nquerydomain): Pass additional NULL to
14570 __libc_res_nquerydomain.
14571 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14572 additional NULL to __libc_res_nsend and __libc_res_nquery.
14573 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14574 additional NULL to __libc_res_nsearch.
14575 (_nss_dns_gethostbyname4_r): Revert last change. Use new
14576 parameter of __libc_res_nsearch to check for separately allocated
14577 second buffer.
14578 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14579 __libc_res_nquery.
14580 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14581 additional NULL to __libc_res_nquery.
14582 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14583 __libc_res_nsearch.
14584 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14585 * include/resolv.h: Update prototypes of __libc_res_nquery,
14586 __libc_res_nsearch, __libc_res_nsend.
14587
a4fb7861
JM
145882014-02-18 Joseph Myers <joseph@codesourcery.com>
14589
c6af2d89
JM
14590 * math/auto-libm-test-in: Add tests of fma.
14591 * math/auto-libm-test-out: Regenerated.
14592 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14593 (fma_towardzero_test_data): Likewise.
14594 (fma_downward_test_data): Likewise.
14595 (fma_upward_test_data): Likewise.
14596 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14597 mpc_mode.
14598 (rounding_modes): Add values for new field.
14599 (func_calc_method): Add value mpfr_fff_f.
14600 (func_calc_desc): Add mpfr_fff_f union field.
14601 (test_function): Add field exact_args.
14602 (FUNC): Add macro argument EXACT_ARGS.
14603 (FUNC_mpfr_f_f): Update call to FUNC.
14604 (FUNC_mpfr_f_f): Likewise.
14605 (FUNC_mpfr_ff_f): Likewise.
14606 (FUNC_mpfr_if_f): Likewise.
14607 (FUNC_mpc_c_f): Likewise.
14608 (FUNC_mpc_c_c): Likewise.
14609 (test_functions): Add fma. Update calls to FUNC.
14610 (handle_input_arg): Add argument exact_args.
14611 (add_test): Update call to handle_input_arg.
14612 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
14613 (output_for_one_input_case): Update call to calc_generic_results.
14614 Recalculate exact zero results in each rounding mode.
14615
a4fb7861
JM
14616 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14617 non-negative before setting low bit.
14618 * math/auto-libm-test-in: Mark one asin test possibly having
14619 spurious underflow.
14620 * math/auto-libm-test-out: Regenerated.
14621 * sysdeps/i386/fpu/libm-test-ulps: Update.
14622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14623
ef114eaf
DH
146242014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
14625
2b7f4f2c
SP
14626 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14627 * sysdeps/unix/sysv/linux/microblaze: Move directory from
14628 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
14629 * README: Add missing listing for microblaze*-*-linux-gnu.
14630
8125aedc
AM
146312014-02-16 Ondřej Bílka <neleai@seznam.cz>
14632
14633 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14634 duplicate code
14635
c70a4b1d
MF
146362014-02-16 Mike Frysinger <vapier@gentoo.org>
14637
14638 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14639 * sysdeps/unix/sysv/linux/ia64: Move directory from
14640 ports/sysdeps/unix/sysv/linux/ia64.
14641 * README: Update listing for ia64-*-linux-gnu.
14642
591aeaf7
TD
146432014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
14644 Joseph Myers <joseph@codesourcery.com>
14645
14646 * Makeconfig (test-name): New variable.
14647 (evaluate-test): Likewise.
14648 * Makerules (do-test-clean): Remove .test-result files.
14649 (common-mostlyclean): Likewise.
14650 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14651 * scripts/evaluate-test.sh: New file.
14652
6e89caf1
JM
146532014-02-14 Joseph Myers <joseph@codesourcery.com>
14654
7f98f180
JM
14655 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14656 separate $(objpfx)tst-fopenloc-cmp.out and
14657 $(objpfx)tst-fopenloc-mem.out targets.
14658 (tests): Update dependencies.
14659 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14660 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14661 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14662 (tst-rxspencer-no-utf8-ARGS): New variable.
14663 (tst-rxspencer-no-utf8-ENV): Likewise.
14664 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14665 instead of $(objpfx)tst-rxspencer-mem.
14666 ($(objpfx)tst-rxspencer-mem): Change target to
14667 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
14668 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14669 * posix/tst-rxspencer-no-utf8.c: New file.
14670
6e89caf1
JM
14671 * elf/Makefile ($(objpfx)order.out): Remove rule.
14672 [$(run-built-tests) = yes] (tests): Depend on
14673 $(objpfx)order-cmp.out.
14674 ($(objpfx)order-cmp.out): New rule.
14675 [$(run-built-tests) = yes] (tests): Depend on
14676 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14677 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14678 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14679 $(objpfx)tst-array5-static-cmp.out.
14680 ($(objpfx)tst-array1.out): Remove rule.
14681 ($(objpfx)tst-array1-cmp.out): New rule.
14682 ($(objpfx)tst-array1-static.out): Remove rule.
14683 ($(objpfx)tst-array1-static-cmp.out): New rule.
14684 ($(objpfx)tst-array2.out): Remove rule.
14685 ($(objpfx)tst-array2-cmp.out): New rule.
14686 ($(objpfx)tst-array3.out): Remove rule.
14687 ($(objpfx)tst-array3-cmp.out): New rule.
14688 ($(objpfx)tst-array4.out): Remove rule.
14689 ($(objpfx)tst-array4-cmp.out): New rule.
14690 ($(objpfx)tst-array5.out): Remove rule.
14691 ($(objpfx)tst-array5-cmp.out): New rule.
14692 ($(objpfx)tst-array5-static.out): Remove rule.
14693 ($(objpfx)tst-array5-static-cmp.out): New rule.
14694 [$(run-built-tests) = yes] (tests): Depend on
14695 $(objpfx)order2-cmp.out.
14696 ($(objpfx)order2.out): Remove rule.
14697 ($(objpfx)order2-cmp.out): New rule.
14698 ($(objpfx)tst-initorder.out): Remove rule.
14699 [$(run-built-tests) = yes] (tests): Depend on
14700 $(objpfx)tst-initorder-cmp.out.
14701 ($(objpfx)tst-initorder-cmp.out): New rule.
14702 ($(objpfx)tst-initorder2.out): Remove rule.
14703 [$(run-built-tests) = yes] (tests): Depend on
14704 $(objpfx)tst-initorder2-cmp.out.
14705 ($(objpfx)tst-initorder2-cmp.out): New rule.
14706 [$(run-built-tests) = yes] (tests): Depend on
14707 $(objpfx)tst-unused-dep-cmp.out.
14708 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14709 ($(objpfx)tst-unused-dep-cmp.out): New rule.
14710 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14711 on $(objpfx)tst-setvbuf1-cmp.out.
14712 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14713 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14714 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14715 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14716 ($(objpfx)tst-svc.out): Remove rule.
14717 ($(objpfx)tst-svc-cmp.out): New rule.
14718
ed9a38e2
JM
147192014-02-13 Joseph Myers <joseph@codesourcery.com>
14720
14721 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14722 * ctype/ctype.h [__USE_MISC]: Likewise.
14723 * dirent/dirent.h [__USE_MISC]: Likewise.
14724 * grp/grp.h [__USE_MISC]: Likewise.
14725 * io/fcntl.h [__USE_MISC]: Likewise.
14726 * io/sys/stat.h [__USE_MISC]: Likewise.
14727 * libio/stdio.h [__USE_MISC]: Likewise.
14728 * posix/unistd.h [__USE_MISC]: Likewise.
14729 * pwd/pwd.h [__USE_MISC]: Likewise.
14730 * stdlib.h [__USE_MISC]: Likewise.
14731 * string/bits/string2.h [__USE_MISC]: Likewise.
14732 * string/string.h [__USE_MISC]: Likewise.
14733 * time/time.h [__USE_MISC]: Likewise.
14734
d6680619
AS
147352014-02-13 Andreas Schwab <schwab@suse.de>
14736
14737 [BZ #16574]
14738 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14739 second answer buffer if it was separately allocated.
14740
ace614b8
JM
147412014-02-12 Joseph Myers <joseph@codesourcery.com>
14742
743151ae
JM
14743 * sysdeps/mips/math-tests.h: Include <features.h>.
14744 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14745 (ROUNDING_TESTS_long_double): Do not define.
14746 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14747 (EXCEPTION_TESTS_long_double): Likewise.
14748 * sysdeps/mips/mips64/libm-test-ulps: Update.
14749
498afc54
JM
14750 * include/features.h (__USE_BSD): Remove macro definitions.
14751 (__USE_SVID): Likewise.
14752 (_BSD_SOURCE): Likewise.
14753 (_SVID_SOURCE): Likewise.
14754 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14755 from definition of _DEFAULT_SOURCE.
14756 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14757 [_DEFAULT_SOURCE].
14758 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14759 * bits/mman.h [__USE_BSD]: Likewise.
14760 * bits/termios.h [__USE_BSD]: Likewise.
14761 * bits/waitstatus.h [__USE_BSD]: Likewise.
14762 * ctype/ctype.h [__USE_SVID]: Likewise.
14763 * dirent/dirent.h [__USE_BSD]: Likewise.
14764 * grp/grp.h [__USE_SVID]: Likewise.
14765 [__USE_BSD]: Likewise.
14766 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14767 * io/fcntl.h [__USE_BSD]: Likewise.
14768 * io/ftw.h [__USE_BSD]: Likewise.
14769 * io/sys/stat.h [__USE_BSD]: Likewise.
14770 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14771 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14772 * libio/stdio.h [__USE_SVID]: Likewise.
14773 [__USE_BSD]: Likewise.
14774 * math/math.h [__USE_SVID]: Likewise.
14775 [__USE_BSD]: Likewise.
14776 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14777 * misc/bits/syslog.h [__USE_BSD]: Likewise.
14778 * misc/search.h [__USE_SVID]: Likewise.
14779 * misc/sys/mman.h [__USE_BSD]: Likewise.
14780 * misc/sys/syslog.h [__USE_BSD]: Likewise.
14781 * misc/sys/uio.h [__USE_BSD]: Likewise.
14782 * posix/bits/unistd.h [__USE_BSD]: Likewise.
14783 * posix/glob.h [__USE_BSD]: Likewise.
14784 * posix/regex.h [__USE_BSD]: Likewise.
14785 * posix/sys/types.h [__USE_BSD]: Likewise.
14786 [__USE_SVID]: Likewise.
14787 * posix/sys/utsname.h [__USE_SVID]: Likewise.
14788 * posix/sys/wait.h [__USE_BSD]: Likewise.
14789 [__USE_SVID]: Likewise.
14790 * posix/unistd.h [__USE_BSD]: Likewise.
14791 [__USE_SVID]: Likewise.
14792 * pwd/pwd.h [__USE_SVID]: Likewise.
14793 * resolv/netdb.h [__USE_BSD]: Likewise.
14794 * setjmp/setjmp.h [__USE_BSD]: Likewise.
14795 * signal/signal.h [__USE_BSD]: Likewise.
14796 [__USE_SVID]: Likewise.
14797 * socket/sys/socket.h [__USE_BSD]: Likewise.
14798 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14799 * stdlib/stdlib.h [__USE_BSD]: Likewise.
14800 [__USE_SVID]: Likewise.
14801 * string/bits/string2.h [__USE_BSD]: Likewise.
14802 [__USE_SVID]: Likewise.
14803 * string/bits/string3.h [__USE_BSD]: Likewise.
14804 * string/endian.h [__USE_BSD]: Likewise.
14805 * string/string.h [__USE_SVID]: Likewise.
14806 [__USE_BSD]: Likewise.
14807 * string/strings.h [__USE_BSD]: Likewise.
14808 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14809 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14810 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14811 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14812 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14813 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14814 Likewise.
14815 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14816 Likewise.
14817 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14818 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14819 Likewise.
14820 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14821 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14822 Likewise.
14823 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14824 Likewise.
14825 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14826 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14827 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14828 Likewise.
14829 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14830 Likewise.
14831 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14832 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14833 * termios/termios.h [__USE_BSD]: Likewise.
14834 * time/sys/time.h [__USE_BSD]: Likewise.
14835 * time/time.h [__USE_BSD]: Likewise.
14836 [__USE_SVID]: Likewise.
14837
dd7b064c
JM
14838 * Makefile (subdir_targets): Remove subdir_lint.out.
14839
a2c4c199
JM
14840 * stdio-common/Makefile (do-tst-unbputc): Remove target.
14841 (do-tst-printf): Likewise.
14842 (tests): Depend directly on $(objpfx)tst-unbputc.out and
14843 $(objpfx)tst-printf.out.
14844
8756f740
JM
14845 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14846
1b6dd3f1
JM
14847 * Makerules (check-abi-%): Change target to
14848 $(objpfx)check-abi-%.out.
14849 (check-abi target): Update dependencies.
14850 (check-abi-pattern variable): Redirect output of diff to $@.
14851 (check-abi variable): Likewise.
14852 * elf/Makefile (check-abi): Update dependencies.
14853
ace614b8
JM
14854 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14855 unused.
14856 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14857 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14858 subnormal range.
14859 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14860 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14861 value has largest subnormal exponent.
14862 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14863 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14864 * sysdeps/aarch64/soft-fp/sfp-machine.h
14865 (_FP_TININESS_AFTER_ROUNDING): New macro.
14866 * sysdeps/alpha/soft-fp/sfp-machine.h
14867 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14868 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14869 Likewise.
14870 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14871 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14872 * sysdeps/mips/soft-fp/sfp-machine.h
14873 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14874 * sysdeps/powerpc/soft-fp/sfp-machine.h
14875 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14876 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14877 Likewise.
14878 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14879 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14880 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14881 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14882 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14883 Likewise.
14884
fbfdf9cb
DAS
148852014-02-12 Dylan Alex Simon <dylan@dylex.net>
14886
14887 [BZ #16545]
14888 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14889 model 1.
14890
68b7efaa
RH
148912014-02-12 Richard Henderson <rth@redhat.com>
14892
c70a4b1d 14893 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14894 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14895 * sysdeps/unix/sysv/linux/alpha: Move directory from
14896 ports/sysdeps/unix/sysv/linux/alpha.
14897 * README: Update listing for alpha-*-linux-gnu.
14898
cb4a2928
JM
148992014-02-11 Joseph Myers <joseph@codesourcery.com>
14900
c941736c
JM
14901 * include/features.h: Update comment documenting feature test
14902 macros.
14903 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14904 _DEFAULT_SOURCE.
14905 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14906 (_SVID_SOURCE): Likewise.
14907 (_DEFAULT_SOURCE): Update description of default features.
14908 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14909 with _GNU_SOURCE.
14910 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14911 (S_ISVTX): Likewise.
14912 * manual/math.texi (Mathematical Constants): Likewise.
14913 * manual/signal.texi (Interrupted Primitives): Likewise.
14914 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14915 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14916 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14917 Don't refer to _SVID_SOURCE in warning text.
14918
e8d8d7ec
JM
14919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14920
cb4a2928
JM
14921 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14922 already defined.
14923 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14924 * sysdeps/mips/dl-lookup.c: Remove.
14925 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14926
7e6424e3
AK
149272014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14928
14929 [BZ #16447]
14930 * math/auto-libm-test-in: Add testcase for expl.
14931 * math/auto-libm-test-out: Regenerate.
14932 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14933 calculation of unsafe.
14934 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14935
75eff3fe
MS
149362014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14937
14938 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14939 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14940 ports/sysdeps/unix/sysv/linux/aarch64.
14941 * README: Update listing for aarch64*-*-linux-gnu.
14942
d35f1e80
WN
149432014-02-11 Will Newton <will.newton@linaro.org>
14944
14945 * manual/probes.texi (Mathematical Function Probes): Use
14946 "triggered" instead of "hit".
14947
7b3436d4
WN
14948 * manual/probes.texi (Internal Probes): Add documentation
14949 of setjmp, longjmp and longjmp_target probes.
14950
b4f12ca3
WN
14951 * include/stap-probe.h: Add comment about probe argument
14952 format.
14953
c13a72b7
WN
14954 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14955 definition. (tr_where, tr_freehook, tr_mallochook,
14956 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14957
195b8165
DM
149582014-02-11 David S. Miller <davem@davemloft.net>
14959
14960 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14961 processing int_tests.
14962
2ad7600b
JM
149632014-02-10 Joseph Myers <joseph@codesourcery.com>
14964
14965 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14966 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14967 * sysdeps/unix/sysv/linux/mips: Move directory from
14968 ports/sysdeps/unix/sysv/linux/mips.
14969 * README: Update listing for mips-*-linux-gnu and
14970 mips64-*-linux-gnu.
14971
73588a72
AS
149722014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14973
14974 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14975 * sysdeps/unix/sysv/linux/m68k: Move directory from
14976 ports/sysdeps/unix/sysv/linux/m68k.
14977 * README: Update listing for m68k-*-linux-gnu.
14978
4372980f
CM
149792014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14980
14981 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14982 * sysdeps/unix/sysv/linux/generic: Move directory from
14983 ports/sysdeps/unix/sysv/linux/generic.
14984 * sysdeps/unix/sysv/linux/tile: Move directory from
14985 ports/sysdeps/unix/sysv/linux/tile.
14986 * README: Update listing for tile*-*-linux-gnu.
14987
a1ffb40e
OB
149882014-02-10 Ondřej Bílka <neleai@seznam.cz>
14989
57f41c40
AS
14990 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14991 __builtin_expect.
a1ffb40e
OB
14992 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14993 * catgets/open_catalog.c (__open_catalog): Likewise.
14994 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14995 * debug/confstr_chk.c: Likewise.
14996 * debug/fread_chk.c (__fread_chk): Likewise.
14997 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14998 * debug/getgroups_chk.c: Likewise.
14999 * debug/mbsnrtowcs_chk.c: Likewise.
15000 * debug/mbsrtowcs_chk.c: Likewise.
15001 * debug/mbstowcs_chk.c: Likewise.
15002 * debug/memcpy_chk.c: Likewise.
15003 * debug/memmove_chk.c: Likewise.
15004 * debug/mempcpy_chk.c: Likewise.
15005 * debug/memset_chk.c: Likewise.
15006 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15007 * debug/strcat_chk.c (__strcat_chk): Likewise.
15008 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15009 * debug/strncat_chk.c (__strncat_chk): Likewise.
15010 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15011 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15012 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15013 * debug/wcpncpy_chk.c: Likewise.
15014 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15015 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15016 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15017 * debug/wcsncpy_chk.c: Likewise.
15018 * debug/wcsnrtombs_chk.c: Likewise.
15019 * debug/wcsrtombs_chk.c: Likewise.
15020 * debug/wcstombs_chk.c: Likewise.
15021 * debug/wmemcpy_chk.c: Likewise.
15022 * debug/wmemmove_chk.c: Likewise.
15023 * debug/wmempcpy_chk.c: Likewise.
15024 * debug/wmemset_chk.c: Likewise.
15025 * dirent/scandirat.c (SCANDIRAT): Likewise.
15026 * dlfcn/dladdr1.c (dladdr1): Likewise.
15027 * dlfcn/dladdr.c (dladdr): Likewise.
15028 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15029 * dlfcn/dlerror.c (__dlerror): Likewise.
15030 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15031 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15032 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15033 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15034 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15035 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15036 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15037 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15038 Likewise.
15039 * elf/dl-conflict.c: Likewise.
15040 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15041 * elf/dl-dst.h: Likewise.
15042 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15043 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15044 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15045 * elf/dl-init.c (call_init, _dl_init): Likewise.
15046 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
15047 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15048 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15049 Likewise.
a1ffb40e
OB
15050 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15051 Likewise.
15052 * elf/dl-minimal.c (__libc_memalign): Likewise.
15053 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15054 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15055 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15056 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
15057 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15058 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
15059 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15060 * elf/dl-writev.h (_dl_writev): Likewise.
15061 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
15062 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15063 (dl_main): Likewise.
a1ffb40e
OB
15064 * elf/setup-vdso.h (setup_vdso): Likewise.
15065 * grp/compat-initgroups.c (compat_call): Likewise.
15066 * grp/fgetgrent.c (fgetgrent): Likewise.
15067 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15068 * grp/putgrent.c (putgrent): Likewise.
15069 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15070 Likewise.
15071 * hurd/hurdinit.c: Likewise.
15072 * iconvdata/8bit-gap.c (struct): Likewise.
15073 * iconvdata/ansi_x3.110.c : Likewise.
15074 * iconvdata/big5.c : Likewise.
15075 * iconvdata/big5hkscs.c : Likewise.
15076 * iconvdata/cp1255.c: Likewise.
15077 * iconvdata/cp1258.c : Likewise.
15078 * iconvdata/cp932.c : Likewise.
15079 * iconvdata/euc-cn.c: Likewise.
15080 * iconvdata/euc-jisx0213.c : Likewise.
15081 * iconvdata/euc-jp.c: Likewise.
15082 * iconvdata/euc-jp-ms.c : Likewise.
15083 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15084 * iconvdata/gb18030.c : Likewise.
15085 * iconvdata/gbbig5.c (const): Likewise.
15086 * iconvdata/gbgbk.c: Likewise.
15087 * iconvdata/gbk.c : Likewise.
15088 * iconvdata/ibm1364.c : Likewise.
15089 * iconvdata/ibm930.c : Likewise.
15090 * iconvdata/ibm932.c: Likewise.
15091 * iconvdata/ibm933.c : Likewise.
15092 * iconvdata/ibm935.c : Likewise.
15093 * iconvdata/ibm937.c : Likewise.
15094 * iconvdata/ibm939.c : Likewise.
15095 * iconvdata/ibm943.c: Likewise.
15096 * iconvdata/iso_11548-1.c: Likewise.
15097 * iconvdata/iso-2022-cn.c : Likewise.
15098 * iconvdata/iso-2022-cn-ext.c : Likewise.
15099 * iconvdata/iso-2022-jp-3.c: Likewise.
15100 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15101 * iconvdata/iso-2022-kr.c : Likewise.
15102 * iconvdata/iso646.c (gconv_end): Likewise.
15103 * iconvdata/iso_6937-2.c : Likewise.
15104 * iconvdata/iso_6937.c : Likewise.
15105 * iconvdata/iso8859-1.c: Likewise.
15106 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15107 * iconvdata/shift_jisx0213.c : Likewise.
15108 * iconvdata/sjis.c : Likewise.
15109 * iconvdata/t.61.c : Likewise.
15110 * iconvdata/tcvn5712-1.c : Likewise.
15111 * iconvdata/tscii.c: Likewise.
15112 * iconvdata/uhc.c : Likewise.
15113 * iconvdata/unicode.c (gconv_end): Likewise.
15114 * iconvdata/utf-16.c (gconv_end): Likewise.
15115 * iconvdata/utf-32.c (gconv_end): Likewise.
15116 * iconvdata/utf-7.c (base64): Likewise.
15117 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15118 * iconv/gconv_close.c (__gconv_close): Likewise.
15119 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
15120 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15121 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15122 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15123 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15124 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
15125 * iconv/iconv.c (iconv): Likewise.
15126 * iconv/iconv_close.c: Likewise.
15127 * iconv/loop.c (SINGLE): Likewise.
15128 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15129 * include/atomic.h: Likewise.
15130 * inet/inet6_option.c (option_alloc): Likewise.
15131 * intl/bindtextdom.c (set_binding_values): Likewise.
15132 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15133 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15134 * intl/localealias.c (read_alias_file): Likewise.
15135 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
15136 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15137 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
15138 * libio/fmemopen.c (fmemopen): Likewise.
15139 * libio/iofgets.c (_IO_fgets): Likewise.
15140 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15141 * libio/iofgetws.c (fgetws): Likewise.
15142 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15143 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
15144 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15145 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
15146 * locale/findlocale.c (_nl_find_locale): Likewise.
15147 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15148 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15149 Likewise.
15150 * locale/setlocale.c (setlocale): Likewise.
15151 * login/programs/pt_chown.c (main): Likewise.
15152 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15153 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
15154 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15155 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
15156 * math/e_exp2l.c: Likewise.
15157 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15158 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15159 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15160 * math/s_catan.c (__catan): Likewise.
15161 * math/s_catanf.c (__catanf): Likewise.
15162 * math/s_catanh.c (__catanh): Likewise.
15163 * math/s_catanhf.c (__catanhf): Likewise.
15164 * math/s_catanhl.c (__catanhl): Likewise.
15165 * math/s_catanl.c (__catanl): Likewise.
15166 * math/s_ccosh.c (__ccosh): Likewise.
15167 * math/s_ccoshf.c (__ccoshf): Likewise.
15168 * math/s_ccoshl.c (__ccoshl): Likewise.
15169 * math/s_cexp.c (__cexp): Likewise.
15170 * math/s_cexpf.c (__cexpf): Likewise.
15171 * math/s_cexpl.c (__cexpl): Likewise.
15172 * math/s_clog10.c (__clog10): Likewise.
15173 * math/s_clog10f.c (__clog10f): Likewise.
15174 * math/s_clog10l.c (__clog10l): Likewise.
15175 * math/s_clog.c (__clog): Likewise.
15176 * math/s_clogf.c (__clogf): Likewise.
15177 * math/s_clogl.c (__clogl): Likewise.
15178 * math/s_csin.c (__csin): Likewise.
15179 * math/s_csinf.c (__csinf): Likewise.
15180 * math/s_csinh.c (__csinh): Likewise.
15181 * math/s_csinhf.c (__csinhf): Likewise.
15182 * math/s_csinhl.c (__csinhl): Likewise.
15183 * math/s_csinl.c (__csinl): Likewise.
15184 * math/s_csqrt.c (__csqrt): Likewise.
15185 * math/s_csqrtf.c (__csqrtf): Likewise.
15186 * math/s_csqrtl.c (__csqrtl): Likewise.
15187 * math/s_ctan.c (__ctan): Likewise.
15188 * math/s_ctanf.c (__ctanf): Likewise.
15189 * math/s_ctanh.c (__ctanh): Likewise.
15190 * math/s_ctanhf.c (__ctanhf): Likewise.
15191 * math/s_ctanhl.c (__ctanhl): Likewise.
15192 * math/s_ctanl.c (__ctanl): Likewise.
15193 * math/w_pow.c: Likewise.
15194 * math/w_powf.c: Likewise.
15195 * math/w_powl.c: Likewise.
15196 * math/w_scalb.c (sysv_scalb): Likewise.
15197 * math/w_scalbf.c (sysv_scalbf): Likewise.
15198 * math/w_scalbl.c (sysv_scalbl): Likewise.
15199 * misc/error.c (error_tail): Likewise.
15200 * misc/pselect.c (__pselect): Likewise.
15201 * nis/nis_callback.c (__nis_create_callback): Likewise.
15202 * nis/nis_call.c (__nisfind_server): Likewise.
15203 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15204 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15205 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15206 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15207 * nis/nis_lookup.c (nis_lookup): Likewise.
15208 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
15209 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15210 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 15211 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
15212 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15213 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15214 * nis/nss_compat/compat-initgroups.c (add_group)
15215 (internal_getgrent_r): Likewise.
15216 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15217 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15218 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15219 (internal_getspnam_r): Likewise.
15220 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15221 (_nss_nis_getaliasbyname_r): Likewise.
15222 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15223 (_nss_nis_getntohost_r): Likewise.
15224 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15225 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15226 (_nss_nis_getgrgid_r): Likewise.
15227 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15228 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15229 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15230 (_nss_nis_gethostbyname4_r): Likewise.
15231 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15232 (initgroups_netid): Likewise.
a1ffb40e 15233 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
15234 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15235 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15236 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15237 (_nss_nis_getprotobynumber_r): Likewise.
15238 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15239 (_nss_nis_getsecretkey): Likewise.
15240 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15241 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15242 (_nss_nis_getpwuid_r): Likewise.
15243 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15244 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15245 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15246 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15247 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15248 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
15249 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15250 Likewise.
57f41c40
AS
15251 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15252 (_nss_nisplus_getntohost_r): Likewise.
15253 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15254 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15255 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15256 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 15257 Likewise.
57f41c40
AS
15258 * nis/nss_nisplus/nisplus-initgroups.c
15259 (_nss_nisplus_initgroups_dyn): Likewise.
15260 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15261 (_nss_nisplus_getnetbyaddr_r): Likewise.
15262 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15263 (_nss_nisplus_getprotobynumber_r): Likewise.
15264 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15265 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
15266 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15267 Likewise.
57f41c40
AS
15268 * nis/nss_nisplus/nisplus-service.c
15269 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15270 (_nss_nisplus_getservbyport_r): Likewise.
15271 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15272 (_nss_nisplus_getspnam_r): Likewise.
15273 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15274 Likewise.
a1ffb40e
OB
15275 * nscd/aicache.c (addhstaiX): Likewise.
15276 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
15277 * nscd/connections.c (register_traced_file, send_ro_fd)
15278 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15279 (main_loop_epoll): Likewise.
a1ffb40e
OB
15280 * nscd/grpcache.c (addgrbyX): Likewise.
15281 * nscd/hstcache.c (addhstbyX): Likewise.
15282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15283 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
15284 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15285 (addinnetgrX): Likewise.
15286 * nscd/nscd-client.h (__nscd_acquire_maplock)
15287 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
15288 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15289 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15290 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15291 Likewise.
15292 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15293 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
15294 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15295 (__nscd_get_map_ref): Likewise.
a1ffb40e 15296 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
15297 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15298 Likewise.
a1ffb40e
OB
15299 * nscd/pwdcache.c (addpwbyX): Likewise.
15300 * nscd/selinux.c (preserve_capabilities): Likewise.
15301 * nscd/servicescache.c (addservbyX): Likewise.
15302 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15303 * posix/fnmatch.c (fnmatch): Likewise.
15304 * posix/getopt.c (_getopt_internal_r): Likewise.
15305 * posix/glob.c (glob, glob_in_dir): Likewise.
15306 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
15307 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15308 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
15309 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15310 * resolv/res_init.c: Likewise.
15311 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15312 * resolv/res_query.c (__libc_res_nquery): Likewise.
15313 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15314 Likewise.
15315 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15316 * stdio-common/perror.c (perror): Likewise.
15317 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15318 * stdio-common/tmpnam.c (tmpnam): Likewise.
15319 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15320 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
15321 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15322 Likewise.
a1ffb40e
OB
15323 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15324 * stdlib/putenv.c (putenv): Likewise.
15325 * stdlib/setenv.c (__add_to_environ): Likewise.
15326 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15327 * stdlib/strtol_l.c (INTERNAL): Likewise.
15328 * string/memmem.c (memmem): Likewise.
15329 * string/strerror.c (strerror): Likewise.
15330 * string/strnlen.c (__strnlen): Likewise.
15331 * string/test-memmem.c (simple_memmem): Likewise.
15332 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15333 * sunrpc/pm_getport.c (__get_socket): Likewise.
15334 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15335 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
15336 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15337 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
15338 Likewise.
15339 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15340 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15341 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15342 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15343 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
15344 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15345 Likewise.
15346 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15347 Likewise.
a1ffb40e
OB
15348 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15349 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15350 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15351 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15352 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15354 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15355 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15356 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15357 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15358 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15359 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15360 Likewise.
15361 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15362 Likewise.
15363 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15364 Likewise.
15365 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15366 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15367 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15368 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15369 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15370 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15371 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15374 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15375 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15376 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15377 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15378 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
15380 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15381 Likewise.
a1ffb40e
OB
15382 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15383 Likewise.
15384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15385 Likewise.
15386 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15387 Likewise.
15388 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15390 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15391 Likewise.
15392 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15393 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15394 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15395 * sysdeps/posix/sleep.c: Likewise.
15396 * sysdeps/posix/tempname.c: Likewise.
15397 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15398 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15399 Likewise.
57f41c40
AS
15400 * sysdeps/powerpc/powerpc32/dl-machine.h
15401 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
15402 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15404 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15405 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15406 Likewise.
15407 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15408 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15409 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15410 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15411 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15412 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15413 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15414 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15415 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15416 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15418 (elf_machine_lazy_rel): Likewise.
a1ffb40e 15419 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15421 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15422 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15423 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15424 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15425 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15426 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15427 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15428 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15429 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15430 Likewise.
15431 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15432 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15433 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15434 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15435 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15436 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15437 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15438 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15439 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15440 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15441 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15442 Likewise.
15443 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15444 (__posix_fallocate64_l64): Likewise.
15445 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15446 (posix_fallocate): Likewise.
57f41c40
AS
15447 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15448 Likewise.
a1ffb40e 15449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
15450 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15451 (getifaddrs_internal): Likewise.
a1ffb40e
OB
15452 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15453 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15454 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15455 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15456 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15457 (__posix_fallocate64_l64): Likewise.
15458 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15459 Likewise.
15460 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
15461 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15462 (__get_clockfreq): Likewise.
a1ffb40e
OB
15463 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15464 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15465 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15468 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15469 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15470 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15471 Likewise.
15472 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15473 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15474 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15475 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15476 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15477 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15478 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15479 Likewise.
15480 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15481 (posix_fallocate): Likewise.
15482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15483 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15484 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
15485 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15486 (elf_machine_rela, elf_machine_rela_relative)
15487 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
15488 * time/asctime.c (asctime_internal): Likewise.
15489 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15490 * time/tzset.c (__tzset_parse_tz): Likewise.
15491 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15492 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15493 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15494 * wcsmbs/wcsmbsload.h: Likewise.
15495
f3d338c9
OB
15496 [BZ #15894]
15497 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15498
57f41c40
AS
15499 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15500 (arena_get2): Remove THREAD_STATS conditionals.
15501 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15502 (__malloc_stats, int): Likewise.
bdfe308a 15503
d674667c
MF
155042014-02-08 Mike Frysinger <vapier@gentoo.org>
15505
15506 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15507 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
15508
6349768c
MF
15509 * manual/setjmp.texi: Fix typos/grammar errors.
15510
0b7c7473
MF
15511 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15512 Only return early when n is <= 0. Delete unused return statement.
15513
ac8cc9e3
MF
15514 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15515 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15516 * debug/tst-longjmp_chk3.c: New file.
15517
c5bb8e23
MF
15518 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15519 (test_main): Replace code with set_fortify_handler call.
15520 * debug/test-strcpy_chk.c: Likewise.
15521 * debug/tst-chk1.c: Likewise.
15522 * debug/tst-longjmp_chk.c: Likewise.
15523 * test-skeleton.c: Include fcntl.h & paths.h
15524 (set_fortify_handler): Define.
15525
10444e42
MF
15526 * debug/tst-longjmp_chk.c: Add header comment and include
15527 ../test-skeleton.c.
15528 (do_test): Mark static.
15529 (TEST_FUNCTION): Define.
15530
1e805e8d
MF
15531 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15532 (IP_PMTUDISC_INTERFACE): Likewise.
15533 (IP_MULTICAST_IF): Likewise.
15534 (IP_MULTICAST_TTL): Likewise.
15535 (IP_MULTICAST_LOOP): Likewise.
15536 (IP_ADD_MEMBERSHIP): Likewise.
15537 (IP_DROP_MEMBERSHIP): Likewise.
15538 (IP_UNBLOCK_SOURCE): Likewise.
15539 (IP_BLOCK_SOURCE): Likewise.
15540 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15541 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15542 (IP_MSFILTER): Likewise.
15543 (MCAST_JOIN_GROUP): Likewise.
15544 (MCAST_BLOCK_SOURCE): Likewise.
15545 (MCAST_UNBLOCK_SOURCE): Likewise.
15546 (MCAST_LEAVE_GROUP): Likewise.
15547 (MCAST_JOIN_SOURCE_GROUP): Likewise.
15548 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15549 (MCAST_MSFILTER): Likewise.
15550 (IP_MULTICAST_ALL): Likewise.
15551 (IP_UNICAST_IF): Likewise.
15552
73f79bb7
MF
15553 * timezone/Makefile: Delete $(have-ksh) check.
15554 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15555 * timezone/tzselect.ksh: Add +x mode bits.
15556
8da79b60
MF
15557 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15558 (ANON_INODE_FS_MAGIC): Likewise.
15559 (BDEVFS_MAGIC): Likewise.
15560 (BINFMTFS_MAGIC): Likewise.
15561 (BTRFS_TEST_MAGIC): Likewise.
15562 (CRAMFS_MAGIC_WEND): Likewise.
15563 (DEBUGFS_MAGIC): Likewise.
15564 (ECRYPTFS_SUPER_MAGIC): Likewise.
15565 (EXT3_SUPER_MAGIC): Likewise.
15566 (EXT4_SUPER_MAGIC): Likewise.
15567 (FUTEXFS_SUPER_MAGIC): Likewise.
15568 (HOSTFS_SUPER_MAGIC): Likewise.
15569 (HUGETLBFS_MAGIC): Likewise.
15570 (MINIX3_SUPER_MAGIC): Likewise.
15571 (MTD_INODE_FS_MAGIC): Likewise.
15572 (NILFS_SUPER_MAGIC): Likewise.
15573 (OPENPROM_SUPER_MAGIC): Likewise.
15574 (PIPEFS_MAGIC): Likewise.
15575 (PSTOREFS_MAGIC): Likewise.
15576 (QNX6_SUPER_MAGIC): Likewise.
15577 (RAMFS_MAGIC): Likewise.
15578 (REISERFS_SUPER_MAGIC_STRING): Likewise.
15579 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15580 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15581 (SECURITYFS_MAGIC): Likewise.
15582 (SELINUX_MAGIC): Likewise.
15583 (SMACK_MAGIC): Likewise.
15584 (SOCKFS_MAGIC): Likewise.
15585 (SQUASHFS_MAGIC): Likewise.
15586 (STACK_END_MAGIC): Likewise.
15587 (TMPFS_MAGIC): Likewise.
15588 (USBDEVICE_SUPER_MAGIC): Likewise.
15589 (V9FS_MAGIC): Likewise.
15590 (XENFS_SUPER_MAGIC): Likewise.
15591 (CRAMFS_MAGIC): Fix typo in comment.
15592 (EXT2_SUPER_MAGIC): Update comment.
15593 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15594
464263cc
JM
155952014-02-08 Joseph Myers <joseph@codesourcery.com>
15596
c6bfe5c4
JM
15597 * sysdeps/arm: Move directory from ports/sysdeps/arm.
15598 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15599 * sysdeps/unix/sysv/linux/arm: Move directory from
15600 ports/sysdeps/unix/sysv/linux/arm.
15601 * README: Update listing for arm-*-linux-gnueabi.
15602
464263cc
JM
15603 * README: Remove mention of am33.
15604
32749f6c
RM
156052014-02-07 Roland McGrath <roland@hack.frob.com>
15606
15607 * bits/sigset.h (__sigemptyset): Use a statement expression rather
15608 than the comma operator, to avoid "rhs of comma has no effect"
15609 compiler warnings.
15610 (__sigfillset, __sigandset, __sigorset): Likewise.
15611 * include/signal.h (__sigemptyset): Likewise.
15612 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15613
d5b396c1
AM
156142014-02-07 Allan McRae <allan@archlinux.org>
15615
15616 * version.h (RELEASE): Set to "development".
15617 (VERSION): Set to "2.19.90"
15618 * NEWS: Add 2.20 section.
15619
3bfff2ed
CD
156202014-02-06 Carlos O'Donell <carlos@redhat.com>
15621
15622 [BZ #16529]
15623 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15624
ee7cc385
SP
156252014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15626
15627 * manual/contrib.texi: Update entry for Carlos O'Donell,
15628 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15629
f877c4f2
CD
156302014-02-05 Carlos O'Donell <carlos@rehdat.com>
15631
27e839f6
CD
15632 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15633
f877c4f2
CD
15634 * sysdeps/unix/sysv/linux/kernel-features.h
15635 [__LINUX_KERNEL_VERSION >= 0x020621]
15636 (__ASSUME_PROC_PID_TASK_COMM): Define.
15637
68159946
SP
156382014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15639
ba17cdbd
SP
15640 [BZ #16398]
15641 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15642 conversion when destination buffer does not have enough space.
15643 * libio/tst-ftell-partial-wide.c: New test case.
15644 * libio/Makefile (tests): Add tst-ftell-partial-wide.
15645
68159946
SP
15646 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15647 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
15648 Leonard and Allan McRae.
15649
2b528732
DM
156502014-02-04 David S. Miller <davem@davemloft.net>
15651
15652 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15653 32-bit.
15654
0ff82463
AZ
156552014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15656
57f41c40
AS
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15658 New file
c01603f7
AZ
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15660 New file
57f41c40
AS
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15662 New file.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15664 New file.
c01603f7
AZ
15665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15666 New file.
57f41c40
AS
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15668 New file.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15670 New file.
c01603f7
AZ
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15672 New file.
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15674 New file.
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15676 New file.
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15678 New file.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15680 New file.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15682 New file.
15683
156842014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15685
0ff82463
AZ
15686 * nptl/shlib-versions: Change powerpc*le start to 2.17.
15687 * shlib-versions: Likewise.
15688
1695c773
AZ
156892014-02-04 Roland McGrath <roland@hack.frob.com>
15690 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15691
15692 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15693 (abilist-pattern): New variable, set to %-le.abilist.
15694
15695 * Makerules (abilist-pattern): New variable.
15696 (vpath): Use $(abilist-pattern) in place of %.abilist.
15697 (check-abi-% pattern rule): Likewise.
15698 (check-abi, update-abi): Likewise.
15699
6c0ce4b4
EW
157002014-02-04 Eric Wong <normalperson@yhbt.net>
15701
15702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15703
481e3524
CD
157042014-02-03 Carlos O'Donell <carlos@redhat.com>
15705
15706 * manual/startup.texi: Add next, previous, and top entries for
15707 the `Program Arguments' and `Environment Variables' nodes.
15708
375592d3
AO
157092014-02-03 Alexandre Oliva <aoliva@redhat.com>
15710
15711 * manual/macros.texi: Add comments before MTASC-safety macros.
15712
f54838ba
AO
15713 * manual/users.texi: Document MTASC-safety properties.
15714
57f41c40
AS
15715 * manual/threads.texi (pthread_key_create, pthread_key_delete)
15716 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
15717 @deftypefun, and add @safety note.
15718 * manual/signal.texi: Move comments that analyze the above
15719 functions to their home place.
15720
fd3daba4
AM
157212014-02-03 Allan McRae <allan@archlinux.org>
15722
15723 * po/sl.po: Update Slovenian translation from translation project.
15724
597636d7
AO
157252014-02-02 Alexandre Oliva <aoliva@redhat.com>
15726
15727 * manual/time.texi (timegm): Add missing blank after @c.
15728 Reported by Joseph Myers <joseph@codesourcery.com>.
15729
ee196e3c
AO
157302014-02-01 Alexandre Oliva <aoliva@redhat.com>
15731
15732 * manual/check-safety.sh: New.
15733 * manual/Makefile ($(objpfx)stamp-summary): Run it.
15734
f8d529d5
AO
15735 * manual/terminal.texi: Document MTASC-safety properties.
15736
de55fdf4
AO
15737 * manual/filesys.texi: Document MTASC-safety properties.
15738
c3299c08
AO
15739 * manual/errno.texi: Document MTASC-safety properties.
15740
06e90b14
AO
15741 * manual/intro.texi: Document safety identifiers and
15742 conditionals.
15743
1acd4371
AO
15744 * manual/string.texi (wcstok): Fix prototype.
15745 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15746
23e5b8cb
AO
15747 * manual/time.texi: Document MTASC-safety properties.
15748
11087373
AO
15749 * manual/string.texi: Document MTASC-safety properties.
15750
5da2c93d
AO
15751 * manual/threads.texi: Document MTASC-safety properties.
15752
171e9210
AO
15753 * manual/stdio.texi: Document MTASC-safety properties.
15754
d9e02532
AO
15755 * manual/syslog.texi: Document MTASC-safety properties.
15756
6af8bab7
AO
15757 * manual/sysinfo.texi: Document MTASC-safety properties.
15758
663b02d7
AO
15759 * manual/startup.texi: Document MTASC-safety properties.
15760
973f180b
AO
15761 * manual/socket.texi: Document MTASC-safety properties.
15762
8f3c25c8
AO
15763 * manual/signal.texi: Document MTASC-safety properties.
15764
542210fb
AO
157652014-01-31 Alexandre Oliva <aoliva@redhat.com>
15766
15767 * manual/setjmp.texi: Document MTASC-safety properties.
15768
433c45a2
AO
15769 * manual/search.texi: Document MTASC-safety properties.
15770
c8ce789c
AO
15771 * manual/resource.texi: Document MTASC-safety properties.
15772
19f5d29c
AO
15773 * manual/process.texi: Document MTASC-safety properties.
15774
e2dfb7f4
AO
15775 * manual/platform.texi: Document MTASC-safety properties.
15776
8c1413f5
AO
15777 * manual/pipe.texi: Document MTASC-safety properties.
15778
03483ada
AO
15779 * manual/pattern.texi: Document MTASC-safety properties.
15780
29e7e2df
AO
15781 * manual/message.texi: Document MTASC-safety properties.
15782
9f529d7c
AO
15783 [BZ #12751]
15784 * manual/memory.texi: Document MTASC-safety properties.
15785
27aaa791
AO
15786 * manual/math.texi: Document MTASC-safety properties.
15787
f2d58726
AO
15788 * manual/locale.texi: Document MTASC-safety properties.
15789
2cc3615c
AO
15790 * manual/llio.texi: Document MTASC-safety properties.
15791
d9f0ec97
AO
15792 * manual/libdl.texi: New.
15793
e7c4409a
AO
15794 * manual/lang.texi: Document MTASC-safety properties.
15795
27bdc63c
AO
15796 * manual/job.texi: Document MTASC-safety properties.
15797
a7b90ea9
AO
15798 * manual/getopt.texi: Document MTASC-safety properties.
15799
c49130e3
AO
15800 * manual/ctype.texi: Document MTASC-safety properties.
15801
0d23a5c1
MR
158022014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
15803
15804 [BZ #16046]
15805 * csu/libc-tls.c (static_map): Remove variable.
15806 (__libc_setup_tls): Use main executable's link map for TLS data.
15807 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15808 casing for LM_ID_BASE and GL(dl_nns).
15809 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15810 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
15811 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15812 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15813 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15814 member.
15815 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15816 l_phnum members.
15817
0037bb60
AO
158182014-01-30 Alexandre Oliva <aoliva@redhat.com>
15819
15820 * manual/debug.texi: Document MTASC-safety properties.
15821
409e00bd
L
158222014-01-29 H.J. Lu <hongjiu.lu@intel.com>
15823
15824 [BZ #16510]
15825 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15826 of __x86_64__ when disabling x87 inline functions.
15827
86e60666
AO
158282014-01-29 Alexandre Oliva <aoliva@redhat.com>
15829
15830 * manual/charset.texi: Document MTASC-safety properties.
15831
76167637
AO
15832 * manual/crypt.texi: Document MTASC-safety properties.
15833
e567f2a0
AO
15834 * manual/conf.texi: Document MTASC-safety properties.
15835
b719dafd
AO
15836 * manual/arith.texi: Document MTASC-safety properties.
15837
4a16c662
AO
15838 * manual/argp.texi: Document MTASC-safety properties.
15839
0a57b83e
AO
15840 * manual/macros.texi: Introduce macros to document multi
15841 thread, asynchronous signal and asynchronous cancellation
15842 safety properties.
15843 * manual/intro.texi: Introduce the properties themselves.
15844
feab2397
KK
158452014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15846
15847 * sysdeps/sh/sh4/Makefile: New file.
15848
1c0d11bc
AS
158492014-01-27 Andreas Schwab <schwab@linux-m68k.org>
15850
15851 * math/gen-libm-test.pl ($srcdir): New variable.
15852 ($auto_input): Use it.
15853
af37a8a3
SP
158542014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15855
d7b00f98
SP
15856 [BZ #16506]
15857 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15858 access beyond array bounds when parsing netgroups file.
15859
af37a8a3
SP
15860 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15861 the old buffer before realloc.
15862
0c00f062
AM
158632014-01-27 Allan McRae <allan@archlinux.org>
15864
15865 * po/fr.po: Update French translation from translation project.
15866
7d69a1b0
KK
158672014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15868
15869 * sysdeps/sh/libm-test-ulps: Regenerate.
15870
6e697ff7
DM
158712014-01-24 David S. Miller <davem@davemloft.net>
15872
15873 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15874
9cadb35c
KK
158752014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15876
15877 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15878 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15879
5d41dadf
SP
158802013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
15882 [BZ #16474]
15883 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15884 string pointers after reallocation.
15885
0bad441c
KK
158862014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15887
15888 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15889 __SH4A__ instead of __SH_FPU_ANY__.
15890
7007c661
KK
158912014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15892
15893 * sysdeps/sh/fpu_control.h: New file.
15894 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15895 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15896 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15897 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15898 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15899 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15900 * sysdeps/sh/sys/ucontext.h: Remove.
15901 * sysdeps/sh/sys: Remove directory.
15902
0f0c35e4
AK
159032014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15904
15905 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15906 s390/sys/ucontext.h.
15907 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15908 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15909
4959e284
L
159102014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15911
15912 [BZ #15605]
15913 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15914
d98720e0
AZ
159152014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15916
15917 [BZ#16431]
15918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15919 Adjust the vDSO correctly for internal calls.
15920 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15921
91cbd0bc
AM
159222014-01-20 Allan McRae <allan@archlinux.org>
15923
15924 * po/ca.po: Update Catalan translation from translation project.
15925
7a02cfad
MF
159262014-01-16 Mike Frysinger <vapier@gentoo.org>
15927
15928 * sysdeps/s390/sotruss-lib.c: New file.
15929
736c304a
AZ
159302014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15931
15932 [BZ#16430]
6e077ee5 15933 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15934 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15935 local calls issues by not having a PLT stub required for IFUNC calls.
15936 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15937
94d0cea0
JM
159382014-01-16 Joseph Myers <joseph@codesourcery.com>
15939
15940 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15941 * math/test-fpucw-static.c: Likewise.
15942
980cb518
SP
159432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15944
15945 [BZ #16453]
15946 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15947
2393fc01
AZ
159482014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15949
15950 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15951 implementation for powerpc.
15952
d359bcc2
OB
159532014-01-15 Ondřej Bílka <neleai@seznam.cz>
15954
15955 [BZ #14782]
15956 * sysdeps/posix/system.c (__libc_system): Do not enable
15957 asynchronous cancellation.
15958
7beb48cb
AK
159592014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15960
15961 [BZ #16427]
15962 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15963 handling only for numbers special also in the IEEE case.
15964
c20d5bf5
AK
159652014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15966
15967 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15968
e83bd4ee
AM
159692014-01-11 Allan McRae <allan@archlinux.org>
15970
76d0ea69
AM
15971 * po/bg.po: Update Bulgarian translation from translation project.
15972
e83bd4ee
AM
15973 * po/de.po: Update German translation from translation project.
15974
bc2ba20a
RM
159752014-01-10 Roland McGrath <roland@hack.frob.com>
15976
15977 * sysdeps/generic/gcc-compat.h: New file.
15978
649ecea2
SP
159792014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15980
15981 * benchtests/asin-inputs: Correct slow inputs.
15982 * benchtests/acos-inputs: Likewise.
15983
1b19c006
AM
159842014-01-10 Allan McRae <allan@archlinux.org>
15985
a46dab08
AM
15986 * po:sv.po: Update Swedish translation from translation project.
15987
421df74a
AM
15988 * po/vi.po: Update Vietnamese translation from translation project.
15989
d61c51a7
AM
15990 * po/eo.po: Update Esperanto translation from translation project.
15991
0339a319
AM
15992 * po/cs.po: Update Czech translation from translation project.
15993
94ad3e99
AM
15994 * po/nl.po: Update Dutch translation from translation project.
15995
e349ca71
AM
15996 * po/pl.po: Update Polish translation from translation project.
15997
ddf930c1
AM
15998 * po/ru.po: Update Russian translation from translation project.
15999
1b19c006
AM
16000 * po/uk.po: Update Ukrainian translation from translation project.
16001
9f236c49
BM
160022014-01-08 Brooks Moses <bmoses@google.com>
16003
16004 * elf/dl-load.c: Fix comment typo.
16005
cd6701cf
CD
160062014-01-08 Carlos O'Donell <carlos@redhat.com>
16007
16008 * po/header.pot: Rename to...
16009 * po/pot.header: ... this.
16010 * po/Makefile: Use pot.header.
16011
66671c84
YK
160122014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16013 Maxim Kuvyrkov <maxim@kugelworks.com>
16014
16015 [BZ #16394]
cd6701cf
CD
16016 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16017 SRC and DEST against LEN.
66671c84 16018
38f34581
AZ
160192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16020
16021 [BZ #16414]
16022 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16023 implementation.
16024 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16025
160262014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
16027
16028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16029
4c327f2a
JM
160302014-01-08 Joseph Myers <joseph@codesourcery.com>
16031
16032 [BZ #16408]
16033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16034 for large positive arguments.
16035
b821f414
JM
160362014-01-07 Joseph Myers <joseph@codesourcery.com>
16037
1f0f2067
JM
16038 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16039
a5a326f6
JM
16040 * math/auto-libm-test-in: Mark various tests with
16041 xfail-rounding:ldbl-128ibm.
16042 * math/auto-libm-test-out: Regenerated.
16043
b821f414
JM
16044 [BZ #16407]
16045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16046 Increase overflow threshold.
16047
94c8a4bc
OB
160482014-01-07 Ondřej Bílka <neleai@seznam.cz>
16049
16050 [BZ #14286]
16051 * stdio-common/vfprintf.c: Check for integer overflow.
16052
87ded0c3
AK
160532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16054
16055 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16056 the first argument and return value of __tls_get_addr_internal.
16057
c5eebdd0
AK
160582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16059
16060 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16061 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16062
05d138ef
AK
160632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16064
16065 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16066 * sysdeps/s390/rtld-global-offsets.sym: New file.
16067 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16068 GLIBC_2.19 symbol.
16069 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16070 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16072 ... this.
16073 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16074 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16075 ... this.
16076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16077 Regenerate.
16078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16079 Regenerate.
16080 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16081 halfs of GPRs for high_gprs contexts.
16082 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16083 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16084 field.
16085 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16086 uc_flags field.
16087 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16088 64 bit versions:
16089 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16090 for high GPRs (uc_high_gprs) and for future extensions
16091 (__reserved).
16092 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16093 for future extensions (__reserved).
16094 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16095 64 bit versions:
16096 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16097 SC_HIGHGPRS offset definition.
16098 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16099 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16100
93a45ff1
AK
16101 * Versions.def: Add GLIBC_2.19 for libpthread.
16102 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16103 siglongjmp for libpthread with GLIBC_2.19 symver.
16104 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16105 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16106 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16107 * sysdeps/s390/__longjmp.c: New file.
16108 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16109 * sysdeps/s390/longjmp.c: New file.
16110 * sysdeps/s390/setjmp.S: New file.
16111 * sysdeps/s390/sigjmp.S: New file.
16112 * sysdeps/s390/v1-longjmp.c: New file.
16113 * sysdeps/s390/v1-setjmp.h: New file.
16114 * sysdeps/s390/v1-sigjmp.c: New file.
16115 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16116 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16117 GLIBC_2.19 version.
16118 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16119 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16120 versioned symbols for ____longjmp_chk.
16121 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16122 Likewise.
16123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16124 Regenerate.
16125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16126 Regenerate.
16127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16128 Regenerate.
16129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16130 Regenerate.
16131 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16132 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16133 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16134 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16135 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16136 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16137 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16138 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16139 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16140 * sysdeps/s390/rtld-__longjmp.c: New file.
16141 * sysdeps/s390/rtld-setjmp.S: New file.
16142
eb3fc44b
JM
161432014-01-06 Joseph Myers <joseph@codesourcery.com>
16144
16145 [BZ #16400]
16146 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16147 Return -__logl (x) for small positive arguments without evaluating
16148 a polynomial.
16149
9341dde4
MF
161502014-01-06 Mike Frysinger <vapier@gentoo.org>
16151
16152 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16153 Rename to ...
16154 (__ptrace_peeksiginfo_args): ... this.
16155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16157 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16158
4cff0293
AM
161592014-01-06 Allan McRae <allan@archlinux.org>
16160
16161 * inet/netinet/in.h: Fix typo in comment.
16162
75595dcf
AJ
161632014-01-05 Andreas Jaeger <aj@suse.de>
16164
16165 * sysdeps/i386/fpu/libm-test-ulps: Update.
16166
79c1e109
AM
161672014-01-05 Allan McRae <allan@archlinux.org>
16168
dd804818
AM
16169 * po/libc.pot: Regenerated.
16170
79c1e109
AM
16171 * malloc/memusagestat.c: Fix gettext call formatting.
16172
0c813d1f
SK
161732014-01-04 Sami Kerola <kerolasa@iki.fi>
16174
16175 * nscd/nscd.c: Improve usage() output.
16176
20f4a8d9
MF
161772014-01-04 Mike Frysinger <vapier@gentoo.org>
16178
16179 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16180 * sysdeps/unix/sysv/linux/configure: Regenerated.
16181 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16182 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16183
22562bb2
JM
161842014-01-03 Joseph Myers <joseph@codesourcery.com>
16185
16186 [BZ #16390]
16187 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16188 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16189
d7ad2d9b
AZ
161902014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16191
16192 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16193 extra tokens at end of #undef directive.
16194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16195 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16196 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16197
7dd009d8
JM
161982014-01-03 Joseph Myers <joseph@codesourcery.com>
16199
24db925a
JM
16200 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16201
7dd009d8
JM
16202 * math/auto-libm-test-in: Mark various tests with
16203 xfail-rounding:ldbl-128ibm.
16204 * math/auto-libm-test-out: Regenerated.
16205
396e3ecf
JM
162062014-01-02 Joseph Myers <joseph@codesourcery.com>
16207
819e5d50
JM
16208 [BZ #16386]
16209 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16210 numbers with subnormal high part when calculating exponent.
16211
90b6a1e5
JM
16212 [BZ #16385]
16213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16214 fabs.
16215
396e3ecf
JM
16216 [BZ #16384]
16217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16218 M_LN2l.
16219 (__ieee754_acoshl): Use __log1pl not __log1p.
16220
6c8dbf00
OB
162212013-01-02 Ondřej Bílka <neleai@seznam.cz>
16222
57f41c40
AS
16223 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16224 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16225 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16226 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16227 (reused_arena, arena_get2): Convert to GNU style.
16228 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16229 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16230 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 16231 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
16232 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16233 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16234 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16235 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16236 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16237 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 16238 * malloc/malloc.h: Likewise.
57f41c40
AS
16239 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16240 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 16241 * malloc/mcheck.h: Likewise.
57f41c40
AS
16242 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16243 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
16244 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16245 * malloc/morecore.c (__default_morecore): Likewise.
16246 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
16247 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16248 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16249 (print_and_abort): Likewise.
6c8dbf00
OB
16250 * malloc/obstack.h: Likewise.
16251 * malloc/set-freeres.c (__libc_freeres): Likewise.
16252 * malloc/tst-mallocstate.c (main): Likewise.
16253 * malloc/tst-mtrace.c (main): Likewise.
16254 * malloc/tst-realloc.c (do_test): Likewise.
16255
d4124212
SP
162562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16257
9a3c6a6f
SP
16258 [BZ #16366]
16259 * nscd/netgroupcache.c (do_notfound): New function.
16260 (addgetnetgrentX): Use it.
16261
d4124212
SP
16262 [BZ # 16365]
16263 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16264 NSS_STATUS_NOTFOUND.
16265
97b9a009
JM
162662014-01-01 Joseph Myers <joseph@codesourcery.com>
16267
16268 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270
d4697bc9
AM
162712014-01-01 Allan McRae <allan@archlinux.org>
16272
ddb3687f
AM
16273 * scripts/update-copyrights: Update configure input file suffix.
16274
88726d48
AM
16275 * NEWS: Update copyright year.
16276 * catgets/gencat.c: Likewise.
16277 * csu/version.c: Likewise.
16278 * debug/catchsegv.sh: Likewise.
16279 * debug/pcprofiledump.c: Likewise.
16280 * debug/xtrace.sh: Likewise.
16281 * elf/ldconfig.c: Likewise.
16282 * elf/ldd.bash.in: Likewise.
16283 * elf/pldd.c: Likewise.
16284 * elf/sotruss.ksh: Likewise.
16285 * elf/sprof.c: Likewise.
16286 * iconv/iconv_prog.c: Likewise.
16287 * iconv/iconvconfig.c: Likewise.
16288 * locale/programs/locale.c: Likewise.
16289 * locale/programs/localedef.c: Likewise.
16290 * login/programs/pt_chown.c: Likewise.
16291 * malloc/memusage.sh: Likewise.
16292 * malloc/memusagestat.c: Likewise.
16293 * malloc/mtrace.pl: Likewise.
16294 * manual/libc.texinfo: Likewise.
16295 * nscd/nscd.c: Likewise.
16296 * nss/getent.c: Likewise.
16297 * nss/makedb.c: Likewise.
16298 * posix/getconf.c: Likewise.
16299 * scripts/test-installation.pl: Likewise.
16300
d4697bc9
AM
16301 * All files with FSF copyright notices: Update copyright dates
16302 using scripts/update-copyrights.
16303 * intl/plural.c: Regenerated.
16304 * locale/programs/charmap-kw.h: Likewise.
16305 * locale/programs/locfile-kw.h: Likewise.
16306
c8590f9d
MF
163072013-12-31 Mike Frysinger <vapier@gentoo.org>
16308
16309 * sysdeps/unix/sysv/linux/configure: Regenerated.
16310 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16311 the linux/fanotify.h header.
16312 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16313 HAVE_LINUX_FANOTIFY_H is defined.
16314
b19221b9
SP
163152013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16316
dd1d85e5
SP
16317 * benchtests/cos-inputs: New inputs.
16318 * benchtests/sin-inputs: Likewise.
16319
1acbb90f
SP
16320 * benchtests/atan-inputs: New inputs. Fix name of multiple
16321 precision fallback inputs.
16322
4c012ed3
SP
16323 * benchtests/atanh-inputs: New inputs.
16324 * benchtests/tanh-inputs: Likewise.
16325
eff98324
SP
16326 * benchtests/acosh-inputs: New inputs.
16327 * benchtests/asinh-inputs: Likewise.
16328
ce641152
SP
16329 * benchtests/cosh-inputs: New inputs.
16330 * benchtests/sinh-inputs: Likewise.
16331
b19221b9
SP
16332 * benchtests/acos-inputs: Add more inputs.
16333 * benchtests/asin-inputs: Likewise.
16334
030a4976 163352013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 16336
030a4976 16337 [BZ #16375]
9dcc8f11
VS
16338 * manual/arith.texi: Fix spelling.
16339 * manual/charset.texi: Likewise.
16340 * manual/errno.texi: Likewise.
16341 * manual/filesys.texi: Likewise.
16342 * manual/lang.texi: Likewise.
16343 * manual/llio.texi: Likewise.
16344 * manual/locale.texi: Likewise.
16345 * manual/message.texi: Likewise.
16346 * manual/resource.texi: Likewise.
16347 * manual/search.texi: Likewise.
16348 * manual/setjmp.texi: Likewise.
16349 * manual/stdio.texi: Likewise.
16350 * manual/string.texi: Likewise.
16351 * manual/sysinfo.texi: Likewise.
16352 * manual/time.texi: Likewise.
16353
11520a57
CD
163542013-12-27 Carlos O'Donell <carlos@redhat.com>
16355
16356 * po/sl.po: New file.
16357
471103ae
MF
163582013-12-27 Mike Frysinger <vapier@gentoo.org>
16359
16360 * .gitignore: Add core/.gdbinit/.gdb_history.
16361
6c9642ed
AM
163622013-12-27 Allan McRae <allan@archlinux.org>
16363
16364 [BZ #16369]
16365 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16366 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16367
3f637079
BM
163682013-12-24 Brooks Moses <bmoses@google.com>
16369
16370 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16371 all compilers that claim C++98 compliance, not just GCC.
16372 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16373 Likewise.
16374
abc26e99
MK
163752013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16376
16377 * NEWS: Restore accidentally deleted bug-fix entries.
16378
362b47fe
MK
163792013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16380 Ondřej Bílka <neleai@seznam.cz>
16381
16382 [BZ #15073]
16383 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 16384 have_lock.
362b47fe 16385
b9bcbbcb
OB
163862013-12-23 Ondřej Bílka <neleai@seznam.cz>
16387
16388 [BZ #12986]
16389 * manual/stdio.texi (String Input Conversions): Clarify that character
16390 classes are not supported.
16391
fb55fcd2
AZ
163922013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16393
16394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16395
ef7344f0
JM
163962013-12-22 Joseph Myers <joseph@codesourcery.com>
16397
4f40e4b3
JM
16398 [BZ #16337]
16399 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16400 Calculate results for small negative arguments directly rather
16401 than using reflection formula with special underflow handling.
16402
ef7344f0
JM
16403 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16404 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16405 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16406 (fchflags): Likewise.
16407 (revoke): Likewise.
16408 (setlogin): Likewise.
16409 (sigaltstack): Likewise.
16410 (wait4): Likewise.
16411 (sigblock): Remove.
16412 (sigsetmask): Likewise.
16413 (wait3): Likewise.
16414 (waitpid): Likewise.
16415 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16416 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16417 file.
16418 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16419 * sysdeps/unix/bsd/Makefile: ... here.
16420 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16421 * sysdeps/unix/bsd/Versions: ... here.
16422 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16423 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16424 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16425 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16426 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16427 * sysdeps/unix/bsd/sigblock.c: ... here.
16428 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16429 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16430 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16431 * sysdeps/unix/bsd/sigvec.c: ... here.
16432 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16433 * sysdeps/unix/bsd/tcdrain.c: ... here.
16434 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16435 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16436 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16437 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16438 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16439 * sysdeps/unix/bsd/wait.c: ... here.
16440 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16441 * sysdeps/unix/bsd/wait3.c: ... here.
16442 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16443 * sysdeps/unix/bsd/waitpid.c: ... here.
16444
5b0626b9
JM
164452013-12-21 Joseph Myers <joseph@codesourcery.com>
16446
16447 [BZ #16356]
16448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16449 round-to-nearest for [!USE_AS_EXPM1L].
16450 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16451 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16452 more tests of exp and exp10. Expect some exp10 tests to miss
16453 exceptions or fail in directed rounding modes.
16454 * math/auto-libm-test-out: Regenerated.
16455 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16456 (exp10_test_tonearest): New function.
16457 (exp10_towardzero_test_data): New array.
16458 (exp10_test_towardzero): New function.
16459 (exp10_downward_test_data): New array.
16460 (exp10_test_downward): New function.
16461 (exp10_upward_test_data): New array.
16462 (exp10_test_upward): New function.
16463 (main): Call the new functions.
16464 * sysdeps/i386/fpu/libm-test-ulps: Update.
16465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16466
7fda5682
JM
164672013-12-20 Joseph Myers <joseph@codesourcery.com>
16468
31e3a405
JM
16469 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16470 asinh, atan, atan2, atanh, cbrt, cos and cosh.
16471 * math/auto-libm-test-out: Regenerated.
16472 * math/libm-test.inc (acosh_test_data): Add more tests.
16473 (atanh_test_data): Likewise.
16474 (ceil_test_data): Likewise.
16475 (copysign_test_data): Likewise.
16476 * sysdeps/i386/fpu/libm-test-ulps: Update.
16477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16478
85bff96a
JM
16479 * timezone/checktab.awk: Update from tzcode 2013i.
16480 * timezone/private.h: Likewise.
16481 * timezone/scheck.c: Likewise.
16482 * timezone/tzfile.h: Likewise.
16483 * timezone/tzselect.ksh: Likewise.
16484 * timezone/zdump.c: Likewise.
16485 * timezone/zic.c: Likewise.
16486
b7867a3b
JM
16487 * math/auto-libm-test-in: Add tests of cpow.
16488 * math/auto-libm-test-out: Regenerated.
16489 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 16490 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
16491 mpc_cc_c.
16492 (func_calc_desc): Add mpc_cc_c union field.
16493 (test_functions): Add cpow.
16494 (special_fill_2pi): New function.
16495 (special_real_inputs): Add 2pi.
16496 (calc_generic_results): Handle mpc_cc_c.
16497 * sysdeps/i386/fpu/libm-test-ulps: Update.
16498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499
7fda5682
JM
16500 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16501 csqrt, ctan and ctanh.
16502 * math/auto-libm-test-out: Regenerated.
16503 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16504 (TEST_COND_x86): Likewise.
16505 (ccos_test_data): Use AUTO_TESTS_c_c.
16506 (ccosh_test_data): Likewise.
16507 (cexp_test_data): Likewise.
16508 (clog_test_data): Likewise.
16509 (csqrt_test_data): Likewise.
16510 (ctan_test_data): Likewise.
16511 (ctan_tonearest_test_data): Likewise.
16512 (ctan_towardzero_test_data): Likewise.
16513 (ctan_downward_test_data): Likewise.
16514 (ctan_upward_test_data): Likewise.
16515 (ctanh_test_data): Likewise.
16516 (ctanh_tonearest_test_data): Likewise.
16517 (ctanh_towardzero_test_data): Likewise.
16518 (ctanh_downward_test_data): Likewise.
16519 (ctanh_upward_test_data): Likewise.
16520 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16521 mpc_c_c.
16522 (func_calc_desc): Add mpc_c_c union field.
16523 (FUNC_mpc_c_c): New macro.
16524 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16525 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16526 ctanh.
16527 (special_fill_min_subnorm_p120): New function.
16528 (special_real_inputs): Add min_subnorm_p120.
16529 (calc_generic_results): Handle mpc_c_c.
16530 * sysdeps/i386/fpu/libm-test-ulps: Update.
16531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16532
5ff8d60e
SP
165332013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16534
57f41c40
AS
16535 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16536 (do_sin_slow): New functions.
16537 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16538 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 16539
84ba214c
SP
16540 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16541 Use M to change sign of result instead of X. Assume X is
16542 positive.
16543 (csloww1): Likewise.
16544 (__sin): Adjust.
16545 (__cos): Adjust.
16546
975195e4
SP
16547 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16548 arguments A and DA.
16549 (__sin): Adjust.
16550 (__cos): Likewise.
16551
5ff8d60e
SP
16552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16553 (__cos): Likewise.
16554 (sloww1): Don't adjust sign of DX.
16555 (csloww1): Likewise.
16556 (sloww2): Use X directly and don't adjust sign of DX.
16557 (csloww2): Likewise.
16558
eb983568
JM
165592013-12-19 Joseph Myers <joseph@codesourcery.com>
16560
64a17f1a
JM
16561 * math/auto-libm-test-in: Add tests of cabs and carg.
16562 * math/auto-libm-test-out: Regenerated.
16563 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16564 (carg_test_data): Likewise.
16565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16566 mpc_c_f.
16567 (func_calc_desc): Add mpc_c_f union field.
16568 (test_functions): Add cabs and carg.
16569 (calc_generic_results): Handle mpc_c_f.
16570
eb983568
JM
16571 * sysdeps/powerpc/powerpc32/libgcc-compat.S
16572 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16573 as a macro and a compat symbol.
16574 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16575 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16576 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16577 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16578 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16579 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16580 not use .hidden.
16581 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16582 Likewise.
16583 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16584 Likewise.
16585 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16586 Likewise.
16587 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16588 Likewise.
16589 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16590 Likewise.
16591 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16592 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16593 from GLIBC_2.3.2.
16594
6eeb678a
AZ
165952013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16596
16597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16598
6f6fc482
JM
165992013-12-19 Joseph Myers <joseph@codesourcery.com>
16600
21fea2e2
JM
16601 * manual/texinfo.tex: Update to version 2013-11-26.10 with
16602 trailing whitespace removed.
16603 * scripts/config.guess: Update to version 2013-11-29.
16604 * scripts/config.sub: Update to version 2013-10-01.
16605
6f6fc482
JM
16606 * math/auto-libm-test-in: Add tests of sincos.
16607 * math/auto-libm-test-out: Regenerated.
16608 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16609 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16610 mpfr_f_11.
16611 (func_calc_desc): Add mpfr_f_11 union field.
16612 (test_functions): Add sincos.
16613 (calc_generic_results): Handle mpfr_f_11.
16614 * sysdeps/i386/fpu/libm-test-ulps: Update.
16615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16616
83f5c32d
AS
166172013-12-19 Andreas Schwab <schwab@suse.de>
16618
16619 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16620 CALL_MCOUNT.
16621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16622 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16623 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16624
c688b419
JM
166252013-12-19 Joseph Myers <joseph@codesourcery.com>
16626
335ee092
JM
16627 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16628 * sysdeps/i386/fpu/libm-test-ulps: Update.
16629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16630
f88acd39
JM
16631 [BZ #16293]
16632 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16633 round-to-nearest mode when using frndint.
16634 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16635 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16636 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16637 Likewise.
16638 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
16639 sinh test to fail.
16640 * math/auto-libm-test-out: Regenerated.
16641 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16642 (TEST_COND_x86): Likewise.
16643 (expm1_tonearest_test_data): New array.
16644 (expm1_test_tonearest): New function.
16645 (expm1_towardzero_test_data): New array.
16646 (expm1_test_towardzero): New function.
16647 (expm1_downward_test_data): New array.
16648 (expm1_test_downward): New function.
16649 (expm1_upward_test_data): New array.
16650 (expm1_test_upward): New function.
16651 (main): Run the new test functions.
16652 * sysdeps/i386/fpu/libm-test-ulps: Update.
16653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16654
c688b419
JM
16655 * include/features.h: Update comment documenting feature test
16656 macros. Mention _DEFAULT_SOURCE in comment.
16657 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16658 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16659 _BSD_SOURCE and _SVID_SOURCE.
16660 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16661 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16662 !_SVID_SOURCE]: Likewise.
16663 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16664 (__USE_POSIX_IMPLICITLY): Define.
16665 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16666 (_POSIX_SOURCE): Undefine and redefine.
16667 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16668 (_POSIX_C_SOURCE): Likewise.
16669 * manual/creature.texi (_DEFAULT_SOURCE): Document.
16670 (Feature Test Macros): Update documentation of default features.
16671
9f6e964c
RS
166722013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16673
16674 * benchtests/Makefile: Add bench-strtok.
16675 * benchtests/bench-strtok.c: New file: strtok benchtest.
16676
ee0a148a
AM
166772013-12-19 Allan McRae <allan@archlinux.org>
16678
16679 * manual/install.texi: Suppress menu for plain text output.
16680 * INSTALL: Regenerated.
16681
b9ab448f
BM
166822013-12-18 Brooks Moses <bmoses@google.com>
16683
16684 [BZ #15846]
16685 * misc/getauxval.c: Include errno.h.
16686 (__getauxval): Set errno to ENOENT if the requested type is not
16687 found.
16688 * misc/sys/auxv.h (getauxval): Document that it may set errno;
16689 don't declare with __attribute_const__.
16690 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16691 * manual/startup.texi: Document that getauxval sets errno.
16692
23776487
JM
166932013-12-18 Joseph Myers <joseph@codesourcery.com>
16694
f889953b
JM
16695 * math/auto-libm-test-in: Add tests of jn and yn.
16696 * math/auto-libm-test-out: Regenerated.
16697 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16698 (yn_test_data): Likewise.
16699 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16700 mpfr_if_f.
16701 (func_calc_desc): Add mpfr_if_f union field.
16702 (FUNC_mpfr_if_f): New macro.
16703 (test_functions): Add jn and yn.
16704 (calc_generic_results): Assert type of second input for
16705 mpfr_ff_f. Handle mpfr_if_f.
16706 (output_for_one_input_case): Disable all checking for arguments
16707 fitting floating-point types in case of an integer argument.
16708 * sysdeps/i386/fpu/libm-test-ulps: Update.
16709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16710
23776487
JM
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16712 Don't expect fegetround reference in libm.so.
16713
cb756c6d
MS
167142013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16715
16716 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16717 $(config-cflags-nofma).
16718
2dec468f
JM
167192013-12-18 Joseph Myers <joseph@codesourcery.com>
16720
5953eb3a
JM
16721 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16722 * math/auto-libm-test-out: Regenerated.
16723
2dec468f
JM
16724 [BZ #16338]
16725 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16726 to determine exponent and adjust argument to have exponent of -1.
16727 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16728 log2.
16729 * math/auto-libm-test-out: Regenerated.
16730 * sysdeps/i386/fpu/libm-test-ulps: Update.
16731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16732
4d84e6ad
OB
167332013-12-18 Ondřej Bílka <neleai@seznam.cz>
16734
16735 * manual/probes.texi: Remove cases when per-thread arenas are
16736 disabled.
16737
1818483b
AS
167382013-12-18 Andreas Schwab <schwab@suse.de>
16739
16740 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16741 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16742 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16743 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16744 * sysdeps/i386/i686/multiarch/Makefile: Update.
16745 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16746
25de95bf
JM
167472013-12-17 Joseph Myers <joseph@codesourcery.com>
16748
16749 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16750 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16751
674762d9
PE
167522013-12-17 Paul Eggert <eggert@cs.ucla.edu>
16753
ed27ed83 16754 [BZ #15968]
0748546f
PE
16755 Support TZ transition times < 00:00:00.
16756 This is needed for version-3 tz-format files; it supports time
16757 stamps past 2037 for America/Godthab (the only entry in the tz
16758 database for which this change is relevant).
16759 * manual/time.texi (TZ Variable): Document transition times
16760 from -167:59:59 through -00:00:01.
16761 * time/tzset.c (tz_rule): Time of day is now signed.
16762 (__tzset_parse_tz): Parse negative time of day.
16763
4480e934
PE
16764 Document TZ transition times >= 25:00:00.
16765 * manual/time.texi (TZ Variable): Document transition times from
16766 25:00:00 through 167:59:59. These are already supported, and this
16767 support will help with version-3 tz-format files.
16768
69947401
PE
16769 * manual/time.texi (TZ Variable): Modernize North America example
16770 to reflect current (i.e., 2007-and-later) daylight saving rules.
16771
674762d9
PE
16772 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16773
7011c262
JM
167742013-12-17 Joseph Myers <joseph@codesourcery.com>
16775
2fc6557e
JM
16776 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16777 * sysdeps/unix/bsd/bits/stat.h: Likewise.
16778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16780 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16781 * sysdeps/unix/bsd/bsdstat.h: Likewise.
16782 * sysdeps/unix/bsd/clock.c: Likewise.
16783 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16784 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16785 * sysdeps/unix/bsd/init-posix.c: Likewise.
16786 * sysdeps/unix/bsd/poll.c: Likewise.
16787 * sysdeps/unix/bsd/ptsname.c: Likewise.
16788 * sysdeps/unix/bsd/seekdir.c: Likewise.
16789 * sysdeps/unix/bsd/setegid.c: Likewise.
16790 * sysdeps/unix/bsd/seteuid.c: Likewise.
16791 * sysdeps/unix/bsd/setgid.c: Likewise.
16792 * sysdeps/unix/bsd/setrgid.c: Likewise.
16793 * sysdeps/unix/bsd/setruid.c: Likewise.
16794 * sysdeps/unix/bsd/setsid.c: Likewise.
16795 * sysdeps/unix/bsd/setuid.c: Likewise.
16796 * sysdeps/unix/bsd/sigaction.c: Likewise.
16797 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16798 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16799 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16800 * sysdeps/unix/bsd/telldir.c: Likewise.
16801 * sysdeps/unix/bsd/times.c: Likewise.
16802 * sysdeps/unix/bsd/usleep.c: Likewise.
16803
029c7b25
JM
16804 * misc/Makefile (install-lib): Remove libbsd-compat.a.
16805 ($(objpfx)libbsd-compat.a): Remove rule.
16806
7011c262
JM
16807 * include/features.h (__FAVOR_BSD): Do not define.
16808 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16809 features conflicting with POSIX.
16810 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16811 (_BSD_SOURCE): Remove description of not being a subset of other
16812 feature test macros.
16813 * manual/job.texi (getpgrp): Do not document BSD version.
16814 (getpgid): Do not document by reference to BSD getpgrp.
16815 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16816 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16817 * signal/signal.h [__FAVOR_BSD]: Likewise.
16818 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16819 instead of making contents conditional on [__FAVOR_BSD].
16820 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16821
affb6f78
AZ
168222013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16823
16824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16825
c88769dd
JM
168262013-12-17 Joseph Myers <joseph@codesourcery.com>
16827
6432a540
JM
16828 [BZ #16314]
16829 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16830 values below 2**-450, not 2**-500.
16831 * math/auto-libm-test-in: Don't allow spurious underflow from
16832 hypot.
16833 * math/auto-libm-test-out: Regenerated.
16834
c88769dd
JM
16835 [BZ #16316]
16836 [BZ #16330]
16837 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16838 values of ha and hb and sort them after adjusting subnormal
16839 arguments.
16840 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16841 Likewise.
16842 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16843 values of ea and eb and sort them after adjusting subnormal
16844 arguments.
16845 * math/auto-libm-test-in: Do not expect some hypot tests of
16846 subnormals to fail. Add more hypot tests.
16847 * math/auto-libm-test-out: Regenerated.
16848
29618f6b
KK
168492013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16850
16851 [BZ #13304]
16852 * sysdeps/sh/s_fma.c: New file.
16853 * sysdeps/sh/s_fmaf.c: New file.
16854 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16855 version.
16856 * sysdeps/sh/Implies: Add sh/soft-fp.
16857
eacfdfbf
RM
168582013-12-16 Roland McGrath <roland@hack.frob.com>
16859
16860 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16861 level of indirection to members `objname', `errstring', `malloced'.
16862 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16863 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16864 it as the __longjmp argument (just pass 1 instead).
16865 (_dl_catch_error): Initialize C with argument pointers and address of
16866 volatile local ERRCODE rather than copying values out of C at return.
16867
ff362e5b
JM
168682013-12-16 Joseph Myers <joseph@codesourcery.com>
16869
16870 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16871 * math/auto-libm-test-out: Regenerated.
16872 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16873 (hypot_test_data): Likewise.
16874 (pow_test_data): Likewise.
16875 (pow_tonearest_test_data): Likewise.
16876 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16877 mpfr_ff_f.
16878 (func_calc_desc): Add mpfr_ff_f union field.
16879 (FUNC_mpfr_ff_f): New macro.
16880 (test_functions): Add atan2, hypot and pow.
16881 (special_fill_min): New function.
16882 (special_fill_minus_min): Likewise.
16883 (special_fill_min_subnorm): Likewise.
16884 (special_fill_minus_min_subnorm): Likewise.
16885 (special_real_inputs): Add min, -min, min_subnorm and
16886 -min_subnorm.
16887 (calc_generic_results): Handle mpfr_ff_f.
16888 * sysdeps/i386/fpu/libm-test-ulps: Update.
16889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16890
5764c27f
WN
168912013-12-16 Will Newton <will.newton@linaro.org>
16892
16893 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16894 (Aligned Memory Blocks): Add documentation for aligned_alloc
16895 and suggest it as an alternative to posix_memalign.
16896 (Hooks for Malloc): Document __memalign_hook is also called
16897 for aligned_alloc. (Summary of Malloc): Add summary for
16898 aligned alloc. Document __memalign_hook is also called
16899 for aligned_alloc.
16900
0a096e44
WN
169012013-12-16 Will Newton <will.newton@linaro.org>
16902
16903 * manual/memory.texi (Malloc Examples): Clarify default
16904 alignment documentation. Suggest posix_memalign rather
16905 than memalign or valloc.
16906 (Aligned Memory Blocks): Remove suggestion to use memalign
16907 or valloc. Remove obsolete comment about BSD.
16908 Document memalign errno values and mark the function obsolete.
16909 Document posix_memalign returned error codes. Mark valloc
16910 as obsolete. (Hooks for Malloc): __memalign_hook is also
16911 called for posix_memalign and valloc.
16912 (Summary of Malloc): Add posix_memalign to function summary.
16913 __memalign_hook is also called for posix_memalign and valloc.
16914
8d561986
SP
169152013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16916
16917 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16918 TAYLOR_SIN.
16919 (__sin): Adjust.
16920 (__cos): Likewise.
16921 (sloww): Use mynumber union. Expand ternary operator into
16922 if-else statements.
16923 (cslow): use mynumber union.
16924
73616a74
AM
169252013-12-16 Allan McRae <allan@archlinux.org>
16926
9e8ac24b
AM
16927 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16928 * configure: Regenerated.
16929
6f8e37eb
AM
16930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16931
8894bad3
AM
16932 [BZ #14120]
16933 * configure.ac: Added --enable-maintainer-mode. Check for
16934 autoconf when enabled.
16935 * configure: Regenerated.
16936
73616a74
AM
16937 * nscd/nscd.service: New file.
16938 * nscd/nscd.tmpfiles: New file.
16939
584b18eb
OB
169402013-12-14 Ondřej Bílka <neleai@seznam.cz>
16941
16942 [BZ #12100]
16943 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16944 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16945 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16946 (strstr): Add __strstr_sse2_unaligned ifunc.
16947 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16948 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16949 (strcasestr): Remove __strcasestr_sse42 ifunc.
16950 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16953
8a5c7897
KK
169542013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16955
16956 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16957 * sysdeps/sh/bits/fenv.h: ... here.
16958 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16959
fd712ef3
AZ
169602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16961
16962 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16963
42fcb46c
AZ
16964 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16965 hypotf multiarch implementations.
16966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16969 multiarch hypot for PPC64.
16970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16972 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16973 multiarch hypotf for PPC64.
16974
83efded4
AZ
16975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16976 modff multiarch implementations.
16977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16980 multiarch modf for PPC64.
16981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16984 multiarch modff for PPC64.
16985
43e246d2
AZ
16986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16987 and logl multiarch implementations.
16988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16991 multiarch logb for PPC64.
16992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16995 multiarch logb for PPC64.
16996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16999 multiarch logb for PPC64.
17000
8fdad123
AZ
17001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17002 isinff multiarch implementation.
17003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17004 file.
17005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17007 multiarch isinf for PPC64.
17008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17009 file.
17010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17011 multiarch isinff for PPC64.
17012
1481d706
AZ
17013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17014 finitef multiarch implementation.
17015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17016 file.
17017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17019 multiarch finite for PPC64.
17020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17021 file.
17022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17023 multiarch finitef for PPC64.
17024
5ccd5fc8
AZ
17025 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17026 lrint multiarch implementation.
17027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17028 file.
17029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17031 multiarch llrint for PPC64.
17032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17033 multiarch lrint for PPC64.
17034
2568f3fa
AZ
17035 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17036 copysignf multiarch implementation.
17037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17038 file.
17039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17040 file.
17041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17042 multiarch copysign for PPC64.
17043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17044 multiarch copysignf for PPC64.
17045
1cb341fd
AZ
17046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17047 multiarch implementation.
17048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17049 file.
17050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17051 file.
17052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17053 file.
17054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17055 file.
17056 multiarch llround for PPC64.
17057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17058 multiarch trunc for PPC64.
17059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17060 multiarch truncf for PPC64.
17061
59a3e194
AZ
17062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17063 multiarch implementation.
17064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17065 file.
17066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17067 file.
17068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17069 file.
17070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17071 file.
17072 multiarch llround for PPC64.
17073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17074 multiarch round for PPC64.
17075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17076 multiarch roundf for PPC64.
17077
357fd3b4
AZ
17078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17079 multiarch implementation.
17080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17081 file.
17082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17083 file.
17084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17085 file.
17086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17087 file.
17088 multiarch llround for PPC64.
17089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17090 multiarch floor for PPC64.
17091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17092 multiarch floorf for PPC64.
17093
96770f12
AZ
17094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17095 multiarch implementation.
17096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17097 file.
17098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17099 file.
17100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17101 file.
17102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17103 file.
17104 multiarch llround for PPC64.
17105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17106 multiarch ceil for PPC64.
17107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17108 multiarch ceilf for PPC64.
17109
c3627f6e
AZ
17110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17111 multiarch implementation.
17112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17113 file.
17114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17115 file.
17116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17117 file.
17118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17119 multiarch llround for PPC64.
17120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17121 multiarch lround for PPC64.
17122
b2284ad7
AZ
17123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17124 multiarch implementation.
17125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17128 file.
17129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17132 multiarch isnan for PPC64.
17133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17134 multiarch isnanf for PPC64.
17135
69bbc63d
AZ
17136 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17137 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17138 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17139 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17140 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17142
c24517c9
AZ
17143 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17144 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17147
a52374e8
AZ
17148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17149 multiarch implementations.
17150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17151 (__libc_ifunc_impl_list): Likewise.
17152 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17153 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17154 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17155 multiarch stpcpy for PPC64.
17156
7f5ec113
AZ
17157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17158 multiarch implementations.
17159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17160 (__libc_ifunc_impl_list): Likewise.
17161 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17162 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17163 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17164 multiarch strcpy for PPC64.
17165
e28bcd42
AZ
17166 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17167 redefine function name.
17168 (_wordcopy_fwd_dest_aligned): Likewise.
17169 (_wordcopy_bwd_aligned): Likewise.
17170 (_wordcopy_bwd_dest_aligned): Likewise.
17171 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17172 multiarch implementations.
17173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17174 (__libc_ifunc_impl_list): Likewise.
17175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17176 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17179 multiarch wcscpy for PPC64.
17180
92cacfce
AZ
17181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17182 multiarch implementations.
17183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17184 (__libc_ifunc_impl_list): Likewise.
17185 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17186 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17188 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17189 multiarch wcscpy for PPC64.
17190
7b714620
AZ
17191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17192 multiarch implementations.
17193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17194 (__libc_ifunc_impl_list): Likewise.
17195 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17196 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17197 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17198 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17199 multiarch wcsrchr for PPC64.
17200
16fd2ae3
AZ
17201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17202 multiarch implementations.
17203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17204 (__libc_ifunc_impl_list): Likewise.
17205 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17206 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17207 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17208 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17209 multiarch wcschr for PPC64.
17210
9ee2969b
AZ
17211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17212 multiarch implementations.
17213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17214 (__libc_ifunc_impl_list): Likewise.
17215 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17216 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17217 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17218 multiarch strchrnul for PPC64.
17219
372dc060
AZ
17220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17221 implementations.
17222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17223 (__libc_ifunc_impl_list): Likewise.
17224 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17225 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17226 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17227 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17228 strchr for PPC64.
17229
24c2c3b9
AZ
17230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17231 implementations.
17232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17233 (__libc_ifunc_impl_list): Likewise.
17234 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17236 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17237 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17238 strncmp for PPC64.
17239
1c92d9a0
AZ
17240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17241 multiarch implementations.
17242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17243 (__libc_ifunc_impl_list): Likewise.
17244 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17245 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17246 strncasecmp for PPC64.
17247 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17248 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17249 multiarch strncasecmp_l for PPC64.
17250
17de3ee3
AZ
17251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17252 multiarch implementations.
17253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17254 (__libc_ifunc_impl_list): Likewise.
17255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17257 multiarch strcasecmp for PPC64.
17258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17259 file.
17260 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17261 multiarch strcasecmp_l for PPC64.
17262
62982bf9
AZ
17263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17264 implementations.
17265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17266 (__libc_ifunc_impl_list): Likewise.
17267 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17268 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17269 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17270 strnlen for PPC64.
17271
a65f4904
AZ
17272 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17273 implementations.
17274 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17275 (__libc_ifunc_impl_list): Likewise.
17276 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17277 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17278 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17279 strlen for PPC64.
17280
1fd005ad
AZ
17281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17282 implementations.
17283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17284 (__libc_ifunc_impl_list): Likewise.
17285 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17286 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17288 rawmemrchr for PPC64.
17289
cd05ba91
AZ
17290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17291 implementation.
17292 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17293 (__libc_ifunc_impl_list): Likewise.
17294 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17295 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17296 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17297 memrchr for PPC64.
17298
870f8676
AZ
17299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17300 implementation.
17301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17302 (__libc_ifunc_impl_list): Likewise.
17303 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17304 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17305 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17306 memchr for PPC64.
17307
f00be62b
AZ
17308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17309 implementation.
17310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17311 (__libc_ifunc_impl_list): Likewise.
17312 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17313 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17314 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17315 mempcpy for PPC64.
17316
8a29a3d0
AZ
17317 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17318 avoid cretion of __bzero symbol.
17319 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17320 Likewise.
17321 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17322 Likewise.
17323 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17324 Likewise.
17325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17326 multiarch implementations.
17327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17328 (__libc_ifunc_impl_list): Likewise.
17329 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17330 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17332 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17333 bzero for PPC32.
17334 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17335 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17336 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17337 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17338 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17339 memset for PPC64.
17340 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17341
07253fcf
AZ
17342 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17344 implementations.
17345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17346 (__libc_ifunc_impl_list): Likewise.
17347 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17348 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17349 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17350 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17351 memcmp for PPC64.
17352
b5beafbc
AZ
17353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17354 multiarch for POWER/PPC64.
17355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17356 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17363 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17364 memcpy for PPC64.
17365
5e6a4d4b
AZ
17366 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17367 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17368 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17369 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17370 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17371 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17372 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17373 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17374 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17375 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17376 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17377 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17378 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17379 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17380 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17388
ddfab6dc
KK
173892013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17390
17391 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17392
19b5525e
SP
173932013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17394
17395 * benchtests/Makefile (bench): Add exp2 and log2.
17396 (LDLIBS-bench-exp2): Add -lm.
17397 (LDLIBS-bench-log2): Likewise.
17398 * benchtests/exp2-inputs: New inputs file.
17399 * benchtests/log2-inputs: New inputs file.
17400 * benchtests/log-inputs: Add new inputs.
17401 * benchtests/tan-inputs: Likewise.
17402
196f7f5d
SP
174032013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17404
7a74607f
SP
17405 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17406 definition...
57f41c40
AS
17407 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17408 (csloww2): ... from here.
7a74607f 17409
196f7f5d
SP
17410 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17411 instead of structures.
17412 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17413 (POLYNOMIAL): Likewise.
17414 (TAYLOR_SLOW): Likewise.
17415 (__sin): Likewise.
17416 (__cos): Likewise.
17417 (slow1): Likewise.
17418 (slow2): Likewise.
17419 (sloww): Likewise.
17420 (sloww1); Likewise.
17421 (sloww2): Likewise.
17422 (bsloww1): Likewise.
17423 (bsloww2): Likewise.
17424 (cslow2): Likewise.
17425 (csloww): Likewise.
17426 (csloww1): Likewise.
17427 (csloww2): Likewise.
17428
0dfa665c
OB
174292013-12-10 Ondřej Bílka <neleai@seznam.cz>
17430
17431 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
17432 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17433 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
17434 * malloc/hooks.c (realloc_check): Likewise.
17435
5782a80f
OB
17436 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17437 * malloc/arena.c: Remove PER_THREAD conditional.
17438 [!PER_THREAD]: Remove code.
17439 (ptmalloc_unlock_all2): Likewise.
17440 (ptmalloc_init): Likewise.
17441 (_int_new_arena): Likewise.
17442 (arena_get2): Likewise.
17443 * malloc/hooks.c (__malloc_get_state): Likewise.
17444 (__malloc_set_state): Likewise.
17445 * malloc/malloc.c: Likewise.
17446 (struct malloc_state): Likewise.
17447 (struct malloc_par): Likewise.
17448 (__libc_realloc): Likewise.
17449 (__libc_mallopt): Likewise.
17450
aeb95445
AZ
174512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17452
17453 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17454
e8349efd
OB
174552013-12-09 Ondřej Bílka <neleai@seznam.cz>
17456
17457 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17458 macro to a function. Check for zero perturb_byte.
17459 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17460
f3eeb3fc 17461 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
17462 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17463 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
17464 force_reg by atomic_forced_read.
17465 * malloc/arena.c (ptmalloc_init): Likewise.
17466 * malloc/hooks.c (top_check): Likewise.
17467
be2f9009
AZ
174682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17469
17470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17471
e7b914bd
MT
174722013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
17473
17474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17475
9f0be4f8
JM
174762013-12-08 Joseph Myers <joseph@codesourcery.com>
17477
17478 * math/auto-libm-test-in: Add tests of lgamma.
17479 * math/auto-libm-test-out: Regenerated.
17480 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17481 (M_LOG_2_SQRT_PIl): Likewise.
17482 (lgamma_test_data): Use AUTO_TESTS_f_f1.
17483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17484 mpfr_f_f1.
17485 (func_calc_desc): Add mpfr_f_f1 union field.
17486 (ARGS1): New macro.
17487 (ARGS2): Likewise.
17488 (ARGS3): Likewise.
17489 (ARGS4): Likewise.
17490 (RET1): Likewise.
17491 (RET2): Likewise.
17492 (CALC): Likewise.
17493 (FUNC): Likewise.
17494 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17495 (test_functions): Add lgamma.
17496 (calc_generic_results): Handle mpfr_f_f1.
17497 * sysdeps/i386/fpu/libm-test-ulps: Update.
17498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17499
24eeafdb
AZ
175002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17501
17502 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17503 __mpn_add_n for PowerPC64/POWER7.
17504 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17505 __mpn_sub_n for PowerPC64/POWER7.
17506
4a2c0fd4
AZ
17507 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17508 __mpn_addmul_1 for PowerPC64.
17509 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17510 __mpn_submul_1 for PowerPC64.
17511 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17512 for PowerPC64.
17513 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17514 for PowerPC64.
17515
4b5b548c
FS
175162013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
17517
17518 [BZ #15089]
17519 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17520
0a3ac0aa
AZ
175212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17522
17523 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17524
ccdc8438
AZ
17525 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17526 add multiarch folders.
17527 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17528 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17529 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17530 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17531 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17532 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17533 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17534 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17535 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17536 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17537 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17544
2e973d99
AZ
17545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17546 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17548 New file.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17550 New file.
17551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17552 multiarch __ieee754_hypot for PowerPC32.
17553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17554 New file.
17555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17556 New file.
17557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17558 multiarch __ieee754_hypotf for PowerPC32.
17559
2d9470b2
AZ
17560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17561 long_double_symbol only if __logbl is defined.
17562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17563 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17565 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17566 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17567 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17569 path for implementation.
17570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17573 logb, and logbl multiarch implementations for PowerPC32.
17574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17575 file.
17576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17577 file.
17578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17579 multiarch logb for PowerPC32.
17580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17581 file.
17582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17583 file.
17584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17585 multiarch logbf for PowerPC32.
17586 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17588 file.
17589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17590 multiarch logbl implementation for PowerPC32.
17591
5212ffce
AZ
17592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17593 and modff multiarch implementations.
17594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17595 New file.
17596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17597 New file.
17598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17599 multiarch modf for PowerPC32.
17600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17601 New file.
17602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17603 New file.
17604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17605 multiarch modff for PowerPC32.
17606
79dccf31
AZ
17607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17608 and lrintf multiarch implementations.
17609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17610 New file.
17611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17612 New file.
17613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17614 multiarch lrint for PowerPC32.
17615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17616 file: multiarch lrintf for PowerPC32.
17617
deb66480
AZ
17618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17619 and lroundf multiarch implementations.
17620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17621 New file.
17622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17623 New file.
17624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17625 New file.
17626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17627 multiarch lround for PowerPC32.
17628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17629 file: multiarch lroundf for PowerPC32.
17630
264b036b
AZ
17631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17632 copysign and copysignf multiarch implementations.
17633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17634 New file.
17635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17636 New file.
17637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17638 file: multiarch copysign for PowerPC32.
17639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17640 file: multiarch copysignf for PowerPC32.
17641
d47db6c9
AZ
17642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17643 and truncf multiarch implementations.
17644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17645 New file.
17646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17647 file.
17648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17649 multiarch trunc for PowerPC32.
17650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17651 New file.
17652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17653 New file.
17654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17655 multiarch truncf for PowerPC32.
17656
ddb60b5a
AZ
17657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17658 and roundf multiarch implementations.
17659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17660 New file.
17661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17662 file.
17663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17664 multiarch round for PowerPC32.
17665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17666 New file.
17667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17668 New file.
17669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17670 multiarch roundf for PowerPC32.
17671
bedcf49b
AZ
17672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17673 and floorf multiarch implementations.
17674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17675 New file.
17676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17677 file.
17678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17679 multiarch floor for PowerPC32.
17680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17681 New file.
17682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17683 New file.
17684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17685 multiarch floorf for PowerPC32.
17686
35ae5b40
AZ
17687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17688 and ceilf multiarch implementations.
17689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17690 New file.
17691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17692 file.
17693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17694 multiarch ceil for PowerPC32.
17695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17696 New file.
17697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17698 file.
17699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17700 multiarch ceilf for PowerPC32.
17701
ae1a4cd9
AZ
17702 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17703 is defined.
17704 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17705 FINITEF is defined.
17706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17707 and finitef multiarch implementations.
17708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17709 New file.
17710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17711 file.
17712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17713 multiarch finite for PowerPC32.
17714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17715 New file.
17716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17717 file: multiarch finitef for PowerPC32.
17718
64fffd65
AZ
17719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17720 and isinff multiarch implementations.
17721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17722 file.
17723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17724 file.
17725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17726 multiarch isinf for PowerPC32.
17727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17728 New file.
17729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17730 multiarch isinff for PowerPC32.
17731
8e4e7ba2
AZ
17732 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17733 alias when __isnan is defined.
17734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17735 and isnanf multiarch implementations.
17736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17737 file.
17738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17739 file.
17740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17741 file.
17742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17743 file.
17744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17745 multiarch isnan for PowerPC32.
17746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17747 New file.
17748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17749 New file.
17750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17751 multiarch isnanf for PowerPC32.
17752
ddba588e
AZ
17753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17754 and sqrtf multiarch implementations.
17755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17756 file.
17757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17758 file.
17759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17760 multiarch sqrt for PowerPC32.
17761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17762 file.
17763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17764 file.
17765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17766 multiarch sqrtf for PowerPC32.
17767
0f96a2f0
AZ
17768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17769 and llroundf multiarch implementations.
17770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17771 New file.
17772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17773 New file.
17774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17775 New file.
17776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17777 file: multiarch llround for PowerPC32.
17778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17779 file: multiarch llroundf for PowerPC32.
17780
c9b5d79e
AZ
17781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17782 multiarch PowerPC32 fpu implementations.
17783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17784 New file.
17785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17786 New file.
17787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17788 multiarch llrint for PowerPC32.
17789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17790 New file.
17791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17792 New file.
17793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17794 file.
17795
9cbb3aab
AZ
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17797
ea5a72f8
AZ
17798 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17799 file.
17800 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17801 file.
17802 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17803 file.
17804 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17805 multiarch wordcopy for PPC32.
17806 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17807 wordcopy objects.
17808 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17809 (__libc_ifunc_impl_list): Likewise.
17810 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17811 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17812 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17813 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17814 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17815 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17816
93be09e7
AZ
17817 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17819 file.
17820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17821 file.
17822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17823 file.
17824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17825 multiarch wcscpy for PPC32.
17826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17827 multiarch objects.
17828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17829 (__libc_ifunc_impl_list): Likewise.
17830 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17831 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17832 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17833 sysdeps/powerpc/power6/wcscpy.c.
17834
bb04e529
AZ
17835 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17837 file.
17838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17839 file.
17840 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17841 file.
17842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17843 multiarch wcsrchr for PPC32.
17844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17845 multiarch objects.
17846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17847 (__libc_ifunc_impl_list): Likewise.
17848 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17849 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17850 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17851 sysdeps/powerpc/power6/wcsrchr.c.
17852
05b5cd1c
AZ
17853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17854 file.
17855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17856 file.
17857 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17859 multiarch wcschr for PPc32.
17860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17861 multiarch objects.
17862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17863 (__libc_ifunc_impl_list): Likewise.
17864 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17865 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17866 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17867 sysdeps/powerpc/power6/wcschr.c.
17868
ba964147
AZ
17869 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17870 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17871 file.
17872 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17873 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17874 file: multiarch strchr for PPC32.
17875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17876 multiarch objects.
17877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17878 (__libc_ifunc_impl_list): Likewise.
17879
31c81aaa
AZ
17880 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17881 name.
17882 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17883 file.
17884 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17885 file.
17886 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17887 multiarch strchrnul for PPC32.
17888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17889 multiarch objects.
17890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17891 (__libc_ifunc_impl_list): Likewise.
17892
0d0607d9
AZ
17893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17894 file.
17895 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17896 multiarch strncasecmp for PPC32.
17897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17898 file.
17899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17900 multiarch strncasecmp_l for PPC32.
17901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17902 strncasecmp multiarch objects.
17903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17904 (__libc_ifunc_impl_list): Likewise.
17905
4dfd5c86
AZ
17906 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17907 file.
17908 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17909 multiarch strncasecmp for PPC32.
17910 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17911 New file.
17912 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17913 multiarch strcasecmp_l for PPC32.
17914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17915 multiarch objects.
17916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17917 (__libc_ifunc_impl_list): Likewise.
17918
a19e01a3
AZ
17919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17920 file.
17921 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17922 file.
17923 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17924 multiarch strncmp for PPC32.
17925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17926 multiarch objects.
17927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17928 (__libc_ifunc_impl_list): Likewise.
17929
ae9cf7a2
AZ
17930 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17931 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17932 file.
17933 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17934 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17936 multiarch objects.
17937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17938 (__libc_ifunc_impl_list): Likewise.
17939
3148bb7d
AZ
17940 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17941 file.
17942 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17943 file.
17944 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17946 multiarch objects.
17947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17948 (__libc_ifunc_impl_list): Likewise.
17949
7af8b946
AZ
17950 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17951 file.
17952 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17953 file.
17954 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17955 multiarch rawmemchr for PPC32.
17956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17957 multiarch objects.
17958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17959 (__libc_ifunc_impl_list): Likewise.
17960
03a6aa6a
AZ
17961 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17962 file.
17963 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17964 file.
17965 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17966 file: memrchr multiarch for PPC32.
17967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17968 multiarch objects.
17969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17970 (__libc_ifunc_impl_list): Likewise.
17971
1c62e6d9
AZ
17972 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17973 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17974 file.
17975 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17976 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17977 multiarch memchr for PPC32.
17978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17979 multiarch objects.
17980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17981 (__libc_ifunc_impl_list): Likewise.
17982
87da8bdb
AZ
17983 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17984 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17985 file.
17986 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17987 file.
17988 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17989 file: multiarch mempcpy for PPC32.
17990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17991 multiarch objects.
17992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17993 (__libc_ifunc_impl_list): Likewise.
17994
20ed4714
AZ
17995 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17996 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17999 multiarch bzero for PPC32.
18000 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18001 file.
18002 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18003 file.
18004 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18005 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18006 file: multiarch memset for PPC32.
18007 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18009 memset multiarch objects.
18010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18011 (__libc_ifunc_impl_list): Likewise.
18012
ab3e3a46
AZ
18013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18014 file.
18015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18017 memcmp for PPC32.
18018 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18020 multiarch objects.
18021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18022 (__libc_ifunc_impl_list): Likewise.
18023
930de6f0
AZ
18024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18027 file.
18028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18029 file.
18030 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18031 file.
18032 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18033 multiarch memcpy for PPC32.
18034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18035 multiarch objects.
18036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18037 (__libc_ifunc_impl_list): Likewise.
18038
4c628e00
AZ
18039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18040 support multiarch for POWER/PPC32.
18041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18042 Likewise.
18043 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18045 Implies file to make multiarch folder appers before the fpu and
18046 default folder for power4 configuration.
18047
f4479220
SP
180482013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18049
18050 * scripts/bench.pl: Append volatile keyword to type.
18051
8517800f
KK
180522013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18053
18054 * sysdeps/sh/sotruss-lib.c: New file.
18055 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18056
180138f1
AZ
180572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18058
18059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18060
bbf37bdc
JM
180612013-12-05 Joseph Myers <joseph@codesourcery.com>
18062
e47cc4e0
JM
18063 [BZ #6810]
18064 * math/w_tgamma.c: Include <errno.h>.
18065 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18066 * math/w_tgammaf.c: Include <errno.h>.
18067 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18068 * math/w_tgammal.c: Include <errno.h>.
18069 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18070 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18071 underflow. Add more tgamma tests.
18072 * math/auto-libm-test-out: Regenerated.
18073 * sysdeps/i386/fpu/libm-test-ulps: Update.
18074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18075
bbf37bdc
JM
18076 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18077 sin, sinh, tan, tanh, tgamma, y0 and y1.
18078 * math/auto-libm-test-out: Regenerated.
18079 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18080 (TEST_COND_x86): Likewise.
18081 (M_E2l): Remove macro.
18082 (M_E3l): Likewise.
18083 (M_2_SQRT_PIl): Likewise.
18084 (M_SQRT_PIl): Likewise.
18085 (M_1_DIV_El): Likewise.
18086 (log_test_data): Use AUTO_TESTS_f_f.
18087 (log10_test_data): Likewise.
18088 (log1p_test_data): Likewise.
18089 (log2_test_data): Likewise.
18090 (sin_test_data): Likewise.
18091 (sin_tonearest_test_data): Likewise.
18092 (sin_towardzero_test_data): Likewise.
18093 (sin_downward_test_data): Likewise.
18094 (sin_upward_test_data): Likewise.
18095 (sinh_test_data): Likewise.
18096 (sinh_tonearest_test_data): Likewise.
18097 (sinh_towardzero_test_data): Likewise.
18098 (sinh_downward_test_data): Likewise.
18099 (sinh_upward_test_data): Likewise.
18100 (tan_test_data): Likewise.
18101 (tan_tonearest_test_data): Likewise.
18102 (tan_towardzero_test_data): Likewise.
18103 (tan_downward_test_data): Likewise.
18104 (tan_upward_test_data): Likewise.
18105 (tanh_test_data): Likewise.
18106 (tgamma_test_data): Likewise.
18107 (y0_test_data): Likewise.
18108 (y1_test_data): Likewise.
18109 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18110 (special_real_inputs): Add pi/4.
18111 * sysdeps/i386/fpu/libm-test-ulps: Update.
18112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113
eb5ad6b9
AZ
181142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18115
18116 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18117 "longjmp_target" static probes.
18118 (__longjmp): Rename to __longjmp_symbol.
18119 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18120 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18121 on which longjmp to generate.
18122 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18124 probe.
18125 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18126 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18127 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18128 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18129 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18130 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18132 __longjmp_symbol based on which __longjmp to generate.
18133 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18134 probe.
18135 (setjmp): Rename to setjmp_symbol.
18136 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18137 (_setjmp): Rename to _setjmp_symbol.
18138 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18139 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18140 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18141 which setjmp to generate.
18142 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18143 "longjmp_target" static probes.
18144
d136c6dc
SP
181452013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18146
9298ecba
SP
18147 * benchtests/README: Add note about output arguments.
18148 * benchtests/bench-sincos.c: Remove file.
18149 * benchtests/sincos-inputs: New file.
18150 * scripts/bench.pl: Identify output arguments and define
18151 static variables for them.
18152
232983e9
SP
18153 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18154
d136c6dc
SP
18155 [BZ #15941]
18156 * Makefile (INSTALL): Add install-plain.texi as the primary
18157 dependency.
18158 * manual/install-plain.texi: New file.
18159 * manual/install.texi: Include node directive only for
18160 non-plaintext output.
18161
699ff837
JM
181622013-12-04 Joseph Myers <joseph@codesourcery.com>
18163
ab07cea8
JM
18164 * stdlib/longlong.h: Update from GCC.
18165
699ff837
JM
18166 [BZ #6807]
18167 [BZ #15901]
18168 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18169 * math/w_j0f.c (y0f): Likewise.
18170 * math/w_j0l.c (__y0l): Likewise.
18171 * math/w_j1.c (y1): Likewise.
18172 * math/w_j1f.c (y1f): Likewise.
18173 * math/w_j1l.c (__y1l): Likewise
18174 * math/w_jn.c (yn): Likewise.
18175 * math/w_jnf.c (ynf): Likewise.
18176 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18177 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18178 value for Bessel function domain errors outside _SVID_ mode.
18179 Adjust sign of return value for yn (negative integer, 0).
18180 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18181 by zero in return for negative x and set sign appropriately for
18182 negative n.
18183 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18184 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18185 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18186 expectations in error cases.
18187 (y1_test_data): Likewise.
18188 (yn_test_data): Likewise.
18189 * sysdeps/i386/fpu/libm-test-ulps: Update.
18190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18191
5b118558
UW
181922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18193
18194 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18195 "64" to "64-v1". Add "64-v2".
18196 (abi-64-options): Rename to ...
18197 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18198 (abi-64-condition): Rename to ...
18199 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18200 (abi-64-ld-soname): Rename to ...
18201 (abi-64-v1-ld-soname): ... this.
18202 (abi-64-v2-options): Define.
18203 (abi-64-v2-condition): Likewise.
18204 (abi-64-v2-ld-soname): Likewise.
18205 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18206 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18210
61cd8fe4
UW
182112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18212 Alan Modra <amodra@gmail.com>
18213
18214 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18215 New versions for use with the ELFv2 ABI.
18216 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18217 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18218 declaration.
18219 (struct La_ppc64v2_retval): Likewise.
18220 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18221 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18222 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18223 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18224 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18225 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18226 Do not save or restore CR.
18227 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18228 (_dl_profile_resolve): Do no save or restore CR. Support extended
18229 return values for ELFv2 ABI. Fix location of FPR return registers.
18230 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18231 updated values for _CALL_ELF == 2.
18232 (La_regs, La_retval, int_retval): Likewise.
18233
8b8a692c
UW
182342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18235
18236 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18237 (FRAME_MIN_SIZE_PARM): Likewise.
18238 (FRAME_BACKCHAIN): Likewise.
18239 (FRAME_CR_SAVE): Likewise.
18240 (FRAME_LR_SAVE): Likewise.
18241 (FRAME_TOC_SAVE): Likewise.
18242 (FRAME_PARM_SAVE): Likewise.
18243 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18244 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18245 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18246 (call_mcount_parm_offset): New macro.
18247 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18248 (PROF): Use symbolic stack frame offsets.
18249 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18250 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18251 Redefine in terms of FRAME_MIN_SIZE.
18252 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18253 (_dl_profile_resolve): Likewise. Update comment.
18254 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18255 symbols stack frame offsets.
18256 (__sigsetjmp): Likewise.
18257 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18258 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18259 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18260 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18261
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18263 (FRAME_BACKCHAIN): Remove.
18264 (FRAME_CR_SAVE): Likewise.
18265 (FRAME_LR_SAVE): Likewise.
18266 (FRAME_COMPILER_DW): Likewise.
18267 (FRAME_LINKER_DW): Likewise.
18268 (FRAME_TOC_SAVE): Likewise.
18269 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
18270 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18271 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18272 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18274 (CHECK_SP): Use symbolic stack frame offsets.
18275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18276 zone" instead of caller's parameter save area for temp storage.
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18278 Likewise. Also, use symbolic stack frame offsets.
18279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18280 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18281 our own stack frame instead of the caller's.
18282 (__socket): Use symbolic stack frame offsets.
18283
122b66de
UW
182842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18285 Alan Modra <amodra@gmail.com>
18286
18287 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18288 Define.
57f41c40
AS
18289 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18290 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
18291 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18292 New function.
18293 (elf_machine_fixup_plt): Call it.
18294 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18295 reloc arguments.
18296 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
18297 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18298 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
18299 r2 before calling target.
18300
696caf1d
UW
183012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18302 Alan Modra <amodra@gmail.com>
18303
18304 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18305 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18306 versions of macros to support ELFv2 ABI.
18307 (LOCALENTRY): New macro.
18308 (ENTRY, EALIGN): Use it.
18309 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18310 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18311 fall through into ENTRY entry point.
18312 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18313 Only define if _CALL_ELF != 2.
18314
18315 (elf_machine_matches_host): Verify ABI version matches.
18316 (RTLD_START): Use LOCALENTRY.
18317 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18318 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18319 (PLT_ENTRY_WORDS): New macro.
18320 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18321 (elf_machine_runtime_setup): Support ELFv2 ABI.
18322 (elf_machine_fixup_plt): Likewise.
18323 (elf_machine_plt_conflict): Likewise.
18324 (resolve_ifunc): Likewise.
18325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18327 Likewise.
18328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18329 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18331 (makecontext): Support ELFv2 ABI.
18332 * elf/elf.h (EF_PPC64_ABI): Define.
18333
d31beafa
UW
183342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18335
57f41c40
AS
18336 * sysdeps/powerpc/powerpc64/sysdep.h
18337 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18338 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18339 (ENTRY) [ASSEMBLER]: ... but instead here ...
18340 (EALIGN) [ASSEMBLER]: ... and here.
18341 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18342 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18343 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
18344 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18345 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
18346 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18347 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
18348 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18350 Use PPC64_LOAD_FUNCPTR.
18351
b525166b
UW
18352 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18353
7ec07d9a
AM
183542013-12-04 Alan Modra <amodra@gmail.com>
18355
18356 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18357 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18358 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18359 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18360
18361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18362 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18363 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18364 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18365 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18366 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18367
5162e7dd
UW
183682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18369
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18371 (__makecontext): Fix incorrect CFI when backtracing out of
18372 context created via makecontext.
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18374 (__setcontext): Fix incorrect CFI during switch to new context.
18375 (__novec_setcontext): Likewise.
18376
19e3372b
OB
183772013-12-04 Ondřej Bílka <neleai@seznam.cz>
18378
18379 [BZ #4772]
18380 * time/strptime_l.c (__strptime_internal): Allow modifiers
18381 in strptime.
18382 * time/tst-strptime.c (day_tests): Add testcase.
18383
ecaf142d
SP
183842013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18385
18386 * scripts/bench.pl: Skip over blank lines.
18387
fbf964ae
PE
183882013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18389
18390 [BZ #926]
18391 * manual/time.texi (Calendar Time): Clarify what timezone functions
18392 use.
18393
fa60a674
AZ
183942013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18395
18396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18397
d674f0ef
OB
183982013-12-04 Ondřej Bílka <neleai@seznam.cz>
18399
18400 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18401 implementation.
18402 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18403 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18404 * debug/memset_chk.c (__memset_chk): Likewise.
18405 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18406 * debug/strncpy_chk.c: Likewise.
18407
17dea188
JM
184082013-12-03 Joseph Myers <joseph@codesourcery.com>
18409
749008ff
JM
18410 [BZ #15268]
18411 [BZ #15425]
18412 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18413 (__ieee754_exp): For possibly underflowing results, check size of
18414 result and force underflow exception if required.
18415 * math/auto-libm-test-in: Add more tests of exp.
18416 * math/auto-libm-test-out: Regenerated.
18417 * sysdeps/i386/fpu/libm-test-ulps: Update.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18419
17dea188
JM
18420 [BZ #16283]
18421 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18422 * math/w_exp2f.c (__exp2f): Likewise.
18423 * math/w_exp2l.c (__exp2l): Likewise.
18424 * math/auto-libm-test-in: Do not allow missing errno on exp2
18425 underflow.
18426 * math/auto-libm-test-out: Regenerated.
18427
b20de2c3
OB
184282013-12-03 Ondřej Bílka <neleai@seznam.cz>
18429
18430 [BZ #16274]
18431 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18432 handle filename validation.
18433 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18434 (do_open): Delete.
18435
d8e2dbe3
JM
184362013-12-03 Joseph Myers <joseph@codesourcery.com>
18437
34e16df5
JM
18438 [BZ #6786]
18439 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18440 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18441 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18442 <float.h>.
18443 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18444 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18445 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18446 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18447 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18449 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18450 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18451 Add more erfc tests.
18452 * math/auto-libm-test-out: Regenerated.
18453 * sysdeps/i386/fpu/libm-test-ulps: Update.
18454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18455
d8e2dbe3
JM
18456 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18457 exp2, expm1, j0 and j1.
18458 * math/auto-libm-test-out: Regenerated.
18459 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18460 (erfc_test_data): Likewise.
18461 (exp_test_data): Likewise.
18462 (exp_tonearest_test_data): Likewise.
18463 (exp_towardzero_test_data): Likewise.
18464 (exp_downward_test_data): Likewise.
18465 (exp_upward_test_data): Likewise.
18466 (exp10_test_data): Likewise.
18467 (exp2_test_data): Likewise.
18468 (expm1_test_data): Likewise.
18469 (j0_test_data): Likewise.
18470 (j1_test_data): Likewise.
18471 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18472 (input_flag_type): Add flag_xfail_rounding.
18473 (input_flags): Add xfail-rounding.
18474 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18475 (output_for_one_input_case): Handle flag_xfail_rounding.
18476 * sysdeps/i386/fpu/libm-test-ulps: Update.
18477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18478
18d14251
AJ
184792013-12-03 Aurelien Jarno <aurelien@aurel32.net>
18480
3d2e6075 18481 [BZ #16289]
18d14251
AJ
18482 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18483 division by 0.
18484
520d437b
SP
184852013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18486
18487 [BZ #16195]
18488 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18489 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18490 (STAP_PROBE0): New macro.
18491 (STAP_PROBE1): Likewise.
18492 (STAP_PROBE2): Likewise.
18493 (STAP_PROBE3): Likewise.
18494 (STAP_PROBE4): Likewise.
18495
416e0145
OB
184962013-12-02 Ondřej Bílka <neleai@seznam.cz>
18497
18498 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18499
9d17796a
SE
185002013-12-02 Steve Ellcey <sellcey@mips.com>
18501
18502 * benchtests/Makefile (bench): Add sqrt.
18503 (LDLIBS-bench-sqrt): New.
18504 * benchtests/sqrt-input: New.
18505
f524d6a8
PS
185062013-12-02 Pavel Simerda <psimerda@redhat.com>
18507
639a0ef8
PS
18508 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18509 (GAIH_EAI): Likewise.
18510 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18511 (gaih_inet): Likewise.
18512 (getaddrinfo): Don't use GAIH_EAI.
18513
f524d6a8
PS
18514 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18515 (struct gaih): Remove definition.
18516
df3aedaf
SP
185172013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18518
18519 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18520 Use HERRNOP directly.
18521
1ab19dec
AZ
185222013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18523
b42ad38d 18524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 18525
176b0c79
JM
185262013-11-30 Joseph Myers <joseph@codesourcery.com>
18527
18528 * math/gen-auto-libm-tests.c (test_functions): Add more
18529 single-argument functions.
18530 (special_fill_pi_2): New function.
18531 (special_fill_minus_pi_2): Likewise.
18532 (special_fill_pi_6): Likewise.
18533 (special_fill_minus_pi_6): Likewise.
18534 (special_fill_pi_3): Likewise.
18535 (special_fill_2pi_3): Likewise.
18536 (special_fill_e): Likewise.
18537 (special_fill_1_e): Likewise.
18538 (special_fill_e_minus_1): Likewise.
18539 (special_real_inputs): Add more special inputs.
18540 (output_for_one_input_case): Do not require ERANGE on underflow to
18541 zero if round-to-nearest result does not underflow to zero, unless
18542 exact results required.
18543 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18544 atan, atanh, cbrt, cos and cosh.
18545 * math/auto-libm-test-out: Regenerated.
18546 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18547 (acos_tonearest_test_data): Likewise.
18548 (acos_towardzero_test_data): Likewise.
18549 (acos_downward_test_data): Likewise.
18550 (acos_upward_test_data): Likewise.
18551 (acosh_test_data): Likewise.
18552 (asin_test_data): Likewise.
18553 (asin_tonearest_test_data): Likewise.
18554 (asin_towardzero_test_data): Likewise.
18555 (asin_upward_test_data): Likewise.
18556 (asinh_test_data): Likewise.
18557 (atan_test_data): Likewise.
18558 (atanh_test_data): Likewise.
18559 (cbrt_test_data): Likewise.
18560 (cos_test_data): Likewise.
18561 (cos_tonearest_test_data): Likewise.
18562 (cos_towardzero_test_data): Likewise.
18563 (cos_downward_test_data): Likewise.
18564 (cos_upward_test_data): Likewise.
18565 (cosh_test_data): Likewise.
18566 (cosh_tonearest_test_data): Likewise.
18567 (cosh_towardzero_test_data): Likewise.
18568 (cosh_downward_test_data): Likewise.
18569 (cosh_upward_test_data): Likewise.
18570 * sysdeps/i386/fpu/libm-test-ulps: Update.
18571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18572
ffb536d0
JM
185732013-11-29 Joseph Myers <joseph@codesourcery.com>
18574
2a77a467
JM
18575 [BZ #6787]
18576 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18577 * math/w_exp10f.c (__exp10f): Likewise.
18578 * math/w_exp10l.c (__exp10l): Likewise.
18579 * math/libm-test.inc (exp10_test_data): Add more tests and expect
18580 errno settings in existing tests.
18581
ea3bc4e8
JM
18582 [BZ #14032]
18583 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18584 precision control set to double precision.
18585 * sysdeps/i386/fpu/w_sqrt.c: New file.
18586 * math/auto-libm-test-in: Add more tests.
18587 * math/auto-libm-test-out: Update.
18588
0712c9d8
JM
18589 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18590 (sqrt_test_tonearest): New function.
18591 (sqrt_towardzero_test_data): New variable.
18592 (sqrt_test_towardzero): New function.
18593 (sqrt_downward_test_data): New variable.
18594 (sqrt_test_downward): New function.
18595 (sqrt_upward_test_data): New variable.
18596 (sqrt_test_upward): New function.
18597 (main): Call the new functions.
18598
ffb536d0
JM
18599 * math/gen-auto-libm-tests.c: New file.
18600 * math/auto-libm-test-in: Likewise.
18601 * math/auto-libm-test-out: New generated file.
18602 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18603 variables.
18604 (%beautify): Add generated representations of zero.
18605 (top level): Set $auto_input and call parse_auto_input.
18606 (beautify): Remove trailing "f" from hex float constants.
18607 (parse_args): Handle XFAIL_TEST.
18608 (convert_condition): New function.
18609 (or_value): Likewise.
18610 (or_cond_value): Likewise.
18611 (generate_testfile): Handle AUTO_TESTS_* lines.
18612 (parse_auto_input): New function.
18613 * math/libm-test.inc (XFAIL_TEST): New macro.
18614 (ERRNO_UNCHANGED): Update value.
18615 (ERRNO_EDOM): Likewise.
18616 (ERRNO_ERANGE): Likewise.
18617 (IGNORE_RESULT): Likewise.
18618 (TEST_COND_flt_32): New macro.
18619 (TEST_COND_dbl_64): Likewise.
18620 (TEST_COND_ldbl_96_intel): Likewise.
18621 (TEST_COND_ldbl_96_m68k): Likewise.
18622 (TEST_COND_ldbl_128): Likewise.
18623 (TEST_COND_ldbl_128ibm): Likewise.
18624 (TEST_COND_long32): Likewise.
18625 (TEST_COND_long64): Likewise.
18626 (TEST_COND_before_rounding): Likewise.
18627 (TEST_COND_after_rounding): Likewise.
18628 (enable_test): Handle XFAIL_TEST flag.
18629 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18630 with finite results.
18631 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18632 auto-libm-test-out.
18633
acd98a8e
AK
186342013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18635 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18636
18637 [BZ #16214]
18638 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18639 __tls_get_addr_internal instead of __tls_get_offset in order to
18640 avoid GOT pointer dependency. Make rtld export
18641 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18642 __tls_get_addr since we are a __tls_get_offset platform.
18643 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18644 GOT pointer being set up before.
18645 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18646
3c1c46a6
JM
186472013-11-28 Joseph Myers <joseph@codesourcery.com>
18648
7475aef5
JM
18649 * manual/math.texi (Errors in Math Functions): Document accuracy
18650 goals.
18651
8bca7cd8
JM
18652 [BZ #15004]
18653 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18654 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18656 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18657 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18658 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18659 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18660 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18661 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18662 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18663 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18666 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18668 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18669
91a1f3fe
JM
18670 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18671 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18672 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18673 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18674 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18675 Likewise.
18676 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18677 Likewise.
18678 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18679 Likewise.
18680 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18681 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18682 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18683 atomic-feupdateenv and flt-rounds.
18684 * sysdeps/powerpc/nofpu/Versions (libc): Add
18685 __atomic_feholdexcept, __atomic_feclearexcept,
18686 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18687 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18688 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18689 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18690 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18691 here.
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18693 Update.
18694
c5df7609
JM
18695 * manual/arith.texi (FP Exceptions): Document that exceptions may
18696 not be raised when matherr is used.
18697 (Math Error Reporting): Document overflow in directed rounding
18698 modes. Document that errno may not be set when finite values are
18699 returned on overflow. Document intent to set errno on underflow
18700 only for underflow to zero.
18701
3c1c46a6
JM
18702 [BZ #16271]
18703 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18704 round-to-nearest then adjust result for other rounding modes.
18705 * include/fenv.h (fegetround): Use libm_hidden_proto.
18706 * math/fegetround.c (fegetround): Use libm_hidden_def.
18707 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18708 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18709 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18710 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18711 Likewise.
18712 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18713 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18714 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18715 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18716
5a4c6d53
SP
187172013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18718
18719 [BZ #16077]
18720 * nss/Versions (libnss_files): Add
18721 _nss_files_gethostbyname3_r.
18722 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18723 New function.
18724 (HOST_DB_LOOKUP): Remove macro.
18725 (_nss_files_gethostbyname_r): Implement function without the
18726 HOST_DB_LOOKUP macro.
18727 (_nss_files_gethostbyname2_r): Likewise.
18728
897b98ba
OB
187292013-11-28 Ondřej Bílka <neleai@seznam.cz>
18730
18731 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18732
6f476861
UB
187332013-11-26 Uros Bizjak <ubizjak@gmail.com>
18734
18735 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18736 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18737 warning.
18738
bd12ab55
AZ
187392013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18740
18741 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18742 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18743 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18744 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18745 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18746 __fe_nomask_env_priv and attribute_hidden.
18747 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18748 (libc_feupdateenv_test_ppc): Likewise.
18749 (libc_feresetround_ppc): Likewise.
18750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18751 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18752 compat_symbol macro.
18753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18754 (__fe_nomask_env): Likewise.
18755 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18756
52bb6543
OB
187572013-11-26 Ondřej Bílka <neleai@seznam.cz>
18758
18759 * string/Makefile: Remove ifunc tests.
18760 * string/test-string.h: Define TEST_IFUNC.
18761 * string/test-bcopy-ifunc.c: Remove.
18762 * string/test-bzero-ifunc.c: Likewise.
18763 * string/test-memccpy-ifunc.c: Likewise.
18764 * string/test-memchr-ifunc.c: Likewise.
18765 * string/test-memcmp-ifunc.c: Likewise.
18766 * string/test-memcpy-ifunc.c: Likewise.
18767 * string/test-memmem-ifunc.c: Likewise.
18768 * string/test-memmove-ifunc.c: Likewise.
18769 * string/test-mempcpy-ifunc.c: Likewise.
18770 * string/test-memrchr-ifunc.c: Likewise.
18771 * string/test-memset-ifunc.c: Likewise.
18772 * string/test-rawmemchr-ifunc.c: Likewise.
18773 * string/test-stpcpy-ifunc.c: Likewise.
18774 * string/test-stpncpy-ifunc.c: Likewise.
18775 * string/test-strcasecmp-ifunc.c: Likewise.
18776 * string/test-strcasestr-ifunc.c: Likewise.
18777 * string/test-strcat-ifunc.c: Likewise.
18778 * string/test-strchr-ifunc.c: Likewise.
18779 * string/test-strchrnul-ifunc.c: Likewise.
18780 * string/test-strcmp-ifunc.c: Likewise.
18781 * string/test-strcpy-ifunc.c: Likewise.
18782 * string/test-strcspn-ifunc.c: Likewise.
18783 * string/test-strlen-ifunc.c: Likewise.
18784 * string/test-strncasecmp-ifunc.c: Likewise.
18785 * string/test-strncat-ifunc.c: Likewise.
18786 * string/test-strncmp-ifunc.c: Likewise.
18787 * string/test-strncpy-ifunc.c: Likewise.
18788 * string/test-strnlen-ifunc.c: Likewise.
18789 * string/test-strpbrk-ifunc.c: Likewise.
18790 * string/test-strrchr-ifunc.c: Likewise.
18791 * string/test-strspn-ifunc.c: Likewise.
18792 * string/test-strstr-ifunc.c: Likewise.
18793
ab260039 187942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
18795
18796 * benchtests/Makefile: Remove ifunc tests.
18797 * benchtests/bench-string.h: Define TEST_IFUNC.
18798 * benchtests/bench-bcopy-ifunc.c: Remove.
18799 * benchtests/bench-bzero-ifunc.c: Likewise.
18800 * benchtests/bench-memccpy-ifunc.c: Likewise.
18801 * benchtests/bench-memchr-ifunc.c: Likewise.
18802 * benchtests/bench-memcmp-ifunc.c: Likewise.
18803 * benchtests/bench-memcpy-ifunc.c: Likewise.
18804 * benchtests/bench-memmem-ifunc.c: Likewise.
18805 * benchtests/bench-memmove-ifunc.c: Likewise.
18806 * benchtests/bench-mempcpy-ifunc.c: Likewise.
18807 * benchtests/bench-memrchr-ifunc.c: Likewise.
18808 * benchtests/bench-memset-ifunc.c: Likewise.
18809 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18810 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18811 * benchtests/bench-stpcpy-ifunc.c: Likewise.
18812 * benchtests/bench-stpncpy-ifunc.c: Likewise.
18813 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18814 * benchtests/bench-strcasestr-ifunc.c: Likewise.
18815 * benchtests/bench-strcat-ifunc.c: Likewise.
18816 * benchtests/bench-strchr-ifunc.c: Likewise.
18817 * benchtests/bench-strchrnul-ifunc.c: Likewise.
18818 * benchtests/bench-strcmp-ifunc.c: Likewise.
18819 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18820 * benchtests/bench-strcpy-ifunc.c: Likewise.
18821 * benchtests/bench-strcspn-ifunc.c: Likewise.
18822 * benchtests/bench-strlen-ifunc.c: Likewise.
18823 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18824 * benchtests/bench-strncat-ifunc.c: Likewise.
18825 * benchtests/bench-strncmp-ifunc.c: Likewise.
18826 * benchtests/bench-strncpy-ifunc.c: Likewise.
18827 * benchtests/bench-strnlen-ifunc.c: Likewise.
18828 * benchtests/bench-strpbrk-ifunc.c: Likewise.
18829 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 18830 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
18831 * benchtests/bench-strspn-ifunc.c: Likewise.
18832 * benchtests/bench-strstr-ifunc.c: Likewise.
18833
188342013-11-26 Ondřej Bílka <neleai@seznam.cz>
18835
ab260039
OB
18836 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18837
d1d9eaf4 188382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 18839
d1d9eaf4
OB
18840 * resolv/netdb.h: Use __glibc_reserved instead __unused.
18841 * rt/aio.h: Likewise.
18842 * sysdeps/gnu/bits/utmp.h: Likewise.
18843 * sysdeps/gnu/bits/utmpx.h: Likewise.
18844 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18845 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18846 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18847 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18848 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18849 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18850 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18851 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18852 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18853 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18854 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18856 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18858 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18859 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18860 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18861 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18862 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18863 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18864 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18865 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18866 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18867 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18868 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18870 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18871 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18872 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18873 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18874 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18875 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18877 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18878 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18879 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18880 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18881 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18882 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18883 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18884 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18885 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18886
a7624ed9
CD
188872013-11-25 Carlos O'Donell <carlos@redhat.com>
18888
18889 [BZ #16245]
18890 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18891 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18892
63cfe52b
JM
188932013-11-25 Joseph Myers <joseph@codesourcery.com>
18894
18895 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18896 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18897 Likewise.
18898
41e8926a
AZ
188992013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18900
18901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18902 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18903 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18904 (__fesetround): Remove define.
18905 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18906 rounding and exceptions handling.
18907 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18908 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18909 (__fe_nomask_env): Likewise.
18910 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18911 __fegetround instead of fegetround.
18912 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18913 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18914
6851bd4d
RM
189152013-11-21 Roland McGrath <roland@hack.frob.com>
18916
070906ff
RM
18917 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18918 it's there.
18919
6851bd4d
RM
18920 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18921
84ae135d
MI
189222013-11-21 Meador Inge <meadori@codesourcery.com>
18923
18924 [BZ #11157]
18925 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18926 (encrypt_r): Likewise.
18927 * malloc/obstack.h (obstack_free): Likewise.
18928 * posix/unistd.h (encrypt): Likewise.
18929
daf75146
GM
189302013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18931
18932 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18933 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18934 DL_CALL_DT_FINI() that call the functions directly.
18935 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18936 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18937 * elf/dl-fini.c: Likewise.
18938
10ad46bc
OB
189392013-11-20 Ondřej Bílka <neleai@seznam.cz>
18940
18941 * malloc/hooks.c (memalign_check): Add alignment rounding.
18942 * malloc/malloc.c (_mid_memalign): New function.
18943 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18944 Implement by calling _mid_memalign.
18945 * manual/probes.texi (Memory Allocation Probes): Remove
18946 memory_valloc_retry and memory_pvalloc_retry.
18947
f3fd2628
SP
189482013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18949
4712799f
SP
18950 * locale/programs/locarchive.c (open_archive): Add const
18951 qualifier to ARCHIVEFNAME and copy default fname to
18952 DEFAULT_FNAME.
18953
0417b20f
SP
18954 [BZ #15601]
18955 * libio/tst-widetext.input: Rename Oriya to Odia.
18956 * locale/iso-639.def: Likewise.
18957
f3fd2628
SP
18958 * manual/probes.texi (Mathematical Function Probes): Add
18959 documentation for sin, cos, asin and acos probes.
18960 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18961 (__sin32): Add slowasin probe.
18962 (__cos32): Add slowacos probe.
18963 (__mpsin): Add slowsin probe.
18964 (__mpcos): Add slowcos probe.
18965
73c1ce4f
JM
189662013-11-19 Joseph Myers <joseph@codesourcery.com>
18967
18968 [BZ #15483]
18969 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18970 thread-local __sim_exceptions_thread and global
18971 __sim_exceptions_global.
18972 (__sim_disabled_exceptions): Change to thread-local
18973 __sim_disabled_exceptions_thread and global
18974 __sim_disabled_exceptions_global.
18975 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18976 and global __sim_round_mode_global.
18977 (__simulate_exceptions): Use thread-local floating-point state and
18978 set global state from it as needed.
18979 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18980 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18981 __sim_round_mode_thread.
18982 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18983 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18984 and global __sim_exceptions_global.
18985 (__sim_disabled_exceptions): Change to thread-local
18986 __sim_disabled_exceptions_thread and global
18987 __sim_disabled_exceptions_global.
18988 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18989 and global __sim_round_mode_global.
18990 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18991 (SIM_SET_GLOBAL): Likewise.
18992 * sysdeps/powerpc/soft-fp/sfp-machine.h
18993 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18994 __sim_round_mode_thread.
18995 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18996 __sim_disabled_exceptions_thread.
18997 (__sim_exceptions): Change to __sim_exceptions_thread.
18998 (__sim_disabled_exceptions): Change to
18999 __sim_disabled_exceptions_thread.
19000 (__sim_round_mode): Change to __sim_round_mode_thread.
19001 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19002 thread-local floating-point state and set global state from it as
19003 needed.
19004 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19005 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19006 (__sim_disabled_exceptions): Remove extern declaration.
19007 (feenableexcept): Use thread-local floating-point state and set
19008 global state from it as needed.
19009 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19010 extern declaration.
19011 (__sim_disabled_exceptions): Likewise.
19012 (__sim_round_mode): Likewise.
19013 (__fegetenv): Use thread-local floating-point state.
19014 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19015 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19016 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19017 floating-point state and set global state from it as needed.
19018 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19019 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19020 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19021 Likewise.
19022 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19023 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19024 Likewise.
19025 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19026 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19027 Use __sim_round_mode_thread.
19028 * math/test-fenv-tls.c: New file.
19029 * math/Makefile (tests): Add test-fenv-tls.
19030 ($(objpfx)test-fenv-tls): Depend on
19031 $(common-objpfx)nptl/libpthread.so.
19032
b5449b12
AS
190332013-11-19 Andreas Schwab <schwab@suse.de>
19034
19035 * locale/programs/locale.c (show_info): Decode wordarray elements.
19036 * locale/categories.def (LC_MONETARY): Add element for
19037 _NL_MONETARY_CRNCYSTR.
19038 * locale/C-monetary.c (conversion_rate): New variable.
19039 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19040 element.
19041
e186536b
CM
190422013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19043
19044 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19045 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19046
5c349950
PP
190472013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19048
19049 * elf/Makefile (tst-auxv): New test.
19050 * elf/tst-auxv.c: New
19051 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19052
699df45b
JM
190532013-11-18 Joseph Myers <joseph@codesourcery.com>
19054
19055 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19056 (hidden_proto): Caller changed.
19057 (hidden_tls_proto): New macro.
19058 (libc_hidden_tls_proto): Likewise.
19059 (rtld_hidden_tls_proto): Likewise.
19060 (libm_hidden_tls_proto): Likewise.
19061 (libresolv_hidden_tls_proto): Likewise.
19062 (librt_hidden_tls_proto): Likewise.
19063 (libdl_hidden_tls_proto): Likewise.
19064 (libnss_files_hidden_tls_proto): Likewise.
19065 (libnsl_hidden_tls_proto): Likewise.
19066 (libnss_nisplus_hidden_tls_proto): Likewise.
19067 (libutil_hidden_tls_proto): Likewise.
19068
b7589107
OB
190692013-11-18 Ondřej Bílka <neleai@seznam.cz>
19070
19071 [BZ #10253]
19072 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19073 (decompose_rpath): Defer expansion to fillin_rpath.
19074 (_dl_init_paths): Pass linkmap to fillin_rpath.
19075
250c23bd
RS
190762013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19077
19078 * benchtests/Makefile: Add strsep.
19079 * benchtests/bench-strsep.c: New file: strsep benchtest.
19080 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19081
a7931fcf
AS
190822013-11-18 Andreas Schwab <schwab@suse.de>
19083
19084 * locale/programs/locale.c (show_info) [case byte]: Check for
19085 '\377' instead of '\177'.
19086 * locale/C-monetary.c (not_available): Always use "\377".
19087 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19088 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19089 detect unavailable sign_posn locale elements.
19090 * locale/localeconv.c (__localeconv): For grouping and
19091 mon_grouping handle "\177" and "\377" like no grouping.
19092 (INT_ELEM): New macro. Use it to set all numeric members.
19093 * locale/programs/ld-monetary.c (monetary_read)
19094 <tok_mon_grouping>: Normalize single -1 to the empty string.
19095 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19096 Likewise.
19097
728dab0e
OB
190982013-11-07 Ondřej Bílka <neleai@seznam.cz>
19099
19100 [BZ #16055]
19101 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19102 when we match (nil).
19103 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19104
66294491
JM
191052013-11-16 Joseph Myers <joseph@codesourcery.com>
19106
ce665817
JM
19107 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19108 (NO_TEST_INLINE): Update value.
19109 (ERRNO_UNCHANGED): Likewise.
19110 (ERRNO_EDOM): Likewise.
19111 (ERRNO_ERANGE): Likewise.
19112 (IGNORE_RESULT): Likewise.
19113 (check_float_internal): Check signs of NaN results if
19114 TEST_NAN_SIGN used.
19115 (check_complex): Pass TEST_NAN_SIGN flag through to second
19116 check_float_internal call.
19117 (copysign_test_data): Add tests with quiet NaNs as second
19118 argument. Use TEST_NAN_SIGN.
19119 (fabs_test_data): Add test of negative quiet NaN argument. Use
19120 TEST_NAN_SIGN.
19121 (signbit_test_data): Add tests of quiet NaN argument.
19122 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19123
ee1466a9
JM
19124 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19125 $ignore_result.
19126 (parse_args): Handle function results specified as IGNORE.
19127 * math/libm-test.inc (IGNORE_RESULT): New macro.
19128 (check_float_internal): Do not check numerical result if flag
19129 IGNORE_RESULT set.
19130 (check_complex): Pass through IGNORE_RESULT to second
19131 check_float_internal call.
19132 (check_int): Do not check numerical result if flag IGNORE_RESULT
19133 set.
19134 (check_long): Likewise.
19135 (check_bool): Likewise.
19136 (check_longlong): Likewise.
19137 (lrint_test_data): Add tests of infinite and NaN arguments.
19138 (lrint_tonearest_test_data): Likewise.
19139 (lrint_towardzero_test_data): Likewise.
19140 (lrint_downward_test_data): Likewise.
19141 (lrint_upward_test_data): Likewise.
19142 (llrint_test_data): Likewise.
19143 (llrint_tonearest_test_data): Likewise.
19144 (llrint_towardzero_test_data): Likewise.
19145 (llrint_downward_test_data): Likewise.
19146 (llrint_upward_test_data): Likewise.
19147 (lround_test_data): Likewise.
19148 (llround_test_data): Likewise.
19149
14407b7e
JM
19150 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19151 (ERRNO_UNCHANGED): Update value.
19152 (ERRNO_EDOM): Likewise.
19153 (ERRNO_ERANGE): Likewise.
19154 (NO_TEST_INLINE_FLOAT): New macro.
19155 (NO_TEST_INLINE_DOUBLE): Likewise.
19156 (enable_test): New function.
19157 (RUN_TEST_f_f): Check enable_test before running test.
19158 (RUN_TEST_2_f): Likewise.
19159 (RUN_TEST_fff_f): Likewise.
19160 (RUN_TEST_c_f): Likewise.
19161 (RUN_TEST_f_f1): Likewise.
19162 (RUN_TEST_fF_f1): Likewise.
19163 (RUN_TEST_fI_f1): Likewise.
19164 (RUN_TEST_ffI_f1): Likewise.
19165 (RUN_TEST_c_c): Likewise.
19166 (RUN_TEST_cc_c): Likewise.
19167 (RUN_TEST_f_i): Likewise.
19168 (RUN_TEST_f_i_tg): Likewise.
19169 (RUN_TEST_ff_i_tg): Likewise.
19170 (RUN_TEST_f_b): Likewise.
19171 (RUN_TEST_f_b_tg): Likewise.
19172 (RUN_TEST_f_l): Likewise.
19173 (RUN_TEST_f_L): Likewise.
19174 (RUN_TEST_fFF_11): Likewise.
19175 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19176 conditionals.
19177 (cosh_test_data): Likewise.
19178 (exp_test_data): Likewise.
19179 (expm1_test_data): Likewise.
19180 (hypot_test_data): Likewise.
19181 (pow_test_data): Likewise.
19182 (sinh_test_data): Likewise.
19183 (tanh_test_data): Likewise.
19184 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19185 flags argument.
19186
ca07f197
JM
19187 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19188 tests with quiet NaN input and output.
19189 (acosh_test_data): Likewise.
19190 (asin_test_data): Likewise.
19191 (asinh_test_data): Likewise.
19192 (atan_test_data): Likewise.
19193 (atanh_test_data): Likewise.
19194 (atan2_test_data): Likewise.
19195 (cbrt_test_data): Likewise.
19196 (cos_test_data): Likewise.
19197 (cosh_test_data): Likewise.
19198 (erf_test_data): Likewise.
19199 (erfc_test_data): Likewise.
19200 (exp_test_data): Likewise.
19201 (exp10_test_data): Likewise.
19202 (exp2_test_data): Likewise.
19203 (expm1_test_data): Likewise.
19204 (hypot_test_data): Likewise.
19205 (j0_test_data): Likewise.
19206 (j1_test_data): Likewise.
19207 (jn_test_data): Likewise.
19208 (lgamma_test_data): Likewise.
19209 (log_test_data): Likewise.
19210 (log10_test_data): Likewise.
19211 (log1p_test_data): Likewise.
19212 (log2_test_data): Likewise.
19213 (pow_test_data): Likewise.
19214 (scalb_test_data): Likewise.
19215 (sin_test_data): Likewise.
19216 (sincos_test_data): Likewise.
19217 (sinh_test_data): Likewise.
19218 (tan_test_data): Likewise.
19219 (tanh_test_data): Likewise.
19220 (tgamma_test_data): Likewise.
19221 (y0_test_data): Likewise.
19222 (y1_test_data): Likewise.
19223 (yn_test_data): Likewise.
19224
66294491
JM
19225 [BZ #16167]
19226 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19227 argument being NaN and avoid computations with second argument in
19228 that case.
19229 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19230 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19231 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19232
1820b143
CL
192332013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19234
19235 * locale/iso-639.def: Add Chitwani Tharu (the).
19236
714bd261
AS
192372013-11-14 Andreas Schwab <schwab@suse.de>
19238
19239 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19240 word instead of empty string.
19241
7ab44563
AZ
192422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19245 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19247 (__fe_nomask_env): Likewise.
19248
e8470ea2
SE
192492013-11-13 Steve Ellcey <sellcey@mips.com>
19250
19251 * benchtests/bench-timing.h: Include time.h.
19252
17c1d9f0
L
192532013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19254
19255 [BZ #15997]
19256 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19257 to 3.4.0 for x32.
19258 * sysdeps/unix/sysv/linux/configure: Regenerated.
19259
9310c284
JM
192602013-11-13 Joseph Myers <joseph@codesourcery.com>
19261
19262 [BZ #16151]
19263 * stdlib/strtod_l.c (round_and_return): Do not consider
19264 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19265 exponent one less than half the least subnormal exponent.
19266 * stdlib/test-strtod-round-data: Add more tests.
19267 * stdlib/tst-strtod-round.c (tests): Regenerated.
19268
7a2ad8cf
AZ
192692013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19270
19271 [BZ #14143]
19272 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19273 (__fe_mask_env): Likewise.
19274 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19275 libm_hidden_proto and add function prototype.
19276 (__fe_mask_env): Add function prototype.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19278 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19280 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19282 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19283
50727aa7
MS
192842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19285
b2f386c1 19286 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
19287 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19288
a615be46
MS
192892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19290
19291 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19292 of htab_find_slot().
19293
7ddace62
DM
192942013-11-11 David S. Miller <davem@davemloft.net>
19295
19296 [BZ #16150]
19297 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19298 symbol in the non-vis3 case in static builds.
19299 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19300 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19301 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19302 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19303
9182aa67
JK
193042013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19305
19306 [BZ #387]
19307 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19308 it is empty.
19309
450a2e2d
AZ
193102013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19311
b2f386c1
SP
19312 * benchtests/Makefile: Add bench-strtod.
19313 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 19314
8ec3f656
AS
193152013-11-11 Andreas Schwab <schwab@suse.de>
19316
19317 [BZ #16153]
19318 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19319 terminating NUL in key length.
19320
76a9b998
AZ
193212013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19322
19323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19324 Add artificial ODP entry for vDSO symbol for PPC64.
19325 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19326 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19327
e4368156
OB
193282013-11-07 Ondřej Bílka <neleai@seznam.cz>
19329
19330 [BZ #15374]
19331 * nss/getent.c (services_keys): Recognize services starting with digit.
19332
8d6bb57c
DM
193332013-11-06 David S. Miller <davem@davemloft.net>
19334
19335 [BZ #15985]
19336 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19337 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19338
e256c421
WN
193392013-11-06 Will Newton <will.newton@linaro.org>
19340
19341 * manual/memory.texi (Malloc Examples): Remove register
19342 keyword from examples.
19343
f6e12daa 193442013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 19345
f6e12daa 19346 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 19347
9d880655
AS
193482013-11-04 Joseph Myers <joseph@codesourcery.com>
19349
fd2f9486 19350 [BZ #6981]
9d880655
AS
19351 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19352 depending on [__GCC_IEC_559 > 0].
19353 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19354 depending on [__GCC_IEC_559_COMPLEX > 0].
19355
ae129d3c
CL
193562013-11-03 Chris Leonard <cjl@sugarlabs.org>
19357
19358 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19359 to iso-639.def.
19360
4a15c2a4 193612013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
19362
19363 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19364
8b35e35d
OB
193652013-11-01 Ondřej Bílka <neleai@seznam.cz>
19366
19367 [BZ #16112]
19368 * malloc/malloc (malloc_info): Do not handle first bin as
19369 special case.
19370
1d70fd6c
CL
193712013-11-01 Chris Leonard <cjl@sugarlabs.org>
19372
19373 * locale/iso-639.def: Add Central Nahuatl (nhn).
19374
8c5c2600
BH
193752013-11-01 Bruno Haible <bruno@clisp.org>
19376
19377 [BZ #7003]
19378 * manual/math.texi (BSD Random): Specify range upper bound as
19379 in POSIX.
19380
da5579c2
CL
193812013-10-31 Chris Leonard <cjl@sugarlabs.org>
19382
19383 * locale/iso-639.def: Add Meadow Mari (mhr).
19384
5d30d853
OB
193852013-10-31 Ondřej Bílka <neleai@seznam.cz>
19386
19387 [BZ #14752], [BZ #15763]
19388 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19389 Validate name.
19390 * rt/tst_shm.c: Add test for escaping directory.
19391
a4966c61
AS
193922013-10-31 Andreas Schwab <schwab@suse.de>
19393
8a43e768 19394 [BZ #15917]
a4966c61
AS
19395 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19396 followed by 'x' as part of digit sequence.
19397 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19398
28d708c4
MAP
193992013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19400
19401 [BZ #16037]
19402 * configure.ac: allow GNU Make 4.0 and greater.
19403 * configure: Regenerated.
19404
a56ee40b
WN
194052013-10-30 Will Newton <will.newton@linaro.org>
19406
19407 [BZ #16038]
19408 * malloc/hooks.c (memalign_check): Limit alignment to the
19409 maximum representable power of two.
19410 * malloc/malloc.c (__libc_memalign): Likewise.
19411 * malloc/tst-memalign.c (do_test): Add test for very
19412 large alignment values.
19413 * malloc/tst-posix_memalign.c (do_test): Likewise.
19414
c6e4925d
OB
194152013-10-30 Ondřej Bílka <neleai@seznam.cz>
19416
19417 [BZ #11087]
19418 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19419 (munmap_chunk): Likewise.
19420 (mremap_chunk): Likewise.
19421
194222013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 19423
8a43e768 19424 [BZ #15799]
bbea82f7
OB
19425 * stdlib/div.c (div): Remove obsolete code.
19426 * stdlib/ldiv.c (ldiv): Likewise.
19427 * stdlib/lldiv.c (lldiv): Likewise.
19428
977f4b31
SP
194292013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19430
19431 [BZ #16071]
19432 * nss/nss_files/files-XXX.c (get_contents_ret): New
19433 enumerator.
19434 (get_contents): New function.
19435 (internal_getent): Use it. Expand size of LINEBUFLEN.
19436
cb8a6dbd
MF
194372013-10-30 Mike Frysinger <vapier@gentoo.org>
19438
19439 * configure.in: Moved to ...
19440 * configure.ac: ... here. Change reference to configure.in
19441 to configure.ac.
19442 * sysdeps/arm/preconfigure.ac: ... here.
19443 configure.in to configure.ac.
19444 * sysdeps/gnu/configure.in: Moved to ...
19445 * sysdeps/gnu/configure.ac: ... here.
19446 * sysdeps/i386/configure.in: Moved to ...
19447 * sysdeps/i386/configure.ac: ... here.
19448 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19449 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19450 * sysdeps/mach/configure.in: Moved to ...
19451 * sysdeps/mach/configure.ac: ... here.
19452 * sysdeps/mach/hurd/configure.in: Moved to ...
19453 * sysdeps/mach/hurd/configure.ac: ... here.
19454 * sysdeps/powerpc/configure.in: Moved to ...
19455 * sysdeps/powerpc/configure.ac: ... here.
19456 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19457 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19458 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19459 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19460 * sysdeps/s390/s390-32/configure.in: Moved to ...
19461 * sysdeps/s390/s390-32/configure.ac: ... here.
19462 * sysdeps/s390/s390-64/configure.in: Moved to ...
19463 * sysdeps/s390/s390-64/configure.ac: ... here.
19464 * sysdeps/sh/configure.in: Moved to ...
19465 * sysdeps/sh/configure.ac: ... here.
19466 * sysdeps/sparc/configure.in: Moved to ...
19467 * sysdeps/sparc/configure.ac: ... here.
19468 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19469 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19470 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19471 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19472 * sysdeps/x86_64/configure.in: Moved to ...
19473 * sysdeps/x86_64/configure.ac: ... here.
19474 * sysdeps/x86_64/preconfigure.in: Moved to ...
19475 * sysdeps/x86_64/preconfigure.ac: ... here.
19476 * aclocal.m4: Change reference to configure.in to configure.ac.
19477 * config.h.in: Likewise.
19478 * manual/install.texi: Likewise.
19479 * manual/maint.texi: Likewise.
19480 * Makefile: Likewise.
19481 * malloc/Makefile: Likewise.
19482 * nscd/Makefile: Likewise.
19483 * Makeconfig: Change reference to configure.in and
19484 preconfigure.in to configure.ac and preconfigure.ac
19485 respectively.
19486 * INSTALL: Regenerated.
19487 * configure: Likewise.
19488 * sysdeps/gnu/configure: Likewise.
19489 * sysdeps/i386/configure: Likewise.
19490 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19491 * sysdeps/mach/configure: Likewise.
19492 * sysdeps/mach/hurd/configure: Likewise.
19493 * sysdeps/powerpc/configure: Likewise.
19494 * sysdeps/powerpc/powerpc32/configure: Likewise.
19495 * sysdeps/powerpc/powerpc64/configure: Likewise.
19496 * sysdeps/s390/s390-32/configure: Likewise.
19497 * sysdeps/s390/s390-64/configure: Likewise.
19498 * sysdeps/sh/configure: Likewise.
19499 * sysdeps/sparc/configure: Likewise.
19500 * sysdeps/unix/sysv/linux/configure: Likewise.
19501 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19502 * sysdeps/x86_64/configure: Likewise.
19503 * sysdeps/x86_64/preconfigure: Likewise.
19504
36a4953a
AS
195052013-10-29 Andreas Schwab <schwab@suse.de>
19506
19507 * stdio-common/Makefile (tst-swscanf-ENV): Define.
19508
c79a1204
SP
195092013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19510
dfa1b402
SP
19511 * benchtests/pow-inputs: Add new inputs.
19512
54f73d9c
SP
19513 * benchtests/exp-inputs: Add new inputs.
19514
c79a1204
SP
19515 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19516 conditional check for return value.
19517 (__cos32): Likewise.
19518
67beb545 195192013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
19520
19521 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19522 to provide a boost for large inputs with word alignment.
19523 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19524 implementation based on optimized PPC64 strcpy.
19525 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19526 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19527 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19528 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19529
151659f6
OB
195302013-10-25 Ondřej Bílka <neleai@seznam.cz>
19531
482a077e 19532 [BZ #2801]
151659f6
OB
19533 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19534
10b0f26b
OB
195352013-10-25 Ondřej Bílka <neleai@seznam.cz>
19536
19537 [BZ #14876]
19538 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19539 * time/tst-strptime.c (day_tests): Add testcase.
19540
ca42d35e
OB
195412013-10-25 Ondřej Bílka <neleai@seznam.cz>
19542
482a077e 19543 [BZ #14029]
ca42d35e
OB
19544 * manual/pattern.texi: Acknowledge that fnmatch can fail.
19545
52e6d801
FB
195462013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
19547
19548 [BZ #16074]
19549 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19550 MAP_FAILED on error.
19551
7cbcdb36
SP
195522013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19553
19554 [BZ #16072]
19555 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19556 heap for large requests.
19557
894f3f10
AM
195582013-10-25 Aurelien Jarno <aurelien@aurel32.net>
19559
19560 [BZ #9954]
19561 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19562 result if the result has no associated interface.
19563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19564 interface for all 127.X.Y.Z addresses.
19565
b85545a6
CL
195662013-10-24 Chris Leonard <cjl@sugarlabs.org>
19567
19568 * locale/iso-639.def: Add Ligurian (lij)
19569
d1f23d46
OB
195702013-10-21 Ondřej Bílka <neleai@seznam.cz>
19571
19572 [BZ #15825]
19573 * sunrpc/rpc_main.c: Document rpcgen -5.
19574
4db5b08f
MS
195752013-10-19 Michael Stahl <mstahl@redhat.com>
19576
19577 * elf/rtld.c (do_preload): Print the reason why preloading failed.
19578
a471e96a
OB
195792013-10-19 Ondřej Bílka <neleai@seznam.cz>
19580
d1f23d46 19581 [BZ #10278]
a471e96a
OB
19582 * posix/glob.c: Match only directories when trailing slash is present.
19583 * posix/tst-gnuglob.c (my_opendir): Do not open files.
19584 (main): Add testcase.
19585
45c30c61
OB
195862013-10-19 Ondřej Bílka <neleai@seznam.cz>
19587
19588 [BZ #15670]
19589 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19590
484c12fb
CD
195912013-10-18 Carlos O'Donell <carlos@redhat.com>
19592
3d7dc513
CD
19593 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19594 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19595 AUTH_DES and cindex for FIPS 140-2.
19596 (DES Encryption): Add cindex FIPS 46-3.
19597
484c12fb
CD
19598 * locale/locarchive.h (struct locarhandle): Add fname.
19599 * locale/programs/localedef.c (main): Pass ARGV[remaining]
19600 if an optional argument was specified to --list-archive,
19601 otherwise NULL.
19602 * locale/programs/locarchive.c (show_archive_content): Take new
19603 argument fname and pass it via ah.fname to open_archive.
19604 * locale/programs/localedef.h: Update decl.
19605 (open_archive): If AH->fname is non-null, open that file
19606 rather than the default file name, and don't ignore ENOENT.
19607 (create_archive): Set AH.fname to NULL.
19608 (delete_locales_from_archive): Likewise.
19609 (add_locales_to_archive): Likewise.
19610 * locale/programs/locfile.c (write_all_categories): Likewise.
19611
3c8325fb
JM
196122013-10-18 Joseph Myers <joseph@codesourcery.com>
19613 Aldy Hernandez <aldyh@redhat.com>
19614
19615 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19616 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19617 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19618 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19619 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19620 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19623 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19624 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19626 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19627 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19628 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19629 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19630 Likewise.
19631 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19632 Likewise.
19633 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19634 Likewise.
19635 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19636 Likewise.
19637 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19638 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19639 Likewise.
19640 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19641 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19642 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19643 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19644 Likewise.
19645 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19646 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19647 * sysdeps/powerpc/preconfigure: Likewise.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19649 Likewise.
19650 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19651 Replace contents of file by #include of <fenv_libc.h>.
19652 * sysdeps/powerpc/soft-fp/sfp-machine.h
19653 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19654 and <sys/prctl.h>.
19655 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19668 Allow copysignl PLT reference to be missing.
19669
5abe0682
RS
196702013-10-18 Richard Sandiford <richard@codesourcery.com>
19671 Joseph Myers <joseph@codesourcery.com
19672
19673 [BZ #15948]
19674 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19675 single character.
19676 (add_to_tablewc): Assert sequence of wide characters is nonempty.
19677
c7738d08
SP
196782013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19679
19680 * elf/tst-tls-dlinfo.c: Don't include tls.h.
19681 * elf/tst-tls1.c: Likewise.
19682 * elf/tst-tls10.h: Likewise.
19683 * elf/tst-tls14.c: Likewise.
19684 * elf/tst-tls2.c: Likewise.
19685 * elf/tst-tls3.c: Likewise.
19686 * elf/tst-tls4.c: Likewise.
19687 * elf/tst-tls5.c: Likewise.
19688 * elf/tst-tls6.c: Likewise.
19689 * elf/tst-tls7.c: Likewise.
19690 * elf/tst-tls8.c: Likewise.
19691 * elf/tst-tls9.c: Likewise.
19692 * elf/tst-tlsmod1.c: Likewise.
19693 * elf/tst-tlsmod13.c: Likewise.
19694 * elf/tst-tlsmod13a.c: Likewise.
19695 * elf/tst-tlsmod14a.c: Likewise.
19696 * elf/tst-tlsmod16a.c: Likewise.
19697 * elf/tst-tlsmod16b.c: Likewise.
19698 * elf/tst-tlsmod2.c: Likewise.
19699 * elf/tst-tlsmod3.c: Likewise.
19700 * elf/tst-tlsmod4.c: Likewise.
19701 * elf/tst-tlsmod5.c: Likewise.
19702 * elf/tst-tlsmod6.c: Likewise.
19703
0bfcf2c7
OB
197042013-10-18 Ondřej Bílka <neleai@seznam.cz>
19705
19706 [BZ #12486]
19707 * malloc/malloc.c: remove checks for statistics.
19708
264aad1e
OB
197092013-10-17 Ondřej Bílka <neleai@seznam.cz>
19710
19711 [BZ #15277]
19712 * inet/inet_net.c (inet_network): Detect additional invalid strings.
19713 * inet/tst-network.c: Add testcase.
19714
b957ced8
AS
197152013-10-17 Andreas Schwab <schwab@suse.de>
19716
19717 [BZ #15218]
19718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19719 to determine canonical name.
19720
c5d5d574
OB
197212013-10-17 Ondřej Bílka <neleai@seznam.cz>
19722
19723 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19724 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19743 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19746 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19747 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19748 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19750 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19751 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19752 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19753 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19771 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19772 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19780 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19781
e5c2c2d0
JM
197822013-10-17 Joseph Myers <joseph@codesourcery.com>
19783
19784 [BZ #16041]
19785 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19786 make result into a quiet NaN.
19787
51ca9e29
JM
197882013-10-16 Joseph Myers <joseph@codesourcery.com>
19789
19790 * soft-fp/adddf3.c: Fix horizontal whitespace.
19791 * soft-fp/addsf3.c: Likewise.
19792 * soft-fp/addtf3.c: Likewise.
19793 * soft-fp/divdf3.c: Likewise.
19794 * soft-fp/divsf3.c: Likewise.
19795 * soft-fp/divtf3.c: Likewise.
19796 * soft-fp/double.h: Likewise.
19797 * soft-fp/eqdf2.c: Likewise.
19798 * soft-fp/eqsf2.c: Likewise.
19799 * soft-fp/eqtf2.c: Likewise.
19800 * soft-fp/extenddftf2.c: Likewise.
19801 * soft-fp/extended.h: Likewise.
19802 * soft-fp/extendsfdf2.c: Likewise.
19803 * soft-fp/extendsftf2.c: Likewise.
19804 * soft-fp/extendxftf2.c: Likewise.
19805 * soft-fp/fixdfdi.c: Likewise.
19806 * soft-fp/fixdfsi.c: Likewise.
19807 * soft-fp/fixdfti.c: Likewise.
19808 * soft-fp/fixsfdi.c: Likewise.
19809 * soft-fp/fixsfsi.c: Likewise.
19810 * soft-fp/fixsfti.c: Likewise.
19811 * soft-fp/fixtfdi.c: Likewise.
19812 * soft-fp/fixtfsi.c: Likewise.
19813 * soft-fp/fixtfti.c: Likewise.
19814 * soft-fp/fixunsdfdi.c: Likewise.
19815 * soft-fp/fixunsdfsi.c: Likewise.
19816 * soft-fp/fixunsdfti.c: Likewise.
19817 * soft-fp/fixunssfdi.c: Likewise.
19818 * soft-fp/fixunssfsi.c: Likewise.
19819 * soft-fp/fixunssfti.c: Likewise.
19820 * soft-fp/fixunstfdi.c: Likewise.
19821 * soft-fp/fixunstfsi.c: Likewise.
19822 * soft-fp/fixunstfti.c: Likewise.
19823 * soft-fp/floatdidf.c: Likewise.
19824 * soft-fp/floatdisf.c: Likewise.
19825 * soft-fp/floatditf.c: Likewise.
19826 * soft-fp/floatsidf.c: Likewise.
19827 * soft-fp/floatsisf.c: Likewise.
19828 * soft-fp/floatsitf.c: Likewise.
19829 * soft-fp/floattidf.c: Likewise.
19830 * soft-fp/floattisf.c: Likewise.
19831 * soft-fp/floattitf.c: Likewise.
19832 * soft-fp/floatundidf.c: Likewise.
19833 * soft-fp/floatundisf.c: Likewise.
19834 * soft-fp/floatunditf.c: Likewise.
19835 * soft-fp/floatunsidf.c: Likewise.
19836 * soft-fp/floatunsisf.c: Likewise.
19837 * soft-fp/floatunsitf.c: Likewise.
19838 * soft-fp/floatuntidf.c: Likewise.
19839 * soft-fp/floatuntisf.c: Likewise.
19840 * soft-fp/floatuntitf.c: Likewise.
19841 * soft-fp/fmadf4.c: Likewise.
19842 * soft-fp/fmasf4.c: Likewise.
19843 * soft-fp/fmatf4.c: Likewise.
19844 * soft-fp/gedf2.c: Likewise.
19845 * soft-fp/gesf2.c: Likewise.
19846 * soft-fp/getf2.c: Likewise.
19847 * soft-fp/ledf2.c: Likewise.
19848 * soft-fp/lesf2.c: Likewise.
19849 * soft-fp/letf2.c: Likewise.
19850 * soft-fp/muldf3.c: Likewise.
19851 * soft-fp/mulsf3.c: Likewise.
19852 * soft-fp/multf3.c: Likewise.
19853 * soft-fp/negdf2.c: Likewise.
19854 * soft-fp/negsf2.c: Likewise.
19855 * soft-fp/negtf2.c: Likewise.
19856 * soft-fp/op-1.h: Likewise.
19857 * soft-fp/op-2.h: Likewise.
19858 * soft-fp/op-4.h: Likewise.
19859 * soft-fp/op-8.h: Likewise.
19860 * soft-fp/op-common.h: Likewise.
19861 * soft-fp/quad.h: Likewise.
19862 * soft-fp/single.h: Likewise.
19863 * soft-fp/soft-fp.h: Likewise.
19864 * soft-fp/sqrtdf2.c: Likewise.
19865 * soft-fp/sqrtsf2.c: Likewise.
19866 * soft-fp/sqrttf2.c: Likewise.
19867 * soft-fp/subdf3.c: Likewise.
19868 * soft-fp/subsf3.c: Likewise.
19869 * soft-fp/subtf3.c: Likewise.
19870 * soft-fp/truncdfsf2.c: Likewise.
19871 * soft-fp/trunctfdf2.c: Likewise.
19872 * soft-fp/trunctfsf2.c: Likewise.
19873 * soft-fp/trunctfxf2.c: Likewise.
19874 * soft-fp/unorddf2.c: Likewise.
19875 * soft-fp/unordsf2.c: Likewise.
19876 * soft-fp/unordtf2.c: Likewise.
19877
9ebb0332
JM
198782013-10-15 Joseph Myers <joseph@codesourcery.com>
19879
19880 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19881 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19882
4b1a6d8b
OB
198832013-10-15 Ondřej Bílka <neleai@seznam.cz>
19884
19885 * elf/dl-libc.c: Clear initfini list after freeing.
19886
1e145589
JM
198872013-10-14 Joseph Myers <joseph@codesourcery.com>
19888
19889 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19890 * soft-fp/addsf3.c: Likewise.
19891 * soft-fp/addtf3.c: Likewise.
19892 * soft-fp/divdf3.c: Likewise.
19893 * soft-fp/divsf3.c: Likewise.
19894 * soft-fp/divtf3.c: Likewise.
19895 * soft-fp/double.h: Likewise.
19896 * soft-fp/eqdf2.c: Likewise.
19897 * soft-fp/eqsf2.c: Likewise.
19898 * soft-fp/eqtf2.c: Likewise.
19899 * soft-fp/extenddftf2.c: Likewise.
19900 * soft-fp/extended.h: Likewise.
19901 * soft-fp/extendsfdf2.c: Likewise.
19902 * soft-fp/extendsftf2.c: Likewise.
19903 * soft-fp/extendxftf2.c: Likewise.
19904 * soft-fp/fixdfdi.c: Likewise.
19905 * soft-fp/fixdfsi.c: Likewise.
19906 * soft-fp/fixdfti.c: Likewise.
19907 * soft-fp/fixsfdi.c: Likewise.
19908 * soft-fp/fixsfsi.c: Likewise.
19909 * soft-fp/fixsfti.c: Likewise.
19910 * soft-fp/fixtfdi.c: Likewise.
19911 * soft-fp/fixtfsi.c: Likewise.
19912 * soft-fp/fixtfti.c: Likewise.
19913 * soft-fp/fixunsdfdi.c: Likewise.
19914 * soft-fp/fixunsdfsi.c: Likewise.
19915 * soft-fp/fixunsdfti.c: Likewise.
19916 * soft-fp/fixunssfdi.c: Likewise.
19917 * soft-fp/fixunssfsi.c: Likewise.
19918 * soft-fp/fixunssfti.c: Likewise.
19919 * soft-fp/fixunstfdi.c: Likewise.
19920 * soft-fp/fixunstfsi.c: Likewise.
19921 * soft-fp/fixunstfti.c: Likewise.
19922 * soft-fp/floatdidf.c: Likewise.
19923 * soft-fp/floatdisf.c: Likewise.
19924 * soft-fp/floatditf.c: Likewise.
19925 * soft-fp/floatsidf.c: Likewise.
19926 * soft-fp/floatsisf.c: Likewise.
19927 * soft-fp/floatsitf.c: Likewise.
19928 * soft-fp/floattidf.c: Likewise.
19929 * soft-fp/floattisf.c: Likewise.
19930 * soft-fp/floattitf.c: Likewise.
19931 * soft-fp/floatundidf.c: Likewise.
19932 * soft-fp/floatundisf.c: Likewise.
19933 * soft-fp/floatunsidf.c: Likewise.
19934 * soft-fp/floatunsisf.c: Likewise.
19935 * soft-fp/floatuntidf.c: Likewise.
19936 * soft-fp/floatuntisf.c: Likewise.
19937 * soft-fp/floatuntitf.c: Likewise.
19938 * soft-fp/fmadf4.c: Likewise.
19939 * soft-fp/fmasf4.c: Likewise.
19940 * soft-fp/fmatf4.c: Likewise.
19941 * soft-fp/gedf2.c: Likewise.
19942 * soft-fp/gesf2.c: Likewise.
19943 * soft-fp/getf2.c: Likewise.
19944 * soft-fp/ledf2.c: Likewise.
19945 * soft-fp/lesf2.c: Likewise.
19946 * soft-fp/letf2.c: Likewise.
19947 * soft-fp/muldf3.c: Likewise.
19948 * soft-fp/mulsf3.c: Likewise.
19949 * soft-fp/multf3.c: Likewise.
19950 * soft-fp/negdf2.c: Likewise.
19951 * soft-fp/negsf2.c: Likewise.
19952 * soft-fp/negtf2.c: Likewise.
19953 * soft-fp/op-1.h: Likewise.
19954 * soft-fp/op-2.h: Likewise.
19955 * soft-fp/op-4.h: Likewise.
19956 * soft-fp/op-8.h: Likewise.
19957 * soft-fp/op-common.h: Likewise.
19958 * soft-fp/quad.h: Likewise.
19959 * soft-fp/single.h: Likewise.
19960 * soft-fp/soft-fp.h: Likewise.
19961 * soft-fp/sqrtdf2.c: Likewise.
19962 * soft-fp/sqrtsf2.c: Likewise.
19963 * soft-fp/sqrttf2.c: Likewise.
19964 * soft-fp/subdf3.c: Likewise.
19965 * soft-fp/subsf3.c: Likewise.
19966 * soft-fp/subtf3.c: Likewise.
19967 * soft-fp/truncdfsf2.c: Likewise.
19968 * soft-fp/trunctfdf2.c: Likewise.
19969 * soft-fp/trunctfsf2.c: Likewise.
19970 * soft-fp/trunctfxf2.c: Likewise.
19971 * soft-fp/unorddf2.c: Likewise.
19972 * soft-fp/unordsf2.c: Likewise.
19973 * soft-fp/unordtf2.c: Likewise.
19974
17c48a60
OB
199752013-10-14 Ondřej Bílka <neleai@seznam.cz>
19976
19977 [BZ #15672]
19978 * misc/error.c (error_tail): Fix possible buffer overflow.
19979
cabba934
OB
199802013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19981
19982 [BZ #13028]
19983 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19984 address.
19985
94bf958a
PM
199862013-10-14 P. J. McDermott <pj@pehjota.net>
19987
19988 [BZ #832]
19989 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19990 testing pipefail option.
19991
71b4dea7
JM
199922013-10-12 Joseph Myers <joseph@codesourcery.com>
19993
19994 * soft-fp/double.h: Indent preprocessor directives inside #if.
19995 * soft-fp/extended.h: Likewise.
19996 * soft-fp/op-2.h: Likewise.
19997 * soft-fp/op-4.h: Likewise.
19998 * soft-fp/op-common.h: Likewise.
19999 * soft-fp/quad.h: Likewise.
20000 * soft-fp/single.h: Likewise.
20001 * soft-fp/soft-fp.h: Likewise.
20002
55602758
YC
200032013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20004
20005 * iconv/iconv_prog.c: Fix typos.
20006 * stdio-common/psiginfo-data.h: Likewise.
20007
9cd83302
RT
200082013-10-12 Reuben Thomas <rrt@sc3d.org>
20009
20010 [BZ #15764]
20011 * locale/setlocale.c: Fix typo.
20012
99fd9f47
JM
200132013-10-12 Joseph Myers <joseph@codesourcery.com>
20014
b7ea74f0
JM
20015 [BZ #16036]
20016 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20017 signaling NaN arguments.
20018 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20019 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20020
8a509447
JM
20021 [BZ #14910]
20022 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20023 unordered operands.
20024 * soft-fp/gesf2.c (__gesf2): Likewise.
20025 * soft-fp/getf2.c (__getf2): Likewise.
20026 * soft-fp/ledf2.c (__ledf2): Likewise.
20027 * soft-fp/lesf2.c (__lesf2): Likewise.
20028 * soft-fp/letf2.c (__letf2): Likewise.
20029
98998e9f
JM
20030 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20031 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20032 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20033 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20034 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20035 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20036 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20037 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20038 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20039 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20040 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20041 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20042 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20043 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20044 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20045 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20046 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20047 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20048 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20049 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20050 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20051 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20052 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20053 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20054 * soft-fp/floattidf.c (__floattidf): Likewise.
20055 * soft-fp/floattisf.c (__floattisf): Likewise.
20056 * soft-fp/floattitf.c (__floattitf): Likewise.
20057 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20058 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20059 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20060 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20061 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20062 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20063 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20064 * soft-fp/gesf2.c (__gesf2): Likewise.
20065 * soft-fp/getf2.c (__getf2): Likewise.
20066 * soft-fp/ledf2.c (__ledf2): Likewise.
20067 * soft-fp/lesf2.c (__lesf2): Likewise.
20068 * soft-fp/letf2.c (__letf2): Likewise.
20069
8edc4a11
JM
20070 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20071 Undefine and redefine.
20072 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20073 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20074 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20075 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20076 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20077 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20078 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20079 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20080 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20081 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20082 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20083 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20084 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20085 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20086 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20087
8399acaf
JM
20088 [BZ #16032]
20089 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20090 without decrementing exponent if mantissa >= that for the
20091 denominator, not >.
20092 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20093 denominator, not >. Decrement exponent in < case instead of
20094 incrementing in >= case.
20095 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20096 without decrementing exponent if mantissa >= that for the
20097 denominator, not >.
20098
99fd9f47
JM
20099 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20100 computing saturated result for unsigned overflow.
20101
10e1cf6b
SP
201022013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20103 Jeff Law <law@redhat.com>
20104
20105 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20106 (atan2Mp): Add systemtap probe marker.
20107 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20108 (__ieee754_log): Add systemtap probe marker.
20109 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20110 (atanMp): Add systemtap probe marker.
20111 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20112 (tanMp): Add systemtap probe marker.
20113 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20114 (__slowexp): Add systemtap probe marker.
20115 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20116 (__slowpow): Add systemtap probe marker.
20117 * manual/probes.texi: Document probes.
20118
3d110c7c
EB
201192013-10-11 Eric Biggers <ebiggers3@gmail.com>
20120
20121 [BZ #15362]
20122 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20123 written.
20124 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20125 written.
20126 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20127 written to buffer but not flushed.
20128 * libio/iofwrite_u.c: Likewise.
20129 * libio/iopadn.c: Return bytes returned even if EOF was
20130 encountered.
20131 * libio/iowpadn.c: Likewise.
20132 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20133 if _IO_padn does not write the whole buffer.
20134 [!COMPILE_WPRINTF] (PAD): Likewise.
20135
75b4202a
DM
201362013-10-10 David S. Miller <davem@davemloft.net>
20137
20138 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20139 directory block.
20140
6c6352e6
JM
201412013-10-10 Joseph Myers <joseph@codesourcery.com>
20142
33b853c3
JM
20143 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20144 instead of FSF address.
20145 * soft-fp/fixdfti.c: Likewise.
20146 * soft-fp/fixsfti.c: Likewise.
20147 * soft-fp/fixtfti.c: Likewise.
20148 * soft-fp/fixunsdfti.c: Likewise.
20149 * soft-fp/fixunssfti.c: Likewise.
20150 * soft-fp/fixunstfti.c: Likewise.
20151 * soft-fp/floattidf.c: Likewise.
20152 * soft-fp/floattisf.c: Likewise.
20153 * soft-fp/floattitf.c: Likewise.
20154 * soft-fp/floatuntidf.c: Likewise.
20155 * soft-fp/floatuntisf.c: Likewise.
20156 * soft-fp/floatuntitf.c: Likewise.
20157 * soft-fp/trunctfxf2.c: Likewise.
20158
6c6352e6
JM
20159 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20160 * soft-fp/fixdfti.c: Likewise.
20161 * soft-fp/fixsfti.c: Likewise.
20162 * soft-fp/fixtfti.c: Likewise.
20163 * soft-fp/fixunsdfti.c: Likewise.
20164 * soft-fp/fixunssfti.c: Likewise.
20165 * soft-fp/fixunstfti.c: Likewise.
20166 * soft-fp/floattidf.c: Likewise.
20167 * soft-fp/floattisf.c: Likewise.
20168 * soft-fp/floattitf.c: Likewise.
20169 * soft-fp/floatuntidf.c: Likewise.
20170 * soft-fp/floatuntisf.c: Likewise.
20171 * soft-fp/floatuntitf.c: Likewise.
20172 * soft-fp/trunctfxf2.c: Likewise.
20173
3bf78b71
DM
201742013-10-10 David S. Miller <davem@davemloft.net>
20175
20176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20177
6f10289e
JM
201782013-10-10 Joseph Myers <joseph@codsourcery.com>
20179
bd878fc0
JM
20180 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20181 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20182 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20183 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20184 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20185 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20186 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20187
6f10289e
JM
20188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20189 for NaNs before doing comparisons on argument.
20190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20191 Likewise.
20192
321e2684
WN
201932013-10-10 Will Newton <will.newton@linaro.org>
20194
20195 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20196 passed to _int_memalign does not overflow.
20197
40fefba1
TR
201982013-10-10 Torvald Riegel <triegel@redhat.com>
20199
20200 * scripts/bench.pl: Add include-sources directive.
20201 * benchtests/README: Update documentation.
20202
2ae21ed2
JM
202032013-10-10 Joseph Myers <joseph@codesourcery.com>
20204
dcc2dd3f
JM
20205 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20206 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20207 instead of FP_INIT_ROUNDMODE.
20208 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20209 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20210
2ae21ed2
JM
20211 [BZ #16034]
20212 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20213 copy class of input value.
20214 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20215 not handle exceptions.
20216 * soft-fp/negsf2.c (__negsf2): Likewise.
20217 * soft-fp/negtf2.c (__negtf2): Likewise.
20218 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20219
cb8f9562
JM
202202013-10-09 Joseph Myers <joseph@codesourcery.com>
20221
20222 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20223 semicolon. From Linux kernel.
20224
5b60c59d
AB
202252013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20226
20227 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20228
b86835ca
YC
202292013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20230
20231 [BZ #156]
20232 * manual/socket.texi: Added statement about buffer
20233 for gethostbyname2_r.
20234
e7044ea7
OB
202352013-10-08 Ondřej Bílka <neleai@seznam.cz>
20236
20237 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20238 Use .p2align directive instead, throughout.
20239 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20240 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20241 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20242 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20243 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20244 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20245 * sysdeps/x86_64/strchr.S: Likewise.
20246 * sysdeps/x86_64/strrchr.S: Likewise.
20247
09544cbc
SP
202482013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20249
88576635
SP
20250 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20251
e7b2d1dd
SP
20252 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20253
09544cbc
SP
20254 * sysdeps/generic/math_private.h (__mpsin1): Remove
20255 declaration.
20256 (__mpcos1): Likewise.
20257 (__mpsin): New argument __range_reduce.
20258 (__mpcos): Likewise.
20259 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20260 (slow): Use __mpsin and __mpcos.
20261 (slow1): Likewise.
20262 (slow2): Likewise.
20263 (sloww): Likewise.
20264 (sloww1): Likewise.
20265 (sloww2): Likewise.
20266 (bsloww): Likewise.
20267 (bsloww1): Likewise.
20268 (bsloww2): Likewise.
20269 (cslow2): Likewise.
20270 (csloww): Likewise.
20271 (csloww1): Likewise.
20272 (csloww2): Likewise.
20273 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20274 range_reduce. Merge in __mpsin1.
20275 (__mpcos): Likewise.
20276 (__mpsin1): Remove.
20277 (__mpcos1): Likewise.
20278
7602d070
JM
202792013-10-07 Joseph Myers <joseph@codesourcery.com>
20280
20281 * locale/loadlocale.c (_nl_intern_locale_data): Use
20282 LOCFILE_ALIGNED_P.
20283 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20284 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20285 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20286 obstack data is appropriately aligned.
20287 (obstack_int32_grow_fast): Likewise.
20288 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20289 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20290 (add_locale_uint32_array): Likewise.
20291
a357259b
SP
202922013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20293
20294 * benchtests/Makefile: Remove ARGLIST and RET variables.
20295 ($(objpfx)bench-%.c): Pass only function name to the script.
20296 * benchtests/README: Update documentation.
20297 * benchtests/acos-inputs: Add new directives.
20298 * benchtests/acosh-inputs: Likewise.
20299 * benchtests/asin-inputs: Likewise.
20300 * benchtests/asinh-inputs: Likewise.
20301 * benchtests/atan-inputs: Likewise.
20302 * benchtests/atanh-inputs: Likewise.
20303 * benchtests/cos-inputs: Likewise.
20304 * benchtests/cosh-inputs: Likewise.
20305 * benchtests/exp-inputs: Likewise.
20306 * benchtests/log-inputs: Likewise.
20307 * benchtests/pow-inputs: Likewise.
20308 * benchtests/rint-inputs: Likewise.
20309 * benchtests/sin-inputs: Likewise.
20310 * benchtests/sinh-inputs: Likewise.
20311 * benchtests/tan-inputs: Likewise.
20312 * benchtests/tanh-inputs: Likewise.
20313 * scripts/bench.pl: Add support for new directives.
20314
9ec1b13d
AM
203152013-10-07 Alan Modra <amodra@gmail.com>
20316
20317 * README: Fix careless merge.
20318
8b7d57cd
AM
203192013-10-05 Alan Modra <amodra@gmail.com>
20320
20321 * NEWS: Mention powerpc64le support and bugs fixed.
20322 * README: Both big-endian and little-endian powerpc64 supported.
20323
7b7bab13
ST
203242013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20325
57f41c40
AS
20326 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20327 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
20328 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20329 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20330
d39baad1
RA
203312013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20332
20333 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20334 match prototype.
20335
cd78f7e7
JM
203362013-10-04 Joseph Myers <joseph@codesourcery.com>
20337
29d73d86
JM
20338 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20339 Move -mhard-float appending from
20340 ports/sysdeps/powerpc/powerpc32/Makefile.
20341 [$(with-fp) = yes] (ASFLAGS): Likewise.
20342 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20343 * sysdeps/powerpc/nofpu: Move directory from
20344 ports/sysdeps/powerpc/nofpu.
20345 * sysdeps/powerpc/soft-fp: Move directory from
20346 ports/sysdeps/powerpc/soft-fp.
20347 * sysdeps/powerpc/powerpc32/405: Move directory from
20348 ports/sysdeps/powerpc/powerpc32/405.
20349 * sysdeps/powerpc/powerpc32/440: Move directory from
20350 ports/sysdeps/powerpc/powerpc32/440.
20351 * sysdeps/powerpc/powerpc32/464: Move directory from
20352 ports/sysdeps/powerpc/powerpc32/464.
20353 * sysdeps/powerpc/powerpc32/476: Move directory from
20354 ports/sysdeps/powerpc/powerpc32/476.
20355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20362 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20364 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20365 * README: Update for powerpc-*-linux-gnu software floating point
20366 support in libc.
20367
e246b347
JM
20368 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20369 case to powerpc/powerpc32*.
20370 * sysdeps/unix/sysv/linux/configure: Regenerated.
20371
89c2003e
JM
20372 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20373 (_FPU_MASK_OM): Define as 0x04.
20374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20376 0x00c10080.
20377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20378 0x0000003c.
20379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20380
cd78f7e7
JM
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20382 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20383 getcontext_e500.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20385 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20386 setcontext_e500.
20387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20388 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20389 and setcontext_e500.
20390
c755294d
CL
203912013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20392
20393 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20394
e16d221c
SP
203952013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20396
20397 * manual/threads.texi (Default Thread Attributes): Fix typo.
20398
215c7d43
WN
203992013-10-04 Will Newton <will.newton@linaro.org>
20400
20401 * malloc/Makefile: Add tst-memalign.
20402 * malloc/tst-memalign.c: New file.
20403
27d0461b
WN
20404 * malloc/tst-posix_memalign.c: Add comments.
20405 (do_test): Add comments and call free on all potentially
20406 allocated pointers. Add space after cast.
20407
1bc92709
WN
20408 * malloc/tst-pvalloc.c: Add comments.
20409 (do_test): Add comments and call free on all potentially
20410 allocated pointers. Remove duplicate check for NULL pointer.
20411 Add space after cast.
20412
66a9be9d
WN
20413 * malloc/tst-valloc.c: Add comments.
20414 (do_test): Add comments and call free on all potentially
20415 allocated pointers. Remove duplicate check for NULL pointer.
20416 Add space after cast.
20417
4cb81307
AM
204182013-10-04 Alan Modra <amodra@gmail.com>
20419
20420 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20421 Use stdint types in rather than __attribute__((mode())).
20422 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20423
f8e3e9f3
AM
204242013-10-04 Alan Modra <amodra@gmail.com>
20425
20426 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20427 Correct handling of unaligned relocs for little-endian.
20428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20429
8f9ebb08
AM
204302013-10-04 Alan Modra <amodra@gmail.com>
20431
20432 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20433 * configure: Regenerate.
20434 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20435 * shlib-versions: Likewise.
20436
0edf96c2
AM
204372013-10-04 Alan Modra <amodra@gmail.com>
20438
20439 * string/tester.c (test_memrchr): Increment reported test cycle.
20440
e0f7a380
AM
204412013-10-04 Alan Modra <amodra@gmail.com>
20442
20443 * string/test-memcpy.c (do_one_test): When reporting errors, print
20444 string address and don't overrun end of string.
20445
466b0393
AM
204462013-10-04 Alan Modra <amodra@gmail.com>
20447
20448 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20449 insrdi. Make better use of reg selection to speed exit slightly.
20450 Schedule entry path a little better. Remove useless "are we done"
20451 checks on entry to main loop. Handle wrapping around zero address.
20452 Correct main loop count. Handle single left-over word from main
20453 loop inline rather than by using loop_small. Remove extra word
20454 case in loop_small caused by wrong loop count. Add little-endian
20455 support.
20456 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20458 cache hint.
20459 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20460 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20461 support. Avoid rlwimi.
20462 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20463
3be87c77
AM
204642013-10-04 Alan Modra <amodra@gmail.com>
20465
20466 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 20467 insrdi. Formatting.
3be87c77
AM
20468 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20469 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20470 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20471 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20472 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20473 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20474
759cfef3
AM
204752013-10-04 Alan Modra <amodra@gmail.com>
20476
20477 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20481 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20482 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20483 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20485 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
20486 use of regs. Use power7 mtocrf. Tidy function tails.
20487
fe6e95d7
AM
204882013-10-04 Alan Modra <amodra@gmail.com>
20489
20490 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20491 Formatting. Consistently use rXXX register defines or rN defines.
20492 Use early exit labels that avoid restoring unused non-volatile regs.
20493 Make cr field use more consistent with rWORDn compares. Rename
20494 regs used as shift registers for unaligned loop, using rN defines
20495 for short lifetime/multiple use regs.
20496 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20497 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
20498 addi 1,1,64 to pop stack frame. Simplify return value code.
20499 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20500
664318c3
AM
205012013-10-04 Alan Modra <amodra@gmail.com>
20502
20503 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20504 support. Correct typos, formatting. Optimize tail. Use insrdi
20505 rather than rlwimi.
20506 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20507 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20508 little-endian support. Correct typos.
20509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
20510 rather than rlwimi.
20511 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
20512 in loop and entry code to keep "and." results.
20513 (strchr): Add little-endian support. Comment. Move cntlzd
20514 earlier in tail.
20515 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20516
43b84013
AM
205172013-10-04 Alan Modra <amodra@gmail.com>
20518
20519 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20520 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20521 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20522 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20523
8a7413f9
AM
205242013-10-04 Alan Modra <amodra@gmail.com>
20525
20526 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20527 (rTMP): Define as r11.
20528 (strcmp): Add little-endian support. Optimise tail.
20529 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20530 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20531 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20534 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20535 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20536
33ee81de
AM
205372013-10-04 Alan Modra <amodra@gmail.com>
20538
20539 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20540 little-endian support. Remove unnecessary "are we done" tests.
20541 Handle "s" wrapping around zero and extremely large "size".
20542 Correct main loop count. Handle single left-over word from main
20543 loop inline rather than by using small_loop. Correct comments.
20544 Delete "zero" tail, use "end_max" instead.
20545 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20546
db9b4570
AM
205472013-10-04 Alan Modra <amodra@gmail.com>
20548
20549 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20550 support. Don't branch over align.
20551 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20552 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20553 support. Rearrange tmp reg use to suit. Comment.
20554 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20555
f7c399cf
AM
205562013-10-04 Alan Modra <amodra@gmail.com>
20557
20558 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20559
0b2c2ace
AM
205602013-10-04 Alan Modra <amodra@gmail.com>
20561
20562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20563 conditional form of branch and link when obtaining pc.
20564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20565
02f04a6c
AM
205662013-10-04 Alan Modra <amodra@gmail.com>
20567
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20569 HIWORD/LOWORD.
20570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20572
9b874b2f
AM
205732013-10-04 Alan Modra <amodra@gmail.com>
20574
20575 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20576 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20577 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20578 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20579 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20580 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20581 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20582 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20583 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20584 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20585
be1e5d31
AB
205862013-10-04 Anton Blanchard <anton@au1.ibm.com>
20587 Alistair Popple <alistair@ozlabs.au.ibm.com>
20588 Alan Modra <amodra@gmail.com>
20589
20590 [BZ #15723]
20591 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20593 _dl_hwcap access for little-endian.
20594 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
20595 destroy vmx regs when saving unaligned.
20596 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20597 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
20598 destroy vmx regs when saving unaligned.
20599
fef13a78
AM
206002013-10-04 Alan Modra <amodra@gmail.com>
20601
20602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20603 Don't use a union to pack hi/low value.
20604
76a66d51
AB
206052013-10-04 Anton Blanchard <anton@au1.ibm.com>
20606
20607 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20608 for little-endian.
20609 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20610 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20611 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20612 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20613 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20614
6a31fe7f
AM
206152013-10-04 Alan Modra <amodra@gmail.com>
20616
20617 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20618 constants to usual value for .cst8 section, and remove redundant
20619 high address load.
20620 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20621 constant for 0x1p52. Load little-endian words of double from
20622 correct stack offsets.
20623
7b88401f
AM
206242013-10-04 Alan Modra <amodra@gmail.com>
20625
20626 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20627 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20628 words of double from correct stack offsets.
20629 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20630 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20631 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20634 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20636 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20637 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20638 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20639 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20641 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20642 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20643 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20644 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20645 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20646
9c008155
AM
206472013-10-04 Alan Modra <amodra@gmail.com>
20648
20649 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20650 64-bit int/double union.
20651 (_FPU_SETCW): Likewise.
20652 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20653 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20654
da13146d
AM
206552013-10-04 Alan Modra <amodra@gmail.com>
20656
20657 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20658 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20659
603e8410
AM
206602013-10-04 Alan Modra <amodra@gmail.com>
20661
20662 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20663 use vector int constants.
20664 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20665
4a28b3ca
AB
206662013-10-04 Anton Blanchard <anton@au1.ibm.com>
20667
20668 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20669 array with long long.
20670 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20671 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20672 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20673 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20674 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20675 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20676 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20677 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20678 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20679 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20680 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20681 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20682 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20683
2ca85d2b
AB
206842013-10-04 Anton Blanchard <anton@au1.ibm.com>
20685
20686 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20687 (__signbit): Likewise. Correct for little-endian.
20688 (__signbitl): Call __signbit.
20689 (lrint): Correct for little-endian.
20690 (lrintf): Call lrint.
20691
62a728ae
AM
206922013-10-04 Alan Modra <amodra@gmail.com>
20693
20694 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20695 union 32-bit int array member with 64-bit int array.
20696 (t515, tm256): Double rather than long double.
20697 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20698
32c301df
AM
206992013-10-04 Alan Modra <amodra@gmail.com>
20700
20701 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20702 Delete.
20703 (IEEE854_LONG_DOUBLE_BIAS): Delete.
20704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20705 version of math_ldbl.h.
20706
650ef4bd
AM
207072013-10-04 Alan Modra <amodra@gmail.com>
20708
20709 [BZ #15734], [BZ #15735]
20710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20711 all uses of ieee875 long double macros and unions. Simplify test
20712 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
20713 ldbl_extract_mantissa value for ix,iy exponents. Properly
20714 normalize after ldbl_extract_mantissa, and don't add hidden bit
20715 already handled. Don't treat low word of ieee854 mantissa like
20716 low word of IBM long double and mask off bit when testing for
20717 zero.
20718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20719 all uses of ieee875 long double macros and unions. Simplify tests
20720 for 0.0L and inf. Correct double adjustment of k. Delete dead code
20721 adjusting ha,hb. Simplify code setting kld. Delete two600 and
20722 two1022, instead use their values. Recognise that tests for large
20723 "a" and small "b" are mutually exclusive. Rename vars. Comment.
20724 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20725 Rewrite all uses of ieee875 long double macros and unions. Simplify
20726 test for 0.0L and nan. Correct negation.
20727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20728 ieee875 long double macros and unions. Correct output for large
20729 magnitude x. Correct absolute value calculation.
20730 (__erfcl): Likewise.
20731 * math/libm-test.inc: Add tests for errors discovered in IBM long
20732 double versions of fmodl, remainderl, erfl and erfcl.
20733
765714ca
AM
207342013-10-04 Alan Modra <amodra@gmail.com>
20735
20736 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20737 all uses of ieee854 long double macros and unions. Simplify tests
20738 for long doubles that are fully specified by the high double.
20739 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20740 Likewise.
20741 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20742 Remove dead code too.
20743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20744 (__ieee754_ynl): Likewise.
20745 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20748 Remove dead code too.
20749 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20750 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20751 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20752 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20753 Simplify.
20754 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20755 Simplify.
20756 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20757 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20759 Comment on variable precision.
20760 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20761 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20762 Likewise.
20763 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20766 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20767 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20768
4ebd120c
AM
207692013-10-04 Alan Modra <amodra@gmail.com>
20770
20771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20772 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20773 all uses of ieee854 long double macros and unions.
20774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20776 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20780 Likewise.
20781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20782 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20783 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20784 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20785 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20787 Simplify sign and nan test too.
20788 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20789 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20790 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20791 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20792 Likewise.
20793 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20794 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20795 Likewise.
20796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20797 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20798 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20799 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20802
1b6adf88
AM
208032013-10-04 Alan Modra <amodra@gmail.com>
20804
20805 * stdio-common/printf_size.c (__printf_size): Don't use
20806 union ieee854_long_double in fpnum union.
20807 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
20808 signbit macro to retrieve sign from long double.
20809 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20810 retrieve sign from long double.
20811 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20812 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20813 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20814 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20815 * math/test-misc.c (main): Don't use union ieee854_long_double.
20816
4cf69995
AM
208172013-10-04 Alan Modra <amodra@gmail.com>
20818
20819 [BZ #15680]
20820 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20821 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20822 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20823 calculation. Remove unnecessary test for denormal exponent.
20824 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20825 Correct handling of denormals. Avoid undefined shift behaviour.
20826 Correct normalisation of low mantissa when low double is denormal.
20827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20828 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
20829 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20830 Correct normalisation of low mantissa. Test for overflow of high
20831 mantissa and normalise.
20832 (ldbl_nearbyint): Use more readable constant for two52.
20833 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20834 (__mpn_construct_long_double): Fix test for overflow of high
20835 mantissa and correct normalisation. Avoid undefined shift.
20836
9605ca6c
AM
208372013-10-04 Alan Modra <amodra@gmail.com>
20838
20839 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20840 (union ibm_extended_long_double): Define as an array of ieee754_double.
20841 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20842 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20843 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20844 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20846 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20848 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20852
975569d0
JM
208532013-10-03 Joseph Myers <joseph@codesourcery.com>
20854
d3d23756
JM
20855 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20856 page size instead of calling getpagesize.
20857
975569d0
JM
20858 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20859 (LOCFILE_ALIGN_MASK): Likewise.
20860 (LOCFILE_ALIGN_UP): Likewise.
20861 (LOCFILE_ALIGNED_P): Likewise.
20862 * locale/programs/ld-collate.c (collate_output): Use the new
20863 macros instead of __alignof__ (int32_t).
20864 * locale/weight.h (findidx): Likewise.
20865
b1fe1f2b
OB
208662013-10-03 Ondřej Bílka <neleai@seznam.cz>
20867
20868 [BZ #431]
20869 * manual/string.texi: Fix strncat and wcsncat.
20870
5f855e35
BM
208712013-10-03 Brooks Moses <bmoses@google.com>
20872
20873 [BZ #15915]
20874 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20875 * Makerules: ...here, and adjust associated comments.
20876
3cef6009
WN
208772013-10-02 Will Newton <will.newton@linaro.org>
20878
20879 * malloc/Makefile: Add tst-pvalloc.
20880 * malloc/tst-pvalloc.c: New file.
20881
7815420b
WN
208822013-10-02 Will Newton <will.newton@linaro.org>
20883
20884 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20885 improve test coverage.
20886
4868b204
WN
208872013-10-02 Will Newton <will.newton@linaro.org>
20888
20889 * malloc/Makefile: Add tst-posix_memalign.
20890 * malloc/tst-posix_memalign.c: New file.
20891
29c793b3
EB
208922013-10-01 Eric Blake <eblake@redhat.com>
20893
20894 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20895 Use __THROWNL rather than __THROW on static functions.
20896
fd967522
PM
208972013-09-30 Petr Machata <pmachata@redhat.com>
20898
20899 * elf/elf.h (R_AARCH64_ABS16): New macro.
20900 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20901 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20902 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20903 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20904 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20905 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20906 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20907 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20908 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20909 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20910 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20911 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20912 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20913 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20914 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20915 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20916 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20917 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20918 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20919 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20920 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20921 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20922 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20923 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20924 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20925 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20926 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20927 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20928 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20929 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20930 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20931 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20932 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20933 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20934 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20935 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20936 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20937 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20938 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20939 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20940 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20941 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20942 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20943 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20944 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20945 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20946 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20947 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20948 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20949 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20950 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20951 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20952 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20953 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20954 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20955 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20956 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20957 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20958 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20959 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20960 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20961 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20962 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20963 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20964 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20965 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20966 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20967 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20968 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20969 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20970 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20971 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20972 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20973 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20974 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20975 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20976 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20977 (R_AARCH64_TLSDESC_LDR): Likewise.
20978 (R_AARCH64_TLSDESC_ADD): Likewise.
20979 (R_AARCH64_TLSDESC_CALL): Likewise.
20980
b2179107
AS
209812013-09-30 Andreas Schwab <schwab@suse.de>
20982
20983 [BZ #15048]
20984 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20985 the nss database lookup.
20986 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20988
47f28d0a
MF
209892013-09-28 Mike Frysinger <vapier@gentoo.org>
20990
20991 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20992
209932013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20994
20995 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20996 ${Bash-specific parameter/pattern/string} parameter expansion.
20997 * sysdeps/unix/make-syscalls.sh: Likewise.
20998
f4518a17
KK
209992013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21000
21001 * sysdeps/sh/stackguard-macros.h: New file.
21002
dc1a95c7
OB
210032013-09-26 Ondřej Bílka <neleai@seznam.cz>
21004
21005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21007 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21008 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21009 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21010 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21011
5ebbff8f
AZ
210122013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21013
21014 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21015 Fix thread ID register.
21016
4fd2cf9f
JM
210172013-09-25 Joseph Myers <joseph@codesourcery.com>
21018
21019 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21020 [POSIX || UNIX98]: Require rather than permitting all symbols from
21021 <time.h>.
21022 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21023 element of struct sched_param.
21024 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21025 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21026 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21027 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21028 constant.
21029
12c22bc4
OL
210302013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21031
21032 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21033 argument calculation.
21034
a03d8ea7
JM
210352013-09-24 Joseph Myers <joseph@codesourcery.com>
21036
21037 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21038 Expect macro.
21039 [POSIX] (pthread_attr_t): Do not require type.
21040 [POSIX] (pthread_cond_t): Likewise.
21041 [POSIX] (pthread_condattr_t): Likewise.
21042 [POSIX] (pthread_key_t): Likewise.
21043 [POSIX] (pthread_mutex_t): Likewise.
21044 [POSIX] (pthread_mutexattr_t): Likewise.
21045 [POSIX] (pthread_once_t): Likewise.
21046 [POSIX] (pthread_t): Likewise.
21047 [POSIX-based standards] (pthread_atfork): Expect function.
21048
6055173a
JM
210492013-09-24 Joseph Myers <joseph@codesourcery.com>
21050 Richard Sandiford <richard@codesourcery.com>
21051
21052 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21053 (swap_endianness_p): New extern variable.
21054 (set_big_endian): New inline function.
21055 (maybe_swap_uint32): Likewise.
21056 (maybe_swap_uint32_array): Likewise.
21057 (maybe_swap_uint32_obstack): Likewise.
21058 * locale/programs/locfile.c: Include <stdbool.h>.
21059 (swap_endianness_p): New variable.
21060 (add_locale_uint32): Call maybe_swap_uint32.
21061 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21062 (write_locale_data): Call maybe_swap_uint32_array.
21063 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21064 maybe_swap_uint32.
21065 (obstack_int32_grow_fast): Likewise.
21066 (output_weightwc): Call maybe_swap_uint32_obstack.
21067 (collate_output): Likewise.
21068 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21069 (OPT_LITTLE_ENDIAN): Likewise.
21070 (options): Add --little-endian and --big-endian options.
21071 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21072 * locale/programs/locarchive.c: Include "locfile.h".
21073 (GET): New macro.
21074 (SET): Likewise.
21075 (INC): Likewise.
21076 (create_archive): Use the new macros to access fields of
21077 structures directly mapped from or written to locale archives.
21078 (oldlocrecentcmp): Likewise.
21079 (enlarge_archive): Likewise.
21080 (insert_name): Likewise.
21081 (add_alias): Likewise.
21082 (add_locale): Likewise.
21083 (delete_locales_from_archive): Likewise.
21084 (show_archive_content): Likewise.
21085 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21086 locale data.
21087
39bf0bb4
RM
210882013-09-24 Roland McGrath <roland@hack.frob.com>
21089
21090 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21091 http://www.gnu.org/doc/freemanuals.texi.
21092 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21093
f02eed10
WN
210942013-09-24 Will Newton <will.newton@linaro.org>
21095
21096 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21097 macro.
21098
a3a6c312
JM
210992013-09-23 Joseph Myers <joseph@codesourcery.com>
21100
21101 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21102 unsigned char.
21103
107375ac
MR
211042013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21105
21106 * manual/threads.texi (POSIX Threads): Fix a typo.
21107
141f3a77
SP
211082013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21109
303e567a
SP
21110 [BZ #14547]
21111 * string/tst-strcoll-overflow.c: New test case.
21112 * string/Makefile (xtests): Add tst-strcoll-overflow.
21113 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21114 cache if string sizes may cause integer overflow.
21115
141f3a77
SP
21116 [BZ #14547]
21117 * string/strcoll_l.c (coll_seq): New members rule, idx,
21118 save_idx and back_us.
21119 (get_next_seq_nocache): New function.
21120 (do_compare_nocache): New function.
21121 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21122 when malloc fails.
21123
c61b4d41
CD
211242013-09-23 Carlos O'Donell <carlos@redhat.com>
21125
0b1f8e35
CD
21126 [BZ #15754]
21127 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21128 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21129 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21130
c61b4d41
CD
21131 [BZ #15754]
21132 * elf/Makefile (tests): Add tst-ptrguard1.
21133 (tests-static): Add tst-ptrguard1-static.
21134 (tst-ptrguard1-ARGS): Define.
21135 (tst-ptrguard1-static-ARGS): Define.
21136 * elf/tst-ptrguard1.c: New file.
21137 * elf/tst-ptrguard1-static.c: New file.
21138 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21139 * sysdeps/i386/stackguard-macros.h: Likewise.
21140 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21141 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21142 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21143 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21144 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21145 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21146
211472013-09-23 Hector Marco <hecmargi@upv.es>
21148 Ismael Ripoll <iripoll@disca.upv.es>
21149 Carlos O'Donell <carlos@redhat.com>
21150
21151 [BZ #15754]
21152 * sysdeps/generic/stackguard-macros.h: Define
21153 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21154 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21155 Define __pointer_chk_guard_local.
21156 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21157 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21158
f5f4e7b4
VV
211592013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21160
21161 [BZ #15859]
21162 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21163
5bb43a43
AS
211642013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21165
21166 * include/string.h (__ffs): Declare as hidden.
21167 * string/ffs.c (__ffs): Define as hidden.
21168 * sysdeps/i386/ffs.c (__ffs): Likewise.
21169 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21170 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21171 * sysdeps/s390/ffs.c (__ffs): Likewise.
21172 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21173
3ea5be54
AO
211742013-09-20 Alexandre Oliva <aoliva@redhat.com>
21175
ffb89e53
AO
21176 * NEWS: Mention malloc probes.
21177
322dea08
AO
21178 * malloc/arena.c (new_heap): New memory_heap_new probe.
21179 (grow_heap): New memory_heap_more probe.
21180 (shrink_heap): New memory_heap_less probe.
21181 (heap_trim): New memory_heap_free probe.
21182 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21183 (systrim): New memory_sbrk_less probe.
21184 * manual/probes.texi: Document them.
21185
655673f3
AO
21186 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21187 * manual/probes.texi: Document it.
21188
35fed6f1
AO
21189 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21190 (__libc_realloc): Add memory_realloc_retry probe.
21191 (__libc_memalign): Add memory_memalign_retry probe.
21192 (__libc_valloc): Add memory_valloc_retry probe.
21193 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21194 (__libc_calloc): Add memory_calloc_retry probe.
21195 * manual/probes.texi: Document them.
21196
6999d38c
AO
21197 * malloc/arena.c (get_free_list): Add probe
21198 memory_arena_reuse_free_list.
21199 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21200 and memory_arena_reuse.
21201 (arena_get2) [!PER_THREAD]: Likewise.
21202 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21203 memory_arena_reuse_realloc.
21204 * manual/probes.texi: Document them.
21205
0653427f
AO
21206 * malloc/malloc.c (__libc_free): Add
21207 memory_mallopt_free_dyn_thresholds probe.
21208 (__libc_mallopt): Add multiple memory_mallopt probes.
21209 * manual/probes.texi: Document them.
21210
3ea5be54
AO
21211 * malloc/malloc.c: Include stap-probe.h.
21212 (__libc_mallopt): Add memory_mallopt probe.
21213 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21214 * manual/probes.texi: New.
21215 * manual/Makefile (chapters): Add probes.
21216 * manual/threads.texi: Set next node.
21217
e35696c3 212182013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 21219
e35696c3
CL
21220 [BZ #15963, #13985]
21221 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21222 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21223 Add `Chinese' to `nan' entry name.
21224
4aafb73c
SP
212252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21226
21227 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21228 (POLYNOMIAL): Likewise.
21229 (TAYLOR_SINCOS): Likewise.
21230 (TAYLOR_SLOW): Likewise.
21231 (__sin): Use TAYLOR_SINCOS.
21232 (__cos): Likewise.
21233 (slow): Use TAYLOR_SLOW.
21234 (sloww): Likewise.
21235 (bsloww): Likewise.
21236 (csloww): Likewise.
21237
d84f25c7
LD
212382013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21239
21240 * stdlib/strtod_l.c: Fix buffer overrun.
21241
5eea0404
SP
212422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21243
7849ff93
SP
21244 * benchtests/Makefile (bench): Add sincos.
21245 * benchtests/bench-sincos.c: New file.
21246
cfa3c886
SP
21247 * math/libm-test.inc (cos_test_data): New test inputs.
21248 (sin_test_data): Likewise.
21249
b348e1e3
SP
21250 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21251 macro.
21252 (__sin): Use it.
21253 (__cos): Likewise.
21254 (slow1): Likewise.
21255 (slow2): Likewise.
21256 (sloww1): Likewise.
21257 (sloww2): Likewise.
21258 (bsloww1): Likewise.
21259 (bsloww2): Likewise.
21260 (cslow2): Likewise.
21261 (csloww1): Likewise.
21262 (csloww2): Likewise.
21263
6cce25f8
SP
21264 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21265 function.
21266 (__sin): Use it.
21267 (__cos): Likewise.
21268
5eea0404
SP
21269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21270 gotos.
21271 (__cos): Likewise.
21272
9c21573c
MR
212732013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21274
21275 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21276 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21277 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21278 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21279 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21280 * elf/cache.c (print_entry): Handle the new cache flags.
21281
24d22e65
JM
212822013-09-18 Joseph Myers <joseph@codesourcery.com>
21283 Aldy Hernandez <aldyh@redhat.com>
21284
21285 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21286 Change condition to [_SOFT_FLOAT].
21287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21299 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21302 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21303 declaration.
21304
d13ef066
JM
213052013-09-18 Joseph Myers <joseph@codesourcery.com>
21306
2e071de0
JM
21307 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21308 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21309 (__longjmp): Use LOAD_GP to load saved GPRs.
21310 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21311 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21312 (__sigsetjmp): Use SAVE_GP to save GPRs.
21313
d13ef066
JM
21314 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21315 Do not append -msoft-float.
21316 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21317
97a0650b
SP
213182013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21319
21320 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21321
11ca09e9
JM
213222013-09-17 Joseph Myers <joseph@codesourcery.com>
21323
21324 [BZ #15966]
21325 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21326 (_FPU_GETCW): Use initial "__" on variable and field names but not
21327 on macro parameter name.
21328 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21329 parentheses around reference to macro parameter.
21330
08ffcf34
RS
213312013-09-13 Richard Sandiford <richard@codesourcery.com>
21332
21333 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21334 prototype.
21335 (ctype_startup): Use uint32_t in cast and sizeof for
21336 ctype->charnames.
21337
ae7080d3
JL
213382013-09-11 Jia Liu <proljc@gmail.com>
21339
21340 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21341 __daddr_t_defined.
21342 [__FreeBSD__]: Likewise.
21343
5905e7b3
OB
213442013-09-11 Ondřej Bílka <neleai@seznam.cz>
21345
21346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21347 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21348 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21349 (strchr): Remove __strchr_sse42 ifunc selection.
21350 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21351 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21352
b987c776
WN
213532013-09-11 Will Newton <will.newton@linaro.org>
21354
21355 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21356 parameter to RES. Remove hardcoded 1000 value.
21357 * benchtests/bench-skeleton.c (main): Pass RES parameter
21358 to TIMING_INIT and multiply result by 1000.
21359
ddf985af
AZ
213602013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21361
21362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21363
ffdd3181
AS
213642013-09-11 Andreas Schwab <schwab@suse.de>
21365
21366 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21367 if not defined.
21368 (O_TMPFILE) [__USE_GNU]: Define.
21369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21370 Define.
21371
b73ed247
WN
213722013-09-11 Will Newton <will.newton@linaro.org>
21373
21374 [BZ #15857]
21375 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21376 does not overflow.
21377
55e17aad
WN
213782013-09-11 Will Newton <will.newton@linaro.org>
21379
21380 [BZ #15856]
21381 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21382 does not overflow.
21383
1159a193
WN
213842013-09-11 Will Newton <will.newton@linaro.org>
21385
21386 [BZ #15855]
21387 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21388 does not overflow.
21389
5905e7b3 213902013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
21391
21392 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21393 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21395 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21396 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21397
cdfc721b
AM
213982013-09-10 Allan McRae <allan@archlinux.org>
21399
aa04af00
AM
21400 [BZ #15748]
21401 * manual/arith.texi (Parsing of Floats): Clarify
21402 cross-reference.
21403
cdfc721b
AM
21404 [BZ #15849]
21405 * manual/install.texi (Running make install): Mention
21406 --enable-pt-chown.
21407 * INSTALL: Regenerated.
21408
95e7cf29
MR
214092013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21410
21411 * csu/init-first.c (_init): Remove the !SHARED condition around
21412 FPU control word initialization.
21413 * elf/dl-support.c (_dl_fpu_control): New variable.
21414 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21415 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21416 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21417 * math/test-fpucw-static.c: New file.
21418 * math/test-fpucw-ieee.c: New file.
21419 * math/test-fpucw-ieee-static.c: New file.
21420 * math/Makefile (tests): Add `test-fpucw-ieee' and
21421 `$(tests-static)'.
21422 (tests-static): New variable.
21423 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21424 dependency to...
21425 [($(build-shared),yes)]
21426 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21427 ... this.
21428 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21429 New dependency.
21430
83e43bf0
AM
214312013-09-09 Allan McRae <allan@archlinux.org>
21432
a9f5ce09
AM
21433 [BZ #15939]
21434 * manual/string.texi (Collation Functions): Fix typo in
21435 strcoll example.
21436 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21437
34829bc2
AM
21438 [BZ #15893]
21439 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21440
3932737d
AM
21441 [BZ #15892]
21442 * libio/memstream.c (open_memstream): Fix memory leak.
21443 * libio/wmemstream.c (open_wmemstream): Likewise.
21444
83e43bf0
AM
21445 [BZ #15895]
21446 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21447
0c66b8e9
WN
214482013-09-09 Will Newton <will.newton@linaro.org>
21449
21450 * malloc/Makefile: Add tst-realloc to tests.
21451 * malloc/tst-realloc.c: New file.
21452
f6b00fd1
AM
214532013-09-09 Allan McRae <allan@archlinux.org>
21454
21455 [BZ #15844]
21456 * COPYING: Update from GNU website to fix FSF address.
21457 * COPYING.LIB: Likewise.
21458
eec55e16
DM
214592013-09-06 David S. Miller <davem@davemloft.net>
21460
21461 * po/zh_TW.po: Update Chinese (traditional) translation from
21462 translation project.
21463
1ecbb381
RS
214642013-09-06 Richard Sandiford <richard@codesourcery.com>
21465 Joseph Myers <joseph@codesourcery.com>
21466
21467 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21468 "localeinfo.h".
21469 (obstack_chunk_alloc): New macro.
21470 (obstack_chunk_free): Likewise.
21471 (record_offset): New function.
21472 (init_locale_data): Likewise.
21473 (align_locale_data): Likewise.
21474 (add_locale_empty): Likewise.
21475 (add_locale_raw_data): Likewise.
21476 (add_locale_raw_obstack): Likewise.
21477 (add_locale_string): Likewise.
21478 (add_locale_wstring): Likewise.
21479 (add_locale_uint32): Likewise.
21480 (add_locale_uint32_array): Likewise.
21481 (add_locale_char): Likewise.
21482 (start_locale_structure): Likewise.
21483 (end_locale_structure): Likewise.
21484 (start_locale_prelude): Likewise.
21485 (end_locale_prelude): Likewise.
21486 (write_locale_data): Take locale_file structure rather than an
21487 iovec.
21488 * locale/programs/locfile.h: Include "obstack.h".
21489 (struct locale_file): Change to store locale file contents instead
21490 of header.
21491 (init_locale_data): New prototype.
21492 (align_locale_data): Likewise.
21493 (add_locale_empty): Likewise.
21494 (add_locale_raw_data): Likewise.
21495 (add_locale_raw_obstack): Likewise.
21496 (add_locale_string): Likewise.
21497 (add_locale_wstring): Likewise.
21498 (add_locale_uint32): Likewise.
21499 (add_locale_uint32_array): Likewise.
21500 (add_locale_char): Likewise.
21501 (start_locale_structure): Likewise.
21502 (end_locale_structure): Likewise.
21503 (start_locale_prelude): Likewise.
21504 (end_locale_prelude): Likewise.
21505 (write_locale_data): Update prototype.
21506 * locale/programs/3level.h (struct TABLE): Remove result field.
21507 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21508 Use new locale_file interface.
21509 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21510 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21511 * locale/programs/ld-address.c (address_output): Use new
21512 locale_file interface.
21513 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21514 NO_ADD_LOCALE.
21515 (collate_finish): Don't call collseq_table_finalize.
21516 (collate_output): Use new locale_file interface.
21517 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21518 in file.
21519 (NO_FINALIZE): Change to NO_ADD_LOCALE.
21520 (TABLE): Move defines earlier in file.
21521 (ELEMENT): Likewise.
21522 (DEFAULT): Likewise.
21523 (wctrans_table_add): Move macro and inline function earlier in
21524 file.
21525 (struct wctype_table): Move type earlier in file.
21526 (add_locale_wctype_table): New static prototype.
21527 (struct locale_ctype_t): Use logical types instead of struct iovec
21528 pointers for members.
21529 (ctype_output): Use new locale_file interface.
21530 (wctype_table_finalize): Change to add_locale_wctype_table. Use
21531 new locale_file interface.
21532 (allocate_arrays): Update for use of new locale_file interface.
21533 * locale/programs/ld-identification.c (identification_output): Use
21534 new locale_file interface.
21535 * locale/programs/ld-measurement.c (measurement_output): Likewise.
21536 * locale/programs/ld-messages.c (messages_output): Likewise.
21537 * locale/programs/ld-monetary.c (monetary_output): Likewise.
21538 * locale/programs/ld-name.c (name_output): Likewise.
21539 * locale/programs/ld-numeric.c (numeric_output): Likewise.
21540 * locale/programs/ld-paper.c (paper_output): Likewise.
21541 * locale/programs/ld-telephone.c (telephone_output): Likewise.
21542 * locale/programs/ld-time.c (time_output): Likewise.
21543
e029e2e5
AZ
215442013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21545
21546 * benchtests/Makefile: Add memrchr benchmark.
21547 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21548 benchmark as memrchr.
21549 * benchtests/bench-memrchr-ifunc.c: New file.
21550 * benchtests/bench-memrchr.c: New file.
21551
bbf6e8e4
WN
215522013-09-06 Will Newton <will.newton@linaro.org>
21553
21554 * benchtests/Makefile (string-bench): Add memcpy.
21555
6c82a2f8
CD
215562013-09-05 Carlos O'Donell <carlos@redhat.com>
21557 Cong Wang <amwang@redhat.com>
21558
e732c5f0 21559 [BZ #15850]
6c82a2f8
CD
21560 * sysdeps/unix/sysv/linux/bits/in.h
21561 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21562 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21563 before __USE_KERNEL_IPV6_DEFS uses.
21564 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21565 IPPROTO_BEETPH.
21566 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21567 sockaddr_in6, or ipv6_mreq.
21568
5430fc65
AZ
215692013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21570
21571 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21572 memory access for final bytes in some large inputs.
21573 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21574
4660856c
AZ
215752013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21576
21577 * string/test-memrchr.c: New file.
21578 * string/test-memrchr-ifunc.c: New file.
21579 * string/Makefile: Add new memrchr testcase.
21580
bb8ea713
MF
215812013-09-05 Mike Frysinger <vapier@gentoo.org>
21582
21583 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21584 fanotify_init returns EPERM.
21585
b92a20b5
JM
215862013-09-04 Joseph Myers <joseph@codesourcery.com>
21587
21588 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21589 errors.
21590 (top level): Treat second token from macro or constant entries for
21591 allowed headers as allowed.
21592 * include/complex.h: Condition internal declarations on
21593 [!_ISOMAC].
21594 * include/fenv.h: Condition include of <stdbool.h> and internal
21595 declarations on [!_ISOMAC].
7447ccd9
CL
21596
215972013-09-04 Chris Leonard <cjl@sugarlabs,.org>
21598
3e181dda 21599 [BZ #15923]
7447ccd9
CL
21600 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21601
3f2e46a4
JM
216022013-09-04 Joseph Myers <joseph@codesourcery.com>
21603
21604 * configure.in (--enable-versioning): Remove configure option.
21605 (libc_cv_asm_symver_directive): Remove configure test.
21606 (libc_cv_ld_version_script_option): Likewise.
21607 (VERSIONING): Remove variable and AC_SUBST.
21608 (DO_VERSIONING): Remove AC_DEFINE.
21609 * configure: Regenerated.
21610 * config.h.in (DO_VERSIONING): Remove macro.
21611 * Makerules [$(versioning) = yes]: Change conditionals to
21612 [$(build-shared) = yes].
21613 * config.make.in (versioning): Remove variable.
21614 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21615 [$(build-shared) = yes].
21616 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21617 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21618 * elf/Makefile [$(versioning) = yes]: Change conditionals to
21619 [$(build-shared) = yes].
21620 * extra-lib.mk [$(versioning) = yes]: Likewise.
21621 * hurd/Makefile [$(versioning) = yes]: Likewise.
21622 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21623 [SHARED].
21624 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21625 [SHARED].
21626 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21627 [SHARED && !NO_HIDDEN].
21628 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21629 [SHARED].
21630 [SHARED && DO_VERSIONING]: Likewise..
21631 * libio/Makefile [$(versioning) = yes]: Change conditionals to
21632 [$(build-shared) = yes].
21633 * manual/install.texi (--disable-versioning): Remove
21634 documentation.
21635 * INSTALL: Regenerated.
21636 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21637 to [SHARED].
21638 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21639 [$(build-shared) = yes].
21640 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21641 * sysdeps/i386/i686/multiarch/strstr-c.c
21642 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21643 [SHARED && !NO_HIDDEN].
21644 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21645 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21646 * sysdeps/powerpc/powerpc32/dl-machine.c
21647 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21648 * sysdeps/powerpc/powerpc32/sysdep.h
21649 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21650 to [SHARED && PIC && !NO_HIDDEN].
21651 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21652 conditional to [SHARED].
21653
44558701
WN
216542013-09-04 Will Newton <will.newton@linaro.org>
21655
21656 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21657 * benchtests/bench-string.h: Include bench-timing.h instead
21658 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21659 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21660 call to HP_TIMING_DIFF_INIT.
21661 * benchtests/bench-memccpy.c: Use bench-timing.h macros
21662 instead of hp-timing.h macros.
21663 * benchtests/bench-memchr.c: Likewise.
21664 * benchtests/bench-memcmp.c: Likewise.
21665 * benchtests/bench-memcpy.c: Likewise.
21666 * benchtests/bench-memmem.c: Likewise.
21667 * benchtests/bench-memmove.c: Likewise.
21668 * benchtests/bench-memset.c: Likewise.
21669 * benchtests/bench-rawmemchr.c: Likewise.
21670 * benchtests/bench-strcasecmp.c: Likewise.
21671 * benchtests/bench-strcasestr.c: Likewise.
21672 * benchtests/bench-strcat.c: Likewise.
21673 * benchtests/bench-strchr.c: Likewise.
21674 * benchtests/bench-strcmp.c: Likewise.
21675 * benchtests/bench-strcpy.c: Likewise.
21676 * benchtests/bench-strcpy_chk.c: Likewise.
21677 * benchtests/bench-strlen.c: Likewise.
21678 * benchtests/bench-strncasecmp.c: Likewise.
21679 * benchtests/bench-strncat.c: Likewise.
21680 * benchtests/bench-strncmp.c: Likewise.
21681 * benchtests/bench-strncpy.c: Likewise.
21682 * benchtests/bench-strnlen.c: Likewise.
21683 * benchtests/bench-strpbrk.c: Likewise.
21684 * benchtests/bench-strrchr.c: Likewise.
21685 * benchtests/bench-strspn.c: Likewise.
21686 * benchtests/bench-strstr.c: Likewise.
21687
cae16d66
WN
216882013-09-04 Will Newton <will.newton@linaro.org>
21689
21690 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21691
ffa3cd7f
JM
216922013-09-03 Joseph Myers <joseph@codesourcery.com>
21693
21694 [BZ #15427]
21695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21696 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21697 * math/libm-test.inc (lgamma_test_data): Add more tests.
21698 * sysdeps/i386/fpu/libm-test-ulps: Update.
21699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21700
8f02859f
OB
217012013-09-03 Ondřej Bílka <neleai@seznam.cz>
21702
21703 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21705 Add ifunc.
21706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21707 Add strcmp-sse2-unaligned
21708 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21709
18d43716
MF
217102013-09-02 Mike Frysinger <vapier@gentoo.org>
21711
21712 * Versions.def (libc): Add GLIBC_2.19.
21713
ac444012
MF
217142013-09-02 Mike Frysinger <vapier@gentoo.org>
21715
21716 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21717 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21718
b7835e32
JM
217192013-09-02 Joseph Myers <joseph@codesourcery.com>
21720
21721 [BZ #14155]
21722 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21723 intermediate calculations in recurrence.
21724 (__ieee754_ynf): Likewise.
21725 * math/libm-test.inc (jn_test_data): Do not allow spurious
21726 underflow exception. Add more tests.
21727 (yn_test_data): Add more tests.
21728 * sysdeps/i386/fpu/libm-test-ulps: Update.
21729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21730
8220f4f0
OB
217312013-09-02 Ondřej Bílka <neleai@seznam.cz>
21732
21733 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21734
f24a6d08
OB
217352013-08-30 Ondřej Bílka <neleai@seznam.cz>
21736
21737 * csu/init-first.c: Fix then/than typos.
21738 * locale/programs/ld-collate.c: Likewise.
21739 * locale/programs/linereader.h: Likewise.
21740 * manual/charset.texi: Likewise.
21741 * manual/filesys.texi: Likewise.
21742 * manual/stdio.texi: Likewise.
21743 * manual/string.texi: Likewise.
21744 * stdlib/fmtmsg.c: Likewise.
21745 * sysdeps/i386/stpncpy.S: Likewise.
21746 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21747 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21748 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21749 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21750
382466e0
OB
217512013-08-30 Ondřej Bílka <neleai@seznam.cz>
21752
21753 * elf/dl-open.c: Fix typos.
21754 * iconvdata/gbbig5.c: Likewise.
21755 * iconvdata/iso-2022-jp.c: Likewise.
21756 * iconv/gconv_int.h: Likewise.
21757 * iconv/loop.c: Likewise.
21758 * nis/rpcsvc/nis.h: Likewise.
21759 * resolv/ns_name.c: Likewise.
21760 * stdio-common/vfscanf.c: Likewise.
21761 * streams/stropts.h: Likewise.
21762 * sunrpc/rpc_thread.c: Likewise.
21763 * sysdeps/i386/strpbrk.S: Likewise.
21764 * sysdeps/ieee754/k_standard.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21767 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21768 * sysdeps/mach/hurd/profil.c: Likewise.
21769 * sysdeps/s390/dl-procinfo.h: Likewise.
21770 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21771 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21772 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21773 * sysdeps/x86_64/dl-trampoline.S: Likewise.
21774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21775
0186c6e9
OB
217762013-08-30 Ondřej Bílka <neleai@seznam.cz>
21777
21778 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21780
d4e16af1
OB
217812013-08-29 Ondřej Bílka <neleai@seznam.cz>
21782
21783 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21784 aix specific files.
21785 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21788 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21789 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21790 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21791 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21792 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21793
88335980
TS
217942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21795 Roland McGrath <roland@hack.frob.com>
21796
21797 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21798 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21799
ed479b02
ST
218002013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21801
21802 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21803 __executable_start symbol instead of _start.
21804
f1cc4c86
TS
218052013-08-29 Thomas Schwinge <thomas@codesourcery.com>
21806
d821f07c
TS
21807 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21808 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21809 Move macros to...
21810 * sysdeps/gnu/ldsodefs.h: ... this new file.
21811
c54290cf
TS
21812 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21813 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21814 instead of ELFOSABI_LINUX.
21815
0007fc9b 21816 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
21817 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21818 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21819 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21820 Likewise.
21821 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21822 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21823 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21824 Likewise.
21825 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21826 (ibm_extended_long_double): Add ieee_nan member.
21827 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21828 (do_test): New function.
21829
f1cc4c86
TS
21830 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21831 TEST_TRUNC.
21832 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21833 functions, renamed from truncdfsf_test, trunctfsf_test,
21834 trunctfdf_test.
21835 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21836 functions.
21837 (do_test): Run all these.
21838
6f65e668
OB
218392013-08-29 Ondřej Bílka <neleai@seznam.cz>
21840
21841 * argp/argp-help.c: Fix typos.
21842 * argp/argp-parse.c: Likewise.
21843 * debug/backtracesyms.c: Likewise.
21844 * elf/elf.h: Likewise.
21845 * malloc/malloc.c: Likewise.
21846 * nis/nis_print.c: Likewise.
21847 * resolv/res_comp.c: Likewise.
21848 * stdlib/stdlib.h: Likewise.
21849 * sunrpc/clnt_tcp.c: Likewise.
21850 * sunrpc/clnt_udp.c: Likewise.
21851 * sunrpc/clnt_unix.c: Likewise.
21852 * sysdeps/unix/bsd/ptsname.c: Likewise.
21853 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21854 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21856 Likewise.
21857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21858 Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21860 Likewise.
6f65e668
OB
21861 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21862
3a309239
SP
218632013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21864
21865 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21867
3b813b29
MF
218682013-08-27 Mike Frysinger <vapier@gentoo.org>
21869
21870 [BZ #15897]
21871 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21872 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21873 ($(objpfx)bug-dl-leaf): New rule.
21874 ($(objpfx)bug-dl-leaf.so): Likewise.
21875 ($(objpfx)bug-dl-leaf.out): Likewise.
21876 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21877 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21878 * dlfcn/bug-dl-leaf.c: New test.
21879 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21880 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21881 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21882 (dlclose): Likewise.
21883 (dlmopen): Likewise.
21884
8cc3269f
RM
218852013-08-27 Roland McGrath <roland@hack.frob.com>
21886
7f9d0034
RM
21887 * include/netdb.h [!_ISOMAC]:
21888 Don't include <tls.h>.
21889 (h_errno, __libc_h_errno): Move declaration and macros out of
21890 [_LIBC_REENTRANT].
21891
fb431262
RM
21892 * include/resolv.h [_RESOLV_H_]:
21893 Don't include <tls.h>.
21894 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21895 * resolv/res_libc.c: Don't include <tls.h>.
21896 (_res): Use __attribute__ ((nocommon)) in place of
21897 __attribute__ ((section (".bss"))).
21898
bd81123a
RM
21899 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21900 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21901
c4e42566
RM
21902 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21903
f890a59b
RM
21904 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21905 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21906
21907 * resolv/res_mkquery.c: Include <sys/time.h>.
21908
5d1f0a09
RM
21909 * inet/ifreq.c: Moved to ...
21910 * sysdeps/unix/ifreq.c: ... here.
21911 * inet/ifreq.c: New file, true stub version.
21912
6fcf28b3
RM
21913 * socket/sa_len.c: New file.
21914 * socket/Makefile (aux): Add it.
21915 * sysdeps/unix/sysv/linux/Makefile
21916 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21917 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21918 and #include <socket/sa_len.c>.
21919 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21920 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21921
e041fb8b
RM
21922 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21923 * bits/socket.h: ... here.
21924
8cc3269f
RM
21925 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21926 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21927 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21928
5d228a43
AS
219292013-08-27 Andreas Schwab <schwab@suse.de>
21930
45b8accc
AS
21931 [BZ #15736]
21932 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21933 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21934 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21935 * string/test-strcasecmp.c (test_main): Run tests in several
21936 locales.
21937 * string/test-strncasecmp.c (test_main): Likewise.
21938
5d228a43
AS
21939 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21940 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21941 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21943 (__strncasecmp_ssse3) [PIC]: Likewise.
21944
59d112a4
RM
219452013-08-26 Roland McGrath <roland@hack.frob.com>
21946
53234cc3
RM
21947 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21948
59d112a4
RM
21949 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21950 instead of explicitly declaring xdecrypt.
21951 * nis/nss_nis/nis-publickey.c: Likewise.
21952
595aba70
SP
219532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21954
21955 [BZ #15890]
21956 * nscd/aicache.c: Include res_hconf.h.
21957 (addhstaiX): Initialize res_hconf.
21958
ffabd393
AS
219592013-08-26 Andreas Schwab <schwab@suse.de>
21960
21961 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21962 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21963
e0a69f5c
SP
219642013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21965
21966 * nscd/aicache.c (addhstaiX): Fix indentation.
21967
8c12f01d
MF
219682013-08-25 Mike Frysinger <vapier@gentoo.org>
21969
21970 * configure.ac: Quote $build_pt_chown test.
21971 * configure: Regenerated.
21972
8fe89494
JM
219732013-08-23 Joseph Myers <joseph@codesourcery.com>
21974
21975 [BZ #15532]
21976 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21977 * math/s_cexpf.c (__cexpf): Likewise.
21978 * math/s_cexpl.c (__cexpl): Likewise.
21979 * math/libm-test.inc (cexp_test_data): Correct expected return
21980 value for NaN + i0. Add another test.
21981
75b181d6
DM
219822013-08-22 David S. Miller <davem@davemloft.net>
21983
21984 * po/ca.po: Update Catalan translation from translation project.
936241e4 21985 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21986
acd06bb1
JM
219872013-08-21 Joseph Myers <joseph@codesourcery.com>
21988
21989 [BZ #15797]
21990 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21991 is infinite, not alongside NaN test.
21992 * math/s_fdimf.c (__fdimf): Likewise.
21993 * math/s_fdiml.c (__fdiml): Likewise.
21994 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21995 errno is unchanged.
21996
c0c3f78a
OB
219972013-08-21 Ondřej Bílka <neleai@seznam.cz>
21998
21999 * argp/argp-help.c: Fix typos.
22000 * crypt/speeds.c: Likewise.
22001 * csu/check_fds.c: Likewise.
22002 * elf/dl-load.c: Likewise.
22003 * elf/dl-open.c: Likewise.
22004 * elf/reldep3.c: Likewise.
22005 * elf/reldep.c: Likewise.
22006 * elf/sprof.c: Likewise.
22007 * iconv/iconv_charmap.c: Likewise.
22008 * iconv/skeleton.c: Likewise.
22009 * iconv/strtab.c: Likewise.
22010 * io/lockf64.c: Likewise.
22011 * libio/libioP.h: Likewise.
22012 * resolv/gai_notify.c: Likewise.
22013 * resolv/ns_name.c: Likewise.
22014 * resolv/ns_samedomain.c: Likewise.
22015 * resolv/res_send.c: Likewise.
22016 * stdlib/random.c: Likewise.
22017 * sunrpc/rpc/xdr.h: Likewise.
22018 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22019 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22020 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22021 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22023 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22025 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22026 * sysdeps/mach/hurd/check_fds.c: Likewise.
22027 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22028 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22029 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22030 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22031 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22032 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22033 * sysdeps/pthread/aio_notify.c: Likewise.
22034 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22035 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22036 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22037 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22038 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22039
46ed1038
LD
220402013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22041
22042 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22043 version if bit_Slow_SSE4_2 is set.
22044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22045 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22046
d400dcac
AZ
220472013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22048
22049 [BZ #15867]
22050 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22051 trampoline stack frame information.
22052 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22053 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22054 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22055 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22056 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22057 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22058 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22059 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22060 sa_flags value.
22061 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22062 interrupting a syscall and set with option SA_SIGINFO.
22063
42c8fdd8
JM
220642013-08-20 Joseph Myers <joseph@codesourcery.com>
22065
c980f2f4
JM
22066 [BZ #15531]
22067 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22068 argument is infinite.
22069 * math/s_cprojf.c (__cprojf): Likewise.
22070 * math/s_cprojl.c (__cprojl): Likewise.
22071 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22072 * math/libm-test.inc (cproj_test_data): Add more tests.
22073
0716c4fc
JM
22074 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22075
42c8fdd8
JM
22076 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22077 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22078 size. Use __ffs to determine corresponding shift.
22079
b31469d0
JM
220802013-08-20 Joseph Myers <joseph@codesourcery.com>
22081 Roland McGrath <roland@hack.frob.com>
22082
22083 * Makefile (INSTALL): Remove trailing blank lines from output of
22084 makeinfo.
22085
4e39af6e
AK
220862013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22087
22088 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22089 Align 32 bit compat elf_greg to 8 bytes.
22090
f315524e
AA
220912013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22092
22093 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22094
1326ba1a
SP
220952013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22096
22097 * string/strcoll_l.c (coll_seq): New structure.
22098 (get_next_seq_cached): New function.
22099 (get_next_seq): New function.
22100 (do_compare): New function.
22101 (STRCOLL): Use GNU style definition. Simplify implementation
22102 by using get_next_seq, get_next_seq_cached and do_compare.
22103
91ce4085
FW
221042013-08-16 Florian Weimer <fweimer@redhat.com>
22105
22106 [BZ #14699]
22107 CVE-2013-4237
22108 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22109 member.
22110 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22111 member.
22112 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22113 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22114 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22115 conditional.
22116 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22117 GETDENTS_64BIT_ALIGNED.
22118 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22119 * manual/filesys.texi (Reading/Closing Directory): Document
22120 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22121 strongly.
22122 * manual/conf.texi (Limits for Files): Add portability note to
22123 NAME_MAX, PATH_MAX.
22124 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22125
ca0a6bc4
AS
221262013-08-13 Andreas Schwab <schwab@suse.de>
22127
22128 [BZ #15749]
22129 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22130 of fabs.
22131 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22132 LDBL_MAX_EXP >= 16384]: Add tests for it.
22133
6c1fd795
DM
221342013-08-12 David S. Miller <davem@davemloft.net>
22135
22136 * version.h (RELEASE): Set to "development".
22137 (VERSION): Set to "2.18.90".
22138 * NEWS: Add 2.19 section.
22139
31ad488d
DM
221402013-08-03 David S. Miller <davem@davemloft.net>
22141
22142 * po/ko.po: Update Korean translation from translation project.
22143
db24e684
DM
221442013-08-01 David S. Miller <davem@davemloft.net>
22145
22146 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22147 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22148 Bilka.
22149
f723285b
DM
221502013-07-30 David S. Miller <davem@davemloft.net>
22151
22152 * po/fr.po: Update French translation from translation project.
22153
3cbc52db
DM
221542013-07-28 David S. Miller <davem@davemloft.net>
22155
30bbc0cc
DM
22156 * po/cs.po: Update Czech translation from translation project.
22157
3cbc52db
DM
22158 * po/sv.po: Update Swedish translation from translation project.
22159
d492e6d0
DM
221602013-07-27 David S. Miller <davem@davemloft.net>
22161
f1a7f492
DM
22162 * po/eo.po: Update Esperanto translation from translation project.
22163
90e62a4a
DM
22164 * po/vi.po: Update Vietnamese translation from translation project.
22165
d492e6d0
DM
22166 * po/de.po: Update German translation from translation project.
22167
d4baa62d
DM
221682013-07-26 David S. Miller <davem@davemloft.net>
22169
641aa7b4
DM
22170 * po/bg.po: Update Bulgarian translation from translation project.
22171
d4baa62d
DM
22172 * po/nl.po: Update Dutch translation from translation project.
22173 * po/pl.po: Update Polish translation from translation project.
22174 * po/ru.po: Update Russian translation from translation project.
22175
61a9dcb9
DM
221762013-07-24 David S. Miller <davem@davemloft.net>
22177
22178 * po/libc.pot: Update.
22179
7b1f8b58
AZ
221802013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22181
22182 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22183 variable page size.
22184 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22185 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22186 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22187
a8fc7a03
AK
221882013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22189
22190 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22191
e4608715
CD
221922013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22193 Andreas Schwab <schwab@suse.de>
22194 Roland McGrath <roland@hack.frob.com>
22195 Joseph Myers <joseph@codesourcery.com>
22196 Carlos O'Donell <carlos@redhat.com>
22197
22198 [BZ #15755]
22199 * config.h.in: Define HAVE_PT_CHOWN.
22200 * config.make.in (build-pt-chown): New variable.
22201 * configure.in (--enable-pt_chown): New configure option.
22202 * configure: Regenerate.
22203 * login/Makefile: Include Makeconfig. Build pt_chown only if
22204 build-pt-chown is enabled.
22205 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22206 pt_chown to fix pty ownership.
22207 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22208 CLOSE_ALL_FDS.
22209 * manual/install.texi (Configuring and compiling): Mention
22210 --enable-pt_chown. Add @findex for grantpt.
22211 * INSTALL: Regenerate.
22212
da2d62df
DM
222132013-07-20 David S. Miller <davem@davemloft.net>
22214
22215 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22216 difference between 32-bit and 64-bit.
22217
d7e06450
CD
222182013-07-15 Carlos O'Donell <carlos@redhat.com>
22219
22220 [BZ #15711]
22221 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22222 Avoid system header dependency with -ffreestanding.
22223 ($(objpfx)bits/syscall%d): Likewise.
22224
f959cfd7
DM
222252013-07-13 David S. Miller <davem@davemloft.net>
22226
22227 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22228 underflows from atanl/atan2l due to bug 15319.
22229 (casinh_test_data): Likewise.
22230
c61f8513
DM
222312013-07-07 David S. Miller <davem@davemloft.net>
22232
22233 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22234
72c90ed0
JA
222352013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22236
22237 * sysdeps/i386/fpu/libm-test-ulps: Update.
22238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22239
52dfbe13
SP
222402013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22241
22242 * configure.in (--enable-lock-elision): Fix message text.
22243 * INSTALL: Regenerate.
22244 * configure: Regenerate.
22245
3f169543
AZ
222462013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22247
22248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22249
521c6785
AJ
222502013-07-03 Andreas Jaeger <aj@suse.de>
22251
22252 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22253 define.
22254 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22255 (ptrace_peeksiginfo_args): Add.
22256 (__ptrace_peeksiginfo_flags): Add.
22257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22259 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22260
d2cc15cb
AM
222612013-07-03 Allan McRae <allan@archlinux.org>
22262
22263 * sysdeps/i386/fpu/libm-test-ulps: Update.
22264
3aaeeca7
DM
222652013-07-02 David S. Miller <davem@davemloft.net>
22266
22267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22268
5314ed1a
MT
222692013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22270
22271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22272
67338156
JM
222732013-07-02 Joseph Myers <joseph@codesourcery.com>
22274
22275 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22277
1717da59
AK
222782013-07-02 Andi Kleen <ak@linux.intel.com>
22279
22280 * config.h.in (ENABLE_LOCK_ELISION): Add.
22281 * configure.in (--enable-lock-elision): Add option.
22282 * manual/install.texi: Document --enable lock elision.
22283 * configure: Regenerate
22284 * INSTALL: Regenerate.
22285
1c81621c
L
222862013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22287
22288 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22289 SSE4.2 strcasecmp for libc.a.
22290 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22291
77f01ab5
JM
222922013-07-02 Joseph Myers <joseph@codesourcery.com>
22293
22294 [BZ #13304]
22295 * soft-fp/op-common.h (_FP_FMA): New macro.
22296 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22297 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22298 (_FP_MUL_MEAT_1_imm): ... here.
22299 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22300 (_FP_MUL_MEAT_1_wide): ... here.
22301 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22302 (_FP_MUL_MEAT_1_hard): ... here.
22303 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22304 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22305 (_FP_MUL_MEAT_2_wide): ... here.
22306 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22307 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22308 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22309 (_FP_MUL_MEAT_2_gmp): ... here.
22310 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22311 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22312 (_FP_MUL_MEAT_4_wide): ... here.
22313 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22314 (_FP_MUL_MEAT_4_gmp): ... here.
22315 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22316 (_FP_WFRACBITS_DW_S): Likewise.
22317 (_FP_WFRACXBITS_DW_S): Likewise.
22318 (_FP_HIGHBIT_DW_S): Likewise.
22319 (FP_FMA_S): Likewise.
22320 (_FP_FRAC_HIGH_DW_S): Likewise.
22321 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22322 (_FP_WFRACBITS_DW_D): Likewise.
22323 (_FP_WFRACXBITS_DW_D): Likewise.
22324 (_FP_HIGHBIT_DW_D): Likewise.
22325 (FP_FMA_D): Likewise.
22326 (_FP_FRAC_HIGH_DW_D): Likewise.
22327 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22328 (_FP_WFRACBITS_DW_E): Likewise.
22329 (_FP_WFRACXBITS_DW_E): Likewise.
22330 (_FP_HIGHBIT_DW_E): Likewise.
22331 (FP_FMA_E): Likewise.
22332 (_FP_FRAC_HIGH_DW_E): Likewise.
22333 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22334 (_FP_WFRACBITS_DW_Q): Likewise.
22335 (_FP_WFRACXBITS_DW_Q): Likewise.
22336 (_FP_HIGHBIT_DW_Q): Likewise.
22337 (FP_FMA_Q): Likewise.
22338 (_FP_FRAC_HIGH_DW_Q): Likewise.
22339 * soft-fp/fmasf4.c: New file.
22340 * soft-fp/fmadf4.c: Likewise.
22341 * soft-fp/fmatf4.c: Likewise.
22342
6308fd9a
LD
223432013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22344
22345 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22346 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22347 Silvermont.
22348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22349 macro.
22350 (index_Slow_SSE4_2): Likewise.
22351 (index_Prefer_PMINUB_for_stringop): Likewise.
22352 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22353 bit_Slow_SSE4_2 is set.
22354 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22355 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22356
89cd9569
RA
223572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22358
22359 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22360 rtld_global._dl_hwcap2.
22361 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22362 POWER8.
22363 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22364 POWER8 feature descriptions defined in _dl_hwcap2.
22365 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22366 string handling for POWER8 feature bits.
22367 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22368 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22369 _dl_powerpc_cap_flags.
22370 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22371 * sysdeps/powerpc/rtld-global-offsets.sym
22372 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22373 _dl_hwcap2 in the rtld_global_ro structure.
22374
1ae8bfe0
RA
223752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22376
22377 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22378 hardware capabilities in support of AT_HWCAP2.
22379 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22380 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22381 GLRO(dl_hwcap2).
22382 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22383 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22384 explicitly the unknown a_type display mechanism is used.
22385 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22386 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22387 struct member.
22388 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22389 to macro prototype for AT_HWCAP2 support.
22390 * sysdeps/i386/dl-procinfo.h: Likewise.
22391 * sysdeps/s390/dl-procinfo.h: Likewise.
22392 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22393 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22394 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22395 return -1 for unknown a_type display fallback.
22396 * sysdeps/sparc/dl-procinfo.h: Likewise.
22397 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22398 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22399
8fbec010
JM
224002013-06-28 Joseph Myers <joseph@codesourcery.com>
22401
22402 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22403 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22404
0432680e
PY
224052013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22406
22407 [BZ #12492]
22408 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22409 mprotect making __stack_prot writable.
22410
ce61a2ad
NF
224112013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22412 Joseph Myers <joseph@codesourcery.com>
22413
22414 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22415 as being properly aligned.
22416
f91f1c0f
MR
224172013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22418
3d0f5d0c
MR
22419 * dlfcn/modstatic5.c: New file.
22420 * dlfcn/tststatic5.c: New file.
22421 * dlfcn/Makefile (tests): Add tststatic5.
22422 (tests-static): Likewise.
22423 (modules-names): Add modstatic5.
22424 (tststatic5-ENV): New variable.
22425 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22426
f91f1c0f
MR
22427 [BZ #15022]
22428 * elf/dl-support.c (_dl_main_map): New variable.
22429 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22430 (_dl_nns, _dl_load_adds): Set to 1.
22431 (_dl_initial_searchlist): Refer to _dl_main_map.
22432 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22433 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22434 call to _dl_get_origin.
22435 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22436 around call_map.
22437 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22438 * dlfcn/modstatic3.c: New file.
22439 * dlfcn/tststatic3.c: New file.
22440 * dlfcn/tststatic4.c: New file.
22441 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22442 (tests-static): Likewise.
22443 (modules-names): Add modstatic3.
22444 (tststatic3-ENV, tststatic4-ENV): New variables.
22445 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22446 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22447
cbe7d24b
JM
224482013-06-26 Joseph Myers <joseph@codesourcery.com>
22449
22450 * configure.in (CC): Require GCC version 4.4 or later.
22451 * configure: Regenerated.
22452 * manual/install.texi (Tools for Compilation): Update GCC version
22453 requirement.
22454 * INSTALL: Regenerated.
22455
11b8a0e1
LD
224562013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22457
22458 [BZ #15674]
bb5bb87c
L
22459 * string/test-memcmp.c (check2): New.
22460 (main): Call check2.
22461
11b8a0e1
LD
22462 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22463
b0037103
MR
224642013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22465
22466 [BZ #15022]
22467 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22468 over to...
22469 (dl_open_worker) [!SHARED]: ... here.
22470
c18c701d
RA
224712013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22472
22473 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22474
1d17fa5f
RH
224752013-06-25 Richard Henderson <rth@redhat.com>
22476
22477 * locale/programs/locarchive.c: Include <libc-internal.h>
22478
8fcb833a
JM
224792013-06-25 Joseph Myers <joseph@codesourcery.com>
22480
22481 * manual/texinfo.tex: Update to version 2013-06-21.17, with
22482 trailing whitespace removed.
22483
17db6e8d
MF
224842013-06-24 Mike Frysinger <vapier@gentoo.org>
22485
22486 [BZ #10283]
17db6e8d
MF
22487 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22488 * locale/programs/locarchive.c: Include libc-mmap.h.
22489 (prepare_address_space): Take two new outputs (the mmap base and len).
22490 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
22491 values.
22492 (create_archive): Declare new mmap base and len values for
22493 prepare_address_space, and store the result in ah.
22494 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22495 (enlarge_archive): If ah->mmap_base is not NULL, use that and
22496 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22497 Declare new mmap base and len values for
22498 prepare_address_space, and store the result in new_ah.
22499 (open_archive): Declare new mmap base and len values for
22500 prepare_address_space, and store the result in ah.
22501 (close_archive): If ah->mmap_base is not NULL, use that and
22502 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22503 * sysdeps/generic/libc-mmap.h: New file.
22504
d605071e
MF
225052013-06-24 Mike Frysinger <vapier@gentoo.org>
22506
22507 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22508 (ALIGN_UP): Likewise.
22509 (PTR_ALIGN_DOWN): Likewise.
22510 (PTR_ALIGN_UP): Likewise.
22511
2f063a6e
RA
225122013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22513
22514 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22515 entry mapped to PPC_PLATFORM_POWER8.
22516 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22517 POWER8.
22518 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22519 (_dl_string_platform): Add case for exporting platform position for
22520 POWER8.
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22522 search path to sysdeps/powerpc/powerpc32/power8 directory.
22523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22524 search path to sysdeps/powerpc/powerpc64/power8 directory.
22525 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22526 power7 directories.
22527 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22528 power7 directories.
22529
a31ee4b3
SP
225302013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22531
a74ca98f
SP
22532 * INSTALL: Regenerate.
22533
a31ee4b3
SP
22534 * nscd/connections.c (nscd_init): Fix comment.
22535
695c378f
JM
225362013-06-22 Joseph Myers <joseph@codesourcery.com>
22537
d8412221
JM
22538 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22539
695c378f
JM
22540 [BZ #15667]
22541 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22542 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22543
d1d54715
MR
225442013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22545
22546 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22547 DL_DST_REQ_STATIC.
22548 (DL_DST_REQ_STATIC): Remove macro.
22549
8fdda7af
JM
225502013-06-21 Joseph Myers <joseph@codesourcery.com>
22551
22552 [BZ #7006]
22553 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22554 with a shift of 0 bits.
22555
f3bc5e5a
MR
225562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
22557
22558 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22559 $(tststatic-ENV).
22560
be09e8c9
KK
225612013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22562
22563 [BZ #15655]
22564 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22565
85c2e611
AZ
225662013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22567
22568 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22569 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22570 accepts -fno-tree-loop-distribute-patterns.
22571 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22572 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22573 recursive call.
22574 * string/memset.c (memset): Likewise.
22575 * string/test-memmove.c (simple_memmove): Disable loop transformation
22576 to library calls.
22577 * string/test-memset.c (simple_memset): Likewise.
22578 * benchtests/bench-memmove.c (simple_memmove): Likewise.
22579 * benchtests/bench-memset.c (simple_memset): Likewise.
22580 * configure: Regenerated.
22581
c91e0825
JM
225822013-06-20 Joseph Myers <joseph@codesourcery.com>
22583
b8c792af
JM
22584 * math/test-misc.c (main): Ignore fesetround failure when failures
22585 of subsequent rounding tests would be ignored.
22586
c91e0825
JM
22587 [BZ #15654]
22588 * math/fedisblxcpt.c (fedisableexcept): Return 0.
22589 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22590 * math/fegetenv.c (__fegetenv): Return 0.
22591 * math/fegetexcept.c (fegetexcept): Return 0.
22592 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22593 FE_TONEAREST.
22594 * math/feholdexcpt.c (feholdexcept): Return 0.
22595 * math/fesetenv.c (__fesetenv): Return 0.
22596 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22597 argument FE_TONEAREST.
22598 * math/feupdateenv.c (__feupdateenv): Return 0.
22599 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22600
bfcacbde
RM
226012013-06-18 Roland McGrath <roland@hack.frob.com>
22602
22603 * elf/rtld-Rules (rtld-compile-command.S): New variable.
22604 (rtld-compile-command.s, rtld-compile-command.c): New variables.
22605 ($(objpfx)rtld-%.os rules): Use them.
22606
e55a9b25
AZ
226072013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22608
22609 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22610 fields.
22611
346d65b3
RM
226122013-06-17 Roland McGrath <roland@hack.frob.com>
22613
12086fb4
RM
22614 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22615 length of target pattern, then descending length of dependency pattern.
22616 * configure.in (AWK): Require gawk 3.1.2 or newer.
22617 * manual/install.texi (Tools for Compilation): Say that we do.
22618 * configure: Regenerated.
22619
346d65b3
RM
22620 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22621 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22622 * scripts/sysd-rules.awk: ... this new script.
22623 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22624 than a glob-style pattern.
22625
1a846317
JM
226262013-06-17 Joseph Myers <joseph@codesourcery.com>
22627
22628 * math/test-misc.c (main): Do not treat incorrectly rounded
22629 conversions as failure unless ROUNDING_TESTS passes.
22630
8fc75e6f
JM
226312013-06-15 Joseph Myers <joseph@codesourcery.com>
22632
3711a167
JM
22633 [BZ #15631]
22634 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22635 restore exception state around main square root computation, then
22636 check for inexactness explicitly.
22637
8fc75e6f
JM
22638 * math/libm-test.inc (fma_test_data): Add another test.
22639
61dd6208
SP
226402013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22641
adf23d2c
SP
22642 * manual/threads.texi (Non-POSIX Extensions): New document
22643 node. Document pthread_getattr_default_np and
22644 pthread_setattr_default_np.
22645
61dd6208
SP
22646 * Versions.def (libpthread): Add GLIBC_2.18.
22647 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22649 Likewise.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22651 Likewise.
22652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22653 Likewise.
22654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22655 Likewise.
22656 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22657 Likewise.
22658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22659 Likewise.
22660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22661 Likewise.
22662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22663 Likewise.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22665 Likewise.
22666
d086fc7b
LD
226672013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22668
22669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22670 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22671
747ef469
SP
226722013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22673 H.J. Lu <hjl.tools@gmail.com>
22674
22675 [BZ #15627]
22676 * sysdeps/x86_64/rtld-memset.c: Remove file.
22677 * sysdeps/x86_64/rtld-memset.S: New file.
22678
1b2feed2
JM
226792013-06-14 Joseph Myers <joseph@codesourcery.com>
22680
22681 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22682 (test_in_one_mode): Take arguments for whether the rounding mode
22683 is supported for each floating-point type.
22684 (do_test): Pass new arguments to test_in_one_mode using
22685 ROUNDING_TESTS.
22686
a58ad3f8
RM
226872013-06-13 Roland McGrath <roland@hack.frob.com>
22688
22689 * posix/tst-waitid.c (do_test): Distinguish different instances of
22690 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
22691 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22692 before entering the kernel for waitpid.
22693
c204ab28
SP
226942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22695
22696 * NEWS: Fix note on clock function precision. Text by Roland
22697 McGrath.
22698
f4a29fba
RM
226992013-06-13 Roland McGrath <roland@hack.frob.com>
22700
22701 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22702 it into place only when and if the sanity check passes.
22703
1f24b9ad
JM
227042013-06-13 Joseph Myers <joseph@codesourcery.com>
22705
22706 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22707 output for whether conversion result is exact. Take argument
22708 indicating whether type is IBM long double.
22709 (round_for_all): Change need_exact field to ibm_ld.
22710 * stdlib/tst-strtod-round.c (struct exactness): New type.
22711 (struct test): Change bool ld_ok field to struct exactness exact.
22712 (TEST): Update all definitions for change to field.
22713 (tests): Regenerate array contents.
22714 (test_in_one_mode): Take pointer to new field instead of old ld_ok
22715 field value. Check for IBM long double here.
22716 (do_test): Update calls to test_in_one_mode.
22717
58206c68
SP
227182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22719
22720 [BZ #12515]
22721 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22722 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22723
2d6f4c5b 227242013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
22725
22726 [BZ #15605]
22727 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22728 generated by the compiler on loop optimizations.
22729 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22730 general definitions.
22731
94f2c076
JM
227322013-06-12 Joseph Myers <joseph@codesourcery.com>
22733
22734 * math/bug-nextafter.c: Include <math-tests.h>.
22735 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22736 the relevant type.
22737 * math/bug-nexttoward.c: Include <math-tests.h>.
22738 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22739 the relevant type.
22740 * math/test-misc.c: Include <math-tests.h>.
22741 (main): Only test for exceptions if EXCEPTION_TESTS is true for
22742 the relevant type.
22743
e0e50a0a
AJ
227442013-06-12 Andreas Jaeger <aj@suse.de>
22745
22746 * po/ia.po: Update Interlingua translation from translation
22747 project.
22748
25061094
SP
227492013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22750
22751 * include/fenv.h: Include stdbool.h.
22752 (struct rm_ctx): New structure.
22753 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22754 Define macro.
22755 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22756 (SET_RESTORE_ROUNDF): Likewise.
22757 (SET_RESTORE_ROUNDL): Likewise.
22758 (SET_RESTORE_ROUND_NOEX): Likewise.
22759 (SET_RESTORE_ROUND_NOEXF): Likewise.
22760 (SET_RESTORE_ROUND_NOEXL): Likewise.
22761 (SET_RESTORE_ROUND_53BIT): Likewise.
22762 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22763 (libc_feresetround_noexf_ctx): Likewise.
22764 (libc_feresetround_noexl_ctx): Likewise.
22765 (libc_feholdsetround_53bit_ctx): Likewise.
22766 (libc_feresetround_53bit_ctx): Likewise.
22767 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22768 (libc_feholdexcept_setround_sse_ctx): New function.
22769 (libc_fesetenv_sse_ctx): Likewise.
22770 (libc_feupdateenv_sse_ctx): Likewise.
22771 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22772 (libc_feholdexcept_setround_387_ctx): Likewise.
22773 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22774 (libc_feholdsetround_387_prec_ctx): Likewise.
22775 (libc_feholdsetround_387_ctx): Likewise.
22776 (libc_feholdsetround_387_53bit_ctx): Likewise.
22777 (libc_feholdsetround_sse_ctx): Likewise.
22778 (libc_feresetround_sse_ctx): Likewise.
22779 (libc_feresetround_387_ctx): Likewise.
22780 (libc_feupdateenv_387_ctx): Likewise.
22781 (libc_feholdexcept_setroundf_ctx): Define macro.
22782 (libc_fesetenvf_ctx): Likewise.
22783 (libc_feupdateenvf_ctx): Likewise.
22784 (libc_feholdsetroundf_ctx): Likewise.
22785 (libc_feresetroundf_ctx): Likewise.
22786 (libc_feholdexcept_setround_ctx): Likewise.
22787 (libc_fesetenv_ctx): Likewise.
22788 (libc_feupdateenv_ctx): Likewise.
22789 (libc_feholdsetround_ctx): Likewise.
22790 (libc_feresetround_ctx): Likewise.
22791 (libc_feholdexcept_setroundl_ctx): Likewise.
22792 (libc_feupdateenvl_ctx): Likewise.
22793 (libc_feholdsetroundl_ctx): Likewise.
22794 (libc_feresetroundl_ctx): Likewise.
22795 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22796 (libc_feresetround_53bit_ctx): Likewise.
22797
59b30555
SP
227982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22799
22800 * locale/iso-639.def: Convert to UTF-8.
22801
f1d73d30
JM
228022013-06-11 Joseph Myers <joseph@codesourcery.com>
22803
22804 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22805 (EXCEPTION_TESTS_double): Likewise.
22806 (EXCEPTION_TESTS_long_double): Likewise.
22807 (EXCEPTION_TESTS): Likewise.
22808 * math/libm-test.inc (test_exceptions): Only test exceptions if
22809 EXCEPTION_TESTS (FLOAT).
22810
94aca5e7
SP
228112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22812
22813 * benchtests/Makefile (string-bench): Add strcpy_chk and
22814 stpcpy_chk.
22815 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22816 * benchtests/bench-stpcpy_chk.c: New file.
22817 * benchtests/bench-strcpy_chk-ifunc.c: New file.
22818 * benchtests/bench-strcpy_chk.c: New file.
22819 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22820 code.
22821 (do_test): Likewise.
22822
fac0c5f2
RA
228232013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22824
22825 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22826 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22827 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22828 with tabs where appropriate.
22829 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22830 dl-procinfo.h.
22831 [PPC_PLATFORM_PPC440]: Likewise.
22832 [PPC_PLATFORM_PPC464]: Likewise.
22833 [PPC_PLATFORM_PPC476]: Likewise.
22834 (_dl_string_platform): Add support for detecting ppc405, ppc440,
22835 ppc464, and ppc476 platform strings merging from ports/
22836 dl-procinfo.h.
22837
f22bc486
AS
228382013-06-11 Andreas Schwab <schwab@suse.de>
22839
22840 [BZ #14991]
22841 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22842 (from_ucs4_idx): Regenerate.
22843 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22844 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22845 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22846 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22847 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22848 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22849 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22850 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22851 from FROM_LOOP and TO_LOOP specific macros.
22852 (BODY): Handle combining characters.
22853 * iconvdata/BIG5HKSCS.irreversible: Update.
22854 * iconvdata/BIG5HKSCS.precomposed: New file.
22855 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22856 characters.
22857 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22858
c1f75dc3
SP
228592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22860
4eacded2
SP
22861 * include/sys/time.h: Fix indentation and add copyright header.
22862
fec799f8
SP
22863 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22864 (do_test): Likewise.
22865 * string/test-memchr.c (do_one_test): Likewise.
22866 (do_test): Likewise.
22867 * string/test-memcmp.c (do_one_test): Likewise.
22868 (do_test): Likewise.
22869 * string/test-memcpy.c (do_one_test): Likewise.
22870 (do_test): Likewise.
22871 * string/test-memmem.c (do_one_test): Likewise.
22872 (do_test): Likewise.
22873 (do_random_tests): Likewise.
22874 * string/test-memmove.c (do_one_test): Likewise.
22875 (do_test): Likewise.
22876 * string/test-memset.c (do_one_test): Likewise.
22877 (do_test): Likewise.
22878 * string/test-rawmemchr.c (do_one_test): Likewise.
22879 (do_test): Likewise.
22880 * string/test-strcasecmp.c (do_one_test): Likewise.
22881 (do_test): Likewise.
22882 * string/test-strcasestr.c (do_one_test): Likewise.
22883 (do_test): Likewise.
22884 * string/test-strcat.c (do_one_test): Likewise.
22885 (do_test): Likewise.
22886 * string/test-strchr.c (do_one_test): Likewise.
22887 (do_test): Likewise.
22888 * string/test-strcmp.c (do_one_test): Likewise.
22889 (do_test): Likewise.
22890 * string/test-strcpy.c (do_one_test): Likewise.
22891 (do_test): Likewise.
22892 * string/test-string.h: Likewise.
22893 (test_init): Likewise.
22894 * string/test-strlen.c (do_one_test): Likewise.
22895 (do_test): Likewise.
22896 * string/test-strncasecmp.c (do_one_test): Likewise.
22897 (do_test): Likewise.
22898 * string/test-strncat.c (do_one_test): Likewise.
22899 (do_test): Likewise.
22900 * string/test-strncmp.c (do_one_test): Likewise.
22901 (do_test_limit): Likewise.
22902 (do_test): Likewise.
22903 * string/test-strncpy.c (do_one_test): Likewise.
22904 (do_test): Likewise.
22905 * string/test-strnlen.c (do_one_test): Likewise.
22906 (do_test): Likewise.
22907 * string/test-strpbrk.c (do_one_test): Likewise.
22908 (do_test): Likewise.
22909 * string/test-strrchr.c (do_one_test): Likewise.
22910 (do_test): Likewise.
22911 * string/test-strspn.c (do_one_test): Likewise.
22912 (do_test): Likewise.
22913 * string/test-strstr.c (do_one_test): Likewise.
22914 (do_test): Likewise.
22915
97020474
SP
22916 * benchtests/Makefile (string-bench): Add string benchmarks.
22917 * benchtests/bench-bcopy-ifunc.c: New file.
22918 * benchtests/bench-bcopy.c: New file.
22919 * benchtests/bench-bzero-ifunc.c: New file.
22920 * benchtests/bench-bzero.c: New file.
22921 * benchtests/bench-memccpy-ifunc.c: New file.
22922 * benchtests/bench-memccpy.c: New file.
22923 * benchtests/bench-memchr-ifunc.c: New file.
22924 * benchtests/bench-memchr.c: New file.
22925 * benchtests/bench-memcmp-ifunc.c: New file.
22926 * benchtests/bench-memcmp.c: New file.
22927 * benchtests/bench-memmem-ifunc.c: New file.
22928 * benchtests/bench-memmem.c: New file.
22929 * benchtests/bench-memmove-ifunc.c: New file.
22930 * benchtests/bench-memmove.c: New file.
22931 * benchtests/bench-mempcpy-ifunc.c: New file.
22932 * benchtests/bench-mempcpy.c: New file.
22933 * benchtests/bench-memset-ifunc.c: New file.
22934 * benchtests/bench-memset.c: New file.
22935 * benchtests/bench-rawmemchr-ifunc.c: New file.
22936 * benchtests/bench-rawmemchr.c: New file.
22937 * benchtests/bench-stpcpy-ifunc.c: New file.
22938 * benchtests/bench-stpcpy.c: New file.
22939 * benchtests/bench-stpncpy-ifunc.c: New file.
22940 * benchtests/bench-stpncpy.c: New file.
22941 * benchtests/bench-strcasecmp-ifunc.c: New file.
22942 * benchtests/bench-strcasecmp.c: New file.
22943 * benchtests/bench-strcasestr-ifunc.c: New file.
22944 * benchtests/bench-strcasestr.c: New file.
22945 * benchtests/bench-strcat-ifunc.c: New file.
22946 * benchtests/bench-strcat.c: New file.
22947 * benchtests/bench-strchr-ifunc.c: New file.
22948 * benchtests/bench-strchr.c: New file.
22949 * benchtests/bench-strchrnul-ifunc.c: New file.
22950 * benchtests/bench-strchrnul.c: New file.
22951 * benchtests/bench-strcmp-ifunc.c: New file.
22952 * benchtests/bench-strcmp.c: New file.
22953 * benchtests/bench-strcpy-ifunc.c: New file.
22954 * benchtests/bench-strcpy.c: New file.
22955 * benchtests/bench-strcspn-ifunc.c: New file.
22956 * benchtests/bench-strcspn.c: New file.
22957 * benchtests/bench-strlen-ifunc.c: New file.
22958 * benchtests/bench-strlen.c: New file.
22959 * benchtests/bench-strncasecmp-ifunc.c: New file.
22960 * benchtests/bench-strncasecmp.c: New file.
22961 * benchtests/bench-strncat-ifunc.c: New file.
22962 * benchtests/bench-strncat.c: New file.
22963 * benchtests/bench-strncmp-ifunc.c: New file.
22964 * benchtests/bench-strncmp.c: New file.
22965 * benchtests/bench-strncpy-ifunc.c: New file.
22966 * benchtests/bench-strncpy.c: New file.
22967 * benchtests/bench-strnlen-ifunc.c: New file.
22968 * benchtests/bench-strnlen.c: New file.
22969 * benchtests/bench-strpbrk-ifunc.c: New file.
22970 * benchtests/bench-strpbrk.c: New file.
22971 * benchtests/bench-strrchr-ifunc.c: New file.
22972 * benchtests/bench-strrchr.c: New file.
22973 * benchtests/bench-strspn-ifunc.c: New file.
22974 * benchtests/bench-strspn.c: New file.
22975 * benchtests/bench-strstr-ifunc.c: New file.
22976 * benchtests/bench-strstr.c: New file.
22977
c1f75dc3
SP
22978 * benchtests/Makefile: Disable parallel execution of targets.
22979 (string-bench): Add memcpy.
22980 (benchset): New variable to store a list of benchmark sets.
22981 (bench-func): Renamed from bench.
22982 (bench-set): New target.
22983 (bench): Depend on bench-func and bench-set.
22984 * benchtests/README: Add section on benchmark sets.
22985 * benchtests/bench-memcpy-ifunc.c: New file.
22986 * benchtests/bench-memcpy.c: New file.
22987 * benchtests/bench-string.h: New file.
22988
50fd745b
AS
229892013-06-11 Andreas Schwab <schwab@suse.de>
22990
22991 [BZ #15577]
22992 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22993 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22994 values in the triple.
22995 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22996 terminator in the group key.
22997
3ee7e9fe
AJ
229982013-06-11 Andreas Jaeger <aj@suse.de>
22999
23000 * po/zh_TW.po: Update Chinese (traditional) translation from
23001 translation project.
23002
89fb6835
SP
230032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23004
23005 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23006 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23007 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23008 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23009 (clock_getcpuclockid): Likewise.
23010 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23011 Add weak_alias and libc_hidden_def.
23012 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23013 * rt/clock_gettime.c (clock_gettime): Rename to
23014 __clock_gettime. Add weak_alias and libc_hidden_def.
23015 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23016 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23017 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23018 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23019 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23020 Likewise.
23021 * rt/clock_settime.c (clock_settime): Rename to
23022 __clock_settime. Add weak_alias and libc_hidden_def.
23023 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23024
0efa6f8b
JM
230252013-06-10 Joseph Myers <joseph@codesourcery.com>
23026
b8c61b4b
JM
23027 * mach/err_boot.sub: Remove trailing whitespace.
23028 * mach/err_ipc.sub: Likewise.
23029 * mach/err_mach.sub: Likewise.
23030
0efa6f8b
JM
23031 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23032 (ROUNDING_TESTS_double): Likewise.
23033 (ROUNDING_TESTS_long_double): Likewise.
23034 (ROUNDING_TESTS): Likewise.
23035 * math/libm-test.inc: Include <math-tests.h>.
23036 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23037 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23038 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23039 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23040
50b818bf
SP
230412013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23042
23043 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23044 of assigning.
23045
60d2f8f3
JM
230462013-06-08 Joseph Myers <joseph@codesourcery.com>
23047
4902d2c3
JM
23048 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23049 otherwise empty TRANS lines.
23050 * sysdeps/gnu/errlist.c: Regenerated.
23051
60d2f8f3
JM
23052 * catgets/gencat.c (error_print): Use (void) in function
23053 definition.
23054 * crypt/crypt_util.c (__init_des): Likewise.
23055 * crypt/speeds.c (Stop): Likewise.
23056 (main): Likewise.
23057 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23058 * inet/ruserpass.c (token): Likewise.
23059 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23060 * intl/localealias.c (extend_alias_table): Likewise.
23061 * intl/plural-exp.c (init_germanic_plural): Likewise.
23062 * libio/fcloseall.c (__fcloseall): Likewise.
23063 * libio/genops.c (_IO_flush_all): Likewise.
23064 (_IO_flush_all_linebuffered): Likewise.
23065 (_IO_cleanup): Likewise.
23066 (_IO_iter_begin): Likewise.
23067 (_IO_iter_end): Likewise.
23068 (_IO_list_lock): Likewise.
23069 (_IO_list_unlock): Likewise.
23070 (_IO_list_resetlock): Likewise.
23071 * libio/getchar.c (getchar): Likewise.
23072 * libio/getchar_u.c (getchar_unlocked): Likewise.
23073 * libio/getwchar.c (getwchar): Likewise.
23074 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23075 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23076 * login/getpt.c (__getpt): Likewise.
23077 * login/tst-utmp.c (main): Likewise.
23078 * malloc/hooks.c (__malloc_check_init): Likewise.
23079 * malloc/malloc.c (__malloc_stats): Likewise.
23080 * malloc/mtrace.c (tr_break): Likewise.
23081 (mtrace): Likewise.
23082 (muntrace): Likewise.
23083 * misc/fstab.c (endfsent): Likewise.
23084 * misc/getclktck.c (__getclktck): Likewise.
23085 * misc/getdtsz.c (__getdtablesize): Likewise.
23086 * misc/gethostid.c (gethostid): Likewise.
23087 * misc/getpagesize.c (__getpagesize): Likewise.
23088 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23089 (__get_nprocs): Likewise.
23090 (__get_phys_pages): Likewise.
23091 (__get_avphys_pages): Likewise.
23092 * misc/getttyent.c (getttyent): Likewise.
23093 (setttyent): Likewise.
23094 (endttyent): Likewise.
23095 * misc/getusershell.c (getusershell): Likewise.
23096 (endusershell): Likewise.
23097 (setusershell): Likewise.
23098 (initshells): Likewise.
23099 * misc/hsearch.c (__hdestroy): Likewise.
23100 * misc/sync.c (sync): Likewise.
23101 * misc/syslog.c (closelog_internal): Likewise.
23102 (closelog): Likewise.
23103 * misc/ttyslot.c (ttyslot): Likewise.
23104 * misc/vhangup.c (vhangup): Likewise.
23105 * posix/fork.c (__fork): Likewise.
23106 * posix/getegid.c (__getegid): Likewise.
23107 * posix/geteuid.c (__geteuid): Likewise.
23108 * posix/getgid.c (__getgid): Likewise.
23109 * posix/getpid.c (__getpid): Likewise.
23110 * posix/getppid.c (__getppid): Likewise.
23111 * posix/getuid.c (__getuid): Likewise.
23112 * posix/pause.c (pause): Likewise.
23113 * posix/setpgrp.c (setpgrp): Likewise.
23114 * posix/setsid.c (__setsid): Likewise.
23115 * posix/test-vfork.c (noop): Likewise.
23116 * resolv/gethnamaddr.c (_endhtent): Likewise.
23117 (_gethtent): Likewise.
23118 (ht_endhostent): Likewise.
23119 (gethostent): Likewise.
23120 (dns_service): Likewise.
23121 * stdlib/drand48.c (drand48): Likewise.
23122 * stdlib/lrand48.c (lrand48): Likewise.
23123 * stdlib/mrand48.c (mrand48): Likewise.
23124 * stdlib/rand.c (rand): Likewise.
23125 * stdlib/random.c (__random): Likewise.
23126 * stdlib/setenv.c (clearenv): Likewise.
23127 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23128 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23129 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23130 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23131 (__get_nprocs): Likewise.
23132 (__get_phys_pages): Likewise.
23133 (__get_avphys_pages): Likewise.
23134 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23135 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23136 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23137 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23138 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23139 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23140 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23141 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23142 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23143 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23144 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23145 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23146 * sysdeps/posix/clock.c (clock): Likewise.
23147 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23148 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23149 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23150 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23151 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23153 (__get_nprocs_conf): Likewise.
23154 (__get_phys_pages): Likewise.
23155 (__get_avphys_pages): Likewise.
23156 * time/clock.c (clock): Likewise.
23157 * time/tzset.c (__tzname_max): Likewise.
23158
2e09a79a
JM
231592013-06-07 Joseph Myers <joseph@codesourcery.com>
23160
23161 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23162 (__bswap_32): Do not use "register".
23163 * crypt/crypt.c (_ufc_doit_r): Likewise.
23164 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23165 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23166 * gmon/gmon.c (__monstartup): Likewise.
23167 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23168 * hurd/hurdmalloc.c (more_memory): Likewise.
23169 (malloc): Likewise.
23170 (free): Likewise.
23171 (realloc): Likewise.
23172 (malloc_fork_prepare): Likewise.
23173 (malloc_fork_parent): Likewise.
23174 (malloc_fork_child): Likewise.
23175 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23176 (_svcauth_des): Likewise.
23177 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23178 * inet/inet_net.c (inet_network): Likewise.
23179 * inet/inet_netof.c (inet_netof): Likewise.
23180 * inet/rcmd.c (__validuser2_sa): Likewise.
23181 * io/fts.c (fts_open): Likewise.
23182 (fts_load): Likewise.
23183 (fts_close): Likewise.
23184 (fts_read): Likewise.
23185 (fts_children): Likewise.
23186 (fts_build): Likewise.
23187 (fts_stat): Likewise.
23188 (fts_sort): Likewise.
23189 (fts_alloc): Likewise.
23190 (fts_lfree): Likewise.
23191 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23192 (_IO_file_xsgetn): Likewise.
23193 (_IO_file_xsgetn_mmap): Likewise.
23194 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23195 (_IO_cookie_write): Likewise.
23196 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23197 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23198 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23199 * malloc/obstack.c (_obstack_begin): Likewise.
23200 (_obstack_begin_1): Likewise.
23201 (_obstack_newchunk): Likewise.
23202 (_obstack_allocated_p): Likewise.
23203 (obstack_free): Likewise.
23204 (_obstack_memory_used): Likewise.
23205 * misc/getttyent.c (getttynam): Likewise.
23206 (getttyent): Likewise.
23207 (skip): Likewise.
23208 (value): Likewise.
23209 * misc/getusershell.c (initshells): Likewise.
23210 * misc/syslog.c (__vsyslog_chk): Likewise.
23211 * misc/ttyslot.c (ttyslot): Likewise.
23212 * nis/nis_hash.c (__nis_hash): Likewise.
23213 * posix/fnmatch_loop.c (FCT): Likewise.
23214 * posix/getconf.c (print_all): Likewise.
23215 (main): Likewise.
23216 * posix/getopt.c (exchange): Likewise.
23217 * posix/glob.c (globfree): Likewise.
23218 (prefix_array): Likewise.
23219 (__glob_pattern_type): Likewise.
23220 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23221 (NS_GET32): Likewise.
23222 (NS_PUT16): Likewise.
23223 (NS_PUT32): Likewise.
23224 * resolv/gethnamaddr.c (getanswer): Likewise.
23225 (gethostbyname2): Likewise.
23226 (gethostbyaddr): Likewise.
23227 (_gethtent): Likewise.
23228 (_gethtbyname2): Likewise.
23229 (_gethtbyaddr): Likewise.
23230 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23231 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23232 * resolv/res_init.c (__res_vinit): Likewise.
23233 (net_mask): Likewise.
23234 * resolv/res_mkquery.c (outchar): Likewise.
23235 (PRINT): Likewise.
23236 * stdio-common/printf_fp.c (outchar): Likewise.
23237 (PRINT): Likewise.
23238 * stdio-common/printf_fphex.c (outchar): Likewise.
23239 (PRINT): Likewise.
23240 * stdio-common/printf_size.c (outchar): Likewise.
23241 (PRINT): Likewise.
23242 * stdio-common/test_rdwr.c (main): Likewise.
23243 * stdio-common/tfformat.c (matches): Likewise.
23244 * stdio-common/vfprintf.c (outchar): Likewise.
23245 (printf_unknown): Likewise.
23246 (buffered_vfprintf): Likewise.
23247 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23248 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23249 (ReadFile): Likewise.
23250 * stdlib/qsort.c (SWAP): Likewise.
23251 (_quicksort): Likewise.
23252 * stdlib/setenv.c (__add_to_environ): Likewise.
23253 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23254 * stdlib/strtol_l.c (__strtol_l): Likewise.
23255 * stdlib/tst-strtod.c (main): Likewise.
23256 * stdlib/tst-strtol.c (main): Likewise.
23257 * stdlib/tst-strtoll.c (main): Likewise.
23258 * string/bits/string2.h (__strcmp_cc): Likewise.
23259 (__strcmp_cg): Likewise.
23260 (__strcspn_c1): Likewise.
23261 (__strcspn_c2): Likewise.
23262 (__strcspn_c3): Likewise.
23263 (__strspn_c1): Likewise.
23264 (__strspn_c2): Likewise.
23265 (__strspn_c3): Likewise.
23266 (__strsep_1c): Likewise.
23267 (__strsep_2c): Likewise.
23268 (__strsep_3c): Likewise.
23269 * string/memccpy.c (__memccpy): Likewise.
23270 * string/stpcpy.c (__stpcpy): Likewise.
23271 * string/strcmp.c (strcmp): Likewise.
23272 * string/strrchr.c (strrchr): Likewise.
23273 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23274 Likewise.
23275 * sysdeps/mach/hurd/getcwd.c
23276 (_hurd_canonicalize_directory_name_internal): Likewise.
23277 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23278 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23279 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23280 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23281 Likewise, in both definitions.
23282 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23283 definitions.
23284 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23285 64] (__bswap_64): Likewise.
23286 * time/test_time.c (main): Likewise.
23287 * time/tzfile.c (__tzfile_read): Likewise.
23288 (__tzfile_compute): Likewise.
23289 * time/tzset.c (__tzset_parse_tz): Likewise.
23290 (tzset_internal): Likewise.
23291 (compute_change): Likewise.
23292 * wcsmbs/wcscat.c (__wcscat): Likewise.
23293 * wcsmbs/wcschr.c (wcschr): Likewise.
23294 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23295 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23296 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23297 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23298 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23299 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23300 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23301 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23302 * wcsmbs/wmemset.c (wmemset): Likewise.
23303
9e54314b
JM
233042013-06-06 Joseph Myers <joseph@codesourcery.com>
23305
23306 * scripts/config.guess: Update to version 2013-05-16.
23307 * scripts/config.sub: Update to version 2013-04-24.
23308 * scripts/install-sh: Update to version 2011-11-20.07.
23309 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23310 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23311
350635a5
OB
233122013-06-06 Ondřej Bílka <neleai@seznam.cz>
23313
23314 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23315 * elf/sln.c: Likewise.
23316 * hurd/hurd/ioctl.h: Likewise.
23317 * hurd/hurdmalloc.c: Likewise.
23318 * hurd/xattr.c: Likewise.
23319 * include/shlib-compat.h: Likewise.
23320 * inet/ruserpass.c: Likewise.
23321 * libio/iofgets_u.c: Likewise.
23322 * libio/iofgetws_u.c: Likewise.
23323 * locale/programs/ld-identification.c: Likewise.
23324 * locale/programs/ld-time.c: Likewise.
23325 * mach/msg-destroy.c: Likewise.
23326 * nss/nss_files/files-netgrp.c: Likewise.
23327 * resolv/res_data.c: Likewise.
23328 * soft-fp/op-1.h: Likewise.
23329 * soft-fp/op-2.h: Likewise.
23330 * soft-fp/op-4.h: Likewise.
23331 * soft-fp/op-common.h: Likewise.
23332 * stdio-common/printf_fphex.c: Likewise.
23333 * stdlib/strtod_l.c: Likewise.
23334 * sunrpc/rpc/clnt.h: Likewise.
23335 * sysdeps/generic/framestate.c: Likewise.
23336 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23337 * sysdeps/i386/bsd-setjmp.S: Likewise.
23338 * sysdeps/i386/__longjmp.S: Likewise.
23339 * sysdeps/i386/setjmp.S: Likewise.
23340 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23341 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23342 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23357 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23358 * sysdeps/ieee754/support.c: Likewise.
23359 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23360 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23361 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23362 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23363 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23364 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23365 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23366 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23367 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23368 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23369 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23370 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23371 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23374 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23375 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23377
44a988af
OB
233782013-06-05 Ondřej Bílka <neleai@seznam.cz>
23379
25506f09 23380 * posix/transbug.c: Remove executable mode.
44a988af 23381
9c84384c
JM
233822013-06-05 Joseph Myers <joseph@codesourcery.com>
23383
23384 * crypt/speeds.c: Remove trailing whitespace.
23385 * dlfcn/default.c: Likewise.
23386 * elf/ifuncdep2.c: Likewise.
23387 * elf/ifuncmain1.c: Likewise.
23388 * elf/ifuncmain1vis.c: Likewise.
23389 * elf/testobj.h: Likewise.
23390 * elf/tst-stackguard1.c: Likewise.
23391 * gmon/sys/gmon.h: Likewise.
23392 * hurd/hurdmsg.c: Likewise.
23393 * hurd/new-fd.c: Likewise.
23394 * hurd/ports-get.c: Likewise.
23395 * iconvdata/ibm1008_420.c: Likewise.
23396 * inet/tst-getni1.c: Likewise.
23397 * inet/tst-getni2.c: Likewise.
23398 * libio/ioungetc.c: Likewise.
23399 * libio/wfiledoalloc.c: Likewise.
23400 * manual/libm-err-tab.pl: Likewise.
23401 * math/w_dremf.c: Likewise.
23402 * misc/ftruncate.c: Likewise.
23403 * posix/bug-glob2.c: Likewise.
23404 * posix/tst-pcre.c: Likewise.
23405 * posix/wait4.c: Likewise.
23406 * resolv/README: Likewise.
23407 * resolv/res_debug.h: Likewise.
23408 * resolv/tst-inet_ntop.c: Likewise.
23409 * setjmp/bug269-setjmp.c: Likewise.
23410 * soft-fp/extended.h: Likewise.
23411 * soft-fp/op-1.h: Likewise.
23412 * soft-fp/op-2.h: Likewise.
23413 * soft-fp/op-4.h: Likewise.
23414 * soft-fp/op-8.h: Likewise.
23415 * soft-fp/testit.c: Likewise.
23416 * stdio-common/bug16.c: Likewise.
23417 * stdlib/random.c: Likewise.
23418 * sunrpc/rpcsvc/rquota.x: Likewise.
23419 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23420 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23422 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23423 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23427 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23448 * sysdeps/ieee754/s_lib_version.c: Likewise.
23449 * sysdeps/mach/hurd/check_fds.c: Likewise.
23450 * sysdeps/mach/hurd/getsockname.c: Likewise.
23451 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23452 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23453 * sysdeps/powerpc/bits/link.h: Likewise.
23454 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23455 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23456 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23457 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23458 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23459 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23460 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23461 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23462 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23463 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23464 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23465 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23466 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23467 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23468 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23469 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23470 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23473 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23475 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23476 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23477 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23478 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23479 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23481 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23483 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23486 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23487 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23488 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23489 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23490 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23491 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23499 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23500 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23501 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23502 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23503 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23507 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23508 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23509 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23510 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23511 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23513 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23516 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23517 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23518 * sysdeps/powerpc/sysdep.h: Likewise.
23519 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23520 * sysdeps/s390/s390-64/sub_n.S: Likewise.
23521 * sysdeps/sh/dl-trampoline.S: Likewise.
23522 * sysdeps/sh/memset.S: Likewise.
23523 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23524 * sysdeps/sh/strlen.S: Likewise.
23525 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23526 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23527 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23528 * sysdeps/sparc/sparc32/rem.S: Likewise.
23529 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23530 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23531 * sysdeps/sparc/sparc32/strchr.S: Likewise.
23532 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23533 * sysdeps/sparc/sparc32/urem.S: Likewise.
23534 * sysdeps/sparc/sparc64/add_n.S: Likewise.
23535 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23536 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23537 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23538 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23539 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23540 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23541 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23542 * sysdeps/unix/bsd/times.c: Likewise.
23543 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23544 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23548 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23549 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23550 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23551 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23552 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23553 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23554 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23555 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23556 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23557 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23558 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23559 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23560 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23561 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23562 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23563 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23564 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23565 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23566 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23567 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23568 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23569 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23571 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23572 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23573 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23574 * sysdeps/x86_64/strcspn.S: Likewise.
23575
869378a5
RA
235762013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23577
23578 * locale/C-translit.h: Revert #include <stdint.h> because this is a
23579 generated file. Regenerate properly from gen-translit.pl.
23580 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
23581 locale/C-translit.h.
23582
840e2943
AS
235832013-06-05 Andreas Schwab <schwab@suse.de>
23584
23585 [BZ #15100]
23586 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23587 week as 6 instead of -1.
23588 * time/tst-strptime.c (day_tests): Add test case.
23589
4c60cb0c
SP
235902013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23591
23592 * sysdeps/generic/math_private.h
23593 (libc_feholdexcept_setround_53bit): Replace with
23594 libc_feholdsetround_53bit.
23595 (libc_feupdateenv_53bit): Replace with
23596 libc_feresetround_53bit.
23597 (SET_RESTORE_ROUND_53BIT): Adjust.
23598
d180203e
SP
235992013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23600
96df079a
SP
23601 * string/test-strchrnul.c: Add copyright header.
23602
d180203e
SP
23603 * posix/tst-getaddrinfo4.c: Increase test timeout.
23604
8b0ccb2d
CD
236052013-06-03 Carlos O'Donell <carlos@redhat.com>
23606
23607 [BZ #15536]
23608 * math/libm-test.inc (MAX_EXP): Remove
23609 (MIN_EXP): Define.
23610 (ulp): Use MIN_EXP - MANT_DIG.
23611 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23612
3b3c4d40
CD
236132013-05-31 Carlos O'Donell <carlos@redhat.com>
23614
23615 * po/be.po: Revert last change.
23616 * po/zh_CN.po: Likewise.
23617 * po/header.pot: Likewise.
23618
fab7ce3f
JM
236192013-05-31 Joseph Myers <joseph@codesourcery.com>
23620
23621 * Makefile ($(common-objpfx)linkobj/libc.so): Define
23622 link-libc-deps to empty as target-specific variable.
23623 * Makerules (link-libc-args): New variable.
23624 (libc-for-link): Likewise.
23625 (link-libc-deps): Likewise.
23626 (lib%.so): Depend on $(link-libc-deps). Link with
23627 $(link-libc-args).
23628 (build-module): Link with $(link-libc-args).
23629 (build-module-asneeded): Likewise.
23630 (build-module-helper-objlist): Filter out $(link-libc-deps) from
23631 list of objects.
23632 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23633 target-specific variable.
23634 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23635 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23636 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23637 libc.
23638 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23639 libc and ld.so.
23640 ($(objpfx)libpcprofile.so): Likewise.
23641 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23642 libc_nonshared.a.
23643 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23644 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23645 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23646 $(link-libc-deps).
23647 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23648 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23649 * login/Makefile ($(objpfx)libutil.so): Likewise.
23650 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23651 * math/Makefile ($(objpfx)libm.so): Likewise.
23652 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23653 $(objpfx)libnsl.so): Define libc-for-link as target-specific
23654 variable instead of depending directly on libc.
23655 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23656 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23657 $(link-libc-deps).
23658 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23659 libc.
23660 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23661 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23662 ($(objpfx)libanl.so): Likewise.
23663 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23664 ld.so.
23665 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23666 $(link-libc-deps).
23667 * sysdeps/i386/fpu/Makefile: Remove file.
23668 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23669 ($(objpfx)libm.so): Remove dependency on ld.so.
23670
eca5920c
PF
236712013-05-30 Patsy Franklin <pfrankli@redhat.com>
23672
23673 [BZ # 15553]
23674 * nis/yp_xdr.c (XDRMAXNAME): Define.
23675 (XDRMAXRECORD): Define.
23676 (xdr_domainname): Use XDRMAXNAME.
23677 (xdr_mapname): Likewise.
23678 (xdr_peername): Likewise.
23679 (xdr_keydat): Use XDRMAXRECORD.
23680 (xdr_valdat): Likewise.
23681
236822013-05-30 Jeff Law <law@redhat.com>
96945714
JL
23683
23684 [BZ #14256]
23685 * manual/errno.texi (ESTALE): Update to account for more than
23686 just NFS file systems.
23687 * sysdeps/gnu/errlist.c: Regenerated.
23688
b9375348
SP
236892013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23690
23691 [BZ #15465]
23692 * elf/Makefile (tests): Add tst-null-argv.
23693 (modules-names): Add tst-null-argv-lib.
23694 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23695 (tst-null-argv-ENV): Set environment for tst-null-argv.
23696 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23697 (RTLD_PROGNAME): New macro.
23698 * elf/tst-null-argv.c: New test case.
23699 * elf/tst-null-argv-lib.c: Library for test case.
23700 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23701 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23702 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23703 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23704 * elf/dl-init.c (call_init): Likewise.
23705 (_dl_init): Likewise.
23706 * elf/dl-load.c (print_search_path): Likewise.
23707 (_dl_map_object): Likewise.
23708 * elf/dl-lookup.c (do_lookup_x): Likewise.
23709 (add_dependency): Likewise.
23710 (_dl_lookup_symbol_x): Likewise.
23711 (_dl_debug_bindings): Likewise.
23712 * elf/dl-open.c (_dl_show_scope): Likewise.
23713 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23714 * elf/dl-version.c (match_symbol): Likewise.
23715 (_dl_check_map_versions): Likewise.
23716 * elf/rtld.c (dl_main): Likewise.
23717 (print_unresolved): Use RTLD_PROGNAME.
23718 (print_missing_version): Likewise.
23719 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23720 (elf_machine_rela): Likewise.
23721 * sysdeps/powerpc/powerpc32/dl-machine.c
23722 (__process_machine_rela): Likewise.
23723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23724 Likewise.
23725 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23726 Likewise.
23727 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23728 Likewise.
23729 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23730 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23731 Likewise.
23732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23733 Likewise.
23734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23735
8a9f20c8
CD
237362013-05-28 Carlos O'Donell <carlos@redhat.com>
23737
23738 * po/be.po: Add descriptive title.
23739 * po/zh_CN.po: Likewise.
23740 * po/header.pot: Likewise.
23741
0e60d68e
MF
237422013-05-28 Mike Frysinger <vapier@gentoo.org>
23743
23744 * locale/programs/locarchive.c (create_archive): Inlucde fname in
23745 error message.
23746 (enlarge_archive): Likewise.
23747
56b672e9
BN
237482013-05-28 Ben North <ben@redfrontdoor.org>
23749
23750 * manual/arith.texi (frexp): It is the magnitude of the return
23751 value which lies in [0.5, 1), not the return value itself.
23752
5e056687
AZ
237532013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23754
23755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23756
2b66ef5d
TS
237572013-05-26 Thomas Schwinge <thomas@codesourcery.com>
23758
528c2405
TS
23759 * stdio-common/bug26.c (main): Correct fscanf template.
23760
07b4c13d
TS
23761 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23762 declare _dl_skip_args.
23763
ec9dd97c
TS
23764 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23765 Don't declare.
23766
2b66ef5d
TS
23767 * manual/platform.texi: Add missing @end deftypefun.
23768
4f8dfe27
JM
237692013-05-24 Joseph Myers <joseph@codesourcery.com>
23770
0323d086
JM
23771 [BZ #15529]
23772 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23773 bit of mantissa of 2^16382.
23774 * math/libm-test.inc (hypot_test_data): Add more tests.
23775
dd4259b9
JM
23776 * math/libm-test.inc: Add drem and pow10 to list of tested
23777 functions.
23778 (pow10_test): New function.
23779 (drem_test): Likewise.
23780 (drem_test_tonearest): Likewise.
23781 (drem_test_towardzero): Likewise.
23782 (drem_test_downward): Likewise.
23783 (drem_test_upward): Likewise.
23784 (main): Call the new functions.
23785
4f8dfe27
JM
23786 * math/libm-test.inc (finite_test_data): Remove.
23787 (finite_test): Run tests from isfinite_test_data.
23788 (gamma_test_data): Remove.
23789 (gamma_test): Run tests from lgamma_test_data.
23790 * sysdeps/i386/fpu/libm-test-ulps: Update.
23791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23792
d116b7c4
AZ
237932013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23794
23795 * manual/platform.texi: Add PowerPC PPR function set documentation.
23796 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23797 implementation.
23798
e96e3767
CD
237992013-05-24 Carlos O'Donell <carlos@redhat.com>
23800
23801 * math/libm-test.inc (MAX_EXP): Define.
23802 (ULPDIFF): Define.
23803 (ulp): New function.
23804 (check_float_internal): Use ULPDIFF.
23805 (cpow_test): Disable failing test.
23806 (check_ulp): Test ulp() implemetnation.
23807 (main): Call check_ulp before starting tests.
23808
b679a606
JM
238092013-05-24 Joseph Myers <joseph@codesourcery.com>
23810
e8bdba36
JM
23811 * math/gen-libm-test.pl (generate_testfile): Do not handle
23812 START_DATA and END_DATA.
23813 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23814 END_DATA.
23815 (acos_tonearest_test_data): Likewise.
23816 (acos_towardzero_test_data): Likewise.
23817 (acos_downward_test_data): Likewise.
23818 (acos_upward_test_data): Likewise.
23819 (acosh_test_data): Likewise.
23820 (asin_test_data): Likewise.
23821 (asin_tonearest_test_data): Likewise.
23822 (asin_towardzero_test_data): Likewise.
23823 (asin_downward_test_data): Likewise.
23824 (asin_upward_test_data): Likewise.
23825 (asinh_test_data): Likewise.
23826 (atan_test_data): Likewise.
23827 (atanh_test_data): Likewise.
23828 (atan2_test_data): Likewise.
23829 (cabs_test_data): Likewise.
23830 (cacos_test_data): Likewise.
23831 (cacosh_test_data): Likewise.
23832 (carg_test_data): Likewise.
23833 (casin_test_data): Likewise.
23834 (casinh_test_data): Likewise.
23835 (catan_test_data): Likewise.
23836 (catanh_test_data): Likewise.
23837 (cbrt_test_data): Likewise.
23838 (ccos_test_data): Likewise.
23839 (ccosh_test_data): Likewise.
23840 (ceil_test_data): Likewise.
23841 (cexp_test_data): Likewise.
23842 (cimag_test_data): Likewise.
23843 (clog_test_data): Likewise.
23844 (clog10_test_data): Likewise.
23845 (conj_test_data): Likewise.
23846 (copysign_test_data): Likewise.
23847 (cos_test_data): Likewise.
23848 (cos_tonearest_test_data): Likewise.
23849 (cos_towardzero_test_data): Likewise.
23850 (cos_downward_test_data): Likewise.
23851 (cos_upward_test_data): Likewise.
23852 (cosh_test_data): Likewise.
23853 (cosh_tonearest_test_data): Likewise.
23854 (cosh_towardzero_test_data): Likewise.
23855 (cosh_downward_test_data): Likewise.
23856 (cosh_upward_test_data): Likewise.
23857 (cpow_test_data): Likewise.
23858 (cproj_test_data): Likewise.
23859 (creal_test_data): Likewise.
23860 (csin_test_data): Likewise.
23861 (csinh_test_data): Likewise.
23862 (csqrt_test_data): Likewise.
23863 (ctan_test_data): Likewise.
23864 (ctan_tonearest_test_data): Likewise.
23865 (ctan_towardzero_test_data): Likewise.
23866 (ctan_downward_test_data): Likewise.
23867 (ctan_upward_test_data): Likewise.
23868 (ctanh_test_data): Likewise.
23869 (ctanh_tonearest_test_data): Likewise.
23870 (ctanh_towardzero_test_data): Likewise.
23871 (ctanh_downward_test_data): Likewise.
23872 (ctanh_upward_test_data): Likewise.
23873 (erf_test_data): Likewise.
23874 (erfc_test_data): Likewise.
23875 (exp_test_data): Likewise.
23876 (exp_tonearest_test_data): Likewise.
23877 (exp_towardzero_test_data): Likewise.
23878 (exp_downward_test_data): Likewise.
23879 (exp_upward_test_data): Likewise.
23880 (exp10_test_data): Likewise.
23881 (exp2_test_data): Likewise.
23882 (expm1_test_data): Likewise.
23883 (fabs_test_data): Likewise.
23884 (fdim_test_data): Likewise.
23885 (finite_test_data): Likewise.
23886 (floor_test_data): Likewise.
23887 (fma_test_data): Likewise.
23888 (fma_towardzero_test_data): Likewise.
23889 (fma_downward_test_data): Likewise.
23890 (fma_upward_test_data): Likewise.
23891 (fmax_test_data): Likewise.
23892 (fmin_test_data): Likewise.
23893 (fmod_test_data): Likewise.
23894 (fpclassify_test_data): Likewise.
23895 (frexp_test_data): Likewise.
23896 (gamma_test_data): Likewise.
23897 (hypot_test_data): Likewise.
23898 (ilogb_test_data): Likewise.
23899 (isfinite_test_data): Likewise.
23900 (isgreater_test_data): Likewise.
23901 (isgreaterequal_test_data): Likewise.
23902 (isinf_test_data): Likewise.
23903 (isless_test_data): Likewise.
23904 (islessequal_test_data): Likewise.
23905 (islessgreater_test_data): Likewise.
23906 (isnan_test_data): Likewise.
23907 (isnormal_test_data): Likewise.
23908 (issignaling_test_data): Likewise.
23909 (isunordered_test_data): Likewise.
23910 (j0_test_data): Likewise.
23911 (j1_test_data): Likewise.
23912 (jn_test_data): Likewise.
23913 (ldexp_test_data): Likewise.
23914 (lgamma_test_data): Likewise.
23915 (lrint_test_data): Likewise.
23916 (lrint_tonearest_test_data): Likewise.
23917 (lrint_towardzero_test_data): Likewise.
23918 (lrint_downward_test_data): Likewise.
23919 (lrint_upward_test_data): Likewise.
23920 (llrint_test_data): Likewise.
23921 (llrint_tonearest_test_data): Likewise.
23922 (llrint_towardzero_test_data): Likewise.
23923 (llrint_downward_test_data): Likewise.
23924 (llrint_upward_test_data): Likewise.
23925 (log_test_data): Likewise.
23926 (log10_test_data): Likewise.
23927 (log1p_test_data): Likewise.
23928 (log2_test_data): Likewise.
23929 (logb_test_data): Likewise.
23930 (logb_downward_test_data): Likewise.
23931 (lround_test_data): Likewise.
23932 (llround_test_data): Likewise.
23933 (modf_test_data): Likewise.
23934 (nearbyint_test_data): Likewise.
23935 (nextafter_test_data): Likewise.
23936 (nexttoward_test_data): Likewise.
23937 (pow_test_data): Likewise.
23938 (pow_tonearest_test_data): Likewise.
23939 (pow_towardzero_test_data): Likewise.
23940 (pow_downward_test_data): Likewise.
23941 (pow_upward_test_data): Likewise.
23942 (remainder_test_data): Likewise.
23943 (remainder_tonearest_test_data): Likewise.
23944 (remainder_towardzero_test_data): Likewise.
23945 (remainder_downward_test_data): Likewise.
23946 (remainder_upward_test_data): Likewise.
23947 (remquo_test_data): Likewise.
23948 (rint_test_data): Likewise.
23949 (rint_tonearest_test_data): Likewise.
23950 (rint_towardzero_test_data): Likewise.
23951 (rint_downward_test_data): Likewise.
23952 (rint_upward_test_data): Likewise.
23953 (round_test_data): Likewise.
23954 (scalb_test_data): Likewise.
23955 (scalbn_test_data): Likewise.
23956 (scalbln_test_data): Likewise.
23957 (signbit_test_data): Likewise.
23958 (sin_test_data): Likewise.
23959 (sin_tonearest_test_data): Likewise.
23960 (sin_towardzero_test_data): Likewise.
23961 (sin_downward_test_data): Likewise.
23962 (sin_upward_test_data): Likewise.
23963 (sincos_test_data): Likewise.
23964 (sinh_test_data): Likewise.
23965 (sinh_tonearest_test_data): Likewise.
23966 (sinh_towardzero_test_data): Likewise.
23967 (sinh_downward_test_data): Likewise.
23968 (sinh_upward_test_data): Likewise.
23969 (sqrt_test_data): Likewise.
23970 (tan_test_data): Likewise.
23971 (tan_tonearest_test_data): Likewise.
23972 (tan_towardzero_test_data): Likewise.
23973 (tan_downward_test_data): Likewise.
23974 (tan_upward_test_data): Likewise.
23975 (tanh_test_data): Likewise.
23976 (tgamma_test_data): Likewise.
23977 (trunc_test_data): Likewise.
23978 (y0_test_data): Likewise.
23979 (y1_test_data): Likewise.
23980 (yn_test_data): Likewise.
23981 (significand_test_data): Likewise.
23982
b679a606
JM
23983 * math/gen-libm-test.pl (@functions): Remove variable.
23984 (generate_testfile): Don't handle START and END lines.
23985 * math/libm-test.inc (START): New macro.
23986 (END): Likewise.
23987 (END_COMPLEX): Likewise.
23988 (acos_test): Use END macro without arguments.
23989 (acos_test_tonearest): Likewise.
23990 (acos_test_towardzero): Likewise.
23991 (acos_test_downward): Likewise.
23992 (acos_test_upward): Likewise.
23993 (acosh_test): Likewise.
23994 (asin_test): Likewise.
23995 (asin_test_tonearest): Likewise.
23996 (asin_test_towardzero): Likewise.
23997 (asin_test_downward): Likewise.
23998 (asin_test_upward): Likewise.
23999 (asinh_test): Likewise.
24000 (atan_test): Likewise.
24001 (atanh_test): Likewise.
24002 (atan2_test): Likewise.
24003 (cabs_test): Likewise.
24004 (cacos_test): Use END_COMPLEX macro without arguments.
24005 (cacosh_test): Likewise.
24006 (carg_test): Use END macro without arguments.
24007 (casin_test): Use END_COMPLEX macro without arguments.
24008 (casinh_test): Likewise.
24009 (catan_test): Likewise.
24010 (catanh_test): Likewise.
24011 (cbrt_test): Use END macro without arguments.
24012 (ccos_test): Use END_COMPLEX macro without arguments.
24013 (ccosh_test): Likewise.
24014 (ceil_test): Use END macro without arguments.
24015 (cexp_test): Use END_COMPLEX macro without arguments.
24016 (cimag_test): Use END macro without arguments.
24017 (clog_test): Use END_COMPLEX macro without arguments.
24018 (clog10_test): Likewise.
24019 (conj_test): Likewise.
24020 (copysign_test): Use END macro without arguments.
24021 (cos_test): Likewise.
24022 (cos_test_tonearest): Likewise.
24023 (cos_test_towardzero): Likewise.
24024 (cos_test_downward): Likewise.
24025 (cos_test_upward): Likewise.
24026 (cosh_test): Likewise.
24027 (cosh_test_tonearest): Likewise.
24028 (cosh_test_towardzero): Likewise.
24029 (cosh_test_downward): Likewise.
24030 (cosh_test_upward): Likewise.
24031 (cpow_test): Use END_COMPLEX macro without arguments.
24032 (cproj_test): Likewise.
24033 (creal_test): Use END macro without arguments.
24034 (csin_test): Use END_COMPLEX macro without arguments.
24035 (csinh_test): Likewise.
24036 (csqrt_test): Likewise.
24037 (ctan_test): Likewise.
24038 (ctan_test_tonearest): Likewise.
24039 (ctan_test_towardzero): Likewise.
24040 (ctan_test_downward): Likewise.
24041 (ctan_test_upward): Likewise.
24042 (ctanh_test): Likewise.
24043 (ctanh_test_tonearest): Likewise.
24044 (ctanh_test_towardzero): Likewise.
24045 (ctanh_test_downward): Likewise.
24046 (ctanh_test_upward): Likewise.
24047 (erf_test): Use END macro without arguments.
24048 (erfc_test): Likewise.
24049 (exp_test): Likewise.
24050 (exp_test_tonearest): Likewise.
24051 (exp_test_towardzero): Likewise.
24052 (exp_test_downward): Likewise.
24053 (exp_test_upward): Likewise.
24054 (exp10_test): Likewise.
24055 (exp2_test): Likewise.
24056 (expm1_test): Likewise.
24057 (fabs_test): Likewise.
24058 (fdim_test): Likewise.
24059 (finite_test): Likewise.
24060 (floor_test): Likewise.
24061 (fma_test): Likewise.
24062 (fma_test_towardzero): Likewise.
24063 (fma_test_downward): Likewise.
24064 (fma_test_upward): Likewise.
24065 (fmax_test): Likewise.
24066 (fmin_test): Likewise.
24067 (fmod_test): Likewise.
24068 (fpclassify_test): Likewise.
24069 (frexp_test): Likewise.
24070 (gamma_test): Likewise.
24071 (hypot_test): Likewise.
24072 (ilogb_test): Likewise.
24073 (isfinite_test): Likewise.
24074 (isgreater_test): Likewise.
24075 (isgreaterequal_test): Likewise.
24076 (isinf_test): Likewise.
24077 (isless_test): Likewise.
24078 (islessequal_test): Likewise.
24079 (islessgreater_test): Likewise.
24080 (isnan_test): Likewise.
24081 (isnormal_test): Likewise.
24082 (issignaling_test): Likewise.
24083 (isunordered_test): Likewise.
24084 (j0_test): Likewise.
24085 (j1_test): Likewise.
24086 (jn_test): Likewise.
24087 (ldexp_test): Likewise.
24088 (lgamma_test): Likewise.
24089 (lrint_test): Likewise.
24090 (lrint_test_tonearest): Likewise.
24091 (lrint_test_towardzero): Likewise.
24092 (lrint_test_downward): Likewise.
24093 (lrint_test_upward): Likewise.
24094 (llrint_test): Likewise.
24095 (llrint_test_tonearest): Likewise.
24096 (llrint_test_towardzero): Likewise.
24097 (llrint_test_downward): Likewise.
24098 (llrint_test_upward): Likewise.
24099 (log_test): Likewise.
24100 (log10_test): Likewise.
24101 (log1p_test): Likewise.
24102 (log2_test): Likewise.
24103 (logb_test): Likewise.
24104 (logb_test_downward): Likewise.
24105 (lround_test): Likewise.
24106 (llround_test): Likewise.
24107 (modf_test): Likewise.
24108 (nearbyint_test): Likewise.
24109 (nextafter_test): Likewise.
24110 (nexttoward_test): Likewise.
24111 (pow_test): Likewise.
24112 (pow_test_tonearest): Likewise.
24113 (pow_test_towardzero): Likewise.
24114 (pow_test_downward): Likewise.
24115 (pow_test_upward): Likewise.
24116 (remainder_test): Likewise.
24117 (remainder_test_tonearest): Likewise.
24118 (remainder_test_towardzero): Likewise.
24119 (remainder_test_downward): Likewise.
24120 (remainder_test_upward): Likewise.
24121 (remquo_test): Likewise.
24122 (rint_test): Likewise.
24123 (rint_test_tonearest): Likewise.
24124 (rint_test_towardzero): Likewise.
24125 (rint_test_downward): Likewise.
24126 (rint_test_upward): Likewise.
24127 (round_test): Likewise.
24128 (scalb_test): Likewise.
24129 (scalbn_test): Likewise.
24130 (scalbln_test): Likewise.
24131 (signbit_test): Likewise.
24132 (sin_test): Likewise.
24133 (sin_test_tonearest): Likewise.
24134 (sin_test_towardzero): Likewise.
24135 (sin_test_downward): Likewise.
24136 (sin_test_upward): Likewise.
24137 (sincos_test): Likewise.
24138 (sinh_test): Likewise.
24139 (sinh_test_tonearest): Likewise.
24140 (sinh_test_towardzero): Likewise.
24141 (sinh_test_downward): Likewise.
24142 (sinh_test_upward): Likewise.
24143 (sqrt_test): Likewise.
24144 (tan_test): Likewise.
24145 (tan_test_tonearest): Likewise.
24146 (tan_test_towardzero): Likewise.
24147 (tan_test_downward): Likewise.
24148 (tan_test_upward): Likewise.
24149 (tanh_test): Likewise.
24150 (tgamma_test): Likewise.
24151 (trunc_test): Likewise.
24152 (y0_test): Likewise.
24153 (y1_test): Likewise.
24154 (yn_test): Likewise.
24155 (significand_test): Likewise.
24156
bae143d2
OB
241572013-05-24 Ondřej Bílka <neleai@seznam.cz>
24158
24159 [BZ #15381]
24160 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24161
9323d39b
EM
241622013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24163
d4ea44a0 24164 [BZ #14894]
9323d39b
EM
24165 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24166 __ppc_mdoio and __ppc_mdoom.
24167 * manual/platform.texi: Document new functions __ppc_yield,
24168 __ppc_mdoio and __ppc_mdoom.
24169
13e23af7
CD
241702013-05-22 Carlos O'Donell <carlos@redhat.com>
24171
24172 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24173 (main): Mention "tls" pseudo-hwcap is legacy.
24174 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24175
351fe550
JM
241762013-05-22 Joseph Myers <joseph@codesourcery.com>
24177
24178 * math/gen-libm-test.pl (parse_args): Output only string of
24179 arguments as text for test name, not full call or descriptions of
24180 tests for extra outputs.
24181 (generate_testfile): Do not pass function name to parse_args.
24182 Generate this_func variable from START.
24183 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24184 field to arg_str.
24185 (struct test_ff_f_data): Likewise.
24186 (test_ff_f_data_nexttoward): Likewise.
24187 (struct test_fi_f_data): Likewise.
24188 (struct test_fl_f_data): Likewise.
24189 (struct test_if_f_data): Likewise.
24190 (struct test_fff_f_data): Likewise.
24191 (struct test_c_f_data): Likewise.
24192 (struct test_f_f1_data): Likewise. Remove field extra_name.
24193 (struct test_fF_f1_data): Likewise.
24194 (struct test_ffI_f1_data): Likewise.
24195 (struct test_c_c_data): Rename test_name field to arg_str.
24196 (struct test_cc_c_data): Likewise.
24197 (struct test_f_i_data): Likewise.
24198 (struct test_ff_i_data): Likewise.
24199 (struct test_f_l_data): Likewise.
24200 (struct test_f_L_data): Likewise.
24201 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24202 and extra2_name.
24203 (COMMON_TEST_SETUP): New macro.
24204 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24205 (COMMON_TEST_CLEANUP): Likewise.
24206 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24207 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24208 macros.
24209 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24210 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24211 macros.
24212 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24213 (RUN_TEST_fff_f): Take argument string. Call new setup and
24214 cleanup macros.
24215 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24216 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24217 macros.
24218 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24219 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24220 macros.
24221 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24222 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24223 cleanup macros.
24224 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24225 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24226 cleanup macros.
24227 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24228 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24229 cleanup macros.
24230 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24231 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24232 macros.
24233 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24234 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24235 macros.
24236 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24237 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24238 macros.
24239 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24240 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24241 cleanup macros.
24242 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24243 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24244 cleanup macros.
24245 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24246 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24247 macros.
24248 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24249 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24250 cleanup macros.
24251 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24252 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24253 macros.
24254 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24255 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24256 macros.
24257 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24258 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24259 cleanup macros.
24260 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24261
85118d4d
EBM
242622013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24263
24264 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24265 to _sifields.sigfault.
24266 (si_addr_lsb): Define new macro.
24267 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24270
7a44c18f
CD
242712013-05-03 Carlos O'Donell <carlos at redhat.com>
24272
24273 [BZ #15441]
24274 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24275 returns -1.
24276 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24277 null return -1.
24278 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24279 loading the domain.
24280
b50a7181
JM
242812013-05-22 Joseph Myers <joseph@codesourcery.com>
24282
24283 * math/gen-libm-test.pl (parse_args): Do not include expected
24284 result in test name.
24285 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24286 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24287 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24288 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24289 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24291
051063c8
SP
242922013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24293
3ce9e010
SP
24294 * benchtests/Makefile: Sort function entries.
24295
051063c8
SP
24296 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24297 tanh, asinh, acosh, atanh.
24298 * benchtests/acos-inputs: New file.
24299 * benchtests/acosh-inputs: New file.
24300 * benchtests/asin-inputs: New file.
24301 * benchtests/asinh-inputs: New file.
24302 * benchtests/atanh-inputs: New file.
24303 * benchtests/cosh-inputs: New file.
24304 * benchtests/log-inputs: New file.
24305 * benchtests/sinh-inputs: New file.
24306 * benchtests/tanh-inputs: New file.
24307
47c22455
DL
243082013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24309
24310 [BZ #15339]
24311 * posix/tst-getaddrinfo4.c: New test.
24312 * posix/Makefile (tests): Add it.
24313
3d04f5db
SP
243142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24315
24316 [BZ #15339]
24317 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24318 when no services were used.
24319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24320 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24321
d5dd6189
AS
243222013-05-21 Andreas Schwab <schwab@suse.de>
24323
24324 [BZ #15014]
24325 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24326 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24327 successful.
24328 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24329 redundant variable declarations and reallocation of buffer when
24330 parsing as IPv6 address. Always set NSS status when called from
24331 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24332 buffer too small. Correct computation of needed size.
24333 * nss/Makefile (tests): Add test-digits-dots.
24334 * nss/test-digits-dots.c: New test.
24335
fef94eab
SP
243362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24337
24338 * benchtests/Makefile: Remove instructions for adding
24339 benchmark tests.
24340 * benchtests/README: New file to explain how to execute and
24341 enhance the benchmark tests.
24342
e39adf43
AS
243432013-05-21 Andreas Schwab <schwab@suse.de>
24344
24345 [BZ #15493]
24346 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24347 * setjmp/tst-sigsetjmp.c: New test.
24348
b2b671b6
OB
243492013-05-20 Ondřej Bílka <neleai@seznam.cz>
24350
24351 * sysdeps/x86_64/memset.S (memset): New implementation.
24352 (__bzero): Likewise.
24353 (__memset_tail): New function.
24354
2d48b41c
OB
243552013-05-20 Ondřej Bílka <neleai@seznam.cz>
24356
24357 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24358 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24359 __memcpy_sse2_unaligned ifunc selection.
24360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24361 Add memcpy-sse2-unaligned.S.
24362 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24363 Add: __memcpy_sse2_unaligned.
24364
f16cc3eb
JM
243652013-05-19 Joseph Myers <joseph@codesourcery.com>
24366
3e694268
JM
24367 [BZ #15490]
24368 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24369 math_force_eval before restoring floating-point envrionment.
24370 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24372 Likewise.
24373 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24374 <math_private.h>.
24375 (__nearbyintl): Use math_force_eval before restoring
24376 floating-point environment.
24377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24378
db62a907
JM
24379 * math/gen-libm-test.pl (special_functions): Remove.
24380 (parse_args): Don't handle TEST_extra. Handle functions with no
24381 return value.
24382 * math/libm-test.inc (struct test_sincos_data): Replace with
24383 struct test_fFF_11_data.
24384 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24385 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24386 (sincos_test_data): Change element type to struct
24387 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24388 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24389 RUN_TEST_LOOP_sincos.
24390 * math/README.libm-test: Don't mention special handling of
24391 individual functions.
24392 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24394 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24395 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24396 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24398
f16cc3eb
JM
24399 * math/gen-libm-test.pl (get_variable): Remove function.
24400 (parse_args): Don't show pointer parameters to call in test
24401 names. Use "extra output N" in test names for extra outputs
24402 rather than naming variables.
24403
3779b5b6
JM
244042013-05-18 Joseph Myers <joseph@codesourcery.com>
24405
2ee094ff
JM
24406 [BZ #15488]
24407 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24408 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24409 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24410 double tests.
24411 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24412 disable.
24413 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24414 check_long_double.
24415
3779b5b6
JM
24416 * math/gen-libm-test.pl (@tests): Remove variable.
24417 ($count): Likewise.
24418 (new_test): Remove function.
24419 (show_exceptions): New function.
24420 (special_functions): Use show_exceptions instead of new_test.
24421 (parse_args): Likewise.
24422 (generate_testfile): Pass only function name in generated call to
24423 print_max_error or print_complex_max_error.
24424 (get_ulps): Do not handle complex tests specially.
24425 (output_test): Rename to ...
24426 (get_all_ulps_for_test): ... this. Return a string rather than
24427 printing to a file. Require ulps to be present.
24428 (output_ulps): Generate arrays rather than #defines.
24429 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24430 (struct ulp_data): New type.
24431 (BUILD_COMPLEX_ULP): Remove macro.
24432 (compare_ulp_data): New function.
24433 (find_ulps): Likewise.
24434 (find_test_ulps): Likewise.
24435 (find_function_ulps): Likewise.
24436 (find_complex_function_ulps): Likewise.
24437 (print_max_error): Determine allowed ulps using
24438 find_function_ulps.
24439 (print_complex_max_error): Determine allowed ulps using
24440 find_complex_function_ulps.
24441 (check_float_internal): Determine max ulps using find_test_ulps.
24442 (check_float): Do not take max_ulp parameter. Update call to
24443 check_float_internal.
24444 (check_complex): Likewise.
24445 (check_int): Do not take max_ulp parameter.
24446 (check_long): Likewise.
24447 (check_bool): Likewise.
24448 (check_longlong): Likewise.
24449 (struct test_f_f_data): Remove max_ulp field.
24450 (struct test_ff_f_data): Likewise.
24451 (struct test_ff_f_data_nexttoward): Likewise.
24452 (struct test_fi_f_data): Likewise.
24453 (struct test_fl_f_data): Likewise.
24454 (struct test_if_f_data): Likewise.
24455 (struct test_fff_f_data): Likewise.
24456 (struct test_c_f_data): Likewise.
24457 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24458 (struct test_fF_f1_data): Likewise.
24459 (struct test_ffI_f1_data): Likewise.
24460 (struct test_c_c_data): Remove max_ulp field.
24461 (struct test_cc_c_data): Likewise.
24462 (struct test_f_i_data): Likewise.
24463 (struct test_ff_i_data): Likewise.
24464 (struct test_f_l_data): Likewise.
24465 (struct test_f_L_data): Likewise.
24466 (struct test_sincos_data): Likewise.
24467 (RUN_TEST_f_f): Do not handle ulps.
24468 (RUN_TEST_LOOP_f_f): Likewise.
24469 (RUN_TEST_2_f): Likewise.
24470 (RUN_TEST_LOOP_2_f): Likewise.
24471 (RUN_TEST_fff_f): Likewise.
24472 (RUN_TEST_LOOP_fff_f): Likewise.
24473 (RUN_TEST_c_f): Likewise.
24474 (RUN_TEST_LOOP_c_f): Likewise.
24475 (RUN_TEST_f_f1): Likewise.
24476 (RUN_TEST_LOOP_f_f1): Likewise.
24477 (RUN_TEST_fF_f1): Likewise.
24478 (RUN_TEST_LOOP_fF_f1): Likewise.
24479 (RUN_TEST_fI_f1): Likewise.
24480 (RUN_TEST_LOOP_fI_f1): Likewise.
24481 (RUN_TEST_ffI_f1): Likewise.
24482 (RUN_TEST_LOOP_ffI_f1): Likewise.
24483 (RUN_TEST_c_c): Likewise.
24484 (RUN_TEST_LOOP_c_c): Likewise.
24485 (RUN_TEST_cc_c): Likewise.
24486 (RUN_TEST_LOOP_cc_c): Likewise.
24487 (RUN_TEST_f_i): Likewise.
24488 (RUN_TEST_LOOP_f_i): Likewise.
24489 (RUN_TEST_f_i_tg): Likewise.
24490 (RUN_TEST_LOOP_f_i_tg): Likewise.
24491 (RUN_TEST_ff_i_tg): Likewise.
24492 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24493 (RUN_TEST_f_b): Likewise.
24494 (RUN_TEST_LOOP_f_b): Likewise.
24495 (RUN_TEST_f_b_tg): Likewise.
24496 (RUN_TEST_LOOP_f_b_tg): Likewise.
24497 (RUN_TEST_f_l): Likewise.
24498 (RUN_TEST_LOOP_f_l): Likewise.
24499 (RUN_TEST_f_L): Likewise.
24500 (RUN_TEST_LOOP_f_L): Likewise.
24501 (RUN_TEST_sincos): Likewise.
24502 (RUN_TEST_LOOP_sincos): Likewise.
24503
8269107f
JM
245042013-05-17 Joseph Myers <joseph@codesourcery.com>
24505
bb38759d
JM
24506 [BZ #15480]
24507 [BZ #15485]
24508 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24509 main case of finite arguments, set rounding mode to FE_TONEAREST
24510 and discard exceptions.
24511 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24512 exceptions.
24513 (remainder_tonearest_test_data): New variable.
24514 (remainder_test_tonearest): New function.
24515 (remainder_towardzero_test_data): New variable.
24516 (remainder_test_towardzero): New function.
24517 (remainder_downward_test_data): New variable.
24518 (remainder_test_downward): New function.
24519 (remainder_upward_test_data): New variable.
24520 (remainder_test_upward): New function.
24521 (main): Call the new test functions.
24522
a00bdcf0
JM
24523 * math/libm-test.inc (struct test_f_f1_data): Remove field
24524 extra_init.
24525 (struct test_fF_f1_data): Likewise.
24526 (struct test_ffI_f1_data): Likewise.
24527 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
24528 based on value of EXTRA_EXPECTED.
24529 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24530 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
24531 EXTRA_VAR based on value of EXTRA_EXPECTED.
24532 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24533 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
24534 EXTRA_VAR based on value of EXTRA_EXPECTED.
24535 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24536 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
24537 EXTRA_VAR based on value of EXTRA_EXPECTED.
24538 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24539 * math/gen-libm-test.pl (parse_args): Don't output initializers
24540 for extra output values.
24541
de407f79
JM
24542 * math/libm-test.inc (check_int): Expect result to be exactly
24543 equal to expected value and do not handle ulps.
24544 (check_long): Likewise.
24545 (check_longlong): Likewise.
24546
8269107f
JM
24547 * math/libm-test.inc (ceil_test_data): Test for "inexact"
24548 exceptions.
24549 (cimag_test_data): Likewise.
24550 (conj_test_data): Likewise.
24551 (copysign_test_data): Likewise.
24552 (cproj_test_data): Likewise.
24553 (creal_test_data): Likewise.
24554 (fabs_test_data): Likewise.
24555 (fdim_test_data): Likewise.
24556 (finite_test_data): Likewise.
24557 (floor_test_data): Likewise.
24558 (fmax_test_data): Likewise.
24559 (fmin_test_data): Likewise.
24560 (fmod_test_data): Likewise.
24561 (fpclassify_test_data): Likewise.
24562 (frexp_test_data): Likewise.
24563 (ilogb_test_data): Likewise.
24564 (isfinite_test_data): Likewise.
24565 (isgreater_test_data): Likewise.
24566 (isgreaterequal_test_data): Likewise.
24567 (isinf_test_data): Likewise.
24568 (isless_test_data): Likewise.
24569 (islessequal_test_data): Likewise.
24570 (islessgreater_test_data): Likewise.
24571 (isnan_test_data): Likewise.
24572 (isnormal_test_data): Likewise.
24573 (issignaling_test_data): Likewise.
24574 (isunordered_test_data): Likewise.
24575 (ldexp_test_data): Likewise.
24576 (lrint_test_data): Likewise.
24577 (lrint_test_data) [TEST_FLOAT]: Disable one test.
24578 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24579 (lrint_tonearest_test_data): Test for "inexact" exceptions.
24580 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24581 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24582 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24583 test input.
24584 (lrint_towardzero_test_data): Test for "inexact" exceptions.
24585 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24586 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24587 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24588 that test input.
24589 (lrint_downward_test_data): Test for "inexact" exceptions.
24590 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24591 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24592 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24593 test input.
24594 (lrint_upward_test_data): Test for "inexact" exceptions.
24595 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24596 test input.
24597 (llrint_test_data): Test for "inexact" exceptions.
24598 (llrint_test_data) [TEST_FLOAT]: Disable one test.
24599 (llrint_tonearest_test_data): Test for "inexact" exceptions.
24600 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24601 (llrint_towardzero_test_data): Test for "inexact" exceptions.
24602 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24603 (llrint_downward_test_data): Test for "inexact" exceptions.
24604 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24605 (llrint_upward_test_data): Test for "inexact" exceptions.
24606 (logb_test_data): Likewise.
24607 (logb_downward_test_data): Likewise.
24608 (nextafter_test_data): Likewise.
24609 (nexttoward_test_data): Likewise.
24610 (remainder_test_data): Likewise.
24611 (remquo_test_data): Likewise.
24612 (scalbn_test_data): Likewise.
24613 (scalbln_test_data): Likewise.
24614 (signbit_test_data): Likewise.
24615 (sqrt_test_data): Likewise.
24616 (significand_test_data): Likewise.
24617
48a18de1
SP
246182013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24619
24620 [BZ #15424]
24621 * benchtests/bench-modf.c (struct args): Mark arg0 as
24622 volatile.
24623 * scripts/bench.pl: Mark members of struct args as volatile.
24624
13d3b41a
AZ
246252013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24626
68191c1d 24627 [BZ # 15497]
13d3b41a
AZ
24628 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24629 negative infinity on POWER6 or lower.
24630 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24631
2848b105
MR
246322013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
24633
24634 [BZ #15442]
24635 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24636 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24637 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24638 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24639 (_FP_SETQNAN): New macro.
24640 (_FP_SETQNAN_SEMIRAW): Likewise.
24641 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24642 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24643 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24644 (FP_EXTEND): Use _FP_FRAC_SNANP.
24645 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24646 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24647 into account.
24648 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24649 New macro.
24650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24651 Likewise.
24652
323e5cb7
JM
246532013-05-16 Joseph Myers <joseph@codesourcery.com>
24654
c58b274f
JM
24655 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24656 with DIVIDE_BY_ZERO_EXCEPTION.
24657 (gamma_test_data): Likewise.
24658 (lgamma_test_data): Likewise.
24659 (log_test_data): Likewise.
24660 (log10_test_data): Likewise.
24661 (log2_test_data): Likewise.
24662 (tgamma_test_data): Likewise.
24663
0ab34904
JM
24664 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24665 (acos_test_tonearest): Likewise.
24666 (acos_test_towardzero): Likewise.
24667 (acos_test_downward): Likewise.
24668 (acos_test_upward): Likewise.
24669 (acosh_test): Likewise.
24670 (asin_test): Likewise.
24671 (asin_test_tonearest): Likewise.
24672 (asin_test_towardzero): Likewise.
24673 (asin_test_downward): Likewise.
24674 (asin_test_upward): Likewise.
24675 (asinh_test): Likewise.
24676 (atan_test): Likewise.
24677 (atanh_test): Likewise.
24678 (atan2_test): Likewise.
24679 (cabs_test): Likewise.
24680 (cacos_test): Likewise.
24681 (cacosh_test): Likewise.
24682 (casin_test): Likewise.
24683 (casinh_test): Likewise.
24684 (catan_test): Likewise.
24685 (catanh_test): Likewise.
24686 (cbrt_test): Likewise.
24687 (ccos_test): Likewise.
24688 (ccosh_test): Likewise.
24689 (cexp_test): Likewise.
24690 (clog_test): Likewise.
24691 (clog10_test): Likewise.
24692 (cos_test): Likewise.
24693 (cos_test_tonearest): Likewise.
24694 (cos_test_towardzero): Likewise.
24695 (cos_test_downward): Likewise.
24696 (cos_test_upward): Likewise.
24697 (cosh_test): Likewise.
24698 (cosh_test_tonearest): Likewise.
24699 (cosh_test_towardzero): Likewise.
24700 (cosh_test_downward): Likewise.
24701 (cosh_test_upward): Likewise.
24702 (cpow_test): Likewise.
24703 (csin_test): Likewise.
24704 (csinh_test): Likewise.
24705 (csqrt_test): Likewise.
24706 (ctan_test): Likewise.
24707 (ctan_test_tonearest): Likewise.
24708 (ctan_test_towardzero): Likewise.
24709 (ctan_test_downward): Likewise.
24710 (ctan_test_upward): Likewise.
24711 (ctanh_test): Likewise.
24712 (ctanh_test_tonearest): Likewise.
24713 (ctanh_test_towardzero): Likewise.
24714 (ctanh_test_downward): Likewise.
24715 (ctanh_test_upward): Likewise.
24716 (erf_test): Likewise.
24717 (erfc_test): Likewise.
24718 (exp_test): Likewise.
24719 (exp_test_tonearest): Likewise.
24720 (exp_test_towardzero): Likewise.
24721 (exp_test_downward): Likewise.
24722 (exp_test_upward): Likewise.
24723 (exp10_test): Likewise.
24724 (exp2_test): Likewise.
24725 (expm1_test): Likewise.
24726 (fmod_test): Likewise.
24727 (gamma_test): Likewise.
24728 (hypot_test): Likewise.
24729 (j0_test): Likewise.
24730 (j1_test): Likewise.
24731 (jn_test): Likewise.
24732 (lgamma_test): Likewise.
24733 (log_test): Likewise.
24734 (log10_test): Likewise.
24735 (log1p_test): Likewise.
24736 (log2_test): Likewise.
24737 (logb_test_downward): Likewise.
24738 (pow_test): Likewise.
24739 (pow_test_tonearest): Likewise.
24740 (pow_test_towardzero): Likewise.
24741 (pow_test_downward): Likewise.
24742 (pow_test_upward): Likewise.
24743 (remainder_test): Likewise.
24744 (remquo_test): Likewise.
24745 (sin_test): Likewise.
24746 (sin_test_tonearest): Likewise.
24747 (sin_test_towardzero): Likewise.
24748 (sin_test_downward): Likewise.
24749 (sin_test_upward): Likewise.
24750 (sincos_test): Likewise.
24751 (sinh_test): Likewise.
24752 (sinh_test_tonearest): Likewise.
24753 (sinh_test_towardzero): Likewise.
24754 (sinh_test_downward): Likewise.
24755 (sinh_test_upward): Likewise.
24756 (sqrt_test): Likewise.
24757 (tan_test): Likewise.
24758 (tan_test_tonearest): Likewise.
24759 (tan_test_towardzero): Likewise.
24760 (tan_test_downward): Likewise.
24761 (tan_test_upward): Likewise.
24762 (tanh_test): Likewise.
24763 (tgamma_test): Likewise.
24764 (y0_test): Likewise.
24765 (y1_test): Likewise.
24766 (yn_test): Likewise.
24767
323e5cb7
JM
24768 * math/gen-libm-test.pl (adjust_arg): Remove function.
24769 (special_function): Remove argument $in_func. Only handle
24770 generating output for tables of tests, not inside functions.
24771 (parse_args): Likewise.
24772 (generate_testfile): Remove variable $in_func. Update call to
24773 parse_args.
24774 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24775 (MINUS_ZERO_INIT): Rename macro to minus_zero.
24776 (PLUS_INFTY_INIT): Rename macro to plus_infty.
24777 (MINUS_INFTY_INIT): Rename macro to minus_infty.
24778 (QNAN_VALUE_INIT): Rename macro to qnan_value.
24779 (MAX_VALUE_INIT): Rename macro to max_value.
24780 (MIN_VALUE_INIT): Rename macro to min_value.
24781 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24782 (plus_zero): Remove variable.
24783 (minus_zero): Likewise.
24784 (plus_infty): Likewise.
24785 (minus_infty): Likewise.
24786 (qnan_value): Likewise.
24787 (max_value): Likewise.
24788 (min_value): Likewise.
24789 (min_subnorm_value): Likewise.
24790
e054f494
RA
247912013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24792
24793 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24794 uint64_t or uint32_t usage.
24795 * crypt/sha256-block.c: Likewise.
24796 * crypt/sha256-crypt.c: Likewise.
24797 * crypt/sha256.c: Likewise.
24798 * crypt/sha512-block.c: Likewise.
24799 * crypt/sha512-crypt.c: Likewise.
24800 * crypt/sha512.c: Likewise.
24801 * debug/backtrace-tst.c: Likewise.
24802 * debug/pcprofiledump.c: Likewise.
24803 * elf/cache.c: Likewise.
24804 * elf/dl-cache.c: Likewise.
24805 * elf/dl-misc.c: Likewise.
24806 * elf/dl-profile.c: Likewise.
24807 * elf/dl-support.c: Likewise.
24808 * elf/ldconfig.c: Likewise.
24809 * elf/sprof.c: Likewise.
24810 * iconv/dummy-repertoire.c: Likewise.
24811 * iconv/iconv_charmap.c: Likewise.
24812 * iconv/skeleton.c: Likewise.
24813 * iconvdata/8bit-generic.c: Likewise.
24814 * iconvdata/cp737.h: Likewise.
24815 * iconvdata/cp775.h: Likewise.
24816 * iconvdata/ibm1008.h: Likewise.
24817 * iconvdata/ibm1025.h: Likewise.
24818 * iconvdata/ibm1046.h: Likewise.
24819 * iconvdata/ibm1097.h: Likewise.
24820 * iconvdata/ibm1112.h: Likewise.
24821 * iconvdata/ibm1122.h: Likewise.
24822 * iconvdata/ibm1123.h: Likewise.
24823 * iconvdata/ibm1124.h: Likewise.
24824 * iconvdata/ibm1129.h: Likewise.
24825 * iconvdata/ibm1130.h: Likewise.
24826 * iconvdata/ibm1132.h: Likewise.
24827 * iconvdata/ibm1133.h: Likewise.
24828 * iconvdata/ibm1137.h: Likewise.
24829 * iconvdata/ibm1140.h: Likewise.
24830 * iconvdata/ibm1141.h: Likewise.
24831 * iconvdata/ibm1142.h: Likewise.
24832 * iconvdata/ibm1143.h: Likewise.
24833 * iconvdata/ibm1144.h: Likewise.
24834 * iconvdata/ibm1145.h: Likewise.
24835 * iconvdata/ibm1146.h: Likewise.
24836 * iconvdata/ibm1147.h: Likewise.
24837 * iconvdata/ibm1148.h: Likewise.
24838 * iconvdata/ibm1149.h: Likewise.
24839 * iconvdata/ibm1153.h: Likewise.
24840 * iconvdata/ibm1154.h: Likewise.
24841 * iconvdata/ibm1155.h: Likewise.
24842 * iconvdata/ibm1156.h: Likewise.
24843 * iconvdata/ibm1157.h: Likewise.
24844 * iconvdata/ibm1158.h: Likewise.
24845 * iconvdata/ibm1160.h: Likewise.
24846 * iconvdata/ibm1161.h: Likewise.
24847 * iconvdata/ibm1162.h: Likewise.
24848 * iconvdata/ibm1163.h: Likewise.
24849 * iconvdata/ibm1164.h: Likewise.
24850 * iconvdata/ibm1166.h: Likewise.
24851 * iconvdata/ibm1167.h: Likewise.
24852 * iconvdata/ibm12712.h: Likewise.
24853 * iconvdata/ibm1390.h: Likewise.
24854 * iconvdata/ibm1399.h: Likewise.
24855 * iconvdata/ibm16804.h: Likewise.
24856 * iconvdata/ibm4517.h: Likewise.
24857 * iconvdata/ibm4899.h: Likewise.
24858 * iconvdata/ibm4909.h: Likewise.
24859 * iconvdata/ibm4971.h: Likewise.
24860 * iconvdata/ibm5347.h: Likewise.
24861 * iconvdata/ibm803.h: Likewise.
24862 * iconvdata/ibm856.h: Likewise.
24863 * iconvdata/ibm901.h: Likewise.
24864 * iconvdata/ibm902.h: Likewise.
24865 * iconvdata/ibm9030.h: Likewise.
24866 * iconvdata/ibm9066.h: Likewise.
24867 * iconvdata/ibm921.h: Likewise.
24868 * iconvdata/ibm922.h: Likewise.
24869 * iconvdata/ibm9448.h: Likewise.
24870 * iconvdata/isiri-3342.h: Likewise.
24871 * iconvdata/jis0201.h: Likewise.
24872 * include/link.h: Likewise.
24873 * include/netdb.h: Likewise.
24874 * inet/check_native.c: Likewise.
24875 * inet/check_pf.c: Likewise.
24876 * inet/getipv4sourcefilter.c: Likewise.
24877 * inet/getnameinfo.c: Likewise.
24878 * inet/getsourcefilter.c: Likewise.
24879 * inet/htonl.c: Likewise.
24880 * inet/setipv4sourcefilter.c: Likewise.
24881 * inet/setsourcefilter.c: Likewise.
24882 * inet/test-inet6_opt.c: Likewise.
24883 * inet/tst-network.c: Likewise.
24884 * locale/C-collate.c: Likewise.
24885 * locale/C-ctype.c: Likewise.
24886 * locale/C-time.c: Likewise.
24887 * locale/C-translit.h: Likewise.
24888 * locale/loadarchive.c: Likewise.
24889 * locale/programs/3level.h: Likewise.
24890 * locale/programs/charmap.c: Likewise.
24891 * locale/programs/charmap.h: Likewise.
24892 * locale/programs/ld-address.c: Likewise.
24893 * locale/programs/ld-collate.c: Likewise.
24894 * locale/programs/ld-ctype.c: Likewise.
24895 * locale/programs/ld-identification.c: Likewise.
24896 * locale/programs/ld-measurement.c: Likewise.
24897 * locale/programs/ld-messages.c: Likewise.
24898 * locale/programs/ld-monetary.c: Likewise.
24899 * locale/programs/ld-name.c: Likewise.
24900 * locale/programs/ld-numeric.c: Likewise.
24901 * locale/programs/ld-paper.c: Likewise.
24902 * locale/programs/ld-telephone.c: Likewise.
24903 * locale/programs/ld-time.c: Likewise.
24904 * locale/programs/linereader.c: Likewise.
24905 * locale/programs/locale.c: Likewise.
24906 * locale/programs/locarchive.c: Likewise.
24907 * locale/programs/locfile.h: Likewise.
24908 * locale/programs/repertoire.c: Likewise.
24909 * locale/programs/simple-hash.c: Likewise.
24910 * locale/programs/simple-hash.h: Likewise.
24911 * malloc/memusage.c: Likewise.
24912 * malloc/memusagestat.c: Likewise.
24913 * nis/nis_defaults.c: Likewise.
24914 * nis/nis_hash.c: Likewise.
24915 * nis/nis_print.c: Likewise.
24916 * nis/nis_xdr.c: Likewise.
24917 * nscd/connections.c: Likewise.
24918 * nscd/hstcache.c: Likewise.
24919 * nscd/nscd_gethst_r.c: Likewise.
24920 * nscd/nscd_getserv_r.c: Likewise.
24921 * nscd/nscd_helper.c: Likewise.
24922 * nscd/servicescache.c: Likewise.
24923 * nss/makedb.c: Likewise.
24924 * nss/nss_db/db-XXX.c: Likewise.
24925 * nss/nss_db/db-initgroups.c: Likewise.
24926 * nss/nss_db/db-netgrp.c: Likewise.
24927 * nss/nss_files/files-network.c: Likewise.
24928 * nss/nss_files/files-parse.c: Likewise.
24929 * posix/bug-regex5.c: Likewise.
24930 * posix/fnmatch_loop.c: Likewise.
24931 * posix/regcomp.c: Likewise.
24932 * posix/regexec.c: Likewise.
24933 * posix/tst-rfc3484-2.c: Likewise.
24934 * posix/tst-rfc3484-3.c: Likewise.
24935 * posix/tst-rfc3484.c: Likewise.
24936 * resolv/nss_dns/dns-canon.c: Likewise.
24937 * resolv/nss_dns/dns-network.c: Likewise.
24938 * resolv/res_init.c: Likewise.
24939 * resolv/res_mkquery.c: Likewise.
24940 * resolv/tst-aton.c: Likewise.
24941 * stdlib/cxa_atexit.c: Likewise.
24942 * stdlib/cxa_finalize.c: Likewise.
24943 * stdlib/gen-fpioconst.c: Likewise.
24944 * stdlib/strtol_l.c: Likewise.
24945 * string/tst-endian.c: Likewise.
24946 * sunrpc/auth_des.c: Likewise.
24947 * sunrpc/clnt_udp.c: Likewise.
24948 * sunrpc/rtime.c: Likewise.
24949 * sunrpc/svcauth_des.c: Likewise.
24950 * sunrpc/xdr.c: Likewise.
24951 * sunrpc/xdr_intXX_t.c: Likewise.
24952 * sunrpc/xdr_rec.c: Likewise.
24953 * sysdeps/generic/ldconfig.h: Likewise.
24954 * sysdeps/generic/ldsodefs.h: Likewise.
24955 * sysdeps/generic/memusage.h: Likewise.
24956 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24957 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24958 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24959 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24966 * sysdeps/posix/getaddrinfo.c: Likewise.
24967 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24968 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24969 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24970 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24971 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24972 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24973 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24974 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24975 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24976 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24977 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24978 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24979 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24980 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24981 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24982 * sysdeps/x86_64/dl-tls.h: Likewise.
24983 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24984 * time/alt_digit.c: Likewise.
24985 * time/era.c: Likewise.
24986 * wcsmbs/tst-c16c32-1.c: Likewise.
24987
8c75f674
JM
249882013-05-16 Joseph Myers <joseph@codesourcery.com>
24989
24990 * math/libm-test.inc (struct test_sincos_data): New type.
24991 (RUN_TEST_LOOP_sincos): New macro.
24992 (sincos_test_data): New variable.
24993 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24994
e6e49e59
RH
249952013-05-16 Richard Henderson <rth@redhat.com>
24996
24997 * math/atest-exp2.c (LIMB64): New macro.
24998 (CONSTSZ): New macro.
24999 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25000 (hexdig): Move ...
25001 (print_mpn_fp): ... to function scope.
25002 (read_mpn_hex): Remove.
25003 (get_log2): Remove.
25004 (exp2_mpn): Use mp_log2.
25005 (main): Use mp_exp1.
25006
15c7c18d
JM
250072013-05-16 Joseph Myers <joseph@codesourcery.com>
25008
105a07df
JM
25009 * math/libm-test.inc: Remove comment about not testing "inexact"
25010 exceptions.
25011 (INEXACT_EXCEPTION): New macro.
25012 (NO_INEXACT_EXCEPTION): Likewise.
25013 (INVALID_EXCEPTION_OK): Update value.
25014 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25015 (OVERFLOW_EXCEPTION_OK): Likewise.
25016 (UNDERFLOW_EXCEPTION_OK): Likewise.
25017 (IGNORE_ZERO_INF_SIGN): Likewise.
25018 (ERRNO_UNCHANGED): Likewise.
25019 (ERRNO_EDOM): Likewise.
25020 (ERRNO_ERANGE): Likewise.
25021 (test_exceptions): Handle testing "inexact" exceptions.
25022 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25023 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25024 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25025 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25026 INEXACT_EXCEPTION.
25027 (rint_towardzero_test_data): Likewise.
25028 (rint_downward_test_data): Likewise.
25029 (rint_upward_test_data): Likewise.
25030
e9eee333
JM
25031 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25032 with OVERFLOW_EXCEPTION.
25033 (exp10_test_data): Likewise.
25034 (exp2_test_data): Likewise.
25035 (expm1_test_data): Likewise.
25036 (lgamma_test_data): Likewise.
25037 (pow_test_data): Likewise.
25038 (tgamma_test_data): Likewise.
25039 (yn_test_data): Remove duplicate test of overflow.
25040
1c38ff73
JM
25041 * math/libm-test.inc (struct test_cc_c_data): New type.
25042 (RUN_TEST_LOOP_cc_c): New macro.
25043 (cpow_test_data): New variable.
25044 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25045
15c7c18d
JM
25046 * math/libm-test.inc (struct test_f_L_data): New type.
25047 (RUN_TEST_LOOP_f_L): New macro.
25048 (llrint_test_data): New variable.
25049 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25050 (llrint_tonearest_test_data): New variable.
25051 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25052 (llrint_towardzero_test_data): New variable.
25053 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25054 (llrint_downward_test_data): New variable.
25055 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25056 (llrint_upward_test_data): New variable.
25057 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25058 (llround_test_data): New variable.
25059 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25060
f137ff13
PC
250612013-05-13 Peter Collingbourne <pcc@google.com>
25062
25063 * math/atest-exp2.c (get_log2): Remove const attribute.
25064
3608cb24
JM
250652013-05-15 Joseph Myers <joseph@codesourcery.com>
25066
25067 * math/libm-test.inc (struct test_f_l_data): New type.
25068 (RUN_TEST_LOOP_f_l): New macro.
25069 (lrint_test_data): New variable.
25070 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25071 (lrint_tonearest_test_data): New variable.
25072 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25073 (lrint_towardzero_test_data): New variable.
25074 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25075 (lrint_downward_test_data): New variable.
25076 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25077 (lrint_upward_test_data): New variable.
25078 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25079 (lround_test_data): New variable.
25080 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25081
39b1f617
PC
250822013-05-15 Peter Collingbourne <pcc@google.com>
25083
1deff3dc
PC
25084 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25085 (EXTRACT_WORDS64) Use where appropriate.
25086 (INSERT_WORDS64) Likewise.
25087
791f3ba0
PC
25088 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25089 constraints with x constraints.
25090 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25091
39b1f617
PC
25092 * malloc/obstack.c (_obstack_compat): Add initializer.
25093
12fba011
EM
250942013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25095
25096 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25097 si_trapno and add si_addr_lsb to _sifields.sigfault.
25098 (si_trapno): Remove macro.
25099 (si_addr_lsb): Define new macro.
25100 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25101
d369f531
JM
251022013-05-15 Joseph Myers <joseph@codesourcery.com>
25103
b861c6c4
JM
25104 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25105 instead of TEST_f_l.
25106 (llrint_test_tonearest): Likewise.
25107 (llrint_test_towardzero): Likewise.
25108 (llrint_test_downward): Likewise.
25109 (llrint_test_upward): Likewise.
25110 (llround_test): Likewise.
25111
7abeee12
JM
25112 * math/libm-test.inc (struct test_f_i_data): Add comment.
25113 (RUN_TEST_LOOP_f_b): New macro.
25114 (RUN_TEST_LOOP_f_b_tg): Likewise.
25115 (finite_test_data): New variable.
25116 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25117 (isfinite_test_data): New variable.
25118 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25119 (isinf_test_data): New variable.
25120 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25121 (isnan_test_data): New variable.
25122 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25123 (isnormal_test_data): New variable.
25124 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25125 (issignaling_test_data): New variable.
25126 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25127 (signbit_test_data): New variable.
25128 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25129
cbe8c4d3
JM
25130 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25131 with INVALID_EXCEPTION.
25132 (acosh_test_data): Likewise.
25133 (asin_test_data): Likewise.
25134 (atanh_test_data): Likewise.
25135 (fmod_test_data): Likewise.
25136 (log_test_data): Likewise.
25137 (log10_test_data): Likewise.
25138 (log2_test_data): Likewise.
25139 (pow_test_data): Likewise.
25140 (sqrt_test_data): Likewise.
25141 (y0_test_data): Likewise.
25142 (y1_test_data): Likewise.
25143 (yn_test_data): Likewise.
25144
5575c0e5
JM
25145 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25146 function contents.
25147
d369f531
JM
25148 * math/libm-test.inc (struct test_ff_i_data): New type.
25149 (RUN_TEST_LOOP_ff_i_tg): New macro.
25150 (isgreater_test_data): New variable.
25151 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25152 (isgreaterequal_test_data): New variable.
25153 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25154 (isless_test_data): New variable.
25155 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25156 (islessequal_test_data): New variable.
25157 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25158 (islessgreater_test_data): New variable.
25159 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25160 (isunordered_test_data): New variable.
25161 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25162
781fd748
DM
251632013-05-14 David S. Miller <davem@davemloft.net>
25164
25165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25166
87aa21df
JM
251672013-05-14 Joseph Myers <joseph@codesourcery.com>
25168
5e908270
JM
25169 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25170
f71172e5
JM
25171 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25172 extra_test to int.
25173 (struct test_f_i_data): Change type of max_ulp to int.
25174
8cfa635a
JM
25175 * math/libm-test.inc (test_ffI_f1_data): New type.
25176 (RUN_TEST_LOOP_ffI_f1): New macro.
25177 (remquo_test_data): New variable.
25178 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25179
2bcb36b2
JM
25180 * setjmp/tst-setjmp-fp.c: New file.
25181 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25182 (link-libm): New variable.
25183 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25184
acbd839a
JM
25185 * math/libm-test.inc (struct test_f_i_data): New type.
25186 (RUN_TEST_LOOP_f_i): New macro.
25187 (RUN_TEST_LOOP_f_i_tg): Likewise.
25188 (fpclassify_test_data): New variable.
25189 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25190 (ilogb_test_data): New variable.
25191 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25192
e414d745
JM
25193 * math/libm-test.inc (scalbln_test): Correct function name in END
25194 call.
25195
d9c2a0fd
JM
25196 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25197 (RUN_TEST_LOOP_fI_f1): New macro.
25198 (frexp_test_data): New variable.
25199 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25200
9dc9095d
JM
25201 * math/libm-test.inc (struct test_fF_f1_data): New type.
25202 (RUN_TEST_LOOP_fF_f1): New macro.
25203 (modf_test_data): New variable.
25204 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25205
87aa21df
JM
25206 * math/libm-test.inc (struct test_f_f1_data): New type.
25207 (RUN_TEST_LOOP_f_f1): New macro.
25208 (gamma_test_data): New variable.
25209 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25210 (lgamma_test_data): New variable.
25211 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25212
141af660
CD
252132013-05-13 Carlos O'Donell <carlos@redhat.com>
25214
25215 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25216 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25217 (main): Comment "tls" pseudo-hwcap.
25218
6d33265c
JM
252192013-05-13 Joseph Myers <joseph@codesourcery.com>
25220
68fc074c
JM
25221 * math/libm-test.inc (struct test_fl_f_data): New type.
25222 (RUN_TEST_LOOP_fl_f): New variable.
25223 (scalbln_test_data): New variable.
25224 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25225
243216e1
JM
25226 * math/libm-test.inc (struct test_fi_f_data): New type.
25227 (RUN_TEST_LOOP_fi_f): New macro.
25228 (ldexp_test_data): New variable.
25229 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25230 (scalbn_test_data): New variable.
25231 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25232
6a1992e2
JM
25233 * math/libm-test.inc (struct test_c_f_data): New type.
25234 (RUN_TEST_LOOP_c_f): New macro.
25235 (cabs_test_data): New variable.
25236 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25237 (carg_test_data): New variable.
25238 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25239 (cimag_test_data): New variable.
25240 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25241 (creal_test_data): New variable.
25242 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25243
0e400df5
JM
25244 * math/libm-test.inc (struct test_if_f_data): New type.
25245 (RUN_TEST_LOOP_if_f): New macro.
25246 (jn_test_data): New variable.
25247 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25248 (yn_test_data): New variable.
25249 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25250
6d33265c
JM
25251 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25252
f98ece5f
AZ
252532013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25254
25255 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25256 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25257
0f7d347b
SP
252582013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25259
43fe811b
SP
25260 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25261 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25262 (bench-deps): Add bench-timing.h.
25263 * benchtests-bench-skeleton.c: Include bench-timing.h.
25264 (main): Use TIMING_* macros instead of clock_gettime.
25265 * benchtests/bench-timing.h: New file.
25266
0f7d347b
SP
25267 [BZ #14582]
25268 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25269 Renamed from _LIB_VERSION.
25270 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25271
601a3a5f
JM
252722013-05-12 Joseph Myers <joseph@codesourcery.com>
25273
4f184d30
JM
25274 * math/libm-test.inc (struct test_fff_f_data): New type.
25275 (RUN_TEST_LOOP_fff_f): New macro.
25276 (fma_test_data): New variable.
25277 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25278 (fma_towardzero_test_data): New variable.
25279 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25280 (fma_downward_test_data): New variable.
25281 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25282 (fma_upward_test_data): New variable.
25283 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25284
08198877
JM
25285 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25286 (struct test_c_c_data): New type.
25287 (RUN_TEST_LOOP_c_c): New macro.
25288 (cacos_test_data): New variable.
25289 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25290 (cacosh_test_data): New variable.
25291 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25292 (casin_test_data): New variable.
25293 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25294 (casinh_test_data): New variable.
25295 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25296 (catan_test_data): New variable.
25297 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25298 (catanh_test_data): New variable.
25299 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25300 (ccos_test_data): New variable.
25301 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25302 (ccosh_test_data): New variable.
25303 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25304 (cexp_test_data): New variable.
25305 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25306 (clog_test_data): New variable.
25307 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25308 (clog10_test_data): New variable.
25309 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25310 (conj_test_data): New variable.
25311 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25312 (cproj_test_data): New variable.
25313 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25314 (csin_test_data): New variable.
25315 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25316 (csinh_test_data): New variable.
25317 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25318 (csqrt_test_data): New variable.
25319 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25320 (ctan_test_data): New variable.
25321 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25322 (ctan_tonearest_test_data): New variable.
25323 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25324 (ctan_towardzero_test_data): New variable.
25325 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25326 (ctan_downward_test_data): New variable.
25327 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25328 (ctan_upward_test_data): New variable.
25329 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25330 (ctanh_test_data): New variable.
25331 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25332 (ctanh_tonearest_test_data): New variable.
25333 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25334 (ctanh_towardzero_test_data): New variable.
25335 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25336 (ctanh_downward_test_data): New variable.
25337 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25338 (ctanh_upward_test_data): New variable.
25339 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25340 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25341 of BUILD_COMPLEX.
25342
601a3a5f
JM
25343 * math/libm-test.inc (struct test_ff_f_data): New type.
25344 (struct test_ff_f_data_nexttoward): Likewise.
25345 (RUN_TEST_LOOP_2_f): New macro.
25346 (RUN_TEST_LOOP_ff_f): Likewise.
25347 (atan2_test_data): New variable.
25348 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25349 (copysign_test_data): New variable.
25350 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25351 (fdim_test_data): New variable.
25352 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25353 (fmax_test_data): New variable.
25354 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25355 (fmin_test_data): New variable.
25356 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25357 (fmod_test_data): New variable.
25358 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25359 (hypot_test_data): New variable.
25360 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25361 (nextafter_test_data): New variable.
25362 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25363 (nexttoward_test_data): New variable.
25364 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25365 (pow_test_data): New variable.
25366 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25367 (pow_tonearest_test_data): New variable.
25368 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25369 (pow_towardzero_test_data): New variable.
25370 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25371 (pow_downward_test_data): New variable.
25372 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25373 (pow_upward_test_data): New variable.
25374 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25375 (remainder_test_data): New variable.
25376 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25377 (scalb_test_data): New variable.
25378 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25379 * sysdeps/i386/fpu/libm-test-ulps: Update.
25380
74c57478
JM
253812013-05-11 Joseph Myers <joseph@codesourcery.com>
25382
8329e4da
JM
25383 * math/libm-test.inc (fma_test): Use max_value instead of local
25384 variable fltmax.
25385 (nextafter_test): Likewise.
25386
74c57478
JM
25387 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25388 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25389 (acos_downward_test_data): New variable.
25390 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25391 (acos_upward_test_data): New variable.
25392 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25393 (acosh_test_data): New variable.
25394 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25395 (asin_test_data): New variable.
25396 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25397 (asin_tonearest_test_data): New variable.
25398 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25399 (asin_towardzero_test_data): New variable.
25400 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25401 (asin_downward_test_data): New variable.
25402 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25403 (asin_upward_test_data): New variable.
25404 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25405 (asinh_test_data): New variable.
25406 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25407 (atan_test_data): New variable.
25408 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25409 (atanh_test_data): New variable.
25410 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25411 (cbrt_test_data): New variable.
25412 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25413 (ceil_test_data): New variable.
25414 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25415 (cos_test_data): New variable.
25416 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25417 (cos_tonearest_test_data): New variable.
25418 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25419 (cos_towardzero_test_data): New variable.
25420 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25421 (cos_downward_test_data): New variable.
25422 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25423 (cos_upward_test_data): New variable.
25424 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25425 (cosh_test_data): New variable.
25426 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25427 (cosh_tonearest_test_data): New variable.
25428 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25429 (cosh_towardzero_test_data): New variable.
25430 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25431 (cosh_downward_test_data): New variable.
25432 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25433 (cosh_upward_test_data): New variable.
25434 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25435 (erf_test_data): New variable.
25436 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25437 (erfc_test_data): New variable.
25438 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25439 (exp_test_data): New variable.
25440 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25441 (exp_tonearest_test_data): New variable.
25442 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25443 (exp_towardzero_test_data): New variable.
25444 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25445 (exp_downward_test_data): New variable.
25446 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25447 (exp_upward_test_data): New variable.
25448 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25449 (exp10_test_data): New variable.
25450 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25451 (exp2_test_data): New variable.
25452 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25453 (expm1_test_data): New variable.
25454 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25455 (fabs_test_data): New variable.
25456 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25457 (floor_test_data): New variable.
25458 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25459 (j0_test_data): New variable.
25460 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25461 (j1_test_data): New variable.
25462 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25463 (log_test_data): New variable.
25464 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25465 (log10_test_data): New variable.
25466 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25467 (log1p_test_data): New variable.
25468 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25469 (log2_test_data): New variable.
25470 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25471 (logb_test_data): New variable.
25472 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25473 (logb_downward_test_data): New variable.
25474 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25475 (nearbyint_test_data): New variable.
25476 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25477 (rint_test_data): New variable.
25478 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25479 (rint_tonearest_test_data): New variable.
25480 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25481 (rint_towardzero_test_data): New variable.
25482 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25483 (rint_downward_test_data): New variable.
25484 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25485 (rint_upward_test_data): New variable.
25486 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25487 (round_test_data): New variable.
25488 (round_test): Run tests with RUN_TEST_LOOP_f_f.
25489 (sin_test_data): New variable.
25490 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25491 (sin_tonearest_test_data): New variable.
25492 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25493 (sin_towardzero_test_data): New variable.
25494 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25495 (sin_downward_test_data): New variable.
25496 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25497 (sin_upward_test_data): New variable.
25498 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25499 (sinh_test_data): New variable.
25500 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25501 (sinh_tonearest_test_data): New variable.
25502 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25503 (sinh_towardzero_test_data): New variable.
25504 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25505 (sinh_downward_test_data): New variable.
25506 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25507 (sinh_upward_test_data): New variable.
25508 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25509 (sqrt_test_data): New variable.
25510 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25511 (tan_test_data): New variable.
25512 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25513 (tan_tonearest_test_data): New variable.
25514 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25515 (tan_towardzero_test_data): New variable.
25516 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25517 (tan_downward_test_data): New variable.
25518 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25519 (tan_upward_test_data): New variable.
25520 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25521 (tanh_test_data): New variable.
25522 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25523 (tgamma_test_data): New variable.
25524 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25525 (trunc_test_data): New variable.
25526 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25527 (y0_test_data): New variable.
25528 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25529 (y1_test_data): New variable.
25530 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25531 (significand_test_data): New variable.
25532 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25533
7187d844
CG
255342013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
25535
25536 [BZ #12387]
25537 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25538
f63fae73
PT
255392013-05-10 Pino Toscano <toscano.pino@tiscali.it>
25540
25541 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25542
8a67a4b3
AJ
255432013-05-10 Andreas Jaeger <aj@suse.de>
25544
25545 [BZ #15448]
25546 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25547 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25548
51df539d
JM
255492013-05-10 Joseph Myers <joseph@codesourcery.com>
25550
25551 * math/gen-libm-test.pl (adjust_arg): New function.
25552 (special_functions): Handle generating output in both functions
25553 and arrays.
25554 (parse_args): Likewise.
25555 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
25556 $in_func argument to parse_args.
25557 * math/libm-test.inc (struct test_f_f_data): New type.
25558 (IF_ROUND_INIT_): New macro.
25559 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25560 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25561 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25562 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25563 (ROUND_RESTORE_): Likewise.
25564 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25565 (ROUND_RESTORE_FE_TONEAREST): Likewise.
25566 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25567 (ROUND_RESTORE_FE_UPWARD): Likewise.
25568 (RUN_TEST_LOOP_f_f): New macro.
25569 (acos_test_data): New variable.
25570 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25571 (acos_tonearest_test_data): New variable.
25572 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25573
5c637fe5
SP
255742013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25575
25576 * benchtests/bench-skeleton.c (startup): Fix coding style.
25577
ab2b9461
JM
255782013-05-10 Joseph Myers <joseph@codesourcery.com>
25579
25580 [BZ #6809]
25581 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25582 negative infinity argument.
25583 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25584 negative infinity argument.
25585 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25586 negative infinity argument.
25587 * math/libm-test.inc (tgamma_test): Expect errno to be set for
25588 domain errors.
25589
4c0fe6fe
FW
255902013-05-10 Florian Weimer <fweimer@redhat.com>
25591
25592 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25593 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25594 * iconv/iconv_prog.c (main): Likewise.
25595 * locale/programs/charmap-dir.c (charmap_readdir)
25596 (fopen_uncompressed): Likewise.
25597 * locale/programs/locfile.c (siblings_uncached)
25598 (write_locale_data): Use lstat64 instead of lstat.
25599 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25600 stat.
25601
a3375d29
AJ
256022013-05-10 Andreas Jaeger <aj@suse.de>
25603
25604 [BZ #15395]
25605 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25606 localization.
25607 Include <locale.h>.
25608
36129722
CD
256092013-05-09 Carlos O'Donell <carlos@redhat.com>
25610
25611 * elf/dl-close.c (_dl_close_worker): Add comments.
25612
faa7f811
JM
256132013-05-09 Joseph Myers <joseph@codesourcery.com>
25614
ed41ffef
JM
25615 [BZ #15359]
25616 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25617 high part of pi/2.
25618 (__ieee754_rem_pio2l): Update comments.
25619
d0213cd0
JM
25620 [BZ #15429]
25621 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25622 high part of pi/2.
25623 (__ieee754_rem_pio2l): Update comments.
25624
0d3e777a
JM
25625 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25626 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25627
24f56066
JM
25628 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25629 M_PI_4l.
25630
faa7f811
JM
25631 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25632 (M_PI_34_LOG10El): Likewise.
25633 (M_PI2_LOG10El): Likewise.
25634 (M_PI4_LOG10El): Likewise.
25635 (M_PI_LOG10El): Likewise.
25636
e9a5e0fd
AZ
256372013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25638
25639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25640
d8cd06db
JM
256412013-05-08 Joseph Myers <joseph@codesourcery.com>
25642
a0d9f9d7
JM
25643 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25644 (MINUS_ZERO_INIT): Likewise.
25645 (PLUS_INFTY_INIT): Likewise.
25646 (MINUS_INFTY_INIT): Likewise.
25647 (QNAN_VALUE_INIT): Likewise.
25648 (MAX_VALUE_INIT): Likewise.
25649 (MIN_VALUE_INIT): Likewise.
25650 (MIN_SUBNORM_VALUE_INIT): Likewise.
25651 (plus_zero): Initialize with PLUS_ZERO_INIT.
25652 (minus_zero): Initialize with MINUS_ZERO_INIT.
25653 (plus_infty): Initialize with PLUS_INFTY_INIT.
25654 (minus_infty): Initialize with MINUS_INFTY_INIT.
25655 (qnan_value): Initialize with QNAN_VALUE_INIT.
25656 (max_value): Initialize with MAX_VALUE_INIT.
25657 (min_value): Initialize with MIN_VALUE_INIT.
25658 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25659
ae08db3b
JM
25660 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25661 (jn_test): Use TEST_if_f instead of TEST_ff_f.
25662 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25663 (yn_test): Use TEST_if_f instead of TEST_ff_f.
25664
f44bf14a
JM
25665 * math/libm-test.inc (RUN_TEST_f_f): New macro.
25666 (RUN_TEST_2_f): Likewise.
25667 (RUN_TEST_ff_f): Likewise.
25668 (RUN_TEST_fi_f): Likewise.
25669 (RUN_TEST_fl_f): Likewise.
25670 (RUN_TEST_fff_f): Likewise.
25671 (RUN_TEST_c_f): Likewise.
25672 (RUN_TEST_f_f1): Likewise.
25673 (RUN_TEST_fF_f1): Likewise.
25674 (RUN_TEST_fI_f1): Likewise.
25675 (RUN_TEST_ffI_f1): Likewise.
25676 (RUN_TEST_c_c): Likewise.
25677 (RUN_TEST_cc_c): Likewise.
25678 (RUN_TEST_f_i): Likewise.
25679 (RUN_TEST_f_i_tg): Likewise.
25680 (RUN_TEST_ff_i_tg): Likewise.
25681 (RUN_TEST_f_b): Likewise.
25682 (RUN_TEST_f_b_tg): Likewise.
25683 (RUN_TEST_f_l): Likewise.
25684 (RUN_TEST_f_L): Likewise.
25685 (RUN_TEST_sincos): Likewise.
25686 * math/gen-libm-test.pl (new_test): Take new argument to indicate
25687 whether to show exceptions. Do not include ");\n" in return
25688 value.
25689 (special_functions): Output call to RUN_TEST_sincos instead of
25690 check_float calls. Update calls to new_test.
25691 (parse_args): Output call to single RUN_TEST_* macro instead of
25692 check_* calls and other assignments. Update calls to new_test.
25693
d8cd06db
JM
25694 [BZ #2546]
25695 [BZ #2560]
25696 [BZ #5159]
25697 [BZ #15426]
25698 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25699 input to result for tgamma overflow.
25700 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25701 (gamma_coeff): New variable.
25702 (NCOEFF): New macro.
25703 (gamma_positive): New function.
25704 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25705 underflow here. Use gamma_positive instead of exp (lgamma) for
25706 other arguments.
25707 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25708 (gamma_coeff): New variable.
25709 (NCOEFF): New macro.
25710 (gammaf_positive): New function.
25711 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25712 underflow here. Use gamma_positive instead of exp (lgamma) for
25713 other arguments.
25714 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25715 (gamma_coeff): New variable.
25716 (NCOEFF): New macro.
25717 (gammal_positive): New function.
25718 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25719 underflow here. Use gamma_positive instead of exp (lgamma) for
25720 other arguments.
25721 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25722 (gamma_coeff): New variable.
25723 (NCOEFF): New macro.
25724 (gammal_positive): New function.
25725 (__ieee754_gammal_r): Handle positive infinity, overflow and
25726 underflow here. Handle NaN the same as positive infinity. Remove
25727 check x < 0xffffffff for negative integers. Use gamma_positive
25728 instead of exp (lgamma) for other arguments.
25729 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25730 (gamma_coeff): New variable.
25731 (NCOEFF): New macro.
25732 (gammal_positive): New function.
25733 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25734 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25735 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25739 * sysdeps/generic/math_private.h (__gamma_productf): New
25740 prototype.
25741 (__gamma_product): Likewise.
25742 (__gamma_productl): Likewise.
25743 * math/Makefile (libm-calls): Add gamma_product.
25744 * math/libm-test.inc (tgamma_test): Add more tests.
25745 * sysdeps/i386/fpu/libm-test-ulps: Update.
25746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25747
bb7cf681
OB
257482013-05-08 Ondřej Bílka <neleai@seznam.cz>
25749
25750 * benchtests/bench-skeleton.c (main): Preheat CPU.
25751
ba853947
AJ
257522013-05-07 Aurelien Jarno <aurelien@aurel32.net>
25753
25754 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25755
8347c74c
RM
257562013-05-07 Roland McGrath <roland@hack.frob.com>
25757
25758 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25759 and _dl_skip_args_internal.
25760
e8dd4791
CD
257612013-05-07 Carlos O'Donell <carlos@redhat.com>
25762
25763 * manual/message.texi (Message Translation): Talk about users.
25764 Message to key mapping impacts design.
25765
c7405830
RM
257662013-05-06 Roland McGrath <roland@hack.frob.com>
25767
a9173057
RM
25768 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25769
976e2f03
RM
25770 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25771
9723ffc5
RM
25772 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25773 * sysdeps/wordsize-64/glob64.c: ... here.
25774
962e6658
RM
25775 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25776 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25777 New macros.
25778
ee586a6d
RM
25779 * debug/getlogin_r_chk.c: Moved to ...
25780 * login/getlogin_r_chk.c: ... here.
25781 * debug/Makefile (routines): Move getlogin_r_chk to ...
25782 * login/Makefile (routines): ... here.
25783 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25784 * login/Versions (libc: GLIBC_2.4): ... here.
25785
355f9165
RM
25786 * io/poll.c (__poll): Renamed from poll.
25787 Add libc_hidden_def.
25788 (poll): Define as weak alias.
25789
bd9ffde6
RM
25790 * debug/ptsname_r_chk.c: Moved to ...
25791 * login/ptsname_r_chk.c: ... here.
25792 * debug/Makefile (routines): Move ptsname_r_chk to ...
25793 * login/Makefile (routines): ... here.
25794 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25795 * login/Versions (libc: GLIBC_2.4): ... here.
25796
8fb16a04
RM
25797 * posix/getlogin.c: Moved to ...
25798 * login/getlogin.c: ... here.
25799 * posix/getlogin_r.c: Moved to ...
25800 * login/getlogin_r.c: ... here.
25801 * posix/getlogin_r.c: Moved to ...
25802 * login/getlogin_r.c: ... here.
25803 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25804 * login/Makefile (routines): ... here.
25805 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25806 * login/Versions (libc: GLIBC_2.0): ... here.
25807
b99b892f
RM
25808 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25809 (setrlimit): Define as weak alias.
25810
c7405830
RM
25811 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25812 Call __ names for open, ftruncate, and close.
25813 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25814 (truncate): Define as weak alias.
25815
5bf96de5
JM
258162013-05-06 Joseph Myers <joseph@codesourcery.com>
25817
9ea3513c
JM
25818 * math/gen-libm-test.pl (parse_args): Initialize x before each
25819 test of frexp, modf and remquo.
25820
5bf96de5
JM
25821 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25822 test signgam value.
25823
16e616a7
AZ
258242013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25825
25826 [BZ #15418]
25827 [BZ #15419]
25828 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25829 internal tests.
25830 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25831
d5e82754
RM
258322013-05-06 Roland McGrath <roland@hack.frob.com>
25833
25834 * elf/dl-writev.h: New file.
25835 * elf/dl-misc.c: Include it.
25836 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25837 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25838
a7548d41
JM
258392013-05-04 Joseph Myers <joseph@codesourcery.com>
25840
b7dab1e4
JM
25841 * math/libm-test.inc (noXFails): Remove variable.
25842 (noXPasses): Likewise.
25843 (BUILD_COMPLEX_INT): Remove macro.
25844 (print_screen): Remove xfail argument.
25845 (print_screen_max_error): Likewise.
25846 (update_stats): Likewise.
25847 (print_max_error): Likewise. Update calls to other affected
25848 functions.
25849 (print_complex_max_error): Likewise.
25850 (test_single_exception): Update calls to print_screen.
25851 (test_single_errno): Likewise.
25852 (check_float_internal): Remove xfail argument. Update calls to
25853 other affected functions.
25854 (check_float): Likewise.
25855 (check_complex): Likewise.
25856 (check_int): Likewise.
25857 (check_long): Likewise.
25858 (check_bool): Likewise.
25859 (check_longlong): Likewise.
25860 (main): Don't print noXFails and noXPasses.
25861 * math/gen-libm-test.pl (top level): Don't mention expected
25862 failure handling in comment.
25863 (new_test): Don't handle expected failures.
25864 (parse_args): Don't mention expected failure handling in comment.
25865 (generate_testfile): Don't handle expected failures.
25866 (parse_ulps): Likewise.
25867 (print_ulps_file): Likewise.
25868 (get_failure): Remove function.
25869 (output_test): Don't handle expected failures.
25870 * make/README.libm-test: Don't mention expected failure handling.
25871
a7548d41
JM
25872 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25873 (minus_zero): Likewise.
25874 (plus_infty): Likewise.
25875 (minus_infty): Likewise.
25876 (qnan_value): Likewise.
25877 (max_value): Likewise.
25878 (min_value): Likewise.
25879 (min_subnorm_value): Likewise.
25880 (initialize): Do not initialize those variables dynamically.
25881
60bfd54c
RM
258822013-05-03 Roland McGrath <roland@hack.frob.com>
25883
cc0e6ed8
RM
25884 * io/open.c (__open_2): Moved to ...
25885 * io/open_2.c: ... this new file.
25886 * io/open64.c (__open64_2): Moved to ...
25887 * io/open64_2.c: ... this new file.
25888 * io/openat.c (__openat_2): Moved to ...
25889 * io/openat_2.c: ... this new file.
25890 * io/openat64.c (__openat64_2): Moved to ...
25891 * io/openat64_2.c: ... this new file.
25892 * io/Makefile (routines): Add them.
25893 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25894 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25895 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25896 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25897 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25898 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25899 (__openat64): Add hidden_ver.
25900 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25901 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25902
60bfd54c
RM
25903 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25904 Separately conditionalize setting of GLRO(dl_sysinfo) so
25905 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25906 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25907
83e7640f
AZ
259082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25909
25910 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25911 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25912 definition.
25913 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25914 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25915 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25916 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25917 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25918
d5dc2af3
JM
259192013-05-03 Joseph Myers <joseph@codesourcery.com>
25920
c31a5b1e
JM
25921 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25922 test signgam value.
25923
d5dc2af3
JM
25924 * math/libm-test.inc (hypot_test): Do not use
25925 IGNORE_ZERO_INF_SIGN.
25926
164fd39d
AJ
259272013-05-03 Andreas Jaeger <aj@suse.de>
25928
25929 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25930 Linux 3.9.
25931 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25932 (PF_MAX): Adjust for VSOCK change.
25933
8237f48c
AZ
259342013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25935
25936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25937
9df02941
CD
259382013-05-02 Carlos O'Donell <carlos@redhat.com>
25939
25940 [BZ #15264]
25941 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25942 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25943 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25944
d422395e
DM
259452013-05-02 David S. Miller <davem@davemloft.net>
25946
25947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25948
a07c5731
OB
259492013-05-01 Ondřej Bílka <neleai@seznam.cz>
25950
25951 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25952
1324e37f
RM
259532013-05-01 Roland McGrath <roland@hack.frob.com>
25954
25955 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25956
0695940b
RS
259572013-05-01 Richard Smith <richard@metafoo.co.uk>
25958
bb5f27ad 25959 [BZ #14952]
0695940b
RS
25960 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25961 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25962 Use __attribute__ ((__gnu_inline__)).
25963 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25964 Don't use __attribute__ ((__gnu_inline__)).
25965
10de07f5
JM
259662013-05-01 Joseph Myers <joseph@codesourcery.com>
25967
25968 [BZ #15423]
25969 * math/s_catan.c (__catan): Handle small real or imaginary part of
25970 input specially to avoid spurious underflow.
25971 * math/s_catanf.c (__catanf): Likewise.
25972 * math/s_catanh.c (__catanh): Likewise.
25973 * math/s_catanhf.c (__catanhf): Likewise.
25974 * math/s_catanhl.c (__catanhl): Likewise.
25975 * math/s_catanl.c (__catanl): Likewise.
25976 * math/libm-test.inc (catan_test): Add more tests.
25977 (catanh_test): Likewise.
25978 * sysdeps/i386/fpu/libm-test-ulps: Update.
25979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25980
cb4d5414
AZ
259812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25982
25983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25984
caf84319
JM
259852013-04-30 Joseph Myers <joseph@codesourcery.com>
25986
25987 [BZ #15416]
25988 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25989 accurately for denominator in atan2.
25990 * math/s_catanf.c (__catanf): Likewise.
25991 * math/s_catanh.c (__catanh): Likewise.
25992 * math/s_catanhf.c (__catanhf): Likewise.
25993 * math/s_catanhl.c (__catanhl): Likewise.
25994 * math/s_catanl.c (__catanl): Likewise.
25995 * math/libm-test.inc (catan_test): Add more tests.
25996 (catanh_test): Likewise.
25997 * sysdeps/i386/fpu/libm-test-ulps: Update.
25998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25999
d569c6ee
SP
260002013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26001
6dbe713d
SP
26002 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26003
f0ee064b
SP
26004 * benchtests/Makefile (bench): Remove slow benchmarks.
26005 * benchtests/atan-inputs: Add slow benchmark inputs.
26006 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26007 (BENCH_FUNC): Accept variant offset.
26008 (VARIANT): Define.
26009 * benchtests/bench-skeleton.c (main): Run benchmark for each
26010 variant.
26011 * benchtests/cos-inputs: Add slow benchmark inputs.
26012 * benchtests/exp-inputs: Likewise.
26013 * benchtests/pow-inputs: Likewise.
26014 * benchtests/sin-inputs: Likewise.
26015 * benchtests/slowatan-inputs: Remove.
26016 * benchtests/slowatan.c: Remove.
26017 * benchtests/slowcos-inputs: Remove.
26018 * benchtests/slowcos.c: Remove.
26019 * benchtests/slowexp-inputs: Remove.
26020 * benchtests/slowexp.c: Remove.
26021 * benchtests/slowpow-inputs: Remove.
26022 * benchtests/slowpow.c: Remove.
26023 * benchtests/slowsin-inputs: Remove.
26024 * benchtests/slowsin.c: Remove.
26025 * benchtests/slowtan-inputs: Remove.
26026 * benchtests/slowtan.c: Remove.
26027 * benchtests/tan-inputs: Add slow benchmark inputs.
26028 * scripts/bench.pl: Parse comments and directives.
26029
d569c6ee
SP
26030 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26031 in CPPFLAGS.
26032 ($(objpfx)bench-%.c): Remove *-ITER.
26033 * benchtests/bench-modf.c: Remove definition of ITER.
26034 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26035 (main): Loop for DURATION seconds instead of fixed number of
26036 iterations.
26037 * scripts/bench.pl: Don't expect iterations in parameters.
26038
a6a242fe
RM
260392013-04-29 Roland McGrath <roland@hack.frob.com>
26040
26041 * io/fchdir.c (__fchdir): Renamed from fchdir.
26042 (fchdir): Define as weak alias.
26043
f2da7793
JM
260442013-04-29 Joseph Myers <joseph@codesourcery.com>
26045
26046 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26047 (ERRNO_EDOM): Likewise.
26048 (ERRNO_ERANGE): Likewise.
26049 (noErrnoTests): New variable.
26050 (init_max_error): Set errno to 0.
26051 (test_single_errno): New function.
26052 (test_errno): Likewise.
26053 (check_float_internal): Call test_errno. Set errno to 0.
26054 (check_complex): Refer to errno tests in comment.
26055 (check_int): Call test_errno. Set errno to 0.
26056 (check_long): Likewise.
26057 (check_bool): Likewise.
26058 (check_longlong): Likewise.
26059 (cos_test): Use ERRNO_* flags for errno tests instead of
26060 check_int.
26061 (expm1_test): Likewise.
26062 (fmod_test): Likewise.
26063 (ilogb_test): Likewise.
26064 (lgamma_test): Likewise.
26065 (pow_test): Likewise.
26066 (remainder_test): Likewise.
26067 (sin_test): Likewise.
26068 (tan_test): Likewise.
26069 (yn_test): Likewise.
26070 (initialize): Set errno to 0.
26071 (main): Print number of errno tests.
26072 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26073
b1a36ceb
AJ
260742013-04-29 Andreas Jaeger <aj@suse.de>
26075
c3ed8088
AJ
26076 [BZ #15084]
26077 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26078 and RES_USEVC.
26079
f1a24198
AJ
26080 [BZ #15085]
26081 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26082 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26083 unimplemented.
26084
9ce3b2cb
AJ
26085 [BZ #15380]
26086 * stdlib/random.c (__initstate): Return NULL if
26087 __initstate fails.
26088
f1a24198 26089 [BZ #15086]
b1a36ceb
AJ
26090 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26091 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26092 RES_SNGLKUPREOP.
26093
7e7b6f36
AZ
260942013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26095
26096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26097
4d14f449
JM
260982013-04-29 Joseph Myers <joseph@codesourcery.com>
26099
26100 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26101 of individual tests.
26102 (casin_test): Likewise.
26103 (casinh_test): Likewise.
26104
5b4217d7
JM
261052013-04-27 Joseph Myers <joseph@codesourcery.com>
26106
26107 [BZ #15409]
26108 * math/s_catan.c (__catan): Handle arguments with large real or
26109 imaginary part separately without squaring.
26110 * math/s_catanf.c (__catanf): Likewise.
26111 * math/s_catanh.c (__catanh): Likewise.
26112 * math/s_catanhf.c (__catanhf): Likewise.
26113 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26114 and redefine.
26115 (__catanhl): Handle arguments with large real or imaginary part
26116 separately without squaring.
26117 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26118 and redefine.
26119 (__catanl): Handle arguments with large real or imaginary part
26120 separately without squaring.
26121 * math/libm-test.inc (catan_test): Add more tests.
26122 (catanh_test): Likewise.
26123 * sysdeps/i386/fpu/libm-test-ulps: Update.
26124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26125
4220c3ef
AJ
261262013-04-27 Andreas Jaeger <aj@suse.de>
26127
26128 [BZ #15007]
26129 * stdlib/stdlib.h: Update guards for qecvt.
26130 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26131 <stdlib.h>.
26132
4721b2d1
AM
261332013-04-27 Allan McRae <allan@archlinux.org>
26134
26135 * sysdeps/i386/fpu/libm-test-ulps: Update.
26136
f0302940
JM
261372013-04-26 Joseph Myers <joseph@codesourcery.com>
26138
9457fd95
JM
26139 [BZ #15406]
26140 * math/s_catan.c: Include <float.h>.
26141 (__catan): Ensure underflow exception occurs for underflowed
26142 result.
26143 * math/s_catanf.c: Include <float.h>.
26144 (__catanf): Ensure underflow exception occurs for underflowed
26145 result.
26146 * math/s_catanh.c: Include <float.h>.
26147 (__catanh): Ensure underflow exception occurs for underflowed
26148 result.
26149 * math/s_catanhf.c: Include <float.h>.
26150 (__catanhf): Ensure underflow exception occurs for underflowed
26151 result.
26152 * math/s_catanhl.c: Include <float.h>.
26153 (__catanhl): Ensure underflow exception occurs for underflowed
26154 result.
26155 * math/s_catanl.c: Include <float.h>.
26156 (__catanl): Ensure underflow exception occurs for underflowed
26157 result.
26158 * math/libm-test.inc (catan_test): Add more tests.
26159 (catanh_test): Likewise.
26160
f0302940
JM
26161 [BZ #15405]
26162 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26163 underflowed result.
26164 * math/s_ccoshf.c (__ccoshf): Likewise.
26165 * math/s_ccoshl.c (__ccoshl): Likewise.
26166 * math/s_csin.c (__csin): Likewise.
26167 * math/s_csinf.c (__csinf): Likewise.
26168 * math/s_csinh.c (__csinh): Likewise.
26169 * math/s_csinhf.c (__csinhf): Likewise.
26170 * math/s_csinhl.c (__csinhl): Likewise.
26171 * math/s_csinl.c (__csinl): Likewise.
26172 * math/libm-test.inc (ccos_test): Add more tests.
26173 (ccosh_test): Likewise.
26174 (csin_test): Likewise.
26175 (csinh_test): Likewise.
26176
aa630f59
AZ
261772013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26178
26179 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26180 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26181 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26182 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26183 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26184 powerpc/power5+/fpu folders.
26185 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26186
26187
1b835983
MT
261882013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26189
26190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26191
73709b26
JM
261922013-04-25 Joseph Myers <joseph@codesourcery.com>
26193
26194 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26195 additions to variable.
26196 [$(config-machine) = x86_64] (modules-names): Likewise.
26197 ($(objpfx)tst-audit3): Remove dependency.
26198 ($(objpfx)tst-audit3.out): Likewise.
26199 ($(objpfx)tst-audit4): Likewise.
26200 ($(objpfx)tst-audit4.out): Likewise.
26201 ($(objpfx)tst-audit5): Likewise.
26202 ($(objpfx)tst-audit5.out): Likewise.
26203 ($(objpfx)tst-audit6): Likewise.
26204 ($(objpfx)tst-audit6.out): Likewise.
26205 ($(objpfx)tst-audit7): Likewise.
26206 ($(objpfx)tst-audit7.out): Likewise.
26207 (tst-audit3-ENV): Remove variable.
26208 (tst-audit4-ENV): Likewise.
26209 (tst-audit5-ENV): Likewise.
26210 (tst-audit6-ENV): Likewise.
26211 (tst-audit7-ENV): Likewise.
26212 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26213 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26214 addition to variable.
26215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26220 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26221 tst-audit3, tst-audit4 and tst-audit5.
26222 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26223 tst-audit6 and tst-audit7.
26224 [$(subdir) = elf] (modules-names): Add audit modules for those
26225 tests.
26226 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26227 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26228 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26229 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26230 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26231 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26232 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26233 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26234 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26235 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26236 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26237 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26238 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26239 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26240 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26241 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26242 Likewise.
26243 [$(subdir) = elf && $(config-cflags-avx) = yes]
26244 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26245 [$(subdir) = elf && $(config-cflags-avx) = yes]
26246 (CFLAGS-tst-auditmod4a.c): Likewise.
26247 [$(subdir) = elf && $(config-cflags-avx) = yes]
26248 (CFLAGS-tst-auditmod4b.c): Likewise.
26249 [$(subdir) = elf && $(config-cflags-avx) = yes]
26250 (CFLAGS-tst-auditmod6b.c): Likewise.
26251 [$(subdir) = elf && $(config-cflags-avx) = yes]
26252 (CFLAGS-tst-auditmod6c.c): Likewise.
26253 [$(subdir) = elf && $(config-cflags-avx) = yes]
26254 (CFLAGS-tst-auditmod7b.c): Likewise.
26255 * elf/tst-audit3.c: Move to ...
26256 * sysdeps/x86_64/tst-audit3.c: ... here.
26257 * elf/tst-audit4.c: Move to ...
26258 * sysdeps/x86_64/tst-audit4.c: ... here.
26259 * elf/tst-audit5.c: Move to ...
26260 * sysdeps/x86_64/tst-audit5.c: ... here.
26261 * elf/tst-audit6.c: Move to ...
26262 * sysdeps/x86_64/tst-audit6.c: ... here.
26263 * elf/tst-audit7.c: Move to ...
26264 * sysdeps/x86_64/tst-audit7.c: ... here.
26265 * elf/tst-auditmod3a.c: Move to ...
26266 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26267 * elf/tst-auditmod3b.c: Move to ...
26268 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26269 * elf/tst-auditmod4a.c: Move to ...
26270 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26271 * elf/tst-auditmod4b.c: Move to ...
26272 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26273 * elf/tst-auditmod5a.c: Move to ...
26274 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26275 * elf/tst-auditmod5b.c: Move to ...
26276 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26277 * elf/tst-auditmod6a.c: Move to ...
26278 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26279 * elf/tst-auditmod6b.c: Move to ...
26280 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26281 * elf/tst-auditmod6c.c: Move to ...
26282 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26283 * elf/tst-auditmod7a.c: Move to ...
26284 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26285 * elf/tst-auditmod7b.c: Move to ...
26286 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26287
1ef74943
PP
262882013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26289
26290 [BZ #15366]
26291 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26292 define unconditionally.
26293 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26294 define unconditionally.
26295 (INT8_C, INT16_C, etc.): Likewise.
26296
93fd48c5
MR
262972013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26298
ae9552cf
MR
26299 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26300 __ehdr_start with hidden visibility.
26301
93fd48c5
MR
26302 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26303
418601aa
CD
263042013-04-24 Carlos O'Donell <carlos@redhat.com>
26305
26306 * math/libm-test.inc (cos_test): Use accurate hex constants.
26307 (sincost_test): Likewise.
26308
2f38fbfe
JM
263092013-04-24 Joseph Myers <joseph@codesourcery.com>
26310
5e221800
JM
26311 * math/libm-test.inc (catan_test): Add more tests.
26312 (catanh_test): Likewise.
26313
77f143fd
JM
26314 * math/s_catanf.c (__catanf): Use suffixed floating-point
26315 constants.
26316 * math/s_catanhf.c (__catanhf): Likewise.
26317 * math/s_catanhl.c (__catanhl): Likewise.
26318 * math/s_catanl.c (__catanl): Likewise.
26319
2f38fbfe
JM
26320 [BZ #15394]
26321 * math/s_catan.c (__catan): Calculate imaginary part of result
26322 with log1p not log unless computing log of number close to 0.
26323 * math/s_catanf.c (__catanf): Likewise.
26324 * math/s_catanl.c (__catanl): Likewise.
26325 * math/s_catanh.c (__catanh): Calculate real part of result with
26326 log1p not log unless computing log of number close to 0.
26327 * math/s_catanhf.c (__catanhf): Likewise.
26328 * math/s_catanhl.c (__catanhl): Likewise.
26329 * math/libm-test.inc (catan_test): Add more tests.
26330 (catanh_test): Likewise.
26331 * sysdeps/i386/fpu/libm-test-ulps: Update.
26332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26333
45d69176
SP
263342013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26335
26336 * benchtests/Makefile: Mention files in which fast and slow
26337 paths of math functions are implemented.
26338
87f51853
RM
263392013-04-23 Roland McGrath <roland@hack.frob.com>
26340
26341 * sysdeps/posix/timespec_get.c: New file.
26342
3c026539
AZ
263432013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26344
26345 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26346 POWER.
26347 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26348 for POWER.
26349 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26350 powerpc/power5/fpu folders.
26351 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26352 * benchtests/Makefile: Add modf testcase.
26353 * benchtests/bench-modf.c: New file: Benchmark test for mo
26354
ff491d14
SP
263552013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26356
26357 [BZ #14888]
26358 * time/Makefile (tests): Add tst-strptime-whitespace.
26359 * time/strptime_l.c (get_number): Use ISSPACE.
26360 (__strptime_internal): Likewise.
26361 * time/tst-strptime-whitespace.c: New test case.
26362
7ed3f4e8
AS
263632013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26364
26365 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26366 member.
26367 (_nss_files_init): Set it here.
26368
5c95f7b6
HC
263692013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26370
26371 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26372 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26373 unsigned.
26374
d34c9158
JBG
263752013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26376
26377 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26378
2169712d
SP
263792013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26380
26381 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26382 size just once.
26383
29c5de99
DM
263842013-04-21 David S. Miller <davem@davemloft.net>
26385
26386 * po/ru.po: Update Russion translation from translation project.
26387
ccdad15d
AC
263882013-04-17 Adam Conrad <adconrad@0c3.net>
26389
26390 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26391 and setfsgid.
26392
0f122b8d
CD
263932013-04-17 Carlos O'Donell <carlos@redhat.com>
26394
5c5b07da 26395 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 26396 * configure: Regenerate.
5c5b07da 26397 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
26398 Add example to error message.
26399 * sysdeps/i386/configure: Regenerate.
26400
037714dd
SP
264012013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26402
26403 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26404 slowtan.
26405 * benchtests/cos-inputs: New file.
26406 * benchtests/slowcos-inputs: New file.
26407 * benchtests/slowcos.c: New file.
26408 * benchtests/slowtan-inputs: New file.
26409 * benchtests/slowtan.c: New file.
26410 * benchtests/tan-inputs: New file.
26411
e913141d
RM
264122013-04-16 Roland McGrath <roland@hack.frob.com>
26413
26414 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26415 considered kosher.
26416
a2964074
SP
264172013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26418
4856bcd2
SP
26419 * benchtests/Makefile: Include cppflags-iterator.mk to add
26420 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26421
a2964074
SP
26422 * Makefile.in (bench-clean): New target.
26423 * benchtests/Makefile (bench-clean): Likewise.
26424
9fbf9aca
DH
264252013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26426
26427 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26428
207d1e2a
TS
264292013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26430
26431 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26432
306dfba9
AS
264332013-04-15 Andreas Schwab <schwab@suse.de>
26434
26435 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26437 * nscd/pwdcache.c (cache_addpw): Likewise.
26438 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26439 more than recsize.
26440
206a6699
SP
264412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26442
26443 * benchtests/Makefile (bench): Write all output to
26444 bench-out.tmp together.
26445
0582f6b3
AS
264462013-04-15 Andreas Schwab <schwab@suse.de>
26447
26448 * nscd/nscd.c (main): Don't fork again after closing files.
26449
acb4325f
SP
264502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26451
5cb26d0a
SP
26452 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26453
acb4325f
SP
26454 * benchtests/Rules (bench-deps): Collect dependencies into a
26455 single variable. Add Makefile to dependencies.
26456 ($(objpfx)bench-%.c): Depend on bench-deps.
26457
47792506
RM
264582013-04-12 Roland McGrath <roland@hack.frob.com>
26459 Xavier Roche <roche+kml2@exalead.com>
26460
26461 [BZ #15361]
26462 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26463 just that it's a file descriptor.
26464 * manual/llio.texi (Synchronizing AIO Operations): Update description
26465 for EBADF error from aio_fsync.
26466
8fc1bee5
SP
264672013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26468
26469 * Rules (bench): Move target definition...
26470 * benchtests/Makefile: ... here.
26471
aba5e333
CD
264722013-04-11 Carlos O'Donell <carlos@redhat.com>
26473
26474 * math/libm-test.inc (cos_test): Fix PI/2 test.
26475 (sincos_test): Likewise.
26476 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26477 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26478
273cdee8
AS
264792013-04-11 Andreas Schwab <schwab@suse.de>
26480
6ecec3b6
AS
26481 [BZ #13988]
26482 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26483 accept exponent character only when digits were seen.
26484 * stdio-common/Makefile (tests): Add bug26.
26485 * stdio-common/bug26.c: New file.
26486
273cdee8
AS
26487 [BZ #14293]
26488 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26489 non-freeable.
26490
8da491f5
SP
264912013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26492
01dc6df9
SP
26493 * Makeconfig (rtld-prefix): Define built linker prefix.
26494 * Rules (run-bench): Use it.
26495 * math/Makefile (run-regen-ulps): Likewise.
26496
8da491f5
SP
26497 * Rules (bench): Remove eval.
26498
abe7f530
SP
264992013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26500 Roland McGrath <roland@hack.frob.com>
26501 Ondrej Bilka <neleai@seznam.cz>
26502
26503 [BZ #15346]
26504 * time/getdate.c: Include ctype.h and alloca.h.
26505 (__getdate_r): Trim leading and trailing spaces of input.
26506 * time/tst-getdate.c (tests): Add tests with leading and
26507 trailing spaces.
26508
61c23e62
RM
265092013-04-08 Roland McGrath <roland@hack.frob.com>
26510
26511 [BZ #14280]
26512 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26513 when computing value.
26514
7208a313
CD
265152013-04-06 Carlos O'Donell <carlos@redhat.com>
26516
085b2d41
CD
26517 * math/README.libm-test (How can I generate "libm-test-ulps"?):
26518 Use testrun.sh to run libm tests.
26519
7208a313
CD
26520 [BZ #15309]
26521 * elf/dl-open.c (dl_open_worker): memset all of seen array.
26522
872c0acd
MM
265232013-04-06 Marko Myllynen <myllynen@redhat.com>
26524
26525 [BZ #15264]
26526 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26527
26510bdd
CD
265282013-04-06 Carlos O'Donell <carlos@redhat.com>
26529
26530 * Makefile.in (regen-ulps): New target.
26531 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26532 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26533 [ifneq (no,$(PERL)] (regen-ulps): New target.
26534 [ifeq (no,$(PERL)] (regen-ulps): New target.
26535 * math/libm-test.inc (ulps_file_name): Define.
26536 (output_dir): New variable.
26537 (options): Add "output-dir" option.
26538 (parse_opt): Handle 'o' case.
26539 (main): If output_dir is non-NULL use it as a prefix
26540 otherwise use "".
26541 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26542
a01f19c8
CD
265432013-04-06 Carlos O'Donell <carlos@redhat.com>
26544
26545 [BZ #10060, #10062]
26546 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26547 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26548 fail configure if __sync_val_compare_and_swap is not inlined.
26549 * sysdeps/i386/configure: Regenerate.
26550 * configure.in: Build for i686 when configured for i386.
26551 * configure: Regenerate.
26552 * README: Remove i386 reference.
26553
b7a329a5
CD
265542013-04-06 Carlos O'Donell <carlos@redhat.com>
26555
26556 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26557 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26558
bf0f50df
TS
265592013-04-05 Thomas Schwinge <thomas@codesourcery.com>
26560
ee091edf
TS
26561 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26562 (lmsnanval): New variables.
26563 (F): Add conversion tests.
26564 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26565 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26566
a8b792d6
TS
26567 * stdio-common/tstdiomisc.c (F): Properly collect individual
26568 tests' results.
26569
a1cbf437
TS
26570 [BZ #14686, #15336]
26571 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26572 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26573 Instead, use input NaN values or generate a qNaN by arithmetic
26574 operation. Also fix bugs to comply with the standard.
26575 * math/libm-test.inc (remainder_test): Add more tests.
26576
8b43a0c9
TS
26577 [BZ #15335, #15342]
26578 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26580 input NaN values or generate a qNaN by arithmetic operation.
26581
d91da4ce
TS
26582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26583 unreachable code.
26584
bf0f50df
TS
26585 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26586 definitions.
26587
05e166c8
JM
265882013-04-03 Joseph Myers <joseph@codesourcery.com>
26589
26590 [BZ #14478]
26591 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26592 underflowed result.
26593 * math/s_cexpf.c (__cexpf): Likewise.
26594 * math/s_cexpl.c (__cexpl): Likewise.
26595 * math/libm-test.inc (cexp_test): Add more tests.
26596
1cef1b19
AS
265972013-04-03 Andreas Schwab <schwab@suse.de>
26598
26599 [BZ #15330]
26600 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26601 order arrays from heap if bigger than alloca cutoff.
26602
74d87055
TS
266032013-04-03 Thomas Schwinge <thomas@codesourcery.com>
26604
26605 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26606 (SNAN_TESTS_double): Refer to GCC PR56831.
26607 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26608 GCC PR56828.
26609
d755bba4
SP
266102013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26611
90d5d5bb
SP
26612 * Rules (bench): Move bench.out after the run is complete.
26613
73e0cd5d
SP
26614 * Rules (bench): Echo currently running benchmark.
26615
64aabd4b
SP
26616 * benchtests/Makefile (bench): Add atan and slowatan.
26617 * benchtests/atan-inputs: New file.
26618 * benchtests/slowatan-inputs: New file.
26619 * benchtests/slowatan.c: New file.
26620
c871eccd
SP
26621 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26622 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26623 its value.
26624
d755bba4
SP
26625 [BZ #15305]
26626 * sysdeps/unix/sysv/linux/kernel-features.h
26627 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26628 __ASSUME_XFS_RESTRICTED_CHOWN.
26629 * sysdeps/unix/sysv/linux/pathconf.c
26630 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26631 Save and restore errno.
26632
52ce4860
JM
266332013-04-02 Joseph Myers <joseph@codesourcery.com>
26634
26635 [BZ #15327]
26636 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26637 arguments using __kernel_casinh.
26638 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26639 arguments using __kernel_casinhf.
26640 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26641 arguments using __kernel_casinhl.
26642 * math/libm-test.inc (cacosh_test): Add more tests.
26643 * sysdeps/i386/fpu/libm-test-ulps: Update.
26644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26645
81f311c2
SP
266462013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26647
e7906a47
SP
26648 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26650
92e3664b
SP
26651 * bench/Makefile (bench): Add sin and slowsin.
26652 * benchtests/sin-inputs: New file.
26653 * benchtests/slowsin-inputs: New file.
26654 * benchtests/slowsin.c: New file.
26655
81f311c2
SP
26656 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26657 (bench): Add slowexp and slowpow.
26658 (exp-ITER): Increase iterations.
26659 (pow-ITER): Likewise.
26660 * benchtests/exp-inputs: Change input.
26661 * benchtests/pow-inputs: Likewise.
26662 * benchtests/slowexp-inputs: New file.
26663 * benchtests/slowexp.c: New file.
26664 * benchtests/slowpow-inputs: New file.
26665 * benchtests/slowpow.c: New file.
26666
ab0f1aa9
AZ
266672013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26668
26669 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26670 instructions.
26671 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26672 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26673 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26674 * benchtests/Makefile: Add rint benchtest.
26675 * benchtests/rint-inputs: Input for rint benchtest.
26676
57267616
TS
266772013-04-02 Thomas Schwinge <thomas@codesourcery.com>
26678
26679 * Versions.def (libm): Add GLIBC_2.18.
26680 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26681 hidden libm prototypes.
26682 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26683 * math/Makefile (libm-calls): Add s_issignaling.
26684 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26685 __issignalingf, __issignalingl. Adjust all libm.abilist files.
26686 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26687 declaration.
26688 * math/math.h [__USE_GNU] (issignaling): New macro.
26689 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26690 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26692 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26695 * manual/arith.texi (issignaling): New section.
26696 * manual/libm-err-tab.pl (@all_functions): Update comment.
26697 * math/gen-libm-test.pl (parse_args): Apply special handling for
26698 issignaling.
26699 * math/libm-test.inc (print_float, issignaling_test): New
26700 functions.
26701 (check_float_internal): Add issignaling checks.
26702 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26703 default definition.
26704 * sysdeps/powerpc/math-tests.h: New file.
26705 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26706 tests.
26707 * math/test-snan.c (TEST_FUNC): Likewise.
26708
6142896d
DM
267092013-03-30 David S. Miller <davem@davemloft.net>
26710
26711 * po/de.po: Update from translation team.
26712
ccc8cadf
JM
267132013-03-30 Joseph Myers <joseph@codesourcery.com>
26714
26715 [BZ #10357]
26716 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26717 imaginary part less than 1.0 and real part less than 0.5
26718 specially.
26719 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26720 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26721 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26722 (cacos_test): Add more tests.
26723 (casin_test): Likewise.
26724 (casinh_test): Likewise.
26725 * sysdeps/i386/fpu/libm-test-ulps: Update.
26726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26727
0f6a8d4b
SP
267282013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26729
0d1029de
SP
26730 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26731 ONE with its value.
26732
c2d94018
SP
26733 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26734 (__pow_mp): Replace ONE and MONE with their values.
26735 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26736 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26737 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26738 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26739 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26741
27ec37f1
SP
26742 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26743
a64d7e0e
SP
26744 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26745 (__pow_mp): Replace ZERO and MZERO with their values.
26746 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26747 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26748 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26750 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26751 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26752 (__sqr): Likewise.
26753
d26dd3eb
SP
26754 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26755
0f6a8d4b
SP
26756 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26757
e57b0c61
RM
267582013-03-28 Roland McGrath <roland@hack.frob.com>
26759
26760 * include/stdlib.h [!SHARED] (__call_tls_dtors):
26761 Declare with __attribute__ ((weak)).
26762 * stdlib/exit.c (__libc_atexit) [!SHARED]:
26763 Call __call_tls_dtors only if it's not NULL.
26764
356b3480
RM
267652013-03-28 Roland McGrath <roland@hack.frob.com>
26766
288f7d79
RM
26767 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26768 didn't do it already, then set _dl_phdr and _dl_phnum based on the
26769 magic __ehdr_start linker symbol if it's defined.
26770 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26771 them up here if it was already done.
26772
dc0a0263
RM
26773 * elf/dl-support.c (_dl_phdr): Make pointer to const.
26774 (_dl_aux_init): Use const in cast when setting it.
26775 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26776 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26777 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26778
3d3436ae
RM
26779 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26780 Declare them here.
26781 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26782 * csu/libc-tls.c: Nor here.
26783 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26784
356b3480
RM
26785 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26786 (__libc_message): Never call vsyslog.
26787
b0f1246a
AM
267882013-03-28 Alan Modra <amodra@gmail.com>
26789
26790 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26791 Define as empty.
26792 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26793 Likewise.
26794
fbbe2b9a
AZ
267952013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26796
26797 [BZ #15214]
26798 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26799 underflow.
26800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26801
1728ab37
SP
268022013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26803
7a86be6e
SP
26804 [BZ #15304]
26805 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26806 Don't add gid passed as argument.
26807
1728ab37
SP
26808 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26809
3a7182a1
JM
268102013-03-27 Joseph Myers <joseph@codesourcery.com>
26811
26812 [BZ #15307]
26813 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26814 imaginary part between 1.0 and 1.5 and real part less than 0.5
26815 specially.
26816 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26817 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26818 * math/libm-test.inc (cacos_test): Add more tests.
26819 (casin_test): Likewise.
26820 (casinh_test): Likewise.
26821 * sysdeps/i386/fpu/libm-test-ulps: Update.
26822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26823
6f2e90e7
SP
268242013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26825
5739f705
SP
26826 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26827 constants.
26828 (norm): Likewise.
26829 (denorm): Likewise.
26830 (__dbl_mp): Likewise.
26831 (add_magnitudes): Likewise.
26832 (sub_magnitudes): Likewise.
26833 (__add): Likewise.
26834 (__sub): Likewise.
26835 (__mul): Likewise.
26836 (__sqr): Likewise.
26837 (__inv): Likewise.
26838 (__dvd): Likewise.
26839
e375e83d
SP
26840 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26841 commented code.
26842 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26843 (__dubcos): Likewise.
26844 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26845 (__ieee754_acos): Likewise.
26846 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26847 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26848 (__exp1): Likewise.
26849 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26851 (log1): Likewise.
26852 (my_log2): Likewise.
26853 (checkint): Likewise.
26854 * sysdeps/ieee754/dbl-64/e_remainder.c
26855 (__ieee754_remainder): Likewise.
26856 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26858 (bsloww): Likewise.
26859 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26860
6f2e90e7
SP
26861 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26863 MANTISSA_STORE_T to store computations on mantissa. Use
26864 macros for rounding and division.
26865 (denorm): Likewise.
26866 (__dbl_mp): Likewise.
26867 (add_magnitudes): Likewise.
26868 (sub_magnitudes): Likewise.
26869 (__mul): Likewise.
26870 (__sqr): Likewise.
26871 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26872 powers of two in terms of TWOPOW macro.
26873 (mp_no): Make type of mantissa as MANTISSA_T.
26874 [!RADIXI]: Define RADIXI.
26875 [!TWO52]: Define TWO52.
26876 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26877
fce14d4e
AZ
268782013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26879
26880 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26881 llroundl symbol when building for PPC32.
26882
9ad027fb
MW
268832013-03-24 Mark H Weaver <mhw@netris.org>
26884
26885 * manual/arith.texi (Normalization Functions): Fix prototypes for
26886 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26887
e42a38dd
AZ
268882013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26889
26890 [BZ #13889]
26891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26892 high value to check if expl overflow.
26893 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26894 to check for underflow and overflow.
26895 * math/libm-test.inc: Add exp test.
26896
2e0fb521
DL
268972013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26898
26899 [BZ #11120]
26900 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26901 with NOT_IN_libc.
26902
b5784d95
AZ
269032013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26904
26905 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26906 symbol.
26907
5aa4a1a1
TS
269082013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26909
bdef0be7
TS
26910 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26911 wrap blocks consisting of several statements.
26912
5aa4a1a1
TS
26913 * sysdeps/generic/math-tests.h: New file.
26914 * sysdeps/i386/fpu/math-tests.h: Likewise.
26915 * math/test-snan.c: Include it.
26916 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26917
98c48fe5
JM
269182013-03-21 Joseph Myers <joseph@codesourcery.com>
26919
26920 [BZ #15285]
26921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26922 (__ieee754_j0l): Do not improve calculations using cos of twice
26923 input for inputs above LDBL_MAX / 2.0L.
26924 (__ieee754_y0l): Likewise.
26925 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26926 (__ieee754_j1l): Do not improve calculations using cos of twice
26927 input for inputs above LDBL_MAX / 2.0L.
26928 (__ieee754_y1l): Likewise.
26929 * math/libm-test.inc (j0_test): Add another test.
26930 (j1_test): Likewise.
26931 (y0_test): Likewise.
26932 (y1_test): Likewise.
26933 * sysdeps/i386/fpu/libm-test-ulps: Update.
26934
3775a8bc
SP
269352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26936
26937 * Rules ($(objpfx)bench-%.c): Include code from a C source
26938 file.
26939
0a1b2ae6
JM
269402013-03-21 Joseph Myers <joseph@codesourcery.com>
26941
26942 [BZ #15287]
26943 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26944 imaginary part 1.0 and real part less than 0.5 specially.
26945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26947 * math/libm-test.inc (cacos_test): Add more tests.
26948 (casin_test): Likewise.
26949 (casinh_test): Likewise.
26950 * sysdeps/i386/fpu/libm-test-ulps: Update.
26951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26952
b33d4ce4
SP
269532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26954
26955 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26956 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26957
bef0b507
JM
269582013-03-20 Joseph Myers <joseph@codesourcery.com>
26959
26960 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26961 * config.make.in (config-cflags-sse4): Remove variable.
26962 (config-cflags-avx): Likewise.
26963 (config-cflags-sse2avx): Likewise.
26964 (config-cflags-novzeroupper): Likewise.
26965 (config-asflags-i686): Likewise.
26966 (have-mfma4): Likewise.
26967 (have-as-vis3): Likewise.
26968 (MIG): Likewise.
26969 * configure.in (MIG): Do not AC_SUBST.
26970 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26971 (libc_cv_cc_sse4): Do not AC_SUBST.
26972 (libc_cv_cc_avx): Likewise.
26973 (libc_cv_cc_sse2avx): Likewise.
26974 (libc_cv_cc_novzeroupper): Likewise.
26975 (libc_cv_cc_fma4): Likewise.
26976 (libc_cv_as_i686): Likewise.
26977 (libc_cv_sparc_as_vis3): Likewise.
26978 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26979 LIBC_CONFIG_VAR.
26980 (config-asflags-i686): Likewise.
26981 (config-cflags-avx): Likewise.
26982 (config-cflags-sse2avx): Likewise.
26983 (have-mfma4): Likewise.
26984 (config-cflags-novzeroupper): Likewise.
26985 * sysdeps/mach/configure.in (MIG): Likewise.
26986 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26987 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26988 LIBC_CONFIG_VAR.
26989 (config-cflags-avx): Likewise.
26990 (config-cflags-sse2avx): Likewise.
26991 (have-mfma4): Likewise.
26992 (config-cflags-novzeroupper): Likewise.
26993 * configure: Regenerated.
26994 * sysdeps/i386/configure: Likewise.
26995 * sysdeps/mach/configure: Likewise.
26996 * sysdeps/sparc/configure: Likewise.
26997 * sysdeps/x86_64/configure: Likewise.
26998
912cc4b3
RM
269992013-03-20 Roland McGrath <roland@hack.frob.com>
27000
27001 [BZ #14812]
27002 * locale/programs/localedef.c (options): Put N_ translation marker
27003 on argument names, not just descriptions.
27004
04eed2b0
MS
270052013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27006
27007 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27008
a065ceff
OB
270092013-03-20 Ondřej Bílka <neleai@seznam.cz>
27010
9bb2a810 27011 [BZ #14176]
a065ceff
OB
27012 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27013
a600e5ce
RM
270142013-03-19 Roland McGrath <roland@hack.frob.com>
27015
27016 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27017 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27018 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27019 [!BEFORE_ABORT] (before_abort): New function.
27020 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27021 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27022 (writev_for_fatal): New function.
27023 (WRITEV_FOR_FATAL): New macro; call that.
27024 (backtrace_and_maps): New function.
27025 (BEFORE_ABORT): New macro; call that.
27026 (struct str_list): Type removed.
27027 (__libc_message, __libc_fatal): Functions removed.
27028 Include <sysdeps/posix/libc_fatal.c> instead.
27029
6b18bea6
JM
270302013-03-19 Joseph Myers <joseph@codesourcery.com>
27031
27032 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27033 constants.
27034 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27035 double constants.
27036
aaa8cb4b
AS
270372013-03-19 Andreas Schwab <schwab@suse.de>
27038
44673770
AS
27039 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27040 * sysdeps/gnu/configure: Regenerate.
27041
aaa8cb4b
AS
27042 * configure.in: Substitute libc_cv_rtlddir.
27043 * configure: Regenerate.
27044 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27045 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27046 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27047 * elf/Makefile (install-others, CFLAGS-interp.c)
27048 (ldso_install, common-ldd-rewrite): Likewise.
27049 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27050 $(inst_slibdir)/$(rtld-installed-name).
27051 * scripts/rellns-sh: Add -p option.
27052 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27053 for source.
27054
d3cfc668
SP
270552013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27056
27057 * manual/nptl.texi: Renamed to ...
27058 * manual/threads.texi: ... this.
27059 * manual/Makefile (chapters): Update.
27060
0e2b9cdd
RM
270612013-03-18 Roland McGrath <roland@hack.frob.com>
27062
27063 [BZ #14812]
27064 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27065 on argument names, not just descriptions.
0e2b9cdd
RM
27066 * malloc/memusagestat.c (options): Likewise.
27067 * nss/getent.c (options): Likewise.
63270c24
RM
27068
270692013-03-18 Benno Schulenberg <bensberg@justemail.net>
27070
27071 [BZ #14812]
27072 * iconv/iconv_prog.c (options): Put N_ translation marker
27073 on argument names, not just descriptions.
27074 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 27075
b2e1393c
OB
270762013-03-18 Ondrej Bilka <neleai@seznam.cz>
27077
27078 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27079 implementation which is faster on all x86_64 architectures.
27080 Tested on AMD, Intel Nehalem, SNB, IVB.
27081 * sysdeps/x86_64/strnlen.S: Likewise.
27082
27083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27084 Remove all multiarch strlen and strnlen versions.
27085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27086 Remove strlen and strnlen related parts.
27087
27088 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27089 Inline strlen part.
27090 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27091
27092 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27093 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27094 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27095 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27096 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27097 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27098
ec4ff04d
CD
270992013-03-17 Carlos O'Donell <carlos@redhat.com>
27100
27101 * manual/memory.texi (Malloc Tunable Parameters):
27102 Sort parameters alphabetically. Add comments for missing entries.
27103
cd18e90a
DM
271042013-03-17 David S. Miller <davem@davemloft.net>
27105
27106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27107
2a185d32
JM
271082013-03-16 Joseph Myers <joseph@codesourcery.com>
27109
d2f9799e
JM
27110 [BZ #15283]
27111 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27112 for arguments at most half maximum finite value.
27113 * math/libm-test.inc (j0_test): Add more tests.
27114 (j1_test): Likewise.
27115 (y0_test): Likewise.
27116 (y1_test): Likewise.
27117 * sysdeps/i386/fpu/libm-test-ulps: Update.
27118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27119
2a185d32
JM
27120 [BZ #14155]
27121 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27122 1 / x and functions P and Q for arguments above 0x1p256L.
27123 (__ieee754_y0l): Likewise.
27124 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27125 (__ieee754_y1l): Likewise.
27126 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27127 (j1_test): Likewise.
27128 (y0_test): Likewise.
27129 (y1_test): Likewise.
27130
6cbec759
TS
271312013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27132
27133 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27134 variable.
27135
bc16e260
RM
271362013-03-15 Roland McGrath <roland@hack.frob.com>
27137
aefc9b8c
RM
27138 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27139 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27140 zero since it's initialized to EXEC_PAGESIZE.
27141
bc16e260
RM
27142 * sysdeps/unix/sysv/linux/ldsodefs.h
27143 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27144 * sysdeps/generic/ldsodefs.h: ... here.
27145
a57da955
TS
271462013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27147
af00a34d
TS
27148 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27149
495ded2c
TS
27150 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27151 math/test-snan.c.
27152 * math/test-snan.c: Renamed from
27153 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27154 * math/Makefile (tests): Add test-snan.
27155 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27156 test-powerpc-snan.
27157
777b0332
TS
27158 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27159 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27160 functions.
27161 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27162 __builtin_nan family of functions.
27163 * math/libm-test.inc (initialize): Initialize qnan_value with
27164 __builtin_nan family of functions.
27165 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27166 Remove variables.
27167 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27168 Remove functions.
27169 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27170 storage class. Initialize qNaN_var and sNaN_var with
27171 __builtin_nan and __builtin_nans families of functions,
27172 respectively.
27173
64d063b8
TS
27174 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27175 (sqrt_test): Remove duplicate test with qNaN input.
27176 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27177 (round_test, signbit_test, significand_test): Note missing +/-Inf
27178 as well as qNaN tests.
27179
67e971f1
TS
27180 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27181 qNaN_var. Fix a few strings, too.
27182 * math/libm-test.inc (nan_value): Rename to qnan_value.
27183 * math/gen-libm-test.pl (%beautify): Adjust to that.
27184 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27185 * math/test-misc.c (main): Likewise.
27186 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27187 to __qnan_bytes, and __qnan_union, respectively.
27188 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27189 Likewise.
27190 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27191 and lqnanval, respectively.
27192 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27193 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27194 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27195 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27196
64487e12
TS
27197 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27198 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27199 doubles.
27200
e015e27b
TS
27201 * math/test-misc.c (main): Fix copy'n'pastos.
27202 * misc/tst-efgcvt.c (special): Likewise.
27203
a57da955
TS
27204 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27205 Remove declarations.
27206
1e380345
SP
272072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27208
27209 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27210 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27211 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27212 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27213
ef26eece
AZ
272142013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27215
27216 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27217 macro to return vdso values correctly in IFUNC implementations.
27218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27219 Optimization by using IFUNC.
27220
8cfdb7e0
SP
272212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27222 Richard Henderson <rth@redhat.com>
27223 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27224
27225 * Makefile.in (bench): New target.
27226 * NEWS: Mention the benchmark framework.
27227 * Rules (bench): Likewise.
27228 (binaries-bench): Generate binaries for functions to
27229 benchmark.
27230 * benchtests/Makefile: New makefile for benchmark tests.
27231 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27232 programs.
27233 * benchtests/exp-inputs: New input file for EXP function.
27234 * benchtests/pow-inputs: New input file for POW function.
27235 * scripts/bench.pl: New script to generate source files for
27236 benchmark programs.
27237
bcda9880
SP
272382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27239
d22ca8cd
SP
27240 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27241 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27242 computations on mantissa. Use macros for rounding and
27243 division.
27244 (denorm): Likewise.
27245 (__dbl_mp): Likewise.
27246 (add_magnitudes): Likewise.
27247 (sub_magnitudes): Likewise.
27248 (__mul): Likewise.
27249 (__sqr): Likewise.
27250 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27251 powers of two in terms of TWOPOW macro.
27252 (mp_no): Make type of mantissa as MANTISSA_T.
27253 [!RADIXI]: Define RADIXI.
27254 [!TWO52]: Define TWO52.
27255 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27256
bcda9880
SP
27257 * manual/nptl.texi (cindex): Modify threads to pthreads.
27258
06d5adfb
JM
272592013-03-15 Joseph Myers <joseph@codesourcery.com>
27260
27261 * sysdeps/x86_64/preconfigure: Regenerated.
27262
41c7328e
JM
272632013-03-14 Joseph Myers <joseph@codesourcery.com>
27264
27265 [BZ #14155]
27266 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27267 0x1p28 and above.
27268 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27269 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27270 0x1p28 and above.
27271 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27272 * math/libm-test.inc (j0_test): Do not allow one spurious
27273 underflow exception.
27274 (y1_test): Likewise.
27275
e25cfa60
SP
272762013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27277
0409959c
SP
27278 * manual/Makefile (chapters): Add nptl.
27279 * manual/debug.texi (Debugging Support): Add link to Threads
27280 chapter.
27281 * manual/nptl.texi: New file.
27282
e25cfa60
SP
27283 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27284
58a1335e
PB
272852013-03-14 Petr Baudis <pasky@ucw.cz>
27286
27287 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27288 for non-NULL pointer before the memory validity test. Pointed
27289 out by Holger Brunck <holger.brunck@keymile.com>.
27290
9dc7c64f
AS
272912013-03-13 Andreas Schwab <schwab@suse.de>
27292
27293 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27294 instead of .os.
27295
54206aa6
JM
272962013-03-13 Joseph Myers <joseph@codesourcery.com>
27297
27298 * timezone/zic.c: Update from tzcode 2013b.
27299
e98cdb38
CD
273002013-03-12 Carlos O'Donell <carlos@redhat.com>
27301
27302 * manual/install.texi (Configuring and compiling):
27303 Mention i686 and i586.
27304 * INSTALL: Regenerate.
27305
9967e003
RM
273062013-03-12 Roland McGrath <roland@hack.frob.com>
27307
27308 * sysdeps/init_array/elf-init.c: New file.
27309 * csu/elf-init.c
27310 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27311 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27312
27313 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27314 __gmon_start__ as global, but as static with a .preinit_array pointer.
27315 * sysdeps/init_array/gmon-start.c: New file. Use that.
27316 * sysdeps/init_array/crti.S: New file, empty except for comments.
27317 * sysdeps/init_array/crtn.S: Likewise.
27318
e6b5a293 273192013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
27320
27321 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27322 definining bcopy.
80f844c9
OB
27323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27324 Remove Prefer_SSE_for_memop.
27325 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27326 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27327 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
27328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27329 memset-x86-64.
80f844c9 27330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 27331 Remove bzero, memset ifunc support.
80f844c9
OB
27332 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27333 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27334 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27335 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27336
fb6b0fcb
AS
273372013-03-11 Andreas Schwab <schwab@suse.de>
27338
27339 [BZ #15234]
27340 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27341 by SHLIB_COMPAT.
27342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27343 (GLIBC_2.16): Remove pthread_atfork.
27344
3e6bd4b1
PP
273452013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27346
27347 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27348 (ptestcases.h): Likewise.
27349
222d7f00
RM
273502013-03-08 Roland McGrath <roland@hack.frob.com>
27351
27352 * Makeconfig ($(common-objpfx)config.status): Depend on
27353 sysdeps/*/preconfigure{,.in} too.
27354
1ba4f030
JM
273552013-03-08 Joseph Myers <joseph@codesourcery.com>
27356
a222d91a
JM
27357 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27358 (__free_hook): Use void * instead of __malloc_ptr_t.
27359 (__malloc_hook): Likewise.
27360 (__realloc_hook): Likewise.
27361 (__memalign_hook): Likewise.
27362 (__after_morecore_hook): Likewise.
27363 * malloc/arena.c (save_malloc_hook): Likewise.
27364 (save_free_hook): Likewise.
27365 * malloc/hooks.c (malloc_hook_ini): Likewise.
27366 (realloc_hook_ini): Likewise.
27367 (memalign_hook_ini): Likewise.
27368 * malloc/malloc.c (malloc_hook_ini): Likewise.
27369 (realloc_hook_ini): Likewise.
27370 (memalign_hook_ini): Likewise.
27371 (__free_hook): Likewise.
27372 (__malloc_hook): Likewise.
27373 (__realloc_hook): Likewise.
27374 (__memalign_hook): Likewise.
27375 (__libc_malloc): Likewise.
27376 (__libc_free): Likewise.
27377 (__libc_realloc): Likewise.
27378 (__libc_memalign): Likewise.
27379 (__libc_valloc): Likewise.
27380 (__libc_pvalloc): Likewise.
27381 (__libc_calloc): Likewise.
27382 (__posix_memalign): Likewise.
27383 * malloc/morecore.c (__sbrk): Likewise.
27384 (__default_morecore): Likewise.
27385
5cc45e10
JM
27386 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27387
dd54b864
JM
27388 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27389 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27390 __malloc_ptrdiff_t.
27391
1ba4f030
JM
27392 * malloc/malloc.h (__malloc_size_t): Remove macro.
27393 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27394 __malloc_size_t.
27395 (old_memalign_hook): Likewise.
27396 (old_realloc_hook): Likewise.
27397 (struct hdr): Likewise.
27398 (flood): Likewise.
27399 (mallochook): Likewise.
27400 (memalignhook): Likewise.
27401 (reallochook): Likewise.
27402 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27403 (tr_old_realloc_hook): Likewise.
27404 (tr_old_memalign_hook): Likewise.
27405 (tr_mallochook): Likewise.
27406 (tr_reallochook): Likewise.
27407 (tr_memalignhook): Likewise.
27408
edf66e57
AZ
274092013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27410
27411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27412 default_ldbl_pack and using as default implementation.
27413 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27414 implementation.
27415 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27416 redundant definition.
27417 (ldbl_insert_mantissa): Likewise.
27418 (ldbl_canonicalize): Likewise.
27419 (ldbl_nearbyint): Likewise.
27420 (ldbl_pack): Rename to ldbl_pack_ppc.
27421 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27422 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27423 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27424
6d9145d8
SP
274252013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27426
27427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27428 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27429 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27430 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27432 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27433 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27434 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27435
4dd4e157
AJ
274362013-03-07 Andreas Jaeger <aj@suse.de>
27437
27438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27439 bits/mman-linux.h.
27440
adbb8027
SP
274412013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27442
ce544b5b
SP
27443 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27444 Include mpa.h and declare __MPEXP.
27445 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27446 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27447 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27448 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27449 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27450 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27451 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27452
4cc149fd
SP
27453 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27454 (__slowpow): Use long double EXPL and LOGL functions to
27455 compute POW.
27456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27457 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27458 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27459 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27460 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27461 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27462
e6ebd4a7
SP
27463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27464 intermediate variable to calculate exponent.
27465 (__sqr): Likewise.
27466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27467 Likewise.
27468 (__sqr): Likewise.
27469
82a9811d
SP
27470 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27471 [!NO__SQR]: Define __sqr.
27472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27473 and NO__SQR. Remove all code except __mul and __sqr. Include
27474 sysdeps/ieee754/dbl-64/mpa.c.
27475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27476
adbb8027
SP
27477 [BZ #12723]
27478 * posix/Makefile (tests): Add tst-pathconf.
27479 * posix/tst-pathconf.c: New test case.
27480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27481 _PC_PIPE_BUF.
27482 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27483
39120df9
PF
274842013-03-06 Patsy Franklin <pfrankli@redhat.com>
27485
27486 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27487
67525cb8
AJ
274882013-03-06 Andreas Jaeger <aj@suse.de>
27489
664a9ce4
AJ
27490 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27491 definition via __MAP_ANONYMOUS.
27492
8e39047d
AJ
27493 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27494 it's not part of Linux headers.
27495
67525cb8
AJ
27496 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27497 (MAP_HUGE_MASK): Define.
27498
27499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27500 Define.
27501 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27502 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27503 Define.
27504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27505 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27506 Define.
27507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27508 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27509 Define.
27510 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27511
27512 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27513 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27514 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27515 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27516 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27517 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27518
27519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27520 Handle f2fs.
27521
27522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27523 Handle f2fs and efivarfs.
27524
27525 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27526 f2fs.
27527
27528 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27529 (EFIVARFS_MAGIC): Add.
27530 (F2FS_LINK_MAX): Add.
27531
e1b42695
PP
275322013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27533
27534 * stdio-common/vfprintf.c: Replace __builtin_expect with
27535 __glibc_unlikely.
27536
2d67d91a
JM
275372013-03-06 Joseph Myers <joseph@codesourcery.com>
27538
27539 [BZ #13550]
27540 * sysdeps/generic/bp-sym.h: Remove file.
27541 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27542 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27543 <bp-sym.h> and <bp-asm.h>.
27544 (__longjmp): Don't use BP_SYM.
27545 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27546 and <bp-asm.h>.
27547 (memcpy): Don't use BP_SYM.
27548 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27549 <bp-sym.h> and <bp-asm.h>.
27550 (memcpy): Don't use BP_SYM.
27551 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27552 <bp-asm.h>.
27553 (memcpy): Don't use BP_SYM.
27554 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27555 <bp-asm.h>.
27556 (memset): Don't use BP_SYM.
27557 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27558 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27559 (__bzero): Don't use BP_SYM.
27560 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27561 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27562 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27563 <bp-sym.h> and <bp-asm.h>.
27564 (memcmp): Don't use BP_SYM. Remove comment about bounded
27565 pointers.
27566 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27567 <bp-sym.h> and <bp-asm.h>.
27568 (memcpy): Don't use BP_SYM.
27569 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27570 <bp-sym.h> and <bp-asm.h>.
27571 (memset): Don't use BP_SYM.
27572 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27573 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27574 (__bzero): Don't use BP_SYM.
27575 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27576 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27577 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27578 <bp-sym.h> and <bp-asm.h>.
27579 (strncmp): Don't use BP_SYM. Remove comment about bounded
27580 pointers.
27581 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27582 <bp-sym.h> and <bp-asm.h>.
27583 (memcpy): Don't use BP_SYM.
27584 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27585 <bp-sym.h> and <bp-asm.h>.
27586 (memset): Don't use BP_SYM.
27587 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27588 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27589 (__bzero): Don't use BP_SYM.
27590 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27591 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27592 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27593 <bp-sym.h> and <bp-asm.h>.
27594 (__memchr): Don't use BP_SYM.
27595 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27596 <bp-sym.h> and <bp-asm.h>.
27597 (memcmp): Don't use BP_SYM. Remove comment about bounded
27598 pointers.
27599 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27600 <bp-sym.h> and <bp-asm.h>.
27601 (memcpy): Don't use BP_SYM.
27602 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27603 <bp-sym.h> and <bp-asm.h>.
27604 (__mempcpy): Don't use BP_SYM.
27605 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27606 <bp-sym.h> and <bp-asm.h>.
27607 (__memrchr): Don't use BP_SYM.
27608 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27609 <bp-sym.h> and <bp-asm.h>.
27610 (memset): Don't use BP_SYM.
27611 (__bzero): Likewise.
27612 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27613 <bp-sym.h> and <bp-asm.h>.
27614 (__rawmemchr): Don't use BP_SYM.
27615 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27616 <bp-sym.h> and <bp-asm.h>.
27617 (__STRCMP): Don't use BP_SYM.
27618 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27619 <bp-sym.h> and <bp-asm.h>.
27620 (strchr): Don't use BP_SYM.
27621 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27622 <bp-sym.h> and <bp-asm.h>.
27623 (__strchrnul): Don't use BP_SYM.
27624 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27625 <bp-sym.h> and <bp-asm.h>.
27626 (strlen): Don't use BP_SYM.
27627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27628 <bp-sym.h> and <bp-asm.h>.
27629 (strncmp): Don't use BP_SYM. Remove comment about bounded
27630 pointers.
27631 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27632 <bp-sym.h> and <bp-asm.h>.
27633 (__strnlen): Don't use BP_SYM.
27634 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27635 <bp-sym.h> and <bp-asm.h>.
27636 (__GI__setjmp): Don't use BP_SYM.
27637 (_setjmp): Likewise.
27638 (__sigsetjmp): Likewise.
27639 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27640 (L(start_addresses)): Don't use BP_SYM.
27641 (_start): Likewise.
27642 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27643 <bp-asm.h>.
27644 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27645 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27646 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27647 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27648 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27649 <bp-asm.h>.
27650 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27651 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
27652 about bounded pointers.
27653 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27654 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27655 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27656 <bp-asm.h>.
27657 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27658 about bounded pointers. Remove GKM FIXME comments.
27659 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27660 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27661 <bp-asm.h>.
27662 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27663 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
27664 Remove GKM FIXME comments.
27665 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27666 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27667 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27668 <bp-asm.h>.
27669 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
27670 about bounded pointers. Remove GKM FIXME comment.
27671 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27672 and <bp-asm.h>.
27673 (strncmp): Don't use BP_SYM. Remove comment about bounded
27674 pointers.
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27676 <bp-sym.h> and <bp-asm.h>.
27677 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27679 <bp-sym.h> and <bp-asm.h>.
27680 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27681 comment.
27682
cdcf361f
PP
276832013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27684
27685 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27686 call free(NULL).
27687
3c4a2b15
DM
276882013-03-05 David S. Miller <davem@davemloft.net>
27689
27690 * po/es.po: Update from translation team.
27691
cdcf361f 276922013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
27693
27694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27695 <bits/mman-linux.h>.
27696 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27697 is fine.
27698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27699 <bits/mman-linux.h> to end of file.
27700 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27701 is fine.
27702 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27703 <bits/mman-linux.h> to end of file.
27704 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27705 is fine.
27706 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27707 <bits/mman-linux.h> to end of file.
27708
27709 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27710 (MCL_CURRENT, MCL_FUTURE): Define here.
27711
5f67c04f
AK
277122013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27713
8a4473cc 27714 [BZ #15232]
5f67c04f
AK
27715 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27716 attribute_hidden.
27717 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27718
c3e94a95
AK
277192013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27720
27721 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27722 fourth parameter needed for rt_sigprocmask syscall.
27723 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27724 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27725 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27726 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27727 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27728 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27729
cfb6382a
JM
277302013-03-04 Joseph Myers <joseph@codesourcery.com>
27731
27732 [BZ #13550]
27733 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27734 comment about bounded pointers.
27735 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27736 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27737
539d8e01
AJ
277382013-03-04 Andreas Jaeger <aj@suse.de>
27739
27740 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27741 common definitions.
27742
27743 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27744 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27745 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27746 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
27748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27749
2e167a70 277502013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
27751
27752 [BZ #15055]
27753 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27754 __ieee754_sqrl instead of __sqrl.
27755
68508633
JM
277562013-03-01 Joseph Myers <joseph@codesourcery.com>
27757
27758 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27759 * sysdeps/powerpc/fpu_control.h: ... here.
27760 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27761 * sysdeps/powerpc/bits/fenvinline.h: ... here.
27762 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27763 * sysdeps/powerpc/bits/mathinline.h: ... here.
27764
7775448e
RM
277652013-03-01 Roland McGrath <roland@hack.frob.com>
27766
27767 * elf/dl-hwcaps.c (_dl_important_hwcaps):
27768 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27769 to just [NEED_DL_SYSINFO_DSO].
27770 * elf/dl-support.c: Likewise.
27771 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27772 * elf/rtld.c (dl_main): Likewise.
27773 * elf/setup-vdso.h (setup_vdso): Likewise.
27774 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27775 * sysdeps/unix/sysv/linux/dl-sysdep.c
27776 (_dl_discover_osversion): Likewise.
27777
4e9b5995
CD
277782013-03-01 Carlos O'Donell <carlos@redhat.com>
27779
27780 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27781 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27782
e23872c8
SP
277832013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
27784
e5c74c63
SP
27785 * NEWS: Mention libm performance improvements and non-x86 PI
27786 futex support.
27787
e23872c8
SP
27788 * csu/libc-start.c (__pthread_initialize_minimal): Change
27789 function arguments.
27790 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27791
b5510883
JM
277922013-02-28 Joseph Myers <joseph@codesourcery.com>
27793
27794 [BZ #13550]
27795 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27796 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27797 <bp-sym.h> and <bp-asm.h>.
27798 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27799 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27800 and <bp-asm.h>.
27801 (memcpy): Don't use BP_SYM.
27802 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27803 <bp-asm.h>.
27804 (__mpn_add_n): Don't use BP_SYM.
27805 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27806 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27807 and <bp-asm.h>.
27808 (__mpn_addmul_1): Don't use BP_SYM.
27809 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27810 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27811 <bp-sym.h>.
27812 (_setjmp): Don't use BP_SYM.
27813 (__novmx_setjmp): Likewise.
27814 (__GI__setjmp): Likewise.
27815 (__vmx_setjmp): Likewise.
27816 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27817 <bp-sym.h>.
27818 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27819 (__bzero): Don't use BP_SYM.
27820 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27821 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27822 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27823 <bp-sym.h> and <bp-asm.h>.
27824 (memcpy): Don't use BP_SYM.
27825 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27826 <bp-sym.h> and <bp-asm.h>.
27827 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27828 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27829 <bp-sym.h> and <bp-asm.h>.
27830 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27831 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27832 <bp-asm.h>.
27833 (__mpn_lshift): Don't use BP_SYM.
27834 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27835 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27836 <bp-asm.h>.
27837 (memset): Don't use BP_SYM.
27838 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27839 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27840 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27841 <bp-asm.h>.
27842 (__mpn_mul_1): Don't use BP_SYM.
27843 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27845 <bp-sym.h> and <bp-asm.h>.
27846 (memcmp): Don't use BP_SYM.
27847 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27848 <bp-sym.h> and <bp-asm.h>.
27849 (memcpy): Don't use BP_SYM.
27850 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27851 <bp-sym.h> and <bp-asm.h>.
27852 (memset): Don't use BP_SYM.
27853 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27854 <bp-sym.h> and <bp-asm.h>.
27855 (strncmp): Don't use BP_SYM.
27856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27857 <bp-sym.h> and <bp-asm.h>.
27858 (memcpy): Don't use BP_SYM.
27859 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27860 <bp-sym.h> and <bp-asm.h>.
27861 (memset): Don't use BP_SYM.
27862 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27863 <bp-sym.h> and <bp-asm.h>.
27864 (__memchr): Don't use BP_SYM.
27865 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27866 <bp-sym.h> and <bp-asm.h>.
27867 (memcmp): Don't use BP_SYM.
27868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27869 <bp-sym.h> and <bp-asm.h>.
27870 (memcpy): Don't use BP_SYM.
27871 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27872 <bp-sym.h> and <bp-asm.h>.
27873 (__mempcpy): Don't use BP_SYM.
27874 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27875 <bp-sym.h> and <bp-asm.h>.
27876 (__memrchr): Don't use BP_SYM.
27877 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27878 <bp-sym.h> and <bp-asm.h>.
27879 (memset): Don't use BP_SYM.
27880 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27881 <bp-sym.h> and <bp-asm.h>.
27882 (__rawmemchr): Don't use BP_SYM.
27883 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27884 <bp-sym.h> and <bp-asm.h>.
27885 (__STRCMP): Don't use BP_SYM.
27886 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27887 <bp-sym.h> and <bp-asm.h>.
27888 (strchr): Don't use BP_SYM.
27889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27890 <bp-sym.h> and <bp-asm.h>.
27891 (__strchrnul): Don't use BP_SYM.
27892 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27893 <bp-sym.h> and <bp-asm.h>.
27894 (strlen): Don't use BP_SYM.
27895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27896 <bp-sym.h> and <bp-asm.h>.
27897 (strncmp): Don't use BP_SYM.
27898 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27899 <bp-sym.h> and <bp-asm.h>.
27900 (__strnlen): Don't use BP_SYM.
27901 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27902 <bp-asm.h>.
27903 (__mpn_rshift): Don't use BP_SYM.
27904 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27905 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27906 <bp-sym.h> and <bp-asm.h>.
27907 (__sigsetjmp): Don't use BP_SYM.
27908 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27909 (L(start_addresses)): Don't use BP_SYM.
27910 (_start): Likewise.
27911 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27912 <bp-asm.h>.
27913 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27914 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27915 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27916 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27917 <bp-asm.h>.
27918 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27919 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27920 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27921 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27922 <bp-asm.h>.
27923 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27924 comments.
27925 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27926 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27927 <bp-asm.h>.
27928 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27929 FIXME comments.
27930 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27931 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27932 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27933 <bp-asm.h>.
27934 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27935 comment.
27936 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27937 and <bp-asm.h>.
27938 (strncmp): Don't use BP_SYM,
27939 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27940 <bp-asm.h>.
27941 (__mpn_sub_n): Don't use BP_SYM.
27942 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27943 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27944 and <bp-asm.h>.
27945 (__mpn_submul_1): Don't use BP_SYM.
27946 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27948 <bp-sym.h> and <bp-asm.h>.
27949 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27951 <bp-sym.h> and <bp-asm.h>.
27952 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27953 comment.
27954
8d19fe64
SP
279552013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27956
27957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27958 Use ZK to minimize writes to Z.
27959 (sub_magnitudes): Simplify code a bit.
27960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27961 Use ZK to minimize writes to Z.
27962 (sub_magnitudes): Simplify code a bit.
27963
85bd816a
RM
279642013-02-27 Roland McGrath <roland@hack.frob.com>
27965
27966 * csu/gmon-start.c: Add special exception to license text.
27967
b5977bf2
RH
279682013-02-27 Richard Henderson <rth@redhat.com>
27969
27970 * scripts/config.guess: Update from config.git.
27971 * scripts/config.sub: Likewise.
27972
11d6e2f2
SP
279732013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27974
09c14ed2
SP
27975 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27976
a688864e
SP
27977 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27978
6295157a
SP
27979 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27980
b8de2202
SP
27981 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27982
11d6e2f2
SP
27983 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27984
7e80ddb8
RM
279852013-02-26 Roland McGrath <roland@hack.frob.com>
27986
27987 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27988 [$(build-shared = yes].
7e80ddb8 27989
7da6d9ed
SP
279902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27991
45f05884
SP
27992 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27993 (__mul): Reduce iterations for calculating mantissa.
27994
2236d359
SP
27995 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27996 MPTWO.
27997 (__mpranred): Likewise.
27998
7da6d9ed
SP
27999 [BZ #15160]
28000 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28001 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28002
b7688c42
PE
280032013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28004
28005 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28006 Define __attribute__.
28007
53a5c423
SP
280082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28009
28010 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28011 unused.
28012 * posix/regex_internal.h (__attribute): Remove.
28013 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28014 (re_string_context_at): Likewise.
28015 (bitset_not): Use __attribute__ and mark function as possibly
28016 unused.
28017 (bitset_merge): Likewise.
28018 (bitset_mask): Likewise.
28019 (re_string_char_size_at): Likewise.
28020 (re_string_wchar_at): Likewise.
28021 (re_string_elem_size_at): Likewise.
28022
60f5a8b5
SP
280232013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28024
2a983a2e
SP
28025 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28026 code.
28027 (cc32): Likewise.
28028
e69804d1
SP
28029 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28030 (__acr): Likewise.
28031 (__cpy): Likewise.
28032 (norm): Likewise.
28033 (denorm): Likewise.
28034 (__dbl_mp): Likewise.
28035 (add_magnitudes): Likewise.
28036 (sub_magnitudes): Likewise.
28037 (__mul): Likewise.
28038 (__inv): Likewise.
28039
2f22a1e8
SP
28040 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28041 style.
28042
8930ddc7
SP
28043 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28044 style.
28045
dc60cb11
SP
28046 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28047 code.
28048
60f5a8b5
SP
28049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28050 up changes with default code.
28051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28052 Likewise.
28053
b4d1fd33
AM
280542013-02-24 Allan McRae <allan@archlinux.org>
28055
faf6f8bc
AM
28056 * manual/socket.texi (The Internet Namespace): Order menu items
28057 to match that in the file.
28058
b4d1fd33
AM
28059 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28060 node listing of the info page menu.
28061
2366713d
JM
280622013-02-21 Joseph Myers <joseph@codesourcery.com>
28063
28064 [BZ #13550]
28065 * sysdeps/i386/bp-asm.h: Remove file.
28066 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28067 (PARMS): Do not use macros from bp-asm.h.
28068 (S1): Likewise.
28069 (S2): Likewise.
28070 (SIZE): Likewise.
28071 (__mpn_add_n): Do not use BP_SYM
28072 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28073 "bp-asm.h".
28074 (PARMS): Do not use macros from bp-asm.h.
28075 (S1): Likewise.
28076 (SIZE): Likewise.
28077 (__mpn_addmul_1): Do not use BP_SYM
28078 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28079 "bp-asm.h".
28080 (PARMS): Do not use macros from bp-asm.h.
28081 (SIGMSK): Likewise.
28082 (_setjmp): Likewise. Do not use BP_SYM.
28083 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28084 "bp-asm.h".
28085 (PARMS): Do not use macros from bp-asm.h.
28086 (SIGMSK): Likewise.
28087 (setjmp): Likewise. Do not use BP_SYM.
28088 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28089 "bp-asm.h".
28090 (PARMS): Do not use macros from bp-asm.h.
28091 (__frexp): Do not use BP_SYM.
28092 (frexp): Likewise.
28093 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28094 "bp-asm.h".
28095 (PARMS): Do not use macros from bp-asm.h.
28096 (__frexpf): Do not use BP_SYM.
28097 (frexpf): Likewise.
28098 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28099 "bp-asm.h".
28100 (PARMS): Do not use macros from bp-asm.h.
28101 (__frexpl): Do not use BP_SYM.
28102 (frexpl): Likewise.
28103 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28104 "bp-asm.h".
28105 (PARMS): Do not use macros from bp-asm.h.
28106 (__remquo): Do not use BP_SYM.
28107 (remquo): Likewise.
28108 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28109 "bp-asm.h".
28110 (PARMS): Do not use macros from bp-asm.h.
28111 (__remquof): Do not use BP_SYM.
28112 (remquof): Likewise.
28113 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28114 "bp-asm.h".
28115 (PARMS): Do not use macros from bp-asm.h.
28116 (__remquol): Do not use BP_SYM.
28117 (remquol): Likewise.
28118 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28119 "bp-asm.h".
28120 (PARMS): Do not use macros from bp-asm.h.
28121 (DEST): Likewise.
28122 (SRC): Likewise.
28123 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28124 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28125 "bp-asm.h".
28126 (PARMS): Do not use macros from bp-asm.h.
28127 (strlen): Do not use BP_SYM.
28128 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28129 "bp-asm.h".
28130 (PARMS): Do not use macros from bp-asm.h.
28131 (S1): Likewise.
28132 (S2): Likewise.
28133 (SIZE): Likewise.
28134 (__mpn_add_n): Do not use BP_SYM.
28135 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28136 "bp-asm.h".
28137 (PARMS): Do not use macros from bp-asm.h.
28138 (S1): Likewise.
28139 (SIZE): Likewise.
28140 (__mpn_addmul_1): Do not use BP_SYM.
28141 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28142 weak_alias.
28143 (bzero): Likewise.
28144 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28145 "bp-asm.h".
28146 (PARMS): Do not use macros from bp-asm.h.
28147 (S): Likewise.
28148 (SIZE): Likewise.
28149 (__mpn_lshift): Do not use BP_SYM.
28150 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28151 "bp-asm.h".
28152 (PARMS): Do not use macros from bp-asm.h.
28153 (DEST): Likewise.
28154 (SRC): Likewise.
28155 (LEN): Likewise.
28156 (memcpy): Likewise. Do not use BP_SYM.
28157 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28158 libc_hidden_def and weak_alias.
28159 (mempcpy): Do not use BP_SYM in weak_alias.
28160 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28161 "bp-asm.h".
28162 (PARMS): Do not use macros from bp-asm.h.
28163 (DEST): Likewise.
28164 (LEN): Likewise.
28165 [!BZERO_P] (CHR): Likewise.
28166 (memset): Likewise. Do not use BP_SYM.
28167 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28168 "bp-asm.h".
28169 (PARMS): Do not use macros from bp-asm.h.
28170 (S1): Likewise.
28171 (SIZE): Likewise.
28172 (__mpn_mul_1): Do not use BP_SYM.
28173 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28174 "bp-asm.h".
28175 (PARMS): Do not use macros from bp-asm.h.
28176 (S): Likewise.
28177 (SIZE): Likewise.
28178 (__mpn_rshift): Do not use BP_SYM.
28179 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28180 "bp-asm.h".
28181 (PARMS): Do not use macros from bp-asm.h.
28182 (STR): Likewise.
28183 (CHR): Likewise.
28184 (strchr): Likewise. Do not use BP_SYM.
28185 (index): Do not use BP_SYM in weak_alias.
28186 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28187 "bp-asm.h".
28188 (PARMS): Do not use macros from bp-asm.h.
28189 (DEST): Likewise.
28190 (SRC): Likewise.
28191 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28192 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28193 "bp-asm.h".
28194 (PARMS): Do not use macros from bp-asm.h.
28195 (strlen): Do not use BP_SYM.
28196 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28197 "bp-asm.h".
28198 (PARMS): Do not use macros from bp-asm.h.
28199 (S1): Likewise.
28200 (S2): Likewise.
28201 (SIZE): Likewise.
28202 (__mpn_sub_n): Do not use BP_SYM.
28203 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28204 "bp-asm.h".
28205 (PARMS): Do not use macros from bp-asm.h.
28206 (S1): Likewise.
28207 (SIZE): Likewise.
28208 (__mpn_submul_1): Do not use BP_SYM.
28209 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28210 "bp-asm.h".
28211 (PARMS): Do not use macros from bp-asm.h.
28212 (S1): Likewise.
28213 (S2): Likewise.
28214 (SIZE): Likewise.
28215 (__mpn_add_n): Do not use BP_SYM.
28216 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28217 weak_alias.
28218 (bzero): Likewise.
28219 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28220 "bp-asm.h".
28221 (PARMS): Do not use macros from bp-asm.h.
28222 (BLK2): Likewise.
28223 (LEN): Likewise.
28224 (memcmp): Do not use BP_SYM.
28225 (bcmp): Do not use BP_SYM in weak_alias.
28226 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28227 "bp-asm.h".
28228 (PARMS): Do not use macros from bp-asm.h.
28229 (DEST): Likewise.
28230 (SRC): Likewise.
28231 (LEN): Likewise.
28232 (memcpy): Likewise. Do not use BP_SYM.
28233 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28234 "bp-asm.h".
28235 (PARMS): Do not use macros from bp-asm.h.
28236 (DEST): Likewise.
28237 (SRC): Likewise.
28238 (LEN): Likewise.
28239 (memmove): Likewise. Do not use BP_SYM.
28240 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28241 "bp-asm.h".
28242 (PARMS): Do not use macros from bp-asm.h.
28243 (DEST): Likewise.
28244 (SRC): Likewise.
28245 (LEN): Likewise.
28246 (__mempcpy): Likewise. Do not use BP_SYM.
28247 (mempcpy): Do not use BP_SYM in weak_alias.
28248 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28249 "bp-asm.h".
28250 (PARMS): Do not use macros from bp-asm.h.
28251 (DEST): Likewise.
28252 (LEN): Likewise.
28253 [!BZERO_P] (CHR): Likewise.
28254 (memset): Likewise. Do not use BP_SYM.
28255 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28256 "bp-asm.h".
28257 (PARMS): Do not use macros from bp-asm.h.
28258 (STR2): Likewise.
28259 (strcmp): Do not use BP_SYM.
28260 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28261 "bp-asm.h".
28262 (PARMS): Do not use macros from bp-asm.h.
28263 (STR): Likewise.
28264 (DELIM): Likewise.
28265 [USE_AS_STRTOK_R] (SAVE): Likewise.
28266 (FUNCTION): Likewise. Do not use BP_SYM.
28267 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28268 aliases.
28269 (strtok_r): Likewise.
28270 (__GI___strtok_r): Likewise.
28271 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28272 (PARMS): Do not use macros from bp-asm.h.
28273 (S): Likewise.
28274 (SIZE): Likewise.
28275 (__mpn_lshift): Do not use BP_SYM.
28276 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28277 (PARMS): Do not use macros from bp-asm.h.
28278 (STR): Likewise.
28279 (CHR): Likewise.
28280 (__memchr): Do not use BP_SYM.
28281 (memchr): Do not use BP_SYM in weak_alias.
28282 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28283 (PARMS): Do not use macros from bp-asm.h.
28284 (BLK2): Likewise.
28285 (LEN): Likewise.
28286 (memcmp): Do not use BP_SYM.
28287 (bcmp): Do not use BP_SYM in weak_alias.
28288 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28289 (PARMS): Do not use macros from bp-asm.h.
28290 (S1): Likewise.
28291 (SIZE): Likewise.
28292 (__mpn_mul_1): Do not use BP_SYM.
28293 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28294 "bp-asm.h".
28295 (PARMS): Do not use macros from bp-asm.h.
28296 (STR): Likewise.
28297 (CHR): Likewise.
28298 (__rawmemchr): Do not use BP_SYM.
28299 (rawmemchr): Do not use BP_SYM in weak_alias.
28300 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28301 (PARMS): Do not use macros from bp-asm.h.
28302 (S): Likewise.
28303 (SIZE): Likewise.
28304 (__mpn_rshift): Do not use BP_SYM.
28305 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28306 (PARMS): Do not use macros from bp-asm.h.
28307 (SIGMSK): Likewise.
28308 (__sigsetjmp): Likewise. Do not use BP_SYM.
28309 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28310 (_start): Do not use BP_SYM.
28311 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28312 (PARMS): Do not use macros from bp-asm.h.
28313 (DEST): Likewise.
28314 (SRC): Likewise.
28315 (__stpcpy): Likewise. Do not use BP_SYM.
28316 (stpcpy): Do not use BP_SYM in weak_alias.
28317 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28318 "bp-asm.h".
28319 (PARMS): Do not use macros from bp-asm.h.
28320 (DEST): Likewise.
28321 (SRC): Likewise.
28322 (LEN): Likewise.
28323 (__stpncpy): Likewise. Do not use BP_SYM.
28324 (stpncpy): Do not use BP_SYM in weak_alias.
28325 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28326 (PARMS): Do not use macros from bp-asm.h.
28327 (STR): Likewise.
28328 (CHR): Likewise.
28329 (strchr): Likewise. Do not use BP_SYM.
28330 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28331 "bp-asm.h".
28332 (PARMS): Do not use macros from bp-asm.h.
28333 (STR): Likewise.
28334 (CHR): Likewise.
28335 (__strchrnul): Likewise. Do not use BP_SYM.
28336 (strchrnul): Do not use BP_SYM in weak_alias.
28337 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28338 "bp-asm.h".
28339 (PARMS): Do not use macros from bp-asm.h.
28340 (STOP): Likewise.
28341 (strcspn): Do not use BP_SYM.
28342 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28343 "bp-asm.h".
28344 (PARMS): Do not use macros from bp-asm.h.
28345 (STR): Likewise.
28346 (STOP): Likewise.
28347 (strpbrk): Likewise. Do not use BP_SYM.
28348 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28349 "bp-asm.h".
28350 (PARMS): Do not use macros from bp-asm.h.
28351 (STR): Likewise.
28352 (CHR): Likewise.
28353 (strrchr): Likewise. Do not use BP_SYM.
28354 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28355 (PARMS): Do not use macros from bp-asm.h.
28356 (SKIP): Likewise.
28357 (strspn): Do not use BP_SYM.
28358 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28359 (PARMS): Do not use macros from bp-asm.h.
28360 (STR): Likewise.
28361 (DELIM): Likewise.
28362 (SAVE): Likewise.
28363 (FUNCTION): Likewise. Do not use BP_SYM.
28364 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28365 aliases.
28366 (strtok_r): Likewise.
28367 (__GI___strtok_r): Likewise.
28368 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28369 (PARMS): Do not use macros from bp-asm.h.
28370 (S1): Likewise.
28371 (S2): Likewise.
28372 (SIZE): Likewise.
28373 (__mpn_sub_n): Do not use BP_SYM.
28374 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28375 "bp-asm.h".
28376 (PARMS): Do not use macros from bp-asm.h.
28377 (S1): Likewise.
28378 (SIZE): Likewise.
28379 (__mpn_submul_1): Do not use BP_SYM.
28380 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28381 <bp-sym.h>.
28382 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28383 and <bp-asm.h>.
28384 (PARMS): Do not use macros from bp-asm.h.
28385 (FLAGS): Likewise.
28386 (PTID): Likewise.
28387 (TLS): Likewise.
28388 (CTID): Likewise.
28389 (__clone): Do not use BP_SYM.
28390 (clone): Do not use BP_SYM in weak_alias.
28391 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28392 and <bp-asm.h>.
28393 (PARMS): Do not use macros from bp-asm.h.
28394 (LEN): Likewise.
28395 (__mmap64): Do not use BP_SYM.
28396 (mmap64): Do not use BP_SYM in weak_alias.
28397 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28398 <bp-sym.h> and <bp-asm.h>.
28399 (PARMS): Do not use macros from bp-asm.h.
28400 (__posix_fadvise64_l64): Do not use BP_SYM.
28401 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28402 (PARMS): Do not use macros from bp-asm.h.
28403 (NSOPS): Likewise.
28404 (semtimedop): Do not use BP_SYM.
28405 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28406 and <bp-asm.h>.
28407
582a3cff
AM
284082013-02-21 Allan McRae <allan@archlinux.org>
28409
28410 * manual/message.texi (Charset conversion in gettext):
28411 Move @end statement to beginning of line.
28412
bab8a695
SP
284132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28414
80945231
SP
28415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28416 static.
28417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28418 Likewise.
28419
bab8a695
SP
28420 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28421 (denorm): Likewise.
28422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28424
e21d7aa7
AK
284252013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28426
28427 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28428 tail-call to the resolved function if pltexit isn't needed.
28429
4c7a4263
SP
284302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28431
28432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28433 or Y being zero as being unlikely.
28434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28435 Likewise.
28436
41f49342
CD
284372013-02-20 Carlos O'Donell <carlos@redhat.com>
28438
28439 * manual/nss.texi (System Databases and Name Service Switch):
28440 Remove frobnicate @pxref.
28441
50022a93
TS
284422013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28443
28444 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28445 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28446
08cbd996
PM
284472013-02-20 Petr Machata <pmachata@redhat.com>
28448
28449 * elf/elf.h (R_ARM_TARGET1): New macro.
28450 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28451 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28452 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28453 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28454 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28455 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28456 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28457 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28458 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28459 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28460 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28461 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28462 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28463 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28464 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28465 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28466 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28467 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28468 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28469 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28470 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28471 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28472 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28473 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28474 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28475 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28476 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28477 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28478 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28479 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28480 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28481 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28482 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28483 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28484 (R_ARM_THM_GOT_BREL12): Likewise.
28485 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28486 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28487 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28488 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28489 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28490 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28491 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28492 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28493 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28494
c7b275d6
TS
284952013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28496
28497 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28498 __attribute_used__ to __attribute__ ((unused)).
28499
20cd7fb3
SP
285002013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28501
28502 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28503 powerpc mpa.c.
28504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28505 comment formatting.
28506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28507
92945b52
JM
285082013-02-19 Joseph Myers <joseph@codesourcery.com>
28509
28510 [BZ #13550]
28511 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28512 Remove macro.
28513 (ENTER): Remove both macro definitions.
28514 (LEAVE): Likewise.
28515 (CHECK_BOUNDS_LOW): Likewise.
28516 (CHECK_BOUNDS_HIGH): Likewise.
28517 (CHECK_BOUNDS_BOTH): Likewise.
28518 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28519 (RETURN_BOUNDED_POINTER): Likewise.
28520 (RETURN_NULL_BOUNDED_POINTER): Likewise.
28521 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28522 (POP_ERRNO_LOCATION_RETURN): Likewise.
28523 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28524 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28525 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28526 macros.
28527 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28528 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28529 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28530 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28531 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28532 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28533 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28534 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28535 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28536 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28537 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28538 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28539 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28540 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28541 removed macros.
28542 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28543 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28544 macros.
28545 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28546 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28547 * sysdeps/i386/i586/memset.S (memset): Likewise.
28548 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28549 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28550 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28551 macros.
28552 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28553 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28554 Change uses of L(2) to L(out).
28555 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28556 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28557 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28558 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28559 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28560 removed macros.
28561 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28562 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28563 macros.
28564 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28565 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28566 (RETURN): Do not use macro LEAVE.
28567 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28568 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28569 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28570 * sysdeps/i386/i686/memset.S (memset): Likewise.
28571 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28572 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28573 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28574 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28575 Likewise.
28576 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28577 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
28578 L(1_2) and L(1_3) into L(1).
28579 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28580 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28581 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28582 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28583 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28584 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28585 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28586 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28587 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28588 macros.
28589 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28590 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28591 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28592 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28593 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28594 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28595 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28596 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28597 * sysdeps/i386/strcspn.S (strcspn): Likewise.
28598 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28599 * sysdeps/i386/strrchr.S (strrchr): Likewise.
28600 * sysdeps/i386/strspn.S (strspn): Likewise.
28601 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28602 conditional code.
28603 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28604 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28605 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28606 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
28607 L(1_3) into L(1_1).
28608 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28609 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28610 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28611 macros.
28612 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28613
2389741a
JJ
286142013-02-19 Jakub Jelinek <jakub@redhat.com>
28615
28616 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28617 macro.
28618
2016b3cd
SP
286192013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28620
e4f22324
SP
28621 * math/atest-exp.c (exp_mpn): Remove ROUND.
28622 * math/atest-exp2.c (exp_mpn): Likewise.
28623 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28624
2016b3cd
SP
28625 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28626 * stdlib/tst-tls-atexit-lib.c: Likewise.
28627 * stdlib/tst-tls-atexit.c: Likewise.
28628
4be9b544
MF
286292013-02-18 Mike Frysinger <vapier@gentoo.org>
28630
28631 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28632 and __attribute_alloc_size__.
28633
2f62b9ee
MF
286342013-02-18 Mike Frysinger <vapier@gentoo.org>
28635
28636 * include/programs/xmalloc.h: Change __attribute_alloc_size to
28637 __attribute_alloc_size__.
28638 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28639 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28640
6ff444c4
MF
286412013-02-18 Mike Frysinger <vapier@gentoo.org>
28642
28643 * include/programs/xmalloc.h: New file.
28644 * catgets/gencat.c: Include it.
28645 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28646 * elf/pldd.c: Likewise.
28647 * iconv/iconv_charmap.c: Likewise.
28648 * iconv/iconvconfig.c: Likewise.
28649 * iconv/strtab.c: Likewise.
28650 * locale/programs/locale.c: Likewise.
28651 * locale/programs/localedef.h: Likewise.
28652 * locale/programs/simple-hash.c: Likewise.
28653 * nscd/nscd.h: Likewise.
28654 * nss/makedb.c: Likewise.
28655 * sysdeps/generic/ldconfig.h: Likewise.
28656
be179c8a
SP
286572013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28658
ba384f6e
SP
28659 * Versions.def: Add GLIBC_2.18.
28660 * include/link.h (struct link_map): New member l_tls_dtor_count.
28661 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28662 (__call_tls_dtors): Likewise.
28663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28664 __cxa_thread_atexit_impl.
28665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28666 Likewise.
28667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28668 Likewise.
28669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28670 Likewise.
28671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28672 Likewise.
28673 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28675 Likewise.
28676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28677 Likewise.
28678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28680 Likewise.
28681 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28682 (tests): Add test case tst-tls-atexit.
28683 (modules-names): Add shared library for tst-tls-atexit.
85891aca 28684 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
28685 (GLIBC_PRIVATE): Add __call_tls_dtors.
28686 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28687 for libstdc++.
28688 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28689 * stdlib/tst-tls-atexit.c: New test case.
28690 * stdlib/tst-tls-atexit-lib.c: New test case.
28691
ffaa74cf 28692 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 28693
be179c8a
SP
28694 * elf/Versions (ld): Add _dl_find_dso_for_object.
28695 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28696 * elf/dl-open.c (_dl_find_dso_for_object): New function.
28697 (dl_open_worker): Use _dl_find_dso_for_object.
28698 * elf/dl-sym.c (do_sym): Likewise.
28699 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28700
f78b5caa
AK
287012013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28702
28703 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28704 Syntactic changes only.
28705 (_dl_runtime_profile): Do a tail-call to the resolved function.
28706
29691210
JM
287072013-02-17 Joseph Myers <joseph@codesourcery.com>
28708
28709 [BZ #13550]
28710 * sysdeps/x86_64/bp-asm.h: Remove file.
28711 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28712 <bp-sym.h> and <bp-asm.h>.
28713 (__clone): Do not use BP_SYM.
28714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28715 <bp-sym.h> and <bp-asm.h>.
28716 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28717 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28718 "bp-asm.h".
28719 (_setjmp): Do not use BP_SYM.
28720 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28721 "bp-asm.h".
28722 (setjmp): Do not use BP_SYM.
28723 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28724 libc_hidden_def.
28725 (mempcpy): Do not use BP_SYM in weak_alias.
28726 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28727 "bp-asm.h".
28728 (strchr): Do not use BP_SYM.
28729 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28730 "bp-asm.h".
28731 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28732 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28733 (_start): Do not use BP_SYM.
28734 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28735 "bp-asm.h".
28736 (strcat): Do not use BP_SYM.
28737 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28738 "bp-asm.h".
28739 (STRCMP): Do not use BP_SYM.
28740 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28741 "bp-asm.h".
28742 (STRCPY): Do not use BP_SYM.
28743 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28744 "bp-asm.h".
28745 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28746 "bp-asm.h".
28747 (FUNCTION): Do not use BP_SYM.
28748 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28749 weak_alias.
28750 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28751
f238fd19
AJ
287522013-02-17 Andreas Jaeger <aj@suse.de>
28753
28754 * time/Versions: Sort entries.
28755 * string/Versions: Likewise.
28756 * resolv/Versions: Likewise.
28757 * posix/Versions: Likewise.
28758 * iconv/Versions: Likewise.
28759 * elf/Versions: Likewise.
28760 * wcsmbs/Versions: Likewise.
28761
bd07f23c 287622013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 28763
22af19f9
SP
28764 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28765 loop termination condition.
28766
4709fe76
SP
28767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28768 variable to calculate EZ.
28769 (__sqr): Likewise.
2d0e0f29
SP
28770
28771 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28772 the lower precision input.
28773
daaa7713
JM
287742013-02-15 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #13550]
28777 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28778 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28779 (run-via-rtld-prefix): Do not handle %-bp tests.
28780 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28781 (all-object-suffixes): Remove .ob.
28782 (bppfx): Remove variable.
28783 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28784 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28785 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28786 [$(build-bounded) = yes] (libtype.ob): Likewise.
28787 * Makerules (elide-routines.ob): Remove variable.
28788 (do-tests-clean): Do not handle *-bp.out.
28789 (common-mostlyclean): Do not handle *-bp and *-bp.out.
28790 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28791 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28792 (tests): Do not include $(tests-bp.out).
28793 (xtests): Do not include $(xtests-bp.out).
28794 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28795 [$(build-bounded) = yes] ($(addprefix
28796 $(objpfx),$(binaries-bounded))): Remove rule.
28797 ($(objpfx)%-bp.out): Remove rule.
28798 * config.make.in (build-bounded): Remove variable.
28799 * crypt/Makefile [$(build-bounded) = yes]
28800 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28801 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28802 append to variable.
28803 [$(build-bounded) = yes] (install-lib): Likewise.
28804 [$(build-bounded) = yes] (generated): Likewise.
28805 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28806 Remove rule.
28807 * intl/Makefile [$(build-bounded) = yes]
28808 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28809 * math/Makefile [$(build-bounded) = yes]
28810 ($(tests:%=$(objpfx)%-bp): Likewise.
28811 * misc/Makefile [$(build-bounded) = yes]
28812 ($(objpfx)tst-tsearch-bp): Likewise.
28813 * nptl/Makeconfig (bounded-thread-library): Remove variable.
28814 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28815 Remove dependency.
28816 * string/Makefile (o-objects.ob): Remove variable.
28817 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28818 (CFLAGS-.ob): Remove variable.
28819 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28820 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28821 both definitions of variable.
28822 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28823 (ASFLAGS-.ob): Remove variable.
28824
e97ed6dd
JM
288252013-02-14 Joseph Myers <joseph@codesourcery.com>
28826
2bdd4ca6
JM
28827 [BZ #13550]
28828 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28829 Remove __BOUNDED_POINTERS__ from condition.
28830 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28831 * string/bits/string2.h [!__NO_STRING_INLINES &&
28832 !__BOUNDED_POINTERS__]: Likewise.
28833 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28834 Likewise.
28835 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28836 Remove conditional code.
28837 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28838 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28839 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28840 condition.
28841
e97ed6dd
JM
28842 [BZ #13550]
28843 * csu/libc-start.c: Do not include <bp-sym.h>.
28844 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28845 * elf/dl-open.c: Do not include <bp-sym.h>.
28846 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28847 * math/fegetenv.c: Do not include <bp-sym.h>.
28848 (fegetenv): Do not use BP_SYM in versioned symbols.
28849 * nptl/sysdeps/pthread/bits/libc-lockP.h
28850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28851 <bp-sym.h>.
28852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28853 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28855 (__pthread_mutex_destroy): Likewise.
28856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28857 (__pthread_mutex_lock): Likewise.
28858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28859 (__pthread_mutex_trylock): Likewise.
28860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28861 (__pthread_mutex_unlock): Likewise.
28862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28863 (__pthread_mutexattr_init): Likewise.
28864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28865 (__pthread_mutexattr_destroy): Likewise.
28866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28867 (__pthread_mutexattr_settype): Likewise.
28868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28869 (__pthread_rwlock_init): Likewise.
28870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28871 (__pthread_rwlock_destroy): Likewise.
28872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28873 (__pthread_rwlock_rdlock): Likewise.
28874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28875 (__pthread_rwlock_tryrdlock): Likewise.
28876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28877 (__pthread_rwlock_wrlock): Likewise.
28878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28879 (__pthread_rwlock_trywrlock): Likewise.
28880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28881 (__pthread_rwlock_unlock): Likewise.
28882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28883 (__pthread_key_create): Likewise.
28884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28885 (__pthread_setspecific): Likewise.
28886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28887 (__pthread_getspecific): Likewise.
28888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28889 Likewise.
28890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28891 (_pthread_cleanup_push_defer): Likewise.
28892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28893 (_pthread_cleanup_pop_restore): Likewise.
28894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28895 (pthread_setcancelstate): Likewise.
28896 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28897 <bp-sym.h>.
28898 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28899 (memchr): Do not use BP_SYM in weak_alias.
28900 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28901 (fegetenv): Do not use BP_SYM in versioned symbols.
28902 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28903 (fesetenv): Do not use BP_SYM in versioned symbols.
28904 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28905 (feupdateenv): Do not use BP_SYM in versioned symbols.
28906 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28907 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28908 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28909 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28910 (open64): Do not use BP_SYM in weak_alias.
28911 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28912 (fegetenv): Do not use BP_SYM in versioned symbols.
28913 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28914 (fesetenv): Do not use BP_SYM in versioned symbols.
28915 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28916 (feupdateenv): Do not use BP_SYM in versioned symbols.
28917 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28918 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28919 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28920 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28921 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28922 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28923 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28924 <bp-sym.h>.
28925 (__libc_start_main): Do not use BP_SYM.
28926
d6752ccd
SP
289272013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28928
cb57ce60
SP
28929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28930 redundant return line.
28931 (norm): Likewise.
28932 (denorm): Likewise.
28933 (dbl_mp): Likewise.
28934 (sub_magnitudes): Likewise.
28935 (__add): Likewise.
28936 (__sub): Likewise.
28937 (__mul): Likewise.
28938 (__inv): Likewise.
28939 (__dvd): Likewise.
28940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28941 (norm): Likewise.
28942 (denorm): Likewise.
28943 (dbl_mp): Likewise.
28944 (sub_magnitudes): Likewise.
28945 (__add): Likewise.
28946 (__sub): Likewise.
28947 (__mul): Likewise.
28948 (__inv): Likewise.
28949 (__dvd): Likewise.
28950
f414520d
SP
28951 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28952 instead of __mul.
28953 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28954 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28955 (cc32): Likewise.
28956
d6752ccd
SP
28957 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28958 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28960 of __mul for squares.
28961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28962 function
28963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28964 Likewise.
28965 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28967
70d9946a
JM
289682013-02-13 Joseph Myers <joseph@codesourcery.com>
28969
28970 [BZ #13550]
28971 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28972 code.
28973 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28974 prototype or function definition. Rename ubp_* variables and
28975 parameters. Remove argv definitions conditional on
28976 [__BOUNDED_POINTERS__].
28977 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28978 * elf/dl-runtime.c (_dl_fixup): Likewise.
28979 * include/set-hooks.h (RUN_HOOK): Likewise.
28980 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28981 definition.
28982 * string/strcpy.c (strcpy): Do not use __unbounded.
28983 * sysdeps/generic/frame.h (struct layout): Likewise.
28984 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28985 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28986 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28987 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28988 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28989 (__backtrace): Likewise.
28990 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28991 use __ptrvalue.
28992 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28993 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28994 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28995 Likewise.
28996 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28997 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28998 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28999 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29000 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29001 Do not use __unbounded.
29002 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29003 Rename __unboundedrlimits parameter to rlimits in prototype.
29004 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29005 Do not use __unbounded.
29006 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29007 not use __ptrvalue.
29008 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29009 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29010 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29011 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29012 __ptrvalue or __unbounded.
29013 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29014 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29015 use __unbounded.
29016 (__new_msgctl): Do not use __ptrvalue.
29017 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29018 __unbounded.
29019 (__libc_msgrcv): Do not use __ptrvalue.
29020 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29021 startup_info): Do not use __unbounded.
29022 (__libc_start_main): Likewise. Rename ubp_* variables and
29023 parameters. Remove argv definitions conditional on
29024 [__BOUNDED_POINTERS__].
29025 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29026 __ptrvalue.
29027 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29028 use __unbounded.
29029 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29030 or __ptrvalue.
29031 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29032 use __unbounded.
29033 (__new_shmctl): Do not use __ptrvalue.
29034 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29035 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29036 Likewise.
29037 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29038 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29039 (__libc_sigaction): Likewise.
29040 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29041 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29042 Likewise.
29043 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29044
cc7834d6
OB
290452013-02-13 Ondřej Bílka <neleai@seznam.cz>
29046
ffb1ec7b 29047 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
29048
29049 * string/mempcpy.c: Implement by calling memcpy.
29050
bdf02814
SP
290512013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29052
c2af38aa
SP
29053 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29054
4e92d59e
SP
29055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29056 evaluation.
29057
909279a5
SP
29058 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29059 values in the mantissa.
29060
bdf02814
SP
29061 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29062 minimize writes to Z.
29063 (sub_magnitudes): Simplify code a bit.
29064
cd525923
RM
290652013-02-12 Roland McGrath <roland@hack.frob.com>
29066
29067 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29068 from the message. The linker prefixes all warnings with that already.
29069
7e2f0d2d
AS
290702013-02-12 Andreas Schwab <schwab@suse.de>
29071
a445af0b
AS
29072 [BZ #15078]
29073 * posix/regexec.c (extend_buffers): Add parameter min_len.
29074 (check_matching): Pass minimum needed length.
29075 (clean_state_log_if_needed): Likewise.
29076 (get_subexp): Likewise.
29077 * posix/Makefile (tests): Add bug-regex34.
29078 (bug-regex34-ENV): Define.
29079 * posix/bug-regex34.c: New file.
29080
7e2f0d2d
AS
29081 [BZ #11561]
29082 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29083 elements compare against the byte sequence of it, not its name.
29084 * posix/Makefile (tests): Add bug-regex35.
29085 (bug-regex35-ENV): Define.
29086 * posix/bug-regex35.c: New file.
29087
a175b684
TV
290882013-02-11 Tom de Vries <tom@codesourcery.com>
29089
29090 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29091 comment.
29092 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29093 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29094 (CHECK_EOL): Add undef.
29095
310998fe 290962013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
29097
29098 * bits/stdlib-bsearch.h: New file.
29099 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 29100 * stdlib/stdlib.h: Likewise.
41eda41d 29101
8ded91fb
RM
291022013-02-11 Roland McGrath <roland@hack.frob.com>
29103
29104 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29105 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29106 declaration.
29107 * manual/search.texi (Array Search Function): Add missing const in
29108 lfind prototype.
29109 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29110 declaration to use rlim_t.
29111 (Basic Scheduling Functions): Remove erroneous const from
29112 sched_getparam prototype. Remove erroneous * from
29113 sched_get_priority_max and sched_get_priority_min prototypes.
29114 (Resource Usage): Fix summary @comment on vtimes to refer to
29115 sys/vtimes.h rather than vtimes.h.
29116 Add missing *s in vtimes prototype.
29117 (Limits on Resources): Fix ulimit prototype to return long int.
29118 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29119 prototypes to use long int rather than double.
29120 (BSD Random): Fix initstate and setstate to use char *, not void *.
29121 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29122 prototype to make second argument 'struct aiocb64 *const[]'.
29123 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29124 (Status of AIO Operations): Remove erroneous const in aio_return and
29125 aio_return64 prototypes.
29126 (Synchronizing I/O): Fix sync prototype to return void.
29127 * manual/startup.texi (Suboptions): Remove an erroneous const in
29128 getsubopt prototype.
29129 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29130 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29131 use size_t rather than int.
29132 (Scanning All Users): Likewise for getpwent_r.
29133 (Setting Groups): Add missing const to setgroups prototype.
29134 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29135 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29136 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29137 'const void *' rather than 'const char *'.
29138 (Host Address Functions): Likewise for inet_ntop.
29139 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29140 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29141 ssize_t for return value.
29142 (Sending Data): Likewise for send, sendto, sendmsg.
29143 (Socket Option Functions): Add a missing const in setsockopt prototype.
29144 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29145 use wchar_t for the argument.
29146 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29147 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29148 take no arguments.
29149 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29150 double/float/long double for second argument.
29151 Fix return types of significand, significandf, significandl.
29152 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29153 argument in fchmod prototype.
29154 (File Owner): Use uid_t and gid_t in fchown prototype.
29155 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29156 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29157 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29158 use 'const struct dirent **' as argument types to CMP function pointer
29159 argument.
29160 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29161 (File Times): Fix summary magic @comment for struct utimbuf and utime
29162 to refer to utime.h, not time.h.
29163 * manual/string.texi (Argz Functions): Add missing const in
29164 argz_extract and argz_next prototypes.
29165 (Finding Tokens in a String): Likewise for basename.
29166 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29167 (Copying and Concatenation): Fix typo in wmemmove prototype.
29168 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29169 (Signal Stack): Remove erroneous const in sigstack prototype.
29170 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29171 prototype.
29172 (Simple Calendar Time): Likewise for stime.
29173 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29174 prototype.
29175 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29176 say sys/sysctl.h instead.
29177 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29178 and vsyslog prototypes.
29179
fe77fe6d
TV
291802013-02-11 Tom de Vries <tom@codesourcery.com>
29181
29182 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29183 Remove.
29184
3a09b620
RM
291852013-02-11 Roland McGrath <roland@hack.frob.com>
29186
29187 * misc/sys/mman.h: Fix typo in mremap comment.
29188
550a0b89
RM
291892013-02-08 Roland McGrath <roland@hack.frob.com>
29190
29191 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29192 the '\0' terminator.
29193
a2da1673
JM
291942013-02-08 Joseph Myers <joseph@codesourcery.com>
29195
29196 [BZ #13550]
29197 * debug/segfault.c: Don't include <bp-checks.h>.
29198 * sysdeps/generic/bp-checks.h: Remove file.
29199 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29200 (__GETDENTS): Don't use CHECK_N.
29201 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29202 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29203 (__getgroups): Don't use CHECK_N.
29204 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29205 (setgroups): Don't use CHECK_N.
29206 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29207 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29208 (__libc_msgrcv): Don't use CHECK_N.
29209 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29210 (__libc_msgsnd): Don't use CHECK_N.
29211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29212 <bp-checks.h>.
29213 (__libc_pread): Don't use CHECK_N.
29214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29215 include <bp-checks.h>.
29216 (__libc_pread64): Don't use CHECK_N.
29217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29218 include <bp-checks.h>.
29219 (__libc_pwrite): Don't use CHECK_N.
29220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29221 include <bp-checks.h>.
29222 (__libc_pwrite64): Don't use CHECK_N.
29223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29224 <bp-checks.h>.
29225 (__libc_pread): Don't use CHECK_N.
29226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29227 include <bp-checks.h>.
29228 (__libc_pread64): Don't use CHECK_N.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29230 include <bp-checks.h>.
29231 (__libc_pwrite): Don't use CHECK_N.
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29233 include <bp-checks.h>.
29234 (__libc_pwrite64): Don't use CHECK_N.
29235 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29236 (do_pread): Don't use CHECK_N.
29237 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29238 (do_pread64): Don't use CHECK_N.
29239 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29240 (do_pwrite): Don't use CHECK_N.
29241 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29242 (do_pwrite64): Don't use CHECK_N.
29243 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29244 (__libc_readv): Don't use CHECK_N.
29245 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29246 (semop): Don't use CHECK_N.
29247 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29248 <bp-checks.h>.
29249 (semtimedop): Don't use CHECK_N.
29250 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29251 (__libc_pread): Don't use CHECK_N.
29252 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29253 <bp-checks.h>.
29254 (__libc_pread64): Don't use CHECK_N.
29255 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29256 <bp-checks.h>.
29257 (__libc_pwrite): Don't use CHECK_N.
29258 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29259 <bp-checks.h>.
29260 (__libc_pwrite64): Don't use CHECK_N.
29261 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29262 <bp-checks.h>.
29263 (__libc_msgrcv): Don't use CHECK_N.
29264 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29265 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29266 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29267 (__libc_writev): Don't use CHECK_N.
29268
b84660a8
RM
292692013-02-08 Roland McGrath <roland@hack.frob.com>
29270
7f3e75f8
RM
29271 * string/strcpy.c: Removed unused variable.
29272
b84660a8
RM
29273 * Makeconfig (+sysdep-includes): Define with := rather than =.
29274 Use an existing include/ subdir of each sysdeps dir before it.
29275
471514d3
CD
292762013-02-08 Carlos O'Donell <carlos@redhat.com>
29277
29278 * nscd/connection.c (register_traced_file): Comment function.
29279 [HAVE_INOTIFY] (union __inev): Define.
29280 [HAVE_INOTIFY] (inotify_check_files): New function.
29281 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29282 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29283 clear_db_cache.
29284 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29285
b2d3c3be
CD
292862013-02-08 Carlos O'Donell <carlos@redhat.com>
29287
29288 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29289 loaded if not already and that a failure is permanent.
29290
b39949d2
CD
292912013-02-08 Carlos O'Donell <carlos@redhat.com>
29292
ddacd1db 29293 [BZ #15006]
b39949d2
CD
29294 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29295 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29296
b2c9eff4
JM
292972013-02-08 Joseph Myers <joseph@codesourcery.com>
29298
f3aae3f3
JM
29299 [BZ #13550]
29300 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29301 (CHECK_1_NULL_OK): Likewise.
29302 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29303 (__fxstat): Do not use CHECK_1.
29304 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29305 <bp-checks.h>.
29306 (___fxstat64): Do not use CHECK_1.
29307 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29308 <bp-checks.h>.
29309 (__fxstatat): Do not use CHECK_1.
29310 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29311 <bp-checks.h>.
29312 (__fxstatat64): Do not use CHECK_1.
29313 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29314 <bp-checks.h>.
29315 (__fxstat): Do not use CHECK_1.
29316 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29317 <bp-checks.h>.
29318 (__fxstatat): Do not use CHECK_1.
29319 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29320 <bp-checks.h>.
29321 (__getresgid): Do not use CHECK_1.
29322 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29323 <bp-checks.h>.
29324 (__getresuid): Do not use CHECK_1.
29325 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29326 <bp-checks.h>.
29327 (__lxstat): Do not use CHECK_1.
29328 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29329 <bp-checks.h>.
29330 (__old_msgctl): Do not use CHECK_1.
29331 (__new_msgctl): Likewise.
29332 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29333 <bp-checks.h>.
29334 (__new_setrlimit): Do not use CHECK_1.
29335 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29336 <bp-checks.h>.
29337 (__old_shmctl): Do not use CHECK_1.
29338 (__new_shmctl): Likewise.
29339 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29340 <bp-checks.h>.
29341 (__xstat): Do not use CHECK_1.
29342 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29343 (__lxstat): Do not use CHECK_1.
29344 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29345 <bp-checks.h>.
29346 (___lxstat64): Do not use CHECK_1.
29347 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29348 (__old_msgctl): Do not use CHECK_1.
29349 (__new_msgctl): Likewise.
29350 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29351 <bp-checks.h>.
29352 (__gettimeofday): Do not use CHECK_1.
29353 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29354 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29355 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29356 <bp-checks.h>.
29357 (__gettimeofday): Do not use CHECK_1.
29358 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29359 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29360 (__new_shmctl): Do not use CHECK_1.
29361 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29362 <bp-checks.h>.
29363 (do_sigtimedwait): Do not use CHECK_1.
29364 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29365 <bp-checks.h>.
29366 (do_sigwaitinfo): Do not use CHECK_1.
29367 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29368 <bp-checks.h>.
29369 (msgctl): Do not use CHECK_1.
29370 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29371 <bp-checks.h>.
29372 (shmctl): Do not use CHECK_1.
29373 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29374 (ustat): Do not use CHECK_1.
29375 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29376 <bp-checks.h>.
29377 (__fxstat): Do not use CHECK_1.
29378 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29379 <bp-checks.h>.
29380 (__fxstatat): Do not use CHECK_1.
29381 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29382 <bp-checks.h>.
29383 (__lxstat): Do not use CHECK_1.
29384 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29385 <bp-checks.h>.
29386 (__xstat): Do not use CHECK_1.
29387 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29388 (__xstat): Do not use CHECK_1.
29389 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29390 (___xstat64): Do not use CHECK_1.
29391
b2c9eff4
JM
29392 [BZ #13550]
29393 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29394 definitions.
29395 (CHECK_BOUNDS_HIGH): Likewise.
29396 * string/strcpy.c: Do not include <bp-checks.h>.
29397 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29398
f1d70dad
RM
293992013-02-07 Roland McGrath <roland@hack.frob.com>
29400
29401 * nscd/nscd-client.h (__nscd_drop_map_ref):
29402 Add __attribute__ ((unused)).
29403 * nis/nss-nisplus.h (niserr2nss): Likewise.
29404
29405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29406 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29407
29408 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29409 Remove inline keyword.
29410 * include/rounding-mode.h (round_away): Likewise.
29411 * libio/wfileops.c (adjust_wide_data): Likewise.
29412 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29413 (__m128i_strloadu_tolower): Likewise.
29414 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29415 (__m128i_strloadu_tolower): Likewise.
29416 * time/mktime.c (ydhms_diff): Likewise.
29417 * locale/elem-hash.h (elem_hash): Likewise.
29418 * locale/setlocale.c (setdata): Likewise.
29419 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29420 (re_string_wchar_at): Likewise.
29421 (bitset_not, bitset_merge, bitset_mask): Likewise.
29422 [!(__GNUC__ > 3)] (inline): Remove macro.
29423 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29424 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29425 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29426 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29427 * string/memcmp.c (memcmp_bytes): Likewise.
29428 * locale/programs/locarchive.c (compute_hashval): Likewise.
29429 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29430 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29431 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29432 * nss/getent.c (print_rpc, print_protocols): Likewise.
29433 (print_passwd, print_group, print_aliases): Likewise.
29434 * nis/nss-nisplus.h (niserr2nss): Likewise.
29435 * nscd/connections.c (restart_p): Likewise.
29436 Change return type to bool.
29437
eab55bfb
RM
294382013-02-05 Roland McGrath <roland@hack.frob.com>
29439
7bd642f5
RM
29440 * Makeconfig (all-Depend-files): Add existing
29441 $(sorted-subdirs:=/Depend) files.
29442 (all-subdirs): Remove nss.
29443 * sysdeps/unix/inet/Subdirs: Add it here instead.
29444 * hesiod/Depend: New file.
29445
573c29b2
RM
29446 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29447 instead of calling alloca.
29448
b2e25af0
RM
29449 * io/lseek.c (__lseek): Rename to __libc_lseek.
29450 Define __lseek as an alias.
29451
eab55bfb
RM
29452 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29453
9a0d1941
CD
294542013-02-04 Carlos O'Donell <carlos@redhat.com>
29455
29456 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29457 else clause and remove check for non-standard endianness.
29458
b83bbec4
DM
294592013-02-04 David S. Miller <davem@davemloft.net>
29460
29461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29462
6277fdab
JM
294632013-02-04 Joseph Myers <joseph@codesourcery.com>
29464
29465 [BZ #13550]
29466 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29467 (__ubp_memchr): Remove prototype.
29468 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29469 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29470 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29471 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29472 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29473 Remove alias.
29474 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29475 (__ubp_memchr): Likewise.
29476 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29477 (__ubp_memchr): Likewise.
29478 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29479 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29480 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29481 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29482 CHECK_STRING.
29483 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29484 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29485 (__getcwd): Do not use CHECK_STRING.
29486 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29487 <bp-checks.h>.
29488 (__real_chown): Do not use CHECK_STRING.
29489 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29490 <bp-checks.h>.
29491 (fchownat): Do not use CHECK_STRING.
29492 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29493 CHECK_STRING.
29494 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29495 <bp-checks.h>.
29496 (__lchown): Do not use CHECK_STRING.
29497 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29498 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29499 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29500 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29502 include <bp-checks.h>.
29503 (truncate64): Do not use CHECK_STRING.
29504 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29505 <bp-checks.h>.
29506 (__real_chown): Do not use CHECK_STRING.
29507 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29508 <bp-checks.h>.
29509 (__lchown): Do not use CHECK_STRING.
29510 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29511 <bp-checks.h>.
29512 (__chown): Do not use CHECK_STRING.
29513 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29514 <bp-checks.h>.
29515 (truncate64): Do not use CHECK_STRING.
29516 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29517 Likewise.
29518 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29519 (__xmknod): Do not use CHECK_STRING.
29520 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29521 <bp-checks.h>.
29522 (__xmknodat): Do not use CHECK_STRING.
29523 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29524 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29525
903ae060
AS
295262013-02-04 Andreas Schwab <schwab@suse.de>
29527
29528 [BZ #14142]
29529 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29530 * include/netdb.h: Likewise for h_errno.
29531 * elf/tst-stackguard1.c: Include <tls.h>.
29532
542f9466
JK
295332013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
29534
29535 * elf/link.h (struct link_map): Extend the l_addr comment.
29536 * include/link.h (struct link_map): Likewise.
29537
e782a927
JM
295382013-02-01 Joseph Myers <joseph@codesourcery.com>
29539
29540 [BZ #13550]
29541 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29542 (BOUNDED_1): Remove macro.
29543 * debug/backtrace.c: Don't include <bp-checks.h>.
29544 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29545 (__backtrace): Likewise.
29546 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29547 <bp-checks.h>.
29548 (__backtrace): Don't use BOUNDED_1.
29549 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29550 <bp-checks.h>.
29551 (__backtrace): Don't use BOUNDED_1.
29552 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29553 (__backtrace): Don't use BOUNDED_1.
29554 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29555 (shmat): Don't use BOUNDED_N.
29556
8cf28c5e
JM
295572013-01-31 Joseph Myers <joseph@codesourcery.com>
29558
3a7ac8a0
JM
29559 [BZ #13550]
29560 * sysdeps/generic/bp-start.h: Remove file.
29561 * csu/libc-start.c: Don't include <bp-start.h>.
29562 (LIBC_START_MAIN): Set up __environ directly instead of using
29563 INIT_ARGV_and_ENVIRON.
29564 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29565 <bp-start.h>.
29566
f3499f95
JM
29567 [BZ #13550]
29568 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29569 definitions.
29570 (CHECK_FCNTL): Likewise.
29571 (CHECK_N_PAGES): Likewise.
29572
32a45bea
JM
29573 [BZ #13550]
29574 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29575 definitions.
29576 (CHECK_SIGSET_NULL_OK): Likewise.
29577 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29578 <bp-checks.h>.
29579 (sigpending): Don't use CHECK_SIGSET.
29580 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29581 <bp-checks.h>.
29582 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29583 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29584 <bp-checks.h>.
29585 (do_sigsuspend): Don't use CHECK_SIGSET.
29586 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29587 use CHECK_SIGSET.
29588 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29589 (do_sigwait): Don't use CHECK_SIGSET.
29590 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29591 use CHECK_SIGSET.
29592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29593 include <bp-checks.h>.
29594 (sigpending): Don't use CHECK_SIGSET.
29595 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29596 include <bp-checks.h>.
29597 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29598 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29599 <bp-checks.h>.
29600 (sigpending): Don't use CHECK_SIGSET.
29601 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29602 <bp-checks.h>.
29603 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29604
2e8a5c8c
JM
29605 [BZ #13550]
29606 * sysdeps/generic/bp-semctl.h: Remove file.
29607 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29608 <bp-checks.h> and <bp-semctl.h>.
29609 (__old_semctl): Don't use CHECK_SEMCTL.
29610 (__new_semctl): Likewise.
29611 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29612 and <bp-semctl.h>.
29613 (__old_semctl): Don't use CHECK_SEMCTL.
29614 (__new_semctl): Likewise.
29615 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29616 <bp-checks.h> and <bp-semctl.h>.
29617 (__old_semctl): Don't use CHECK_SEMCTL.
29618 (__new_semctl): Likewise.
29619 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29620 <bp-checks.h> and <bp-semctl.h>.
29621 (semctl): Don't use CHECK_SEMCTL.
29622
c2d54929
JM
29623 [BZ #13550]
29624 * Makerules (elide-bp-thunks): Remove variable.
29625 (elide-routines.oS): Don't use $(elide-bp-thunks).
29626 (elide-routines.os): Likewise.
29627 (elide-routines.o): Likewise.
29628 (elide-routines.op): Likewise.
29629 (elide-routines.og): Likewise.
29630 (objects): Don't use $(bp-thunks).
29631 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29632 include.
29633 (common-generated): Do not add s-proto-bp.d.
29634 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29635 (int): Likewise.
29636 (typ): Likewise.
29637 Do not generate makefile rules for bounded-pointer thunks.
29638 * sysdeps/generic/bp-thunks.h: Remove file.
29639 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29640 * sysdeps/unix/s-proto-bp.S: Likewise.
29641
8cf28c5e
JM
29642 [BZ #15062]
29643 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29644 parts of result separately when argument is not close to line from
29645 -i to i and one part of argument is small.
29646 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29647 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29648 * math/libm-test.inc (cacos_test): Add more tests.
29649 (casin_test): Likewise.
29650 (casinh_test): Likewise.
29651 * sysdeps/i386/fpu/libm-test-ulps: Update.
29652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29653
c4e33b8d
DM
296542013-01-31 David S. Miller <davem@davemloft.net>
29655
29656 * po/de.po: Update from translation team.
29657
3b60b421
MK
296582013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
29659
29660 * time/tzfile.c: Include stdint.h for SIZE_MAX.
29661
bb931195
TS
296622013-01-25 Thomas Schwinge <thomas@codesourcery.com>
29663
b5a5da23
TS
29664 * configure.in (_AC_PROG_CC_C89): New definition.
29665 * configure: Regenerate.
29666
bb931195
TS
29667 * configure.in (AC_PROG_CPP): New definition.
29668 * configure: Regenerate.
29669
8c53a12c
JM
296702013-01-23 Joseph Myers <joseph@codesourcery.com>
29671
29672 * debug/tst-backtrace.h: New file.
29673 * debug/tst-backtrace2.c: Include tst-backtrace.h.
29674 (ret): Remove variable.
29675 (x): Likewise.
29676 (FAIL): Remove macro.
29677 (NO_INLINE): Likewise.
29678 (fn1): Use match function instead of strstr.
29679 * debug/tst-backtrace3.c: Include tst-backtrace.h.
29680 (ret): Remove variable.
29681 (x): Likewise.
29682 (FAIL): Remove macro.
29683 (NO_INLINE): Likewise.
29684 (fn): Use match function instead of strstr.
29685 * debug/tst-backtrace4.c: Include tst-backtrace.h.
29686 (ret): Remove variable.
29687 (x): Likewise.
29688 (FAIL): Remove macro.
29689 (NO_INLINE): Likewise.
29690 (handle_signal): Use match function instead of strstr.
29691 * debug/tst-backtrace5.c: Include tst-backtrace.h.
29692 (ret): Remove variable.
29693 (x): Likewise.
29694 (FAIL): Remove macro.
29695 (NO_INLINE): Likewise.
29696 (handle_signal): Use match function instead of strstr.
29697
4858fa2a
RM
296982013-01-23 Roland McGrath <roland@hack.frob.com>
29699
29700 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29701
bae8e7f5
DM
297022013-01-23 David S. Miller <davem@davemloft.net>
29703
29704 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29705 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29706 argument of CAS if possible.
29707 * sysdeps/sparc/sparc64/bits/atomic.h
29708 (__arch_compare_and_exchange_val_32_acq): Likewise.
29709 (__arch_compare_and_exchange_val_64_acq): Likewise.
29710
9cbbc4ae
PT
297112013-01-23 Pino Toscano <toscano.pino@tiscali.it>
29712
29713 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29714 * sysdeps/posix/ulimit.c: ... this.
92a601b8 29715 Include <limits.h>.
67b3f58c 29716 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 29717
5655a0b5
AC
297182013-01-23 Adam Conrad <adconrad@0c3.net>
29719
29720 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29721 (LDFLAGS-tst-array5): Likewise.
29722
052aff95
JM
297232013-01-23 Joseph Myers <joseph@codesourcery.com>
29724
29725 [BZ #15036]
29726 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29727 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29728 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29729 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29730
7c1e01aa
DM
297312013-01-21 David S. Miller <davem@davemloft.net>
29732
29733 * sysdeps/sparc/backtrace.c: New file.
29734 * sysdeps/sparc/sparc32/backtrace.h: New file.
29735 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29736 * sysdeps/sparc/sparc64/backtrace.h: New file.
29737 * sysdeps/sparc/sparc64/backtrace.c: Delete.
29738 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29739 -funwind-tables.
29740
ab087e0a
AS
297412013-01-21 Andreas Schwab <schwab@suse.de>
29742
29743 [BZ #15020]
29744 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29745 closed its stdout.
29746
ed689c2f
AS
297472013-01-20 Andreas Schwab <schwab@linux-m68k.org>
29748
29749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29750 "mpa2.h".
29751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29752
31d470ac
JM
297532013-01-18 Joseph Myers <joseph@codesourcery.com>
29754 Mark Mitchell <mark@codesourcery.com>
29755 Tom de Vries <tom@codesourcery.com>
29756 Paul Pluzhnikov <ppluzhnikov@google.com>
29757
29758 * debug/tst-backtrace2.c: New file.
29759 * debug/tst-backtrace3.c: Likewise.
29760 * debug/tst-backtrace4.c: Likewise.
29761 * debug/tst-backtrace5.c: Likewise.
29762 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29763 (CFLAGS-tst-backtrace3.c): Likewise.
29764 (CFLAGS-tst-backtrace4.c): Likewise.
29765 (CFLAGS-tst-backtrace5.c): Likewise.
29766 (LDFLAGS-tst-backtrace2): Likewise.
29767 (LDFLAGS-tst-backtrace3): Likewise.
29768 (LDFLAGS-tst-backtrace4): Likewise.
29769 (LDFLAGS-tst-backtrace5): Likewise.
29770 (tests): Add new tests tst-backtrace2, tst-backtrace3,
29771 tst-backtrace4 and tst-backtrace5.
29772
90567f30 297732013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
29774 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29775
29776 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29777 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29778 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29779 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29781 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29782 "+r" and remove output regs list as redundant. Add explicit inline
29783 asm to specify register of return val to work around compiler codegen
29784 bug. Remove (int) cast on return value. Add return type parameter to
29785 use in macro so that this macro does not truncate return value for
29786 64-bit values.
29787 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29788 pass to INTERNAL_VSYSCALL_NCS.
29789 (INLINE_VSYSCALL): Add 'long int' as return type to
29790 INTERNAL_VSYSCALL_NCS macro invocation.
29791 (INTERNAL_VSYSCALL): Add 'long int' as return type to
29792 INTERNAL_VSYSCALL_NCS macro invocation.
29793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29794
d3b9ea61
SP
297952013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29796
0b57daeb
SP
29797 [BZ #14496]
29798 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29799 Fix application of SIMD FP exception mask.
29800
caa99d06
SP
29801 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29802 mp_no from a power of two.
29803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29804 __mpexp_twomm1. Use __pow_mp.
29805
d3b9ea61
SP
29806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29807 multiplication.
29808
1dbaee3c
DM
298092013-01-17 David S. Miller <davem@davemloft.net>
29810
29811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29812
728d7b43
JM
298132013-01-17 Joseph Myers <joseph@codesourcery.com>
29814
29815 [BZ #15023]
29816 * include/complex.h: Condition contents on [!_COMPLEX_H].
29817 (__kernel_casinhf): New prototype.
29818 (__kernel_casinh): Likewise.
29819 (__kernel_casinhl): Likewise.
29820 * math/Makefile (libm_calls): Add k_casinh.
29821 * math/k_casinh.c: New file.
29822 * math/k_casinhf.c: Likewise.
29823 * math/k_casinhl.c: Likewise.
29824 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29825 finite nonzero arguments.
29826 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29827 finite nonzero arguments.
29828 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29829 finite nonzero arguments.
29830 * math/s_casinh.c: Do not include <float.h>.
29831 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29832 * math/s_casinhf.c: Do not include <float.h>.
29833 (__casinhf): Move code for finite nonzero arguments to
29834 k_casinhf.c.
29835 * math/s_casinhl.c: Do not include <float.h>.
29836 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29837 redefine.
29838 (__casinhl): Move code for finite nonzero arguments to
29839 k_casinhl.c.
29840 * math/libm-test.inc (cacos_test): Add more tests.
29841 * sysdeps/i386/fpu/libm-test-ulps: Update.
29842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29843
2a26ef3a
PT
298442013-01-17 Pino Toscano <toscano.pino@tiscali.it>
29845
29846 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29847 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29848 [!HAVE_MREMAP]: Remove [defined linux] case.
29849 * malloc/arena.c: Do not include <malloc-sysdep.h>.
29850
a897655d
SP
298512013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29852
29853 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29854
881ebe89 298552013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29856
29857 * elf/elf.h (R_386_SIZE32): New relocation.
29858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29859 R_386_SIZE32.
29860 (elf_machine_rela): Likewise.
29861 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29862 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29863
59981e9b
JM
298642013-01-17 Joseph Myers <joseph@codesourcery.com>
29865
29866 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29867 (FP_FAST_FMA): Do not define.
29868 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29869 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29870 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29871 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29872 !_SOFT_FLOAT]: Likewise.
29873 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29874 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29875 value.
29876 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29877 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29878 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29880 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29881 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29882 file.
29883
cfa8054f
AS
298842013-01-16 Andreas Schwab <schwab@suse.de>
29885
29886 [BZ #14327]
29887 * include/stdlib.h (__mktemp): Add declaration.
29888 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29889 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29890
dd930cc5
SP
298912013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29892
881ebe89
SP
29893 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29894 definitions.
29895 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29896 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29897 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29898 definitions here.
29899 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29900 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29901 definitions.
29902 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29903 and ONE.
29904 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29905 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29906 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29907 definitions.
29908 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29909 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29910 definitions.
29911 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29912
dd930cc5
SP
29913 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29914
c19a9f89
DM
299152013-01-15 David S. Miller <davem@davemloft.net>
29916
1aa61767
DM
29917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29918 trunc{,f} to libm-sysdep_routes.
29919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29921 file.
29922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29924 file.
29925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29926 file.
29927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29929 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29931 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29933 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29934 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29935
c42d5e98
DM
29936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29937 nearbyint{,f} to libm-sysdep_routes.
29938 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29940 New file.
29941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29942 file.
29943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29944 New file.
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29946 file.
29947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29950 file.
29951 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29953 file.
29954 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29955 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29956 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29957
c19a9f89
DM
29958 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29959 libc_feholdexcept and libc_fesetenv.
29960
357679d2
MF
299612013-01-15 Mike Frysinger <vapier@gentoo.org>
29962
29963 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29964
65a82e3d
DM
299652013-01-14 David S. Miller <davem@davemloft.net>
29966
8b954ab9
DM
29967 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29968 (SPARC_ASM_VIS2_IFUNC): Likewise.
29969 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29971 use of 'siam' instruction.
29972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29973 Likewise.
29974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29975 Likewise.
29976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29977 Likewise.
29978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29983 file.
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29985 file.
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29987 file.
29988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29989 file.
29990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29992 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29995 new VIS2 routines.
29996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29999 Likewise.
30000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30002 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30005 routines to libm-sysdep_routines.
30006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30007
65a82e3d
DM
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30009 fdim/fdimf to libm-sysdep_routines.
30010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30011 file.
30012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30014 file.
30015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30018 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30019 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30020 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30021 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30022
e34ab705
SP
300232013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30024
2a91b573
SP
30025 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30026 to optimize copies.
30027
1066a534
SP
30028 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30031
e34ab705
SP
30032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30033 local variable MPTWO.
30034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30035 Likewise.
30036
aba5e596
MF
300372013-01-13 Mike Frysinger <vapier@gentoo.org>
30038
30039 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30040 GLOB_NOESCAPE.
30041
e557e9e5
MF
300422013-01-13 Mike Frysinger <vapier@gentoo.org>
30043
30044 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30045
0428cec9
MF
300462013-01-13 Mike Frysinger <vapier@gentoo.org>
30047
30048 * manual/pattern.texi (glob_t): Document gl_flags.
30049 (glob64_t): Likewise.
30050
8794a964
DM
300512013-01-11 David S. Miller <davem@davemloft.net>
30052
66438c3f
RM
30053 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30054 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30055 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
30056 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30057 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30058 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30059 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30060 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30061 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30062 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30063 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30064 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30065 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30066
4ae4244d
DM
30067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30068 sparc V9 rather than using V8 code.
30069 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30070 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30071
8794a964
DM
30072 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30073 Move to...
30074 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30075 Here.
30076
6270516e
RM
300772013-01-11 Roland McGrath <roland@hack.frob.com>
30078
30079 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30080 not in the main loop.
30081 * configure: Regenerated.
30082
6a57d931
JM
300832013-01-11 Joseph Myers <joseph@codesourcery.com>
30084
30085 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30086 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30087 to just #else.
30088 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30089 [!__GLIBC_HAVE_LONG_LONG] case.
30090 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30091 condition to just #else.
30092 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30093 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30094 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30095 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30096 unconditional.
30097 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30098 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30099 #elif condition to just #else.
30100 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30101 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30102 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30103 #elif condition to just #else.
30104
0e8529e9
SE
301052013-01-11 Steve Ellcey <sellcey@mips.com>
30106
30107 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30108 (EF_MIPS_ARCH_64): Fix value.
30109 (EF_MIPS_ARCH_32R2): New.
30110 (EF_MIPS_ARCH_64R2): New.
30111
740b3dbe
L
301122013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30113
30114 * Makeconfig (+link-pie-before-libc): New.
30115 (+link-pie-after-libc): Likewise.
30116 (+link-pie-tests): Likewise.
30117 (+link-pie): Rewritten.
30118 (link-before-libc): Remove $(config-LDFLAGS).
30119 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30120 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30121 (config-LDFLAGS): Renamed to ...
30122 (rtld-LDFLAGS): This.
30123 (rtld-tests-LDFLAGS): New macro.
30124 (link-libc-rpath-link): Likewise.
30125 (link-libc-tests-rpath-link): Likewise.
30126 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30127 (link-libc): Prepand $(link-libc-rpath-link).
30128 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30129 (test-program-prefix): New macro.
30130 (test-via-rtld-prefix): Likewise.
30131 (test-program-cmd): Likewise.
30132 (host-test-program-cmd): Likewise.
30133 * Makefile ($(common-objpfx)testrun.sh): Replace
30134 $(run-program-prefix) with $(test-program-prefix).
30135 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30136 $(rtld-LDFLAGS).
30137 ($(common-objpfx)shlib.lds): Likewise.
30138 (build-module-helper): Likewise.
30139 ($(common-objpfx)format.lds): Likewise.
30140 * Rules (binaries-pie-tests): New.
30141 (binaries-pie-notests): Likewise.
30142 (binaries-pie): Rewritten.
30143 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30144 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30145 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30146 (make-test-out): Replace $(host-built-program-cmd) with
30147 $(host-test-program-cmd).
30148 * config.make.in (build-hardcoded-path-in-tests): New variable.
30149 * configure.in (--enable-hardcoded-path-in-tests): New configure
30150 option.
30151 (hardcoded_path_in_tests): New AC_SUBST.
30152 * configure: Regenerated.
30153 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30154 $(built-program-cmd) with $(test-program-cmd).
30155 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30156 (test_program_cmd): This.
30157 * elf/Makefile ($(objpfx)order.out): Run test with
30158 $(test-program-prefix).
30159 ($(objpfx)order2.out): Likewise.
30160 ($(objpfx)tst-initorder.out): Likewise.
30161 ($(objpfx)tst-initorder2.out): Likewise.
30162 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30163 $(test-program-cmd).
30164 ($(objpfx)tst-array1-static.out): Likewise.
30165 ($(objpfx)tst-array2.out): Likewise.
30166 ($(objpfx)tst-array3.out): Likewise.
30167 ($(objpfx)tst-array4.out): Likewise.
30168 ($(objpfx)tst-array5.out): Likewise.
30169 ($(objpfx)tst-array5-static.out): Likewise.
30170 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30171 $(test-program-cmd).
30172 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30173 $(run-program-prefix) with $(test-program-prefix).
30174 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30175 (test_program_prefix): This.
30176 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30177 $(run-program-prefix) with $(test-program-prefix).
30178 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30179 (test_program_prefix): This.
30180 * iconvdata/tst-tables.sh: Likewise.
30181 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30182 $(run-program-prefix) with $(test-program-prefix).
30183 ($(objpfx)tst-translit.out): Likewise.
30184 ($(objpfx)tst-gettext2.out): Likewise.
30185 ($(objpfx)tst-gettext4.out): Likewise.
30186 ($(objpfx)tst-gettext6.out): Likewise.
30187 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30188 (test_program_prefix): This.
30189 * intl/tst-gettext2.sh: Likewise.
30190 * intl/tst-gettext4.sh Likewise.
30191 * intl/tst-gettext6.sh: Likewise.
30192 * intl/tst-translit.sh: Likewise.
30193 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30194 with $(test-program-cmd).
30195 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30196 $(run-program-prefix) with $(test-program-prefix).
30197 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30198 (test_program_prefix): This.
30199 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30200 $(run-program-prefix) with $(test-program-prefix).
30201 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30202 (test_program_prefix): This.
30203 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30204 * posix/Makefile ($(objpfx)globtest.out): Replace
30205 $(run-via-rtld-prefix) and $(test-wrapper) with
30206 $(test-program-prefix) and $(test-via-rtld-prefix).
30207 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30208 $(test-program-prefix).
30209 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30210 $(host-test-program-cmd).
30211 (tst-spawn-ARGS): Likewise.
30212 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30213 $(test-program-prefix).
30214 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30215 (test_via_rtld_prefix): This.
30216 (test_wrapper): Renamed to ...
30217 (test_program_prefix): This.
30218 (run_program_prefix): Replaced by test_program_prefix.
30219 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30220 (test_program_prefix): This.
30221 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30222 with $(host-test-program-cmd).
30223 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30224 $(run-program-prefix) with $(test-program-prefix).
30225 ($(objpfx)tst-printf.out): Likewise.
30226 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30227 $(test-program-cmd).
30228 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30229 (test_program_prefix): This.
30230 * stdio-common/tst-unbputc.sh: Likewise.
30231 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30232 $(run-program-prefix) with $(test-program-prefix).
30233 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30234 (test_program_prefix): This.
30235 * string/Makefile ($(objpfx)tst-svc.out): Replace
30236 $(built-program-cmd) with $(test-program-cmd).
30237
c6fe55cf
AJ
302382013-01-11 Andreas Jaeger <aj@suse.de>
30239
30240 [BZ #15003]
30241 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30242 value. Sync with Linux 3.7.
30243
9e6919c8
DM
302442013-01-10 David S. Miller <davem@davemloft.net>
30245
30246 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30247 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30248 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30249
1c9f1a02
RM
302502013-01-10 Roland McGrath <roland@hack.frob.com>
30251
30252 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30253 never set.
30254 * configure: Regenerated.
30255
b9de2dde
DM
302562013-01-10 David S. Miller <davem@davemloft.net>
30257
30258 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30259 sparc V9 rather than using V8 code.
30260 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30261 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30262
e7f68ef4
RM
302632013-01-10 Roland McGrath <roland@hack.frob.com>
30264
30265 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30266 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30267 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30268 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30269 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30270 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30271 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30272 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30273 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30274 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30275 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30276 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30277 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30278 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30279 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30280 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30281 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30282 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30283 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30284 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30285 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30286 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30287 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30288 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30289 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30290 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30291 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30292
5a47cc9c
DM
302932013-01-10 David S. Miller <davem@davemloft.net>
30294
30295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30296
4cf8f209
L
302972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30298
30299 * posix/Makefile (tests-static): New variable.
30300 (tests): Add $(tests-static).
30301 (tst-exec-static-ARGS): New variable.
30302 (tst-spawn-static-ARGS): Likewise.
30303 * posix/tst-exec-static.c: New file.
30304 * posix/tst-spawn-static.c: Likewise.
30305 * posix/tst-exec.c: Support run directly.
30306 * posix/tst-spawn.c: Likewise.
30307
fed0faa1
JM
303082013-01-10 Joseph Myers <joseph@codesourcery.com>
30309
828beb13
JM
30310 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30311 long.
30312 * math/bits/mathcalls.h (llrint): Likewise.
30313 (llround): Likewise.
30314 * stdlib/stdlib.h (struct drand48_data): Likewise.
30315 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30316 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30317 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30318 Likewise.
30319 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30320 Likewise.
30321 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30322 (elf_greg_t): Likewise.
30323 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30324 (__jmp_buf): Likewise.
30325 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30326 definitions.
30327 (llrint): Likewise, for all definitions.
30328 (llrintl): Likewise.
30329
fed0faa1
JM
30330 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30331 Remove [__GNUC__] condition.
30332 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30333 condition to just [__USE_ISOC99].
30334 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30335
1a20cb20
L
303362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30337
30338 [BZ #14200]
30339 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30340 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30341 defined.
30342 (_POSIX_V6_ILP32_OFF32): Likewise.
30343 (_XBS5_ILP32_OFF32): Likewise.
30344 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30345 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30346
751b85f7
SP
303472013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30348
7490eb81
SP
30349 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30350
751b85f7
SP
30351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30352 doubles __mpexp_twomm1. Adjust usage.
30353 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30354 Remove.
30355
988197f0
AS
303562013-01-10 Andreas Schwab <schwab@suse.de>
30357
30358 [BZ #14964]
30359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30360 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30361
e83d7298
DM
303622013-01-09 David S. Miller <davem@davemloft.net>
30363
034ed64b 30364 [BZ #15003]
57f41c40
AS
30365 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30366 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30367 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30368 (TCP_FASTOPEN): Define.
e83d7298
DM
30369 (tcp_repair_opt): New structure.
30370 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30371 enum values.
57f41c40
AS
30372 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30373 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30374 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
30375 (tcp_cookie_transactions): New structure.
30376
d5e0b9bd
AB
303772013-01-09 Anton Blanchard <anton@samba.org>
30378
30379 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30380 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30381 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30382 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30383
0c07e3ea
JM
303842013-01-09 Joseph Myers <joseph@codesourcery.com>
30385
30386 * include/features.h (__USE_ANSI): Remove.
30387
232f7002
RM
303882013-01-09 Roland McGrath <roland@hack.frob.com>
30389
ad98e30c
RM
30390 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30391
232f7002
RM
30392 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30393
950c99ca
SP
303942013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30395
b5792741
SP
30396 * sysdeps/s390/fpu/libm-test-ulps: Update.
30397
47cf2278
SP
30398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30399
950c99ca
SP
30400 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30401 (__acr): Likewise.
30402 (__cpy): Likewise.
30403 (norm): Likewise.
30404 (denorm): Likewise.
30405 (__mp_dbl): Likewise.
30406 (__dbl_mp): Likewise.
30407 (add_magnitudes): Likewise.
30408 (sub_magnitudes): Likewise.
30409 (__add): Likewise.
30410 (__sub): Likewise.
30411 (__mul): Likewise.
30412 (__inv): Likewise.
30413 (__dvd): Likewise.
30414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30415 (__acr): Likewise.
30416 (__cpy): Likewise.
30417 (norm): Likewise.
30418 (denorm): Likewise.
30419 (__mp_dbl): Likewise.
30420 (__dbl_mp): Likewise.
30421 (add_magnitudes): Likewise.
30422 (sub_magnitudes): Likewise.
30423 (__add): Likewise.
30424 (__sub): Likewise.
30425 (__mul): Likewise.
30426 (__inv): Likewise.
30427 (__dvd): Likewise.
30428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30429 (__acr): Likewise.
30430 (__cpy): Likewise.
30431 (norm): Likewise.
30432 (denorm): Likewise.
30433 (__mp_dbl): Likewise.
30434 (__dbl_mp): Likewise.
30435 (add_magnitudes): Likewise.
30436 (sub_magnitudes): Likewise.
30437 (__add): Likewise.
30438 (__sub): Likewise.
30439 (__mul): Likewise.
30440 (__inv): Likewise.
30441 (__dvd): Likewise.
30442
eede9df9
JM
304432013-01-08 Joseph Myers <joseph@codesourcery.com>
30444
30445 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30446 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30447 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30448 2 && __USE_EXTERN_INLINES]: Likewise.
30449
c40ea3d9
AJ
304502013-01-08 Andreas Jaeger <aj@suse.de>
30451
30452 [BZ# 14985]
30453 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30454 Remove.
30455 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30456 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30457
2ccdea26
AB
304582013-01-07 Anton Blanchard <anton@samba.org>
30459
30460 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30461 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30462 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30463 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30464 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30465 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30466 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30467 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30469 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30472 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30473 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30474 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30475 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30477 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30478 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30479 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30480 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30481 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30483 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30484 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30485 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30486 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30487 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30488 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30489 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30490 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30492 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30493 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30494 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30495 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30496 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30497 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30498 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30499 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30502 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30503
a9708fed
JM
305042013-01-07 Joseph Myers <joseph@codesourcery.com>
30505
375607b9
JM
30506 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30507 (__MALLOC_PMT): Likewise.
30508 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30509 [__GNUC__], only on [_LIBC].
30510 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30511 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30512 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30513 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30514 forward declaration.
30515 (realloc_hook_ini): Likewise.
30516 (memalign_hook_ini): Likewise.
30517 (__libc_memalign): Do not use __MALLOC_PMT in variable
30518 declaration.
30519 (__libc_valloc): Likewise.
30520 (__libc_pvalloc): Likewise.
30521 (__libc_calloc): Likewise.
30522 (__posix_memalign): Likewise.
30523
a9708fed
JM
30524 [BZ #14996]
30525 * math/s_casinh.c: Include <float.h>.
30526 (__casinh): Do not do computation with squaring and square root
30527 for large arguments.
30528 * math/s_casinhf.c: Include <float.h>.
30529 (__casinhf): Do not do computation with squaring and square root
30530 for large arguments.
30531 * math/s_casinhl.c: Include <float.h>.
30532 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30533 (__casinhl): Do not do computation with squaring and square root
30534 for large arguments.
30535 * math/libm-test.inc (casin_test): Add more tests.
30536 (casinh_test): Likewise.
30537 * sysdeps/i386/fpu/libm-test-ulps: Update.
30538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30539
afec409a
L
305402013-01-04 H.J. Lu <hongjiu.lu@intel.com>
30541
30542 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30543 (__x86_64_raw_data_cache_size): Likewise.
30544 (__x86_64_data_cache_size_half): Likewise.
30545 (__x86_64_raw_data_cache_size_half): Likewise.
30546 (__x86_64_shared_cache_size): Likewise.
30547 (__x86_64_raw_shared_cache_size): Likewise.
30548 (__x86_64_shared_cache_size_half): Likewise.
30549 (__x86_64_raw_shared_cache_size_half): Likewise.
30550 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30551 to ...
30552 (__x86_data_cache_size): This.
30553 (__x86_64_raw_data_cache_size): Renamed to ...
30554 (__x86_raw_data_cache_size): This.
30555 (__x86_64_data_cache_size_half): Renamed to ...
30556 (__x86_data_cache_size_half): This.
30557 (__x86_64_raw_data_cache_size_half): Renamed to ...
30558 (__x86_raw_data_cache_size_half): This.
30559 (__x86_64_shared_cache_size): Renamed to ...
30560 (__x86_shared_cache_size): This.
30561 (__x86_64_raw_shared_cache_size): Renamed to ...
30562 (__x86_raw_shared_cache_size): This.
30563 (__x86_64_shared_cache_size_half): Renamed to ...
30564 (__x86_shared_cache_size_half): This.
30565 (__x86_64_raw_shared_cache_size_half): Renamed to ...
30566 (__x86_raw_shared_cache_size_half): This.
30567 * sysdeps/x86_64/memcpy.S: Updated.
30568 * sysdeps/x86_64/memset.S: Likewise.
30569 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30572
0b3986d0
DM
305732013-01-04 David S. Miller <davem@davemloft.net>
30574
30575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30576
e47686e9
AS
305772013-01-04 Andreas Schwab <schwab@linux-m68k.org>
30578
d643bac1
AS
30579 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30580 1 to avoid redefinition warning.
30581 (__USE_GNU): Don't define.
30582 (init_signaling_nan): Protoize.
30583
e47686e9
AS
30584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30585
b18decba
SP
305862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30587
fffb407f
SP
30588 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30590 (__cpymn): Likewise.
30591 (norm): Remove commented code.
30592 (denorm): Likewise.
30593 (__mp_dbl): Likewise.
30594 (__inv): Likewise.
30595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30596 (__cpymn): Likewise.
30597 (norm): Remove commented code.
30598 (denorm): Likewise.
30599 (__mp_dbl): Likewise.
30600 (__inv): Likewise.
30601
b18decba
SP
30602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30603 mp_no value for 1.0 and 2.0.
30604 (norm): Use RADIXI instead of radixi.d.
30605 (denorm): Likewise.
30606 (__mul): Use 0.0 instead of zero.d.
30607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30608 mp_no value for 1.0 and 2.0.
30609 (norm): Use RADIXI instead of radixi.d.
30610 (denorm): Likewise.
30611 (__mul): Use 0.0 instead of zero.d.
30612
cdc1c96f
JM
306132013-01-04 Joseph Myers <joseph@codesourcery.com>
30614
30615 [BZ #14994]
30616 * math/s_casinh.c (__casinh): Reduce finite argument to first
30617 quadrant then set signs of results at the end.
30618 * math/s_casinhf.c (__casinhf): Likewise.
30619 * math/s_casinhl.c (__casinhl): Likewise.
30620 * math/libm-test.inc (casin_test): Add more tests.
30621 (casinh_test): Likewise.
30622 * sysdeps/i386/fpu/libm-test-ulps: Update.
30623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30624
302913e1
SP
306252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30626
6420d207
SP
30627 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30628
a9e48ab4
SP
30629 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30630
b7837264
SP
30631 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30632 declarations.
30633 (denorm): Likewise.
30634 (__mp_dbl): Likewise.
30635 (__inv): Likewise.
30636
f8af25d2
SP
30637 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30638 and adjust the header comment.
30639
302913e1
SP
30640 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30641 variable name from declaration.
30642
5d7dd1ca
L
306432013-01-03 H.J. Lu <hongjiu.lu@intel.com>
30644
30645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30646 Initialize COMMON_CPUID_INDEX_7 element.
30647 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30648 (CPUID_RTM): Likewise.
30649 (HAS_RTM): Likewise.
30650 (COMMON_CPUID_INDEX_7): New enum.
30651
2f5f40f4
AS
306522013-01-03 Andreas Schwab <schwab@linux-m68k.org>
30653
30654 [BZ #14981]
30655 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30656 size is zero, record memory as freed.
30657
4056f4a0
AJ
306582013-01-03 Andreas Jaeger <aj@suse.de>
30659
30660 * po/ia.po: Add new Interlingua translation.
30661
ab15736f 306622012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
30663
30664 * locale/programs/localedef.c: Fix description of '--posix' flag.
30665
568035b7
JM
306662013-01-02 Joseph Myers <joseph@codesourcery.com>
30667
e6898b8d
JM
30668 * NEWS: Update dates in second copyright notice.
30669 * README: Update copyright dates in example.
30670 * manual/libc.texinfo: Update copyright dates.
30671 * scripts/test-installation.pl: Update copyright date in --version
30672 output.
30673
0e2f9562
JM
30674 * hurd/ctty-input.c: Fix copyright notice formatting.
30675 * hurd/ctty-output.c: Likewise.
30676 * hurd/dtable.c: Likewise.
30677 * hurd/hurd-raise.c: Likewise.
30678 * hurd/hurdprio.c: Likewise.
30679 * hurd/msgportdemux.c: Likewise.
30680 * misc/sys/file.h: Likewise.
30681 * misc/sys/ioctl.h: Likewise.
30682 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30683 * sysdeps/mach/hurd/chdir.c: Likewise.
30684 * sysdeps/mach/hurd/fchdir.c: Likewise.
30685 * sysdeps/mach/hurd/rename.c: Likewise.
30686 * sysdeps/mach/hurd/rmdir.c: Likewise.
30687 * sysdeps/mach/hurd/seekdir.c: Likewise.
30688 * sysdeps/mach/hurd/setsid.c: Likewise.
30689 * sysdeps/posix/wait3.c: Likewise.
30690
568035b7
JM
30691 * All files with FSF copyright notices: Update copyright dates
30692 using scripts/update-copyrights.
30693 * intl/plural.c: Regenerated.
30694 * locale/programs/charmap-kw.h: Likewise.
30695 * locale/programs/locfile-kw.h: Likewise.
30696
da08f647
SP
306972013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30698
0f5477af
SP
30699 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30700 four values.
30701
44e0d4c2
SP
30702 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30703 calculation loop and add branch prediction.
30704
4d55b4e5
SP
30705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30706 check access beyond bounds of m1np.
30707
da08f647
SP
30708 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30709 MPTWO.
30710 (__inv): Remove local variable MPTWO to use the global
30711 constant.
30712 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30713 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30714 variable MPTWO.
30715 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30716 MP3HALFS static const.
30717
8e051029
DM
307182013-01-01 David S. Miller <davem@davemloft.net>
30719
30720 * po/ca.po: Update from translation team.
30721
f4cf5f2d
JM
307222013-01-01 Joseph Myers <joseph@codesourcery.com>
30723
30724 * scripts/update-copyrights: New file.
30725 * Makeconfig: Reformat copyright notice.
30726 * ctype/ctype.h: Likewise.
30727 * debug/swprintf_chk.c: Likewise.
30728 * elf/dl-cache.c: Likewise.
30729 * elf/dl-debug.c: Likewise.
30730 * elf/dl-object.c: Likewise.
30731 * grp/initgroups.c: Likewise.
30732 * hurd/Makefile: Likewise.
30733 * hurd/hurd/signal.h: Likewise.
30734 * hurd/hurdfault.c: Likewise.
30735 * hurd/hurdioctl.c: Likewise.
30736 * hurd/hurdlookup.c: Likewise.
30737 * hurd/intr-msg.c: Likewise.
30738 * iconv/gconv_open.c: Likewise.
30739 * libio/swprintf.c: Likewise.
30740 * locale/lc-ctype.c: Likewise.
30741 * locale/nl_langinfo.c: Likewise.
30742 * mach/Machrules: Likewise.
30743 * mach/Makefile: Likewise.
30744 * malloc/obstack.h: Likewise.
30745 * manual/Makefile: Likewise.
30746 * manual/tsort.awk: Likewise.
30747 * misc/bits/stab.def: Likewise.
30748 * nis/nis_print_group_entry.c: Likewise.
30749 * nis/nis_table.c: Likewise.
30750 * nis/nss_compat/compat-pwd.c: Likewise.
30751 * nis/nss_compat/compat-spwd.c: Likewise.
30752 * po/Makefile: Likewise.
30753 * posix/fnmatch.c: Likewise.
30754 * posix/regex.h: Likewise.
30755 * resolv/Makefile: Likewise.
30756 * resolv/nss_dns/dns-network.c: Likewise.
30757 * resolv/res_hconf.c: Likewise.
30758 * scripts/gen-sorted.awk: Likewise.
30759 * soft-fp/soft-fp.h: Likewise.
30760 * stdio-common/printf.h: Likewise.
30761 * stdlib/monetary.h: Likewise.
30762 * stdlib/random.c: Likewise.
30763 * stdlib/random_r.c: Likewise.
30764 * sysdeps/generic/Makefile: Likewise.
30765 * sysdeps/gnu/Makefile: Likewise.
30766 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30774 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30775 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30776 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30777 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30778 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30779 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30780 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30781 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30782 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30784 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30785 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30789 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30790 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30791 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30794 * sysdeps/mach/hurd/errnos.awk: Likewise.
30795 * sysdeps/mach/hurd/fork.c: Likewise.
30796 * sysdeps/mach/hurd/getcwd.c: Likewise.
30797 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30798 * sysdeps/mach/hurd/mmap.c: Likewise.
30799 * sysdeps/mach/hurd/utimes.c: Likewise.
30800 * sysdeps/mach/hurd/xmknod.c: Likewise.
30801 * sysdeps/posix/profil.c: Likewise.
30802 * sysdeps/posix/readdir_r.c: Likewise.
30803 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30804 * sysdeps/powerpc/bits/setjmp.h: Likewise.
30805 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30806 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30808 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30809 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30810 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30812 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30813 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30814 * sysdeps/pthread/lio_listio.c: Likewise.
30815 * sysdeps/sparc/dl-procinfo.h: Likewise.
30816 * sysdeps/unix/i386/sysdep.S: Likewise.
30817 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30818 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30819 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30820 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30822 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30823 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30824 * sysdeps/unix/sysv/linux/speed.c: Likewise.
30825 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30826 * sysdeps/wordsize-32/divdi3.c: Likewise.
30827 * time/sys/time.h: Likewise.
30828 * wcsmbs/Makefile: Likewise.
30829
0549fbba
DM
308302013-01-01 David S. Miller <davem@davemloft.net>
30831
a141f1a7
DM
30832 * po/fr.po: Update from translation team.
30833
0549fbba
DM
30834 * catgets/gencat.c: Update copyright year.
30835 * csu/version.c: Likewise.
30836 * debug/catchsegv.sh: Likewise.
30837 * debug/pcprofiledump.c: Likewise.
30838 * debug/xtrace.sh: Likewise.
30839 * elf/ldconfig.c: Likewise.
30840 * elf/ldd.bash.in: Likewise.
30841 * elf/pldd.c: Likewise.
30842 * elf/sotruss.ksh: Likewise.
30843 * elf/sprof.c: Likewise.
30844 * iconv/iconv_prog.c: Likewise.
30845 * iconv/iconvconfig.c: Likewise.
30846 * locale/programs/locale.c: Likewise.
30847 * locale/programs/localedef.c: Likewise.
30848 * login/programs/pt_chown.c: Likewise.
30849 * malloc/memusage.sh: Likewise.
30850 * malloc/memusagestat.c: Likewise.
30851 * malloc/mtrace.pl: Likewise.
30852 * nscd/nscd.c: Likewise.
30853 * nss/getent.c: Likewise.
30854 * nss/makedb.c: Likewise.
30855 * posix/getconf.c: Likewise.
30856
18ea052c
SP
308572012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30858
30859 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30860 numbers.
30861
9c89fca6
MF
308622012-12-30 Mike Frysinger <vapier@gentoo.org>
30863
30864 * math/bits/mathcalls.h (modf): Use __nonnull.
30865
085ec079
SP
308662012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30867
30868 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30869 (split): Use macro CN instead of the bare value.
30870 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30871 could be used.
30872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30873 instead of the bare value.
30874 (power1): Likewise.
30875
6d9f97e1
SP
308762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30877
d63f73be
SP
30878 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30879 __ATAN_TWOM.
30880 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30881
6d9f97e1
SP
30882 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30883 their values.
30884 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30885 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30886 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30887 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30888
4c4febf5
AJ
308892012-12-28 Andreas Jaeger <aj@suse.de>
30890
af5843ef
AJ
30891 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30892 values are from Linux 3.7.
30893
4c4febf5
AJ
30894 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30895 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30896
99136f82
SP
308972012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30898
2f216c3c 30899 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30900 TRUE case.
30901
99136f82
SP
30902 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30903 (norm): Likewise.
30904 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30905 variables with preprocessor constants.
30906 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30907 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30908 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30909
7fffbdff
BH
309102012-12-27 Bruno Haible <bruno@clisp.org>
30911
30912 [BZ #14317]
30913 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30914 only if needed.
30915
b76eb5f0
SP
309162012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30917
31a7fe5c
SP
30918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30919 and use variable directly.
30920 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30921
b76eb5f0
SP
30922 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30923 MPONE.
30924 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30925 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30926 variable MPONE.
30927 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30929 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30930 include directive. Remove local variable MPONE.
30931 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30932 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30933 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30934
2c8bfe7d
DM
309352012-12-25 David S. Miller <davem@davemloft.net>
30936
30937 * version.h (RELEASE): Set to "development".
30938 (VERSION): Set to "2.17.90".
30939 * NEWS: Add 2.18 section.
30940
147d03b0
DM
309412012-12-21 David S. Miller <davem@davemloft.net>
30942
30943 * po/hr.po: Update from translation team.
30944
a8ebb2b9
AK
309452012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30946
30947 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30948
95b4f1b6
SE
309492012-12-19 Steve Ellcey <sellcey@mips.com>
30950
b2d94007 30951 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30952
cedb2a90
MS
309532012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30954
30955 * manual/contrib.texi (Contributors): Spelling correction.
30956
bbf527d6
DM
309572012-12-15 David S. Miller <davem@davemloft.net>
30958
30959 * po/ru.po: Update from translation team.
30960
bc38c906
DM
309612012-12-13 David S. Miller <davem@davemloft.net>
30962
85429b1a
DM
30963 * NEWS: Mention IFUNC testsuite enhancements.
30964
d283e353
DM
30965 * po/pl.po: Update from translation team.
30966 * po/bg.po: Likewise.
30967
bc38c906
DM
30968 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30969 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30970
a181b0d7
DM
309712012-12-11 David S. Miller <davem@davemloft.net>
30972
4641d57e
DM
30973 * po/sv.po: Update from translation team.
30974
f7bc6495
DM
30975 * po/vi.po: Update from translation team.
30976
6fc9048f
DM
30977 * po/cs.po: Update from translation team.
30978
a181b0d7
DM
30979 * po/de.po: Update from translation team.
30980 * po/eo.po: Likewise.
30981 * po/nl.po: Likewise.
30982
f70bfe80
SP
309832012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30984
3c8b4190
SP
30985 [BZ #14246]
30986 * manual/argp.texi (Argp Helper Functions): Move node to follow
30987 Argp Parsing State.
30988
f70bfe80
SP
30989 [BZ #14872]
30990 * manual/conf.texi (Limits on File System Capacity): Mention if
30991 terminating null is included in the max size.
30992
188f0adf
AJ
309932012-12-10 Andreas Jaeger <aj@suse.de>
30994
30995 * po/cs.po: Update from translation team.
30996
56e7d3ad
SP
309972012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30998
30999 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31000 void pointer and cast to uintptr_t.
31001 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31002 path.
31003 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31004 * sysdeps/s390/s390-64/memset.S: Likewise.
31005
76f2d2ea 310062012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
31007
31008 [BZ #14833]
31009 * menual/message.texi (Message Translation): Fix typos.
31010 (Helper programs for gettext): Likewise.
31011
67cbf9a2
AS
310122012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31013
31014 [BZ #14898]
31015 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31016 Change to -1.
31017
682d0e9a
DM
310182012-12-07 David S. Miller <davem@davemloft.net>
31019
31020 * po/libc.pot: Update.
31021
573cd484
RH
310222012-12-07 Richard Henderson <rth@redhat.com>
31023
7e9da188 31024 [BZ #10114]
573cd484
RH
31025 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31026 normal/normal case to before the switch.
31027 (_FP_DIV): Likewise.
31028
e933a943
MF
310292012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31030 Mike Frysinger <vapier@gentoo.org>
31031
31032 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31033 check for __NR_fadvise64_64.
31034
82123268
CM
310352012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31036
31037 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31038 0, not just to plain "0" as a statement.
31039 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31040 with cw.
31041
d9814526
JM
310422012-12-06 Joseph Myers <joseph@codesourcery.com>
31043
31044 * NEWS: Use sourceware.org in Bugzilla URL.
31045
7728c574
SP
310462012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31047
f16946dd
SP
31048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31049 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31050
5704bbcb
SP
31051 * stdio-common/tst-put-error.c (do_test): Add newline to the
31052 padded test to ensure flush.
31053
17aa0516
JL
310542012-12-05 Jeff Law <law@redhat.com>
31055
31056 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31057
363313b5
JM
310582012-12-05 Joseph Myers <joseph@codesourcery.com>
31059
effbd42a
JM
31060 * README: Don't refer to ports add-on as distributed separately.
31061 Mention AArch64 in list of systems supported in the ports add-on.
31062
87600365
JM
31063 * LICENSES: Add more non-FSF copyright and license notices.
31064
a0d7066a
JM
31065 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31066 ((unused)).
31067
66ca5a5b
JM
31068 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31069
363313b5
JM
31070 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31071 10000 as width of padded output.
31072
b37984ad
JM
310732012-12-04 Joseph Myers <joseph@codesourcery.com>
31074
9003570a
JM
31075 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31076
b37984ad
JM
31077 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31078 variable LX with __attribute__ ((unused)).
31079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31080 Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31083 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31084 with __attribute__ ((unused)).
31085
c8df52ec
DM
310862012-12-04 David S. Miller <davem@abraco.davemloft.net>
31087
31088 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31089
b3b099af
JM
310902012-12-04 Joseph Myers <joseph@codesourcery.com>
31091
c33aa6e3
JM
31092 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31093 (CFLAGS-nldbl-acos.c): New variable.
31094 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31095 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31096 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31097 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31098 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31099 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31100 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31101 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31102 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31103 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31104 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31105 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31106 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31107 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31108 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31109 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31110 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31111 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31112 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31113 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31114 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31115 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31116 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31117 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31118 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31119 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31120 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31121 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31122 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31123 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31124 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31125 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31126 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31127 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31128 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31129 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31130 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31131 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31132 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31133 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31134 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31135 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31136 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31137 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31138 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31139 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31140 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31141 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31142 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31143 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31144 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31145 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31146 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31147 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31148 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31149 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31150 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31151 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31152 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31153 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31154 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31155 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31156 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31157 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31158 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31159 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31160 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31161 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31162 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31163 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31164 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31165 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31166 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31167 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31168 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31169 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31170 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31171 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31172 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31173 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31174 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31175 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31176 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31177 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31178 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31179 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31180 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31181 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31182 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31183 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31184 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31185 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31186 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31187 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31188 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31189 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31190 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31191
20f0018d
JM
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31193 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31194
b3b099af
JM
31195 [BZ #14914]
31196 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31197 whole low double instead of just low 47 bits when splitting values
31198 into two parts.
31199
029264d1
AM
312002012-12-03 Allan McRae <allan@archlinux.org>
31201
31202 * manual/stdio.texi (Predefined Printf Handlers): Remove
31203 @hsep and @vsep usage.
31204
c9d6789e
MF
312052012-12-03 Mike Frysinger <vapier@gentoo.org>
31206
31207 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31208 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31209
4b7634a5
JL
312102012-12-03 Jeff Law <law@redhat.com>
31211
31212 * time/sys/time.h (settimeofday): Do not mark TV argument
31213 as __nonnull.
31214
eb6cbd24
MF
312152012-12-01 Mike Frysinger <vapier@gentoo.org>
31216
31217 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31218 when currently writing and seek to current position when not.
31219 * libio/Makefile (tests): Remove bug-fclose1.
31220 * libio/bug-fclose1.c: Delete.
31221
f638872a
JM
312222012-12-01 Joseph Myers <joseph@codesourcery.com>
31223
31224 * manual/arith.texi (feenableexcept): Fix typo.
31225 (fedisableexcept): Likewise.
31226
48085d14
RM
312272012-11-30 Roland McGrath <roland@hack.frob.com>
31228
31229 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31230 second, differently-typed declaration, rather than a cast.
31231
1a538b9f
SP
312322012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31233
31234 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31235 * include/rpc/svc.h: ... here.
31236
d07f2ff1 312372012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
31238
31239 [BZ #13013]
31240 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31241 depending n and resplen2 to catch cases where answer
31242 equals answerp2.
31243
c93ec1f0
CD
312442012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31245
31246 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31247 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31248
37db69de
MF
312492012-11-29 Mike Frysinger <vapier@gentoo.org>
31250
31251 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31252
e10c4e4f
RM
312532012-11-29 Roland McGrath <roland@hack.frob.com>
31254
31255 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31256
2af1b328
JL
312572012-11-28 Jeff Law <law@redhat.com>
31258
31259 [BZ #13761]
31260 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31261 dataset_temporary. Track alloca usage into alloca_used.
31262 If dataset is large allocate and release it via malloc/free.
31263
111db5b1
FW
312642012-06-04 Florian Weimer <fweimer@redhat.com>
31265
f06cc227 31266 [BZ #14197]
111db5b1
FW
31267 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31268
dd694abd
DM
312692012-11-28 David S. Miller <davem@davemloft.net>
31270
31271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31272
9984dd01
JM
312732012-11-28 Joseph Myers <joseph@codesourcery.com>
31274
31275 [BZ #14803]
31276 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31277 of pi/2 rounded to nearest to 64 bits.
31278 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31279 nearest to 64 bits.
31280 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31281 bits.
31282
14bc93a9
JL
312832012-11-28 Jeff Law <law@redhat.com>
31284 Martin Osvald <mosvald@redhat.com>
31285
31286 [BZ #14889]
31287 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31288 * sunrpc/svc.c: Include time.h.
31289 (__svc_accept_failed): New function.
31290 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31291 any reason other than EINTR, call __svc_accept_failed.
31292 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31293 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31294
e3c6aa3a
AS
312952012-11-28 Andreas Schwab <schwab@suse.de>
31296
31297 * scripts/abilist.awk: Also handle indirect functions in .opd
31298 section.
31299
1bead169
JM
313002012-11-28 Joseph Myers <joseph@codesourcery.com>
31301
31302 [BZ #13881]
31303 * sysdeps/x86/fpu/powl_helper.c: New file.
31304 * sysdeps/x86/fpu/Makefile: Likewise.
31305 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31306 (p3): New object.
31307 (__ieee754_powl): Use __powl_helper for finite arguments except
31308 integer exponents below 8.
31309 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31310 (p3): New object.
31311 (__ieee754_powl): Use __powl_helper for finite arguments except
31312 integer exponents below 8.
31313 * math/libm-test.inc (pow_test): Add more tests and enable some
31314 previously disabled tests.
31315 * sysdeps/i386/fpu/libm-test-ulps: Update.
31316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31317
0817d63d
SP
313182012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31319 Carlos O'Donell <carlos_odonell@mentor.com>
31320
31321 * nss/makedb.c (is_prime): Assert that input is odd and greater
31322 than 4. Note that fact in a comment too.
31323 (next_prime): Add 4 to input.
31324
de2fd463
SP
313252012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31326
31327 [BZ #11741]
31328 * libio/Makefile (tests): Add test case tst-fwrite-error.
31329 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31330 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31331 * libio/tst-fwrite-error.c: New test case.
31332
c515fb51
L
313332012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31334
31335 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31336 before casting to void *.
31337 * include/libc-internal.h (__pointer_type): New macro.
31338 (__integer_if_pointer_type_sub): Likewise.
31339 (__integer_if_pointer_type): Likewise.
31340 (cast_to_integer): Likewise.
31341 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31342 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31343 before casting to atomic64_t.
31344 (atomic_exchange_acq): Likewise.
31345 (__arch_exchange_and_add_body): Likewise.
31346 (__arch_add_body): Likewise.
31347 (atomic_add_negative): Likewise.
31348 (atomic_add_zero): Likewise.
31349
4cf77aa9
JM
313502012-11-26 Joseph Myers <joseph@codesourcery.com>
31351
31352 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31353 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31354 (add_fdes): Likewise.
31355 (linear_search_fdes): Likewise.
31356 (binary_search_unencoded_fdes): Likewise.
31357
d260b3b4
AS
313582012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31359
31360 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31361
67060746
AC
313622012-11-24 Adam Conrad <adconrad@0c3.net>
31363
31364 * configure.in: Autodetect C++ header directories.
31365 * configure: Regenerated.
31366
800938a1
MF
313672012-11-23 Mike Frysinger <vapier@gentoo.org>
31368
31369 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31370
4e6e34e6
AS
313712012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31372
31373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31374
7c7feb47
JM
313752012-11-22 Joseph Myers <joseph@codesourcery.com>
31376
7184dcdf
JM
31377 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31378 LDBL_MANT_DIG == 106]: Disable some tests.
31379 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31380 Likewise.
31381 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31382 Likewise.
31383
0a42601f
JM
31384 [BZ #14871]
31385 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31386 input for small inputs. Return +/- pi/2 for large inputs.
31387 * math/libm-test.inc (atan_test): Add more tests.
31388
79c9b9fe
JM
31389 * sysdeps/generic/unwind-dw2-fde-glibc.c
31390 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31391 __attribute__ ((unused)).
31392
c60d3bf2
JM
31393 [BZ #14645]
31394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31395 x * y if x and y are nonzero and z is zero.
31396
ef1e0867
JM
31397 [BZ #14811]
31398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31399 nonzero exponents with absolute value below 0x1p-117 to +/-
31400 0x1p-117.
31401
1468ded3
JM
31402 [BZ #14869]
31403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31404 up arguments below 2**-450, not just those below 2**-500.
31405 * math/libm-test.inc (hypot_test): Add another test.
31406
8e27e3cc
JM
31407 [BZ #14868]
31408 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31409 Return a+b for ratio over 2**120, not 2**60.
31410 * math/libm-test.inc (hypot_test): Add another test.
31411
c9c0279b
JM
31412 * math/libm-test.inc (clog_test): Use
31413 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31414 (clog10_test): Likewise.
31415
7c7feb47
JM
31416 [BZ #6778]
31417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31418
fff1530e
AS
314192012-11-22 Andreas Schwab <schwab@suse.de>
31420
31421 * sysdeps/i386/fpu/libm-test-ulps: Update.
31422
94558d30
PT
314232012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31424
31425 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31426 printf output with newline.
31427
7e1be741
L
314282012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31429
6bfea974
L
31430 [BZ #14865]
31431 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31432 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31433 -z nodlopen, -z initfirst and -z execstack support.
31434 * configure: Regenerated.
31435
7e1be741
L
31436 * elf/elf.h (DF_1_NODIRECT): New macro.
31437 (DF_1_IGNMULDEF): Likewise.
31438 (DF_1_NOKSYMS): Likewise.
31439 (DF_1_NOHDR): Likewise.
31440 (DF_1_EDITED): Likewise.
31441 (DF_1_NORELOC): Likewise.
31442 (DF_1_SYMINTPOSE): Likewise.
31443 (DF_1_GLOBAUDIT): Likewise.
31444 (DF_1_SINGLETON): Likewise.
31445 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31446 DT_1_SUPPORTED_MASK bits.
31447 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31448
105ce2ce
CD
314492012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31450
31451 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31452
123be9de
TS
314532012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31454
d072f3f7
TS
31455 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31456 macro.
31457
123be9de
TS
31458 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31459 (sendmmsg): Move declarations...
31460 * socket/sys/socket.h: ... here.
31461 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31462 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31463 include it from...
31464 * socket/recvmmsg.c: ... this new file.
31465 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31466 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31467 definition of __sendmmsg hidden.
31468 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31469 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31470 Move ENOSYS stub into and include it from...
31471 * socket/sendmmsg.c: ... this new file.
31472 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31473 (sysdep_routines): Move recvmmsg and sendmmsg...
31474 * socket/Makefile (routines): ... here.
31475 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31476 (GLIBC_PRIVATE): Add __sendmmsg.
31477 * include/sys/socket.h (__sendmmsg): Add declarations.
31478 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31479 sendmmsg.
31480
cf9a5d18
JM
314812012-11-20 Joseph Myers <joseph@codesourcery.com>
31482
31483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31484 variable I1 with __attribute__ ((unused)).
31485 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31486
ecd4caf9
JM
314872012-11-19 Joseph Myers <joseph@codesourcery.com>
31488
be14d48f
JM
31489 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31490 DUMMY variables with __attribute__ ((unused)).
31491
ecd4caf9
JM
31492 * bits/byteswap.h: Include <bits/types.h>.
31493 (__bswap_64): Use __uint64_t instead of unsigned long long int.
31494
986cab95
PT
314952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31496
31497 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31498 string_t. Do not manually set errno.
31499 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31500 length with __strnlen. Make sure to both set errno and return it on
31501 failure.
31502
6d33cc9d
DM
315032012-11-19 David S. Miller <davem@davemloft.net>
31504
31505 With help from Joseph Myers.
31506 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31507 very large arguments properly.
31508 * math/libm-test.inc (atan_test): New tests.
31509 (atan2_test): New tests.
31510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31512
ee663277
JM
315132012-11-19 Joseph Myers <joseph@codesourcery.com>
31514
877f2d8e
JM
31515 [BZ #14856]
31516 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31517 Define to 3.
31518
116fc08a
JM
31519 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31520 [POSIX] (EADDRNOTAVAIL): Likewise.
31521 [POSIX] (EAFNOSUPPORT): Likewise.
31522 [POSIX] (EALREADY): Likewise.
31523 [POSIX] (ECONNABORTED): Likewise.
31524 [POSIX] (ECONNREFUSED): Likewise.
31525 [POSIX] (ECONNRESET): Likewise.
31526 [POSIX] (EDESTADDRREQ): Likewise.
31527 [POSIX] (EDQUOT): Likewise.
31528 [POSIX] (EHOSTUNREACH): Likewise.
31529 [POSIX] (EIDRM): Likewise.
31530 [POSIX] (EISCONN): Likewise.
31531 [POSIX] (ELOOP): Likewise.
31532 [POSIX] (EMULTIHOP): Likewise.
31533 [POSIX] (ENETDOWN): Likewise.
31534 [POSIX] (ENETUNREACH): Likewise.
31535 [POSIX] (ENOBUFS): Likewise.
31536 [POSIX] (ENODATA): Likewise.
31537 [POSIX] (ENOLINK): Likewise.
31538 [POSIX] (ENOMSG): Likewise.
31539 [POSIX] (ENOPROTOOPT): Likewise.
31540 [POSIX] (ENOSR): Likewise.
31541 [POSIX] (ENOSTR): Likewise.
31542 [POSIX] (ENOTCONN): Likewise.
31543 [POSIX] (ENOTSOCK): Likewise.
31544 [POSIX] (EOPNOTSUPP): Likewise.
31545 [POSIX] (EOVERFLOW): Likewise.
31546 [POSIX] (EPROTO): Likewise.
31547 [POSIX] (EPROTONOSUPPORT): Likewise.
31548 [POSIX] (EPROTOTYPE): Likewise.
31549 [POSIX] (ESTALE): Likewise.
31550 [POSIX] (ETIME): Likewise.
31551 [POSIX] (ETXTBSY): Likewise.
31552 [POSIX] (EWOULDBLOCK): Likewise.
31553 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31554 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31555 [POSIX] (SEEK_CUR): Likewise.
31556 [POSIX] (SEEK_END): Likewise.
31557 [POSIX || UNIX98] (mode_t): Do not require.
31558 [POSIX] (off_t): Likewise.
31559 [POSIX] (pid_t): Likewise.
31560 [POSIX] (sys/stat.h): Do not allow header.
31561 [POSIX] (unistd.h): Likewise.
31562 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31563 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31564 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31565 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31566 require.
31567 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31568 sigevent): Specify elements.
31569 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31570 entry.
31571 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31572 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31573
a483863f
JM
31574 * conform/data/cpio.h-data [POSIX]: Disable whole file.
31575 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31576 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31577 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31578 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31579 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31580 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31581 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31582 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31583 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31584 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31585 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31586 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31587 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31588 Likewise.
31589 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31590 Likewise.
31591 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31592 Likewise.
31593 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31594 Likewise.
31595 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31596 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31599 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31600 Specify lower bound on value.
31601 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31602 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31603 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31604 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31605 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31606 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31607 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31608 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31609 value.
31610 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31611 as optional.
31612 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31613 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31614 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31615 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31616 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31617 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31618 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31619 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31620 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31621 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31622 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31623 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31624 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31625 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31626 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31627 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31628 entry.
31629 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31630 optional.
31631 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31632 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31633 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31634 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31635 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31636 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31637 Likewise.
31638 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31640 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31641 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31642 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
31643 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31645 as optional.
31646 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31649 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31650 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31651 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31652 specify as optional.
31653 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31654 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31655 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31656 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31657 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31658 [XPG3] (NL_LANGMAX): Likewise.
31659 [POSIX || XPG3] (NL_MSGMAX): Likewise.
31660 [POSIX || XPG3] (NL_NMAX): Likewise.
31661 [POSIX || XPG3] (NL_SETMAX): Likewise.
31662 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31663 [XPG3] (NZERO): Likewise.
31664 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31665 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31666 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31667 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31668 (REG_ERANGE): Expect.
31669 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31670 optional-constant.
31671 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31672 Use (void) in prototype.
31673 [POSIX] (*_t): Allow.
31674 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31675 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31676 (WRDE_BADVAL): Expect.
31677
5ba924e3
JM
31678 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31679 expect.
31680 [XPG3 || XPG4] (O_RSYNC): Likewise.
31681 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31682 Likewise.
31683 [XPG3 || XPG4] (pthread_sigmask): Likewise.
31684 [XPG3 || XPG4] (sigqueue): Likewise.
31685 [XPG3 || XPG4] (sigtimedwait): Likewise.
31686 [XPG3 || XPG4] (sigwaitinfo): Likewise.
31687 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31688 [XPG3 || XPG4] (vsnprintf): Likewise.
31689 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31690 Likewise.
31691 [XPG3 || XPG4] (blksize_t): Likewise.
31692 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31693 Likewise.
31694 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31695 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31696 [XPG3 || XPG4] (struct itimerspec): Likewise.
31697 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31698 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31699 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31700 [XPG3 || XPG4] (clockid_t): Likewise.
31701 [XPG3 || XPG4] (timer_t): Likewise.
31702 [XPG3 || XPG4] (clock_getres): Likewise.
31703 [XPG3 || XPG4] (clock_gettime): Likewise.
31704 [XPG3 || XPG4] (clock_settime): Likewise.
31705 [XPG3 || XPG4] (nanosleep): Likewise.
31706 [XPG3 || XPG4] (timer_create): Likewise.
31707 [XPG3 || XPG4] (timer_delete): Likewise.
31708 [XPG3 || XPG4] (timer_gettime): Likewise.
31709 [XPG3 || XPG4] (timer_getoverrun): Likewise.
31710 [XPG3 || XPG4] (timer_settime): Likewise.
31711 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31712 [XPG3 || XPG4] (getlogin_r): Likewise.
31713 [XPG3 || XPG4] (pread): Likewise.
31714 [XPG3 || XPG4] (pthread_atfork): Likewise.
31715 [XPG3 || XPG4] (pwrite): Likewise.
31716
ee663277
JM
31717 [BZ #14835]
31718 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31719 <bits/siginfo.h>.
31720
942caa16
PT
317212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
31722
e19af380
PT
31723 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31724 finalizing MALLSTREAM.
31725
942caa16
PT
31726 * sysdeps/mach/hurd/syncfs.c: New file.
31727
cfde9b46
SP
317282012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31729
31730 [BZ #14719]
31731 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31732 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31733 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31734 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31735 (_nss_dns_gethostbyname4_r): Likewise.
31736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31737 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31738
f6da27e5
PH
317392012-11-19 Peng Haitao <penght@cn.fujitsu.com>
31740
31741 [BZ #13763]
31742 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31743
6665d4a2
SM
317442012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
31745
1f51ee92
SM
31746 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31747 * elf/cache.c (print_entry): Print ",AArch64" for
31748 FLAG_AARCH64_LIB64
31749
6665d4a2
SM
31750 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31751 * elf/cache.c (print_entry): Print ",hard-float" for
31752 FLAG_ARM_LIBHF.
31753
05b227bd
DM
317542012-11-18 David S. Miller <davem@davemloft.net>
31755
31756 With help from Joseph Myers.
31757 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31758 cutoff to 2**-13.
31759 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31760 cutoff to 2**-25.
31761 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31762 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31763 small.
31764 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31765 * math/libm-test.inc (y0_test): New tests.
31766 (y1_test): New tests.
31767 * sysdeps/i386/fpu/libm-test-ulps: Update.
31768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31770
786b0b67
AS
317712012-11-18 Andreas Schwab <schwab@linux-m68k.org>
31772
31773 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31774 64-bit targets.
31775 * configure: Regenerated.
31776
8e18b86d
DM
317772012-11-17 David S. Miller <davem@davemloft.net>
31778
31779 [BZ #14811]
31780 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31781 nonzero exponents with absolute value below 0x1p-128 to +/-
31782 0x1p-128.
31783
531f1ae0
JM
317842012-11-17 Joseph Myers <joseph@codesourcery.com>
31785
12df29e2
JM
31786 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31787
150dc1a0
JM
31788 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31789
531f1ae0
JM
31790 * posix/getconf-speclist.c: New file.
31791 * posix/posix-envs.def: Likewise.
31792 * posix/confstr.c (START_ENV_GROUP): New macro.
31793 (END_ENV_GROUP): Likewise.
31794 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31795 (KNOWN_PRESENT_ENV_STRING): Likewise.
31796 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31797 (UNKNOWN_ENVIRONMENT): Likewise.
31798 (confstr): Include posix-envs.def instead of handling
31799 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31800 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31801 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31802 (END_ENV_GROUP): Likewise.
31803 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31804 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31805 (UNKNOWN_ENVIRONMENT): Likewise.
31806 (__sysconf): Include posix-envs.def instead of handling associated
31807 cases directly here.
31808 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31809 preprocessing getconf-speclist.c rather than running getconf or
31810 generating empty file.
31811
a93f9cbc
PT
318122012-11-16 Pino Toscano <toscano.pino@tiscali.it>
31813
31814 * scripts/check-local-headers.sh: Ignore 'mach' headers.
31815
d64d9f87
AL
318162012-11-16 Andrej Lajovic <natrij@gmail.com>
31817
31818 [BZ #14672]
31819 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31820
447885eb
DM
318212012-11-16 David S. Miller <davem@davemloft.net>
31822
31823 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31824 smaller than LDBL_EPSILON/2.0L, just return xm1.
31825
bcbf9830
L
318262012-11-16 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * elf/tst-array1.c (init): Set constructor priority to 1000.
31829 (fini): Set destructor priority to 1000.
31830 * elf/tst-array2dep.c: Likewise.
31831
2b766585
SP
318322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31833
31834 [BZ #11741]
31835 * libio/fileops.c (_IO_new_file_write): Correctly return error.
31836 (_IO_new_file_xsputn): Also return EOF if none of the input
31837 data was written when overflow failed.
31838 * libio/iopadn.c (_IO_padn): Likewise.
31839 * libio/iowpadn.c (_IO_wpadn): Likewise.
31840 * stdio-common/tst-put-error.c: Add copyright notice.
31841 (do_test): Add case for printing padded string.
31842 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31843 _IO_padn returned error.
31844 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31845 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31846 return EOF.
31847
b1848fde
SP
318482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31849
31850 * libio/libioP.h: Add comment note that the references to C++
31851 bits are now obsolete.
31852
2fd89785
MS
318532012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31854
31855 * math/libm-test.inc (check_complex): Use asprintf.
31856
e3ea5409
JM
318572012-11-14 Joseph Myers <joseph@codesourcery.com>
31858
31859 * debug/pcprofiledump.c (print_version): Update copyright year.
31860 * malloc/memusagestat.c (print_version): Likewise.
31861
2e64d265
L
318622012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31863
31864 [BZ #14831]
31865 * elf/Makefile (tests): Add tst-audit8.
31866 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31867 ($(objpfx)tst-audit8.out): New target.
31868 (tst-audit8-ENV): New variable.
31869 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31870 audit if l_reloc_result is NULL.
31871 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31872 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31873 * elf/tst-audit8.c: New file.
31874
c485e4d2
MS
318752012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31876
31877 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31878 * misc/Makefile (CFLAGS-select.c): Define.
31879 * posix/Makefile (CFLAGS-pause.c): Define.
31880
3a0d900a
DM
318812012-11-13 David S. Miller <davem@davemloft.net>
31882
31883 * crypt/Makefile: Move test targets after toplevel Rules
31884 inclusion. Grab any necessary sysdep routines when linking.
31885 * crypt/md5.c (md5_process_block): Remove define, we will always
31886 name it __md5_process_block.
31887 (md5_finish_ctx): Update md5_process_block call.
31888 (md5_stream): Likewise.
31889 (md5_process_bytes): Likewise.
31890 (md5_process_block): Rename to __md5_process_block and move to ...
31891 * crypt/md5-block.c: ... here.
31892 * crypt/sha256.c (sha256_process_block): Move to ...
31893 * crypt/sha256-block.c: ... here.
31894 * crypt/sha512.c (sha512_process_block): Move to ...
31895 * crypt/sha512-block.c: ... here.
31896 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31897 path.
31898 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31899 * sysdeps/sparc/sparc64/multiarch/Makefile
31900 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31901 crypt subdir.
31902 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31903 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31904 multiarch changes.
31905 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31906 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31907 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31908 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31909 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31910 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31911 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31912 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31914 file.
31915 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31917 file.
31918 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31919
8ca89318
JM
319202012-11-13 Joseph Myers <joseph@codesourcery.com>
31921
e27d476a
JM
31922 * timezone/tzselect.ksh: Update from tzcode git revision
31923 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31924 * timezone/zdump.c: Likewise.
31925 * timezone/zic.c: Likewise.
31926 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31927 in TZVERSION setting, not $(PKGVERSION).
31928 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31929 REPORT_BUGS_TO settings.
31930
8ca89318
JM
31931 [BZ #14838]
31932 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31933 macro.
31934
47594329
MS
319352012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31936
31937 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31938 detection to immediately after _FP_ROUND().
31939 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31940 bits are 0.
31941
640ac3f1
DM
319422012-11-11 David S. Miller <davem@davemloft.net>
31943
31944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31945 inttypes.h
31946 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31947 __close rather than their public counterparts.
31948
3d2577bb
JM
319492012-11-10 Joseph Myers <joseph@codesourcery.com>
31950
31951 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31952 file.
31953 [UNIX98] (sem_timedwait): Do not expect.
31954 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31955 [XPG4 || UNIX98] (sockatmark): Do not expect.
31956 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31957 (clock_getcpuclockid): Do not expect.
31958 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31959 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31960 Do not expect.
31961 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31962 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31963 [UNIX98] (vwscanf): Likewise.
31964 [UNIX98] (vswscanf): Likewise.
31965
fb1ae1ee
JM
319662012-11-09 Joseph Myers <joseph@codesourcery.com>
31967
9ec6f8bd
JM
31968 * timezone/version.h: Remove file.
31969 * timezone/README: Do not refer to version.h.
31970 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31971 $(objpfx)version.h.
31972 ($(objpfx)zdump.o): Likewise.
c3f81911 31973 ($(objpfx)version.h): New target.
9ec6f8bd 31974
0aa8f8a1
JM
31975 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31976 2012i.
31977 * timezone/README: Don't mention modification to tzselect.ksh.
31978 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31979 work on unmodified tzselect.ksh. Substitute version numbers in
31980 tzselect.ksh.
31981
4e87147f
JM
31982 * Makefile (format-me): Remove.
31983 (INSTALL): Adjust indentation. Use commands directly instead of
31984 using $(format-me).
31985
8b748aed
JM
31986 * aclocal.m4 (ACX_PKGVERSION): New macro.
31987 (ACX_BUGURL): Likewise.
31988 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31989 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31990 (REPORT_BUGS_TO): Likewise.
31991 * configure: Regenerated.
31992 * config.h.in (PKGVERSION): New macro.
31993 (REPORT_BUGS_TO): Likewise.
31994 * config.make.in (PKGVERSION): New variable.
31995 (PKGVERSION_TEXI): Likewise.
31996 (REPORT_BUGS_TO): Likewise.
31997 (REPORT_BUGS_TEXI): Likewise.
31998 * Makefile (format-me): Use -I$(common-objpfx)manual.
31999 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32000 ($(common-objpfx)manual/%): New target.
32001 (manual/%): Remove target.
32002 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32003 (print_version): Use PKGVERSION.
32004 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32005 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32006 and REPORT_BUGS_TO.
32007 ($(objpfx)xtrace): Likewise.
32008 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32009 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32010 (print_version): Use PKGVERSION.
32011 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32012 (do_version): Use PKGVERSION.
32013 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32014 REPORT_BUGS_TO.
32015 (common-ldd-rewrite): Likewise.
32016 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32017 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32018 (print_version): Use PKGVERSION.
32019 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32020 * elf/pldd.c (argp_program_bug_address): Remove variable.
32021 (more_help): New function.
32022 (argp): Use more_help.
32023 (print_version): Use PKGVERSION.
32024 * elf/sln.c (main): Use PKGVERSION.
32025 (usage): Use REPORT_BUGS_TO.
32026 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32027 (top level): Use PKGVERSION.
32028 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32029 (print_version): Use PKGVERSION.
32030 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32031 (print_version): Use PKGVERSION.
32032 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32033 (print_version): Use PKGVERSION.
32034 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32035 (print_version): Use PKGVERSION.
32036 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32037 (print_version): Use PKGVERSION.
32038 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32039 (print_version): Use PKGVERSION.
32040 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32041 and BUGURL.
32042 ($(objpfx)memusage): Likewise.
32043 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32044 (do_version): Use PKGVERSION.
32045 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32046 (print_version): Use PKGVERSION.
32047 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32048 ($PKGVERSION): New variable.
32049 ($REPORT_BUGS_TO): Likewise.
32050 (usage): Use $REPORT_BUGS_TO.
32051 (top level): Use $PKGVERSION.
32052 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32053 ($(objpfx)pkgvers.texi): New rule.
32054 ($(objpfx)stamp-pkgvers): Likewise.
32055 * manual/install.texi: Include pkgvers.texi.
32056 (--with-pkgversion): Document new configure option.
32057 (--with-bugurl): Likewise.
32058 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32059 than necessarily for this particular distribution. Use
32060 REPORT_BUGS_TO for where to report bugs.
32061 * INSTALL: Regenerated.
32062 * manual/libc.texinfo: Include pkgvers.texi.
32063 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32064 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32065 (print_version): Use PKGVERSION.
32066 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32067 (print_version): Use PKGVERSION.
32068 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32069 (print_version): Use PKGVERSION.
32070 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32071 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32072 macro.
32073 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32074 (print_version): Use PKGVERSION.
32075 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32076 (print_version): Use PKGVERSION.
32077 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32078 and PKGVERSION.
32079
92e4b6a9
JM
32080 * timezone/checktab.awk: Update from tzcode 2012i.
32081 * timezone/ialloc.c: Likewise.
32082 * timezone/private.h: Likewise.
32083 * timezone/scheck.c: Likewise.
32084 * timezone/tzfile.h: Likewise.
32085 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32086 (TZVERSION): Hardcode tzcode version number.
32087 * timezone/zdump.c: Update from tzcode 2012i.
32088 * timezone/zic.c: Likewise.
32089 * timezone/version.h: New file.
32090 * timezone/README: Describe version.h. Update upstream location.
32091
9bde902c
JM
32092 [BZ #14824]
32093 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32094 (mktemp): Enable declaration.
32095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32099 Likewise.
32100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32101 Likewise.
32102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32103 Likewise.
32104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32105 Likewise.
32106 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32107 Likewise.
32108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32109 Likewise.
32110
fb1ae1ee
JM
32111 [BZ #14821]
32112 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32113 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32114 for copies of such integer values.
32115 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32116 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32117
2c1adbcb
AJ
321182012-11-09 Andreas Jaeger <aj@suse.de>
32119
32120 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32121 definitions and declarations that are provided by
32122 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32123
d0f8457e
AK
321242012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32125
3a235abb 32126 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
32127 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32128 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32129 definition.
32130
57241e26
MS
321312012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32132
32133 * elf/elf.h: Update comment before AArch64 relocations.
32134
60e8270d
DM
321352012-11-07 David S. Miller <davem@davemloft.net>
32136
32137 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32138 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32139 (__start_context): Declare.
32140 (__makecontext_ret): Delete.
32141 (__makecontext): Hook up __start_context instead of
32142 __makecontext_ret.
32143 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32144 (sysdep_routines): Add __start_context when in stdlib.
32145
0fbb0fbc
JM
321462012-11-07 Joseph Myers <joseph@codesourcery.com>
32147
32148 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32149 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32150 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32151 hardcoded "nm".
32152 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32153 (READELF): New variable. Use it instead of hardcoded "readelf".
32154
eb48db7e
L
321552012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32158 * sysdeps/x86/Makefile: Here.
32159 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32160 * sysdeps/x86/tst-xmmymm.sh: This.
32161
05bcf62a
JM
321622012-11-07 Joseph Myers <joseph@codesourcery.com>
32163
c4b6cf53
JM
32164 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32165 expectations.
32166 [UNIX98] (pthread_barrier_t): Do not expect.
32167 [UNIX98] (pthread_barrierattr_t): Likewise.
32168 [UNIX98] (pthread_spinlock_t): Likewise.
32169 [UNIX98] (pthread_barrier_destroy): Likewise.
32170 [UNIX98] (pthread_barrier_init): Likewise.
32171 [UNIX98] (pthread_barrier_wait): Likewise.
32172 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32173 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32174 [UNIX98] (pthread_barrierattr_init): Likewise.
32175 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32176 [UNIX98] (pthread_getcpuclockid): Likewise.
32177 [UNIX98] (pthread_mutex_timedlock): Likewise.
32178 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32179 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32180 [UNIX98] (pthread_sigmask): Likewise.
32181 [UNIX98] (pthread_spin_destroy): Likewise.
32182 [UNIX98] (pthread_spin_init): Likewise.
32183 [UNIX98] (pthread_spin_lock): Likewise.
32184 [UNIX98] (pthread_spin_trylock): Likewise.
32185 [UNIX98] (pthread_spin_unlock): Likewise.
32186 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32187 Do not expect.
32188 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32189 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32190 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32191 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32192 [XPG3 || XPG4] (pthread_key_t): Likewise.
32193 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32194 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32195 [XPG3 || XPG4] (pthread_once_t): Likewise.
32196 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32197 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32198 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32199 [XPG3 || XPG4] (pthread_t): Likewise.
32200
cbe6e120
JM
32201 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32202 not expect.
32203 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32204
1b126443
JM
32205 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32206 Change function return type to int.
32207
b961a573
JM
32208 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32209 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32210 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32211 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32212 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32213 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32214 [!POSIX] (posix_madvise): Likewise.
32215 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32216 && !UNIX98].
32217 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32218 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32219 (mode_t): Likewise.
32220 (posix_mem_offset): Likewise.
32221 (posix_typed_mem_get_info): Likewise.
32222 (posix_typed_mem_open): Likewise.
32223
9e188909
JM
32224 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32225 Change condition to [XOPEN2K8].
32226
05bcf62a
JM
32227 * conform/conformtest.pl: Preprocess allow-header data with -x c
32228 instead of from stdin.
32229 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32230 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32231 [C99-based standards] (cerfc): Likewise.
32232 [C99-based standards] (cexp2): Likewise.
32233 [C99-based standards] (cexpm1): Likewise.
32234 [C99-based standards] (clog10): Likewise.
32235 [C99-based standards] (clog1p): Likewise.
32236 [C99-based standards] (clog2): Likewise.
32237 [C99-based standards] (clgamma): Likewise.
32238 [C99-based standards] (ctgamma): Likewise.
32239 [C99-based standards] (cerff): Likewise.
32240 [C99-based standards] (cerfcf): Likewise.
32241 [C99-based standards] (cexp2f): Likewise.
32242 [C99-based standards] (cexpm1f): Likewise.
32243 [C99-based standards] (clog10f): Likewise.
32244 [C99-based standards] (clog1pf): Likewise.
32245 [C99-based standards] (clog2f): Likewise.
32246 [C99-based standards] (clgammaf): Likewise.
32247 [C99-based standards] (ctgammaf): Likewise.
32248 [C99-based standards] (cerfl): Likewise.
32249 [C99-based standards] (cerfcl): Likewise.
32250 [C99-based standards] (cexp2l): Likewise.
32251 [C99-based standards] (cexpm1l): Likewise.
32252 [C99-based standards] (clog10l): Likewise.
32253 [C99-based standards] (clog1pl): Likewise.
32254 [C99-based standards] (clog2l): Likewise.
32255 [C99-based standards] (clgammal): Likewise.
32256 [C99-based standards] (ctgammal): Likewise.
32257 * conform/data/inttypes.h-data [C99-based standards]: Include
32258 stdint.h-data. Remove all expectations for stdint.h contents.
32259 [C99-based standards] (PRI*): Do not allow.
32260 [C99-based standards] (SCN*): Likewise.
32261 [C99-based standards] (*_t): Likewise.
32262 [C99-based-standards] (PRId8): Expect macro.
32263 [C99-based-standards] (PRIi8): Likewise.
32264 [C99-based-standards] (PRIo8): Likewise.
32265 [C99-based-standards] (PRIu8): Likewise.
32266 [C99-based-standards] (PRIx8): Likewise.
32267 [C99-based-standards] (PRIX8): Likewise.
32268 [C99-based-standards] (SCNd8): Likewise.
32269 [C99-based-standards] (SCNi8): Likewise.
32270 [C99-based-standards] (SCNo8): Likewise.
32271 [C99-based-standards] (SCNu8): Likewise.
32272 [C99-based-standards] (SCNx8): Likewise.
32273 [C99-based-standards] (PRIdLEAST8): Likewise.
32274 [C99-based-standards] (PRIiLEAST8): Likewise.
32275 [C99-based-standards] (PRIoLEAST8): Likewise.
32276 [C99-based-standards] (PRIuLEAST8): Likewise.
32277 [C99-based-standards] (PRIxLEAST8): Likewise.
32278 [C99-based-standards] (PRIXLEAST8): Likewise.
32279 [C99-based-standards] (SCNdLEAST8): Likewise.
32280 [C99-based-standards] (SCNiLEAST8): Likewise.
32281 [C99-based-standards] (SCNoLEAST8): Likewise.
32282 [C99-based-standards] (SCNuLEAST8): Likewise.
32283 [C99-based-standards] (SCNxLEAST8): Likewise.
32284 [C99-based-standards] (PRIdFAST8): Likewise.
32285 [C99-based-standards] (PRIiFAST8): Likewise.
32286 [C99-based-standards] (PRIoFAST8): Likewise.
32287 [C99-based-standards] (PRIuFAST8): Likewise.
32288 [C99-based-standards] (PRIxFAST8): Likewise.
32289 [C99-based-standards] (PRIXFAST8): Likewise.
32290 [C99-based-standards] (SCNdFAST8): Likewise.
32291 [C99-based-standards] (SCNiFAST8): Likewise.
32292 [C99-based-standards] (SCNoFAST8): Likewise.
32293 [C99-based-standards] (SCNuFAST8): Likewise.
32294 [C99-based-standards] (SCNxFAST8): Likewise.
32295 [C99-based-standards] (PRId16): Likewise.
32296 [C99-based-standards] (PRIi16): Likewise.
32297 [C99-based-standards] (PRIo16): Likewise.
32298 [C99-based-standards] (PRIu16): Likewise.
32299 [C99-based-standards] (PRIx16): Likewise.
32300 [C99-based-standards] (PRIX16): Likewise.
32301 [C99-based-standards] (SCNd16): Likewise.
32302 [C99-based-standards] (SCNi16): Likewise.
32303 [C99-based-standards] (SCNo16): Likewise.
32304 [C99-based-standards] (SCNu16): Likewise.
32305 [C99-based-standards] (SCNx16): Likewise.
32306 [C99-based-standards] (PRIdLEAST16): Likewise.
32307 [C99-based-standards] (PRIiLEAST16): Likewise.
32308 [C99-based-standards] (PRIoLEAST16): Likewise.
32309 [C99-based-standards] (PRIuLEAST16): Likewise.
32310 [C99-based-standards] (PRIxLEAST16): Likewise.
32311 [C99-based-standards] (PRIXLEAST16): Likewise.
32312 [C99-based-standards] (SCNdLEAST16): Likewise.
32313 [C99-based-standards] (SCNiLEAST16): Likewise.
32314 [C99-based-standards] (SCNoLEAST16): Likewise.
32315 [C99-based-standards] (SCNuLEAST16): Likewise.
32316 [C99-based-standards] (SCNxLEAST16): Likewise.
32317 [C99-based-standards] (PRIdFAST16): Likewise.
32318 [C99-based-standards] (PRIiFAST16): Likewise.
32319 [C99-based-standards] (PRIoFAST16): Likewise.
32320 [C99-based-standards] (PRIuFAST16): Likewise.
32321 [C99-based-standards] (PRIxFAST16): Likewise.
32322 [C99-based-standards] (PRIXFAST16): Likewise.
32323 [C99-based-standards] (SCNdFAST16): Likewise.
32324 [C99-based-standards] (SCNiFAST16): Likewise.
32325 [C99-based-standards] (SCNoFAST16): Likewise.
32326 [C99-based-standards] (SCNuFAST16): Likewise.
32327 [C99-based-standards] (SCNxFAST16): Likewise.
32328 [C99-based-standards] (PRId32): Likewise.
32329 [C99-based-standards] (PRIi32): Likewise.
32330 [C99-based-standards] (PRIo32): Likewise.
32331 [C99-based-standards] (PRIu32): Likewise.
32332 [C99-based-standards] (PRIx32): Likewise.
32333 [C99-based-standards] (PRIX32): Likewise.
32334 [C99-based-standards] (SCNd32): Likewise.
32335 [C99-based-standards] (SCNi32): Likewise.
32336 [C99-based-standards] (SCNo32): Likewise.
32337 [C99-based-standards] (SCNu32): Likewise.
32338 [C99-based-standards] (SCNx32): Likewise.
32339 [C99-based-standards] (PRIdLEAST32): Likewise.
32340 [C99-based-standards] (PRIiLEAST32): Likewise.
32341 [C99-based-standards] (PRIoLEAST32): Likewise.
32342 [C99-based-standards] (PRIuLEAST32): Likewise.
32343 [C99-based-standards] (PRIxLEAST32): Likewise.
32344 [C99-based-standards] (PRIXLEAST32): Likewise.
32345 [C99-based-standards] (SCNdLEAST32): Likewise.
32346 [C99-based-standards] (SCNiLEAST32): Likewise.
32347 [C99-based-standards] (SCNoLEAST32): Likewise.
32348 [C99-based-standards] (SCNuLEAST32): Likewise.
32349 [C99-based-standards] (SCNxLEAST32): Likewise.
32350 [C99-based-standards] (PRIdFAST32): Likewise.
32351 [C99-based-standards] (PRIiFAST32): Likewise.
32352 [C99-based-standards] (PRIoFAST32): Likewise.
32353 [C99-based-standards] (PRIuFAST32): Likewise.
32354 [C99-based-standards] (PRIxFAST32): Likewise.
32355 [C99-based-standards] (PRIXFAST32): Likewise.
32356 [C99-based-standards] (SCNdFAST32): Likewise.
32357 [C99-based-standards] (SCNiFAST32): Likewise.
32358 [C99-based-standards] (SCNoFAST32): Likewise.
32359 [C99-based-standards] (SCNuFAST32): Likewise.
32360 [C99-based-standards] (SCNxFAST32): Likewise.
32361 [C99-based-standards] (PRId64): Likewise.
32362 [C99-based-standards] (PRIi64): Likewise.
32363 [C99-based-standards] (PRIo64): Likewise.
32364 [C99-based-standards] (PRIu64): Likewise.
32365 [C99-based-standards] (PRIx64): Likewise.
32366 [C99-based-standards] (PRIX64): Likewise.
32367 [C99-based-standards] (SCNd64): Likewise.
32368 [C99-based-standards] (SCNi64): Likewise.
32369 [C99-based-standards] (SCNo64): Likewise.
32370 [C99-based-standards] (SCNu64): Likewise.
32371 [C99-based-standards] (SCNx64): Likewise.
32372 [C99-based-standards] (PRIdLEAST64): Likewise.
32373 [C99-based-standards] (PRIiLEAST64): Likewise.
32374 [C99-based-standards] (PRIoLEAST64): Likewise.
32375 [C99-based-standards] (PRIuLEAST64): Likewise.
32376 [C99-based-standards] (PRIxLEAST64): Likewise.
32377 [C99-based-standards] (PRIXLEAST64): Likewise.
32378 [C99-based-standards] (SCNdLEAST64): Likewise.
32379 [C99-based-standards] (SCNiLEAST64): Likewise.
32380 [C99-based-standards] (SCNoLEAST64): Likewise.
32381 [C99-based-standards] (SCNuLEAST64): Likewise.
32382 [C99-based-standards] (SCNxLEAST64): Likewise.
32383 [C99-based-standards] (PRIdFAST64): Likewise.
32384 [C99-based-standards] (PRIiFAST64): Likewise.
32385 [C99-based-standards] (PRIoFAST64): Likewise.
32386 [C99-based-standards] (PRIuFAST64): Likewise.
32387 [C99-based-standards] (PRIxFAST64): Likewise.
32388 [C99-based-standards] (PRIXFAST64): Likewise.
32389 [C99-based-standards] (SCNdFAST64): Likewise.
32390 [C99-based-standards] (SCNiFAST64): Likewise.
32391 [C99-based-standards] (SCNoFAST64): Likewise.
32392 [C99-based-standards] (SCNuFAST64): Likewise.
32393 [C99-based-standards] (SCNxFAST64): Likewise.
32394 [C99-based-standards] (PRIdMAX): Likewise.
32395 [C99-based-standards] (PRIiMAX): Likewise.
32396 [C99-based-standards] (PRIoMAX): Likewise.
32397 [C99-based-standards] (PRIuMAX): Likewise.
32398 [C99-based-standards] (PRIxMAX): Likewise.
32399 [C99-based-standards] (PRIXMAX): Likewise.
32400 [C99-based-standards] (SCNdMAX): Likewise.
32401 [C99-based-standards] (SCNiMAX): Likewise.
32402 [C99-based-standards] (SCNoMAX): Likewise.
32403 [C99-based-standards] (SCNuMAX): Likewise.
32404 [C99-based-standards] (SCNxMAX): Likewise.
32405 [C99-based-standards] (PRIdPTR): Likewise.
32406 [C99-based-standards] (PRIiPTR): Likewise.
32407 [C99-based-standards] (PRIoPTR): Likewise.
32408 [C99-based-standards] (PRIuPTR): Likewise.
32409 [C99-based-standards] (PRIxPTR): Likewise.
32410 [C99-based-standards] (PRIXPTR): Likewise.
32411 [C99-based-standards] (SCNdPTR): Likewise.
32412 [C99-based-standards] (SCNiPTR): Likewise.
32413 [C99-based-standards] (SCNoPTR): Likewise.
32414 [C99-based-standards] (SCNuPTR): Likewise.
32415 [C99-based-standards] (SCNxPTR): Likewise.
32416 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32417 allow.
32418 * conform/data/stdint.h-data: Update comments to clarify
32419 requirements.
32420 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32421 type.
32422 [C99-based standards] (INT8_MAX): Likewise.
32423 [C99-based standards] (INT16_MIN): Likewise.
32424 [C99-based standards] (INT16_MAX): Likewise.
32425 [C99-based standards] (INT32_MIN): Likewise.
32426 [C99-based standards] (INT32_MAX): Likewise.
32427 [C99-based standards] (INT64_MIN): Likewise.
32428 [C99-based standards] (INT64_MAX): Likewise.
32429 [C99-based standards] (UINT8_MAX): Likewise.
32430 [C99-based standards] (UINT16_MAX): Likewise.
32431 [C99-based standards] (UINT32_MAX): Likewise.
32432 [C99-based standards] (UINT64_MAX): Likewise.
32433 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32434 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32435 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32436 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32437 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32438 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32439 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32440 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32441 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32442 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32443 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32444 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32445 [C99-based standards] (INT_FAST8_MIN): Likewise.
32446 [C99-based standards] (INT_FAST8_MAX): Likewise.
32447 [C99-based standards] (INT_FAST16_MIN): Likewise.
32448 [C99-based standards] (INT_FAST16_MAX): Likewise.
32449 [C99-based standards] (INT_FAST32_MIN): Likewise.
32450 [C99-based standards] (INT_FAST32_MAX): Likewise.
32451 [C99-based standards] (INT_FAST64_MIN): Likewise.
32452 [C99-based standards] (INT_FAST64_MAX): Likewise.
32453 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32454 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32455 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32456 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32457 [C99-based standards] (INTPTR_MIN): Likewise.
32458 [C99-based standards] (INTPTR_MAX): Likewise.
32459 [C99-based standards] (UINTPTR_MAX): Likewise.
32460 [C99-based standards] (INTMAX_MIN): Likewise.
32461 [C99-based standards] (INTMAX_MAX): Likewise.
32462 [C99-based standards] (UINTMAX_MAX): Likewise.
32463 [C99-based standards] (PTRDIFF_MIN): Likewise.
32464 [C99-based standards] (PTRDIFF_MAX): Likewise.
32465 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32466 [C99-based standards] (SIZE_MAX): Likewise.
32467 [C99-based standards] (WCHAR_MAX): Likewise.
32468 [C99-based standards] (WINT_MAX): Likewise.
32469 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32470 constraint on value.
32471 [C99-based standards] (WCHAR_MIN): Likewise.
32472 [C99-based standards] (WINT_MIN): Likewise.
32473 [C99-based standards] (*_t): Allow.
32474 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32475 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32476 Include math.h-data and complex.h-data. Remove all expectations
32477 of math.h and complex.h contents.
32478 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32479 at end of line.
32480 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32481 (struct tm): Expect tag.
32482 [C99-based-standards] (wcstof): Expect function.
32483 [C99-based-standards] (wcstold): Likewise.
32484 [C99-based-standards] (wcstoll): Likewise.
32485 [C99-based-standards] (wcstoull): Likewise.
32486 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32487 macro-int-constant. Specify type.
32488 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
32489 constraint on value.
32490 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32491 Specify type.
32492 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32493 Specify value.
32494 [ISO C standards]: Do not allow headers.
32495 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32496 wcs[abcdefghijklmnopqrstuvwxyz]*.
32497 [ISO C standards] (*_t): Do not allow.
32498 * conform/data/wctype.h-data [C99-based standards] (iswblank):
32499 Expect function.
32500 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32501 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32502 Specify type.
32503 [ISO C standards]: Do not allow headers.
32504 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32505 is[abcdefghijklmnopqrstuvwxyz]*.
32506 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32507 to[abcdefghijklmnopqrstuvwxyz]*.
32508 [ISO C standards] (*_t): Do not allow.
32509 * conform/data/stdalign.h-data: New file.
32510 * conform/data/stdbool.h-data: Likewise.
32511 * conform/data/stdnoreturn.h-data: Likewise.
32512
7514feb8
RM
325132012-11-07 Roland McGrath <roland@hack.frob.com>
32514
32515 [BZ #14815]
32516 * manual/filesys.texi (Directory Entries): Typo fix.
32517 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32518
19b2ecfc
MS
325192012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32520
32521 * elf/elf.h (EM_AARCH64): New macro.
32522 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32523 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32524 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32525 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32526 (R_AARCH64_TLSDESC): Likewise.
32527 (NT_ARM_TLS): Likewise.
32528 (NT_ARM_HW_BREAK): Likewise.
32529 (NT_ARM_HW_WATCH): Likewise.
32530
60e235ee
JM
325312012-11-07 Joseph Myers <joseph@codesourcery.com>
32532
32533 [BZ #14811]
32534 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32535 (__ieee754_powl): Saturate nonzero exponents with absolute value
32536 below 0x1p-79 to +/- 0x1p-79.
32537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32538 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32539 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32540 nonzero exponents with absolute value below 0x1p-32 to +/-
32541 0x1p-32.
32542 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32543 (__ieee754_powl): Saturate nonzero exponents with absolute value
32544 below 0x1p-79 to +/- 0x1p-79.
32545 * math/libm-test.inc (pow_test): Add more tests.
32546
0ab234b7
AK
325472012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32548
32549 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32550 _dl_s390_cap_flags with kernel. Increase string length.
32551 (_dl_s390_platforms): Add z196 and zEC12.
32552
45832f74
JM
325532012-11-07 Joseph Myers <joseph@codesourcery.com>
32554
32555 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32556 Change XOPEN21K to XOPEN2K.
32557
19218757
MK
325582012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
32559
32560 * string/memmove.c: Use memcpy when possible.
32561
c5f45721
AJ
325622012-11-06 Andreas Jaeger <aj@suse.de>
32563
32564 * po/eo.po: Update from translation team.
32565
82477c28
JM
325662012-11-06 Joseph Myers <joseph@codesourcery.com>
32567
32568 [BZ #14793]
32569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32570 exponent and small x and y exponents, scale x or y up. Increase
32571 by 2 the exponent used in scaling up.
32572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32573 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32574 * math/libm-test.inc (fma_test): Add more tests.
32575 (fma_test_towardzero): Likewise.
32576 (fma_test_downward): Likewise.
32577 (fma_test_upward): Likewise.
32578
99252c8c
JM
325792012-11-05 Joseph Myers <joseph@codesourcery.com>
32580
acfa885f
JM
32581 [BZ #14805]
32582 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32583 fenv_t *.
32584
99252c8c
JM
32585 [BZ #14801]
32586 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32587 namespace for names of struct fields.
32588 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32589 fenv_t fields.
32590 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32591 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32592
d6d98dea
ST
325932012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
32594
32595 [BZ #3665]
32596 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32597
e10bb107
TS
325982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32599
32600 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32601 PTR_DEMANGLE.
32602
32603 [BZ #5246]
32604 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32605 PTR_DEMANGLE.
32606
a0c2940d
JM
326072012-11-04 Joseph Myers <joseph@codesourcery.com>
32608
32609 [BZ #14797]
32610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32611 definitely overflow as x * y not x * y + z.
32612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32614 * math/libm-test.inc (fma_test): Add more tests.
32615 (fma_test_towardzero): Likewise.
32616 (fma_test_downward): Likewise.
32617 (fma_test_upward): Likewise.
32618
b830319d
TS
326192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
32620
32621 [BZ #157]
32622
32623 * include/stub-tag.h: Remove file.
32624 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32625 '#include' of it.
32626 * manual/maint.texi (Porting): Don't reference it.
32627 * Makerules ($(objpfx)stubs): Likewise.
32628 * dirent/closedir.c: Don't include <stub-tag.h>.
32629 * dirent/dirfd.c: Likewise.
32630 * dirent/fdopendir.c: Likewise.
32631 * dirent/getdents.c: Likewise.
32632 * dirent/getdents64.c: Likewise.
32633 * dirent/opendir.c: Likewise.
32634 * dirent/readdir.c: Likewise.
32635 * dirent/readdir64.c: Likewise.
32636 * dirent/readdir64_r.c: Likewise.
32637 * dirent/readdir_r.c: Likewise.
32638 * dirent/rewinddir.c: Likewise.
32639 * dirent/seekdir.c: Likewise.
32640 * dirent/telldir.c: Likewise.
32641 * gmon/profil.c: Likewise.
32642 * grp/setgroups.c: Likewise.
32643 * inet/if_index.c: Likewise.
32644 * io/access.c: Likewise.
32645 * io/chdir.c: Likewise.
32646 * io/chmod.c: Likewise.
32647 * io/chown.c: Likewise.
32648 * io/close.c: Likewise.
32649 * io/dup.c: Likewise.
32650 * io/dup2.c: Likewise.
32651 * io/dup3.c: Likewise.
32652 * io/euidaccess.c: Likewise.
32653 * io/faccessat.c: Likewise.
32654 * io/fchdir.c: Likewise.
32655 * io/fchmod.c: Likewise.
32656 * io/fchmodat.c: Likewise.
32657 * io/fchown.c: Likewise.
32658 * io/fchownat.c: Likewise.
32659 * io/fcntl.c: Likewise.
32660 * io/flock.c: Likewise.
32661 * io/fstatfs.c: Likewise.
32662 * io/fstatfs64.c: Likewise.
32663 * io/fstatvfs.c: Likewise.
32664 * io/fstatvfs64.c: Likewise.
32665 * io/futimens.c: Likewise.
32666 * io/fxstat.c: Likewise.
32667 * io/fxstat64.c: Likewise.
32668 * io/fxstatat.c: Likewise.
32669 * io/fxstatat64.c: Likewise.
32670 * io/getcwd.c: Likewise.
32671 * io/isatty.c: Likewise.
32672 * io/lchmod.c: Likewise.
32673 * io/lchown.c: Likewise.
32674 * io/link.c: Likewise.
32675 * io/linkat.c: Likewise.
32676 * io/lseek.c: Likewise.
32677 * io/lseek64.c: Likewise.
32678 * io/lxstat64.c: Likewise.
32679 * io/mkdir.c: Likewise.
32680 * io/mkdirat.c: Likewise.
32681 * io/mkfifo.c: Likewise.
32682 * io/mkfifoat.c: Likewise.
32683 * io/open.c: Likewise.
32684 * io/open64.c: Likewise.
32685 * io/openat.c: Likewise.
32686 * io/openat64.c: Likewise.
32687 * io/pipe.c: Likewise.
32688 * io/pipe2.c: Likewise.
32689 * io/poll.c: Likewise.
32690 * io/posix_fadvise.c: Likewise.
32691 * io/posix_fadvise64.c: Likewise.
32692 * io/posix_fallocate.c: Likewise.
32693 * io/posix_fallocate64.c: Likewise.
32694 * io/read.c: Likewise.
32695 * io/readlink.c: Likewise.
32696 * io/readlinkat.c: Likewise.
32697 * io/rmdir.c: Likewise.
32698 * io/sendfile.c: Likewise.
32699 * io/sendfile64.c: Likewise.
32700 * io/statfs.c: Likewise.
32701 * io/statfs64.c: Likewise.
32702 * io/statvfs.c: Likewise.
32703 * io/statvfs64.c: Likewise.
32704 * io/symlink.c: Likewise.
32705 * io/symlinkat.c: Likewise.
32706 * io/ttyname.c: Likewise.
32707 * io/ttyname_r.c: Likewise.
32708 * io/umask.c: Likewise.
32709 * io/unlink.c: Likewise.
32710 * io/unlinkat.c: Likewise.
32711 * io/utime.c: Likewise.
32712 * io/utimensat.c: Likewise.
32713 * io/write.c: Likewise.
32714 * io/xmknod.c: Likewise.
32715 * io/xmknodat.c: Likewise.
32716 * io/xstat.c: Likewise.
32717 * io/xstat64.c: Likewise.
32718 * login/getpt.c: Likewise.
32719 * login/grantpt.c: Likewise.
32720 * login/unlockpt.c: Likewise.
32721 * math/e_acoshl.c: Likewise.
32722 * math/e_acosl.c: Likewise.
32723 * math/e_asinl.c: Likewise.
32724 * math/e_atan2l.c: Likewise.
32725 * math/e_atanhl.c: Likewise.
32726 * math/e_coshl.c: Likewise.
32727 * math/e_expl.c: Likewise.
32728 * math/e_fmodl.c: Likewise.
32729 * math/e_gammal_r.c: Likewise.
32730 * math/e_hypotl.c: Likewise.
32731 * math/e_j0l.c: Likewise.
32732 * math/e_j1l.c: Likewise.
32733 * math/e_jnl.c: Likewise.
32734 * math/e_lgammal_r.c: Likewise.
32735 * math/e_log10l.c: Likewise.
32736 * math/e_log2l.c: Likewise.
32737 * math/e_logl.c: Likewise.
32738 * math/e_powl.c: Likewise.
32739 * math/e_rem_pio2l.c: Likewise.
32740 * math/e_sinhl.c: Likewise.
32741 * math/e_sqrtl.c: Likewise.
32742 * math/fclrexcpt.c: Likewise.
32743 * math/fedisblxcpt.c: Likewise.
32744 * math/feenablxcpt.c: Likewise.
32745 * math/fegetenv.c: Likewise.
32746 * math/fegetexcept.c: Likewise.
32747 * math/fegetround.c: Likewise.
32748 * math/feholdexcpt.c: Likewise.
32749 * math/fesetenv.c: Likewise.
32750 * math/fesetround.c: Likewise.
32751 * math/feupdateenv.c: Likewise.
32752 * math/fgetexcptflg.c: Likewise.
32753 * math/fraiseexcpt.c: Likewise.
32754 * math/fsetexcptflg.c: Likewise.
32755 * math/ftestexcept.c: Likewise.
32756 * math/k_cosl.c: Likewise.
32757 * math/k_rem_pio2l.c: Likewise.
32758 * math/k_sinl.c: Likewise.
32759 * math/k_tanl.c: Likewise.
32760 * math/s_asinhl.c: Likewise.
32761 * math/s_atanl.c: Likewise.
32762 * math/s_cbrtl.c: Likewise.
32763 * math/s_erfl.c: Likewise.
32764 * math/s_expm1l.c: Likewise.
32765 * math/s_log1pl.c: Likewise.
32766 * math/s_tanhl.c: Likewise.
32767 * misc/acct.c: Likewise.
32768 * misc/brk.c: Likewise.
32769 * misc/chflags.c: Likewise.
32770 * misc/chroot.c: Likewise.
32771 * misc/fchflags.c: Likewise.
32772 * misc/fgetxattr.c: Likewise.
32773 * misc/flistxattr.c: Likewise.
32774 * misc/fremovexattr.c: Likewise.
32775 * misc/fsetxattr.c: Likewise.
32776 * misc/fsync.c: Likewise.
32777 * misc/ftruncate.c: Likewise.
32778 * misc/futimes.c: Likewise.
32779 * misc/futimesat.c: Likewise.
32780 * misc/getdomain.c: Likewise.
32781 * misc/getdtsz.c: Likewise.
32782 * misc/gethostid.c: Likewise.
32783 * misc/gethostname.c: Likewise.
32784 * misc/getloadavg.c: Likewise.
32785 * misc/getpagesize.c: Likewise.
32786 * misc/getsysstats.c: Likewise.
32787 * misc/getxattr.c: Likewise.
32788 * misc/gtty.c: Likewise.
32789 * misc/ioctl.c: Likewise.
32790 * misc/lgetxattr.c: Likewise.
32791 * misc/listxattr.c: Likewise.
32792 * misc/llistxattr.c: Likewise.
32793 * misc/lremovexattr.c: Likewise.
32794 * misc/lsetxattr.c: Likewise.
32795 * misc/lutimes.c: Likewise.
32796 * misc/madvise.c: Likewise.
32797 * misc/mincore.c: Likewise.
32798 * misc/mlock.c: Likewise.
32799 * misc/mlockall.c: Likewise.
32800 * misc/mmap.c: Likewise.
32801 * misc/mprotect.c: Likewise.
32802 * misc/msync.c: Likewise.
32803 * misc/munlock.c: Likewise.
32804 * misc/munlockall.c: Likewise.
32805 * misc/munmap.c: Likewise.
32806 * misc/preadv.c: Likewise.
32807 * misc/preadv64.c: Likewise.
32808 * misc/ptrace.c: Likewise.
32809 * misc/pwritev.c: Likewise.
32810 * misc/pwritev64.c: Likewise.
32811 * misc/readv.c: Likewise.
32812 * misc/reboot.c: Likewise.
32813 * misc/remap_file_pages.c: Likewise.
32814 * misc/removexattr.c: Likewise.
32815 * misc/revoke.c: Likewise.
32816 * misc/select.c: Likewise.
32817 * misc/setdomain.c: Likewise.
32818 * misc/setegid.c: Likewise.
32819 * misc/seteuid.c: Likewise.
32820 * misc/sethostid.c: Likewise.
32821 * misc/sethostname.c: Likewise.
32822 * misc/setregid.c: Likewise.
32823 * misc/setreuid.c: Likewise.
32824 * misc/setxattr.c: Likewise.
32825 * misc/sstk.c: Likewise.
32826 * misc/stty.c: Likewise.
32827 * misc/swapoff.c: Likewise.
32828 * misc/swapon.c: Likewise.
32829 * misc/sync.c: Likewise.
32830 * misc/syncfs.c: Likewise.
32831 * misc/syscall.c: Likewise.
32832 * misc/truncate.c: Likewise.
32833 * misc/ualarm.c: Likewise.
32834 * misc/usleep.c: Likewise.
32835 * misc/ustat.c: Likewise.
32836 * misc/utimes.c: Likewise.
32837 * misc/vhangup.c: Likewise.
32838 * misc/writev.c: Likewise.
32839 * posix/_exit.c: Likewise.
32840 * posix/alarm.c: Likewise.
32841 * posix/execve.c: Likewise.
32842 * posix/fexecve.c: Likewise.
32843 * posix/fork.c: Likewise.
32844 * posix/fpathconf.c: Likewise.
32845 * posix/getaddrinfo.c: Likewise.
32846 * posix/getegid.c: Likewise.
32847 * posix/geteuid.c: Likewise.
32848 * posix/getgid.c: Likewise.
32849 * posix/getgroups.c: Likewise.
32850 * posix/getlogin.c: Likewise.
32851 * posix/getlogin_r.c: Likewise.
32852 * posix/getpgid.c: Likewise.
32853 * posix/getpid.c: Likewise.
32854 * posix/getppid.c: Likewise.
32855 * posix/getresgid.c: Likewise.
32856 * posix/getresuid.c: Likewise.
32857 * posix/getsid.c: Likewise.
32858 * posix/getuid.c: Likewise.
32859 * posix/glob64.c: Likewise.
32860 * posix/nanosleep.c: Likewise.
32861 * posix/pathconf.c: Likewise.
32862 * posix/pause.c: Likewise.
32863 * posix/posix_madvise.c: Likewise.
32864 * posix/pread.c: Likewise.
32865 * posix/pread64.c: Likewise.
32866 * posix/pwrite.c: Likewise.
32867 * posix/pwrite64.c: Likewise.
32868 * posix/sched_getaffinity.c: Likewise.
32869 * posix/sched_getp.c: Likewise.
32870 * posix/sched_gets.c: Likewise.
32871 * posix/sched_primax.c: Likewise.
32872 * posix/sched_primin.c: Likewise.
32873 * posix/sched_rr_gi.c: Likewise.
32874 * posix/sched_setaffinity.c: Likewise.
32875 * posix/sched_setp.c: Likewise.
32876 * posix/sched_sets.c: Likewise.
32877 * posix/sched_yield.c: Likewise.
32878 * posix/setgid.c: Likewise.
32879 * posix/setlogin.c: Likewise.
32880 * posix/setpgid.c: Likewise.
32881 * posix/setresgid.c: Likewise.
32882 * posix/setresuid.c: Likewise.
32883 * posix/setsid.c: Likewise.
32884 * posix/setuid.c: Likewise.
32885 * posix/sleep.c: Likewise.
32886 * posix/spawni.c: Likewise.
32887 * posix/sysconf.c: Likewise.
32888 * posix/times.c: Likewise.
32889 * posix/wait.c: Likewise.
32890 * posix/wait3.c: Likewise.
32891 * posix/wait4.c: Likewise.
32892 * posix/waitpid.c: Likewise.
32893 * resolv/gai_sigqueue.c: Likewise.
32894 * resource/getpriority.c: Likewise.
32895 * resource/getrlimit.c: Likewise.
32896 * resource/getrusage.c: Likewise.
32897 * resource/nice.c: Likewise.
32898 * resource/setpriority.c: Likewise.
32899 * resource/setrlimit.c: Likewise.
32900 * resource/ulimit.c: Likewise.
32901 * rt/aio_cancel.c: Likewise.
32902 * rt/aio_fsync.c: Likewise.
32903 * rt/aio_read.c: Likewise.
32904 * rt/aio_sigqueue.c: Likewise.
32905 * rt/aio_suspend.c: Likewise.
32906 * rt/aio_write.c: Likewise.
32907 * rt/clock_getres.c: Likewise.
32908 * rt/clock_gettime.c: Likewise.
32909 * rt/clock_nanosleep.c: Likewise.
32910 * rt/clock_settime.c: Likewise.
32911 * rt/lio_listio.c: Likewise.
32912 * rt/mq_close.c: Likewise.
32913 * rt/mq_getattr.c: Likewise.
32914 * rt/mq_notify.c: Likewise.
32915 * rt/mq_open.c: Likewise.
32916 * rt/mq_receive.c: Likewise.
32917 * rt/mq_send.c: Likewise.
32918 * rt/mq_setattr.c: Likewise.
32919 * rt/mq_timedreceive.c: Likewise.
32920 * rt/mq_timedsend.c: Likewise.
32921 * rt/mq_unlink.c: Likewise.
32922 * rt/shm_open.c: Likewise.
32923 * rt/shm_unlink.c: Likewise.
32924 * rt/timer_create.c: Likewise.
32925 * rt/timer_delete.c: Likewise.
32926 * rt/timer_getoverr.c: Likewise.
32927 * rt/timer_gettime.c: Likewise.
32928 * rt/timer_settime.c: Likewise.
32929 * setjmp/__longjmp.c: Likewise.
32930 * setjmp/setjmp.c: Likewise.
32931 * signal/kill.c: Likewise.
32932 * signal/killpg.c: Likewise.
32933 * signal/raise.c: Likewise.
32934 * signal/sigaction.c: Likewise.
32935 * signal/sigaltstack.c: Likewise.
32936 * signal/sigblock.c: Likewise.
32937 * signal/sigignore.c: Likewise.
32938 * signal/sigintr.c: Likewise.
32939 * signal/signal.c: Likewise.
32940 * signal/sigpause.c: Likewise.
32941 * signal/sigpending.c: Likewise.
32942 * signal/sigqueue.c: Likewise.
32943 * signal/sigreturn.c: Likewise.
32944 * signal/sigset.c: Likewise.
32945 * signal/sigsetmask.c: Likewise.
32946 * signal/sigstack.c: Likewise.
32947 * signal/sigsuspend.c: Likewise.
32948 * signal/sigtimedwait.c: Likewise.
32949 * signal/sigvec.c: Likewise.
32950 * signal/sigwait.c: Likewise.
32951 * signal/sigwaitinfo.c: Likewise.
32952 * signal/sysv_signal.c: Likewise.
32953 * socket/accept.c: Likewise.
32954 * socket/accept4.c: Likewise.
32955 * socket/bind.c: Likewise.
32956 * socket/connect.c: Likewise.
32957 * socket/getpeername.c: Likewise.
32958 * socket/getsockname.c: Likewise.
32959 * socket/getsockopt.c: Likewise.
32960 * socket/isfdtype.c: Likewise.
32961 * socket/listen.c: Likewise.
32962 * socket/recv.c: Likewise.
32963 * socket/recvfrom.c: Likewise.
32964 * socket/recvmsg.c: Likewise.
32965 * socket/send.c: Likewise.
32966 * socket/sendmsg.c: Likewise.
32967 * socket/sendto.c: Likewise.
32968 * socket/setsockopt.c: Likewise.
32969 * socket/shutdown.c: Likewise.
32970 * socket/sockatmark.c: Likewise.
32971 * socket/socket.c: Likewise.
32972 * socket/socketpair.c: Likewise.
32973 * stdio-common/ctermid.c: Likewise.
32974 * stdio-common/cuserid.c: Likewise.
32975 * stdio-common/remove.c: Likewise.
32976 * stdio-common/rename.c: Likewise.
32977 * stdio-common/renameat.c: Likewise.
32978 * stdio-common/tempname.c: Likewise.
32979 * stdlib/getcontext.c: Likewise.
32980 * stdlib/makecontext.c: Likewise.
32981 * stdlib/setcontext.c: Likewise.
32982 * stdlib/swapcontext.c: Likewise.
32983 * stdlib/system.c: Likewise.
32984 * streams/fattach.c: Likewise.
32985 * streams/fdetach.c: Likewise.
32986 * streams/getmsg.c: Likewise.
32987 * streams/getpmsg.c: Likewise.
32988 * streams/putmsg.c: Likewise.
32989 * streams/putpmsg.c: Likewise.
32990 * sysdeps/unix/bsd/getpt.c: Likewise.
32991 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32992 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32993 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32995 Likewise.
32996 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32997 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32998 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32999 * sysvipc/msgctl.c: Likewise.
33000 * sysvipc/msgget.c: Likewise.
33001 * sysvipc/msgrcv.c: Likewise.
33002 * sysvipc/msgsnd.c: Likewise.
33003 * sysvipc/semctl.c: Likewise.
33004 * sysvipc/semget.c: Likewise.
33005 * sysvipc/semop.c: Likewise.
33006 * sysvipc/semtimedop.c: Likewise.
33007 * sysvipc/shmat.c: Likewise.
33008 * sysvipc/shmctl.c: Likewise.
33009 * sysvipc/shmdt.c: Likewise.
33010 * sysvipc/shmget.c: Likewise.
33011 * termios/tcdrain.c: Likewise.
33012 * termios/tcflow.c: Likewise.
33013 * termios/tcflush.c: Likewise.
33014 * termios/tcgetattr.c: Likewise.
33015 * termios/tcgetpgrp.c: Likewise.
33016 * termios/tcsendbrk.c: Likewise.
33017 * termios/tcsetattr.c: Likewise.
33018 * termios/tcsetpgrp.c: Likewise.
33019 * time/adjtime.c: Likewise.
33020 * time/clock.c: Likewise.
33021 * time/getitimer.c: Likewise.
33022 * time/gettimeofday.c: Likewise.
33023 * time/setitimer.c: Likewise.
33024 * time/settimeofday.c: Likewise.
33025 * time/stime.c: Likewise.
33026 * time/time.c: Likewise.
33027
330282012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 33029
a20492cf
PT
33030 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33031 /usr/old/bin.
33032
72e182e3
PT
33033 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33034 instead of spaces.
33035 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33036
fbeafede
JM
330372012-11-03 Joseph Myers <joseph@codesourcery.com>
33038
5b5b04d6
JM
33039 [BZ #14796]
33040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33041 FE_TONEAREST before applying Dekker multiplication and Knuth
33042 addition. Clear inexact exceptions and check for exact zero
33043 results afterwards.
33044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33045 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33047 * math/libm-test.inc (fma_test): Add more tests.
33048 (fma_test_towardzero): Likewise.
33049 (fma_test_downward): Likewise.
33050 (fma_test_upward): Likewise.
33051 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33052 function.
33053 (libc_fesetround): New macro.
33054 (libc_fesetroundf): Likewise.
33055 (libc_fesetroundl): Likewise.
33056 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33057 function.
33058 (libc_fesetround_387): Likewise.
33059 (libc_fesetroundf): New macro.
33060 (libc_fesetround): Likewise.
33061 (libc_fesetroundl): Likewise.
33062 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33063 function.
33064 (libc_fesetroundf): New macro.
33065 (libc_fesetround): Likewise.
33066 (libc_fesetroundl): Likewise.
33067 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33068 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33069 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33070 libm_hidden_ver.
33071 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33072 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33073 libm_hidden_def.
33074 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33075 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33076 libm_hidden_ver.
33077 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33078 libm_hidden_def.
33079
fbeafede
JM
33080 [BZ #3439]
33081 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33082 integer constant usable in #if and use that to give value to enum
33083 constant.
33084 (FE_DIVBYZERO): Likewise.
33085 (FE_UNDERFLOW): Likewise.
33086 (FE_OVERFLOW): Likewise.
33087 (FE_INVALID): Likewise.
33088 (FE_INVALID_SNAN): Likewise.
33089 (FE_INVALID_ISI): Likewise.
33090 (FE_INVALID_IDI): Likewise.
33091 (FE_INVALID_ZDZ): Likewise.
33092 (FE_INVALID_IMZ): Likewise.
33093 (FE_INVALID_COMPARE): Likewise.
33094 (FE_INVALID_SOFTWARE): Likewise.
33095 (FE_INVALID_SQRT): Likewise.
33096 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33097 (FE_TONEAREST): Likewise.
33098 (FE_TOWARDZERO): Likewise.
33099 (FE_UPWARD): Likewise.
33100 (FE_DOWNWARD): Likewise.
33101 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33102 (FE_DIVBYZERO): Likewise.
33103 (FE_OVERFLOW): Likewise.
33104 (FE_UNDERFLOW): Likewise.
33105 (FE_INEXACT): Likewise.
33106 (FE_TONEAREST): Likewise.
33107 (FE_DOWNWARD): Likewise.
33108 (FE_UPWARD): Likewise.
33109 (FE_TOWARDZERO): Likewise.
33110 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33111 (FE_UNDERFLOW): Likewise.
33112 (FE_OVERFLOW): Likewise.
33113 (FE_DIVBYZERO): Likewise.
33114 (FE_INVALID): Likewise.
33115 (FE_TONEAREST): Likewise.
33116 (FE_TOWARDZERO): Likewise.
33117 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33118 (FE_OVERFLOW): Likewise.
33119 (FE_UNDERFLOW): Likewise.
33120 (FE_DIVBYZERO): Likewise.
33121 (FE_INEXACT): Likewise.
33122 (FE_TONEAREST): Likewise.
33123 (FE_TOWARDZERO): Likewise.
33124 (FE_UPWARD): Likewise.
33125 (FE_DOWNWARD): Likewise.
33126 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33127 (FE_DIVBYZERO): Likewise.
33128 (FE_OVERFLOW): Likewise.
33129 (FE_UNDERFLOW): Likewise.
33130 (FE_INEXACT): Likewise.
33131 (FE_TONEAREST): Likewise.
33132 (FE_DOWNWARD): Likewise.
33133 (FE_UPWARD): Likewise.
33134 (FE_TOWARDZERO): Likewise.
33135
105ca950
CM
331362012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33137
33138 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33139
a542b389
AS
331402012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33141
33142 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33143 commands. Quote $PWD.
33144 (blacklist_exports): Don't use remove_newlines. Replace "declare
33145 -x" by "export".
33146 (remove_newlines): Remove.
33147
f62c8abc
L
331482012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33151 * stdlib/stdlib.h (atof): Moved to ...
33152 * include/bits/stdlib-float.h: Here. New file.
33153 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33154 * stdlib/bits/stdlib-float.h: New file.
33155 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33156 -mno-sse -mno-mmx.
33157 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33158 <xmmintrin.h>.
33159
0155d5b2
JM
331602012-11-02 Joseph Myers <joseph@codesourcery.com>
33161
a68d0680
JM
33162 * conform/conformtest.pl (@headers): Add fenv.h.
33163 * conform/data/fenv.h-data: New file.
33164 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33165 include of <math/fenv.h>.
33166
caf7f573
JM
33167 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33168 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33169 && !UNIX98]. Enables tests for XOPEN2K8.
33170 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33171 POSIX2008]: Likewise.
33172
6c073ad6
JM
33173 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33174 (struct rusage): Do not expect type or its members.
33175
0155d5b2
JM
33176 [BZ #3439]
33177 * math/math.h (FP_NAN): Define macro to integer constant usable in
33178 #if and use that to give value to enum constant.
33179 (FP_INFINITE): Likewise.
33180 (FP_ZERO): Likewise.
33181 (FP_SUBNORMAL): Likewise.
33182 (FP_NORMAL): Likewise.
33183
b5dcacb4
AS
331842012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33185
33186 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33187 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33188 arguments.
33189
f7934be8
RM
331902012-11-02 Roland McGrath <roland@hack.frob.com>
33191
33192 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33193 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33194 autoconf-time if not.
33195 * configure.in: Remove AC_PREREQ.
33196
d7d08bde
TMQMF
331972012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33198
33199 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33200 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33201 of the internal implementation.
33202
dcdae19a
JM
332032012-11-02 Joseph Myers <joseph@codesourcery.com>
33204
33205 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33206 except include of <misc/sys/syslog.h>.
33207
d6cffd3e
AS
332082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33209
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33211 function returns with a NULL context exit with zero.
33212
b3563932
TMQMF
332132012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33214
33215 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33216
b288a93d
L
332172012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33218
33219 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33220 (run_program_cmd): This.
33221 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33222 (tst_langinfo): New variable. Use it.
33223
a2421a68
SAS
332242012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33225
33226 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33227 floating point opcodes.
33228
6f796e1b
TS
332292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33230
7402596b
TS
33231 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33232 variable.
33233
d0d4f868
TS
33234 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33235
6f796e1b
TS
33236 * sysdeps/mach/hurd/powerpc: Remove directory.
33237 * sysdeps/mach/powerpc: Likewise.
33238
4da224a2
AS
332392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33240
33241 * scripts/check-local-headers.sh: Ignore c++ headers.
33242
341dd673
TS
332432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33244
33245 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33246 __libc_cleanup_region_start argument.
33247
473611b2
JM
332482012-11-01 Joseph Myers <joseph@codesourcery.com>
33249
33250 [BZ #14784]
33251 [BZ #14785]
33252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33253 x * y using scaling, not as x * y + z.
33254 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33256 * math/libm-test.inc (fma_test): Add more tests.
33257 (fma_test_towardzero): Likewise.
33258 (fma_test_downward): Likewise.
33259 (fma_test_upward): Likewise.
33260
4078da3d
TS
332612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33262
33263 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33264
903252aa
JM
332652012-10-31 Joseph Myers <joseph@codesourcery.com>
33266
33267 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33268 New variable.
33269
cbc818d0
TS
332702012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33271
33272 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33273
5a03cb1e
AS
332742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33275
33276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33277 Fix sort order.
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33279 Likewise.
33280
90aff2ff
TMQMF
332812012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33282
33283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33284 Fix the order of the list for glibc 2.17.
33285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33286 Likewise.
33287
1818fcb7
AS
332882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33289
33290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33291
ef82f4da
JM
332922012-10-31 Joseph Myers <joseph@codesourcery.com>
33293
16a0e2ec
JM
33294 [BZ #14610]
33295 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33296 for low part of x being zero before using __atanl (y).
33297 * math/libm-test.inc (atan2_test): Add another test.
33298
0eb69512
JM
33299 * manual/install.texi (Configuring and compiling): Document
33300 general use of test-wrapper and test-wrapper-env.
33301 * INSTALL: Regenerated.
33302
ef82f4da
JM
33303 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33304 (__fma): Do not extract and scale down low bits on after-rounding
33305 systems when result rounded to normal precision would have normal
33306 exponent.
33307 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33308 (__fmal): Do not extract and scale down low bits on after-rounding
33309 systems when result rounded to normal precision would have normal
33310 exponent.
33311 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33312 (__fmal): Do not extract and scale down low bits on after-rounding
33313 systems when result rounded to normal precision would have normal
33314 exponent.
33315 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33316 macro.
33317 (fma_test): Add more tests.
33318 (fma_test_towardzero): Likewise.
33319 (fma_test_downward): Likewise.
33320 (fma_test_upward): Likewise.
33321
954ef0d9
L
333222012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33323
33324 * sysdeps/i386/tininess.h: Renamed to ...
33325 * sysdeps/x86/tininess.h: This.
33326 * sysdeps/x86_64/tininess.h: Removed.
33327
df61ffb2
JM
333282012-10-30 Joseph Myers <joseph@codesourcery.com>
33329
33330 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33331 input. Use $(build-program-cmd).
33332 ($(objpfx)tst-array1-static.out): Likewise.
33333 ($(objpfx)tst-array2.out): Likewise.
33334 ($(objpfx)tst-array3.out): Likewise.
33335 ($(objpfx)tst-array4.out): Likewise.
33336 ($(objpfx)tst-array5.out): Likewise.
33337 ($(objpfx)tst-array5-static.out): Likewise.
33338
01767843
CM
333392012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33340
47cc1490
CM
33341 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33342 if defined.
33343
01767843
CM
33344 * nss/nsswitch.h (nss_interface_function): Provide new
33345 macro for use with NSS functions.
33346 * grp/initgroups.c: Use new macro.
33347 * nss/getXXbyYY.c: Likewise.
33348 * nss/getXXbyYY_r.c: Likewise.
33349 * nss/getXXent.c: Likewise.
33350 * nss/getXXent_r.c: Likewise.
33351 * sysdeps/posix/getaddrinfo.c: Likewise.
33352
8321aa97
AJ
333532012-10-30 Andreas Jaeger <aj@suse.de>
33354
33355 * po/ru.po: Update Russion translation from translation project.
33356
2a27fd6d
JM
333572012-10-30 Joseph Myers <joseph@codesourcery.com>
33358
8627a232
JM
33359 [BZ #14152]
33360 [BZ #14783]
33361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33362 result and shift together with sticky bit instead of replicating
33363 round-to-nearest rounding.
33364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33366 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33367 missing underflow exceptions.
33368 (fma_test_towardzero): Add more tests.
33369 (fma_test_downward): Likewise.
33370 (fma_test_upward): Likewise.
33371
2a27fd6d
JM
33372 [BZ #14047]
33373 * sysdeps/generic/tininess.h: New file.
33374 * sysdeps/i386/tininess.h: Likewise.
33375 * sysdeps/sh/tininess.h: Likewise.
33376 * sysdeps/x86_64/tininess.h: Likewise.
33377 * stdlib/tst-strtod-underflow.c: Likewise.
33378 * stdlib/tst-tininess.c: Likewise.
33379 * stdlib/strtod_l.c: Include <tininess.h>.
33380 (round_and_return): Do not set errno for exact underflow cases.
33381 Force an underflow exception when setting errno for underflow.
33382 Determine underflow based on rounding to normal precision if
33383 TININESS_AFTER_ROUNDING.
33384 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33385 ERANGE for exact underflow cases.
33386 * stdlib/Makefile (tests): Add tst-tininess and
33387 tst-strtod-underflow.
33388 ($(objpfx)tst-tininess): Use $(link-libm).
33389 ($(objpfx)tst-strtod-underflow): Likewise.
33390
e7170363
AJ
333912012-10-30 Andreas Jaeger <aj@suse.de>
33392
e5088dc6
AJ
33393 [BZ#14767]
33394 * elf/Makefile (tests): Remove conditional for have-initfini-array
33395 since this is now always required and the variable does not exist
33396 anymore.
33397 (tests-static): Likewise.
33398 (modules-names): Likewise.
33399
e7170363 33400 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
33401
33402 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33403 merged with constructor/destructor.
33404 (init_array): Likewise.
33405 * elf/tst-array2dep.c (fini_array): Likewise.
33406 (init_array): Likewise.
33407
60457d8a
MF
334082012-10-29 Mike Frysinger <vapier@gentoo.org>
33409
33410 * manual/message.texi: Delete @cartouche tags.
33411
8bece752
PT
334122012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33413
94ce799f
PT
33414 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33415 EOPNOTSUPP.
33416 * sysdeps/mach/hurd/fsync.c: Likewise.
33417
8bece752
PT
33418 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33419 [_POSIX_REALTIME_SIGNALS]: Change condition to
33420 [_POSIX_REALTIME_SIGNALS > 0].
33421
86ebe6b1
AJ
334222012-10-27 Andreas Jaeger <aj@suse.de>
33423
33424 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33425 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33427 [__WORDSIZE != 64]: Likewise.
33428
54399c08
L
334292012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33430
33431 * iconvdata/tst-table.sh: Remove ${SHELL}.
33432 * iconvdata/tst-tables.sh: Likewise.
33433
e2211bed
DM
334342012-10-25 David S. Miller <davem@davemloft.net>
33435
33436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33437 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33438 of strtoull.
33439
f303f97c
DM
33440 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33441 ifunc-impl-list.c
33442 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33443 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33444 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33445 file.
33446
1e9d84cd
RM
334472012-10-25 Roland McGrath <roland@hack.frob.com>
33448
33449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33450 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33451 __getdirentries.
33452
df381762
JM
334532012-10-25 Joseph Myers <joseph@codesourcery.com>
33454 Jim Blandy <jimb@codesourcery.com>
33455
33456 * scripts/cross-test-ssh.sh: New file.
33457 * manual/install.texi (Configuring and compiling): Document use of
33458 cross-test-ssh.sh.
33459 * INSTALL: Regenerated.
33460
bff64913
PT
334612012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33462
33463 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33464 EOPNOTSUPP.
33465
25fe8932
JM
334662012-10-25 Joseph Myers <joseph@codesourcery.com>
33467
33468 * Makeconfig (run-program-prefix): Fix comment.
33469
cc1290d0
JM
334702012-10-24 Joseph Myers <joseph@codesourcery.com>
33471 Jim Blandy <jimb@codesourcery.com>
33472
33473 * Makeconfig (test-wrapper): New variable,
33474 (test-wrapper-env): Likewise.
33475 [$(cross-compiling) = yes && $(test-wrapper) != ""]
33476 (run-built-tests): Define to yes.
33477 (run-program-prefix): Use $(test-wrapper).
33478 (built-program-cmd): Likewise.
33479 * Rules (make-test-out): Use $(test-wrapper-env) and
33480 $(host-built-program-cmd).
33481 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33482 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33483 tst-pathopt.sh.
33484 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33485 $(test-wrapper-env) to tst-rtld-load-self.sh.
33486 ($(objpfx)order2.out): Use $(test-wrapper).
33487 ($(objpfx)tst-initorder.out): Likewise.
33488 ($(objpfx)tst-initorder2.out): Likewise.
33489 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33490 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33491 (test_wrapper_env): New variable. Use it to run ld.so.
33492 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33493 Use it to run ld.so.
33494 (test_wrapper_env): Likewise.
33495 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33496 $(test-wrapper) to run-iconv-test.sh.
33497 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33498 (ICONV): Use $test_wrapper.
33499 * posix/Makefile ($(objpfx)globtest.out): Pass
33500 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33501 globtest.sh, not $(run-program-prefix).
33502 * posix/globtest.sh (run_via_rtld_prefix): New variable.
33503 (test_wrapper): Likewise.
33504 (test_wrapper_env): Likewise. Use it to run globtest with HOME
33505 set together with run_via_rtld_prefix.
33506 (run_program_prefix): Define in terms of test_wrapper and
33507 run_via_rtld_prefix.
33508
6e6249d0
RM
335092012-10-24 Roland McGrath <roland@hack.frob.com>
33510
33511 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33512 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33513 Targets removed.
33514
33515 [BZ #14743]
33516 * include/time.h: Remove librt_hidden_proto (clock_gettime).
33517 Declare __clock_getres, __clock_gettime, __clock_settime,
33518 __clock_nanosleep, and __clock_getcpuclockid.
33519 * rt/clock_gettime.c: Define __clock_gettime as an alias.
33520 Remove librt_hidden_def (clock_gettime).
33521 * sysdeps/unix/clock_gettime.c: Likewise.
33522 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33523 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33524 * rt/clock_getres.c: Define __clock_getres as an alias.
33525 * sysdeps/posix/clock_getres.c: Likewise.
33526 * rt/clock_settime.c: Define __clock_settime as an alias.
33527 * sysdeps/unix/clock_settime.c: Likewise.
33528 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33529 * sysdeps/unix/clock_nanosleep.c: Likewise.
33530 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33531 * rt/clock-compat.c: New file.
33532 * rt/Makefile (librt-routines): Add clock-compat and move
33533 $(clock-routines) to ...
33534 (routines): ... here, new variable.
33535 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33536 Don't add get_clockfreq here.
33537 * rt/Versions (libc: GLIBC_2.17): New version set.
33538 Add clock_* symbols here.
33539 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
33540 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33541 (GLIBC_2.17): Add clock_* symbols.
33542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33546 Likewise.
33547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33548 Likewise.
33549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33553 * NEWS: Mention the move.
33554
33555 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33556 Use __open, __read, __close rather than their public counterparts.
33557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33558 (__get_clockfreq_via_cpuinfo): Likewise.
33559 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33560 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33561
33562 * config.h.in (HAVE_IFUNC): New #undef.
33563 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33564 was successful.
33565 * configure: Regenerated.
33566
0cae3f4b
MF
335672012-10-24 Mike Frysinger <vapier@gentoo.org>
33568
33569 * configure.in: Move READELF check to start of file.
33570 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33571 libc_cv_asm_gnu_indirect_function in the process.
33572 * configure: Regenerated.
33573
8175a253
MF
335742012-10-24 Mike Frysinger <vapier@gentoo.org>
33575
33576 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33577 send the output to /dev/null.
33578 (libc_cv_cc_with_libunwind): Likewise.
33579 (libc_cv_as_noexecstack): Likewise.
33580 * configure: Regenerate.
33581
0708a7d1
JM
335822012-10-24 Joseph Myers <joseph@codesourcery.com>
33583
10b40d85
JM
33584 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33585
0708a7d1
JM
33586 * posix/globtest.sh (TMPDIR): Do not set.
33587 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33588 (testout): Likewise.
33589
9fddec1a
AJ
335902012-10-24 Andreas Jaeger <aj@suse.de>
33591
3a8db22f
AJ
33592 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33593 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33594 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33595 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33596 posix_fadvise64, posix_fallocate64.
33597
9fddec1a
AJ
33598 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33599 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33600 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33601 Likewise.
33602 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33603 Likewise.
33604 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33605
33606 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33607 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33608 <bits/fcntl-linux.h>.
33609 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33610
33611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33612 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33613 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33614 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33615 [__WORDSIZE != 64]: Likewise.
33616
ebfd1bbd
JM
336172012-10-23 Joseph Myers <joseph@codesourcery.com>
33618
03ac099f
JM
33619 * Makeconfig (run-built-tests): New variable.
33620 * Rules [$(cross-compiling) = yes]: Change condition to
33621 [$(run-built-tests) = no].
33622 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33623 to [$(run-built-tests) = yes].
33624 * elf/Makefile [$(cross-compiling) = no]: Likewise
33625 * grp/Makefile [$(cross-compiling) = no]: Likewise.
33626 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33627 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33628 * intl/Makefile [$(cross-compiling) = no]: Likewise.
33629 * io/Makefile [$(cross-compiling) = no]: Likewise.
33630 * libio/Makefile [$(cross-compiling) = no]: Likewise.
33631 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33632 * misc/Makefile [$(cross-compiling) = no]: Likewise.
33633 * posix/Makefile [$(cross-compiling) = no]: Likewise.
33634 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33635 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33636 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33637 * string/Makefile [$(cross-compiling) = no]: Likewise.
33638
ebfd1bbd
JM
33639 * posix/Makefile ($(objpfx)globtest.out): Pass
33640 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33641 $(rtld-installed-name).
33642 * posix/globtest.sh (elf_objpfx): Remove variable.
33643 (rtld_installed_name): Likewise.
33644 (library_path): Likewise.
33645 (run_program_prefix): New variable. Use for running globtest
33646 binary.
33647
166bca24
JB
336482012-10-23 Jim Blandy <jimb@codesourcery.com>
33649 Joseph Myers <joseph@codesourcery.com>
33650
33651 * Makeconfig (host-built-program-cmd): New variable.
33652 * elf/Makefile (tst-stackguard1-ARGS): Use
33653 $(host-built-program-cmd).
33654 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33655 (tst-spawn-ARGS): Likewise.
33656 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33657
88866099
JM
336582012-10-23 Joseph Myers <joseph@codesourcery.com>
33659 Jim Blandy <jimb@codesourcery.com>
33660
33661 * Makeconfig (run-via-rtld-prefix): New variable.
33662 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33663 (built-program-cmd): Likewise.
33664
b4b4c296
AJ
336652012-10-22 Andreas Jaeger <aj@suse.de>
33666
33667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33668 __O_RSYNC if it exists, otherwise to O_SYNC.
33669
6fb54a22
JB
336702012-10-22 Jim Blandy <jimb@codesourcery.com>
33671 Joseph Myers <joseph@codesourcery.com>
33672
33673 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33674 /dev/null.
33675 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33676 from /dev/null
33677 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33678 /dev/null.
33679
481b90b9
AJ
336802012-10-22 Andreas Jaeger <aj@suse.de>
33681
2a0e2669
AJ
33682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33683 Define always.
33684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33685
76e38f9a
AJ
33686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33687 bits/fcntl-linux.h.
33688
7cd37b43
AJ
33689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33690 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33691
481b90b9
AJ
33692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33693 to __O_LARGEFILE.
33694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33695 to __O_LARGEFILE.
33696
aba75984
JB
336972012-10-21 Jim Blandy <jimb@codesourcery.com>
33698 Joseph Myers <joseph@codesourcery.com>
33699
33700 * config.make.in (NM): New variable.
33701
88d4247f
AJ
337022012-10-21 Andreas Jaeger <aj@suse.de>
33703
33704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33705 definitions and declarations that are provided by
33706 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33707
f2eed205
L
337082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33709
33710 [BZ #14683]
33711 * elf/Makefile (tests-static): Add tst-leaks1-static.
33712 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33713 ($(objpfx)tst-leaks1-static): New rule.
33714 ($(objpfx)tst-leaks1-static-mem): Likewise.
33715 (tst-leaks1-static-ENV): New macro.
33716 * elf/dl-open.c (dl_open_worker): Check the main application
33717 only if SHARED is defined.
33718 * elf/tst-leaks1-static.c: New file.
33719
335e6931
AJ
337202012-10-20 Andreas Jaeger <aj@suse.de>
33721
33722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33723 generic values for Linux.
33724 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33725 and declarations that are provided by <bits/fcntl-linux.h> and
33726 include <bits/fcntl-linux.h>.
33727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33729
ac5c94d3
RM
337302012-10-20 Roland McGrath <roland@hack.frob.com>
33731
33732 * io/fcntl.h: Move include of <bits/types.h> to the top and
33733 include it unconditionally.
33734
de54b33a
L
337352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
33736
228cfb01
L
33737 * wcsmbs/Makefile (tests-ifunc): New variable.
33738 (tests): Add $(tests-ifunc).
33739 * wcsmbs/test-wcschr-ifunc.c: New file.
33740 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33741 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33742 * wcsmbs/test-wcslen-ifunc.c: Likewise.
33743 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33744 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33745
69f07e5f
L
33746 * string/Makefile (tests-ifunc): New variable.
33747 (tests): Add $(tests-ifunc).
33748 * string/test-memccpy.c (TEST_NAME): New macro.
33749 * string/test-memchr.c (TEST_NAME): Likewise.
33750 * string/test-memcmp.c (TEST_NAME): Likewise.
33751 * string/test-memcpy.c (TEST_NAME): Likewise.
33752 * string/test-memmem.c (TEST_NAME): Likewise.
33753 * string/test-memmove.c (TEST_NAME): Likewise.
33754 * string/test-memset.c (TEST_NAME): Likewise.
33755 * string/test-rawmemchr.c (TEST_NAME): Likewise.
33756 * string/test-stpcpy.c (TEST_NAME): Likewise.
33757 * string/test-stpncpy.c (TEST_NAME): Likewise.
33758 * string/test-strcasecmp.c (TEST_NAME): Likewise.
33759 * string/test-strcasestr.c (TEST_NAME): Likewise.
33760 * string/test-strcat.c (TEST_NAME): Likewise.
33761 * string/test-strchr.c (TEST_NAME): Likewise.
33762 * string/test-strcmp.c(TEST_NAME): Likewise.
33763 * string/test-strcpy.c (TEST_NAME): Likewise.
33764 * string/test-strcspn.c (TEST_NAME): Likewise.
33765 * string/test-strlen.c (TEST_NAME): Likewise.
33766 * string/test-strncasecmp.c (TEST_NAME): Likewise.
33767 * string/test-strncmp.c (TEST_NAME): Likewise.
33768 * string/test-strncpy.c (TEST_NAME): Likewise.
33769 * string/test-strnlen.c (TEST_NAME): Likewise.
33770 * string/test-strpbrk.c (TEST_NAME): Likewise.
33771 * string/test-strrchr.c (TEST_NAME): Likewise.
33772 * string/test-strspn.c (TEST_NAME): Likewise.
33773 * string/test-strstr.c (TEST_NAME): Likewise.
33774 * string/test-bcopy-ifunc.c: New file.
33775 * string/test-bzero-ifunc.c: Likewise.
33776 * string/test-memccpy-ifunc.c: Likewise.
33777 * string/test-memchr-ifunc.c: Likewise.
33778 * string/test-memcmp-ifunc.c: Likewise.
33779 * string/test-memcpy-ifunc.c: Likewise.
33780 * string/test-memmem-ifunc.c: Likewise.
33781 * string/test-memmove-ifunc.c: Likewise.
33782 * string/test-mempcpy-ifunc.c: Likewise.
33783 * string/test-memset-ifunc.c: Likewise.
33784 * string/test-rawmemchr-ifunc.c: Likewise.
33785 * string/test-stpcpy-ifunc.c: Likewise.
33786 * string/test-stpncpy-ifunc.c: Likewise.
33787 * string/test-strcasecmp-ifunc.c: Likewise.
33788 * string/test-strcasestr-ifunc.c: Likewise.
33789 * string/test-strcat-ifunc.c: Likewise.
33790 * string/test-strchr-ifunc.c: Likewise.
33791 * string/test-strchrnul-ifunc.c: Likewise.
33792 * string/test-strcmp-ifunc.c: Likewise.
33793 * string/test-strcpy-ifunc.c: Likewise.
33794 * string/test-strcspn-ifunc.c: Likewise.
33795 * string/test-strlen-ifunc.c: Likewise.
33796 * string/test-strncasecmp-ifunc.c: Likewise.
33797 * string/test-strncat-ifunc.c: Likewise.
33798 * string/test-strncmp-ifunc.c: Likewise.
33799 * string/test-strncpy-ifunc.c: Likewise.
33800 * string/test-strnlen-ifunc.c: Likewise.
33801 * string/test-strpbrk-ifunc.c: Likewise.
33802 * string/test-strrchr-ifunc.c: Likewise.
33803 * string/test-strspn-ifunc.c: Likewise.
33804 * string/test-strstr-ifunc.c: Likewise.
33805
de54b33a
L
33806 * debug/Makefile (tests-ifunc): New variable.
33807 (tests): Add $(tests-ifunc).
33808 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33809 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33810 * debug/test-stpcpy_chk-ifunc.c: New file.
33811 * debug/test-strcpy_chk-ifunc.c: Likewise.
33812
88481c16
SP
338132012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33814
33815 [BZ #13601]
33816 * elf/dl-load.c (open_verify): Retry read if the entire ELF
33817 header is not read in.
33818
135948bd
JM
338192012-10-19 Joseph Myers <joseph@codesourcery.com>
33820
89f1c388
JM
33821 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
33822 script to $(SHELL) as $<. Pass $(common-objpfx) to script
33823 directly. Pass built executable to script as
33824 $(built-program-cmd).
33825 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
33826 $testprogram without using LD_LIBRARY_PATH and $ldso.
33827
e40a0d21
JM
33828 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33829 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33830 $(rtld-installed-name).
33831 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33832 (rtld_installed_name): Likewise.
33833 (library_path): Likewise.
33834 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
33835 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33836 $(run-program-prefix) to tst-tables.sh.
33837 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
33838 it to run tst-table-from and tst-table-to.
33839 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33840 Pass it to tst-table.sh.
33841 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33842 $(run-program-prefix) to tst-gettext.sh.
33843 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33844 tst-translit.sh.
33845 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33846 tst-gettext2.sh.
33847 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
33848 to run tst-gettext.
33849 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
33850 to run tst-gettext2.
33851 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
33852 to run tst-translit.
33853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33854 $(run-program-prefix) to tst-mtrace.sh.
33855 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33856 to run tst-mtrace.
33857 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33858 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33859 $(rtld-installed-name).
33860 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33861 (rtld_installed_name): Likewise.
33862 (run_program_prefix): New variable. Use it to run wordexp-test.
33863
728e272a
JM
33864 * Makeconfig (ARCH): Remove all definitions.
33865 (machine): Likewise.
33866 [ARCH]: Remove conditional code.
33867 [!objdir]: Give error.
33868 [!objdir] (objpfx): Remove.
33869 [!objdir] (common-objpfx): Likewise.
33870 [!objdir] (common-objdir): Likewise.
33871 * configure.in (config_makefile): Remove. Hardcode Makefile in
33872 AC_CONFIG_FILES call.
33873 * configure: Regenerated.
33874
d528cdcf
JM
33875 [BZ #13888]
33876 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33877 or TMPDIR.
33878 (testout): Likewise.
33879
135948bd
JM
33880 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33881 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33882 $(rtld-installed-name).
33883 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33884 (rtld_installed_name): Likwise.
33885 (runit): Remove function.
33886 (run_getconf): New variable, Use it for running getconf binary.
33887
38c78296
L
338882012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33889
33890 [BZ #14716]
33891 * string/test-memmem.c (check_result): New function.
33892 (do_one_test): Use it.
33893 (check1): New function.
33894 (test_main): Use it.
33895
d077f65f
MT
338962012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33897
33898 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33899
ced52c71
JM
339002012-10-18 Joseph Myers <joseph@codesourcery.com>
33901
33902 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33903 (_G_LSEEK64): Likewise.
33904 (_G_MMAP64): Likewise.
33905 (_G_FSTAT64): Likewise.
33906 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33907 (_G_LSEEK64): Likewise.
33908 (_G_MMAP64): Likewise.
33909 (_G_FSTAT64): Likewise.
33910 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33911 unconditional. Call __mmap64 directly.
33912 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33913 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33914 __lseek64 directly.
33915 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33916 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33917 __mmap64 directly.
33918 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33919 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33920 __lseek64 directly.
33921 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33922 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33923 __lseek64 directly.
33924 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33925 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33926 __lseek64 directly.
33927 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33928 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33929 __fxstat64 directly.
33930 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33931 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33932 unconditional.
33933 (freopen64) [!_G_OPEN64]: Remove conditional code.
33934 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33935 unconditional.
33936 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33937 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33938 unconditional.
33939 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33940 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33941 unconditional.
33942 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33943 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33944 unconditional.
33945 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33946 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33947 unconditional.
33948 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33949 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33950 unconditional.
33951 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33952 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33953 unconditional.
33954 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33955
b741de23
SP
339562012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33957
33958 [BZ #12140]
33959 * manual/memory.texi (Malloc Tunable Parameters): Add note
33960 about free list pointers overwriting some perturb bytes.
33961 Wording suggested by Roland McGrath.
33962
f9b9d9c9
JM
339632012-10-17 Joseph Myers <joseph@codesourcery.com>
33964
33965 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33966 (lgamma_test): Likewise.
33967 (tgamma_test): Likewise.
33968
172a631a
FW
339692012-10-16 Florian Weimer <fweimer@redhat.com>
33970
33971 [BZ #14700]
33972 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33973 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33974
e9f37252
MK
339752012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33976
33977 * NEWS: Mention BZ #14716.
33978 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33979 when removing AVAILABLE1_USES_J macro.
33980
d394eb74
L
339812012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33982
33983 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33984 (__bswap_64): __uint64_t for unsigned 64-bit int.
33985
ca38dc17
AS
339862012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33987
33988 * include/string.h (memmem): Declare libc hidden alias.
33989 * string/memmem.c (memmem): Define libc hidden alias.
33990 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33991 __read, __close instead of open, read, close.
33992
9a387d1f
L
339932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33994
ac49ecaf
L
33995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33996 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33997 global and hidden.
33998 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33999 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34000 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34001 Likewise.
34002 (__rawmemchr_sse2): Likewise.
34003 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34004 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34005 (__strchr_sse2): Likewise.
34006 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34007 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34008 (__strcasecmp_sse2): Likewise.
34009 (__strncasecmp_sse2): Likewise.
34010 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34011 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34012 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34013 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34014 (__strrchr_sse2): Likewise.
34015 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34016 ifunc-impl-list.c.
34017 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34018 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34019 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34020 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34021 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34022 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34023 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34024 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34025 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34026 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34027 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34028 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34029 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34030 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34031 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34032 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34033 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34034 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34035 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34036 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34037 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34038 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34039 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34040 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34041 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34042 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34043 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34044 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34045 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34046 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34047
b090e8ea
L
34048 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34049 global and hidden.
34050 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34051 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34052 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34053 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34054 Likewise.
34055 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34056 Likewise.
34057 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34058 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34059 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34060 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34061 ifunc-impl-list.c.
34062 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34063 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34064 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34065 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34066 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34067 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34068 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34069 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34070 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34071 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34072 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34073 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34074 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34075 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34076 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34077 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34078 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34079 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34080 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34081 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34082 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34083 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34084 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34085 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34086 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34087 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34088 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34089 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34090 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34091 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34092 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34093 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34094 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34095 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34096 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34097 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34098 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34099 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34100 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34101 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34102 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34103
11dd4af6
L
34104 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34105 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34106 * include/ifunc-impl-list.h: New file.
34107 * misc/ifunc-impl-list.c: Likewise.
34108 * misc/Makefile (routines): Add ifunc-impl-list.
34109 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34110 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
34111 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34112 TEST_NAME]: New variables.
11dd4af6
L
34113 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34114 are defined.
34115 (test_init): Call __libc_ifunc_impl_list to initialize
34116 func_list if TEST_IFUNC and TEST_NAME are defined.
34117
9a387d1f
L
34118 * string/Makefile (strop-tests): Add bcopy and bzero.
34119 * string/test-bcopy.c: New file.
34120 * string/test-bzero.c: Likewise.
34121 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34122 defined.
34123 * string/test-memset.c: Support bzero test if TEST_BZERO is
34124 defined.
34125 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34126 __libc_memmove.
34127 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34128 __libc_memset.
34129 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34130 of memset.
34131
472371b9
JM
341322012-10-10 Joseph Myers <joseph@codesourcery.com>
34133
1e4a9536
JM
34134 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34135 * configure: Regenerated.
34136
d173d12e
JM
34137 * Makeconfig (+link-static-before-libc): Don't include
34138 $(link-static-libc).
34139
472371b9
JM
34140 * libio/libio.h (_IO_pos_t): Remove.
34141
89a3ad0b
AO
341422012-10-10 Alexandre Oliva <aoliva@redhat.com>
34143
34144 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34145 McGrath.
34146
e7451425
AO
341472012-10-10 Alexandre Oliva <aoliva@redhat.com>
34148
34149 * crypt/crypt-entry.c: Include fips-private.h.
34150 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34151 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34152 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34153 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34154
4ba74a35
AO
341552012-10-10 Alexandre Oliva <aoliva@redhat.com>
34156
34157 * crypt/crypt-private.h: Include stdbool.h.
34158 (_ufc_setup_salt_r): Return bool.
34159 * crypt/crypt-entry.c: Include errno.h.
34160 (__crypt_r): Return NULL with EINVAL for bad salt.
34161 * crypt/crypt_util.c (bad_for_salt): New.
34162 (_ufc_setup_salt_r): Check that salt is long enough and within
34163 the specified alphabet.
34164 * crypt/badsalttest.c: New file.
34165 * crypt/Makefile (tests): Add it.
34166 ($(objpfx)badsalttest): New.
34167
f96f1242
MK
341682012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34169
34170 * NEWS: Add entry for BZ #14602.
34171
0e8e0c1c
JM
341722012-10-09 Joseph Myers <joseph@codesourcery.com>
34173
34174 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34175 type-generic.
34176 * math/libm-test.inc: Update comment listing what functions and
34177 macros are tested.
34178 (isgreater_test): New function.
34179 (isgreaterequal_test): Likewise.
34180 (isless_test): Likewise.
34181 (islessequal_test): Likewise.
34182 (islessgreater_test): Likewise.
34183 (isunordered_test): Likewise.
34184 (main): Call the new functions.
34185
273edc5e
RM
341862012-10-09 Roland McGrath <roland@hack.frob.com>
34187
b8493de0
RM
34188 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34189 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34190 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34191 * sysdeps/i386/configure: Regenerated.
34192 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34193 * sysdeps/mach/configure: Regenerated.
34194 * sysdeps/mach/hurd/configure: Regenerated.
34195 * sysdeps/powerpc/configure: Regenerated.
34196 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34197 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34198 * sysdeps/s390/s390-32/configure: Regenerated.
34199 * sysdeps/s390/s390-64/configure: Regenerated.
34200 * sysdeps/sh/configure: Regenerated.
34201 * sysdeps/sparc/configure: Regenerated.
34202 * sysdeps/unix/sysv/linux/configure: Regenerated.
34203 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34204 * sysdeps/x86_64/configure: Regenerated.
34205
273edc5e
RM
34206 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34207 defined. Don't check if MAP is NULL.
34208
c8450f70
JM
342092012-10-09 Joseph Myers <joseph@codesourcery.com>
34210
34211 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34212 (_G_stat64): Likewise.
34213 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34214 (_G_stat64): Likewise.
34215 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34216 instead of struct _G_stat64.
34217 * libio/fileops.c (mmap_remap_check): Likewise.
34218 (decide_maybe_mmap): Likewise.
34219 (_IO_new_file_seekoff): Likewise.
34220 (_IO_file_stat): Likewise.
34221 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34222 _G_off64_t.
34223 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34224 instead of struct _G_stat64.
34225 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34226
57e605ba
MK
342272012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34228
34229 [BZ #14602]
34230 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34231 Replace with ...
34232 (CHECK_EOL): New macro.
34233 (two_way_short_needle): Check beginning of haystack for EOL. Use
34234 CHECK_EOL.
34235 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34236 Replace with CHECK_EOL.
34237 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34238 Replace with CHECK_EOL.
34239
ef1bb361
JM
342402012-10-08 Joseph Myers <joseph@codesourcery.com>
34241
34242 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34243 type-generic.
34244 * math/libm-test.inc: Update comment listing what functions and
34245 macros are tested.
34246 (finite_test): New function.
34247 (isinf_test): Likewise.
34248 (isnan_test): Likewise.
34249 (fpclassify_test): Test subnormal input.
34250 (isfinite_test): Likewise.
34251 (isnormal_test): Likewise.
34252 (main): Call the new functions.
34253
55f11534
JN
342542012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34255
34256 [BZ #14660]
34257 * Makerules (%.dynsym): Force C locale when running
34258 $(OBJDUMP) --dynamic-syms.
34259
1ab29350
AS
342602012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34261
34262 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34263 <stdint.h>.
34264
f1ecb7ef
DM
342652012-10-06 David S. Miller <davem@davemloft.net>
34266
34267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34268 upper 32-bits of the length value in %o2 since we use branch-on-register
34269 tests which consider the entire 64-bit register.
34270
5d41d91a
L
342712012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34272
34273 * string/test-strstr.c (check2): Add a test for page boundary.
34274
3baddb72
DM
342752012-10-05 David S. Miller <davem@davemloft.net>
34276
34277 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34278 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34279 file.
34280 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34281 sysdep_routines.
34282 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34283 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34284 and bzero when HWCAP_SPARC_CRYPTO is present.
34285
9cee5585
L
342862012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34287
d7e0dab9
L
34288 [BZ #14602]
34289 * string/test-strstr.c (check2): New function.
34290 (test_main): Call check2.
34291
03759f47
L
34292 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34293 and bug-strchr1.
34294 * string/bug-strcasestr1.c (do_test): Moved to ...
34295 * string/test-strcasestr.c (check1): Here. New function.
34296 (do_one_test): Break out result checking code into ...
34297 (check_result): This. New function.
34298 (do_one_test): Call check_result.
34299 (test_main): Call check1.
34300 * string/bug-strchr1.c (do_test): Moved to ...
34301 * string/test-strchr.c (check1): Here. New function.
34302 (do_one_test): Break out result checking code into ...
34303 (check_result): This. New function.
34304 (do_one_test): Call check_result.
34305 (test_main): Call check1.
34306 * string/bug-strstr1.c (main): Moved to ...
046f153e 34307 * string/test-strstr.c (check1): Here. New function.
03759f47
L
34308 (do_one_test): Break out result checking code into ...
34309 (check_result): This. New function.
34310 (do_one_test): Call check_result.
34311 (test_main): Call check1.
34312 * string/bug-strcasestr1.c: Removed.
34313 * string/bug-strchr1.c: Likewise.
34314 * string/bug-strstr1.c: Likewise.
34315
53cea63e
L
34316 * elf/Makefile (dl-routines): Add hwcaps.
34317 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34318 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34319 (_dl_important_hwcaps): Moved to ...
34320 * elf/dl-hwcaps.c: Here. New file.
34321 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34322
9cee5585 34323 [BZ #14557]
bb859b06
L
34324 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34325 if IS_IN_rtld isn't defined.
34326
9cee5585
L
34327 * elf/dl-support.c (_dl_sysinfo_map): New.
34328 Include "get-dynamic-info.h" and "setup-vdso.h".
34329 (_dl_non_dynamic_init): Call setup_vdso.
34330 * elf/dynamic-link.h: Don't include <assert.h>.
34331 (elf_get_dynamic_info): Moved to ...
34332 * elf/get-dynamic-info.h: Here. New file.
34333 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34334 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34335 * elf/setup-vdso.h: Here. New file.
34336 * elf/rtld.c: Include "setup-vdso.h".
34337 (dl_main): Call setup_vdso.
34338
23c31b76
JM
343392012-10-05 Joseph Myers <joseph@codesourcery.com>
34340
28234b07
JM
34341 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34342 creal in comment listing functions tested. List finite, isinf,
34343 isnan, isless, islessequal, isgreater, isgreaterequal,
34344 islessgreater, isunordered, lgamma_r and pow10 as functions and
34345 macros not tested. Mention which functions not tested are aliases
34346 for other functions. Fix typo. Note that signs of NaNs are not
34347 tested.
34348
23c31b76
JM
34349 * scripts/config.guess: Update from config.git.
34350 * scripts/config.sub: Likewise.
34351
9043e228
RM
343522012-10-04 Roland McGrath <roland@hack.frob.com>
34353
34354 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34355 * misc/madvise.c (madvise): Renamed to __madvise.
34356 Make madvise a weak alias.
34357 * include/sys/mman.h: Declare __madvise.
34358 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34359 * sysdeps/unix/syscalls.list
34360 (madvise): Make __madvise the strong name, and madvise a weak alias.
34361 * sysdeps/unix/sysv/linux/syscalls.list
34362 (madvise, mmap): Remove redundant entries.
34363 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34364 * malloc/malloc.c (mtrim): Likewise.
34365 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34366
f57f8055
RM
343672012-10-03 Roland McGrath <roland@hack.frob.com>
34368
34369 * sysdeps/mach/hurd/dl-cache.c: File removed.
34370 * config.h.in (USE_LDCONFIG): New #undef.
34371 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34372 * configure: Regenerated.
34373 * elf/Makefile (dl-routines): Add dl-cache only under
34374 [$(use-ldconfig) = yes].
34375 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34376 cache on [USE_LDCONFIG].
34377 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34378 [USE_LDCONFIG].
34379 * elf/rtld.c (dl_main): Likewise.
34380
5bb0c10a
PT
343812012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34382
34383 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34384 _SC_LEVEL4_CACHE_LINESIZE.
34385
010188c6
RM
343862012-10-03 Roland McGrath <roland@hack.frob.com>
34387
34388 * sysdeps/unix/bsd/confstr.h: File removed.
34389
b6c5ec07
AO
343902012-10-02 Alexandre Oliva <aoliva@redhat.com>
34391
34392 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34393 sys/sdt-config.h.
34394
408223d4
RM
343952012-10-02 Roland McGrath <roland@hack.frob.com>
34396
34397 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34398 Make 'mapoff' field ElfW(Off) rather than off_t.
34399
bb9510dc
DL
344002012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34401
fc997c6e
DL
34402 * nscd/Makefile: Remove nscd-cflags and all its users.
34403 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34404 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34405
bb9510dc
DL
34406 [BZ #10631]
34407 * malloc.c (malloc_printerr): Clarify error message.
34408
05699367
L
344092012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34410
34411 [BZ #14648]
34412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34413 Set bit_FMA_Usable if FMA is supported.
34414 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34415 macro.
34416 (bit_FMA4_Usable): Updated.
34417 (index_FMA_Usable): New macro.
34418 (CPUID_FMA): Likewise
34419 (HAS_FMA): Defined with bit_FMA_Usable.
34420
51367701
RM
344212012-10-01 Roland McGrath <roland@hack.frob.com>
34422
34423 * bits/types.h (__swblk_t): Type removed.
34424 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34425 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34427 (__SWBLK_T_TYPE): Likewise.
34428 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34429 (__SWBLK_T_TYPE): Likewise.
34430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34431 (__SWBLK_T_TYPE): Likewise.
34432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34433 (__SWBLK_T_TYPE): Likewise.
34434
4d57bf63 344352012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 34436 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
34437
34438 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34439 (xdr_mapname): Use YPMAXMAP as maxsize.
34440 (xdr_peername): Use YPMAXPEER as maxsize.
34441 (xdr_keydat): Use YPAXRECORD as maxsize.
34442 (xdr_valdat): Use YPMAXRECORD as maxsize.
34443
93c65d43
RM
344442012-10-01 Roland McGrath <roland@hack.frob.com>
34445
497a03d6
RM
34446 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34447
93c65d43
RM
34448 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34449 * csu/init-first.c: ... here.
34450 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34451 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34452 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34453 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34454 * sysdeps/i386/init-first.c: File removed.
34455 * sysdeps/sh/init-first.c: File removed.
34456
bec749fd
JM
344572012-10-01 Joseph Myers <joseph@codesourcery.com>
34458
34459 [BZ #14645]
34460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34461 if x * y might underflow to zero and z is zero.
34462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34464 * math/libm-test.inc (min_subnorm_value): New variable.
34465 (fma_test): Add more tests.
34466 (fma_test_towardzero): Likewise.
34467 (fma_test_downward): Likewise
34468 (fma_test_upward): Likewise.
34469 (initialize): Set min_subnorm_value.
34470
8ec5b013
JM
344712012-09-29 Joseph Myers <joseph@codesourcery.com>
34472
34473 [BZ #14638]
34474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34475 0 + 0.
34476 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34477 mode for addition resulting in exact zero.
34478 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34480 exact 0 + 0.
34481 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34482 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34483 * math/libm-test.inc (fma_test): Add more tests.
34484 (fma_test_towardzero): New function.
34485 (fma_test_downward): Likewise.
34486 (fma_test_upward): Likewise.
34487 (main): Call the new functions.
34488
b1fa802e
DM
344892012-09-28 David S. Miller <davem@davemloft.net>
34490
34491 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34492
d3b9fd9e
RM
344932012-09-28 Roland McGrath <roland@hack.frob.com>
34494
ea4d37b3
RM
34495 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34496 instead of SIGALRM.
34497
ac51c949
RM
34498 * sysdeps/gnu/_G_config.h: Moved to ...
34499 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34500 * sysdeps/mach/hurd/_G_config.h: Moved to ...
34501 * sysdeps/generic/_G_config.h: ... here.
34502
28c195f7
RM
34503 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
34504
848917f9
RM
34505 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34506
6bacf05b
RM
34507 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34508 Conditionalize target on [libnss_test1.so-version].
34509
91363dbb
RM
34510 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34511
cc87f7d8
RM
34512 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34513 (elfobjdir): Move out of conditionals.
34514
b1c608fe
RM
34515 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34516 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34517 (__nss_lookup_function): Conditionalize label remove_from_tree on
34518 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 34519
1d9a6d96
DM
345202012-09-28 David S. Miller <davem@davemloft.net>
34521
34522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34523 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34524 file.
34525 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34526 sysdep_routines.
34527 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34529 when HWCAP_SPARC_CRYPTO is present.
34530
72581615
PT
345312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34532
34533 * io/tst-mknodat.c: Create a FIFO instead of a socket.
34534
715a900c
JL
345352012-09-28 Andreas Schwab <schwab@linux-m68k.org>
34536
34537 [BZ #6530]
34538 * stdio-common/vfprintf.c (process_string_arg): Revert
34539 2000-07-22 change.
34540
345412011-09-28 Jonathan Nieder <jrnieder@gmail.com>
34542
34543 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34544 for testcase.
34545 * stdio-common/tst-sprintf.c: Include <locale.h>
34546 (main): Test sprintf's handling of incomplete multibyte
34547 characters.
34548
9bac1d86
L
345492012-09-28 H.J. Lu <hongjiu.lu@intel.com>
34550
34551 * elf/dl-runtime.c (VERSYMIDX): Removed.
34552 * elf/dl-version.c (VERSYMIDX): Likewise.
34553 * elf/do-rel.h (VERSYMIDX): Likewise.
34554 (VALIDX): Likewise.
34555 * elf/dynamic-link.h (VERSYMIDX): Likewise.
34556 * elf/rtld.c (VALIDX): Likewise.
34557 (ADDRIDX): Likewise.
9bac1d86
L
34558 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34559 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34560 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
34561 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34562 (VALIDX): Likewise.
34563 (ADDRIDX): Likewise.
9bac1d86 34564
b31606c0
PT
345652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34566
34567 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34568
11541177
JL
345692012-09-28 Dmitry V. Levin <ldv@altlinux.org>
34570
34571 [BZ #11438]
34572 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34573 to global scope.
34574 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34575 addresses are in the same scope as 192.0.2/24.
34576 * posix/gai.conf: Document new scope table defaults.
34577
adb26fae
SP
345782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34579
34580 [BZ #5298]
34581 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34582 for ftell. Compute offsets from write pointers instead.
34583 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34584
4573c6b0
SP
345852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34586
34587 [BZ #14543]
34588 * libio/Makefile (tests): New test case tst-fseek.
34589 * libio/tst-fseek.c: New test case to verify that fseek/ftell
34590 combination works in wide mode.
34591 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34592 state when the external buffer state changes.
34593
aa9bbfe6
DM
345942012-09-27 David S. Miller <davem@davemloft.net>
34595
34596 [BZ #14376]
34597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34598 pass reloc->r_addend in as the 'high' argument to
34599 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34600
784421e7
DM
34601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34602
c39bc8b8
PT
346032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
34604
34605 * rt/tst-aio2.c: Include <pthread.h>.
34606 * rt/tst-aio3.c: Likewise.
34607
1ccc2399
SE
346082012-09-27 Steve Ellcey <sellcey@mips.com>
34609
34610 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34611
31ed4153
L
346122012-09-27 H.J. Lu <hongjiu.lu@intel.com>
34613
25f5f885
L
34614 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34615 contents on [SHARED].
31ed4153 34616
b7bfe116
MP
346172012-09-26 Marek Polacek <polacek@redhat.com>
34618
34619 [BZ #14530]
34620 [BZ #13741]
34621 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34622 for C++ and GCC <4.3 as well as for non GCC compilers.
34623
43c4edba
MT
346242012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34625
34626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34627
6a1bf82f
RM
346282012-09-25 Roland McGrath <roland@hack.frob.com>
34629
34630 * Makefile.in (all, install): Declare with .PHONY.
34631 Reported by Michael Hope <michael.hope@linaro.org>.
34632
8ad11b9a
TMQMF
346332012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34634
34635 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34636 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34637 system header.
34638 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34639 Likewise.
34640 (sydep_routines): Add the new and the internal functions.
34641 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34642 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34644 (GLIBC_2.17): Add the new function.
34645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34646 (GLIBC_2.17): Likewise.
34647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34648 (GLIBC_2.17): Likewise.
34649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34650 (GLIBC_2.17): Likewise.
34651 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34652
7e2fca8d
AM
346532012-09-25 Alan Modra <amodra@gmail.com>
34654
34655 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34656 Add release barrier before setting once_control to say
34657 initialisation is done. Add hints on lwarx. Use macro in
34658 place of isync.
34659 (clear_once_control): Add release barrier.
34660
b87c4b24
JM
346612012-09-25 Joseph Myers <joseph@codesourcery.com>
34662
d032e0d2
JM
34663 [BZ #13629]
34664 * math/s_clog.c (__clog): Handle more values close to |z| = 1
34665 specially.
34666 * math/s_clog10.c (__clog10): Likewise.
34667 * math/s_clog10f.c (__clog10f): Likewise.
34668 * math/s_clog10l.c (__clog10l): Likewise.
34669 * math/s_clogf.c (__clogf): Likewise.
34670 * math/s_clogl.c (__clogl): Likewise.
34671 * math/Makefile (libm-calls): Add x2y2m1.
34672 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34673 (__x2y2m1): Likewise.
34674 (__x2y2m1l): Likewise.
34675 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34676 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34679 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34680 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34681 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34682 * sysdeps/i386/fpu/libm-test-ulps: Update.
34683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34684
b87c4b24
JM
34685 [BZ #14621]
34686 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34687 int as type of variable DEPTH.
34688 (glob): Use size_t instead of int as type of variables NEWCOUNT
34689 and OLD_PATHC.
34690
6d3bf199
LD
346912012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34692
22bf5c17
LD
34693 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34694 Add s_sincosf-sse2.
34695 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34696 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34697 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34698 macros for using routine as __sincosf_ia32.
34699 Use macro for function declaration and weak_alias.
34700 * sysdeps/i386/fpu/libm-test-ulps: Update.
34701
34702 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34704
34705 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
34706 subnormal argument.
34707 * math/s_cexpf.c (__cexpf): Likewise.
34708 * math/s_csinf.c (__csinf): Likewise.
34709 * math/s_csinhf.c (__csinhf): Likewise.
34710 * math/s_ctanf.c (__ctanf): Likewise.
34711 * math/s_ctanhf.c (__ctanhf): Likewise.
34712 * math/s_ccosh.c (__ccoshf): Likewise.
34713 * math/s_cexp.c (__cexpl): Likewise.
34714 * math/s_csin.c (__csin): Likewise.
34715 * math/s_csinh.c (__csinh): Likewise.
34716 * math/s_ctan.c (__ctan): Likewise.
34717 * math/s_ctanh.c (ctanh): Likewise.
34718 * math/s_ccoshl.c (__ccoshl): Likewise.
34719 * math/s_cexpl.c (__cexpl): Likewise.
34720 * math/s_csinl.c (__csinl): Likewise.
34721 * math/s_csinhl.c (__csinhl): Likewise.
34722 * math/s_ctanl.c (__ctanl): Likewise.
34723 * math/s_ctanhl.c (__ctanhl): Likewise.
34724
203e5603
JM
347252012-09-25 Joseph Myers <joseph@codesourcery.com>
34726
34727 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34728 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34729 (_IO_off_t): Define to __off_t, not _G_off_t.
34730 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34731 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34732 (_IO_wint_t): Define to wint_t, not _G_wint_t.
34733 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34734 type of __dummy and __dummy2 fields.
34735 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34736 (_G_ssize_t): Likewise.
34737 (_G_off_t): Likewise.
34738 (_G_pid_t): Likewise.
34739 (_G_uid_t): Likewise.
34740 (_G_wchar_t): Likewise.
34741 (_G_wint_t): Likewise.
34742 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34743 (_G_ssize_t): Likewise.
34744 (_G_off_t): Likewise.
34745 (_G_pid_t): Likewise.
34746 (_G_uid_t): Likewise.
34747 (_G_wchar_t): Likewise.
34748 (_G_wint_t): Likewise.
34749 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34750 (_G_ssize_t): Likewise.
34751 (_G_off_t): Likewise.
34752 (_G_pid_t): Likewise.
34753 (_G_uid_t): Likewise.
34754 (_G_wchar_t): Likewise.
34755 (_G_wint_t): Likewise.
34756
9fab36eb
SP
347572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34758
34759 * malloc/arena.c: Include malloc-sysdep.h.
34760 (shrink_heap): Use check_may_shrink_heap to decide if madvise
34761 is sufficient to shrink the heap or an unmap is needed.
34762 * sysdeps/generic/malloc-sysdep.h: New file. Define
34763 new function check_may_shrink_heap.
34764 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
34765 new function check_may_shrink_heap.
34766
2b4f00d1
SP
347672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34768
34769 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34770 comments.
34771
9a9028b1
DL
347722012-09-24 Dmitry V. Levin <ldv@altlinux.org>
34773
57c69bef
DL
34774 * catgets/test-gencat.sh: Add "set -e".
34775 * elf/tst-pathopt.sh: Likewise.
34776 * grp/tst_fgetgrent.sh: Likewise.
34777 * iconvdata/run-iconv-test.sh: Likewise.
34778 * intl/tst-gettext.sh: Likewise.
34779 * intl/tst-gettext2.sh: Likewise.
34780 * intl/tst-gettext4.sh: Likewise.
34781 * intl/tst-gettext6.sh: Likewise.
34782 * intl/tst-translit.sh: Likewise.
34783 * io/ftwtest-sh: Likewise.
34784 * libio/test-freopen.sh: Likewise.
34785 * malloc/tst-mtrace.sh: Likewise.
34786 * posix/globtest.sh: Likewise.
34787 * posix/tst-getconf.sh: Likewise.
34788 * posix/wordexp-tst.sh: Likewise.
34789 * stdio-common/tst-printf.sh: Likewise.
34790 * stdio-common/tst-unbputc.sh: Likewise.
34791 * stdlib/tst-fmtmsg.sh: Likewise.
34792 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34793 * catgets/Makefile: Do not specify -e option when running
34794 testsuite shell scripts.
34795 * elf/Makefile: Likewise.
34796 * grp/Makefile: Likewise.
34797 * iconvdata/Makefile: Likewise.
34798 * intl/Makefile: Likewise.
34799 * io/Makefile: Likewise.
34800 * libio/Makefile: Likewise.
34801 * malloc/Makefile: Likewise.
34802 * posix/Makefile: Likewise.
34803 * stdio-common/Makefile: Likewise.
34804 * stdlib/Makefile: Likewise.
34805 * sysdeps/x86_64/Makefile: Likewise.
34806
9a9028b1
DL
34807 * io/ftwtest-sh: Add copyright header.
34808 * posix/globtest.sh: Likewise.
34809 * posix/tst-getconf.sh: Likewise.
34810 * posix/wordexp-tst.sh: Likewise.
34811 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34812
ced6f16e
L
348132012-09-24 H.J. Lu <hongjiu.lu@intel.com>
34814
94b32c39
L
34815 [BZ #13679]
34816 * Makeconfig (+link): Defined as $(+link-static) if
34817 $(build-shared) isn't yes.
34818 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34819 isn't yes.
34820 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34821
189e935b
L
34822 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34823
ced6f16e
L
34824 [BZ #14562]
34825 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34826 new chunk size with MALLOC_ALIGN_MASK.
34827
a9f8e53a
JM
348282012-09-24 Joseph Myers <joseph@codesourcery.com>
34829
34830 [BZ #5044]
34831 * stdio-common/printf_fphex.c: Include <stdbool.h> and
34832 <rounding-mode.h>.
34833 (__printf_fphex): Determine rounding using get_rounding_mode and
34834 round_away.
34835 * stdio-common/tst-printf-round.c (struct hex_test): New
34836 structure.
34837 (hex_tests): New variable.
34838 (test_hex_in_one_mode): New function.
34839 (do_test): Also run tests for hex float output.
34840
43153109
JM
348412012-09-21 Joseph Myers <joseph@codesourcery.com>
34842
34843 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34844 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34845 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34846 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34847 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34848 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34849 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34850 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34851
8a26625d
JM
348522012-09-20 Joseph Myers <joseph@codesourcery.com>
34853
34854 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34855 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34856 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34857 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34858
f3fd569c
DL
348592012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34860
34861 [BZ #14579]
34862 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34863 mode only.
34864 * elf/tst-rtld-load-self.sh: New test.
34865 * elf/Makefile: Run it.
34866
63bbedd4
JM
348672012-09-18 Joseph Myers <joseph@codesourcery.com>
34868
34869 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34870 (tst-writev-ENV): Remove.
34871 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34872
626f8b6a
CM
348732012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34874
34875 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34876
b7aaa4d6
JM
348772012-09-17 Joseph Myers <joseph@codesourcery.com>
34878
34879 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34880 unconditional.
34881 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34882 Likewise.
34883 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34884 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34885 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34886 Likewise.
34887
65513990
L
348882012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34889
34890 [BZ #14587]
34891 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34892 * config.make.in (have-cpp-asm-debuginfo): Removed.
34893 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34894 * configure: Regenerated.
34895
784761be
JM
348962012-09-14 Joseph Myers <joseph@codesourcery.com>
34897
34898 [BZ #5044]
34899 * stdio-common/printf_fp.c: Include <stdbool.h> and
34900 <rounding-mode.h>.
34901 (___printf_fp): Determine rounding using get_rounding_mode and
34902 round_away.
34903 * stdio-common/tst-printf-round.c: New file.
34904 * stdio-common/Makefile (tests): Add tst-printf-round.
34905 (link-libm): New variable.
34906 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34907
9503345f
L
349082012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34909
34910 [BZ #14576]
34911 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34912 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34913 Likewise.
34914 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34915 Likewise.
34916
ad35fc00
JM
349172012-09-13 Joseph Myers <joseph@codesourcery.com>
34918
34919 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34920 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34921 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34922 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34923
6c9b0f68
JM
349242012-09-12 Joseph Myers <joseph@codesourcery.com>
34925
34926 [BZ #14518]
34927 * include/rounding-mode.h: New file.
34928 * sysdeps/generic/get-rounding-mode.h: Likewise.
34929 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34930 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34931 (MAX_VALUE): New macro.
34932 (MIN_VALUE): Likewise.
34933 (overflow_value): New function.
34934 (underflow_value): Likewise.
34935 (round_and_return): Use overflow_value and underflow_value to
34936 determine return values in overflow and underflow cases. Use
34937 round_away to determine rounding depending on rounding mode.
34938 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34939 determine return values in overflow and underflow cases.
34940 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34941 (struct test_results): New structure.
34942 (struct test): Use struct test_results to store expected results
34943 for all rounding modes.
34944 (TEST): Include expected results for all rounding modes.
34945 (test_in_one_mode): New function.
34946 (do_test): Use test_in_one_mode to compute and check results.
34947 Check results for all rounding modes.
34948 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34949 $(link-libm).
34950
19fcedd5
AM
349512012-12-09 Allan McRae <allan@archlinux.org>
34952
1e9d84cd 34953 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34954
8bbfd2f1
JM
349552012-09-11 Joseph Myers <joseph@codesourcery.com>
34956
34957 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34958 (_G_int32_t): Likewise.
34959 (_G_uint16_t): Likewise.
34960 (_G_uint32_t): Likewise.
34961 (_G_HAVE_BOOL): Likewise.
34962 (_G_HAVE_ATEXIT): Likewise.
34963 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34964 (_G_HAVE_IO_FILE_OPEN): Likewise.
34965 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34966 (_G_int32_t): Likewise.
34967 (_G_uint16_t): Likewise.
34968 (_G_uint32_t): Likewise.
34969 (_G_HAVE_BOOL): Likewise.
34970 (_G_HAVE_ATEXIT): Likewise.
34971 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34972 (_G_HAVE_IO_FILE_OPEN): Likewise.
34973 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34974 (_G_int32_t): Likewise.
34975 (_G_uint16_t): Likewise.
34976 (_G_uint32_t): Likewise.
34977 (_G_HAVE_BOOL): Likewise.
34978 (_G_HAVE_ATEXIT): Likewise.
34979 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34980 (_G_HAVE_IO_FILE_OPEN): Likewise.
34981
b1dc5912
L
349822012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34983
34984 * csu/libc-tls.c: Update copyright years.
34985
0e886ef9
JM
349862012-09-10 Joseph Myers <joseph@codesourcery.com>
34987
28361c5e
JM
34988 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34989 [!_G_USING_THUNKS]: Remove conditional code.
34990 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34991 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34992
0e886ef9
JM
34993 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34994 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34995 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34996 (_G_VTABLE_LABEL_PREFIX): Likewise.
34997 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34998 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34999 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35000 (_G_VTABLE_LABEL_PREFIX): Likewise.
35001 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35002 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35003 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35004 (_G_VTABLE_LABEL_PREFIX): Likewise.
35005 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35006
bcba7aa2
L
350072012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35008
35009 * libio/Makefile: Include ../Makeconfig before tests.
35010 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35011 only if $(build-shared) is yes.
35012
06585ee8
L
35013 * iconv/gconv_db.c: Update copyright years.
35014
80ccd52c
LD
350152012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35016
35017 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35018 unwind info if defined PIC. Fix special cases description.
35019 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35020
35021 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35022 DP_HI_MASK entry.
35023 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35024
691bc9c1
L
350252012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35026
3d9b46b3
L
35027 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35028
de2139a9
L
35029 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35030 is NULL.
35031
5ca78dd0
L
35032 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35033 (LDLIBS-tst-chk4): This.
35034 (LDFLAGS-tst-chk5): Renamed to ...
35035 (LDLIBS-tst-chk5): This.
35036 (LDFLAGS-tst-chk6): Renamed to ...
35037 (LDLIBS-tst-chk6): This.
35038 (LDFLAGS-tst-lfschk4): Renamed to ...
35039 (LDLIBS-tst-lfschk4): This.
35040 (LDFLAGS-tst-lfschk5): Renamed to ...
35041 (LDLIBS-tst-lfschk5): This.
35042 (LDFLAGS-tst-lfschk6): Renamed to ...
35043 (LDLIBS-tst-lfschk6): This.
35044
691bc9c1
L
35045 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35046 on $(common-objpfx)soversions.mk.
35047
65cafb1c
JM
350482012-09-07 Joseph Myers <joseph@codesourcery.com>
35049
35050 [BZ #10014]
35051 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35052 example host name.
35053
c78ab094
SP
350542012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35055
35056 * malloc/arena.c (arena_get_retry): New function that gets
35057 another arena for the caller to try its request on.
35058 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35059 current arena cannot fulfill the request.
35060 (__libc_memalign): Likewise.
35061 (__libc_memalign): Likewise.
35062 (__libc_pvalloc): Likewise.
35063 (__libc_calloc): Likewise.
35064
01f49f59
JT
350652012-09-05 John Tobey <john.tobey@gmail.com>
35066
35067 [BZ #13542]
35068 * manual/arith.texi (Operations on Complex): Fix description
35069 of carg branch cut.
35070
4c23fed5
JM
350712012-09-06 Joseph Myers <joseph@codesourcery.com>
35072
1d3c8572
JM
35073 [BZ #10014]
35074 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35075 host name.
35076
4c23fed5
JM
35077 [BZ #10038]
35078 * manual/memory.texi (Memory): Make order of menu items match
35079 order of sections.
35080
04570aaa
L
350812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35082
35083 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35084 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35085 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35086
b80af2f4
L
350872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35088
35089 * csu/libc-tls.c (static_dtv): Renamed to ...
35090 (_dl_static_dtv): This. Make it global.
35091 (_dl_initial_dtv): Removed.
35092 (__libc_setup_tls): Updated.
35093 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35094 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35095 DL_INITIAL_DTV.
35096
2abe9f15
PM
350972012-09-06 Petr Machata <pmachata@redhat.com>
35098
35099 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35100 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35101 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35102 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35103
0948c3af
L
351042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35105
35106 [BZ #14545]
35107 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35108 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35109 freeing dtv[-1].
35110
a5055ad1
L
351112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35112
35113 [BZ #14544]
35114 * Makeconfig (link-static-before-libc): Replace $(+prector)
35115 with $(+prectorT).
35116 (link-static-after-libc): Replace $(+postctor) with
35117 $(+postctorT).
35118 (link-bounded): Replace $(+prector)/$(+postctor) with
35119 $(+prectorT)/$(+postctorT).
35120 (+prectorT): New macro.
35121 (+postctorT): Likewise.
35122
ed8c2ecd
JM
351232012-09-06 Joseph Myers <joseph@codesourcery.com>
35124
35125 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35126 (round_str): Handle values above the maximum for IBM long double
35127 as inexact.
35128 * stdlib/tst-strtod-round.c (tests): Regenerated.
35129
14c996c8
AK
351302012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35131
35132 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35133 assembler flag.
35134 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35135 zarch_nohighgprs around the zarch optimized routines.
35136 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35137 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35138 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35139 for zarch.
35140
430d6ce6
DM
351412012-09-05 David S. Miller <davem@davemloft.net>
35142
35143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35144
57f41c40
AS
35145 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35146 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
35147 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35148 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35149 entries.
35150
24d4e01b
AO
351512012-09-05 Alexandre Oliva <aoliva@redhat.com>
35152
35153 * malloc/arena.c: Fold copyright years.
35154 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35155
61d58174
AO
351562012-09-05 Alexandre Oliva <aoliva@redhat.com>
35157
35158 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35159
20196a5e
AO
351602012-09-05 Alexandre Oliva <aoliva@redhat.com>
35161
35162 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35163
5c447383
AO
351642012-09-05 Alexandre Oliva <aoliva@redhat.com>
35165
35166 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35167 change internal state upon failure.
35168
fad64255
AO
351692012-09-05 Alexandre Oliva <aoliva@redhat.com>
35170
35171 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35172 * malloc/memusage.c (mmap): Likewise.
35173 (mmap64, mremap): Likewise. Adjust name in comment.
35174
1ffb8c90
SP
351752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35176
35177 * libio/fileops.c: Fix typos in comments.
35178 * libio/oldfileops.c: Likewise.
35179 * libio/wfileops.c: Likewise.
35180
6ef9cc37
SP
351812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35182
35183 [BZ #1349]
35184 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35185 (tst-malloc-usable-ENV): Set environment for test case.
35186 * malloc/hooks.c (malloc_check_get_size): New function to get
35187 requested size.
35188 * malloc/malloc.c (musable): Use malloc_check_get_size.
35189 * malloc/tst-malloc-usable.c: New test case.
35190
4d038ae3
AS
351912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35192
35193 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35194
c4e85184
AM
351952012-09-05 Allan McRae <allan@archlinux.org>
35196
b9dafc56 35197 [BZ #13966]
c4e85184
AM
35198 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35199 determine header location.
35200 * configure: Regenerated.
35201
e1343020
AS
352022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35203
35204 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35205 float format.
35206 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
35207 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35208 format.
e1343020
AS
35209 (test): Regenerate.
35210
0a9f1987
DM
352112012-09-04 David S. Miller <davem@davemloft.net>
35212
35213 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35214 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35215 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35216
29237804
FW
352172012-09-04 Florian Weimer <fweimer@redhat.com>
35218
35219 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35220 failures.
35221
edb3cb88
FW
35222 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35223
60160d83
JM
352242012-09-04 Joseph Myers <joseph@codesourcery.com>
35225
35226 [BZ #9914]
35227 * libio/iogetdelim.c: Include <limits.h>.
35228 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35229 + len + 1 would overflow.
35230
bcd6c8dc
AJ
352312012-09-03 Andreas Jaeger <aj@suse.de>
35232
35233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35234 * sysdeps/i386/fpu/libm-test-ulps: Update.
35235
4ffffbd2
LD
352362012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35237
35238 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35239 Add s_sinf-sse2, s_conf-sse2.
35240
35241 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35242 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35243 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35244 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35245
35246 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35247 for using routine as __sinf_ia32.
35248 Use macro for function declaration and weak_alias.
35249 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35250 for using routine as __cosf_ia32.
35251 Use macro for function declaration and weak_alias.
35252
35253 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35254 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35255
35256 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35257 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35259
35260 * math/libm-test.inc (cos_test): Add more test cases.
35261 (sin_test): Likewise.
35262 (sincos_test): Likewise.
35263
511fa286
AK
352642012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35265
35266 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35267 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35268 hidden.
35269 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35270
5f30cfec
L
352712012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35272
35273 [BZ #14538]
35274 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35275 first element of the GOT.
35276 (elf_machine_load_address): Return the difference between
35277 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35278
0786794f
AM
352792012-09-01 Allan McRae <allan@archlinux.org>
35280
5f30cfec
L
35281 [BZ #13412]
35282 * configure.in (AWK): Require gawk version 3.0 or later.
35283 * configure: Regenerated.
0786794f 35284
26889eac
JM
352852012-09-01 Joseph Myers <joseph@codesourcery.com>
35286
35287 * sysdeps/unix/sysv/linux/kernel-features.h
35288 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35289 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35290 [__NR_clock_getres]: Make code unconditional.
35291 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35292 (clock_getcpuclockid): Remove code left unreachable by removal of
35293 conditionals.
35294 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35295 code unconditional.
35296 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35297 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35298 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35299 Make code unconditional.
35300 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35302 * sysdeps/unix/sysv/linux/clock_settime.c
35303 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35304 conditional code.
35305 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35306 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35307
d22e28b0
L
353082012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35309
35310 [BZ #14476]
35311 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35312 scripts/test-installation.pl.
35313
35314 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35315 and $ld_so_version if it is set.
35316
050af9c4
SP
353172012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35318
35319 [BZ #14516]
35320 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35321 failure if reading from procfs failed.
35322 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35323
ad845c0b
JM
353242012-08-27 Joseph Myers <joseph@codesourcery.com>
35325
35326 * sysdeps/unix/sysv/linux/kernel-features.h
35327 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35328 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35329 Remove conditional code.
35330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35331 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35332 Remove conditional code.
35333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35334 * sysdeps/unix/sysv/linux/i386/fxstat.c
35335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35337 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35340 * sysdeps/unix/sysv/linux/i386/lxstat.c
35341 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35343 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35344 Remove conditional code.
35345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35346 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35347 Remove conditional code.
35348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35349 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35350 <kernel-features.h>.
35351 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35352 Remove.
35353 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35354 Remove conditional code.
35355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35356 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35357 Remove conditional.
35358
5dbf56af
MF
353592012-08-27 Mike Frysinger <vapier@gentoo.org>
35360
35361 [BZ #5400]
35362 * NEWS: Add fixed bug number.
35363
d6e70f43
JM
353642012-08-27 Joseph Myers <joseph@codesourcery.com>
35365
7efb4737
JM
35366 [BZ #14519]
35367 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35368 underflowing exponent in case of negative sign.
35369 * stdlib/tst-strtod-round-data: Add more tests.
35370 * stdlib/tst-strtod-round.c (tests): Regenerated.
35371
af92131a
JM
35372 [BZ #3479]
35373 * stdlib/strtod_l.c (NDIG): Remove.
35374 (HEXNDIG): Likewise.
35375 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35376 smallest representable value.
35377 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35378 lie within an exact representation of 1/2 ulp of the result.
35379 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35380 unconditionally.
35381 (TENS_P9_IDX): Define unconditionally.
35382 (TENS_P9_SIZE): Likewise.
35383 (TENS_P10_IDX): Likewise.
35384 (TENS_P10_SIZE): Likewise.
35385 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35386 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35387 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35388 entries for 10^2^13 and 10^2^14.
35389 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35390 (TENS_P13_IDX): Define.
35391 (TENS_P13_SIZE): Likewise.
35392 (TENS_P14_IDX): Likewise.
35393 (TENS_P14_SIZE): Likewise.
35394 (_fpioconst_pow10): Change array size to
35395 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35396 unconditional.
35397 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35398 1024]: Add entries for 10^2^13 and 10^2^14.
35399 [LAST_POW10 > _LAST_POW10]: Remove #error.
35400 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35401 (_fpioconst_pow10): Change array size to
35402 FPIOCONST_POW10_ARRAY_SIZE.
35403 * stdlib/gen-fpioconst.c: New file.
35404 * stdlib/gen-tst-strtod-round.c: Likewise.
35405 * stdlib/tst-strtod-round-data: Likewise.
35406 * stdlib/tst-strtod-round.c: Likewise.
35407 * stdlib/Makefile (tests): Add tst-strtod-round.
35408
d6e70f43
JM
35409 [BZ #14459]
35410 * stdlib/strtod_l.c: Include <stdint.h>.
35411 (NDEBUG): Do not define.
35412 (round_and_return): Change EXPONENT parameter to type intmax_t.
35413 Rearrange calculations to avoid internal overflow possibilities.
35414 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35415 Rearrange calculations to avoid internal overflow possibilities.
35416 Assert that number fits inside MPNSIZE limbs.
35417 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35418 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35419 calculations and add assertions to avoid internal overflow
35420 possibilities. Add casts to avoid signed/unsigned operations.
35421 * stdlib/tst-strtod-overflow.c: New file.
35422 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35423
1f529f7d
MP
354242012-08-25 Marek Polacek <polacek@redhat.com>
35425
35426 * time/time.h: Fix some typos in comments.
35427
59a629f1
RM
354282012-08-23 Roland McGrath <roland@hack.frob.com>
35429
35430 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35431 * posix/tst-rfc3484-2.c: Likewise.
35432 * posix/tst-rfc3484-3.c: Likewise.
35433
d3bafbc9
SM
354342012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35435
35436 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35437 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35438
4efcc022
JM
354392012-08-23 Joseph Myers <joseph@codesourcery.com>
35440
35441 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35442 #include of fxstatat64.c.
35443
3cc3ef96
RM
354442012-08-22 Roland McGrath <roland@hack.frob.com>
35445
f04e2132
RM
35446 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35447 * shadow/getspent_r.c: Likewise.
35448 * shadow/getspnam.c: Likewise.
35449 * shadow/getspnam_r.c: Likewise.
35450 * gshadow/getsgent.c: Likewise.
35451 * gshadow/getsgent_r.c: Likewise.
35452 * gshadow/getsgnam.c: Likewise.
35453 * gshadow/getsgnam_r.c: Likewise.
35454 * inet/getnetbyad.c: Likewise.
35455 * inet/getnetbyad_r.c: Likewise.
35456 * inet/getnetbynm.c: Likewise.
35457 * inet/getnetbynm_r.c: Likewise.
35458 * inet/getnetent.c: Likewise.
35459 * inet/getnetent_r.c: Likewise.
35460 * inet/getproto.c: Likewise.
35461 * inet/getproto_r.c: Likewise.
35462 * inet/getprtent.c: Likewise.
35463 * inet/getprtent_r.c: Likewise.
35464 * inet/getprtname.c: Likewise.
35465 * inet/getprtname_r.c: Likewise.
35466 * inet/getrpcbyname.c: Likewise.
35467 * inet/getrpcbyname_r.c: Likewise.
35468 * inet/getrpcbynumber.c: Likewise.
35469 * inet/getrpcbynumber_r.c: Likewise.
35470 * inet/getrpcent.c: Likewise.
35471 * inet/getrpcent_r.c: Likewise.
35472 * inet/getaliasent.c: Likewise.
35473 * inet/getaliasent_r.c: Likewise.
35474 * inet/getaliasname.c: Likewise.
35475 * inet/getaliasname_r.c: Likewise.
35476 * nscd/getgrgid_r.c: Likewise.
35477 * nscd/getgrnam_r.c: Likewise.
35478 * nscd/gethstbyad_r.c: Likewise.
35479 * nscd/gethstbynm3_r.c: Likewise.
35480 * nscd/getpwnam_r.c: Likewise.
35481 * nscd/getpwuid_r.c: Likewise.
35482 * nscd/getsrvbynm_r.c: Likewise.
35483 * nscd/getsrvbypt_r.c: Likewise.
35484 * nscd/gai.c: Likewise.
35485
c53d909c
RM
35486 * configure.in (build_nscd): New substituted variable, set
35487 by --disable-build-nscd and defaults to $use_nscd.
35488 * configure: Regenerated.
35489 * config.make.in (build-nscd): New substituted variable.
35490 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35491 Change conditional to require [$(build-nscd) = yes] as well.
35492 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35493
3cc3ef96
RM
35494 [BZ# 13696]
35495 * configure.in (use_nscd): New substituted variable, set by
35496 --disable-nscd. If enabled, define USE_NSCD.
35497 * configure: Regenerated.
35498 * config.h.in: Add USE_NSCD.
35499 * config.make.in (use-nscd): New substituted variable.
35500 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35501 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35502 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35503 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35504 (CFLAGS-getgrnam_r.c): Likewise.
35505 (CFLAGS-initgroups.c): Likewise.
35506 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35507 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35508 Variables removed.
35509 * inet/getnetgrent_r.c
35510 (nscd_setnetgrent): New function, broken out of ...
35511 (setnetgrent): ... here. Call it.
35512 (innetgr): Conditionalize nscd bits on [USE_NSCD].
35513 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35514 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35515 * nscd/Makefile (routines, aux): Move definitions after include of
35516 Makeconfig. Conditionalize on [$(use-nscd) != no].
35517 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35518 Conditionalize on [USE_NSCD].
35519 (is_nscd, nscd_init_cb): Likewise.
35520 (nss_load_library): Conditionalize init callback on [USE_NSCD].
35521 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35522 * nss/nss_db/db-init.c: Likewise.
35523 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35524 [USE_NSCD].
35525 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35526 (make_request): Use it.
35527 (cache_valid_p): New function.
35528 (__check_pf): Use it.
35529 * NEWS: Add item for --disable-nscd.
35530
07e51550
DL
355312012-08-22 Dmitry V. Levin <ldv@altlinux.org>
35532
35533 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35534 to support sed >= 4.2.1-20-ga9bf076.
35535 * configure: Regenerated.
35536
35a5b08b
RM
355372012-08-22 Roland McGrath <roland@hack.frob.com>
35538
35539 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35540 Conditionalize whole body on [IREL].
35541
8479f23a
JL
355422012-08-22 Jeff Law <law@redhat.com>
35543
35544 [BZ #14505]
35545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35546 if the family is PF_UNSPEC.
35547
48da0b21
MF
355482012-08-22 Mike Frysinger <vapier@gentoo.org>
35549
35550 * Makerules (lib-version): Rename from V.
35551 (install-lib-nosubdir): Change V to lib-version.
35552
15d0da8c
WS
355532012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
35554
35555 [BZ #14252]
35556 * powerpc32/power6/wcschr.c: New file.
35557 * powerpc32/power6/wcscpy.c: New file.
35558 * powerpc32/power6/wcsrchr.c: New file.
35559 * powerpc64/power6/wcschr.c: New file.
35560 * powerpc64/power6/wcscpy.c: New file.
35561 * powerpc64/power6/wcsrchr.c: New file.
35562
bcca0895
MK
355632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35564
35565 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35566 (two_way_short_needle): Use it.
5a4aaa33
RM
35567 * string/strstr.c (AVAILABLE1_USES_J): Define.
35568 * string/strcasestr.c: Likewise.
99677e57
MK
35569
35570 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35571 array references.
35572 * string/strcasestr.c (TOLOWER): Make side-effect safe.
35573
400726de
MK
35574 [BZ #11607]
35575 * NEWS: Add an entry.
35576 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35577 define their defaults.
35578 (two_way_short_needle): Detect end-of-string on-the-fly.
35579 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35580 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35581 * string/bug-strcasestr1.c: New test.
35582 * string/Makefile: Run it.
35583
20a71f2c
MK
355842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
35585
35586 [BZ #11607]
35587 * string/str-two-way.h (two_way_short_needle): Optimize matching of
35588 the first character.
35589
21ad0558
RM
355902012-08-21 Roland McGrath <roland@hack.frob.com>
35591
35592 * csu/elf-init.c (__libc_csu_irel): Function removed.
35593 * csu/libc-start.c (apply_irel): New function.
35594 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35595
0e1d9911
JM
355962012-08-21 Joseph Myers <joseph@codesourcery.com>
35597
35598 * sysdeps/unix/sysv/linux/kernel-features.h
35599 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35600 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35601 <kernel-features.h>.
35602 [__NR_fadvise64_64]: Make code unconditional.
35603 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35604 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35605 !__NR_fadvise64_64)]: Likewise.
35606 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35607 !__NR_fadvise64_64))]: Likewise.
35608 [__NR_fadvise64]: Make code unconditional.
35609 [!__NR_fadvise64]: Remove conditional code.
35610 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35611 <kernel-features.h>.
35612 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35613 unconditional.
35614 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35615 conditional code.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35617 not include <kernel-features.h>.
35618 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35619 unconditional.
35620 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35621 conditional code.
35622 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35623 include <kernel-features.h>.
35624 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35625 unconditional.
35626 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35627 conditional code.
35628
14a50c9d
WS
356292012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35630
35631 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35632 slight instruction rearrangements per scrollpipe analysis.
35633 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35634
c0f4faf0
RM
356352012-08-20 Roland McGrath <roland@hack.frob.com>
35636
696da859
RM
35637 * manual/syslog.texi (syslog; vsyslog, closelog):
35638 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35639 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35640
c0f4faf0
RM
35641 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35642 DSOCAPS to match condition on defining it.
35643
348363b2
JM
356442012-08-20 Joseph Myers <joseph@codesourcery.com>
35645
a35cbf28
JM
35646 * sysdeps/unix/sysv/linux/kernel-features.h
35647 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35655 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35656 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35657
445f7ecd
JM
35658 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35659 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35660
348363b2
JM
35661 * sysdeps/unix/sysv/linux/kernel-features.h
35662 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35663 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35664 unconditional.
35665 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35666 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35667 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35668 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35669 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35670 Make code unconditional.
35671 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35672 (__mmap64) [!__NR_mmap2]: Likewise.
35673 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35674 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35675 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35676 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35677 [__NR_mmap2]: Make code unconditional.
35678 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35679 (__mmap64) [!__NR_mmap2]: Likewise.
35680
bc5bc0e5
AK
356812012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35682
35683 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35684
88d506de
AJ
356852012-08-18 Andreas Jaeger <aj@suse.de>
35686
35687 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35688
493387d2
MF
356892012-08-18 Mike Frysinger <vapier@gentoo.org>
35690
35691 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35692 * include/unistd.h (__have_sock_cloexec): Likewise.
35693 (__have_pipe2): Likewise.
35694 (__have_dup3): Likewise.
35695
a277af22
MF
356962012-08-18 Mike Frysinger <vapier@gentoo.org>
35697
35698 [BZ #9685]
35699 * include/unistd.h (__have_pipe2): Change define into an extern int.
35700 (__have_dup3): Likewise.
35701 * socket/have_sock_cloexec.c: Include fcntl.h.
35702 (__have_pipe2): New variable.
35703 (__have_dup3): Likewise.
35704
fdab8fd3
MF
357052012-08-17 Mike Frysinger <vapier@gentoo.org>
35706
35707 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35708
31035e80
MP
357092012-08-17 Marek Polacek <polacek@redhat.com>
35710
35711 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35712 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35713
3bd9e993
RM
357142012-08-17 Roland McGrath <roland@hack.frob.com>
35715
c91c505f
RM
35716 * configure.in: Add AC_SUBST for sysheaders.
35717 * configure: Regenerated.
35718 * config.make.in (sysheaders): New substituted variable.
35719
7c6f9d53
RM
35720 * sysdeps/unix/mkfifo.c: Moved ...
35721 * sysdeps/posix/mkfifo.c: ... here.
35722 * sysdeps/unix/mkfifoat.c: Moved ...
35723 * sysdeps/posix/mkfifoat.c: ... here.
35724
35725 * sysdeps/unix/utime.c: Moved ...
35726 * sysdeps/posix/utime.c: ... here.
35727
35728 * sysdeps/unix/time.c: Moved ...
35729 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
35730 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35731 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
35732
35733 * sysdeps/unix/nice.c: Moved ...
35734 * sysdeps/posix/nice.c: ... here.
35735
35736 * sysdeps/unix/alarm.c: Moved ...
35737 * sysdeps/posix/alarm.c: ... here.
35738
3bd9e993
RM
35739 * intl/Makefile ($(codeset_mo)): Depend on the input file.
35740
d1f09384
JL
357412012-08-17 Jeff Law <law@redhat.com>
35742
35743 * intl/Makefile (codeset_mo): New variable.
35744 ($(codeset_mo)): New target.
35745 (tst-codeset.out): Depend on that. Remove explicit rule.
35746 (tst-gettext3.out, tst-gettext5.out): Likewise.
35747 (LOCPATH-ENV, tst-codeset-ENV): New variables.
35748 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35749 * intl/tst-codeset.sh: Remove.
35750 * intl/tst-gettext3.sh: Likewise.
35751 * intl/tst-gettext5.sh: Likewise.
35752
2ae1ae5c
RM
357532012-08-17 Roland McGrath <roland@hack.frob.com>
35754
c31fdb83
RM
35755 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
35756 * sysdeps/unix/syscalls.list: ... here.
35757
a0844057
RM
35758 * sysdeps/posix/getaddrinfo.c
35759 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35760 (gaiconf_init, gaiconf_reload): Use them.
35761 [!_STATBUF_ST_NSEC]
35762 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35763 Define using time_t rather than struct timespec.
35764
750c1f2a
RM
35765 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35766 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35767 Macros removed.
35768 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35769 [!NO_THREADS].
35770 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35771 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35772 Likewise.
35773
2ae1ae5c
RM
35774 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35775 __libc_cleanup_push argument.
35776
e66a42f5
RM
35777 * bits/param.h: New file.
35778 * misc/sys/param.h: New file.
35779 * include/sys/param.h: New file.
35780 * misc/Makefile (headers): Add bits/param.h.
35781 * sysdeps/generic/sys/param.h: File removed.
35782 * sysdeps/unix/sysv/linux/bits/param.h: New file.
35783 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35784 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 35785 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 35786
b7c08a66
RM
35787 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35788 last change.
35789
b2e1c562
RM
35790 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35791 [_IO_MTSAFE_IO].
35792 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35793 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35794 New macros.
35795
c75ccd4c
RM
35796 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35797 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35798 rather than -D_IO_MTSAFE_IO conditionally.
35799 * stdio-common/Makefile (CPPFLAGS): Likewise.
35800 * wcsmbs/Makefile (CPPFLAGS): Likewise.
35801 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35802 Use $(libio-mtsafe).
35803 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35804 of -D_IO_MTSAFE_IO.
35805 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35806 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35807 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35808 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35809 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35810 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35811 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35812 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35813 (CFLAGS-fread_u_chk.c): Likewise.
35814 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35815 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35816 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35817 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35818 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35819 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35820 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35821 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35822 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35823
35824 * libio/Makefile: Test [$(libc-reentrant) = yes]
35825 instead of [$(filter %REENTRANT, $(defines)) nonempty].
35826
35827 * Makeconfig
35828 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35829 * sysdeps/pthread/configure: File removed.
35830 * sysdeps/pthread/Makeconfig: New file.
35831 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35832 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35833
d9195db8
GB
358342012-08-16 Gary Benson <gbenson@redhat.com>
35835
35836 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35837 unmapping the first object in a namespace.
35838
86466cd9
RM
358392012-08-16 Roland McGrath <roland@hack.frob.com>
35840
35841 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35842 (__internal_setnetgrent): ... this. Add internal_function to
35843 definition. Add libc_hidden_def.
35844 (setnetgrent): Update caller.
35845 (internal_endnetgrent): Renamed to ...
35846 (__internal_endnetgrent): ... this. Add internal_function to
35847 definition. Add libc_hidden_def.
35848 (endnetgrent): Update caller.
35849 (internal_getnetgrent_r): Renamed to ...
35850 (__internal_getnetgrent_r): ... this. Add internal_function to
35851 definition. Add libc_hidden_def.
35852 (__getnetgrent_r): Update caller.
35853 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35854
c3c8283c
JM
358552012-08-16 Joseph Myers <joseph@codesourcery.com>
35856
35857 * stdlib/longlong.h: Update from GCC.
35858
db1ee0a8
RM
358592012-08-16 Roland McGrath <roland@hack.frob.com>
35860
35861 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35862 on _QL, which is set by umul_ppmm but never used.
35863 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35864 variables, which are set by GMP macros but never used.
35865 * stdio-common/_itowa.c (_itowa): Likewise.
35866 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35867 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35868
30f69637
CD
358692012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35870
35871 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35872 struct La_sh_regs is not constant.
35873 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35874 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35875 and struct La_sparc64_regs are not constant.
35876
93a78ac4
JM
358772012-08-16 Joseph Myers <joseph@codesourcery.com>
35878
35879 * sysdeps/unix/sysv/linux/kernel-features.h
35880 (__ASSUME_POSIX_TIMERS): Remove.
35881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35883 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35884 Make code unconditional.
35885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35886 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35887 Make code unconditional.
35888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35889 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35890 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35892 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35893 Make code unconditional.
35894 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35895 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35896 (__libc_missing_posix_timers): Remove.
35897
dd924cd7
RM
358982012-08-15 Roland McGrath <roland@hack.frob.com>
35899
4b4f2771
RM
35900 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35901 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35902
601c888b
RM
35903 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35904
176790a7
RM
35905 * elf/dl-sym.c: Include <stdlib.h>.
35906
329bc018
RM
35907 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35908 constants, which avoids warnings in 32-bit builds.
35909
e04e272d
RM
35910 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35911 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35912
952bf94a
RM
35913 * misc/lseek.c: File moved to ...
35914 * io/lseek.c: ... here.
35915
7c99b50a
RM
35916 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35917
dd924cd7
RM
35918 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35919 shifting LEN more than 31 bits at once.
35920
b3f479a8
LD
359212012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35922
35923 [BZ #14195]
8c4ae0d4
RM
35924 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35925 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35926 * string/test-strncasecmp.c (check1): Renamed to...
35927 (bz12205): ...this.
35928 (bz14195): Add new testcase for two empty input strings and N > 0.
35929 (test_main): Call new testcase, adapt for renamed function.
35930
9c55864e
AJ
359312012-08-15 Andreas Jaeger <aj@suse.de>
35932
35933 [BZ #14090]
35934 * crypt/md5test2.c: New test, based on test supplied by Serge
35935 Belyshev <belyshev@depni.sinp.msu.ru>.
35936 * crypt/Makefile (xtests): Add md5test-giant..
35937 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35938
02dcb6c5
PE
359392012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35940
35941 [BZ #14090]
35942 * crypt/md5.c (md5_process_block): Don't assume the buffer
35943 length is less than 2**32.
35944 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35945 length is less than 2**64.
35946
a3f95dcc
RM
359472012-08-15 Roland McGrath <roland@hack.frob.com>
35948
be75d758
RM
35949 * string/str-two-way.h: Include <sys/param.h>.
35950 (MAX): Macro removed.
35951
7312ca90
RM
35952 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35953 Move #define and #undef of memmove to just before and after
35954 including <string.h>.
35955
9a0a5486
RM
35956 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35957 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35958 and after including <string.h>. Move declarations of
35959 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35960 to before #include "string/memmove.c".
35961
67cc348d
RM
35962 * include/dirent.h: Declare __getdirentries.
35963
a3f95dcc
RM
35964 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35965 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35966
ca98e171
MF
359672012-08-14 Mike Frysinger <vapier@gentoo.org>
35968
35969 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35970 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35971 * sysdeps/i386/configure: Regenerated.
35972 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35973 STABS_CURRENT_FILE, and STABS_FUN.
35974 (END): Remove call to STABS_FUN_END.
35975 (STABS_CURRENT_FILE1): Delete.
35976 (STABS_CURRENT_FILE): Likewise.
35977 (STABS_FUN): Likewise.
35978 (STABS_FUN_END): Likewise.
35979 (STABS_FUN2): Likewise.
35980 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35981 * sysdeps/x86_64/configure: Regenerated.
35982
5908bf46
RM
359832012-08-14 Roland McGrath <roland@hack.frob.com>
35984
35985 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35986 * elf/dl-lookup.c: Likewise.
5908bf46 35987
f2c05b9e
JM
359882012-08-14 Joseph Myers <joseph@codesourcery.com>
35989
35990 * sysdeps/unix/sysv/linux/kernel-features.h
35991 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35992 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35993 unconditionally.
35994 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35995 unconditionally.
35996 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35997 condition on __ASSUME_CLONE_THREAD_FLAGS.
35998
e11f5155
AJ
359992012-08-14 Andreas Jaeger <aj@suse.de>
36000
36001 * sysdeps/i386/fpu/libm-test-ulps: Update.
36002
51a9ba86
MK
360032012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36004
2fdd4f78
AJ
36005 * include/atomic.h (atomic_exchange_and_add): Split into ...
36006 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36007 New atomic macros.
51a9ba86 36008
ba6cba9e
MT
360092012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36010
36011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36012
42443a47
JL
360132012-08-13 Jeff Law <law@redhat.com>
36014
36015 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36016 null byte in the output string.
36017
121dce05
JM
360182012-08-10 Joseph Myers <joseph@codesourcery.com>
36019
36020 * sysdeps/unix/sysv/linux/kernel-features.h
36021 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36022 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36023 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36024 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36025 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36026 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36027 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36028
bf51f568
JL
360292012-08-09 Jeff Law <law@redhat.com>
36030
36031 [BZ #13939]
36032 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36033 When avoid_arena is set, don't retry in the that arena. Pick the
36034 next one, whatever it might be.
36035 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36036 (arena_lock): Pass in new parameter to arena_get2.
36037 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36038 arena_get2.
36039 (__libc_malloc): Unify retrying after main arena failure with
36040 __libc_memalign version.
36041 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36042
f85fa270
L
360432012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36044
36045 [BZ #14166]
36046 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36047 to __redirect_strstr.
36048 (__strstr_sse42): Use typeof __redirect_strstr.
36049 (__strstr_ia32): Likewise.
36050 (__libc_strstr): New prototype.
36051 (strstr): Renamed to ...
36052 (__libc_strstr): This.
36053 (strstr): New strong alias of __libc_strstr.
36054 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36055 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36056 __redirect_time.
36057 Include <time.h>.
36058 (__libc_time): New prototype.
36059 (time_ifunc): Replace time with __libc_time.
36060 (time): New strong alias and hidden definition of __libc_time.
36061 (__GI_time): Remove strong alias.
36062 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36063 Include <stddef.h>.
36064 (memmove): Redefined to __redirect_memmove.
36065 (__memmove_sse2): Use typeof __redirect_memmove.
36066 (__memmove_ssse3): Likewise.
36067 (__memmove_ssse3_back): Likewise.
36068 (__libc_memmove): New prototype.
36069 (memmove): Renamed to ...
36070 (__libc_memmove): This.
36071 (memmove): New strong alias of __libc_memmove.
36072
33b4a91e
MS
360732012-08-08 Mark Salter <msalter@redhat.com>
36074
36075 * elf/elf.h
36076 (R_MN10300_TLS_GD): Define.
36077 (R_MN10300_TLS_LD): Likewise.
36078 (R_MN10300_TLS_LDO): Likewise.
36079 (R_MN10300_TLS_GOTIE): Likewise.
36080 (R_MN10300_TLS_IE): Likewise.
36081 (R_MN10300_TLS_LE): Likewise.
36082 (R_MN10300_TLS_DTPMOD): Likewise.
36083 (R_MN10300_TLS_DTPOFF): Likewise.
36084 (R_MN10300_TLS_TPOFF): Likewise.
36085 (R_MN10300_SYM_DIFF): Likewise.
36086 (R_MN10300_ALIGN): Likewise.
36087 (R_MN10300_NUM): Update.
36088
b36137f1
JM
360892012-08-08 Joseph Myers <joseph@codesourcery.com>
36090
36091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36092 Remove.
36093
cdd915fd
RM
360942012-08-08 Roland McGrath <roland@hack.frob.com>
36095
a2433aac
RM
36096 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36097
cdd915fd
RM
36098 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36099 sysdeps/unix -> sysdeps/posix move.
36100 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36101
bf9b740a
AM
361022012-08-07 Allan McRae <allan@archlinux.org>
36103
36104 [BZ #14303]
36105 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36106 (SUNOS_CPP): Likewise.
36107 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36108 not found.
36109 (open_input): Call CPP using execvp.
36110
93df14ee
JM
361112012-08-07 Joseph Myers <joseph@codesourcery.com>
36112
36113 * sysdeps/unix/sysv/linux/kernel-features.h
36114 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36115 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36116 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36117 (__ASSUME_WAITID_SYSCALL): Likewise.
36118 * sysdeps/unix/sysv/linux/dl-execstack.c
36119 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36120 code unconditional.
36121 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36122 conditional code.
36123 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36124 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36125 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36126 code.
36127 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36128 unconditional.
36129 [__ASSUME_WAITID_SYSCALL]: Likewise.
36130 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36131
d34689de
RM
361322012-08-07 Roland McGrath <roland@hack.frob.com>
36133
a281decc
RM
36134 * sysdeps/unix/closedir.c: Renamed to ...
36135 * sysdeps/posix/closedir.c: ... here.
36136 * sysdeps/unix/dirfd.c: Renamed to ...
36137 * sysdeps/posix/dirfd.c: ... here.
36138 * sysdeps/unix/dirstream.h: Renamed to ...
36139 * sysdeps/posix/dirstream.h: ... here.
36140 * sysdeps/unix/fdopendir.c: Renamed to ...
36141 * sysdeps/posix/fdopendir.c: ... here.
36142 * sysdeps/unix/opendir.c: Renamed to ...
36143 * sysdeps/posix/opendir.c: ... here.
36144 * sysdeps/unix/readdir.c: Renamed to ...
36145 * sysdeps/posix/readdir.c: ... here.
36146 * sysdeps/unix/readdir_r.c: Renamed to ...
36147 * sysdeps/posix/readdir_r.c: ... here.
36148 * sysdeps/unix/rewinddir.c: Renamed to ...
36149 * sysdeps/posix/rewinddir.c: ... here.
36150 * sysdeps/unix/seekdir.c: Renamed to ...
36151 * sysdeps/posix/seekdir.c: ... here.
36152 * sysdeps/unix/telldir.c: Renamed to ...
36153 * sysdeps/posix/telldir.c: ... here.
36154 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36155 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36156 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36157 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36158
22895b47
RM
36159 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36160 * bits/fcntl.h: ... here.
36161
707a53b6
RM
36162 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36163 not 0.
36164 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36165 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36166 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36167 (struct flock): Move l_start, l_len to the beginning.
36168 Use __pid_t for l_pid.
36169 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36170 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36171 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36172 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36173 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36174 [__USE_LARGEFILE64] (struct flock64): New type.
36175 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36176
f0bd3e25
RM
36177 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36178 * bits/dirent.h: ... here.
36179
d34689de
RM
36180 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36181 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36182
6dad2c06
JM
361832012-08-07 Joseph Myers <joseph@codesourcery.com>
36184
36185 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36186 Change from 2.6.0 to 2.6.16.
36187 * sysdeps/unix/sysv/linux/configure: Regenerated.
36188 * sysdeps/unix/sysv/linux/kernel-features.h
36189 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36190 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36191 version.
36192 (__ASSUME_UTIMES): Likewise.
36193 (__ASSUME_CLONE_STOPPED): Remove.
36194 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36195 architectures, not kernel version.
36196 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36197 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36198 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36199 (__ASSUME_WAITID_SYSCALL): Likewise.
36200 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36201 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36202 * README: State 2.6.16 as minimum Linux kernel version. Do not
36203 refer to older versions.
36204
03af9520
RM
362052012-08-06 Roland McGrath <roland@hack.frob.com>
36206
8e49df1d
RM
36207 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36208 Define alphasort64 as an alias.
36209 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36210 Define versionsort64 as an alias.
36211 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36212 Define scandir64 as an alias.
36213 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36214 Define scandirat64 as an alias.
36215 * dirent/alphasort64.c (alphasort64):
36216 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36217 * dirent/versionsort64.c: Likewise.
36218 * dirent/scandir64.c: Likewise.
36219 * dirent/scandirat64.c: Likewise.
36220 * sysdeps/wordsize-64/alphasort.c: File removed.
36221 * sysdeps/wordsize-64/alphasort64.c: File removed.
36222 * sysdeps/wordsize-64/scandir.c: File removed.
36223 * sysdeps/wordsize-64/scandir64.c: File removed.
36224 * sysdeps/wordsize-64/scandirat.c: File removed.
36225 * sysdeps/wordsize-64/scandirat64.c: File removed.
36226 * sysdeps/wordsize-64/versionsort.c: File removed.
36227 * sysdeps/wordsize-64/versionsort64.c: File removed.
36228 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36230 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36232 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36234 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36236
36237 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36239 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36241 [defined __arch64__ || defined __sparcv9]
36242 (__INO_T_MATCHES_INO64_T): New macro.
36243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36244 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36245 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36246 * sysdeps/unix/sysv/linux/bits/dirent.h
36247 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36248 (_DIRENT_MATCHES_DIRENT64): New macro.
36249
03af9520
RM
36250 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36251 Define lockf64 as an alias.
36252 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36253 Define fseeko64 as an alias.
36254 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36255 Define ftello64 as an alias.
36256 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36257 Define _IO_fgetpos64 and fgetpos64 as aliases.
36258 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36259 Define _IO_fsetpos64 and fsetpos64 as aliases.
36260 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36261 Conditionalize body on this.
36262 * libio/fseeko64.c: Likewise.
36263 * libio/ftello64.c: Likewise.
36264 * libio/iofgetpos64.c: Likewise.
36265 * libio/iofsetpos64.c: Likewise.
36266 * sysdeps/wordsize-64/lockf.c: File removed.
36267 * sysdeps/wordsize-64/lockf64.c: File removed.
36268 * sysdeps/wordsize-64/fseeko.c: File removed.
36269 * sysdeps/wordsize-64/fseeko64.c: File removed.
36270 * sysdeps/wordsize-64/ftello.c: File removed.
36271 * sysdeps/wordsize-64/ftello64.c: File removed.
36272 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36273 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36274 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36275 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36276 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36278 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36280 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36284 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36286
36287 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36289 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36291 [defined __arch64__ || defined __sparcv9]
36292 (__OFF_T_MATCHES_OFF64_T): New macro.
36293 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36294 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36296 (__OFF_T_MATCHES_OFF64_T): New macro.
36297
c5757acd
L
362982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36299
36300 * stdlib/secure-getenv.c (__secure_getenv): Replace
36301 GLIBC_2_16 with GLIBC_2_17.
36302
3a31811e
L
363032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36304
36305 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36307
faa2bccb
DM
363082012-08-03 David S. Miller <davem@davemloft.net>
36309
36310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36311
85fe1997
JM
363122012-08-03 Joseph Myers <joseph@codesourcery.com>
36313
36314 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36315 Remove.
36316 (__ASSUME_CORRECT_SI_PID): Likewise.
36317 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36318 (__ASSUME_TMPFS_NAME): Likewise.
36319 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36320 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36321 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36322 (HAVE_AUX_SECURE): Make definition unconditional.
36323 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36324 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36325
4f75b7a0
RM
363262012-08-03 Roland McGrath <roland@hack.frob.com>
36327
36328 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36329 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36330 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36331 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36332 __eloop_threshold instead of SYMLOOP_MAX.
36333
36334 * sysdeps/generic/eloop-threshold.h: New file.
36335 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36336 of MAXSYMLINKS.
36337 * elf/chroot_canon.c (chroot_canon): Likewise.
36338
7aab07e4
JM
363392012-08-03 Joseph Myers <joseph@codesourcery.com>
36340
36341 [BZ #13717]
36342 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36343 Change to 2.6.0 everywhere.
36344 * sysdeps/unix/sysv/linux/configure: Regenerated.
36345 * sysdeps/unix/sysv/linux/kernel-features.h
36346 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36347 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36348 kernel versions.
36349 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36350 (__ASSUME_FUTEX_REQUEUE): Remove.
36351 (__ASSUME_STATFS64): Define unconditionally.
36352 (__ASSUME_AT_SECURE): Likewise.
36353 (__ASSUME_CORRECT_SI_PID): Likewise.
36354 (__ASSUME_TGKILL): Define without depending on kernel version for
36355 i386.
36356 (__ASSUME_UTIMES): Likewise.
36357 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36358 kernel version.
36359 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36360 (__ASSUME_TMPFS_NAME): Likewise.
36361 * README: Update reference to Linux kernel versions.
36362
b67e9372
MP
363632012-08-02 Marek Polacek <polacek@redhat.com>
36364
1f529f7d 36365 [BZ# 14150]
b67e9372
MP
36366 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36367 libc_cv_asm_type_prefix with %.
36368 * configure: Regenerated.
d2441631
RM
36369 * include/libc-symbols.h: Remove comment about
36370 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
36371 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36372 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36373 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36374 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36375 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36376 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36377 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36378 * elf/tst-unique2mod1.c: Likewise.
36379 * elf/tst-unique1mod2.c: Likewise.
36380 * elf/tst-unique1mod1.c: Likewise.
36381 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36382 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36383 Replace ASM_TYPE_DIRECTIVE with .type.
36384 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36385 * sysdeps/i386/sysdep.h: Likewise.
36386 * sysdeps/x86_64/sysdep.h: Likewise.
36387 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36389 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 36390 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
36391 * sysdeps/powerpc/powerpc32/sysdep.h:
36392 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
36393 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36394 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36395 * sysdeps/i386/fpu/e_powf.S: Likewise.
36396 * sysdeps/i386/fpu/e_expl.S: Likewise.
36397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36398 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36399 * sysdeps/i386/fpu/e_pow.S: Likewise.
36400 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36401 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36402 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36403 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36404 * sysdeps/i386/fpu/e_log2.S: Likewise.
36405 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36406 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36407 * sysdeps/i386/fpu/e_powl.S: Likewise.
36408 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36409 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36410 * sysdeps/i386/fpu/e_logl.S: Likewise.
36411 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36412 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36413 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36414 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36415 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36416 * sysdeps/i386/fpu/e_log.S: Likewise.
36417 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36418 * sysdeps/i386/fpu/e_logf.S: Likewise.
36419 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36420 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36421 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36422 * sysdeps/i386/fpu/e_log10.S: Likewise.
36423 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36424 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36425 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36426 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36428 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36429 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36430 * sysdeps/i386/i686/strtok.S: Likewise.
36431 * sysdeps/i386/i386-mcount.S: Likewise.
36432 * sysdeps/i386/strtok.S: Likewise.
36433 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36434 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36435 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36436 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36437 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36438 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36439 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36440 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36441 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36442 * sysdeps/x86_64/_mcount.S: Likewise.
36443 * sysdeps/x86_64/strtok.S: Likewise.
36444 * sysdeps/sh/_mcount.S: Likewise.
36445
2747bf9a
RM
364462012-08-01 Roland McGrath <roland@hack.frob.com>
36447
36448 * libio/iofopen.c: Include <fcntl.h>.
36449 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36450 (_IO_fopen64, fopen64): Define as aliases.
36451 * libio/iofopen64.c: Include <fcntl.h>.
36452 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36453 Conditionalize body on this.
36454 * sysdeps/wordsize-64/iofopen.c: File removed.
36455 * sysdeps/wordsize-64/iofopen64.c: File removed.
36456
3fb791b8
MP
364572012-08-01 Marek Polacek <polacek@redhat.com>
36458
36459 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36460 Use dlfcn directly instead of a variable.
36461 (binfmt-subdir): Do not define.
36462 (dlfcn): Likewise.
36463
a9f1039f
JM
364642012-08-01 Joseph Myers <joseph@codesourcery.com>
36465
23bddc06
JM
36466 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36467 Remove all definitions.
36468 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36469 <kernel-features.h>.
36470 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36471 (miss_F_GETOWN_EX): Remove all definitions.
36472 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36473 macro definition.
36474 [!__ASSUME_FCNTL64]: Remove conditional code.
36475 [__ASSUME_FCNTL64]: Make code unconditional.
36476 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36477 <kernel-features.h>.
36478 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36479 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36480 (lockf64) [__NR_fcntl64]: Make code unconditional.
36481 (lockf64) [__ASSUME_FCNTL64]: Likewise.
36482
a9f1039f
JM
36483 * sysdeps/unix/sysv/linux/kernel-features.h
36484 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36485 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36486 Make code unconditional.
36487 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36488 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36490 [__NR_vfork]: Make code unconditional.
36491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36494 [__NR_vfork]: Make code unconditional.
36495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36497
09c0ee5f
RM
364982012-08-01 Roland McGrath <roland@hack.frob.com>
36499
48aec5b9
RM
36500 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36501 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36502
cd97c966
RM
36503 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36504 Define mkstemp64 as an alias.
3f55550c
RM
36505 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36506 Define mkstemps64 as an alias.
cd97c966
RM
36507 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36508 Define mkostemp64 as an alias.
b8625cfc
RM
36509 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36510 Define mkostemps64 as an alias.
cd97c966
RM
36511 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36512 Conditionalize body on this.
36513 * misc/mkostemp64.c: Likewise.
b8625cfc 36514 * misc/mkostemps64.c: Likewise.
3f55550c 36515 * misc/mkstemps64.c: Likewise.
cd97c966
RM
36516 * sysdeps/wordsize-64/mkstemp64.c: File removed.
36517 * sysdeps/wordsize-64/mkostemp64.c: File removed.
36518 * sysdeps/wordsize-64/mkostemp.c: File removed.
36519 * sysdeps/wordsize-64/mkstemp.c: File removed.
36520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36521 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36523 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36524
09c0ee5f
RM
36525 [BZ #14138]
36526 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36527 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36528 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36529 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36530
36531 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36532 compat_symbol macros from <shlib-compat.h> rather than the underlying
36533 default_symbol_version and symbol_version macros, so that DEFAULT
36534 lines in shlib-versions are respected.
36535 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36536
7e66ee51
FW
365372012-08-01 Florian Weimer <fweimer@redhat.com>
36538
36539 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36540 Declare with warn_unused_result.
36541 (setgid, setregid, setegid, setresgid): Likewise.
36542 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36543 Likewise.
36544 * WUR-REPORT: Remove set*id functions.
36545
d2a54255
PT
365462012-07-31 Pino Toscano <toscano.pino@tiscali.it>
36547
36548 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36549
7ecdb005
RM
365502012-07-31 Roland McGrath <roland@hack.frob.com>
36551
b4180a5e 36552 [BZ #10191]
789bd351
RM
36553 * include/sys/socket.h (__libc_accept, __libc_accept4):
36554 Add attribute_hidden.
36555 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36556
40ce302d
RM
36557 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36558 use of PTR_MANGLE.
36559 * inet/getnetgrent_r.c (setup): Likewise.
36560
7ecdb005
RM
36561 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36562
e2eabb2c
DM
365632012-07-31 David S. Miller <davem@davemloft.net>
36564
36565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36566
d0419dbf
JM
365672012-07-31 Joseph Myers <joseph@codesourcery.com>
36568
36569 [BZ #13629]
36570 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36571 value between 1.0 and 2.0 and smaller part has absolute value less
36572 than 1.0.
36573 * math/s_clog10.c (__clog10): Likewise.
36574 * math/s_clog10f.c (__clog10f): Likewise.
36575 * math/s_clog10l.c (__clog10l): Likewise.
36576 * math/s_clogf.c (__clogf): Likewise.
36577 * math/s_clogl.c (__clogl): Likewise.
36578 * math/libm-test.inc (clog_test): Add more tests.
36579 (clog10_test): Likewise.
36580 * sysdeps/i386/fpu/libm-test-ulps: Update.
36581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36582
2bc13872
FW
365832012-07-31 Florian Weimer <fweimer@redhat.com>
36584
36585 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36586 Exit with zero in case no suitable GID is found, and write a
36587 message to standard error.
36588
bea9b193
RM
365892012-07-30 Roland McGrath <roland@hack.frob.com>
36590
36591 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36592 rather than to 1.
36593 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36594 (MAXPATHLEN): Removed.
36595 (NOGROUP, NODEV): New macros.
36596 (setbit, clrbit, isset, isclr): New macros.
36597 (howmany, roundup, powerof2): New macros.
36598 (DEV_BSIZE): New macro.
36599
36600 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36601 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36602
36603 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36604 definition on [!__NO_LONG_DOUBLE_MATH].
36605
36606 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36607 PTR_MANGLE and PTR_DEMANGLE.
36608
36609 * socket/accept4.c (accept4): Rename to __libc_accept4.
36610 Define accept4 as a weak alias.
36611
36612 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36613 on [_DIRENT_HAVE_D_TYPE].
36614 * io/ftw.c (ftw_dir): Likewise.
36615
36616 * io/xmknod.c (__xmknod): Don't check PATH for being null.
36617
36618 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36619
36620 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36621 Use the BSD numbers rather than the arbitrary ones we had.
36622 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36623 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36624 (SIGXCPU, SIGXFSZ): New macros.
36625 (_NSIG): Now 32.
36626
36627 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36628 initializer on [_LIBC_REENTRANT].
36629
36630 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36631 definitions inside [_POSIX_MAPPED_FILES].
36632
36633 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36634
36635 * dirent/opendir.c: Include <fcntl.h>.
36636
36637 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36638 (__libc_getspecific): Likewise.
36639 (__libc_key_create): Likewise.
36640
36641 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36642 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36643 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36644 (tmpfile64): Define as alias.
36645 * sysdeps/wordsize-64/tmpfile.c: File removed.
36646 * sysdeps/wordsize-64/tmpfile64.c: File removed.
36647 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36649
36650 * stdio-common/vfscanf.c: Include <stdbool.h>.
36651 * nss/makedb.c: Likewise.
36652 * stdio-common/_i18n_number.h: Likewise.
36653 * argp/argp-help.c: Likewise.
36654 * posix/wordexp.c: Likewise.
36655 * sysdeps/posix/spawni.c: Likewise.
36656 * nss/nss_files/files-initgroups.c: Likewise.
36657 * stdio-common/reg-modifier.c: Include <stdlib.h>.
36658 * nss/nss_files/files-initgroups.c: Likewise.
36659 * nss/nss_db/db-netgrp.c: Likewise.
36660 * nss/nss_db/db-initgroups.c: Likewise.
36661 * io/fchmodat.c: Include <sys/stat.h>.
36662
36663 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36664 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36665
36666 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36667 [HAVE_MMAP].
36668
36669 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36670 Add multiple inclusion protection.
36671
e5abc686
DM
366722012-07-27 David S. Miller <davem@davemloft.net>
36673
36674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36675
815e6fa3
GB
366762012-07-27 Gary Benson <gbenson@redhat.com>
36677
36678 [BZ #14298]
36679 * elf/rtld.c: Include <stap-probe.h>.
36680 (dl_main): Added static probes "init_start" and "init_complete".
36681 * elf/dl-load.c: Include <stap-probe.h>.
36682 (lose): Take new parameter "nsid".
36683 Added static probe "map_failed".
36684 (_dl_map_object_from_fd): Pass namespace id to lose.
36685 Added static probe "map_start".
36686 (open_verify): Pass namespace id to lose.
36687 * elf/dl-open.c: Include <stap-probe.h>.
36688 (dl_open_worker) Added static probes "map_complete", "reloc_start"
36689 and "reloc_complete".
36690 * elf/dl-close.c: Include <stap-probe.h>.
36691 (_dl_close_worker): Added static probes "unmap_start" and
36692 "unmap_complete".
36693 * elf/rtld-debugger-interface.txt: New file documenting the above.
36694
9f98c16c
RM
366952012-07-26 Roland McGrath <roland@hack.frob.com>
36696
36697 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36698 rather than a string variable.
36699 * sunrpc/rpc_main.c (h_output): Likewise.
36700 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36701
f3c22df3
PT
367022012-07-26 Pino Toscano <toscano.pino@tiscali.it>
36703
36704 * inet/check_native.c: New file.
36705
3129cfc6
JM
367062012-07-26 Joseph Myers <joseph@codesourcery.com>
36707
da865e95
JM
36708 [BZ #13629]
36709 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36710 if larger part has absolute value 1.0.
36711 * math/s_clog10.c (__clog10): Likewise.
36712 * math/s_clog10f.c (__clog10f): Likewise.
36713 * math/s_clog10l.c (__clog10l): Likewise.
36714 * math/s_clogf.c (__clogf): Likewise.
36715 * math/s_clogl.c (__clogl): Likewise.
36716 * math/libm-test.inc (clog_test): Add more tests.
36717 (clog10_test): Likewise.
36718 * sysdeps/i386/fpu/libm-test-ulps: Update.
36719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36720
3129cfc6
JM
36721 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36722 (pltexit): Likewise.
36723 (La_regs): Likewise.
36724 (La_retval): Likewise.
36725 (int_retval): Likewise.
36726 Update #error for removed macros to refer only to definitions in
36727 tst-audit.h.
36728 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36729 macro.
36730 (pltexit): Likewise.
36731 (La_regs): Likewise.
36732 (La_retval): Likewise.
36733 (int_retval): Likewise.
36734 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36735 macro.
36736 (pltexit): Likewise.
36737 (La_regs): Likewise.
36738 (La_retval): Likewise.
36739 (int_retval): Likewise.
36740 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36741 macro.
36742 (pltexit): Likewise.
36743 (La_regs): Likewise.
36744 (La_retval): Likewise.
36745 (int_retval): Likewise.
36746 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36747 macro.
36748 (pltexit): Likewise.
36749 (La_regs): Likewise.
36750 (La_retval): Likewise.
36751 (int_retval): Likewise.
36752 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36753 macro.
36754 (pltexit): Likewise.
36755 (La_regs): Likewise.
36756 (La_retval): Likewise.
36757 (int_retval): Likewise.
36758 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36759 macro.
36760 (pltexit): Likewise.
36761 (La_regs): Likewise.
36762 (La_retval): Likewise.
36763 (int_retval): Likewise.
36764 * sysdeps/generic/tst-audit.h: Update comment to refer only to
36765 macro definitions in tst-audit.h.
36766 * sysdeps/i386/tst-audit.h: New file.
36767 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36768 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36769 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36770 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36771 * sysdeps/sh/tst-audit.h: Likewise.
36772 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36773 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36774 * sysdeps/x86_64/tst-audit.h: Likewise.
36775
bfc07087
AJ
367762012-07-26 Andreas Jaeger <aj@suse.de>
36777
b1b2aaf8
AJ
36778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36779 ptrace.
36780
36781 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36782 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36783 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36784 PTRACE_O_MASK.
36785 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36786 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36787 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36788
bfc07087
AJ
36789 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36790 value.
36791
36792 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36793 _sigsys.
36794 (si_call_addr, si_syscall, si_arch): Define new macro.
36795 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36796 _sigsys.
36797 (si_call_addr, si_syscall, si_arch): Define new marcro.
36798 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36799 _sigsys.
36800 (si_call_addr, si_syscall, si_arch): Define new macro.
36801 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36802 _sigsys.
36803 (si_call_addr, si_syscall, si_arch): Define new macro.
36804
89b4b02f
JM
368052012-07-25 Joseph Myers <joseph@codesourcery.com>
36806
36807 [BZ #13717]
36808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36809 Change to 2.4.21 where previously 2.4.1.
36810 * sysdeps/unix/sysv/linux/configure: Regenerated.
36811 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36812 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36813 Linux kernel version.
36814 (__ASSUME_STD_AUXV): Remove.
36815 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36816 kernel version.
36817 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36818 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36819 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36820 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36821 (__ASSUME_NETLINK_SUPPORT): Likewise.
36822 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36823 (__no_netlink_support): Remove conditional definition.
36824 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36825 Remove.
36826 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36827 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36828 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36829 (if_nameindex_ioctl): Remove.
36830 (if_nameindex_netlink): Do not handle __no_netlink_support.
36831 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36832 code.
36833 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36834 Remove conditional code.
36835 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36836 code.
36837 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36838 unconditional.
36839 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36840 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36841 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36842 Remove.
36843 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36844 [!__ASSUME_STD_AUXV]: Remove conditional code.
36845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36846 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36847 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36849 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36850 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36851 code.
36852 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36854 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36856 conditional code.
36857 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36859 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36860 code.
36861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36862 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36863 conditional code.
36864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36865 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36866 code unconditional.
36867 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36868 conditional code.
36869 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36870 unconditional.
36871 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36872 conditional code.
36873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36874 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36875 unconditional.
36876 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36877 conditional code.
36878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36879 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36880 code unconditional.
36881 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36882 conditional code.
36883 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36884 unconditional.
36885 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36886 conditional code.
36887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36888 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36889 code unconditional.
36890 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36891 conditional code.
36892 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36893 unconditional.
36894 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36895 conditional code.
36896
842a39cd
AS
368972012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36898
36899 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36900 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36901 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36902 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36903 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36904 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36905 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36906 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36907 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36908 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36909 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36910 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36911 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36912 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36913 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36914 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36915 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36916 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36917 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36919 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36920 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36921 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36922
84b3fd84
FW
369232012-07-25 Florian Weimer <fweimer@redhat.com>
36924
36925 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36926 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36927 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36928 Introduce __libc_secure_getenv.
0c7936d5
FW
36929 * stdlib/Versions (2.17): Add secure_getenv
36930 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36931 * stdlib/secure-getenv.c: Rename __secure_getenv to
36932 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36933 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36934 * stdlib/tst-secure-getenv.c: New.
36935 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36936 * manual/startup.texi (Environment Access): Document
36937 secure_getenv.
84b3fd84
FW
36938 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36939 __libc_secure_getenv.
36940 * inet/ruserpass.c (ruserpass): Likewise.
36941 * malloc/mtrace.c (mtrace): Likewise.
36942 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36943 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36944 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36945 * sysdeps/posix/tempname.c: Likewise. Evaluate
36946 HAVE_SECURE_GETENV.
36947 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36948 __secure_getenv to __libc_secure_getenv.
84b3fd84 36949 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36951 Likewise.
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36953 Likewise.
36954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36961
56e49b71
JM
369622012-07-25 Joseph Myers <joseph@codesourcery.com>
36963
36964 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36965 (struct La_i86_retval): Likewise.
36966 (struct La_x86_64_regs): Likewise.
36967 (struct La_x86_64_retval): Likewise.
36968 (struct La_x32_regs): Likewise.
36969 (struct La_x32_retval): Likewise.
36970 (struct La_ppc32_regs): Likewise.
36971 (struct La_ppc32_retval): Likewise.
36972 (struct La_ppc64_regs): Likewise.
36973 (struct La_ppc64_retval): Likewise.
36974 (struct La_sh_regs): Likewise.
36975 (struct La_sh_retval): Likewise.
36976 (struct La_s390_32_regs): Likewise.
36977 (struct La_s390_32_retval): Likewise.
36978 (struct La_s390_64_regs): Likewise.
36979 (struct La_s390_64_retval): Likewise.
36980 (struct La_sparc32_regs): Likewise.
36981 (struct La_sparc32_retval): Likewise.
36982 (struct La_sparc64_regs): Likewise.
36983 (struct La_sparc64_retval): Likewise.
36984 (struct audit_ifaces): Remove architecture-specific pltenter and
36985 pltexit members.
36986 * sysdeps/i386/ldsodefs.h: New file.
36987 * sysdeps/powerpc/ldsodefs.h: Likewise.
36988 * sysdeps/s390/ldsodefs.h: Likewise.
36989 * sysdeps/sh/ldsodefs.h: Likewise.
36990 * sysdeps/sparc/ldsodefs.h: Likewise.
36991 * sysdeps/x86_64/ldsodefs.h: Likewise.
36992
354691b7
MP
369932012-07-25 Marek Polacek <polacek@redhat.com>
36994
36995 [BZ #6808]
36996 * math/libm-test.inc (yn_test): Add another test.
36997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36998 to ERANGE when the result is +-Inf.
36999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37000 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37001 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37002 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37003
bf9e2071
JM
370042012-07-24 Joseph Myers <joseph@codesourcery.com>
37005
37006 * conform/data/time.h-data (NULL): Use macro-constant. Require
37007 equal to 0.
37008 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37009 clock_t.
37010 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37011
57633811
TS
370122012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37013
37014 * configure.in <sysdeps resolving>: Correct printing
37015 Implies_before.
37016 * configure: Regenerate.
37017
c23c33b0
TS
370182012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37019
37020 * math/w_ilogb.c: Include <limits.h>.
37021 * math/w_ilogbl.c: Likewise.
37022
b5982523
JM
370232012-07-20 Joseph Myers <joseph@codesourcery.com>
37024
37025 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37026 va_copy. Document allowing for unavailable va_copy only as
37027 pre-C99 compatibility.
37028 * manual/string.texi (Copying and Concatenation): Use va_copy
37029 instead of __va_copy in concat example.
37030
ac4ea442
PT
370312012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37032
37033 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37034 (__sendto): Use create_address_port. Initialize APORT and deallocate
37035 it if not null.
37036
f98eafbd
PT
37037 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37038 with O_NOLINK passed to __file_name_lookup.
37039
898c7aab
PT
37040 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37041 with O_NOLINK passed to __file_name_lookup.
37042
0ced335a
PT
37043 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37044 negative N or less than NGIDS.
37045
b3404dbd
PT
37046 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37047 type to string_t. Set ERANGE as errno and return it if NAME is not big
37048 enough. Use memcpy instead of strncpy.
37049
0f48659e
JM
370502012-07-20 Joseph Myers <joseph@codesourcery.com>
37051
37052 * elf/Makefile (check-data): Remove.
37053 (localplt.data): New vpath directive.
37054 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37055 instead of $(check-data).
37056 * scripts/data/localplt-generic.data: Move to ...
37057 * sysdeps/generic/localplt.data: ... here.
37058 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37059 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37060 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37062 ... here.
37063 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37065 ... here.
37066 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37068 ... here.
37069 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37071 ... here.
37072 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37074 ... here.
37075 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37077 ... here.
37078
d37cbdaa
AZ
370792012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37080
37081 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37082 PPC32 and PPC64 files.
37083 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37084 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37085
46f85fc2
AK
370862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37087
37088 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37089 __makecontext_ret to ...
37090 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37091 ... here and call exit if uc_link is NULL. New file.
37092 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37093 __makecontext_ret.S.
37094 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37095 __makecontext_ret to ...
37096 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37097 ... here and call exit if uc_link is NULL. New file.
37098 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37099 __makecontext_ret.S.
37100
08f43f9b
AK
371012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37102
37103 * elf/elf.h (R_390_IRELATIVE): New definition.
37104 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37105 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37106 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37107 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37108 (elf_machine_lazy_rel): Likewise.
37109 * sysdeps/s390/dl-irel.h: New file.
37110 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37111 * sysdeps/s390/s390-64/memset.S: New asm code.
37112 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37113 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37114 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37115 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37116 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37117 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37119 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37120 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37121 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37122 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37123 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37124 * sysdeps/s390/s390-32/memset.S: New asm code.
37125 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37126
3b05db33
MP
371272012-07-17 Marek Polacek <polacek@redhat.com>
37128
37129 [BZ #14349]
37130 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37131 * sysdeps/s390/s390-64/configure.in: Likewise.
37132 * sysdeps/sparc/configure.in: Likewise.
37133 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37134 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37135 * sysdeps/i386/configure.in: Likewise.
37136 * sysdeps/x86_64/configure.in: Likewise.
37137 * sysdeps/sh/configure.in: Likewise.
37138 * sysdeps/s390/s390-32/configure: Regenerated.
37139 * sysdeps/s390/s390-64/configure: Likewise.
37140 * sysdeps/x86_64/configure: Likewise.
37141 * sysdeps/sh/configure: Likewise.
37142 * sysdeps/powerpc/powerpc64/configure: Likewise.
37143 * sysdeps/powerpc/powerpc32/configure: Likewise.
37144 * sysdeps/sparc/configure: Likwise.
37145 * sysdeps/i386/configure: Likewise.
37146
a66877c6
MP
37147 * elf/dl-open.c: Comment fixes.
37148
cfc82fd8
JM
371492012-07-17 Joseph Myers <joseph@codesourcery.com>
37150
bd29910a
JM
37151 * Makefile [CXX] (check-data): Remove.
37152 [CXX] (c++-types.data): New vpath directive.
37153 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37154 vpath. Do not allow for C++ type data being missing.
37155 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37156 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37157 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37158 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37159 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37160 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37161 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37163 ... here.
37164 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37166 ... here.
37167 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37169 ... here.
37170 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37172 ... here.
37173 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37175 ... here.
37176 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37178 ... here.
37179 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37181 ... here.
37182 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37184
cfc82fd8
JM
37185 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37186 definitions to architecture-specific files.
37187 (TLS_IE): Likewise.
37188 (TLS_LD): Likewise.
37189 (TLS_GD): Likewise.
37190 * sysdeps/i386/tls-macros.h: New file.
37191 * sysdeps/powerpc/tls-macros.h: Likewise.
37192 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37193 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37194 * sysdeps/sh/tls-macros.h: Likewise.
37195 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37196 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37197 * sysdeps/x86_64/tls-macros.h: Likewise.
37198
f7db3170
TS
371992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37200
07cbfc23
TS
37201 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37202 zero value for regular exit case.
37203
f7db3170
TS
37204 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37205 (__start_context): Preserve zero value for regular exit case.
37206
dc97c227
TS
372072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37208 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37209
37210 * manual/setjmp.texi (setcontext): Clarify normal process
37211 termination when uc_link is the null pointer.
37212 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37213 exit call.
37214
d0cd7d02
AS
372152012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37216
37217 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37218 preprocessor. Test for each exception mask separately.
37219
dd318934
AJ
372202012-07-16 Andreas Jaeger <aj@suse.de>
37221
37222 * po/ru.po: Update from translation team.
37223
8048311a
JM
372242012-07-15 Joseph Myers <joseph@codesourcery.com>
37225
37226 * conform/data/string.h-data (NULL): Use macro-constant. Require
37227 equal to 0.
37228 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37229 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37230 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37231 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37233
b637d46e
AJ
372342012-07-13 Andreas Jaeger <aj@suse.de>
37235
37236 * po/fr.po: Update from translation team.
37237
541428fe
MP
372382012-07-12 Marek Polacek <polacek@redhat.com>
37239
37240 [BZ #14173]
37241 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37242 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37243 loop condition.
37244
ec332e94
JM
372452012-07-12 Joseph Myers <joseph@codesourcery.com>
37246
37247 [BZ #13717]
37248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37249 Change to 2.4.1 where previously 2.4.0.
37250 * sysdeps/unix/sysv/linux/configure: Regenerated.
37251 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37252 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37253 version.
37254 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37255 (__ASSUME_AT_CLKTCK): Remove.
37256 (__ASSUME_AT_PAGESIZE): Likewise.
37257 (__ASSUME_AT_XID): Likewise.
37258 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37259 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37260 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37261 unconditionally.
37262 (HAVE_AUX_PAGESIZE): Likewise.
37263 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37264 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37265 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37266
7b6e99be
JB
372672012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37268
37269 [BZ #14307]
37270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37271 the temporary buffer used to invoke __gethostbyname2_r,
37272 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37273 host_data / struct gaih_addrtuple.
37274 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37275 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37276 header file nss/nsswitch.h.
37277 * nss/nsswitch.h (global scope): Add definition of implementation
37278 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37279 resolv/nss_dns/dns-host.c).
37280
608404eb
AJ
372812012-07-11 Andreas Jaeger <aj@suse.de>
37282
37283 * po/fr.po: Update from translation team.
37284
71220aca
AJ
37285 * po/sv.po: Update from translation team
37286 * po/fr.po: Another update from translation team.
37287
28cfe843
AZ
372882012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37289
37290 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37291 for subnormals or multiply small sinh result by itself.
37292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37294
6b90f981
DM
372952012-07-11 David S. Miller <davem@davemloft.net>
37296
37297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37298
c6825772
AS
372992012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37300
37301 [BZ #14347]
37302 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37303 (INTERNAL_MARK): Shift it here.
37304
7b8e0d49
MP
373052012-07-10 Marek Polacek <polacek@redhat.com>
37306
37307 [BZ #14151]
37308 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37309 libc_cv_asm_global_directive with .globl.
37310 * configure: Regenerated.
37311 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37312 with .globl.
37313 * sysdeps/i386/configure: Regenerated.
37314 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37315 with .globl.
37316 * sysdeps/x86_64/configure: Regenerated.
37317 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37318 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37319 * elf/tst-unique2mod2.c: Likewise.
37320 * elf/tst-unique2mod1.c: Likewise.
37321 * elf/tst-unique1mod2.c: Likewise.
37322 * elf/tst-unique1mod1.c: Likewise.
37323 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37324 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37325 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37326 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37327 * sysdeps/mach/sysdep.h: Likewise.
37328 * sysdeps/i386/sysdep.h: Likewise.
37329 * sysdeps/i386/i386-mcount.S: Likewise.
37330 * sysdeps/x86_64/_mcount.S: Likewise.
37331 * sysdeps/x86_64/sysdep.h: Likewise.
37332 * sysdeps/sh/_mcount.S: Likewise.
37333 * sysdeps/sh/sysdep.h: Likewise.
37334 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37335 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37336 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37337 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37338 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37339 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37340 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37341 * locale/localeinfo.h: Likewise.
37342 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37343 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37344
6c55cda3
RM
373452012-07-09 Roland McGrath <roland@hack.frob.com>
37346
37347 [BZ #14336]
37348 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37349 system".
37350 * manual/message.texi (The Uniforum approach): Likewise.
37351 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37352 (glibc iconv Implementation): Likewise.
37353
638a572e
JM
373542012-07-09 Joseph Myers <joseph@codesourcery.com>
37355
37356 [BZ #14337]
37357 * math/s_clog.c (__clog): Avoid scaling a value down where that
37358 could result in underflow.
37359 * math/s_clog10.c (__clog10): Likewise.
37360 * math/s_clog10f.c (__clog10f): Likewise.
37361 * math/s_clog10l.c (__clog10l): Likewise.
37362 * math/s_clogf.c (__clogf): Likewise.
37363 * math/s_clogl.c (__clogl): Likewise.
37364 * math/libm-test.inc (clog_test): Add more tests.
37365 (clog10_test): Likewise.
37366 * sysdeps/i386/fpu/libm-test-ulps: Update.
37367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37368
261f4859
AS
373692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37370
0abaf3e4
AS
37371 [BZ #14283]
37372 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37373 by 7 not 8 to examine high bit of fractional part.
37374
261f4859
AS
37375 [BZ #14042]
37376 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37377 for call to __mcount_internal.
37378 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37379 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37380 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37381
f17ac40d
JM
373822012-07-06 Joseph Myers <joseph@codesourcery.com>
37383
9ad63c23
JM
37384 [BZ #14154]
37385 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37386 approximation for values within 0x1p-13f of an odd multiple of
37387 pi/4.
37388 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37389 exception. Add more tests.
37390 * sysdeps/i386/fpu/libm-test-ulps: Update.
37391
f17ac40d
JM
37392 [BZ #6778]
37393 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37394 inputs and return -1 for them. Do not check for +Inf in case not
37395 reachable for +Inf.
37396 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37397 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37399 and return -1 for them. Do not check for +Inf in case not
37400 reachable for +Inf.
37401 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37402 define.
37403 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37404 and return -1 for them. Do not check for +Inf in case not
37405 reachable for +Inf.
37406 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37407 spurious underflow.
37408 * sysdeps/i386/fpu/libm-test-ulps: Update.
37409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37410
fb21f89b
MF
374112012-07-06 Mike Frysinger <vapier@gentoo.org>
37412
37413 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37414
cdfe2c5e
JM
374152012-07-05 Joseph Myers <joseph@codesourcery.com>
37416
37417 [BZ #14157]
37418 [BZ #14331]
37419 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37420 could result in spurious underflow. Scale down values above
37421 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37422 * math/s_csqrtf.c (__csqrtf): Likewise.
37423 * math/s_csqrtl.c (__csqrtl): Likewise.
37424 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37425 spurious underflow.
37426 * sysdeps/i386/fpu/libm-test-ulps: Update.
37427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37428
70d35b67
AS
374292012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37430
704bc459
AS
37431 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37432 xopen-msg.sed.
37433 * catgets/xopen-msg.awk: New file.
37434 * catgets/xopen-msg.sed: Removed.
37435
70d35b67
AS
37436 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37437 po2text.sed.
37438 * intl/po2test.awk: New file.
37439 * intl/po2test.sed: Removed.
37440
ca61cf32
JM
374412012-07-04 Joseph Myers <joseph@codesourcery.com>
37442
37443 [BZ #14328]
37444 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37445 or multiply small sinh result by itself.
37446 * math/s_ctanf.c (__ctanf): Likewise.
37447 * math/s_ctanh.c (__ctanh): Likewise.
37448 * math/s_ctanhf.c (__ctanhf): Likewise.
37449 * math/s_ctanhl.c (__ctanhl): Likewise.
37450 * math/s_ctanl.c (__ctanl): Likewise.
37451 * math/libm-test.inc (ctan_test_tonearest): New function.
37452 (ctan_test_towardzero): Likewise.
37453 (ctan_test_downward): Likewise.
37454 (ctan_test_upward): Likewise.
37455 (ctanh_test_tonearest): Likewise.
37456 (ctanh_test_towardzero): Likewise.
37457 (ctanh_test_downward): Likewise.
37458 (ctanh_test_upward): Likewise.
37459 (main): Call these new functions.
37460 * sysdeps/i386/fpu/libm-test-ulps: Update.
37461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37462
ca48a46a
MF
374632012-07-03 Mike Frysinger <vapier@gentoo.org>
37464
37465 * .gitignore: Delete /ports entry.
37466
9d63d37d
AJ
374672012-07-03 Andreas Jaeger <aj@suse.de>
37468
37469 * po/bg.po: Update from translation team.
37470 * po/cs.po: Likewise.
37471 * po/de.po: Likewise.
37472 * po/hr.po: Likewise.
37473 * po/nl.pl: Likewise.
37474 * po/pl.po: Likewise.
37475 * po/vi.po: Likewise.
37476
370ca3d2
JM
374772012-07-03 Joseph Myers <joseph@codesourcery.com>
37478
95f5a9a8
JM
37479 * Makeconfig [!+link] (+link-before-libc): New variable.
37480 [!+link] (+link-after-libc): Likewise.
37481 [!+link] (+link-tests): Likewise.
37482 [!+link] (+link): Define in terms of $(+link-before-libc) and
37483 $(+link-after-libc).
37484 [!+link-static] (+link-static-before-libc): New variable.
37485 [!+link-static] (+link-static-after-libc): Likewise.
37486 [!+link-static] (+link-static-tests): Likewise.
37487 [!+link-static] (+link-static): Define in terms of
37488 $(+link-static-before-libc) and $(+link-static-after-libc).
37489 [build-shared] (link-libc-before-gnulib): New variable.
37490 [build-shared] (link-libc-tests): Likewise.
37491 [build-shared] (link-libc): Define in terms of
37492 $(link-libc-before-gnulib).
37493 [!build-shared] (link-libc-tests): New variable.
37494 (link-libc-static-tests): New variable.
37495 [!gnulib] (gnulib-arch): New variable.
37496 [!gnulib] (gnulib-tests): Likewise.
37497 [!gnulib] (static-gnulib-arch): Likewise.
37498 [!gnulib] (static-gnulib-tests): Likewise.
37499 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
37500 Define with "=" instead of ":=".
37501 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
37502 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
37503 * Rules (binaries-all-notests): New variable.
37504 (binaries-all-tests): Likewise.
37505 (binaries-static-notests): Likewise.
37506 (binaries-static-tests): Likewise.
37507 (binaries-all): Define using $(binaries-all-notests) and
37508 $(binaries-all-tests).
37509 (binaries-static): Define using $(binaries-static-notests) and
37510 $(binaries-static-tests).
37511 (binaries-shared-tests): New variable.
37512 (binaries-shared-notests): Likewise.
37513 (binaries-shared): Remove variable.
37514 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37515 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37516 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37517 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37518 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37519 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37520 * elf/Makefile (sln-modules): New variable.
37521 (extra-objs): Add $(sln-modules:=.o).
37522 (ldconfig-modules): Add static-stubs.
37523 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37524 * elf/static-stubs.c: New file.
37525
7a845b2c
JM
37526 [BZ #14283]
37527 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37528 by 7 not 8 to examine high bit of fractional part. Use volatile
37529 variables when splitting into final array of floats if
37530 __FLT_EVAL_METHOD__ != 0.
37531 * math/libm-test.inc (cos_test): Add another test.
37532 (sin_test): Likewise.
37533 * sysdeps/i386/fpu/libm-test-ulps: Update.
37534
e2283f38
JM
37535 [BZ #14273]
37536 * math/libm-test.inc (cosh_test): Add more tests.
37537
370ca3d2
JM
37538 * version.h (RELEASE): Set to "development".
37539 (VERSION): Set to "2.16.90".
37540
ee9247c3
CD
375412012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
37542
37543 * NEWS: Update copyright. Remove last-updated date.
37544 Mention math library bug fixes and timezone data changes.
37545 * README: Mention GNU/Hurd, x32, and HPPA support status.
37546
4648c381
TS
375472012-06-28 Thomas Schwinge <thomas@codesourcery.com>
37548
37549 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37550
aac78a43
AJ
375512012-06-27 Andreas Jaeger <aj@suse.de>
37552
37553 * manual/contrib.texi (Contributors): Add Samuel Thibault.
37554
ed3dbfad
AJ
375552012-06-25 Andreas Jaeger <aj@suse.de>
37556
37557 * sysdeps/s390/fpu/libm-test-ulps: Update.
37558
4d0ee855
AS
375592012-06-23 Andreas Schwab <schwab@linux-m68k.org>
37560 Thomas Schwinge <thomas@codesourcery.com>
37561
37562 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37563 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37565 fanotify_mark.
37566
af1bce34
TS
375672012-06-23 Thomas Schwinge <thomas@codesourcery.com>
37568
a9fa33ba
TS
37569 * sysdeps/mach/start.c: Remove file.
37570 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37571 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37572 * sysdeps/sh/init-first.c: Likewise.
37573
58f902b8
TS
37574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37575 registers for frame unwinding purposes, add CFI directives.
37576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37577 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37578 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37579 Likewise.
37580
1518f58b
TS
37581 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37582 __fortify_fail returning.
37583 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37584
db9b5059
TS
37585 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37586 sysdeps/sh/____longjmp_chk.S.
37587 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37588 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37589 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37590 (gen-as-const-headers): Append sigaltstack-offsets.sym.
37591
967705fe
TS
37592 * sysdeps/sh/abort-instr.h: New file.
37593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37594 process in case exit returns.
37595
a9def8c4
TS
37596 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37597 initialize the GOT register before use.
37598
2a649725
TS
37599 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37600 calculation of ARGC > 4.
37601
af1bce34
TS
37602 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37603 meaningful names to some local labels.
37604
d230f50a
KK
376052012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37606 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37607
37608 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37609 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37610 (__arch_compare_and_exchange_val_16_acq): Likewise.
37611 (__arch_compare_and_exchange_val_32_acq): Likewise.
37612 (atomic_exchange_and_add): Fix gUSA sequence.
37613 (atomic_add): Likewise.
37614 (atomic_add_negative): Likewise.
37615 (atomic_add_zero): Likewise.
37616 (atomic_bit_test_set): Likewise.
37617
0479b305
AS
376182012-06-22 Andreas Schwab <schwab@redhat.com>
37619
37620 [BZ #13579]
37621 * include/link.h (struct link_map): Add l_free_initfini.
37622 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37623 l_initfini.
37624 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37625 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37626 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37627 set.
37628
0e3933b9
CD
376292012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
37630
37631 * configure.in: Use AC_LANG_SOURCE.
37632 * configure: Regenerate.
37633
4248b1b1
RM
376342012-06-22 Roland McGrath <roland@hack.frob.com>
37635
37636 * configure.in (libc_cv_localstatedir): New substituted variable.
37637 * configure: Regenerated.
37638 * config.make.in (localstatedir): New variable, substituted from
37639 libc_cv_localstatedir.
37640 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37641 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37642 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37643 * sysdeps/gnu/configure: Regenerated.
37644
006dd861
JL
376452012-06-21 Jeff Law <law@redhat.com>
37646
37647 [BZ #14277]
37648 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37649 free. Simplify list management for _LIBC case.
37650
79662d42
JM
376512012-06-21 Joseph Myers <joseph@codesourcery.com>
37652
b7abb4bf
JM
37653 [BZ #14273]
37654 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37655 Clear sign bit of 64-bit integer value before comparing against
37656 overflow value.
37657
79662d42
JM
37658 * sysdeps/mach/configure: Regenerated.
37659
1f150908
L
376602012-06-21 H.J. Lu <hongjiu.lu@intel.com>
37661
37662 [BZ #14278]
37663 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37664
28363bbf
JL
376652012-06-21 Jeff Law <law@redhat.com>
37666
37667 [BZ #13882]
37668 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
37669 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 37670 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
37671 * elf/dl-open.c (dl_open_worker): Likewise.
37672
09615db4
CD
376732012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
37674
37675 * scripts/list-sources.sh: Scan PORTS for translations.
37676 * po/libc.pot: Regenerated.
37677
2174c6dd
AJ
376782012-06-21 Andreas Jaeger <aj@suse.de>
37679
37680 [BZ #12194]
37681 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37682 warning.
37683 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37684 * bits/byteswap-16.h (__bswap_16): Likewise.
37685 * bits/byteswap.h (__bswap_constant_16): Likewise.
37686
3ee947b1
L
376872012-06-18 H.J. Lu <hongjiu.lu@intel.com>
37688
37689 [BZ #14117]
a2f34833
L
37690 * sysdeps/i386/fpu_control.h: Removed.
37691 * sysdeps/x86_64/fpu_control.h: Moved to ...
37692 * sysdeps/x86/fpu_control.h: Here.
37693
3ee947b1
L
37694 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37695 (_FPU_SETCW): Likewise.
37696
ed1825f8
L
376972012-06-15 H.J. Lu <hongjiu.lu@intel.com>
37698
25f1282a
L
37699 [BZ #14117]
37700 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37701 * sysdeps/x86/fpu/bits/mathinline.h: This.
37702 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37703
ed1825f8
L
37704 [BZ #14050]
37705 [BZ #14117]
37706 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37707 functions if __x86_64__ is defined.
37708
36d54b74
CLT
377092012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
37710
37711 * string/endian.h: Add !__ASSEMBLER__ condition for including
37712 conversion interfaces.
37713
10285c21
JM
377142012-06-15 Joseph Myers <joseph@codesourcery.com>
37715
37716 [BZ #14241]
37717 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37718 of ABS(x) in calculating zero to negative powers other than odd
37719 integers.
37720 * math/libm-test.inc (pow_test): Add more tests.
37721
06c5abbd
AJ
377222012-06-15 Andreas Jaeger <aj@suse.de>
37723
37724 * manual/contrib.texi (Contributors): Update entry of Liubov
37725 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37726 Machado Filho.
37727
a3aeac40
CH
377282012-06-15 Cyril Hrubis <metan@ucw.cz>
37729
37730 * string/string.h: Add __wur to GNU version of strerror_r.
37731
49bdf4c1
L
377322012-06-14 H.J. Lu <hongjiu.lu@intel.com>
37733
37734 [BZ #14229]
37735 * string/Makefile (tests): Add tst-strtok_r.
37736 * string/tst-strtok_r.c: New file.
37737 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37738 RAX_LP/RDX_LP on SAVE_PTR.
37739
834f9b8d
RM
377402012-06-14 Roland McGrath <roland@hack.frob.com>
37741
37742 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37743
75fa1921
JM
377442012-06-14 Joseph Myers <joseph@codesourcery.com>
37745
37746 * libm_test.inc (csqrt_test): Allow more spurious underflow
37747 exceptions.
37748 (j0_test): Likewise.
37749 (j1_test): Likewise.
37750 (y0_test): Likewise.
37751 (y1_test): Likewise.
37752
771766df
CD
377532012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
37754
37755 * po/Makefile (libc.pot): Use UTF-8 charset.
37756
ceb9e56b
PP
377572012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
37758
37759 [BZ #14210]
37760 Suppress sign-conversion warning from FD_SET.
37761 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37762 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37763 not unsigned long int.
37764 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37765
ddb28975
L
377662012-06-12 H.J. Lu <hongjiu.lu@intel.com>
37767
37768 [BZ #14050]
37769 [BZ #14117]
37770 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37771 __extern_always_inline instead of __extern_inline.
37772 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37773 (__signbit): Likewise.
37774 (__signbitl): Support C++ namespace.
37775 (lrintf): New inline function.
37776 (lrint): Likewise.
37777 (llrintf): Likewise.
37778 (llrint): Likewise.
37779 (fmaxf): Likewise.
37780 (fmax): Likewise.
37781 (fminf): Likewise.
37782 (fmin): Likewise.
37783 (rint): Likewise.
37784 (rintf): Likewise.
37785 (ceil): Likewise.
37786 (ceilf): Likewise.
37787 (floor): Likewise.
37788 (floorf): Likewise.
37789 (nearbyint): Likewise.
37790 (nearbyintf): Likewise.
37791
d7b4fb26
TS
377922012-06-12 Thomas Schwinge <thomas@codesourcery.com>
37793
37794 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37795 non-default versions.
37796
eb55f5c2
RM
377972012-06-11 Roland McGrath <roland@hack.frob.com>
37798
37799 [BZ #14218]
37800 * manual/argp.texi (Argp): Reword argp_parse description slightly.
37801
366af02c
TS
378022012-06-09 Thomas Schwinge <thomas@codesourcery.com>
37803
99ff6e5c
TS
37804 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37805 (FE_UPWARD, FE_DOWNWARD): Don't define.
37806 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37807 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37808
366af02c
TS
37809 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37810 reading it.
37811 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37812 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37813
793ea851
KK
378142012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37815
37816 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37818 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37819 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37820
a728a38f
L
378212012-06-06 H.J. Lu <hongjiu.lu@intel.com>
37822
37823 [BZ #14117]
c08010c7
L
37824 * sysdeps/i386/fpu/bits/fenv.h: Removed.
37825 * sysdeps/i386/fpu/Implies: New file.
37826 * sysdeps/x86_64/fpu/Implies: Likewise.
37827 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37828 * sysdeps/x86/fpu/bits/fenv.h: This.
37829
a728a38f
L
37830 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37831 __SSE_MATH__.
37832
6e230d11
SP
378332012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37834
37835 [BZ #14134]
37836 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37837 character 0xffff that matches the last element of the
37838 conversion table.
37839
1b671feb
AZ
378402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37841
37842 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37843 fmodl commit.
37844
6043738b
AZ
378452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37846
37847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37848 values higher than 25.6283.
37849
34ae0b32
AZ
378502012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37851
37852 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37853 subnormal exponent extraction and add some __builtin_expect.
37854 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37855 Fix for subnormal mantissa calculation.
37856
1214ec8f
MF
378572012-06-04 Mike Frysinger <vapier@gentoo.org>
37858
37859 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37860 cpu2 is -1 and errno is not ENOSYS.
37861
f3d1f93c
L
378622012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37863
37864 [BZ #14117]
0e4a3cd7
L
37865 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37866 * sysdeps/x86/bits/string.h: This.
37867 * sysdeps/x86_64/bits/string.h: Removed.
37868
6704c645
L
37869 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37870 if not compiling for x86-64, but compiling for >= i486.
37871
48495318
L
37872 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37873 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37874
14adcbfc
L
37875 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37876 New macro from Linux kernel 3.4.0.
37877 (FP_XSTATE_MAGIC2): Likewise.
37878 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37879 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37880 (struct _fpx_sw_bytes): New struct.
37881 (struct _xsave_hdr): Likewise.
37882 (struct _ymmh_state): Likewise.
37883 (struct _xstate): Likewise.
37884
68e408ab
L
37885 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37886 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37887 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37888 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37889 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37890 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37891
f3d1f93c
L
37892 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37893 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37894 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37895 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37896 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37897 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37898
d9dc34cd
TMQMF
378992012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37900
37901 [BZ #13743]
37902 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37903 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37904 (sysdep_headers): Include sys/platform/ppc.h.
37905 * sysdeps/powerpc/test-gettimebase.c: Test for
37906 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37907 * manual/Makefile (appendices): Include platform.texi.
37908 * manual/contrib.texi (Contributors): Update @node pointers.
37909 * manual/maint.texi (Maintenance): Likewise.
37910 (Platform): New node.
37911 * manual/platform.texi: New file. Document the new features.
37912
4af3879c
SP
379132012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37914 Jakub Jelinek <jakub@redhat.com>
37915
37916 [BZ #14188]
37917 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37918 where __builtin_expect is unavailable.
37919
2fd6ff13
DM
379202012-06-03 David S. Miller <davem@davemloft.net>
37921
37922 * stdlib/longlong.h: Updated from GCC.
37923
173f7220
AS
379242012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37925
37926 [BZ #14042]
37927 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37928 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37929 __mcount_internal.
37930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37931 (GLIBC_2.16): Likewise.
37932
f34a1c6f
L
379332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37934
37935 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37936
88a4576f
JM
379372012-06-01 Joseph Myers <joseph@codesourcery.com>
37938
ea32bcdd
JM
37939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37940 (default-abi): New variable.
37941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37942 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37943 variable.
37944 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37945 Likewise.
37946 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37947 Likewise.
37948 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37949 Likewise.
37950
88a4576f
JM
37951 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37952 definition. Document in comment.
37953
402fe938
DM
379542012-06-01 David S. Miller <davem@davemloft.net>
37955
37956 * stdlib/longlong.h: Updated from GCC.
37957
3553723f
L
379582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37959
37960 [BZ #14117]
3bd872c4
L
37961 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37962 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37963 sys/debugreg.h sys/io.h here.
37964 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37965 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37966 sys/io.h.
37967 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37968 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37969 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37970 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37971 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37972 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37973
3553723f
L
37974 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37975 Define only if __x86_64__ is defined.
37976
4842e4fe
JM
379772012-06-01 Joseph Myers <joseph@codesourcery.com>
37978
c5bfe3d5
JM
37979 [BZ #14048]
37980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37981 Use int64_t for variable i.
37982 * math/libm-test.inc (fmod_test): Add more tests.
37983
4842e4fe
JM
37984 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37985 z computation is not scheduled after fetestexcept.
37986 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37987 Use math_force_eval instead of asm to ensure calculation scheduled
37988 before exception test.
37989 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37990 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37991
efb73488
AJ
379922012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37993
37994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37995 computation is not scheduled after fetestexcept.
37996
29bcce7c
L
379972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37998
37999 [BZ #14117]
38000 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38001 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38002
73a68f94
AZ
380032012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38004
38005 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38006 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38007
67b6df78
L
380082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38009
edf2933a 38010 [BZ #14117]
ebc64a18
L
38011 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38012 <bits/wordsize.h>.
38013 (__WCHAR_MIN): Support __WORDSIZE == 64.
38014 (__WCHAR_MAX): Likewise.
38015
edf2933a
L
38016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38017 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38018
57c6cf40
L
38019 [BZ #14183]
38020 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38021 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38022
67b6df78 38023 [BZ #14117]
8eb6281e
L
38024 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38025 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38026
aac639f4
L
38027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38028 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38029
67b6df78
L
38030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38031 Defined to 1 if __x86_64__ isn't defined.
38032 (_STAT_VER_LINUX_OLD): New.
38033 (st_atime): Remove duplicate.
38034 (st_mtime): Likewise.
38035 (st_ctime): Likewise.
38036
1c2cfe81
DM
380372012-05-31 David S. Miller <davem@davemloft.net>
38038
38039 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38040 entries.
38041
5be8418c
AS
380422012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38043
e7725326
AS
38044 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38045 gen-libm-test.pl.
38046
5be8418c
AS
38047 [BZ #14132]
38048 * elf/dl-reloc.c: Include <_itoa.h>.
38049 (_dl_reloc_bad_type): Remove use of INTUSE.
38050 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38051 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38052 * stdio-common/psiginfo.c (psiginfo): Likewise.
38053 * stdio-common/psignal.c (psignal): Likewise.
38054 * string/strsignal.c (strsignal): Likewise.
38055 * include/signal.h (_sys_siglist): Declare hidden proto.
38056 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38057 INTVARDEF with libc_hidden_data_def.
38058 * stdio-common/itoa-udigits.c: Likewise.
38059 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38060 (_itoa_lower_digits_internal): Remove declaration.
38061 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38062 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38063 (_sys_sigabbrev_internal): Remove aliases.
38064 (_sys_siglist): Define hidden alias.
38065
507352f1
MT
380662012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38067
38068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38069 bits/sysctl.h.
38070
42bbb1c3
L
380712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 [BZ #14117]
6bd784b6
L
38074 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38075 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38076
8bca20f0
L
38077 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38078 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38079 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38080 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38082 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38083
f9e890a9
L
38084 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38085 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38086 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38087
471101a1
L
38088 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38089 with __addr.
38090 (insw): Likewise.
38091 (insl): Likewise.
38092 (outsb): Likewise.
38093 (outsw): Likewise.
38094 (outsl): Likewise.
38095
6451c862
L
38096 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38098 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38099
a254b8c9
L
38100 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38101 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38103 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38104 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38105 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38106
b8dfdd92
L
38107 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38108 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38109
578cd270
L
38110 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38111 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38112
de662f5f
L
38113 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38116
25653439
L
38117 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38118 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38119 to ...
38120 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38121
6bad24a0
L
38122 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38123 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38124 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38125
42bbb1c3
L
38126 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38127 for x86-64.
38128 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38129
2d10d547
JM
381302012-05-31 Joseph Myers <joseph@codesourcery.com>
38131
38132 * math/math.h (M_El): Use two more decimal places.
38133 (M_LOG2El): Likewise.
38134 (M_LOG10El): Likewise.
38135 (M_LN2l): Likewise.
38136 (M_LN10l): Likewise.
38137 (M_PIl): Likewise.
38138 (M_PI_2l): Likewise.
38139 (M_PI_4l): Likewise.
38140 (M_1_PIl): Likewise.
38141 (M_2_PIl): Likewise.
38142 (M_2_SQRTPIl): Likewise.
38143 (M_SQRT2l): Likewise.
38144 (M_SQRT1_2l): Likewise.
38145
f230c29b
DM
381462012-05-31 David S. Miller <davem@davemloft.net>
38147
38148 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38149 values between float registers.
38150 * sysdeps/sparc/sparc64/memset.S: Likewise.
38151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38152
fed806c3
MF
381532012-05-31 Mike Frysinger <vapier@gentoo.org>
38154
38155 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38156 -D_FORTIFY_SOURCE=1.
38157 (CPPFLAGS-tst-longjmp_chk.c): Define.
38158 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38159 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38160 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38161 CFLAGS-tst-wchar-h.c.
38162
30917259
MP
381632012-05-31 Marek Polacek <polacek@redhat.com>
38164
38165 [BZ #14132]
38166 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38167 __endmntent_internal): Remove declaration.
38168 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38169 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38170 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38171
1c58d5dc
DM
381722012-05-30 David S. Miller <davem@davemloft.net>
38173
38174 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38175 (___Q_simulate_exceptions): Use real FP ops rather than writing
38176 into the %fsr.
38177 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38178 Likewise.
38179
7dc00e0d
L
381802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38181
38182 [BZ #14117]
0bd53985
L
38183 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38184 * sysdeps/x86/bits/xtitypes.h: This.
38185
3a257e66
L
38186 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38187 * sysdeps/x86/bits/wordsize.h: This.
38188
62f62904
L
38189 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38190 * sysdeps/x86/bits/huge_vall.h: This.
38191
404fe9d9
L
38192 * sysdeps/i386/bits/select.h: Removed.
38193 * sysdeps/x86_64/bits/select.h: Renamed to ...
38194 * sysdeps/x86/bits/select.h: This.
38195
d48d0446
L
38196 * sysdeps/i386/bits/setjmp.h: Removed.
38197 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38198 * sysdeps/x86/bits/setjmp.h: This.
38199
7dc00e0d
L
38200 * sysdeps/i386/bits/mathdef.h: Removed.
38201 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38202 * sysdeps/x86/bits/mathdef.h: This.
38203
03277f8f
AS
382042012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38205
38206 [BZ #14132]
38207 * include/sys/socket.h (__connect_internal)
38208 (__libc_sa_len_internal): Remove declaration.
38209 (__connect, __libc_sa_len): Declare hidden_proto.
38210 (SA_LEN): Remove use of INTUSE.
38211 * socket/connect.c: Add libc_hidden_def.
38212 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38213 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38214 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38215 alias.
38216 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38217 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38218 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38219 of adding _internal alias.
38220
13764867
L
382212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38222
38223 [BZ #14117]
6bd97696
L
38224 * sysdeps/i386/bits/link.h: Removed.
38225 * sysdeps/i386/bits/linkmap.h: Likewise.
38226 * sysdeps/x86_64/bits/link.h: Renamed to ...
38227 * sysdeps/x86/bits/link.h: This.
38228 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38229 * sysdeps/x86/bits/linkmap.h: This.
38230
f726f0bb
L
38231 * sysdeps/i386/bits/endian.h: Removed.
38232 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38233 * sysdeps/x86/bits/endian.h: This.
38234
13764867
L
38235 * sysdeps/i386/bits/byteswap.h: Removed.
38236 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38237 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38238 * sysdeps/x86/bits/byteswap.h: This.
38239 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38240 * sysdeps/x86/bits/byteswap-16.h: This.
38241 * sysdeps/i386/Implies: Add x86.
38242 * sysdeps/x86_64/Implies: Likewise.
38243
ae251b0b
DM
382442012-05-30 David S. Miller <davem@davemloft.net>
38245
38246 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38247 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38248 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38249 (FP_TRAPPING_EXCEPTIONS): Define.
38250 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38251 (FP_TRAPPING_EXCEPTIONS): Define.
38252 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38253 subnormals only when inexact has been signalled or underflow
38254 exceptions are enabled.
38255 (_FP_PACK_CANONICAL): Likewise.
38256
d5c90867
L
382572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38258
38259 [BZ #14183]
38260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38261 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38262
63f1549e
RH
382632012-05-30 Richard Henderson <rth@twiddle.net>
38264
8d8f2279
RH
38265 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38266 with #ifndef NOT_IN_libc.
38267
63f1549e
RH
38268 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38269 marked to avoid plt entry.
38270
0ab0291b
L
382712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 [BZ #14112]
38274 * Makeconfig (default-abi): New macro.
38275 (abi-includes): Likewise.
38276 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38277 $(abi-$(default-abi)-lib-soname) for soname if defined.
38278 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38279 abi-variants.
38280 * Makefile (installed-stubs): Likewise.
38281 * include/stubs-biarch.h: Removed.
38282 * scripts/lib-names.awk: Only handle one library at a time.
38283 * scripts/soversions.awk: Remove WORDSIZE support.
38284 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38285 entries.
38286 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38287 Removed.
38288 (syscall-list-default-condition): Likewise.
38289 (syscall-list-default-condition): Likewise.
38290 (syscall-list-includes): Likewise.
38291 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38292 syscall-list-* with abi-*. Handle undefined abi-variants.
38293 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38294 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38295 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38296 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38297 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38298 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38299 Removed.
38300 (syscall-list-32-options): Likewise.
38301 (syscall-list-32-condition): Likewise.
38302 (syscall-list-64-options): Likewise.
38303 (syscall-list-64-condition): Likewise.
38304 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38305 macro.
38306 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38307 Renamed to ...
38308 (abi-*): This.
38309 (abi-64-ld-soname): New macro.
38310 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38311 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38312 Renamed to ...
38313 (abi-*): This.
38314 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38315 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38316
4da0431d
JM
383172012-05-30 Joseph Myers <joseph@codesourcery.com>
38318
3a85279c
JM
38319 * sysdeps/unix/sysv/linux/kernel-features.h
38320 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38321 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38322 include <kernel-features.h>.
38323 [!__NR_ftruncate64]: Remove conditional code.
38324 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38325 [__NR_ftruncate64]: Make code unconditional.
38326 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38327 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38328 include <kernel-features.h>.
38329 [!__NR_ftruncate64]: Remove conditional code.
38330 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38331 [__NR_ftruncate64]: Make code unconditional.
38332 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38334 include <kernel-features.h>.
38335 [!__NR_ftruncate64]: Remove conditional code.
38336 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38337 [__NR_ftruncate64]: Make code unconditional.
38338 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38340 include <kernel-features.h>.
38341 [!__NR_ftruncate64]: Remove conditional code.
38342 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38343 [__NR_ftruncate64]: Make code unconditional.
38344 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38345
4da0431d
JM
38346 * configure.in (libc_cv_fpie): Weaken to a compile test using
38347 LIBC_TRY_CC_OPTION.
38348 * configure: Regenerated.
38349
11ef492c
AK
383502012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38351
38352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38356 Refreshed.
38357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38363 Refreshed.
38364
d66ef399
DM
383652012-05-27 David S. Miller <davem@davemloft.net>
38366
38367 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38368 (___Q_zero): New.
38369 (__Q_simulate_exceptions): Return void. Change to simulate
38370 exceptions by writing into the %fsr.
38371 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38372 (__Qp_handle_exceptions): Likewise.
38373 (numbers): Delete.
38374 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38375 __Qp_handle_exceptions.
38376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38377 __Qp_handle_exceptions.
38378 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38379 as unused and give dummy FP_RND_NEAREST initializer.
38380 (FP_INHIBIT_RESULTS): Define.
38381 (___Q_simulate_exceptions): Update declaration.
38382 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38383 formatting.
38384 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38385 as unused and give dummy FP_RND_NEAREST initializer.
38386 (__Qp_handle_exceptions): Update declaration.
38387 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38388 formatting.
38389
04fb54b5
TS
383902012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38391
38392 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38393 the temporary FPU control word.
38394 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38395 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38396 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38397 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38398 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38399 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38400 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38401 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38402 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38403 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38404 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38405
3f99608f
KK
384062012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38407
38408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38409 fields.
38410
65a4de4e
CLT
384112012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38412
38413 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38414 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38415 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38416 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38417 Likewise.
38418 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38419 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38420 Likewise.
38421
15749d40
UD
384222012-05-27 Ulrich Drepper <drepper@gmail.com>
38423
38424 * po/h.po: Update from translation team.
38425
25dbcb27
AS
384262012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38427
3d3f8e55
AS
38428 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38429
25dbcb27
AS
38430 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38431 handling of denormals.
38432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38433 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38434 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38435 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38437 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38439 Likewise.
38440
7ad47a80 384412012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
38442
38443 [BZ #14152]
38444 * math/libm-test.inc (fma_test): Don't always expect underflow
38445 exception.
38446
9c6ea9fa
SP
384472012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38448
38449 [BZ #12416]
38450 * elf/tst-execstack.c: Include stackinfo.h.
38451 (do_test): Adjust test case to ensure that pthread_getattr_np
38452 behaviour remains the same after marking stack executable.
38453
a8239222
JM
384542012-05-25 Joseph Myers <joseph@codesourcery.com>
38455
38456 * sysdeps/unix/sysv/linux/kernel-features.h
38457 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38458 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38459 kernel-features.h.
38460 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38461 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38462 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38463 kernel-features.h.
38464 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38465 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38466
918b5606
L
384672012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38468
38469 * configure.in: Define the default includes to being none.
38470 * configure: Regenerated.
38471
3a097cc7
RM
384722012-05-25 Roland McGrath <roland@hack.frob.com>
38473
8422c9a5
RM
38474 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38475 * sysdeps/x86_64/setjmp.S: Likewise.
38476 * sysdeps/i386/bsd-setjmp.S: Likewise.
38477 * sysdeps/i386/bsd-_setjmp.S: Likewise.
38478 * sysdeps/i386/setjmp.S: Likewise.
38479 * sysdeps/i386/__longjmp.S: Likewise.
38480 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38481 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38482
3a097cc7
RM
38483 * include/stap-probe.h: New file.
38484 * configure.in: Handle --enable-systemtap.
38485 * configure: Regenerated.
38486 * config.h.in (USE_STAP_PROBE): New #undef.
38487 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38488 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38489 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38490
21708942
JM
384912012-05-25 Joseph Myers <joseph@codesourcery.com>
38492
38493 [BZ #13717]
38494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38495 to 2.4.0 where earlier.
38496 * sysdeps/unix/sysv/linux/configure: Regenerated.
38497 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38498 <kernel-features.h>.
38499 [__ASSUME_32BITUIDS]: Make code unconditional.
38500 [!__ASSUME_32BITUIDS]: Remove conditional code.
38501 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38502 <kernel-features.h>.
38503 [__ASSUME_32BITUIDS]: Make code unconditional.
38504 [!__ASSUME_32BITUIDS]: Remove conditional code.
38505 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38506 [__ASSUME_32BITUIDS]: Make code unconditional.
38507 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38508 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38509 <kernel-features.h>.
38510 [__ASSUME_32BITUIDS]: Make code unconditional.
38511 [!__ASSUME_32BITUIDS]: Remove conditional code.
38512 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38513 <kernel-features.h>.
38514 [__ASSUME_32BITUIDS]: Make code unconditional.
38515 [!__ASSUME_32BITUIDS]: Remove conditional code.
38516 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38517 <kernel-features.h>.
38518 [__ASSUME_32BITUIDS]: Make code unconditional.
38519 [!__ASSUME_32BITUIDS]: Remove conditional code.
38520 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38521 <kernel-features.h>.
38522 [__ASSUME_32BITUIDS]: Make code unconditional.
38523 [!__ASSUME_32BITUIDS]: Remove conditional code.
38524 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38525 <kernel-features.h>.
38526 [__ASSUME_32BITUIDS]: Make code unconditional.
38527 [!__ASSUME_32BITUIDS]: Remove conditional code.
38528 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38529 <kernel-features.h>.
38530 [__ASSUME_32BITUIDS]: Make code unconditional.
38531 [!__ASSUME_32BITUIDS]: Remove conditional code.
38532 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38533 <kernel-features.h>.
38534 [__ASSUME_32BITUIDS]: Make code unconditional.
38535 [!__ASSUME_32BITUIDS]: Remove conditional code.
38536 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38537 <kernel-features.h>.
38538 [__ASSUME_32BITUIDS]: Make code unconditional.
38539 [!__ASSUME_32BITUIDS]: Remove conditional code.
38540 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38541 <kernel-features.h>.
38542 [__ASSUME_32BITUIDS]: Make code unconditional.
38543 [!__ASSUME_32BITUIDS]: Remove conditional code.
38544 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38545 <kernel-features.h>.
38546 [__ASSUME_32BITUIDS]: Make code unconditional.
38547 [!__ASSUME_32BITUIDS]: Remove conditional code.
38548 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38549 <kernel-features.h>.
38550 [__NR_setresgid] (__setresgid): Do not declare.
38551 [__ASSUME_32BITUIDS]: Make code unconditional.
38552 [!__ASSUME_32BITUIDS]: Remove conditional code.
38553 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38554 <kernel-features.h>.
38555 [__NR_setresuid] (__setresuid): Do not declare.
38556 [__ASSUME_32BITUIDS]: Make code unconditional.
38557 [!__ASSUME_32BITUIDS]: Remove conditional code.
38558 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38559 <kernel-features.h>.
38560 [__ASSUME_32BITUIDS]: Make code unconditional.
38561 [!__ASSUME_32BITUIDS]: Remove conditional code.
38562 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38563 <kernel-features.h>.
38564 [__ASSUME_32BITUIDS]: Make code unconditional.
38565 [!__ASSUME_32BITUIDS]: Remove conditional code.
38566 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38567 <kernel-features.h>.
38568 [__ASSUME_32BITUIDS]: Make code unconditional.
38569 [!__ASSUME_32BITUIDS]: Remove conditional code.
38570 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38571 <kernel-features.h>.
38572 [__ASSUME_32BITUIDS]: Make code unconditional.
38573 [!__ASSUME_32BITUIDS]: Remove conditional code.
38574 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38575 <kernel-features.h>.
38576 [__ASSUME_32BITUIDS]: Make code unconditional.
38577 [!__ASSUME_32BITUIDS]: Remove conditional code.
38578 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38579 <kernel-features.h>.
38580 [__ASSUME_32BITUIDS]: Make code unconditional.
38581 [!__ASSUME_32BITUIDS]: Remove conditional code.
38582 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38583 <kernel-features.h>.
38584 [__ASSUME_32BITUIDS]: Make code unconditional.
38585 [!__ASSUME_32BITUIDS]: Remove conditional code.
38586 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38587 <kernel-features.h>.
38588 [__ASSUME_32BITUIDS]: Make code unconditional.
38589 [!__ASSUME_32BITUIDS]: Remove conditional code.
38590 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38591 <kernel-features.h>.
38592 [__ASSUME_32BITUIDS]: Make code unconditional.
38593 [!__ASSUME_32BITUIDS]: Remove conditional code.
38594 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38595 <kernel-features.h>.
38596 [__ASSUME_32BITUIDS]: Make code unconditional.
38597 [!__ASSUME_32BITUIDS]: Remove conditional code.
38598 * sysdeps/unix/sysv/linux/kernel-features.h
38599 (__ASSUME_SETRESUID_SYSCALL): Remove.
38600 (__ASSUME_SETRESGID_SYSCALL): Likewise.
38601 (__ASSUME_32BITUIDS): Likewise.
38602 (__ASSUME_LDT_WORKS): Likewise.
38603 (__ASSUME_O_DIRECTORY): Likewise.
38604 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38605 architecture but not kernel version.
38606 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38607 (__ASSUME_MMAP2_SYSCALL): Likewise.
38608 (__ASSUME_STAT64_SYSCALL): Likewise.
38609 (__ASSUME_IPC64): Likewise.
38610 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38611 <kernel-features.h>.
38612 [__ASSUME_32BITUIDS]: Make code unconditional.
38613 [!__ASSUME_32BITUIDS]: Remove conditional code.
38614 * sysdeps/unix/sysv/linux/opendir.c: Do not include
38615 <kernel-features.h>.
38616 [__ASSUME_O_DIRECTORY]: Make code unconditional.
38617 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38618 132096]: Remove conditional code.
38619 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38620 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38621 <kernel-features.h>.
38622 [__ASSUME_32BITUIDS]: Make code unconditional.
38623 [!__ASSUME_32BITUIDS]: Remove conditional code.
38624 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38625 <kernel-features.h>.
38626 [__ASSUME_32BITUIDS]: Make code unconditional.
38627 [!__ASSUME_32BITUIDS]: Remove conditional code.
38628 * sysdeps/unix/sysv/linux/setegid.c: Do not include
38629 <kernel-features.h>.
38630 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38631 unconditional.
38632 (__setresgid): Do not declare.
38633 [__ASSUME_32BITUIDS]: Make code unconditional.
38634 [!__ASSUME_32BITUIDS]: Remove conditional code.
38635 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38636 <kernel-features.h>.
38637 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38638 unconditional.
38639 (__setresuid): Do not declare.
38640 [__ASSUME_32BITUIDS]: Make code unconditional.
38641 [!__ASSUME_32BITUIDS]: Remove conditional code.
38642 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38643 <kernel-features.h>.
38644 [__ASSUME_32BITUIDS]: Make code unconditional.
38645 [!__ASSUME_32BITUIDS]: Remove conditional code.
38646 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38647 <kernel-features.h>.
38648 [__ASSUME_32BITUIDS]: Make code unconditional.
38649 [!__ASSUME_32BITUIDS]: Remove conditional code.
38650
a386f1cc
RH
386512012-05-25 Richard Henderson <rth@twiddle.net>
38652
38653 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38654 dl_hwcap to ifunc resolver.
38655 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38656 elf_ifunc_invoke.
38657 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38658 dl_hwcap to ifunc resolver.
38659 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38660
b6550497
JM
386612012-05-24 Joseph Myers <joseph@codesourcery.com>
38662
38663 [BZ #14153]
38664 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38665 for |x| <= 2**-26, not 2**-57.
38666 * math/libm-test.inc (acos_test): Do not allow spurious underflow
38667 exception.
38668
b0bc23a1
JL
386692012-05-24 Jeff Law <law@redhat.com>
38670
38671 * stdio-common/Makefile (tests): Add bug25.
38672 * stdio-common/bug25.c: New test.
38673
347c92e9
L
386742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38675
38676 [BZ #13576]
38677 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38678 multiple of MALLOC_ALIGNMENT in size.
38679 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38680
6bcc8b3f
JM
386812012-05-24 Joseph Myers <joseph@codesourcery.com>
38682
38683 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38684 Require >= 256.
38685 (FILENAME_MAX): Use macro-int-constant.
38686 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
38687 (_IOFBF): Use macro-int-constant.
38688 (_IOLBF): Likewise.
38689 (_IONBF): Likewise.
38690 (SEEK_CUR): Likewise.
38691 (SEEK_END): Likewise.
38692 (SEEK_SET): Likewise.
38693 (TMP_MAX): Likewise.
38694 (EOF): Use macro-int-constant. Require < 0.
38695 (NULL): Use macro-constant. Require == 0.
38696 (stdin): Require type to be FILE *.
38697 (stdout): Likewise.
38698 (stderr): Likewise.
38699 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38700 macro-int-constant.
38701 (EXIT_SUCCESS): Likewise.
38702 (NULL): Use macro-constant. Require == 0.
38703 (RAND_MAX): Use macro-int-constant.
38704 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38705 [C99-based standards] (strtof): Require function.
38706 [C99-based standards] (strtold): Likewise.
38707 [C99-based standards] (strtoll): Likewise.
38708 [C99-based standards] (strtoull): Likewise.
38709 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38710 [ISO || ISO99 || ISO11] (limits.h): Likewise.
38711 [ISO || ISO99 || ISO11] (math.h): Likewise.
38712 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38713 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38715
d18ea0c5
AS
387162012-05-24 Andreas Schwab <schwab@linux-m68k.org>
38717
38718 [BZ #14132]
56d25bb8
AS
38719 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38720 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38721 * intl/dgettext.c (DCGETTEXT): Likewise.
38722 * intl/gettext.c (DCGETTEXT): Likewise.
38723 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38724 * posix/regex_internal.h (gettext): Likewise.
38725 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38726 Remove declaration.
38727 * include/argz.h (__argz_count_internal)
38728 (__argz_stringify_internal): Remove declaration.
38729 (__argz_count, __argz_stringify): Declare hidden proto.
38730 * intl/dcgettext.c: Remove use of INTDEF.
38731 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38732 * string/argz-stringify.c: Likewise.
38733 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38734 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38735 Declare hidden proto.
d18ea0c5
AS
38736 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38737 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38738 Declare hidden proto.
38739 * include/stdio.h (__asprintf_internal): Don't declare.
38740 (__asprintf): Don't define as macro. Declare hidden proto.
38741 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38742 (__fsetlocking): Declare hidden proto.
38743 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38744 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38745 hidden proto.
38746 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38747 (_IO_setlinebuf): Remove use of INTUSE.
38748 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38749 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38750 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38751 Remove declaration.
38752 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38753 (_IO_do_flush): Remove use of INTUSE.
38754 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38755 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38756 (_IO_adjust_column, _IO_least_wmarker)
38757 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38758 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38759 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38760 (_IO_default_doallocate, _IO_wdefault_doallocate)
38761 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38762 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38763 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38764 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38765 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38766 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38767 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38768 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38769 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38770 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38771 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38772 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38773 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38774 proto.
38775 (_IO_flush_all_internal, _IO_adjust_column_internal)
38776 (_IO_default_uflow_internal, _IO_default_finish_internal)
38777 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38778 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38779 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38780 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38781 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38782 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38783 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38784 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38785 (_IO_file_close_internal, _IO_file_close_it_internal)
38786 (_IO_file_underflow_internal, _IO_file_overflow_internal)
38787 (_IO_file_init_internal, _IO_file_attach_internal)
38788 (_IO_file_fopen_internal, _IO_file_read_internal)
38789 (_IO_file_sync_internal, _IO_file_seek_internal)
38790 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38791 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38792 (_IO_str_underflow_internal, _IO_str_overflow_internal)
38793 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38794 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38795 (_IO_list_all_internal, _IO_link_in_internal)
38796 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38797 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38798 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38799 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38800 (_IO_do_write_internal, _IO_padn_internal)
38801 (_IO_getline_info_internal, _IO_getline_internal)
38802 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38803 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38804 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38805 (_IO_vfscanf_internal, _IO_vfprintf_internal)
38806 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38807 (_IO_init_internal, _IO_un_link_internal): Don't declare.
38808 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38809 with libc_hidden_ver, remove use of INTUSE.
38810 * libio/genops.c: Likewise.
38811 * libio/freopen.c: Likewise.
38812 * libio/freopen64.c: Likewise.
38813 * libio/iofclose.c: Likewise.
38814 * libio/iofdopen.c: Likewise.
38815 * libio/iofflush.c: Likewise.
38816 * libio/iofflush_u.c: Likewise.
38817 * libio/iofgets.c: Likewise.
38818 * libio/iofgets_u.c: Likewise.
38819 * libio/iofopen.c: Likewise.
38820 * libio/iofopncook.c: Likewise.
38821 * libio/iofread.c: Likewise.
38822 * libio/iofread_u.c: Likewise.
38823 * libio/ioftell.c: Likewise.
38824 * libio/iofwrite.c: Likewise.
38825 * libio/iogetline.c: Likewise.
38826 * libio/iogets.c: Likewise.
38827 * libio/iogetwline.c: Likewise.
38828 * libio/iopadn.c: Likewise.
38829 * libio/iopopen.c: Likewise.
38830 * libio/ioseekoff.c: Likewise.
38831 * libio/ioseekpos.c: Likewise.
38832 * libio/iosetbuffer.c: Likewise.
38833 * libio/iosetvbuf.c: Likewise.
38834 * libio/ioungetc.c: Likewise.
38835 * libio/ioungetwc.c: Likewise.
38836 * libio/iovdprintf.c: Likewise.
38837 * libio/iovsprintf.c: Likewise.
38838 * libio/iovsscanf.c: Likewise.
38839 * libio/memstream.c: Likewise.
38840 * libio/obprintf.c: Likewise.
38841 * libio/oldfileops.c: Likewise.
38842 * libio/oldiofclose.c: Likewise.
38843 * libio/oldiofdopen.c: Likewise.
38844 * libio/oldiofopen.c: Likewise.
38845 * libio/oldiopopen.c: Likewise.
38846 * libio/oldstdfiles.c: Likewise.
38847 * libio/putc.c: Likewise.
38848 * libio/setbuf.c: Likewise.
38849 * libio/setlinebuf.c: Likewise.
38850 * libio/stdfiles.c: Likewise.
38851 * libio/strops.c: Likewise.
38852 * libio/vasprintf.c: Likewise.
38853 * libio/vscanf.c: Likewise.
38854 * libio/vsnprintf.c: Likewise.
38855 * libio/vswprintf.c: Likewise.
38856 * libio/wfiledoalloc.c: Likewise.
38857 * libio/wfileops.c: Likewise.
38858 * libio/wgenops.c: Likewise.
38859 * libio/wmemstream.c: Likewise.
38860 * libio/wstrops.c: Likewise.
38861 * libio/__fpurge.c: Likewise.
38862 * libio/__fsetlocking.c: Likewise.
38863 * assert/assert.c: Likewise.
38864 * debug/fgets_chk.c: Likewise.
38865 * debug/fgets_u_chk.c: Likewise.
38866 * debug/fread_chk.c: Likewise.
38867 * debug/fread_u_chk.c: Likewise.
38868 * debug/gets_chk.c: Likewise.
38869 * debug/obprintf_chk.c: Likewise.
38870 * debug/vasprintf_chk.c: Likewise.
38871 * debug/vdprintf_chk.c: Likewise.
38872 * debug/vsnprintf_chk.c: Likewise.
38873 * debug/vsprintf_chk.c: Likewise.
38874 * malloc/mtrace.c: Likewise.
38875 * misc/error.c: Likewise.
38876 * misc/syslog.c: Likewise.
38877 * stdio-common/asprintf.c: Likewise.
38878 * stdio-common/fxprintf.c: Likewise.
38879 * stdio-common/getw.c: Likewise.
38880 * stdio-common/isoc99_fscanf.c: Likewise.
38881 * stdio-common/isoc99_scanf.c: Likewise.
38882 * stdio-common/isoc99_vfscanf.c: Likewise.
38883 * stdio-common/isoc99_vscanf.c: Likewise.
38884 * stdio-common/isoc99_vsscanf.c: Likewise.
38885 * stdio-common/printf-prs.c: Likewise.
38886 * stdio-common/printf_fp.c: Likewise.
38887 * stdio-common/printf_fphex.c: Likewise.
38888 * stdio-common/printf_size.c: Likewise.
38889 * stdio-common/putw.c: Likewise.
38890 * stdio-common/scanf.c: Likewise.
38891 * stdio-common/sprintf.c: Likewise.
38892 * stdio-common/tmpfile.c: Likewise.
38893 * stdio-common/vfprintf.c: Likewise.
38894 * stdio-common/vfscanf.c: Likewise.
38895 * stdlib/strfmon_l.c: Likewise.
38896 * sunrpc/openchild.c: Likewise.
38897 * sunrpc/xdr_stdio.c: Likewise.
38898 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38899 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38900
d6c33fda
RM
389012012-05-24 Roland McGrath <roland@hack.frob.com>
38902
c1487492
RM
38903 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38904
38905 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38906 in the third column, to generate for the shared library an IFUNC
38907 that uses _dl_vdso_vsym.
38908 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38909 * Makeconfig (object-suffixes-noshared): New variable.
38910
38911 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38912 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38913 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38914 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38915
d6c33fda
RM
38916 [BZ #14132]
38917 * include/sys/time.h (__gettimeofday): Remove macro.
38918 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38919 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38920 Remove INTDEF.
38921 (__gettimeofday): Add libc_hidden_def.
38922 (gettimeofday): Add libc_hidden_weak.
38923 * sysdeps/mach/gettimeofday.c: Likewise.
38924 * sysdeps/posix/gettimeofday.c: Likewise.
38925 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38926 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38928 (__gettimeofday_internal): Remove strong_alias.
38929 (__gettimeofday): Add libc_hidden_def.
38930 (gettimeofday): Add libc_hidden_weak.
38931 * sysdeps/unix/syscalls.list (gettimeofday):
38932 Remove __gettimeofday_internal alias.
38933
b5a2bbe6
L
389342012-05-24 Daniel Jacobowitz <drow@false.org>
38935 H.J. Lu <hongjiu.lu@intel.com>
38936
38937 [BZ #12495]
38938 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38939 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38940 (largebin_index_32_big): New.
38941 (largebin_index): Use it for 16-byte alignment.
38942 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38943 correction with front_misalign.
38944
cfba4fda
L
389452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38946
7f907421
L
38947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38949 Likewise.
38950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38951 Likewise.
38952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38953 Likewise.
38954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38955 Likewise.
38956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38957 Likewise.
38958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38959 Likewise.
38960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38961 Likewise.
38962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38963 Likewise.
38964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38965 Likewise.
38966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38967 Likewise.
38968 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38969 Likewise.
38970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38971 Likewise.
38972
cfba4fda
L
38973 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38974 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38975
80bad0cc
JM
389762012-05-24 Joseph Myers <joseph@codesourcery.com>
38977
7a25eb06
JM
38978 [BZ #10846]
38979 [BZ #14036]
38980 * math/libm-test.inc (exp_test): Add test from bug 14036.
38981 (pow_test): Add test from bug 10846.
38982
795405f9
JM
38983 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38984 and other flags.
38985 (special_function): Do not include flags in test name.
38986 (parse_args): Likewise.
38987 * sysdeps/i386/fpu/libm-test-ulps: Update.
38988 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38989 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38990 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38992
80bad0cc
JM
38993 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38994 exceptions.
38995 * math/libm-test.inc ("Philosophy"): Update comment about
38996 exception testing.
38997 (UNDERFLOW_EXCEPTION): New macro.
38998 (UNDERFLOW_EXCEPTION_OK): Likewise.
38999 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39000 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39001 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39002 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39003 (INVALID_EXCEPTION_OK): Update value.
39004 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39005 (OVERFLOW_EXCEPTION_OK): Likewise.
39006 (IGNORE_ZERO_INF_SIGN): Likewise.
39007 (test_exceptions): Handle underflow exceptions.
39008 (acos_test): Update for underflow exception expectations.
39009 (cexp_test): Likewise.
39010 (clog_test): Likewise.
39011 (clog10_test): Likewise.
39012 (csqrt_test): Likewise.
39013 (ctan_test): Likewise.
39014 (ctanh_test): Likewise.
39015 (exp_test): Likewise.
39016 (exp10_test): Likewise.
39017 (exp2_test): Likewise.
39018 (expm1_test): Likewise.
39019 (fma_test): Likewise.
39020 (j0_test): Likewise.
39021 (jn_test): Likewise.
39022 (nexttoward_test): Likewise.
39023 (pow_test): Likewise.
39024 (scalbn_test): Likewise.
39025 (scalbln_test): Likewise.
39026 (tan_test): Likewise.
39027 (y1_test): Likewise.
39028 * sysdeps/i386/fpu/libm-test-ulps: Update.
39029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39030
9e0e3d0b
DM
390312012-05-23 David S. Miller <davem@davemloft.net>
39032
39033 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39034 (__libc_sigaction): Remove unused local variables.
39035
ccd0a08f
L
390362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39037
39038 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39039
62bdf9a6
PE
390402012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39041
f8591f80
PE
39042 mktime: avoid signed integer overflow
39043 * time/mktime.c (__mktime_internal): Do not mishandle the case
39044 where diff == INT_MIN.
39045
94c7d826
PE
39046 mktime: simplify computation of average
39047 * time/mktime.c (ranged_convert): Use new time_t_avg function
39048 instead of rolling our own (probably-slower) code.
39049
ce73d683
PE
39050 mktime: do not assume signed right shift propagates sign bit
39051 * time/mktime.c (isdst_differ): New static function.
39052 (__mktime_internal): No need to normalize tm_isdst now.
39053 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39054 tm_isdst values.
39055
72a22e59
PE
39056 mktime: merge another wrapv change from gnulib
39057 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39058 from some compilers.
39059
68605433
PE
39060 mktime: remove incorrect attempt at unusual arithmetics
39061 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39062 The code didn't really work on such machines anyway.
39063 (TYPE_MINIMUM): Assume two's complement.
39064 (twos_complement_arithmetic): Verify that long_int and time_t
39065 are two's complement (or unsigned, in the latter case).
39066
03cf7fe3
PE
39067 mktime: check signed shifts on long_int and time_t, too
39068 * time/mktime.c (SHR): Check that shifts work as desired
39069 on the types long_int and time_t too, as SHR is used on
39070 such types.
39071
f04dfbc2
PE
39072 mktime: do not assume 'long' is wide enough
39073 * time/mktime.c (verify): Move decl up.
39074 (long_int): New type.
39075 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39076 to remove assumption in the code that 'long' is wide enough to
39077 store year values. This assumption is not true on x32 and on
39078 some non-glibc platforms.
39079
62bdf9a6
PE
39080 mktime: merge wrapv change from gnulib
39081 * time/mktime.c (WRAPV): New macro.
39082 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39083 (guess_time_tm, __mktime_internal): Do not assume that signed
39084 integer overflow wraps around; modern compilers generate code
39085 where this assumption is no longer valid.
39086
5e292e4f
L
390872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39088
39089 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39090 Replace "jmp L(pseudo_end)" with "ret".
39091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39092 Likewise.
39093
8caf8c87
AJ
390942012-05-23 Andreas Jaeger <aj@suse.de>
39095
39096 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39097 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39098
1a09dc56
AJ
390992012-05-23 Andreas Jaeger <aj@suse.de>
39100 Maximilian Attems <max@stro.at>
39101
39102 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39103 New macros.
39104
1c87aba0
L
391052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39106
39107 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39108 code so that pseudo_end is just ret and the stack pointer is
39109 correct also for static library in error case.
39110
40e45bd5
JM
391112012-05-23 Joseph Myers <joseph@codesourcery.com>
39112
c2670533
JM
39113 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39114 move to syscalls.list.
39115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39119
40e45bd5
JM
39120 * manual/install.texi (Running make install): Do not mention Linux
39121 kernel version for which pt_chown is not needed.
39122 (Linux): Do not mention problems with nscd with 2.0 kernels.
39123 * INSTALL: Regenerated.
39124
be08eda5
AJ
391252012-05-23 Andreas Jaeger <aj@suse.de>
39126
39127 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39128 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39129 macro.
39130 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39132 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39133 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39134 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39137 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39138 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39139 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39140 * sysdeps/unix/sysv/linux/bits/in.h
39141 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39142
a6a056bb
RM
391432012-05-22 Roland McGrath <roland@hack.frob.com>
39144
39145 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39146 (PREPARE_VERSION): Just use assert instead, it will be elided
39147 under [NDEBUG] anyway.
39148
c9009328
L
391492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39150
39151 * sysdeps/unix/sysv/linux/Makefile: Include
39152 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 39153 (sysdep_routines): Remove sysctl.
c9009328
L
39154 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39155 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39156 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39157 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39158 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39159
73338355
AJ
391602012-05-22 Andreas Jaeger <aj@suse.de>
39161
39162 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39163 that pseudo_end is just ret and the stack pointer is correct also
39164 for static library in error case.
39165
d44638b0
PP
391662012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39167
39168 [BZ #14122]
39169 * nss/nsswitch.c (defconfig_entries): New variable.
39170 (__nss_database_lookup): Don't leak defconfig entries.
39171 (nss_parse_service_list): Don't leak on error paths.
39172 (free_database_entries): New function.
39173 (free_defconfig): New function.
39174 (free_mem): Move common code to free_database_entries.
39175
31a39bd8
L
391762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39177
da0331a8
L
39178 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39179 Add arch_prctl.
39180 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39181
31a39bd8
L
39182 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39183 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39185 New macro.
39186 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39187 (INTERNAL_SYSCALL_TYPES): Likewise.
39188 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39189 (LOAD_REGS_TYPES_[1-6]): Likewise.
39190 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39191 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39192
45470df3
AZ
391932012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39194
39195 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39196 copysignl for GLIBC_2_0.
39197 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39198 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39200 logbl for GLIBC_2_0.
39201 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39202 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39203
98a61bcb
L
392042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39205
a4f6e481
L
39206 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39207 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39208
f63d5db6
L
39209 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39210 Use "neg %eax".
39211
98a61bcb
L
39212 * time/mktime.c: Update copyright years.
39213
95770f14
PE
392142012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39215
6226efbd
PE
39216 mktime: merge comment-quoting-style change from gnulib
39217 * time/mktime.c: Quote 'like this' in comments.
39218 The GNU coding standards suggest that we no longer quote `like this',
39219 as "`" and "'" are typically rendered asymmetrically nowadays.
39220 The typical gnulib style is to quote 'like this' when quoting
39221 code, and "like this" when quoting English.
39222
b99e4f78
PE
39223 * time/mktime.c (compile-command): Add "-I.".
39224
643e01e6
PE
39225 mktime: merge mktime-internal.h change from gnulib
39226 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39227
2554247d
PE
39228 mktime: merge time_r change from gnulib
39229 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39230
826dd0ab
PE
39231 mktime: merge DEBUG change from gnulib
39232 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39233 case system <time.h> has a #define.
39234
bd83aabe
PE
39235 mktime: merge <sys/types.h> change from gnulib
39236 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39237 since <time.t> is now guaranteed to define time_t.
39238
95770f14
PE
39239 mktime: merge HAVE_CONFIG_H change from gnulib
39240 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39241
5e1a27a9
L
392422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39243
0e44a77e
L
39244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39245 Use "neg %eax".
39246
5e1a27a9
L
39247 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39248 __rlim_t cast.
39249 (struct rusage): Use anonymous union to pad each field to
39250 __syscall_slong_t.
39251
46259bec
DM
392522012-05-21 David S. Miller <davem@davemloft.net>
39253
39254 * Makefules (o-iterator): Remove .s cases.
39255 (compile-command.s): Delete.
39256 (COMPILE.s): Delete.
39257 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39258
59f0c22e
JM
392592012-05-21 Joseph Myers <joseph@codesourcery.com>
39260
39261 * configure.in (libc_cv_predef_stack_protector): Only consider
39262 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39263 * configure: Regenerated.
39264
20c07380
L
392652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39266
bbb3154b
L
39267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39268 New macro. Use R*LP on int and pointer.
39269 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
39270 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39271 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
39272 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39273
20c07380
L
39274 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39275 [__WORDSIZE_TIME64_COMPAT32] instead of
39276 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39277 (struct utmp): Likewise.
39278 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39279 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39280 Renamed to ...
39281 (__WORDSIZE_TIME64_COMPAT32): This.
39282 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39283 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39284 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39285 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39286 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39287 (__WORDSIZE_TIME64_COMPAT32): New macro.
39288
d8d1017e
AJ
392892012-05-21 Andreas Jaeger <aj@suse.de>
39290
39291 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39292 only if [SHARED]. Add prototype for __wcschr_ia32.
39293
6c7fb145
RM
392942012-05-21 Roland McGrath <roland@hack.frob.com>
39295
39296 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39297 of %rbp unmolested in the jmp_buf while mangling the low bits.
39298 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39299 unmolested high bits of %rbp while demangling the low bits.
39300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39301
66274218
AJ
393022012-05-21 Andreas Jaeger <aj@suse.de>
39303
07c58f8f
AJ
39304 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39305 * sunrpc/svc_simple.c: Use it for registerrpc.
39306 * sunrpc/xcrypt.c: Use it for passwd2des.
39307
66274218
AJ
39308 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39309
61f65140
L
393102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39311
39312 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39313 Don't define if [__SYSCALL_WORDSIZE != 32].
39314 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39315 New macro.
39316
5fefb436
AJ
393172012-05-21 Bruno Haible <bruno@clisp.org>
39318 Andreas Jaeger <aj@suse.de>
39319
39320 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39321 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39322 inptr and inend for must_buffer_ch.
39323 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39324 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39325 * stdio-common/Makefile (tests): Remove bug15.
39326 (bug15-ENV): Remove macro.
39327 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39328 anymore.
39329
d8e272ab
AJ
393302012-05-19 Andreas Jaeger <aj@suse.de>
39331 Roland McGrath <roland@hack.frob.com>
39332
39333 * manual/contrib.texi: Completely rewritten. It contains now an
39334 alphabetical list of contributors and their contributions.
39335
4a56a162
RH
393362012-05-21 Richard Henderson <rth@twiddle.net>
39337
39338 * misc/getauxval.c (__getauxval): Use unsigned long int.
39339 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39340 (getauxval): Use unsigned long int.
39341
d024d23c
L
393422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39343
39344 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39345
cbc00a03
RM
393462012-05-21 Roland McGrath <roland@hack.frob.com>
39347
39348 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39349 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39350 __alignof__ (long double).
39351
478143fa
AZ
393522012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39353
39354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39355
c7683a6d
RH
393562012-05-20 Richard Henderson <rth@twiddle.net>
39357
39358 * misc/getauxval.c: New file.
39359 * misc/sys/auxv.h: New file.
39360 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39361 (routines): Add getauxval.
39362 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39363 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39364 * elf/dl-sysdep.c (_dl_auxv): Remove.
39365 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39366 * elf/dl-support.c (_dl_auxv): New variable.
39367 (_dl_aux_init): Initialize it.
39368 * manual/startup.texi (Auxiliary Vector): New node.
39369 * sysdeps/generic/bits/hwcap.h: New file.
39370 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39371 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39372 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39373 * sysdeps/sparc/sysdep.h: ... here. Include it.
39374 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39375 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
39376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39377 Update.
c7683a6d
RH
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39386
a6f1845d
AZ
393872012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39388
39389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39390
cbcbe830
DM
393912012-05-19 David S. Miller <davem@davemloft.net>
39392
39393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39394
e0b16cc2
JM
393952012-05-19 Joseph Myers <joseph@codesourcery.com>
39396
39397 [BZ #14123]
39398 * math/s_ccosh.c: Include <float.h>
39399 (__ccosh): Avoid internal overflow calculating sinh and cosh
39400 values before multiplying by sin and cos values.
39401 * math/s_ccoshf.c: Likewise.
39402 * math/s_ccoshl.c: Likewise.
39403 * math/s_csin.c: Likewise.
39404 * math/s_csinf.c: Likewise.
39405 * math/s_csinl.c: Likewise.
39406 * math/s_csinh.c: Likewise.
39407 * math/s_csinhf.c: Likewise.
39408 * math/s_csinhl.c: Likewise.
39409 * math/libm-test.inc (ccos_test): Add more tests.
39410 (ccosh_test): Likewise.
39411 (csin_test): Likewise.
39412 (csinh_test): Likewise.
39413 * sysdeps/i386/fpu/libm-test-ulps: Update.
39414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39415
6ad13e08
L
394162012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39417
f66f0ce8
L
39418 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39419 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39420
6ad13e08
L
39421 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39422
b1d072a7
JM
394232012-05-19 Joseph Myers <joseph@codesourcery.com>
39424
39425 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39426 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39427 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39428 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39429 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39430 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39431 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39432 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39433 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39434 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39435 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39436 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39437 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39438 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39439 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39440 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39441 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39442 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39443 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39444 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39445 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39446 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39447 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39448 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39449 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39450 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39451 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39452 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39453 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39454 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39455 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39456
9eae47cb
AJ
394572012-05-18 Andreas Jaeger <aj@suse.de>
39458
39459 * csu/.gitignore: Delete.
39460
bb07f69f
L
394612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39462
39463 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39464 (timex): Use __syscall_slong_t.
39465
e6bdb741
AJ
394662012-05-18 Andreas Jaeger <aj@suse.de>
39467 Carlos O'Donell <carlos_odonell@mentor.com>
39468
39469 * manual/install.texi (Configuring and compiling): Update
39470 description about files modified in the source directory.
d6c33fda 39471 * INSTALL: Regenerated.
e6bdb741 39472
1b74487e
L
394732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39474
39475 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39476 value. Use "or" to set return value to -1.
39477 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39478 negate return value.
39479
a88b64b9
TMQMF
394802012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39481
57f41c40
AS
39482 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39483 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
39484 failure if the compiler has Graphite support disabled.
39485 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39486 Likewise.
57f41c40
AS
39487 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39488 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
39489 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39490 Likewise.
39491
3707636e
L
394922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39493
610b8622
L
39494 * sysdeps/x86_64/x32/_itoa.h: New file.
39495
7cd195df
L
39496 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39497 getdents system call only if kernel and user dirents have the
39498 same d_ino and d_off.
39499
94b07d20
L
39500 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39501 LLONG_MAX != LONG_MAX.
39502 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39503 (_fitoa_word): Likewise.
39504
18298070
L
39505 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39506 years.
39507 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39508 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39509 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39510
553c7ea4
L
39511 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39512 include <bits/wordsize.h>. Check __x86_64__ instead of
39513 __WORDSIZE.
39514 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39515 if __x86_64__ is defined. Use anonymous union on fpstate.
39516
3707636e
L
39517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39518 anonymous union.
39519
b53ef01a
AS
395202012-05-18 Andreas Schwab <schwab@linux-m68k.org>
39521
37fb1dc0
AS
39522 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39523 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39524 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39525 Refer to _rtld_local_ro instead of _rtld_global_ro.
39526 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39527 Likewise.
39528 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39529 Likewise.
39530 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39531 Likewise.
39532 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39533 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39534 of _rtld_global, and rtld_progname instead of _dl_argv[0].
39535
b53ef01a
AS
39536 * sysdeps/powerpc/powerpc32/dl-machine.c
39537 (__elf_machine_runtime_setup) [PROF]: Don't reference
39538 _dl_prof_resolve.
39539
7a185db2
AJ
395402012-05-18 Andreas Jaeger <aj@suse.de>
39541
39542 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39543 function only available for GCCs before 3.4 since GCC 3.4
39544 introduced a builtin.
39545 (lrint): Likewise.
39546 (llrintf): Likewise.
39547 (llrint): Likewise.
39548 (fmaxf): Likewise.
39549 (fmax): Likewise.
39550 (fminf): Likewise.
39551 (fmin): Likewise.
39552 (rint): Likewise.
39553 (rintf): Likewise.
39554 (nearbyint): Likewise.
39555 (nearbyintf): Likewise.
39556 (ceil): Likewise.
39557 (ceilf): Likewise.
39558 (floor): Likewise.
39559 (floorf): Likewise.
39560
3e5aef87
L
395612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39562
428bd707
L
39563 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39564 on both fields and cast pointer to __syscall_ulong_t.
39565
3e5aef87
L
39566 * bits/types.h (__fsword_t): New type.
39567 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39568 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39569 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39570 (__FSWORD_T_TYPE): Likewise.
39571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39572 (__FSWORD_T_TYPE): Likewise.
39573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39574 (__FSWORD_T_TYPE): Likewise.
39575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39576 (__FSWORD_T_TYPE): Likewise.
39577 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39578 __SWORD_TYPE with __fsword_t.
39579 (statfs64): Likewise.
39580
1ba7c3dc
DM
395812012-05-17 David S. Miller <davem@davemloft.net>
39582
39583 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39584
59910343
AJ
395852012-05-17 Andreas Jaeger <aj@suse.de>
39586
39587 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39588 warning.
39589
2e4c1e9e
L
395902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39591
39592 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39593
de7f5ce7
AJ
395942012-05-17 Andreas Jaeger <aj@suse.de>
39595
39596 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39597 when it is used.
39598
286abc3d
CM
395992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39600
39601 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39602
477cc68e
L
396032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
39604
39605 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39606 * sysdeps/x86_64/tst-mallocalign1.c: New file.
39607
1a0994f5
CD
396082012-05-17 Andreas Jaeger <aj@suse.de>
39609 Carlos O'Donell <carlos_odonell@mentor.com>
39610
39611 [BZ #14059]
39612 * sysdeps/x86_64/multiarch/init-arch.h
39613 (bit_YMM_Usable): Rename to...
39614 (bit_AVX_Usable): ... this.
39615 (bit_FMA4_Usable): New macro.
39616 (bit_XMM_state): New macro.
39617 (bit_YMM_state): New macro.
39618 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39619 [__ASSEMBLER__] (index_AVX_Usable): ... this.
39620 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39621 (CPUID_OSXSAVE): New macro.
39622 (CPUID_AVX): New macro.
39623 (CPUID_FMA4): New macro.
39624 (index_YMM_Usable): Rename to...
39625 (index_AVX_Usable): ... this.
39626 (HAS_AVX): Use HAS_ARCH_FEATURE.
39627 (HAS_FMA4): Likewise.
39628 (HAS_YMM_USABLE): Remove.
39629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39630 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39631 are present.
39632 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39633 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39634 * sysdeps/x86_64/multiarch/Makefile: Likewise.
39635 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39636 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39637
0af797de
CM
396382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
39639
39640 * math/libm-test.c: Support platforms without multiple rounding modes.
39641 * math/bug-nextafter.c: Support platforms without FP exceptions.
39642 * math/bug-nexttoward.c: Likewise.
39643 * math/test-fenv.c: Likewise.
39644 * math/test-misc.c: Likewise.
39645 * stdlib/bug-getcontext.c: Likewise.
39646
e39745ff
AJ
396472012-05-17 Andreas Jaeger <aj@suse.de>
39648
39649 * manual/examples/search.c (critter_cmp): Change signature to
39650 avoid warnings.
39651 * manual/string.texi (Collation Functions): Likewise.
39652
48970aba
L
396532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39654
39655 * bits/types.h: Fold copyright years.
39656 * bits/typesizes.h: Likewise.
39657 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39661 * time/time.h: Likewise.
39662
bedee953
PP
396632012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
39664
39665 [BZ #208]
39666 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39667 in instead of returning them. Return void.
39668 (__libc_mallinfo): Accumulate over all arenas.
39669 (__malloc_stats): Adjust for change in int_mallinfo interface.
39670
61653dfb
RM
396712012-05-16 Roland McGrath <roland@hack.frob.com>
39672
30b99d79
RM
39673 [BZ #10375]
39674 * configure.in (NM): Add AC_CHECK_TOOL for it.
39675 (libc_extra_cflags): New substituted variable.
39676 Check for -fstack-protector being used implicitly.
39677 * configure: Regenerated.
39678 * config.make.in (config-extra-cflags): New variable,
39679 gets @libc_extra_cflags@.
39680 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39681
61653dfb
RM
39682 [BZ #10375]
39683 * configure.in: Check for _FORTIFY_SOURCE being predefined.
39684 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39685 * configure: Regenerated.
39686 * config.make.in (CPPUNDEFS): New substituted variable.
39687 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39688 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39689 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39690
661768bb
L
396912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39692
39693 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39694 (mq_attr): Use __syscall_slong_t.
39695
d4261567
L
396962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39697
39698 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39699 Check __x86_64__ instead of __WORDSIZE.
39700 (_STAT_VER_LINUX): Likewise.
39701 (stat): Check __x86_64__ instead of __WORDSIZE. Use
39702 __syscall_ulong_t and __syscall_slong_t.
39703 (stat64): Likewise.
39704
cf3ff365
L
397052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39706
39707 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39708
76cf3e4d
L
397092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39710
39711 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39712
a637753a
L
397132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39714
39715 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39716 __syscall_ulong_t.
39717
d5e05119
L
39718 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39719 include <bits/wordsize.h>. Check __x86_64__ instead of
39720 __WORDSIZE.
39721 (greg_t): Use "__extension__ long long int" if __x86_64__ is
39722 defined.
39723 (mcontext_t): Replace "unsigned long" with "unsigned long long".
39724
f62ee380
L
39725 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39726 include <bits/wordsize.h>. Check __x86_64__ instead of
39727 __WORDSIZE.
39728 (user_regs_struct): Use "__extension__ unsigned long long"
39729 instead of "unsigned long" if __x86_64__ is defined.
39730 (user): Likewise. Pad after pointer field if __ILP32__ is
39731 defined.
39732
4e124ced
JM
397332012-05-16 Joseph Myers <joseph@codesourcery.com>
39734
6a3951a0
JM
39735 * configure.in (makeinfo): Require version 4.5 or later. Allow
39736 versions 5 to 9.
39737 * configure: Regenerated.
39738 * manual/install.texi (texinfo): Increase version requirement to
39739 4.5 or later.
39740 * INSTALL: Regenerated.
39741
4e124ced
JM
39742 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39743
953ca31a
L
397442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
39745
39746 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39747
617aca05
L
39748 * sysdeps/x86_64/x32/ffs.c: New file.
39749
5762f7ae
L
39750 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39751 __syscall_ulong_t.
39752 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39753 defined. Use __syscall_ulong_t.
39754 (shminfo): Use __syscall_ulong_t.
39755 (shm_info): Likewise.
39756
a26b6856
L
39757 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39758 __syscall_ulong_t.
39759
cb2b9ef7
L
39760 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39761 <bits/wordsize.h>.
39762 (msgqnum_t): Use __syscall_ulong_t.
39763 (msglen_t): Likewise.
39764 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
39765 __syscall_ulong_t.
39766
34683bb0
L
39767 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39768 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39769
84a68786
L
39770 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39771
48baa5f1
L
39772 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39773 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39774
180be88b
L
39775 * sysvipc/sys/msg.h (msgbuf): Replace long int with
39776 __syscall_slong_t.
39777
5e90c8ad
L
39778 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39779 include <bits/wordsize.h>. Check __x86_64__ instead of
39780 __WORDSIZE.
39781
23dfb58b
L
39782 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39783 "unsigned long long int" if __x86_64__ is defined.
39784 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39785
ce5d54b0
L
39786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39787 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39788 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39789
13dc9eac
L
39790 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39791 <stdint.h>.
39792 (GET_PC): Cast to uintptr_t first.
39793 (GET_FRAME): Likewise.
39794 (GET_STACK): Likewise.
39795
a7895d15
L
39796 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39798 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39800 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39802 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39804 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39805 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39807 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39809 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39811 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39813 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39815 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39817 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39819 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39821 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39823 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39825
656416c9
AS
398262012-05-16 Andreas Schwab <schwab@linux-m68k.org>
39827
5bd66283
AS
39828 * Makerules (+depfiles): Also collect depfiles from .oS in
39829 $(extra-objs).
39830 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39831 .oS, $(libnldbl-routines)).
39832
656416c9
AS
39833 * Makerules (native-compile-mkdep-flags): Define.
39834 * sunrpc/Makefile (extra-objs): Add $(addprefix
39835 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39836 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39837 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
39838 calling $(make-target-directory).
39839
a46f2169
L
398402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39841
39842 * bits/types.h (__snseconds_t): Removed.
39843 * time/time.h (struct timespec): Replace __snseconds_t with
39844 __syscall_slong_t.
39845 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39846 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39847 Likewise.
39848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39849 (__SNSECONDS_T_TYPE): Likewise.
39850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39851 (__SNSECONDS_T_TYPE): Likewise.
39852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39853 (__SNSECONDS_T_TYPE): Likewise.
39854
6af6528b
L
398552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39856
39857 * sysdeps/mach/hurd/bits/typesizes.h
39858 (__SYSCALL_SLONG_TYPE): New macro.
39859 (__SYSCALL_ULONG_TYPE): Likewise.
39860
de986b56
L
398612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39862
39863 * bits/types.h (__syscall_slong_t): New type.
39864 (__syscall_ulong_t): Likewise.
39865
39866 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39867 (__SYSCALL_ULONG_TYPE): Likewise.
39868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39869 (__SYSCALL_SLONG_TYPE): Likewise.
39870 (__SYSCALL_ULONG_TYPE): Likewise.
39871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39872 (__SYSCALL_SLONG_TYPE): Likewise.
39873 (__SYSCALL_ULONG_TYPE): Likewise.
39874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39875 (__SYSCALL_SLONG_TYPE): Likewise.
39876 (__SYSCALL_ULONG_TYPE): Likewise.
39877
85736dc7
L
398782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39879
39880 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39881 Add sigaltstack-offsets.sym.
39882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39883 <sigaltstack-offsets.h>.
39884 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39885 longjmp_msg pointer.
39886 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39887 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39888 signal stack.
39889 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39890
cc03b296
JM
398912012-05-15 Joseph Myers <joseph@codesourcery.com>
39892
a9538892
JM
39893 * elf/stackguard-macros.h: Remove file.
39894 * sysdeps/generic/stackguard-macros.h: New file.
39895 * sysdeps/i386/stackguard-macros.h: Likewise.
39896 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39897 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39898 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39899 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39900 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39901 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39902 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39903 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39904 <elf/stackguard-macros.h>.
39905
cc03b296
JM
39906 [BZ #14109]
39907 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39908 __aligned__ in attribute.
39909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39910 (gregset_t): Likewise.
39911
93171016
L
399122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39913
39914 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39915 * sysdeps/x86_64/64/Implies-after: Here. New file.
39916 * sysdeps/x86_64/x32/Implies-after: New file.
39917
d86813a0
L
399182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39919
39920 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39921 and access return value for _dl_profile_fixup. Use R10_LP to
39922 load frame size.
39923
2953ec75
L
399242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39925
39926 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39927
3b550e9e
L
399282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39929
39930 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39931 * sysdeps/x86_64/x32/sysdep.h: New file.
39932
eda41706
L
399332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39934
39935 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39936 * sysdeps/x86_64/setjmp.S: Likewise.
39937
9ea01d93
AZ
399382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39939
39940 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39942 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39944 remove unused global constant.
39945
02a91938
CM
399462012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39947
39948 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39949 include of <not-cancel.h>.
39950
6540185f
RM
399512012-05-15 Roland McGrath <roland@hack.frob.com>
39952
39953 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39954
509072a0
AJ
399552012-05-15 Jeff Law <law@redhat.com>
39956 Andreas Jaeger <aj@suse.de>
39957
39958 [BZ #13594]
39959 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39960 out from...
39961 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39962 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39963 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39964 code changing __hst_map_handle.map.
39965
ba75122d
RM
399662012-05-15 Roland McGrath <roland@hack.frob.com>
39967
39968 * configure.in (sysnames): Look for Implies-before and Implies-after
39969 files.
39970 * configure: Regenerated.
39971
890d8bd8
L
399722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39973
39974 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39975 8-byte data alignment with LP_SIZE alignment.
39976
f6ee6623
L
399772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39978
39979 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39980 into R10_LP.
39981
ea2626f6
L
399822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39983
39984 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39985
085f715e
L
399862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39987
39988 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39989 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39990 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39991 Likewise.
39992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39993
be8498fc
L
399942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39995
39996 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39997 (stackinfo_sub_sp): Likewise.
39998
70bc83b9
L
399992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40000
40001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40002 RAX_LP.
40003
9bc0b730
L
400042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40005
40006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40007 into R*_LP.
40008
6d2850e7
L
400092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40010
40011 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40012 sizes into R*_LP.
40013
3cb84561
L
400142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40015
40016 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40017
54e2ed81
L
400182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40019
40020 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40021 into R11_LP and load __x86_64_shared_cache_size_half into
40022 R8_LP.
40023
8a17f349
L
400242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40025
40026 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40027 R8_LP.
40028
777b1eea
AZ
400292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40030
40031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40032 logb for POWER7.
40033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40034 logbf for POWER7.
40035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40036 logbl for POWER7.
40037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40038 powerpc32/power7/fpu/s_logb.c via #include.
40039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40040 powerpc32/power7/fpu/s_logbf.c via #include.
40041 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40042 powerpc32/power7/fpu/s_logbl.c via #include.
40043
d20d4ac2
JM
400442012-05-15 Joseph Myers <joseph@codesourcery.com>
40045
40046 * README.libm: Remove file.
40047
6cdef1ab
L
400482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40049
40050 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40051 count for x32. Use R*_LP and omit operand-size suffix.
40052
0b254d8f
L
400532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40054
40055 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40056 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40057 * sysdeps/x86_64/x32/shlib-versions: New file.
40058
ceb809dc
RM
400592012-05-14 Roland McGrath <roland@hack.frob.com>
40060
40061 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40062 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40063 Use _dl_fatal_printf instead.
40064
37f1abd4
JM
400652012-05-14 Joseph Myers <joseph@codesourcery.com>
40066
40067 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40068 set if not set by the user. Do not allow for being unset.
40069 * sysdeps/unix/sysv/linux/configure: Regenerated.
40070
11de3a33
L
400712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40072
40073 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40074 the `q' suffix from lea and replace .quad with ASM_ADDR.
40075
e02f153a
L
400762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40077
40078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40079 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40080 instead of $17.
40081 (PTR_DEMANGLE): Likewise.
40082
520ae0fd
L
400832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40084
40085 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40086 (LP_OP): Likewise.
40087 (ASM_ADDR): Likewise.
40088 (RAX_LP): Likewise.
40089 (RBP_LP): Likewise.
40090 (RBX_LP): Likewise.
40091 (RCX_LP): Likewise.
40092 (RDI_LP): Likewise.
40093 (RSI_LP): Likewise.
40094 (RSP_LP): Likewise.
40095 (R8_LP): Likewise.
40096 (R9_LP): Likewise.
40097 (R10_LP): Likewise.
40098 (R10_LP): Likewise.
40099 (R11_LP): Likewise.
40100 (R12_LP): Likewise.
40101 (R13_LP): Likewise.
40102 (R14_LP): Likewise.
40103 (R15_LP): Likewise.
40104
b985be81
L
401052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40106
40107 * sysdeps/x86_64/x32/dl-machine.h: New file.
40108
6a4888ff
AJ
401092012-05-14 Andreas Jaeger <aj@suse.de>
40110
40111 * manual/Makefile (subdir): Remove export of subdir.
40112 (all): Remove target.
40113 (.PHONY): Remove all from list.
40114 (mkinstalldirs): Remove.
40115 (.PHONY): Remove installdirs from list.
40116 ($(inst_infodir)/libc.info): Use make-target-directory.
40117 (installdirs): Remove.
40118 (subdir_%): Remove.
40119 (glibc-targets): Remove.
40120 (lib): Remove.
40121 (stubs): Remove.
40122 ($(objpfx)stubs ../po/manual.pot): Remove.
40123 ($(objpfx)stamp%): Remove.
40124 (make-target-directory): Remove.
40125 (subdir_install): Remove.
40126 (routines): Remove.
40127 (aux): Remove.
40128 (sources): Remove.
40129 (objects): Remove.
40130 (headers): Remove.
40131
40132 [BZ #13750]
40133 * manual/.gitignore: Remove, it's not needed anymore.
40134 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40135 all files in it.
40136 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40137 directory.
40138 (texis): Renamed to $(objpfx)texis.
40139 (texis-path): New, contains path to generated files.
40140 (chapters.%): Use texis-path for complete path, add extra argument
40141 libc-texinfo.sh.
40142 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40143 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40144 (summary,texi, stamp-summary): Use complete path of
40145 files. Generate files in build dir.
40146 (dir-add.texi): Build in build dir.
40147 (libm-err.texi,stamp-libm-err): Likewise.
40148 (version.texi, stamp-version): Likewise.
40149 (.%c.texi): Likewise.
40150 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40151 (mostlyclean): Remove target.
40152 (realclean): Remove target.
40153 (generated): Add new variable with contents from mostlyclean and
40154 realclean, remove entries duplicated in common-mostlyclean, add
40155 stamp-libm-err and stamp-version.
40156 (generated-dirs): Add libc directory.
40157 ($(inst_infodir)/libc.info): Install files from build dir.
40158
40159 * manual/install.texi (Configuring and compiling): Adjust since
40160 the info files are not part of the tar ball anymore.
40161
7ac77294
AJ
401622012-05-14 Andreas Jaeger <aj@suse.de>
40163
40164 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40165 variable.
40166
ffb7875d
JM
401672012-05-14 Joseph Myers <joseph@codesourcery.com>
40168
40169 [BZ #13717]
40170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40171 to 2.2.0 where earlier.
40172 * sysdeps/unix/sysv/linux/configure: Regenerated.
40173 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40174 Remove conditional code.
40175 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40176 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40177 Remove conditional code.
40178 [!__NR_lchown]: Likewise.
40179 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40180 [__NR_lchown]: Likewise.
40181 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40182 comment referencing __ASSUME_LCHOWN_SYSCALL.
40183 * sysdeps/unix/sysv/linux/i386/sigaction.c
40184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40186 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40187 Remove conditional code.
40188 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40189 (__protocol_available): Remove #if 0 code.
40190 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40191 conditional code.
40192 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40193 * sysdeps/unix/sysv/linux/kernel-features.h
40194 (__ASSUME_GETCWD_SYSCALL): Don't define.
40195 (__ASSUME_REALTIME_SIGNALS): Likewise.
40196 (__ASSUME_PREAD_SYSCALL): Likewise.
40197 (__ASSUME_PWRITE_SYSCALL): Likewise.
40198 (__ASSUME_POLL_SYSCALL): Likewise.
40199 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40200 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40201 non-SPARC.
40202 (__ASSUME_SIOCGIFNAME): Don't define.
40203 (__ASSUME_MSG_NOSIGNAL): Likewise.
40204 (__ASSUME_SENDFILE): Define unconditionally.
40205 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40206 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40207 conditional code.
40208 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40209 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40210 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40211 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40212 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40213 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40214 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40216 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40219 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40220 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40225 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40231 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40237 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40239 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40240 Remove conditional code.
40241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40242 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40243 Remove conditional code.
40244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40245 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40246 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40247 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40248 Remove conditional code.
40249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40250 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40251 Remove conditional code.
40252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40253 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40254 Remove conditional code.
40255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40256 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40257 Remove conditional code.
40258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40259 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40260 Remove conditional code.
40261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40262 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40263 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40265 * sysdeps/unix/sysv/linux/sigaction.c
40266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40268 * sysdeps/unix/sysv/linux/sigpending.c
40269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40271 * sysdeps/unix/sysv/linux/sigprocmask.c
40272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40274 * sysdeps/unix/sysv/linux/sigsuspend.c
40275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40278 (__libc_missing_rt_sigs): Remove.
40279 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40280 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40281 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40282 Remove conditional code.
40283 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40284 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40285 return 1.
40286 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40287 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40288 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40289 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40290
1bfb7291
AJ
402912012-05-14 Andreas Jaeger <aj@suse.de>
40292
caae5a81
AJ
40293 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40294 it's not used in glibc.
40295 (__coshm1): Likewise.
40296 (__acosh1p): Likewise.
40297 (__sgn): Likewise.
40298
1bfb7291
AJ
40299 * manual/string.texi (Copying and Concatenation): Add missing
40300 variable in concat example.
40301 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40302
c044d724
L
403032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40304
144c5467 40305 [BZ #14103]
c044d724
L
40306 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40307 __builtin_clzl with __builtin_clzll.
40308
2523c62b
L
403092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40310
40311 [BZ #14104]
40312 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40313 libc_freeres_ptr.
40314
d7bb4c42
LD
403152012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40316
40317 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40318 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40319 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40320 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40321
9dc4e1fb
MF
403222012-05-14 Mike Frysinger <vapier@gentoo.org>
40323
40324 * NEWS: Update ia64 info.
40325
c7df0112
AS
403262012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40327
40328 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40329 used as bcopy.
40330
dc70356c
TS
403312012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40332
40333 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40334 * sysdeps/unix/syscalls.list (dup3): Likewise.
40335 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40336 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40337
9fb1a21f
L
403382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40339
40340 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40341 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40342
4822a2a5
L
403432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40344
40345 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40346 thread pointer.
40347 (TLS_IE): Use mov/add instead of movq/addq to load thread
40348 pointer.
40349 (TLS_GD_PREFIX): New.
40350 (TLS_GD): Use it.
40351
842b81d6
DM
403522012-05-11 David S. Miller <davem@davemloft.net>
40353
40354 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40355 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40356 (_FPU_SETCW): Likewise.
40357
1cf463cd
L
403582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40359
40360 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40361 is 32-byte aligned.
40362
60cc4a18
AS
403632012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40364
40365 [BZ #11837]
40366 * iconvdata/gb18030.c: Update tables.
40367 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40368 characters specially.
40369 (BODY for TO_LOOP): Add encoding of missing ranges.
40370
febb44a4
TS
403712012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40372
40373 [BZ #13673]
40374 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40375 * sysdeps/mach/hurd/dup3.c: Likewise.
40376 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40377 * sysdeps/powerpc/memmove.c:: Likewise.
40378
0a10fb9e
L
403792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40380
40381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40382 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40383
df8a552f
L
403842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40385
40386 * elf/elf.h (R_X86_64_RELATIVE64): New.
40387 (R_X86_64_NUM): Updated.
40388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40389 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40390 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40391 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40392 tst-quad1pie tst-quad2pie
40393 (modules-names): Add tst-quadmod1 tst-quadmod2.
40394 ($(objpfx)tst-quad1): New dependency.
40395 ($(objpfx)tst-quad2): Likewise.
40396 ($(objpfx)tst-quad1pie): Likewise.
40397 ($(objpfx)tst-quad2pie): Likewise.
40398 * sysdeps/x86_64/tst-quad1.c: New file.
40399 * sysdeps/x86_64/tst-quad1pie.c: New file.
40400 * sysdeps/x86_64/tst-quad2.c: Likewise.
40401 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40402 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40403 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40404 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40405 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40406
f34d6f84
ST
404072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40408
f42d41d1
ST
40409 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40410 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40411 * streams/stropts.h (t_scalar_t): Define type.
40412
3c3571fc
ST
40413 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40414 (_PATH_PRESERVE): Set to "/var/lib".
40415 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40416
61f06bd3
ST
40417 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40418 instead of int.
40419
918d4d71
ST
40420 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40421 if __dir_mkfile succeeded.
40422
f34d6f84
ST
40423 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40424 checking for _hurd_dtablesize. Unlock it right after having
40425 finished _hurd_dtable allocation.
40426
10589b4a
TS
404272012-05-10 Thomas Schwinge <thomas@schwinge.name>
40428
674cdbc7
TS
40429 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40430 * sysdeps/mach/hurd/configure: Regenerated.
40431 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40432 special-casing to...
40433 * sysdeps/gnu/configure.in: ... this new file.
40434 * sysdeps/unix/sysv/linux/configure: Regenerated.
40435 * sysdeps/gnu/configure: New generated file.
40436
8e41b99f
TS
40437 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40438 for Linux: use nsec instead of usec, as well as:
40439 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40440 members of type struct timespec.
40441 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40442 New macros.
40443 (struct stat64): Likewise.
40444 (_STATBUF_ST_NSEC): New macro.
40445 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40446
10589b4a
TS
40447 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40448 __strtoul_internal rather than strtoul.
40449
63643c85
PT
404502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40451
40452 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40453 and reject them.
40454
3faebe6a
ST
404552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40456
40457 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40458 which preserves existing values.
40459 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40460
c6474b07
PT
404612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40462
40463 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40464 TIMEOUT values. Return EINVAL for NFDS values either negative or
40465 greater than FD_SETSIZE.
40466
1043890b
ST
404672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40468
40469 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40470 allocated, call __vm_protect to finish enabling the existing space, and
40471 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40472 allocate the remainder.
40473
37ed8b9b
PT
404742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40475
40476 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40477 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
40478
db653660
ST
404792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40480
37ed8b9b
PT
40481 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40482 sysdeps/mach/hurd/readlink.c.
b29d4053 40483
db653660
ST
40484 * posix/tst-sysconf.c (posix_options): Only use
40485 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40486 _POSIX_SYNCHRONIZED_IO when they are defined
40487 * sysdeps/mach/hurd/bits/posix_opt.h:
40488 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40489 (_XOPEN_REALTIME): Undefine macro.
40490 (_XOPEN_REALTIME_THREADS): Undefine macro.
40491 (_XOPEN_SHM): Undefine macro.
40492 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40493 macro to -1.
40494 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40495 macro to -1.
40496 (_POSIX_ASYNC_IO): Undefine macro.
40497 (_POSIX_PRIORITIZED_IO): Undefine macro.
40498 (_POSIX_SPIN_LOCKS): Define macro to -1.
40499
ee16e894
ST
40500 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40501 SA_NODEFER, SA_RESETHAND.
40502 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40503 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40504 F_DUPFD_CLOEXEC.
40505
6103ae3b
TS
405062012-05-10 Thomas Schwinge <thomas@schwinge.name>
40507
40508 * elf/Makefile (pldd-modules): Define unconditionally.
40509
80b4e5f3
TS
405102012-05-10 Thomas Schwinge <thomas@schwinge.name>
40511
40512 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40513
edadcbd6
ST
405142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40515
40516 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40517 Return ENOENT when name is empty.
40518 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40519
80694780
TS
405202012-05-10 Thomas Schwinge <thomas@schwinge.name>
40521
1792c087
TS
40522 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40523
80694780
TS
40524 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40525
6b645f0d
ST
405262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40527
80694780
TS
40528 Fix mlock in all cases except non-readable pages.
40529 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40530 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 40531
6b645f0d
ST
40532 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40533 (__mkdir): When path is `/', just fail with EEXIST.
40534 * sysdeps/mach/hurd/mkdirat.c: Likewise.
40535
e468f8a3
TS
405362012-05-10 Thomas Schwinge <thomas@schwinge.name>
40537
40538 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40539 <sys/uio.h> (for writev).
40540 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40541 and <sys/param.h> (for MIN).
40542
a4186cff
PT
405432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40544
40545 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40546 REQUESTED_TIME. Properly set the remaining time and return EINTR
40547 if interrupted.
40548
510bbf14
TS
405492012-05-10 Thomas Schwinge <thomas@schwinge.name>
40550
40551 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40552 Depend on against $(link-rpcuserlibs).
40553
5d5722e8
ST
405542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40555
a4186cff
PT
40556 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40557 (__libc_stack_end): Do not use attribute_relro.
40558 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40559 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 40560 to libthread-provided value.
a4186cff
PT
40561 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40562 attribute_relro.
5d5722e8 40563
37233df9
TS
405642012-05-10 Thomas Schwinge <thomas@schwinge.name>
40565
be971a2b
TS
40566 [BZ #3748]
40567 * bits/libc-lock.h (__libc_once_get): New macro.
40568 * sysdeps/mach/bits/libc-lock.h: Likewise.
40569 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40571 instead of using implementation details.
40572
37233df9
TS
40573 * libio/fileops.c: Unconditionally include <kernel-features.h>.
40574 * libio/freopen.c: Likewise.
40575 * libio/freopen64.c: Likewise.
40576 * misc/syslog.c: Likewise.
40577 * nscd/connections.c: Likewise.
40578 * nscd/netgroupcache.c: Likewise.
40579 * sysdeps/posix/getcwd.c: Likewise.
40580
38de94a5
RM
405812012-05-10 Roland McGrath <roland@hack.frob.com>
40582
40583 * math/w_ilogbf.c: Add #include <limits.h>.
40584
67530489
ST
405852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40586
a4186cff 40587 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
40588 path instead of returning without unlocking.
40589
67530489
ST
40590 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40591 immediate-write ioctls.
40592 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40593
5aa3a74a
TS
405942012-05-10 Thomas Schwinge <thomas@schwinge.name>
40595
18bad2ae
TS
40596 * sysdeps/mach/hurd/i386/init-first.c (init): Use
40597 __builtin_frame_address instead of making assumptions about the
40598 location of the return address relative to DATA. Force early load of
40599 the return address.
40600 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40601 __builtin_frame_address.
40602
5aa3a74a
TS
40603 dup3 for GNU Hurd.
40604 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40605 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
40606 implement dup3 and do some further code clean-ups.
40607 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40608 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40609
ecd0de9a
ST
406102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40611
cd9fa985
ST
40612 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40613
a4186cff
PT
40614 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40615 HURD_CRITICAL_END around holding _hurd_dtable_lock.
40616 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40617 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40618 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40619 d->port.lock.
802ca5a5 40620
a4186cff
PT
40621 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40622 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
40623 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 40624
bcf55240
TS
406252012-05-10 Thomas Schwinge <thomas@schwinge.name>
40626
6960eb42
TS
40627 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40628 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40629 definitions.
40630
eb43375f
TS
40631 accept4 for GNU Hurd.
40632 * include/sys/socket.h (__libc_accept4): New prototype.
40633 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
40634 to implement __libc_accept4.
40635 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40636 __libc_accept4.
40637 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40638
bcf55240
TS
40639 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40640 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40641 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40642 signal-defines.sym.
40643
6178c55b
ST
406442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40645
a4186cff 40646 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 40647
6f080c2f
TS
406482012-05-10 Thomas Schwinge <thomas@schwinge.name>
40649
40650 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40651 assertion on O_CLOEXEC flag.
40652 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40653 * hurd/intern-fd.c: Likewise.
40654 * hurd/port2fd.c: Likewise.
40655
bcfe3a54
ST
406562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40657
40658 [BZ #3906]
40659 * bits/in.h (IPV6_PKTINFO): Define new macro.
40660 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40661
89c9aa49
AZ
406622012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40663
40664 [BZ #13954]
40665 [BZ #13955]
40666 [BZ #13956]
40667 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40669 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40670 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40672 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40673 * math/libm-test.inc (logb_test) : Additional logb tests.
40674
021db4be
AJ
406752012-05-09 Andreas Schwab <schwab@linux-m68k.org>
40676 Andreas Jaeger <aj@suse.de>
40677
40678 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40679 * configure: Regenerated.
40680 * config.h.in (LINK_OBSOLETE_RPC): New macro.
40681 * config.make.in (link-obsolete-rpc): New substituted variable.
40682 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40683 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40684 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40685 (shared-only-routines): Don't set it under [link-obsolete-rpc],
40686 so that libc.a contains the symbols.
40687 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40688 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40689 * sunrpc/auth_none.c: Likewise.
40690 * sunrpc/auth_unix.c: Likewise.
40691 * sunrpc/authdes_prot.c: Likewise.
40692 * sunrpc/authuxprot.c: Likewise.
40693 * sunrpc/clnt_gen.c: Likewise.
40694 * sunrpc/clnt_perr.c: Likewise.
40695 * sunrpc/clnt_raw.c: Likewise.
40696 * sunrpc/clnt_simp.c: Likewise.
40697 * sunrpc/clnt_tcp.c: Likewise.
40698 * sunrpc/clnt_udp.c: Likewise.
40699 * sunrpc/clnt_unix.c: Likewise.
40700 * sunrpc/des_crypt.c: Likewise.
40701 * sunrpc/des_soft.c: Likewise.
40702 * sunrpc/get_myaddr.c: Likewise.
40703 * sunrpc/key_call.c: Likewise.
40704 * sunrpc/key_prot.c: Likewise.
40705 * sunrpc/netname.c: Likewise.
40706 * sunrpc/pm_getmaps.c: Likewise.
40707 * sunrpc/pm_getport.c: Likewise.
40708 * sunrpc/pmap_clnt.c: Likewise.
40709 * sunrpc/pmap_prot.c: Likewise.
40710 * sunrpc/pmap_prot2.c: Likewise.
40711 * sunrpc/pmap_rmt.c: Likewise.
40712 * sunrpc/publickey.c: Likewise.
40713 * sunrpc/rpc_cmsg.c: Likewise.
40714 * sunrpc/rpc_common.c: Likewise.
40715 * sunrpc/rpc_dtable.c: Likewise.
40716 * sunrpc/rpc_prot.c: Likewise.
40717 * sunrpc/rpc_thread.c: Likewise.
40718 * sunrpc/rtime.c: Likewise.
40719 * sunrpc/svc.c: Likewise.
40720 * sunrpc/svc_auth.c: Likewise.
40721 * sunrpc/svc_raw.c: Likewise.
40722 * sunrpc/svc_run.c: Likewise.
40723 * sunrpc/svc_tcp.c: Likewise.
40724 * sunrpc/svc_udp.c: Likewise.
40725 * sunrpc/svc_unix.c: Likewise.
40726 * sunrpc/svcauth_des.c: Likewise.
40727 * sunrpc/xcrypt.c: Likewise.
40728 * sunrpc/xdr.c: Likewise.
40729 * sunrpc/xdr_array.c: Likewise.
40730 * sunrpc/xdr_float.c: Likewise.
40731 * sunrpc/xdr_intXX_t.c: Likewise.
40732 * sunrpc/xdr_mem.c: Likewise.
40733 * sunrpc/xdr_rec.c: Likewise.
40734 * sunrpc/xdr_ref.c: Likewise.
40735 * sunrpc/xdr_sizeof.c: Likewise.
40736 * sunrpc/xdr_stdio.c: Likewise.
40737
b5c086a2
RM
407382012-05-10 Roland McGrath <roland@hack.frob.com>
40739
40740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40741 change. Update copyright years.
40742
6d74dd09
JM
407432012-05-10 Joseph Myers <joseph@codesourcery.com>
40744
40745 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40746
28e72501
MK
407472012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
40748 Joseph Myers <joseph@codesourcery.com>
40749 Paul Pluzhnikov <ppluzhnikov@google.com>
40750
40751 [BZ #14012]
40752 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40753 requiring rpcgen.
40754 [cross-compiling] (extra-libs): Likewise.
40755 [cross-compiling] (extra-libs-others): Likewise.
40756 [cross-compiling] (librpcsvc-routines): Likewise.
40757 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40758 [cross-compiling] (omit-deps): Likewise.
40759 (sunrpc-CPPFLAGS): New variable.
40760 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40761 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40762 (cross-rpcgen-objs): New variable.
40763 (extra-objs): Append $(cross-rpcgen-objs).
40764 ($(cross-rpcgen-objs)): New rule.
40765 ($(objpfx)cross-rpcgen): Likewise.
40766 (rpcgen-cmd): Define to use $(built-program-file). Expand
40767 comment.
40768 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40769 ($(objpfx)x%.stmp): Likewise.
40770 * sunrpc/proto.h [IS_IN_build] (_): Define.
40771 [IS_IN_build] (_libc_intl_domainname): Likewise.
40772
c8c59454
L
407732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40774
40775 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40776 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40777 and R_X86_64_TPOFF64.
40778
6f27cd16
JM
407792012-05-10 Joseph Myers <joseph@codesourcery.com>
40780
40781 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40782 sysdeps/unix/sysv/syscalls.list.
40783 (stime): Likewise.
40784 (utime): Likewise.
40785 * sysdeps/unix/sysv/syscalls.list: Remove file.
40786
02467e1c
PE
407872012-05-10 Paul Eggert <eggert@cs.ucla.edu>
40788
40789 [BZ #3440]
40790 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40791 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40792 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40793 (__LC_IDENTIFICATION): Make these macros useful in #if
40794 expressions, as required by C99.
40795
da392631
AS
407962012-05-10 Andreas Schwab <schwab@linux-m68k.org>
40797
40798 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40799 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
40800 after this.
40801
8115f29b
L
408022012-05-09 H.J. Lu <hongjiu.lu@intel.com>
40803
40804 * stdlib/longlong.h: Updated from GCC.
40805
bdd74070
AJ
408062012-05-09 Andreas Jaeger <aj@suse.de>
40807
edfe0dbe
AJ
40808 * nscd/nscd.c (run_modes): Make named enum, reorder so that
40809 default is first entry.
40810 (run_mode): Set type.
40811 (main): Remove informal message about syslog.
40812 (options): Fix typo.
40813
bcfe3a54
ST
40814 [BZ #14053]
40815 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 40816 to asm.
bcfe3a54
ST
40817 (lrint): Likewise.
40818 (llrintf): Likewise.
40819 (llrint): Likewise.
40820 (rint): Likewise.
40821 (rintf): Likewise.
40822 (nearbyint): Likewise.
40823 (nearbyintf): Likewise.
bdd74070 40824
91d8d69e
AJ
408252012-05-09 Andreas Jaeger <aj@suse.de>
40826 Pedro Alves <palves@redhat.com>
40827
40828 * nscd/nscd.c (run_mode): Use enum.
40829 (main): Cleanup coding style issue.
40830
bb90b80b
AJ
408312012-05-09 Alexandre Oliva <aoliva@redhat.com>
40832 Andreas Jaeger <aj@suse.de>
40833
bcfe3a54
ST
40834 * nscd/nscd.c (go_background): Replaced with...
40835 (run_mode): ... this.
bb90b80b 40836 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
40837 (options): Add -F --foreground.
40838 (main): Implement it.
40839 (parse_opt): Parse it.
bb90b80b 40840
1a4b75a1
AJ
408412012-05-09 Andreas Jaeger <aj@suse.de>
40842
40843 [BZ #14083]
40844 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40845 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40846 -Wconversion warning.
40847 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40848 Likewise.
40849
b1cc2472
JM
408502012-05-09 Joseph Myers <joseph@codesourcery.com>
40851
40852 * conform/data/locale.h-data (NULL): Use macro-constant. Require
40853 == 0.
40854 (LC_ALL): Use macro-int-constant.
40855 (LC_COLLATE): Likewise.
40856 (LC_CTYPE): Likewise.
40857 (LC_MESSAGES): Likewise.
40858 (LC_MONETARY): Likewise.
40859 (LC_NUMERIC): Likewise.
40860 (LC_TIME): Likewise.
40861 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40862 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40864 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40865 Specify type.
40866 [C99-based standards] (float_t): Expect type.
40867 [C99-based standards] (double_t): Expect type.
40868 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40869 type.
40870 [C99-based standards] (HUGE_VALL): Likewise.
40871 [C99-based standards] (INFINITY): Likewise.
40872 [C99-based standards] (NAN): Likewise.
40873 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40874 [C99-based standards] (FP_NAN): Likewise.
40875 [C99-based standards] (FP_NORMAL): Likewise.
40876 [C99-based standards] (FP_SUBNORMAL): Likewise.
40877 [C99-based standards] (FP_ZERO): Likewise.
40878 [C99-based standards] (FP_FAST_FMA): Use
40879 optional-macro-int-constant. Specify type. Require == 1.
40880 [C99-based standards] (FP_FAST_FMAF): Likewise.
40881 [C99-based standards] (FP_FAST_FMAL): Likewise.
40882 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40883 [C99-based standards] (FP_ILOGBNAN): Likewise.
40884 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40885 Specify type.
40886 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40887 [C99-based standards] (math_errhandling): Specify type.
40888 [ISO99 || ISO11] (signgam): Do not allow.
40889 [non-C99-based standards] (copysignf): Do not allow.
40890 [non-C99-based standards] (exp2f): Likewise.
40891 [non-C99-based standards] (log2f): Likewise.
40892 [non-C99-based standards] (modff): Allow.
40893 [non-C99-based standards] (erff): Do not allow.
40894 [non-C99-based standards] (erfcf): Likewise.
40895 [non-C99-based standards] (gammaf): Likewise.
40896 [non-C99-based standards] (hypotf): Likewise.
40897 [non-C99-based standards] (j0f): Likewise.
40898 [non-C99-based standards] (j1f): Likewise.
40899 [non-C99-based standards] (jnf): Likewise.
40900 [non-C99-based standards] (lgammaf): Likewise.
40901 [non-C99-based standards] (tgammaf): Likewise.
40902 [non-C99-based standards] (y0f): Likewise.
40903 [non-C99-based standards] (y1f): Likewise.
40904 [non-C99-based standards] (ynf): Likewise.
40905 [non-C99-based standards] (isnanf): Likewise.
40906 [non-C99-based standards] (acoshf): Likewise.
40907 [non-C99-based standards] (asinhf): Likewise.
40908 [non-C99-based standards] (atanhf): Likewise.
40909 [non-C99-based standards] (cbrtf): Likewise.
40910 [non-C99-based standards] (expm1f): Likewise.
40911 [non-C99-based standards] (ilogbf): Likewise.
40912 [non-C99-based standards] (log1pf): Likewise.
40913 [non-C99-based standards] (logbf): Likewise.
40914 [non-C99-based standards] (nextafterf): Likewise.
40915 [non-C99-based standards] (remainderf): Likewise.
40916 [non-C99-based standards] (rintf): Likewise.
40917 [non-C99-based standards] (scalbf): Likewise.
40918 [non-C99-based standards] (copysignl): Likewise.
40919 [non-C99-based standards] (exp2l): Likewise.
40920 [non-C99-based standards] (log2l): Likewise.
40921 [non-C99-based standards] (modfl): Allow.
40922 [non-C99-based standards] (erfl): Do not allow.
40923 [non-C99-based standards] (erfcl): Likewise.
40924 [non-C99-based standards] (gammal): Likewise.
40925 [non-C99-based standards] (hypotl): Likewise.
40926 [non-C99-based standards] (j0l): Likewise.
40927 [non-C99-based standards] (j1l): Likewise.
40928 [non-C99-based standards] (jnl): Likewise.
40929 [non-C99-based standards] (lgammal): Likewise.
40930 [non-C99-based standards] (tgammal): Likewise.
40931 [non-C99-based standards] (y0l): Likewise.
40932 [non-C99-based standards] (y1l): Likewise.
40933 [non-C99-based standards] (ynl): Likewise.
40934 [non-C99-based standards] (isnanl): Likewise.
40935 [non-C99-based standards] (acoshl): Likewise.
40936 [non-C99-based standards] (asinhl): Likewise.
40937 [non-C99-based standards] (atanhl): Likewise.
40938 [non-C99-based standards] (cbrtl): Likewise.
40939 [non-C99-based standards] (expm1l): Likewise.
40940 [non-C99-based standards] (ilogbl): Likewise.
40941 [non-C99-based standards] (log1pl): Likewise.
40942 [non-C99-based standards] (logbl): Likewise.
40943 [non-C99-based standards] (nextafterl): Likewise.
40944 [non-C99-based standards] (remainderl): Likewise.
40945 [non-C99-based standards] (rintl): Likewise.
40946 [non-C99-based standards] (scalbl): Likewise.
40947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40948 [non-C99-based standards] (FP_*): Do not allow.
40949 [C99-based standards] (FP_*): Change to
40950 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40951 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40952 allow.
40953 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40954 (SIG_ERR): Likewise.
40955 [X/Open-based standards] (SIG_HOLD): Likewise.
40956 (SIG_IGN): Likewise.
40957 (SIGABRT): Use macro-int-constant. Specify type. Require
40958 positive value.
40959 (SIGFPE): Likewise.
40960 (SIGILL): Likewise.
40961 (SIGINT): Likewise.
40962 (SIGSEGV): Likewise.
40963 (SIGTER): Likewise.
40964 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40965 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40966 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40967 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40968 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40969 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40970 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40971 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40972 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40973 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40974 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40975 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40976 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40977 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40978 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40979 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40980 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40981 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40982 [X/Open-based standards] (SIGTRAP): Likewise.
40983 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40984 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40985 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40986 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40987 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40988 allow.
40989
b9f1922d
IW
409902012-05-08 Ian Wienand <ianw@vmware.com>
40991
40992 [BZ #14080]
40993 * time/tzset.c (__tzset_parse_tz): Update default rules for
40994 daylight time changes in the Energy Policy Act of 2005.
40995
1db86e88
AJ
409962012-05-09 Andreas Jaeger <aj@suse.de>
40997
40998 [BZ #13983]
40999 * elf/ldconfig.c (parse_conf): Change string to make clear that
41000 ldconfig only issued a warning if ld.so.conf does not exist.
41001
dee4a4e3
DM
410022012-05-08 David S. Miller <davem@davemloft.net>
41003
ee0db190
DM
41004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41005 movxtod instead of popping the value on the stack.
41006
dee4a4e3
DM
41007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41008
6a43ec98
CD
410092012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41010
41011 * config.h.in: Add HAVE_ARM_PCS_VFP.
41012
05c2c961
RMG
410132012-05-08 Roland Mc Grath <roland@hack.frob.com>
41014
bcfe3a54
ST
41015 [BZ #13979]
41016 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41017 checking but the checks are disabled for any reason.
05c2c961 41018
4b30f61a
L
410192012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41020
41021 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41022 and ELF64_R_TYPE with ELFW(R_TYPE).
41023
eee2bc67
JM
410242012-05-08 Joseph Myers <joseph@codesourcery.com>
41025
7ea5391a
JM
41026 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41027 (ulimit): Likewise.
41028
eee2bc67
JM
41029 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41030 (settimeofday): Likewise.
41031
abb66a67
MF
410322012-05-08 Mike Frysinger <vapier@gentoo.org>
41033
41034 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41035 a struct th_u2 inside the union, and move tu_block/tu_code into
41036 a new th_u3 union of tu_block/tu_code inside of that. Move
41037 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41038 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41039 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41040 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41041 (th_stuff): Change to th_u1.tu_stuff.
41042 (th_data): Define.
41043 (th_msg): Change to th_u1.th_u2.tu_data.
41044
7f18b530
DM
410452012-05-07 David S. Miller <davem@davemloft.net>
41046
05760585
DM
41047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41048
7f18b530
DM
41049 [BZ #14074]
41050 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41051 (SETUP_PIC_REG): Use it.
41052 (SETUP_PIC_REG_LEAF): Use it.
41053
495fd99f
JM
410542012-05-07 Joseph Myers <joseph@codesourcery.com>
41055
41056 [BZ #13885]
41057 [BZ #13923]
41058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41059 USE_AS_EXPM1L.
41060 (EXPL_FINITE): Likewise.
41061 (FLDLOG): Likewise.
41062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41063 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41064 e_expl.S.
41065 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41066 USE_AS_EXPM1L.
41067 (EXPL_FINITE): Likewise.
41068 (FLDLOG): Likewise.
41069 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41070 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41071 e_expl.S.
41072 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41073 test of -max_value argument for long double.
41074 * sysdeps/i386/fpu/libm-test-ulps: Update.
41075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41076
6693d694
DM
410772012-05-06 David S. Miller <davem@davemloft.net>
41078
41079 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41080 quad soft-float symbols whose references which are compiler
41081 generated.
41082 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41083
6c23e11c
JM
410842012-05-06 Joseph Myers <joseph@codesourcery.com>
41085
d8b82cad
JM
41086 [BZ #13884]
41087 [BZ #13914]
41088 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41089 USE_AS_EXP10L.
41090 (EXPL_FINITE): Likewise.
41091 (FLDLOG): Likewise.
41092 (c0): Likewise.
41093 (c1): Likewise.
41094 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41095 Adjust comments for base varying.
41096 (__expl_finite): Change alias to EXPL_FINITE.
41097 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41098 e_expl.S.
41099 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41100 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41102 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41103 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41104 USE_AS_EXP10L.
41105 (EXPL_FINITE): Likewise.
41106 (FLDLOG): Likewise.
41107 (c0): Likewise.
41108 (c1): Likewise.
41109 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41110 Adjust comments for base varying.
41111 (__expl_finite): Change alias to EXPL_FINITE.
41112 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41113 tests for bugs.
41114 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41115
6c23e11c
JM
41116 [BZ #14064]
41117 * math/libm-test.inc (check_float_internal): Correct ulp
41118 calculation for subnormal expected results.
41119
29ba805c
AJ
411202012-05-06 Andreas Jaeger <aj@suse.de>
41121
41122 * Makeconfig (+math-flags): New, set to -frounding-math.
41123 (+cflags): Add +math-flags so that all of glibc gets compiled with
41124 it.
41125
41126 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41127
7b17aeda
JM
411282012-05-05 Joseph Myers <joseph@codesourcery.com>
41129
5779f134
JM
41130 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41131 Disable one test.
41132
41498f4d
JM
41133 [BZ #13787]
41134 [BZ #13922]
41135 [BZ #14036]
41136 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41137 (__ieee754_expl): Allow for and saturate large arguments.
41138 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41139 (u_threshold): Likewise.
41140 (__exp): Call __ieee754_exp before checking for overflow and
41141 underflow.
41142 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41143 (u_threshold): Likewise.
41144 (__expf): Call __ieee754_expf before checking for overflow and
41145 underflow.
41146 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41147 (u_threshold): Likewise.
41148 (__expl): Call __ieee754_expl before checking for overflow and
41149 underflow.
41150 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41151 (__ieee754_expl): Allow for and saturate large arguments.
41152 * math/libm-test.inc (exp_test): Add another test. Do not allow
41153 missing overflow exception on overflow.
41154 (expm1_test): Do not allow missing overflow exception on overflow.
41155
6698b8bf
JM
41156 * sysdeps/i386/fpu/e_expl.c: Move to ...
41157 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41158 rather than using inline asm.
41159 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41160 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41161 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41162
7b17aeda
JM
41163 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41164 (nice): Likewise.
41165 (poll): Likewise.
41166 (signal): Likewise.
41167 (time): Likewise.
41168 (times): Likewise.
41169
f7c85819
JM
411702012-05-04 Joseph Myers <joseph@codesourcery.com>
41171
41172 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41173 sysdeps/unix/common/syscalls.list.
41174 (fchmod): Likewise.
41175 (fchown): Likewise.
41176 (ftruncate): Likewise.
41177 (getrusage): Likewise.
41178 (gettimeofday): Likewise.
41179 (setpgid): Likewise.
41180 (setregid): Likewise.
41181 (setreuid): Likewise.
41182 (sigaction): Likewise.
41183 (truncate): Likewise.
41184 (vhangup): Likewise.
41185 * sysdeps/unix/common/syscalls.list: Remove file.
41186 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41187 * sysdeps/unix/sysv/linux/Implies: Likewise.
41188
336270d0
L
411892012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41190
41191 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41193 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41194 Moved to ...
41195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41196 Here.
41197 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41198 to ...
41199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41200 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41201 to ...
41202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41203 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41204 to ...
41205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41206 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41207 to ...
41208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41209 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41210 to ...
41211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41212 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41213 to ...
41214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41215 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41216 to ...
41217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41218 Here.
41219 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41220 to ...
41221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41222 Here.
41223 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41224 to ...
41225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41226 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41227 Moved to ...
41228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41229 Here.
41230 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41231 to ...
41232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41233
d128e450
JM
412342012-05-04 Joseph Myers <joseph@codesourcery.com>
41235
fa8ee516
JM
41236 * sysdeps/unix/common/bits/dirent.h: Remove file.
41237 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41238
d128e450
JM
41239 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41240 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41241 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41242 * sysdeps/unix/bsd/isatty.c: Likewise.
41243 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41244 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41245 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41246
ff8faaf0 412472012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 41248
62881be4 41249 [BZ #13563]
31dc8730
AZ
41250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41251 long double comparison inaccuracies.
41252 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41254
6fef930c
AS
412552012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41256
41257 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41259
8f203e6c
JM
412602012-05-04 Joseph Myers <joseph@codesourcery.com>
41261
41262 [BZ #14049]
41263 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41264 nonzero digits before rounding a hex value.
41265 * stdlib/tst-strtod.c (tests): Add another test.
41266
5197d9c2
AK
412672012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41268
41269 * sysdeps/s390/fpu/libm-test-ulps: Update.
41270
f0c1dedf
AJ
412712012-05-03 Andreas Jaeger <aj@suse.de>
41272
41273 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41274 does not get optimized out.
41275 (malloc_opt_barrier): New.
41276
a65ef2ae 412772012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 41278 Roland McGrath <roland@hack.frob.com>
a65ef2ae 41279
2b942cb7 41280 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 41281 intermediate file deletion.
2b942cb7 41282 (generated): Add .symlist files.
a65ef2ae 41283
54b71e02
JM
412842012-05-03 Joseph Myers <joseph@codesourcery.com>
41285
41286 [BZ #13775]
41287 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41288 Redirect under this condition.
41289 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41290 [__USE_GNU] (__dprintf_chk): Not under this condition.
41291 [__USE_GNU] (__vdprintf_chk): Likewise.
41292 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41293 under this condition.
41294 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41295 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41296 [__USE_XOPEN2K8] (vdprintf): Likewise.
41297 [__USE_GNU] (__dprintf_chk): Not under this condition.
41298 [__USE_GNU] (__vdprintf_chk): Likewise.
41299 [__USE_GNU] (dprintf): Likewise.
41300 [__USE_GNU] (vdprintf): Likewise.
41301
d3dfcc41
RM
413022012-05-03 Roland McGrath <roland@hack.frob.com>
41303
41304 * elf/Makefile (common-generated): Set this instead of generated for
41305 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41306 $(all-built-dso)-derived lists.
41307
7ac30cc5
AJ
413082012-05-03 Andreas Jaeger <aj@suse.de>
41309
0c51e550
AJ
41310 * sysdeps/i386/fpu/libm-test-ulps: Update.
41311
7ac30cc5
AJ
41312 * FAQ: Removed.
41313 * FAQ.in: Likewise.
41314 * scripts/gen-FAQ.pl: Likewise.
41315 * manual/install.texi (Installation): Point to online location of
41316 FAQ.
41317 * Makefile (files-for-dist): Remove FAQ.
41318 (FAQ): Remove.
41319
d4c2917f
AM
413202012-05-02 Allan McRae <allan@archlinux.org>
41321
41322 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41323 (LDFLAGS-reldepmod5.so): Likewise.
41324 (LDFLAGS-reldep6mod1.so): Likewise.
41325 (LDFLAGS-reldep6mod4.so): Likewise.
41326 (LDFLAGS-reldep8mod3.so): Likewise.
41327 (LDFLAGS-unload4mod1.so): Likewise.
41328 (LDFLAGS-unload4mod2.so): Likewise.
41329 (LDFLAGS-tst-initorder): Likewise.
41330 (LDFLAGS-tst-initordera2.so): Likewise.
41331 (LDFLAGS-tst-initordera3.so): Likewise.
41332 (LDFLAGS-tst-initordera4.so): Likewise.
41333 (LDFLAGS-tst-initorderb2.so): Likewise.
41334 (LDFLAGS-noload): Likewise.
41335 (LDFLAGS-next): Likewise.
41336 (LDFLAGS-order2mod1.so): Likewise.
41337 (LDFLAGS-order2mod2.so): Likewise.
41338 (LDFLAGS-tst-initorder2): Likewise.
41339 (LDFLAGS-tst-initorder2a.so): Likewise.
41340 (LDFLAGS-tst-initorder2b.so): Likewise.
41341 (LDFLAGS-tst-initorder2c.so): Likewise.
41342 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41343
d77f993f
DM
413442012-05-02 David S. Miller <davem@davemloft.net>
41345
41346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41347
171a70b4
PP
413482012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41349
41350 [BZ #14055]
41351 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41352
0be196ad
AJ
413532012-05-02 Andreas Jaeger <aj@suse.de>
41354
41355 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41356 since we manipulate rounding mode.
41357 (CPPFLAGS-test-idouble.c): Likewise.
41358 (CPPFLAGS-test-ifloat.c): Likewise.
41359 (CFLAGS-test-ldouble.c): Likewise.
41360 (CFLAGS-test-double.c): Likewise.
41361 (CFLAGS-test-float.c): Likewise.
41362 (CFLAGS-test-misc.c): Likewise.
41363 (CFLAGS-test-test-fenv.c): Likewise.
41364
4f9d04aa
AZ
413652012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41366
2b942cb7
RM
41367 [BZ #2550]
41368 [BZ #2570]
41369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41370 comparisons to determine direction to adjust input.
4f9d04aa 41371
82a79e7d
RM
413722012-05-01 Roland McGrath <roland@hack.frob.com>
41373
f5a01ca9
RM
41374 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41375 output to the target.
41376
90fe4186
RM
41377 * scripts/localplt.awk: New file.
41378 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41379 (check-localplt-CFLAGS): Variable removed.
41380 ($(all-built-dso:=.jmprel)): New static pattern rule.
41381 (generated): Add those targets.
41382 (localplt-built-dso): New variable.
41383 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41384
41385 * elf/check-localplt.c: File removed.
41386
82397ed6
RM
41387 * scripts/check-execstack.awk: New file.
41388 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41389 (check-execstack-CFLAGS): Variable removed.
41390 ($(objpfx)check-execstack.h): Target removed.
41391 ($(objpfx)execstack-default): New target.
41392 (generated): Add that instead of check-execstack.h.
41393 ($(all-built-dso:=.phdr)): New static pattern rule.
41394 (generated): Add those targets.
41395 * elf/check-execstack.c: File removed.
41396
82a79e7d
RM
41397 * scripts/check-textrel.awk: New file.
41398 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41399 (check-textrel-CFLAGS): Variable removed.
41400 (all-built-dso): Use := to define.o
41401 ($(all-built-dso:=.dyn)): New static pattern rule.
41402 (generated): Add those targets.
41403 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41404 * config.make.in (READELF): New substituted variable.
41405 * elf/check-textrel.c: File removed.
41406
62fde54f 414072012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 41408
615605c9
JM
41409 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41410 allow.
41411 * conform/data/ctype.h-data [C99-based standards] (isblank):
41412 Expect function.
41413 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41414 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41416 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41417 Specify type. Require positive value.
41418 (EILSEQ): Likewise.
41419 (ERANGE): Likewise.
41420 [ISO || POSIX] (EILSEQ): Do not expect.
41421 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41422 Specify type. Require positive value.
41423 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41424 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41425 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41426 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41427 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41428 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41429 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41430 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41431 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41432 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41433 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41434 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41435 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41436 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41437 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41438 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41439 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41440 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41441 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41442 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41443 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41444 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41445 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41446 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41447 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41448 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41449 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41450 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41451 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41452 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41453 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41454 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41455 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41456 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41457 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41458 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41459 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41460 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41461 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41462 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41463 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41464 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41465 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41466 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41467 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41468 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41469 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41470 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41471 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41472 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41473 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41474 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41475 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41476 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41477 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41478 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41479 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41480 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41481 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41482 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41483 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41484 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41485 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41486 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41487 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41488 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41489 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41490 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41491 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41492 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41493 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41494 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41495 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41496 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41497 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41498 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41499 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41500 Require >= 2.
41501 (FLT_ROUNDS): Expect as macro, not constant.
41502 (FLT_MANT_DIG): Use macro-int-constant.
41503 (DBL_MANT_DIG): Likewise.
41504 (LDBL_MANT_DIG): Likewise.
41505 (FLT_DIG): Likewise.
41506 (DBL_DIG): Likewise.
41507 (LDBL_DIG): Likewise.
41508 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
41509 (DBL_MIN_EXP): Likewise.
41510 (LDBL_MIN_EXP): Likewise.
41511 (FLT_MAX_EXP): Use macro-int-constant.
41512 (DBL_MAX_EXP): Likewise.
41513 (LDBL_MAX_EXP): Likewise.
41514 (FLT_MAX_10_EXP): Likewise.
41515 (DBL_MAX_10_EXP): Likewise.
41516 (LDBL_MAX_10_EXP): Likewise.
41517 (FLT_MAX): Use macro-constant.
41518 (DBL_MAX): Likewise.
41519 (LDBL_MAX): Likewise.
41520 (FLT_EPSILON): Use macro-constant. Give upper bound.
41521 (DBL_EPSILON): Likewise.
41522 (LDBL_EPSILON): Likewise.
41523 (FLT_MIN): Likewise.
41524 (DBL_MIN): Likewise.
41525 (LDBL_MIN): Likewise.
41526 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41527 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41528 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41529 [ISO11] (FLT_HAS_SUBNORM): Likewise.
41530 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41531 [ISO11] (DBL_DECIMAL_DIG): Likewise.
41532 [ISO11] (FLT_DECIMAL_DIG): Likewise.
41533 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41534 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41535 [ISO11] (FLT_TRUE_MIN): Likewise.
41536 [ISO11] (LDBL_TRUE_MIN): Likewise.
41537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41538 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41539 (SCHAR_MIN): Use macro-int-constant. Specify type.
41540 (SCHAR_MAX): Likewise.
41541 (UCHAR_MAX): Likewise.
41542 (CHAR_MIN): Likewise.
41543 (CHAR_MAX): Likewise.
41544 (MB_LEN_MAX): Use macro-int-constant.
41545 (SHRT_MIN): Use macro-int-constant. Specify type.
41546 (SHRT_MAX): Likewise.
41547 (USHRT_MAX): Likewise.
41548 (INT_MAX): Likewise.
41549 (INT_MIN): Use macro-int-constant. Specify type. Make upper
41550 bound negative.
41551 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
41552 bound with "U".
41553 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41554 bound with "L".
41555 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
41556 bound negative. Suffix upper bound with "L".
41557 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
41558 bound with "UL".
41559 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41560 Specify type.
41561 [C99-based standards] (LLONG_MAX): Likewise.
41562 [C99-based standards] (ULLONG_MAX): Likewise.
41563 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
41564 == 0.
41565 [ISO11] (max_align_t): Require type.
41566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41567
c9140a62
JM
41568 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41569 from $CFLAGS, without defining away __attribute__ calls.
41570 (checknamespace): Use $CFLAGS_namespace.
41571
9af0bf29
JM
41572 * conform/conformtest.pl (@keywords): Only include C99 keywords
41573 for standards based on C99 or C11.
41574
343222a2
JM
41575 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41576 Disable tests.
41577 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41578 UNIX98]: Likewise.
41579
661f8cf0
JM
41580 * conform/conformtest.pl: Handle "macro-int-constant" and test for
41581 usability of symbols in #if.
41582
ee74b9cb
JM
41583 * conform/conformtest.pl: If macro or constant types start
41584 "promoted:", expect the symbol to be of the following type
41585 promoted by the integer promotions.
62fde54f 41586
aafc49b3
JM
41587 * conform/conformtest.pl: Parse all "constant" and "macro" lines
41588 in one place. Also handle "macro-constant".
41589
fefdf574
JM
41590 * conform/conformtest.pl: Only accept expected macro values with
41591 "==". Parse all "macro" lines in one place.
41592 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41593
f2d922fe
JM
41594 * conform/conformtest.pl: Handle braced types on "constant" lines
41595 instead of handling "typed-constant".
41596 * conform/data/signal.h-data: Use "constant" instead of
41597 "typed-constant".
41598
d22956c9
JM
41599 * conform/conformtest.pl: Handle "optional-" at start of lines in
41600 one place rather than duplicating several cases. Handle each
41601 format of "macro" line with initial "optional-".
41602
028e2e38
JM
41603 * conform/conformtest.pl: Only accept expected constant or
41604 optional-constant values with "==". Parse all "constant" lines in
41605 one place. Parse all "optional-constant" lines in one place.
41606 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41607 * conform/data/fmtmsg.h-data: Likewise.
41608 * conform/data/netinet/in.h-data: Likewise.
41609 * conform/data/tar.h-data: Likewise.
41610 * conform/data/limits.h-data: Use "==" form on "constant" and
41611 "optional-constant" lines.
41612
1b8f2850
JM
41613 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41614 Use -std=c99 for XOPEN2K.
41615 (@knownproblems): Remove.
41616 (newtoken): Don't check %isknown.
41617
a05a144b
JM
41618 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41619 Do not expect macro.
41620 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41621 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41622 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41623 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41624 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41625 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41626 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41627 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41628 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41629 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41630 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41631 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41632 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41633 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41634 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41635 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41636 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41637 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41638 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41639 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41640 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41641 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41644 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41645 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41646 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41647 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41648 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41649 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41650 [XPG3] (acosh): Likewise.
41651 [XPG3] (asinh): Likewise.
41652 [XPG3] (atanh): Likewise.
41653 [XPG3] (cbrt): Likewise.
41654 [XPG3] (expm1): Likewise.
41655 [XPG3] (ilogb): Likewise.
41656 [XPG3] (log1p): Likewise.
41657 [XPG3] (logb): Likewise.
41658 [XPG3] (nextafter): Likewise.
41659 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41660 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41661 [XPG3] (remainder): Likewise.
41662 [XPG3] (rint): Likewise.
41663 [XPG3 || XPG4 || UNIX98] (round): Likewise.
41664 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41665 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41666 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41667 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41668 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41669 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41670 [UNIX98 || XOPEN2K] (scalb): Expect.
41671 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41672 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41673 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41674 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41675 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41676 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41677 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41678 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41679 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41680 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41681 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41682 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41683 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41684 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41685 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41686 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41687 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41688 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41689 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41690 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41691 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41692 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41693 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41694 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41695 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41696 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41697 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41698 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41699 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41700 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41701 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41702 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41703 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41704 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41705 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41706 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41707 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41708 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41709 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41710 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41711 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41712 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41713 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41714 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41715 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41716 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41717 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41718 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41719 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41720 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41721 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41722 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41723 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41724 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41725 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41726 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41727 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41728 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41729 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41730 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41731 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41732 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41733 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41734 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41735 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41736 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41737 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41738 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41739 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41740 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41741 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41742 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41743 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41744 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41745 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41746 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41747 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41748 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41749 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41750 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41751 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41752 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41753 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41754 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41755 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41756 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41757 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41758 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41759 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41760 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41761 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41762 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41763 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41764 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41765 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41766 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41767 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41768 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41769 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41770 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41771 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41772 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41773 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41774 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41775 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41776 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41777 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41778 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41779 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41780 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41781 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41782 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41783 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41784 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41785 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41786 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41787 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41788 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41789 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41790 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41791 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41792 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41793 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41794 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41795 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41796 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41797 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41798 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41799 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41800 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41801 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41802 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41803 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41804 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41805 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41806 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41807 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41808
73c5ebe3
JM
41809 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41810 _XOPEN_SOURCE_EXTENDED for XPG4.
41811
39c33b6c
JM
41812 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41813
62fde54f
JM
41814 * Makeconfig (localtime): Remove variable.
41815 (inst_localtime-file): Likewise.
41816
0741d64c
AS
418172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41818
41819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41820 Update.
41821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41822 Update.
41823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41824 Update.
41825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41826 Update.
41827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41828 Update.
41829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41830 Update.
41831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41832 Update.
41833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41834 Update.
41835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41836 Update.
41837
7cb029ee
JM
418382012-05-01 Joseph Myers <joseph@codesourcery.com>
41839
41840 [BZ #2550]
41841 [BZ #2570]
41842 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41843 comparisons to determine direction to adjust input.
41844 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41845 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41846 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41847 Likewise.
41848 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41849 Likewise.
41850 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41851 Likewise.
41852 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41853 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41854 Likewise.
41855 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41856 Likewise.
41857 * math/libm-test.inc (nexttoward_test): Add more tests.
41858
412bd966
AS
418592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41860
41861 [BZ #14040]
41862 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41863 in version GLIBC_2.1, not GLIBC_2.0.
41864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41865 Likewise.
41866
9568c0c2
JM
418672012-04-30 Joseph Myers <joseph@codesourcery.com>
41868
adfbc8ac
JM
41869 [BZ #13942]
41870 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41871 (1 - x) * (1 + x).
41872 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41873 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41874 * math/libm-test.inc (acos_test): Add more tests.
41875 (asin_test): Likewise.
41876 * sysdeps/i386/fpu/libm-test-ulps: Update.
41877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41878
5ba3cc69
JM
41879 [BZ #14034]
41880 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41881 of square root.
41882 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41883 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41884 * math/libm-test.inc (acos_test_tonearest): New function.
41885 (acos_test_towardzero): Likewise.
41886 (acos_test_downward): Likewise.
41887 (acos_test_upward): Likewise.
41888 (asin_test_tonearest): Likewise.
41889 (asin_test_towardzero): Likewise.
41890 (asin_test_downward): Likewise.
41891 (asin_test_upward): Likewise.
41892 (main): Call the new functions.
41893 * sysdeps/i386/fpu/libm-test-ulps: Update.
41894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41895
9568c0c2
JM
41896 [BZ #13884]
41897 [BZ #13924]
41898 * math/e_exp10.c: Include <float.h>.
41899 (__ieee754_exp10): Handle underflow here rather than multiplying
41900 large negative argument by M_LN10.
41901 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41902 of __ieee754_expf.
41903 * math/e_exp10l.c: Include <float.h>.
41904 (__ieee754_exp10l): Handle underflow here rather than multiplying
41905 large negative argument by M_LN10l.
41906 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41907 spurious overflow exception on underflow.
41908
5ac3ea17
MP
419092012-04-29 Marek Polacek <polacek@redhat.com>
41910
41911 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41912 (__fortify_function): New macro.
41913 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41914 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41915 __extern_always_inline.
41916 * libio/bits/stdio2.h: Likewise.
41917 * libio/bits/stdio.h: Likewise.
41918 * string/string.h: Likewise.
41919 * string/bits/string3.h: Likewise.
41920 * include/stdio.h: Likewise.
41921 * stdlib/bits/stdlib.h: Likewise.
41922 * stdlib/stdlib.h: Likewise.
41923 * rt/bits/mqueue2.h: Likewise.
41924 * rt/mqueue.h: Likewise.
41925 * posix/bits/unistd.h: Likewise.
41926 * posix/unistd.h: Likewise.
41927 * io/bits/poll2.h: Likewise.
41928 * io/bits/fcntl2.h: Likewise.
41929 * io/fcntl.h: Likewise.
41930 * io/sys/poll.h: Likewise.
41931 * misc/bits/syslog.h: Likewise.
41932 * misc/bits/syslog-ldbl.h: Likewise.
41933 * misc/sys/syslog.h: Likewise.
41934 * socket/bits/socket2.h: Likewise.
41935 * socket/sys/socket.h: Likewise.
41936 * debug/tst-chk1.c: Likewise.
41937 * wcsmbs/bits/wchar2.h: Likewise.
41938 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41939 * wcsmbs/wchar.h: Likewise.
41940
ecf0ebfb
AJ
419412012-04-29 Andreas Jaeger <aj@suse.de>
41942
41943 * Makerules (tests): Remove enable-check-abi protection.
41944 (check-abi-warn): Remove.
41945 (check-abi-%): Remove check-abi-warn usage.
41946
41947 * configure.in: Remove check-abi configure option.
41948 * configure: Regenerated.
41949 * config.make.in (enable-check-abi): Remove.
41950
6d5c57fa
AS
419512012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41952
24c5d07e 41953 [BZ #14033]
ded5180a
AS
41954 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41955 double functions to double *_finite functions.
41956
7e0d315d
AS
41957 [BZ #13941]
41958 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41959 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41960 LDBL_MIN_EXP.
41961 * stdio-common/Makefile (tests): Add tst-sprintf3.
41962 * stdio-common/tst-sprintf3.c: New file.
41963
6d5c57fa
AS
41964 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41965 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41966
0749ff8b
JM
419672012-04-28 Joseph Myers <joseph@codesourcery.com>
41968
41969 * conform/conformtest.pl: Remove duplicate typed-constant
41970 handling.
41971
8dbd5d7b
DM
419722012-04-28 David S. Miller <davem@davemloft.net>
41973
41974 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41975 (check-abi-%): Remove AWK script prerequisite and explicit
41976 abilist directory.
41977 (check-abi): Rewrite to just diff the symlist with the abilist.
41978 (config-tls, config-abi-config): Delete, no longer used.
41979 (update-abi-%): Remove AWK script and explicit abilist directory.
41980 (update-abi): Rewrite to simply compare and conditionally copy the
41981 symlist and the sysdep abilist file. Remove update-abi-config
41982 checks.
41983 * abilist/ld.abilist: Remove.
41984 * abilist/libBrokenLocale.abilist: Remove.
41985 * abilist/libanl.abilist: Remove.
41986 * abilist/libcrypt.abilist: Remove.
41987 * abilist/libdl.abilist: Remove.
41988 * abilist/librt.abilist: Remove.
41989 * abilist/libthread_db.abilist: Remove.
41990 * abilist/libutil.abilist: Remove.
41991 * scripts/extract-abilist.awk: Remove.
41992 * scripts/merge-abilist.awk: Remove.
41993 * sysdeps/generic/libcidn.abilist: New file.
41994 * sysdeps/generic/libnss_compat.abilist: New file.
41995 * sysdeps/generic/libnss_db.abilist: New file.
41996 * sysdeps/generic/libnss_dns.abilist: New file.
41997 * sysdeps/generic/libnss_files.abilist: New file.
41998 * sysdeps/generic/libnss_hesiod.abilist: New file.
41999 * sysdeps/generic/libnss_nis.abilist: New file.
42000 * sysdeps/generic/libnss_nisplus.abilist: New file.
42001 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42002 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42003 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42004 file.
42005 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42006 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42007 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42008 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42009 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42010 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42011 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42012 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42013 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42014 file.
42015 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42016 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42017 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42018 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42019 file.
42020 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42021 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42022 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42023 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42024 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42025 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42026 file.
42027 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42028 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42029 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42030 file.
42031 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42033 New file.
42034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42035 New file.
42036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42037 New file.
42038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42039 New file.
42040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42041 New file.
42042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42043 New file.
42044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42045 New file.
42046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42047 New file.
42048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42049 New file.
42050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42051 New file.
42052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42053 New file.
42054 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42055 New file.
42056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42057 New file.
42058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42059 file.
42060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42061 New file.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42063 New file.
42064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42065 file.
42066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42067 New file.
42068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42069 New file.
42070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42071 file.
42072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42073 New file.
42074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42075 New file.
42076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42077 New file.
42078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42079 New file.
42080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42081 New file.
42082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42083 New file.
42084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42086 file.
42087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42088 New file.
42089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42090 file.
42091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42092 file.
42093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42094 file.
42095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42096 file.
42097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42098 file.
42099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42100 New file.
42101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42102 file.
42103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42104 file.
42105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42106 New file.
42107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42108 file.
42109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42111 file.
42112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42113 New file.
42114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42115 file.
42116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42117 file.
42118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42119 file.
42120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42121 file.
42122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42123 file.
42124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42125 New file.
42126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42127 file.
42128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42129 file.
42130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42131 New file.
42132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42133 file.
42134 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42135 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42136 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42137 file.
42138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42139 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42140 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42141 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42142 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42143 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42144 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42145 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42146 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42147 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42150 file.
42151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42152 New file.
42153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42154 file.
42155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42156 file.
42157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42158 file.
42159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42160 file.
42161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42162 file.
42163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42164 New file.
42165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42166 New file.
42167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42168 file.
42169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42170 New file.
42171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42172 file.
42173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42175 file.
42176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42177 New file.
42178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42179 file.
42180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42181 file.
42182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42183 file.
42184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42185 file.
42186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42187 file.
42188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42189 New file.
42190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42191 New file.
42192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42193 file.
42194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42195 New file.
42196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42197 file.
42198
41d73a1b
JM
421992012-04-28 Joseph Myers <joseph@codesourcery.com>
42200
42201 * conform/conformtest.pl: Fix typo in handling typed-constant from
42202 allow-header.
42203
28aeeda4
JM
422042012-04-27 Joseph Myers <joseph@codesourcery.com>
42205
adae8f5e
JM
42206 * README: Cut down references to pre-2.6 Linux kernels and
42207 Linuxthreads. Update lists of configurations in libc and ports
42208 and sort alphabetically. Say "or newer" with Linux kernel version
42209 requirements.
42210
28aeeda4
JM
42211 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42212
a462cb63
RA
422132012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42214
42215 [BZ #887]
42216 * math/libm-test.inc (logb_test_downward): New test to expose
42217 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42218 rounding mode.
42219
6ad3493e
JM
422202012-04-27 Joseph Myers <joseph@codesourcery.com>
42221
42222 [BZ #14027]
42223 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42224 to be done.
42225 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42226 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42227
2ce4f015
JM
422282012-04-26 Joseph Myers <joseph@codesourcery.com>
42229
5aeb141a
JM
42230 * sysdeps/unix/i386/brk.S: Remove file.
42231 * sysdeps/unix/i386/dl-brk.S: Likewise.
42232 * sysdeps/unix/i386/pipe.S: Likewise.
42233 * sysdeps/unix/i386/sigreturn.S: Likewise.
42234 * sysdeps/unix/i386/syscall.S: Likewise.
42235 * sysdeps/unix/i386/vfork.S: Likewise.
42236 * sysdeps/unix/i386/wait.S: Likewise.
42237
7143acae
JM
42238 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42239 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42240
2ce4f015
JM
42241 * configure.in (arm*-none*): Do not allow without
42242 --enable-hacker-mode.
42243 (netbsd*): Remove case setting base_os.
42244 (386bsd*): Likewise.
42245 (freebsd*): Likewise.
42246 (bsdi*): Likewise.
42247 (osf*): Likewise.
42248 (sunos*): Likewise.
42249 (ultrix*): Likewise.
42250 (newsos*): Likewise.
42251 (dynix*): Likewise.
42252 (*bsd*): Likewise.
42253 (sysv*): Likewise.
42254 (isc*): Likewise.
42255 (esix*): Likewise.
42256 (sco*): Likewise.
42257 (minix*): Likewise.
42258 (irix4*): Likewise.
42259 (irix6*): Likewise.
42260 (solaris[2-9]*): Likewise.
42261 (none): Likewise.
42262 * configure: Regenerated.
42263
0ac229c8
AZ
422642012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42265
42266 [BZ #11521]
42267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42268 overflow or cancellation in calculating denominator.
42269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42270 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42271 down expression to avoid unexpected rounding in newer GCCs.
42272 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42273
33f244f4
DM
422742012-04-26 David S. Miller <davem@davemloft.net>
42275
42276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42277 long-double compat symbols.
42278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42291
cfa1f3e8
DM
422922012-04-25 David S. Miller <davem@davemloft.net>
42293
42294 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42295 HWCAP_* values only after the memory barriers have been defined.
42296 (atomic_full_barrier): Define.
42297 (atomic_read_barrier): Define.
42298 (atomic_write_barrier): Define.
42299
6e236b92
SP
423002012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42301
42302 * shlib-versions: Add libgcc_s version information.
42303 * sysdeps/generic/libgcc_s.h: Remove.
42304 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42305 libgcc_s.h.
42306 * sysdeps/gnu/unwind-resume.c: Likewise.
42307 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42308
aab39a09
DM
423092012-04-25 David S. Miller <davem@davemloft.net>
42310
42311 * sysdeps/unix/sparc/brk.S: Delete.
42312 * sysdeps/unix/sparc/dl-brk.S: Delete.
42313 * sysdeps/unix/sparc/pipe.S: Delete.
42314 * sysdeps/unix/sparc/sysdep.S: Delete.
42315 * sysdeps/unix/sparc/sysdep.h: Delete.
42316 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
42317 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42318 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42320 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
42321 (JUMPTARGET): Remove.
42322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42323 sysdeps/unix/sparc/sysdep.h
42324 (ENTRY, END): Remove.
42325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42326
a3cc4f48
JM
423272012-04-25 Joseph Myers <joseph@codesourcery.com>
42328
2ed8cda2
JM
42329 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42330 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42331 -DIS_IN_build.
42332
35d76d59
JM
42333 * timezone/README: Update upstream location and email address for
42334 tzcode and tzdata.
42335 * timezone/zdump.c: Update from tzcode 2012b.
42336 * timezone/zic.c: Likewise.
42337
a3cc4f48
JM
42338 * configure.in (libc_cv_as_needed): Remove test.
42339 * configure: Regenerated.
42340 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42341 conditional definition.
42342 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42343 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42344 * config.make.in (have-as-needed): Remove variable.
42345
ceab42c3
SP
423462012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42347 Paul Pluzhnikov <ppluzhnikov@google.com>
42348
42349 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42350 strings correctly.
42351
3ce2865f
CLT
423522012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42353
42354 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42355 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42356 * sysdeps/sh/strlen.S: Likewise.
42357
f37e0d68
JM
423582012-04-24 Joseph Myers <joseph@codesourcery.com>
42359
ae186e9a
JM
42360 * sysdeps/unix/fork.S: Remove file.
42361 * sysdeps/unix/i386/fork.S: Likewise.
42362 * sysdeps/unix/sparc/fork.S: Likewise.
42363
b96914af
JM
42364 * sysdeps/unix/system.c: Remove file.
42365 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42366
f37e0d68
JM
42367 * sysdeps/unix/getegid.S: Remove file.
42368 * sysdeps/unix/geteuid.S: Likewise.
42369
87ef29ca
RM
423702012-04-24 Roland McGrath <roland@hack.frob.com>
42371
83bcd236
RM
42372 * scripts/check-localplt.awk: New file.
42373 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42374 of diff.
42375 * scripts/data/localplt-generic.data: Add a comment.
42376
87ef29ca
RM
42377 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42378 NODE when __dir_mkfile failed.
42379 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42380 Reported by Ludovic Courtès <ludo@gnu.org>.
42381
e5a6e567
AJ
423822012-04-24 Andreas Jaeger <aj@suse.de>
42383
42384 * Makerules (common-clean): Also remove gen-as-const-headers
42385 files.
42386
c1820385
JM
423872012-04-24 Joseph Myers <joseph@codesourcery.com>
42388
42389 * Makerules (native-compile): Do not change working directory for
42390 build. Use $(OUTPUT_OPTION) in command.
42391 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42392
94e02fc4
AZ
423932012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42394
42395 [BZ #13886]
42396 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42397 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42398 * math/libm-test.inc (floor_test): Add more tests.
42399 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42400
3a533ca3
JM
424012012-04-24 Joseph Myers <joseph@codesourcery.com>
42402
940ab4b3
JM
42403 * sysdeps/unix/getdents.c: Remove file.
42404 * sysdeps/unix/sysv/getdents.c: Likewise.
42405 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42406
90e037bd
JM
42407 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42408 sysdeps/unix/mman/syscalls.list.
42409 (mmap): Likewise.
42410 (mprotect): Likewise.
42411 (msync): Likewise.
42412 (munmap): Likewise.
42413 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42414 * sysdeps/unix/mman/syscalls.list: Remove.
42415 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42416
3a533ca3
JM
42417 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42418 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42419 * configure: Regenerated.
42420 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42421 $(libgcc_s_suffix).
42422 * config.make.in (libgcc_s_suffix): Remove variable.
42423
1ad743de
JM
424242012-04-23 Joseph Myers <joseph@codesourcery.com>
42425
4ad451e2
JM
42426 * sysdeps/unix/sysv/gethostname.c: Move to ...
42427 * sysdeps/posix/gethostname.c: ... here.
42428
5e37ce39
JM
42429 * sysdeps/unix/execve.S: Remove file.
42430
1ad743de
JM
42431 * sysdeps/unix/_exit.S: Remove file.
42432
4e681b5b
AJ
424332012-04-23 Andreas Jaeger <aj@suse.de>
42434
42435 [BZ #13739]
42436 * manual/Makefile: Remove make dist support, there's no
42437 need for a stand-alone documentation tar ball.
42438 (TEXI2DVI): Define always, it's not in Makeconfig.
42439 (dist): Removed.
42440 (tar-it): Removed.
42441 (edition): Removed.
42442 (glibc-doc-$(edition).tar): Removed
42443 (%.Z): Removed.
42444 (%.gz): Removed.
42445 (%.uu): Removed.
42446 (ETAGS): Remove, it's in Makeconfig.
42447 (move-if-change): Remove, it's in Makeconfig.
42448
38686a03 424492012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
42450
42451 [BZ #13970]
42452 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42453 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42454 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42455 (strtod_l, strtof_l, strtold_l): Remove __wur.
42456 It is not necessarily an error to ignore strtol's return value.
42457 One can reliably look at the stored endptr to decide whether
42458 the number had valid syntax.
42459
7c0616fa
AJ
424602012-04-21 Andreas Jaeger <aj@suse.de>
42461
803cb6b7 42462 [BZ #13739]
7c0616fa
AJ
42463 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42464
b0fe253f
JM
424652012-04-21 Joseph Myers <joseph@codesourcery.com>
42466
42467 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42468 * sysdeps/unix/sysv/Versions: Remove file.
42469
8280f22d
MT
424702012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
42471
42472 [BZ #13927]
42473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42474
75ce411f 424752012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
42476
42477 [BZ #7064]
42478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42479 version from __vm86.
42480
097d59fa
JM
424812012-04-20 Joseph Myers <joseph@codesourcery.com>
42482
a90f3bcb
JM
42483 * sysdeps/unix/common/lxstat.c: Remove file.
42484 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42485
edc7ea78
JM
42486 * sysdeps/unix/sysv/Makefile: Remove file.
42487
cb78c221
JM
42488 * sysdeps/unix/sysv/direct.h: Remove file.
42489
efa6a45f
JM
42490 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42491 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42492 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42493 * sysdeps/unix/sysv/bits/signum.h: Likewise.
42494 * sysdeps/unix/sysv/bits/stat.h: Likewise.
42495 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42496 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42497
9c9f2d0c
JM
42498 * sysdeps/unix/sysv/setrlimit.c: Remove file.
42499
4541c83b
JM
42500 * sysdeps/unix/xmknod.c: Remove file.
42501 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42502
f5d153a0
JM
42503 * sysdeps/unix/sysv/settimeofday.c: Remove file.
42504
aa746595
JM
42505 * sysdeps/unix/sysv/i386/time.S: Remove file.
42506
cce5905e
JM
42507 * sysdeps/unix/fxstat.c: Remove file.
42508 * sysdeps/unix/xstat.c: Likewise.
42509 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42510
37fa3841
JM
42511 * sysdeps/unix/sysv/sigaction.c: Remove file.
42512
ff1962a3
JM
42513 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42514 (sysdep_headers): Remove variable.
42515 [termio.h not in sysdep_headers] (generated): Likewise.
42516 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42517 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42518 * sysdeps/unix/sysv/tcdrain.c: Likewise.
42519 * sysdeps/unix/sysv/tcflow.c: Likewise.
42520 * sysdeps/unix/sysv/tcflush.c: Likewise.
42521 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42522 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42523 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42524 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42525 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42526
e7740d31
JM
42527 * sysdeps/unix/siglist.c: Remove file.
42528
ee06f18b
JM
42529 * sysdeps/unix/getppid.S: Remove file.
42530
097d59fa
JM
42531 * sysdeps/unix/mkdir.c: Remove file.
42532 * sysdeps/unix/rmdir.c: Likewise.
42533
ff3d51ec
AS
425342012-04-19 Andreas Schwab <schwab@linux-m68k.org>
42535
42536 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42537 ERR_MAX value.
42538 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42539 errlist-compat value.
42540
50f81fd7
DM
425412012-04-18 David S. Miller <davem@davemloft.net>
42542
42543 * sysdeps/generic/memcopy.h (reg_char): Delete.
42544 * debug/strcat_chk.c: Use char, not reg_char.
42545 * debug/strcpy_chk.c: Likewise.
42546 * debug/strncat_chk.c: Likewise.
42547 * debug/strncpy_chk.c: Likewise.
42548 * string/memchr.c: Likewise.
42549 * string/memrchr.c: Likewise.
42550 * string/rawmemchr.c: Likewise.
42551 * string/strcat.c: Likewise.
42552 * string/strchr.c: Likewise.
42553 * string/strchrnul.c: Likewise.
42554 * string/strcmp.c: Likewise.
42555 * string/strcpy.c: Likewise.
42556 * string/strncat.c: Likewise.
42557 * string/strncmp.c: Likewise.
42558 * string/strncpy.c: Likewise.
42559
8ff41c46
WS
425602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42561
42562 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42563 __builtin_memcopy is called when src and dest ranges are known to not
42564 overlap.
42565
6b652f46
WS
425662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42567
42568 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42569 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42570 fwd_align_merge macro call.
42571 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42572 bwd_align_merge macro call.
42573 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42574
b282631e
WS
425752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
42576
42577 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42578 bwd_align_merge macros.
42579 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42580 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42581 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42582
95aa737c
DM
425832012-04-18 David S. Miller <davem@davemloft.net>
42584
42585 * sysdeps/sparc/sparc64/memcopy.h: Delete.
42586
7a99a614
AJ
425872012-04-18 Andreas Jaeger <aj@suse.de>
42588
42589 [BZ# 6794]
42590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42591 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42592 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42593
42594 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42595 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42597
42598 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42599 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42600 Adjust for changed ldbl-128 files.
42601
42602 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42603 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42604 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42605
e5270c23
DM
426062012-04-17 David S. Miller <davem@davemloft.net>
42607
42608 * sysdeps/sparc/sparc32/memcopy.h: Delete.
42609
fb5e92c9
AS
426102012-04-17 Andreas Schwab <schwab@linux-m68k.org>
42611
42612 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42613 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42614 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42615 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42616 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42617 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42618
76da7265
AZ
426192012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42620
42621 [BZ #6794]
42622 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42623 * math/libm-test.inc: Add ilogb errno and exception tests.
42624 * math/w_ilogb.c: New file: ilogb wrapper.
42625 * math/w_ilogbf.c: New file: ilogbf wrapper.
42626 * math/w_ilogbl.c: New file: ilogbl wrapper.
42627 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42628 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42629 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42630 exception being thrown with 0.0 as argument.
42631 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42632 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42633 exception being thrown with 0.0 as argument.
42634 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42635 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42636 exception being thrown with 0.0 as argument.
42637 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42638 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42639 exception being thrown with 0.0 as argument.
42640 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42641 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 42642 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
42643 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42644 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42645 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42646 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42647 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42648 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42649
0396e69d
PB
426502012-04-17 Petr Baudis <pasky@ucw.cz>
42651
42652 * include/sys/uio.h: Change __vector to __iovec to avoid clash
42653 with altivec.
42654
750b5926
MP
426552012-04-16 Marek Polacek <polacek@redhat.com>
42656
42657 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42658
751728a1
MP
426592012-04-16 Marek Polacek <polacek@redhat.com>
42660
42661 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42662 operands of fdivp instruction.
42663
34a27407
L
426642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42665
42666 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42667 * elf/tst-auditmod3b.c: Likewise.
42668 * elf/tst-auditmod4b.c: Likewise.
42669 * elf/tst-auditmod5b.c: Likewise.
42670 * elf/tst-auditmod6b.c: Likewise.
42671 * elf/tst-auditmod6c.c: Likewise.
42672 * elf/tst-auditmod7b.c: Likewise.
42673 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42674 * sysdeps/x86_64/preconfigure.in: Likewise.
42675 * sysdeps/x86_64/preconfigure: Regenerated.
42676
7e73e17d
L
426772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
42678
42679 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42680 __ILP32__.
42681
c7a6ab72
AB
426822012-04-13 Antoine Balestrat <merkil33@gmail.com>
42683
42684 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42685 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42686
a9e8e0e0
CL
426872012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
42688
42689 [BZ #13973]
42690 * locale/iso-639.def: Fix gl language name. Spotted by
42691 Yaron Shahrabani.
42692
ec98af7d
RM
426932012-04-12 Roland McGrath <roland@hack.frob.com>
42694
42695 [BZ #2074]
42696 * libio/libio.h (__io_write_fn): Update comment.
42697
247c3ede
PB
426982012-04-12 Petr Baudis <pasky@ucw.cz>
42699
42700 [BZ #2074]
42701 * stdio.texi (Hook Functions): The user provided writer function
42702 is not allowed to return -1.
42703
55939d6d
DM
427042012-04-11 David S. Miller <davem@davemloft.net>
42705
42706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42707
90020f5a
MF
427082012-04-11 Mike Frysinger <vapier@gentoo.org>
42709
42710 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42711 Add a leading slash to rtkaio.
42712
288f9098
JM
427132012-04-11 Jim Meyering <meyering@redhat.com>
42714
90020f5a
MF
42715 [BZ #11959]
42716 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42717 It is not necessarily an error to ignore fwrite's return
42718 value. One can reliably use ferror to test for errors after
42719 the fact.
288f9098 42720
4be2b570
L
427212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42722
42723 * bits/types.h (__snseconds_t): New type.
42724 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42725
42726 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42728 (__SNSECONDS_T_TYPE): Likewise.
42729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42730 (__SNSECONDS_T_TYPE): Likewise.
42731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42732 (__SNSECONDS_T_TYPE): Likewise.
42733
288f9098 427342012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
42735
42736 [BZ #2636]
42737 * manual/time.texi (Processor Time): Return type of times is
42738 elapsed real time since an arbitrary point in the past.
42739 (CPU Time): Move CLK_TCK from here...
42740 (Processor Time): ...to here. Correct description.
42741 * manual/conf.texi (Constants for Sysconf): Correct description of
42742 _SC_CLK_TCK.
42743
d7dd4413
DM
427442012-04-10 David S. Miller <davem@davemloft.net>
42745
42746 [BZ #13967]
42747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42748 where the is a gap between DT_REL(A) and DT_JMPREL.
42749
b46068fc
L
427502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
42751
42752 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42753 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42754 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42755
73d65cc3
SP
427562012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42757
42758 * elf/dl-support.c (_dl_inhibit_cache): New variable.
42759 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42760 (dl_main): Handle --inhibit-cache.
42761 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42762 _dl_inhibit_cache.
42763 * elf/dl-load.c (_dl_map_object): Use it.
42764 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42765
bcc8d661
JM
427662012-04-09 Joseph Myers <joseph@codesourcery.com>
42767
8f9a2fae
JM
42768 [BZ #13872]
42769 * sysdeps/i386/fpu/e_powl.S (p78): New object.
42770 (__ieee754_powl): Saturate large exponents rather than testing for
42771 overflow of y*log2(x).
42772 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42773 * math/libm-test.inc (pow_test): Do not permit spurious overflow
42774 exceptions.
42775
bcc8d661
JM
42776 [BZ #11521]
42777 * math/s_ctan.c: Include <float.h>.
42778 (__ctan): Avoid internal overflow or cancellation in calculating
42779 denominator.
42780 * math/s_ctanf.c: Likewise.
42781 * math/s_ctanl.c: Likewise.
42782 * math/s_ctanh.c: Likewise.
42783 * math/s_ctanhf.c: Likewise.
42784 * math/s_ctanhl.c: Likewise.
42785 * math/libm-test.inc (ctan_test): Add more tests.
42786 (ctanh_test): Likewise.
42787 * sysdeps/i386/fpu/libm-test-ulps: Update.
42788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42789
823fbbb4
AJ
427902012-04-09 Andreas Jaeger <aj@suse.de>
42791
03879793
AJ
42792 [BZ #6894]
42793 * manual/filesys.texi (Directory Entries): Mention that d_namlen
42794 is an optional BSD extension.
42795
823fbbb4
AJ
42796 [BZ #10254]
42797 * manual/stdio.texi (Opening Streams): Document additional fopen
42798 parameters.
42799
8de131cb
RM
428002012-04-09 Roland McGrath <roland@hack.frob.com>
42801
42802 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42803 %eax without telling the compiler.
42804
c0ed9d7d
CD
428052012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
42806
42807 [BZ # 13963]
42808 * manual/install.texi: Use sourceware.org.
42809
c483f6b4
JM
428102012-04-09 Joseph Myers <joseph@codesourcery.com>
42811
d7dd9453
JM
42812 [BZ #13873]
42813 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42814 (__ieee754_pow): Generate overflow and underflow using huge*huge
42815 and tiny*tiny rather than just returning constant infinity or zero
42816 for large exponents.
42817 * math/libm-test.inc (pow_test): Require overflow exceptions for
42818 applicable cases of large exponents.
42819
c483f6b4
JM
42820 [BZ #706]
42821 * sysdeps/i386/fpu/e_pow.S (p10): New object.
42822 (__ieee754_pow): Use iterative multiplication algorithm only for
42823 integer exponents with absolute value below 1024. Check for odd
42824 integer exponents when using algorithm for real exponents.
42825 * math/libm-test.inc (pow_test): Add more tests.
42826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42827
d2de7579
JM
428282012-04-08 Joseph Myers <joseph@codesourcery.com>
42829
42830 [BZ #13705]
42831 * math/libm-test.inc (exp_test): Do not allow overflow exception
42832 on underflow test.
42833
f77f1232
AJ
428342012-04-08 Aurelien Jarno <aurelien@aurel32.net>
42835
42836 [BZ #13705]
42837 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42838 instead of __kernel_standard_f.
42839
3884932b
MF
428402012-04-08 Mike Frysinger <vapier@gentoo.org>
42841
42842 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42843 * sysdeps/x86_64/memset_chk.S: Likewise.
42844
54472e9c
AJ
428452012-04-08 Andreas Jaeger <aj@suse.de>
42846
6ab0fbfc
AJ
42847 [BZ #10153]
42848 * manual/startup.texi (Environment Access): Describe return value
42849 for putenv and setenv.
42850
61efba8c
AJ
42851 [BZ #6895]
42852 * manual/filesys.texi (Directory Entries): Add description for
42853 DT_LNK.
42854
95c3f29a
AJ
42855 [BZ #6890]
42856 * manual/filesys.texi (Directory Entries): Clarify that it's file
42857 system not operating system in the description of DT_UNKNOWN.
42858
54472e9c
AJ
42859 [BZ #6578]
42860 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42861
624254b1
SC
428622012-04-08 Stephen Compall <s11@member.fsf.org>
42863
42864 [BZ #6649]
42865 * manual/llio.texi (Opening and Closing Files): Add cross
42866 reference to explain mode argument.
42867
1e4920e0
MF
428682012-04-07 Mike Frysinger <vapier@gentoo.org>
42869
42870 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42871 * sysdeps/x86_64/memset_chk.S: Likewise.
42872
5ed848f3
DM
428732012-04-07 David S. Miller <davem@davemloft.net>
42874
42875 * elf/elf.h (R_SPARC_WDISP10): Define.
42876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42877 R_SPARC_SIZE32.
42878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42879 R_SPARC_SIZE64 and R_SPARC_H34.
42880
96154cd8
CD
428812012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42882
42883 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42884 conditions and remove no longer applicable assertion.
42885
9904dc47
L
428862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42887
42888 * bits/byteswap.h: Include <features.h>.
42889 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42890 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42891
f8887d0a
L
428922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42893
42894 * bits/byteswap.h (__bswap_16): Removed.
42895 Include <bits/byteswap-16.h> to get __bswap_16.
42896 * sysdeps/i386/bits/byteswap.h: Likewise.
42897 * sysdeps/s390/bits/byteswap.h: Likewise.
42898 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42899 * bits/byteswap-16.h: New file.
42900 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42901 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42902 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42903 * string/Makefile (headers): Add bits/byteswap-16.h.
42904
62470f60
PP
429052012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42906
42907 [BZ #13895]
42908 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42909 extra indirection.
42910 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42911 * nss/tst-nss-static.c: New.
42912
4dad7bab
RM
429132012-04-06 Robert Millan <rmh@gnu.org>
42914
42915 [BZ #6486]
42916 * manual/llio.texi (File Position Primitive): lseek
42917 refers to WHENCE when it really means OFFSET.
42918
e9142a17
AJ
429192012-04-06 Andreas Jaeger <aj@suse.de>
42920
2c040eff
AJ
42921 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42922 strncmp declarations.
42923
e9142a17
AJ
42924 * abilist/libc.abilist: Add __poll and __ppoll.
42925
ff9f1c5f
DM
429262012-04-05 David S. Miller <davem@davemloft.net>
42927
dcd2ae90
DM
42928 * scripts/check-local-headers.sh: Accept a host triplet in the
42929 path matched by the exclude regexp.
42930
993eb054
DM
42931 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42932 definition.
42933 * sysdeps/powerpc/powerpc32/dl-machine.h
42934 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42935 * sysdeps/s390/s390-32/dl-machine.h
42936 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42937 * sysdeps/sparc/sparc32/dl-machine.h
42938 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42939 * sysdeps/sparc/sparc64/dl-machine.h
42940 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42941
ff9f1c5f
DM
42942 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42943 lazy binding.
48e2e132 42944 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42945 undefined symbol errors.
42946
48e2e132 42947 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42948 DT_NEEDED entries.
42949
e80d6f94
MM
429502012-04-05 Michael Matz <matz@suse.de>
42951
42952 [BZ #13592]
42953 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42954
349fa79f
AJ
429552012-04-05 Andreas Jaeger <aj@suse.de>
42956
42957 [BZ #13908]
42958 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42959 comment.
42960
f402708f
KK
429612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42962
42963 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42964 which ROUND is no valid rounding mode.
42965
2ecccfc9
KK
429662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42967
42968 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42969 read again.
42970 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42971
8a53f50f
KK
429722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42973
42974 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42975 an exception using FPU order intentionally.
42976
429772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42978
42979 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42980 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42981 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42982 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42983
d653abb7
SJ
429842012-04-05 Simon Josefsson <simon@josefsson.org>
42985
42986 [BZ #12340]
42987 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42988 EINVAL when BUFLEN is too smal.
42989
c3b1bf7d
TS
429902012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42991
42992 [BZ #13553]
42993 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42994 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42995
b1aa60f3
AJ
429962012-04-03 Andreas Jaeger <aj@suse.de>
42997
c3b1bf7d 42998 [BZ #13938]
67f60a26
AJ
42999 * manual/setjmp.texi (System V contexts): Fix sentence.
43000
b1aa60f3
AJ
43001 [BZ #13926]
43002 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43003 New macro for this case.
43004 [!__GNUC__] (__bswap_64): New inline function for this case.
43005 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43006 * bits/byteswap.h: Likewise.
43007 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43008 ull, guard with __GLIBC_HAVE_LONG_LONG.
43009
43010 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43011 __GLIBC_HAVE_LONG_LONG.
43012
43013 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43014 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43015
39c59c35
TMQMF
430162012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43017
43018 [BZ #13691]
43019 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43020 inptr and inend, rather than using last_ch.
43021
135ffda8
DM
430222012-04-02 David S. Miller <davem@davemloft.net>
43023
43024 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43025 * stdio-common/printf-parse.h (read_int): Change return type to
43026 'int', return -1 on INT_MAX overflow.
43027 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43028 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43029 overflows INT_MAX. Check for overflow of in-format-string precision
43030 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43031 SIZE_MAX not INT_MAX for integer overflow test.
43032 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43033 skip the construct in the format string but do not record anything.
43034 * stdio-common/bug22.c: Adjust to test both width/prevision
43035 INT_MAX overflow as well as total length INT_MAX overflow. Check
43036 explicitly for proper errno values.
43037
228c019e
TS
430382012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43039
302cadd3
TS
43040 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43041 CHAR_MAX.
43042 * string/test-strcmp.c [! WIDE]: Likewise.
43043 * time/tst-mktime2.c: Likewise for INT_MAX.
43044 * string/test-string.h: #include <sys/param.h> for MIN.
43045
228c019e
TS
43046 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43047 * sysdeps/i386/init-first.c (init): Likewise.
43048 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43049 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43050 * sysdeps/sh/init-first.c (init): Likewise.
43051
cfa633f5
UD
430522012-04-01 Ulrich Drepper <drepper@gmail.com>
43053
43054 * po/ru.po: Update from translation team.
d1635ef8 43055 * po/vi.po: Likewise.
cfa633f5 43056
6cd0a5ea
SP
430572012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43058
43059 * resolv/nss_dns/dns-host.c: Merge copyright years.
43060
4b43400f
LD
430612012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43062
43063 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43064 Optimize memcpy with prefetch if
43065 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43066 src, dst pointers have unequal 16 byte alignments.
43067
48c41d04
SP
430682012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43069
43070 [BZ #13928]
43071 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43072 from a CNAME entry and return the minimum ttl for the query.
43073 (gaih_getanswer_slice): Likewise.
43074
b8dc394d
JL
430752012-03-30 Jeff Law <law@redhat.com>
43076
43077 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43078 due to long keys.
43079 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43080 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43081
2f5a5ed0
JL
43082 * resolv/nss_dns/dns-host.c: Update copyright year.
43083
1d39e359
UD
430842012-03-30 Ulrich Drepper <drepper@gmail.com>
43085
c030f70c 43086 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 43087 requests to save a system call. Fix check that all bytes are sent.
c030f70c 43088
1d39e359
UD
43089 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43090 comments for sendmmsg.
43091
430922012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
43093
43094 [BZ #13691]
43095 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43096 with only 1 character between 0x0041 and 0x01b0.
43097 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43098 * wcsmbs/tst-mbsnrtowcs.c: New file.
43099
20fde227
DM
431002012-03-29 David S. Miller <davem@davemloft.net>
43101
43102 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43103 small copies by hand.
43104
984a4237
JL
431052012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43106
43107 [BZ #13761]
57f41c40
AS
43108 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43109 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43110 group memberships.
984a4237 43111
18c9d62b
DM
431122012-03-28 David S. Miller <davem@davemloft.net>
43113
88d85d4f
DM
43114 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43115 that branches into memcpy.
43116 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43119 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43121 bits.
43122 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43123 implementation too.
43124 * sysdeps/sparc/mempcpy.S: New file.
43125
e5aa83e1
DM
43126 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43127 the IFUNC routine in the libc case.
43128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43129
88570753
DM
43130 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43132 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43133 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43134 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43135 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43136 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43137 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43138
249d7567
DM
43139 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43140 loop to 256 bytes instead of 64 bytes and fix test signedness.
43141
18c9d62b
DM
43142 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43143 * sysdeps/sparc/sparc32/Makefile: rather than here...
43144 * sysdeps/sparc/sparc64/Makefile: and here.
43145
05f3d1f6
UD
431462012-03-28 Ulrich Drepper <drepper@gmail.com>
43147
43148 * malloc/mallocbug.c: Avoid warnings about unused variables.
43149
86ae07a8
JL
431502012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43151
43152 [BZ #13760]
43153 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43154 in the right place. Discard and retry query if response is
43155 larger than input buffer size.
43156
41bf21a1
JM
431572012-03-28 Joseph Myers <joseph@codesourcery.com>
43158
d6270972
JM
43159 [BZ #369]
43160 [BZ #2678]
43161 [BZ #3866]
43162 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43163 x for large integer exponent.
43164 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43165 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43166 sign of result as needed afterwards.
43167 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43168 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43169 result for underflowing pow the same as for overflow.
43170 (__kernel_standard_l): Handle powl overflow and underflow here
43171 rather than calling __kernel_standard.
43172 * math/libm-test.inc (pow_test): Add more tests.
43173
414fca03 43174 [BZ #3868]
41bf21a1
JM
43175 [BZ #13879]
43176 [BZ #13910]
43177 [BZ #13911]
43178 [BZ #13912]
43179 [BZ #13913]
43180 [BZ #13915]
43181 [BZ #13916]
43182 [BZ #13917]
43183 [BZ #13918]
43184 [BZ #13919]
43185 [BZ #13920]
43186 [BZ #13921]
43187 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43188 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43189 (__kernel_standard_l): New function.
43190 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43191 __kernel_standard.
43192 * math/w_acosl.c (__acosl): Likewise.
43193 * math/w_asinl.c (__asinl): Likewise.
43194 * math/w_atan2l.c (__atan2l): Likewise.
43195 * math/w_atanhl.c (__atanhl): Likewise.
43196 * math/w_coshl.c (__coshl): Likewise.
43197 * math/w_exp10l.c (__exp10l): Likewise.
43198 * math/w_exp2l.c (__exp2l): Likewise.
43199 * math/w_fmodl.c (__fmodl): Likewise.
43200 * math/w_hypotl.c (__hypotl): Likewise.
43201 * math/w_j0l.c (__j0l, __y0l): Likewise.
43202 * math/w_j1l.c (__j1l, __y1l): Likewise.
43203 * math/w_jnl.c (__jnl, __ynl): Likewise.
43204 * math/w_lgammal.c (__lgammal): Likewise.
43205 * math/w_log10l.c (__log10l): Likewise.
43206 * math/w_log2l.c (__log2l): Likewise.
43207 * math/w_logl.c (__logl): Likewise.
43208 * math/w_powl.c (__powl): Likewise.
43209 * math/w_remainderl.c (__remainderl): Likewise.
43210 * math/w_scalbl.c (sysv_scalbl): Likewise.
43211 * math/w_sinhl.c (__sinhl): Likewise.
43212 * math/w_sqrtl.c (__sqrtl): Likewise.
43213 * math/w_tgammal.c (__tgammal): Likewise.
43214 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43215 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43216 * math/libm-test.inc (acos_test): Add more tests.
43217 (acosh_test): Likewise.
43218 (asin_test): Likewise.
43219 (atanh_test): Likewise.
43220 (exp_test): Likewise.
43221 (exp10_test): Likewise.
43222 (exp2_test): Likewise.
43223 (expm1_test): Likewise.
43224 (lgamma_test): Likewise.
43225 (log_test): Likewise.
43226 (log10_test): Likewise.
43227 (log1p_test): Likewise.
43228 (log2_test): Likewise.
43229 (pow_test): Do not allow some spurious overflow exceptions.
43230 (sqrt_test): Add more tests.
43231 (tgamma_test): Likewise.
43232 (y0_test): Likewise.
43233 (y1_test): Likewise.
43234 (yn_test): Likewise.
43235
dd62fda6
AB
432362012-03-27 Anton Blanchard <anton@samba.org>
43237
43238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43239 MAP_HUGETLB.
43240 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43241 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43242 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43243
1e3cdfda
AJ
432442012-03-27 David S. Miller <davem@davemloft.net>
43245
b855ab85
DM
43246 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43247
1e3cdfda
AJ
43248 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43249 have-as-vis3 check.
43250
432512012-03-27 Andreas Jaeger <aj@suse.de>
43252
43253 * sysdeps/x86_64/elf/configure.in: Moved to ...
43254 * sysdeps/x86_64/configure.in: ... here.
43255 * sysdeps/x86_64/elf/start.S: Moved to ...
43256 * sysdeps/x86_64/start.S: ... here.
43257 * sysdeps/x86_64/elf/configure: Delete.
43258
43259 * sysdeps/x86_64/configure.in: Merge contents from
43260 sysdeps/i386/configure.in (without i686 check).
43261
43262 * sysdeps/i386/elf/Versions: Merge into ...
43263 * sysdeps/i386/Versions: ... this.
43264 * sysdeps/i386/elf/Versions: Delete file.
43265 * sysdeps/i386/elf/start.S: Moved to ...
43266 * sysdeps/i386/start.S: ...here.
43267 * sysdeps/i386/elf/configure.in: Merge into...
43268 * sysdeps/i386/configure.in: ...here.
43269 * sysdeps/i386/elf/configure.in: Delete file.
43270 * sysdeps/i386/elf/configure: Delete file.
43271
43272 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43273 * debug/backtracesyms.c: ... here.
43274 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43275 * debug/backtracesymsfd.c: ... here.
43276 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43277 * sysdeps/generic/ifunc-sel.h: ... here.
43278
43279 * sysdeps/unix/i386/start.c: Delete file.
43280 * sysdeps/unix/sparc/start.c: Delete file.
43281 * sysdeps/unix/start.c: Delete file.
43282
43283 * sysdeps/sh/elf/configure.in: Moved to ...
43284 * sysdeps/sh/configure.in: ... here.
43285 * sysdeps/sh/elf/start.S: Moved to ...
43286 * sysdeps/sh/start.S: ... here.
43287 * sysdeps/sh/elf/configure: Delete file.
43288
43289 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43290 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43291 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43292 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43293 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43294 * sysdeps/powerpc/powerpc64/start.S: here.
43295 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43296 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43297 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43298 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43299 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43300
43301 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43302 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43303 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43304 * sysdeps/powerpc/powerpc32/start.S: ... here.
43305 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43306 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43307 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43308
43309 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43310 * sysdeps/powerpc/ifunc-sel.h: ... here.
43311 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43312 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43313
43314 * sysdeps/sparc/elf/configure.in: Moved to ...
43315 * sysdeps/sparc/configure.in: ... here.
43316 * sysdeps/sparc/elf/configure: Delete file.
43317 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43318 * sysdeps/sparc/sparc32/start.S: ... here.
43319 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43320 * sysdeps/sparc/sparc64/start.S: ... here.
43321 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43322 * sysdeps/sparc/sparc32/Makefile: ... this.
43323 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43324 * sysdeps/sparc/sparc64/Makefile: ... this.
43325
43326 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43327 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43328 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43329 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43330 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43331 * sysdeps/s390/s390-32/setjmp.S: ... here.
43332 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43333 * sysdeps/s390/s390-32/configure.in: ... here.
43334 * sysdeps/s390/s390-32/elf/configure: Delete file.
43335 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43336 * sysdeps/s390/s390-32/start.S: ... here.
43337
43338 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43339 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43340 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43341 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43342 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43343 * sysdeps/s390/s390-64/setjmp.S: ... here.
43344 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43345 * sysdeps/s390/s390-64/configure.in: ... here
43346 * sysdeps/s390/s390-64/elf/configure: Delete file.
43347 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43348 * sysdeps/s390/s390-64/start.S: ... here.
43349 * sysdeps/s390/s390-64/elf/configure: Delete.
43350
43351 * configure.in: Remove support for elf directories in sysdeps.
43352
43353 * configure: Regenerated.
43354 * sysdeps/i386/configure: Regenerated.
43355 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43356 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43357 * sysdeps/s390/s390-32/configure: Regenerated.
43358 * sysdeps/s390/s390-64/configure: Regenerated.
43359 * sysdeps/sh/configure: Regenerated.
43360 * sysdeps/sparc/configure: Regenerated.
43361 * sysdeps/x86_64/configure: Regenerated.
43362
a3f61311
AS
433632012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43364
c876e002
AS
43365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43366
a3f61311
AS
43367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43368 denormal result into account.
43369
ac4c54f0
RM
433702012-03-25 Roland McGrath <roland@hack.frob.com>
43371
43372 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43373 Reported by Allan McRae <allan@archlinux.org>.
43374
6a9b9c02
JL
433752012-03-23 Jeff Law <law@redhat.com>
43376
43377 * nss/getnssent.c (__nss_getent): Fix typo.
43378
4c42a0c1
DM
433792012-03-23 David S. Miller <davem@davemloft.net>
43380
43381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43382
1532c7ac
L
433832012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43384
43385 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43386 to pad to uint64_t for each field.
43387 (dl_tls_index): Replace unsigned long with uint64_t.
43388
3ff42526
PP
433892012-03-23 Daniel Jacobowitz <dmj@google.com>
43390 Paul Pluzhnikov <ppluzhnikov@google.com>
43391
43392 [BZ #6528]
43393 * grp/Makefile (otherlibs): Don't set it.
43394 * inet/Makefile (otherlibs): Likewise.
43395 * login/Makefile (otherlibs): Likewise.
43396 * nscd/Makefile (otherlibs): Likewise.
43397 * posix/Makefile (otherlibs): Likewise.
43398 * pwd/Makefile (otherlibs): Likewise.
43399 * rt/Makefile (otherlibs): Likewise.
43400 * sunrpc/Makefile (otherlibs): Likewise.
43401 * nss/Makefile (otherlibs): Likewise.
43402 Add libnss_files to routines and static-only-routines.
43403 ($(objpfx)getent): Remove rule.
43404 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43405 static-only-routines.
43406
7c69cd14
JM
434072012-03-22 Joseph Myers <joseph@codesourcery.com>
43408
43409 [BZ #13892]
43410 * math/s_cexp.c: Include <float.h>.
43411 (__cexp): Handle exp result overflowing not necessarily
43412 overflowing both real and imaginary parts of result.
43413 * math/s_cexpf.c: Likewise.
43414 * math/s_cexpl.c: Likewise.
43415 * math/libm-test.inc (cexp_test): Add more tests.
43416 * sysdeps/i386/fpu/libm-test-ulps: Update.
43417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43418
81b035fe
L
434192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43420
43421 * include/link.h (ELFW): New macro.
43422 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43423 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43424
1da7940c
L
434252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43426
43427 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43428 with uint64_t.
43429
b749dbb9
L
434302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43431
43432 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43433 declaration.
43434 (struct La_x32_retval): Likewise.
43435
2ff87f3f
L
434362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43437
43438 * sysdeps/x86_64/preconfigure.in: New file.
43439 * sysdeps/x86_64/preconfigure: New generated file.
43440
c0df8e69
JM
434412012-03-22 Joseph Myers <joseph@codesourcery.com>
43442
48e44791
JM
43443 [BZ #13824]
43444 * math/e_exp2l.c: Include <float.h>.
43445 (__ieee754_exp2l): Handle overflow and underflow cases
43446 separately. Only pass fractional part of argument to
43447 __ieee754_expl.
43448 * math/libm-test.inc (exp2_test): Add more tests.
43449
c0df8e69
JM
43450 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43451 negating x to take absolute value.
43452 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43453 Likewise.
43454 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43455 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43456 Likewise.
43457 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43458 computing low part if x was negated.
43459 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43460
c8e43ba7
L
434612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43462
43463 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43464 la_x32_gnu_pltexit.
43465 (pltexit): Cast int_retval to ptrdiff_t.
43466 * elf/tst-auditmod3b.c: Likewise.
43467 * elf/tst-auditmod4b.c: Likewise.
43468 * elf/tst-auditmod5b.c: Likewise.
43469 * elf/tst-auditmod6b.c: Likewise.
43470 * elf/tst-auditmod6c.c: Likewise.
43471 * elf/tst-auditmod7b.c: Likewise.
43472
43473 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43474 and x32_gnu_pltexit.
43475
43476 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43477 __ELF_NATIVE_CLASS.
43478 (La_x32_regs): New macro.
43479 (La_x32_retval): Likewise.
43480 (la_x32_gnu_pltenter): New function prototype.
43481 (la_x32_gnu_pltexit): Likewise.
43482
7998fa78
AS
434832012-03-21 Andreas Schwab <schwab@linux-m68k.org>
43484
dcb33988
AS
43485 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43486 exponent.
43487
233fc563
AS
43488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43489
7998fa78
AS
43490 * configure.in (libc_cv_cc_nofma): Check for option to disable
43491 generation of FMA instructions.
43492 * configure: Regenerate.
43493 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43494 * sysdeps/ieee754/dbl-64/Makefile: New file.
43495 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43496 Remove brandred-fma4.
43497 (CFLAGS-brandred-fma4.c): Remove.
43498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43499 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43500 define.
43501 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43502 define.
43503
8e95c99a
L
435042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43505
43506 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43507 LLONG_MAX != LONG_MAX.
43508 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43509 (_fitoa_word): Likewise.
43510 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43511 LLONG_MAX != LONG_MAX.
43512 * stdio-common/_itowa.h: Include <_itoa.h>.
43513 (_itowa_word): Use _ITOA_WORD_TYPE on value.
43514 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
43515 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
43516 only if not defined.
43517 (_ITOA_WORD_TYPE): Likewise.
43518 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43519 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43520
6f4db457
DM
435212012-03-21 David S. Miller <davem@davemloft.net>
43522
43523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43524
7785fe5a
L
435252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43526
43527 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43528 of x86_64 when setting libc_cv_slibdir, libdir and
43529 libc_cv_localedir.
43530 * sysdeps/unix/sysv/linux/configure: Regenerated.
43531
4535cd55
JM
435322012-03-21 Joseph Myers <joseph@codesourcery.com>
43533
43534 * manual/lang.texi (Old Varargs): Remove section.
43535 (How Variadic): Update menu.
43536 (va_start): Do not mention varargs.h.
43537
17228132
TS
435382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43539 Joseph Myers <joseph@codesourcery.com>
43540
43541 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43542 link test.
43543 * configure: Regenerated.
43544
8149f976
TS
435452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
43546
05f3d1f6
UD
43547 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43548 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43549 conformtest.pl
8149f976 43550
1a4ac776
JM
435512012-03-21 Joseph Myers <joseph@codesourcery.com>
43552
be22ce65
JM
43553 * NOTES: Remove.
43554 * Makefile (files-for-dist): Remove NOTES.
43555 (NOTES): Remove rule.
43556 * README: Don't refer to NOTES.
43557 * manual/creature.texi: Don't include macros.texi.
43558 * manual/intro.texi (creature.texi): Remove comment referring to
43559 NOTES.
43560
40b601fb
JM
43561 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43562 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43563 * configure: Regenerated.
43564 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43565 LIBC_TRY_CC_OPTION.
43566 (libc_cv_as_i686): Likewise.
43567 (libc_cv_cc_avx): Likewise.
43568 (libc_cv_cc_sse2avx): Likewise.
43569 (libc_cv_cc_fma4): Likewise.
43570 (libc_cv_cc_novzeroupper): Likewise.
43571 * sysdeps/i386/configure: Regenerated.
43572
1a4ac776
JM
43573 [BZ #13883]
43574 * sysdeps/i386/fpu/s_cexp.S: Remove.
43575 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43576 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43577 * math/libm-test.inc (cexp_test): Add more tests.
43578 * sysdeps/i386/fpu/libm-test-ulps: Update.
43579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43580
a458e7fe
AM
435812012-03-21 Allan McRae <allan@archlinux.org>
43582
43583 * timezone/Makefile: Do not install iso3166.tab and zone.tab
43584
0cb7efc5
JM
435852012-03-21 Joseph Myers <joseph@codesourcery.com>
43586
43587 [BZ #13871]
43588 * math/w_exp2.c: Do not include <float.h>.
43589 (o_threshold, u_threshold): Remove.
43590 (__exp2): Calculate result before checking finiteness and calling
43591 __kernel_standard.
43592 * math/w_exp2f.c: Likewise.
43593 * math/w_exp2l.c: Likewise.
43594 * math/libm-test.inc (exp2_test): Require overflow exception for
43595 1e6 input.
2460d3aa
JM
43596
43597 [BZ #3866]
43598 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43599 range of signed 64-bit integers before using fistpll. Remove
43600 checks for whether integers fit in mantissa bits.
43601 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43602 the range of signed 32-bit integers before using fistpl. Remove
43603 checks for whether integers fit in mantissa bits.
43604 * sysdeps/i386/fpu/e_powl.S (p64): New object.
43605 (__ieee754_powl): Test for y outside the range of signed 64-bit
43606 integers before using fistpll. Reduce 64-bit values to 63-bit
43607 ones as needed.
43608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43609 divide-by-zero is raised for zero to large negative powers.
43610 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43611 (__ieee754_powl): Test for y outside the range of signed 64-bit
43612 integers before using fistpll. Reduce 64-bit values to 63-bit
43613 ones as needed.
43614 * math/libm-test.inc (pow_test): Add more tests.
43615
eb96ffb0
L
436162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43617
43618 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43619 <stdio-common/_itoa.h>.
43620 * debug/segfault.c: Likewise.
43621 * elf/dl-cache.c: Likewise.
43622 * elf/dl-minimal.c: Likewise.
43623 * elf/dl-misc.c: Likewise.
43624 * elf/dl-sysdep.c: Likewise.
43625 * elf/dl-version.c: Likewise.
43626 * elf/rtld.c: Likewise.
43627 * hurd/hurdsock.c: Likewise.
43628 * hurd/lookup-retry.c: Likewise.
43629 * malloc/malloc.c: Likewise.
43630 * malloc/mtrace.c: Likewise.
43631 * nscd/nscd_getgr_r.c: Likewise.
43632 * nscd/nscd_getpw_r.c: Likewise.
43633 * nscd/nscd_getserv_r.c: Likewise.
43634 * posix/getopt_init.c: Likewise.
43635 * posix/wordexp.c: Likewise.
43636 * stdio-common/_itoa.c: Likewise.
43637 * stdio-common/printf_fphex.c: Likewise.
43638 * stdio-common/vfprintf.c: Likewise.
43639 * string/_strerror.c: Likewise.
43640 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43641 * sysdeps/i386/i686/hp-timing.h: Likewise.
43642 * sysdeps/mach/_strerror.c: Likewise.
43643 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43644 * sysdeps/mach/hurd/sethostid.c: Likewise.
43645 * sysdeps/mach/hurd/xmknodat.c: Likewise.
43646 * sysdeps/mach/xpg-strerror.c: Likewise.
43647 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43648 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43649 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43650 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43651 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43652 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43653 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43654 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43655 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43656 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43657 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43658 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43659 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43660 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43661 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43662 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43663 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43664 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43665 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43666 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43667 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43668
43669 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43670
43671 * stdio-common/_itoa.h: Moved to ...
43672 * sysdeps/generic/_itoa.h: Here.
43673
43674 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43675
43676 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43677 instead of "_itoa.h" and "_itowa.h".
43678 * stdio-common/vfprintf.: Likewise.
43679
d1af992d
L
436802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43681
43682 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43683 <bits/wordsize.h>.
43684 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43685 (__signbit): Likwise.
43686 (llrintf): Likwise.
43687 (llrint): Likwise.
43688
114883e0
L
436892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
43690
43691 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43692 __WORDSIZE != 64.
43693
c135cc1b
JM
436942012-03-20 Joseph Myers <joseph@codesourcery.com>
43695
43696 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43697 OVERFLOW_EXCEPTION_OK.
43698 * math/libm-test.inc ("Philosophy"): Update comment about
43699 exception testing.
43700 (OVERFLOW_EXCEPTION): Define.
43701 (OVERFLOW_EXCEPTION_OK): Likewise.
43702 (INVALID_EXCEPTION_OK): Renumber.
43703 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43704 (IGNORE_ZERO_INF_SIGN): Likewise.
43705 (test_exceptions): Handle FE_OVERFLOW.
43706 (exp10_test): Expect overflow exceptions.
43707 (exp2_test): Likewise.
43708 (expm1_test): Likewise.
43709 (nextafter_test): Likewise.
43710 (pow_test): Likewise.
43711 (scalbn_test): Likewise.
43712 (scalbln_test): Likewise.
43713
95443d88
L
437142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43715
43716 * sysdeps/x86_64/bits/atomic.h
43717 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43718 64bit integer.
43719 (atomic_exchange_acq): Likewise.
43720 (__arch_exchange_and_add_body): Likewise.
43721 (__arch_add_body): Likewise.
43722 (atomic_add_negative): Likewise.
43723 (atomic_add_zero): Likewise.
43724
490df6c4
L
437252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43726
c2722551 43727 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
43728 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43729
5e52b189
L
437302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43731
43732 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43733 Check __x86_64__ instead of __WORDSIZE.
43734
a9879d4c
L
437352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43736
43737 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43738
5df98260
DM
437392012-03-19 David S. Miller <davem@davemloft.net>
43740
e1497744
DM
43741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43742
5df98260
DM
43743 * sysdeps/sparc/fpu/fenv_private.h: New file.
43744 * sysdeps/sparc/fpu/math_private.h: Use it.
43745 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43746 Remove.
57f41c40 43747 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
43748 (libc_feholdexcept_setroundl): Remove.
43749 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43750 Remove.
43751 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43752 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43753
b4c35121
L
437542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43755
43756 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43757 int64_t instead of long int.
43758 (INSERT_WORDS64): Likwise.
43759
56965fd7
L
437602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
43761
43762 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43763 _Unwind_GetCFA return to _Unwind_Ptr first.
43764
83d1aec8
JM
437652012-03-19 Joseph Myers <joseph@codesourcery.com>
43766
1897ad44
JM
43767 [BZ #13629]
43768 * math/s_clog.c: Include <float.h>.
43769 (__clog): Scale large or subnormal inputs.
43770 * math/s_clogf.c: Likewise.
43771 * math/s_clogl.c: Likewise.
43772 * math/s_clog10.c: Include <float.h>.
43773 (M_LOG10_2): Define.
43774 (__clog10): Scale large or subnormal inputs.
43775 * math/s_clog10f.c: Likewise.
43776 * math/s_clog10l.c: Likewise.
43777 * math/libm-test.inc (clog_test): Add more tests.
43778 (clog10_test): Likewise.
43779 * sysdeps/i386/fpu/libm-test-ulps: Update.
43780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43781
7726d6a9
JM
43782 [BZ #11451]
43783 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43784 x and y.
43785 * math/libm-test.inc (atan2_test): Add another test.
43786
83d1aec8
JM
43787 * Makerules (common-objdir-compile): Remove.
43788 * sysdeps/unix/Makefile (config-generated): Do not add
43789 $(unix-generated) to variable.
43790 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43791 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43792 Remove rule.
43793 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43794 Likewise.
43795 [generic bits/local_lim.h] (before-compile): Do not append to
43796 variable.
43797 [generic bits/local_lim.h] (common-generated): Likewise.
43798 [generic sys/param.h] (before-compile): Do not append to variable.
43799 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43800 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43801 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43803 include.
43804 [generic sys/param.h] (sys/param.h-includes): Remove variable.
43805 [generic sys/param.h] (sys/param.h-includes): Remove rule.
43806 [generic sys/param.h] ($(addprefix
43807 $(common-objpfx),$(sys/param.h-includes))): Likewise.
43808 [generic sys/param.h] (common-generated): Do not append to
43809 variable.
43810 [generic sys/param.h] (sysdep_headers): Likewise.
43811 [generic bits/errno.h] (before-compile): Do not append to
43812 variable.
43813 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43814 rule.
43815 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43816 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43817 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43818 [generic bits/errno.h] (common-generated): Do not append to
43819 variable.
43820 [generic bits/ioctls.h] (before-compile): Do not append to
43821 variable.
43822 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43823 rule.
43824 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43825 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43826 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43827 rule.
43828 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43829 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43830 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43831 [generic bits/ioctls.h] (common-generated): Do not append to
43832 variable.
43833 [generic sys/syscall.h] (syscall.h): Remove variable.
43834 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43835 rule.
43836 [generic sys/syscall.h] (before-compile): Do not append to
43837 variable.
43838 [generic sys/syscall.h] (common-generated): Likewise.
43839 * sysdeps/unix/errnos-tmpl.c: Remove file.
43840 * sysdeps/unix/errnos.awk: Likewise.
43841 * sysdeps/unix/ioctls-tmpl.c: Likewise.
43842 * sysdeps/unix/ioctls.awk: Likewise.
43843 * sysdeps/unix/mk-local_lim.c: Likewise.
43844 * sysdeps/unix/snarf-ioctls: Likewise.
43845
4851a949
RH
438462012-03-19 Richard Henderson <rth@twiddle.net>
43847
bd37f2ee
RH
43848 * sysdeps/i386/fpu/fenv_private.h: New file.
43849 * sysdeps/i386/fpu/math_private.h: Use it.
43850 (math_opt_barrier, math_force_eval): Remove.
43851 (libc_feholdexcept_setround_53bit): Remove.
43852 (libc_feupdateenv_53bit): Remove.
43853 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43854 (math_opt_barrier, math_force_eval): Remove.
43855 (libc_feholdexcept): Remove.
43856 (libc_feholdexcept_setround): Remove.
43857 (libc_fetestexcept, libc_fesetenv): Remove.
43858 (libc_feupdateenv_test): Remove.
43859 (libc_feupdateenv, libc_feholdsetround): Remove.
43860 (libc_feresetround): Remove.
43861
d0adc922
RH
43862 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43863 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43864
0fe0f1f8
RH
43865 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43866 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43867 (libc_feupdateenv_testl): New.
43868 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43869 (libc_feupdateenv_testf): New.
43870 (libc_feupdateenv): Use libc_feupdateenv_test.
43871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43872 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43873
eb92c487
RH
43874 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43875 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43876 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43877 (libc_feresetround_noex): New.
43878 (libc_feresetround_noexf): New.
43879 (libc_feresetround_noexl): New.
43880 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43881 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43882 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43883 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43884 SET_RESTORE_ROUND.
43885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43887 (__cos): Likewise.
43888 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43889 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43890 SET_RESTORE_ROUND_NOEX.
43891 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43892 SET_RESTORE_ROUND_NOEXF.
43893 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43894 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43895 (libc_feholdsetroundf): New.
43896 (libc_feresetround, libc_feresetroundf): New.
43897
7d2e8012
RH
43898 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43899 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43900 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43901
b4dabbb4
RH
43902 * sysdeps/generic/math_private.h: Include <fenv.h>.
43903 (default_libc_feholdexcept): New.
43904 (default_libc_feholdexcept_setround): New.
43905 (default_libc_fesetenv, default_libc_feupdateenv): New.
43906 (libc_feholdexcept): Only define if undefined.
43907 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43908 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43909 (libc_feholdexcept_setroundl): Likewise.
43910 (libc_feholdexcept_setround_53bit): Likewise.
43911 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43912 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43913 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43914 (libc_feupdateenv_53bit): Likewise.
43915 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43916 (libc_feholdexcept): Convert from macro to inline function.
43917 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43918 (libc_fesetenv, libc_feupdateenv): Likewise.
43919
4851a949
RH
43920 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43921 not previously defined.
43922 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43923 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43924 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43925 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43926 * sysdeps/ieee754/flt-32/math_private.h: New file.
43927 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43928 math_private.h below SET_FLOAT_WORD.
43929 (__isnan, __isinf_ns, __finite): Remove.
43930 (__isnanf, __isinf_nsf, __finitef): Remove.
43931
e79d442e
AS
439322012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43933
43934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43935
90b80344
DM
439362012-03-17 David S. Miller <davem@davemloft.net>
43937
43938 [BZ #6471]
43939 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43940 for 2.16.
43941
edc21804
DM
439422012-03-16 David S. Miller <davem@davemloft.net>
43943
77e927af
DM
43944 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43945 warnings.
43946
374976dd
DM
43947 [BZ #6471]
43948 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43949 properly.
43950 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43951 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43952 sysdep_routines when subdir is sysvipc.
43953 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43954 __getshmlba helper.
43955
edc21804
DM
43956 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43957
473c3ef3
L
439582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43959
43960 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43961 [__LP64__].
43962
eb0f39b6
L
439632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43964
43965 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43966 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43967 (__lround): Renamed to ...
43968 (__llround): This. Replace long int with long long int.
43969 Define lround functions as aliases of llround functions.
43970 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43971
6b6cd74b
L
439722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43973
43974 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43975 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43976 adresses to uintptr_t. Replace "long int" and "unsigned long
43977 int" with "greg_t" on va_arg.
43978
f1a77b01
L
439792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43980
43981 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43982 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43983
43984 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43985 Move e_machine check before EI_CLASS check. Handle x32
43986 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43987 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43988 SKIP_EM_IA_64 and include
43989 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43990
43991 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43992 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43993 (add_system_dir): New macro.
43994
43995 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43996 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43997
11b90b9f
JM
439982012-03-16 Joseph Myers <joseph@codesourcery.com>
43999
c36e1d23
JM
44000 [BZ #2551]
44001 [BZ #2552]
44002 [BZ #2553]
44003 [BZ #2554]
44004 [BZ #2562]
44005 [BZ #2563]
44006 [BZ #2565]
44007 [BZ #2566]
44008 [BZ #2576]
44009 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44010 (y0): Likewise.
44011 * math/w_j0f.c (j0f): Likewise.
44012 (y0f): Likewise.
44013 * math/w_j0l.c (__j0l): Likewise.
44014 (__y0l): Likewise.
44015 * math/w_j1.c (j1): Likewise.
44016 (y1): Likewise.
44017 * math/w_j1f.c (j1f): Likewise.
44018 (y1f): Likewise.
44019 * math/w_j1l.c (__j1l): Likewise.
44020 (__y1l): Likewise.
44021 * math/w_jn.c (jn): Likewise.
44022 (yn): Likewise.
44023 * math/w_jnf.c (jnf): Likewise.
44024 (ynf): Likewise.
44025 * math/w_jnl.c (__jnl): Likewise.
44026 (__ynl): Likewise.
44027 * math/libm-test.inc (j0_test): Add more tests.
44028 (j1_test): Likewise.
44029 (jn_test): Likewise. Add trailing semicolon to existing test.
44030 (y0_test): Likewise.
44031 (y1_test): Likewise.
44032 * sysdeps/i386/fpu/libm-test-ulps: Update.
44033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44034
11b90b9f
JM
44035 [BZ #13851]
44036 [BZ #13854]
44037 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44038 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44039 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44040 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44041 (__tanl): Set errno for infinite argument.
44042 * sysdeps/i386/fpu/mptan.c: Remove.
44043 * sysdeps/i386/fpu/s_tan.S: Likewise.
44044 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44045 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44046 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44047 * math/libm-test.inc (tan_test): Add more tests and enable more
44048 tests for double and long double.
44049 * sysdeps/i386/fpu/libm-test-ulps: Update.
44050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44051
6a1bd2a1
JK
440522012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44053
44054 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44055 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44056
10a803e0
RM
440572012-03-16 Roland McGrath <roland@hack.frob.com>
44058
44059 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44060 * configure.in: Use it for both main tree and add-ons.
44061 * configure: Regenerated.
44062
f196c7f7
L
440632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44064
44065 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44066
8848d99d
JM
440672012-03-16 Joseph Myers <joseph@codesourcery.com>
44068
96cbe7f4
JM
44069 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44070 in comment.
44071
8848d99d
JM
44072 [BZ #13851]
44073 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44074 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44075 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44076 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44077 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44078 infinite argument.
44079 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44081 != 0 for prec == 2.
44082 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44083 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44084 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44085 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44086 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44087 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44088 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44089 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44090 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44091 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44092 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44093 * math/libm-test.inc (cos_test): Add more tests and enable more
44094 tests for long double.
44095 (sin_test): Likewise.
44096 (sincos_test): Likewise.
44097 * sysdeps/i386/fpu/libm-test-ulps: Update.
44098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44099
dd7f4703
DM
441002012-03-16 David S. Miller <davem@davemloft.net>
44101
44102 * sysdeps/sparc/fpu/math_private.h: New file.
44103
006f1daa
DM
441042012-03-15 David S. Miller <davem@davemloft.net>
44105
c0c83bc8
DM
44106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44107 file.
e6a62e18 44108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
44109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44110 file.
e6a62e18
DM
44111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44116 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44117 sysdep routines.
44118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44119
88cb87d9
DM
44120 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44121 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44122
006f1daa 44123 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
44124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44125 sparc-ifunc.h
006f1daa 44126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
44127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44128 Likewise.
44129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44130 Likewise.
006f1daa
DM
44131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
44134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44135 Likewise.
006f1daa
DM
44136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
44140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44141 Likewise.
44142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44143 Likewise.
006f1daa
DM
44144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44150 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44162 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44164 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44168
11e0098e
AS
441692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44170
44171 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44172 scaling.
44173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44174
e85b09d0
AJ
441752012-03-15 Andreas Jaeger <aj@suse.de>
44176
44177 [BZ #13852]
44178 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44179 ieee754/flt-32 implementation for sin, cos and sincos.
44180 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44181 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44182 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44183 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44184 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44185 ieee754/flt-32 implementation for tan.
44186
44187 * math/libm-test.inc (cos_test): Enable some large input tests for
44188 float as well
44189 (sin_test): Likewise.
44190 (sincos_test): Likewise.
44191 (tan_test): Add tests for large input.
44192
44193 * sysdeps/i386/fpu/libm-test-ulps: Update.
44194
81c64153
AJ
441952012-03-15 Andreas Jaeger <aj@suse.de>
44196
44197 [BZ #13658]
44198 * math/libm-test.inc (cos_test): Add more test cases.
44199 (sin_test): Likewise.
44200 (sincos_test): Likewise.
44201
7bbfa5c6
AJ
442022012-03-15 Andreas Jaeger <aj@suse.de>
44203
44204 [BZ #13837]
44205 * math/libm-test.inc (cos_test): Add a test case for large input
44206 value.
44207 (sin_test): Likewise.
44208 (sincos_test): Likewise.
44209
57f41c40
AS
442102012-03-15 Andreas Jaeger <aj@suse.de>
44211 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
44212
44213 [BZ #13658]
0671f479 44214 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
44215 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44216 * sysdeps/i386/fpu/branred.c: Likewise.
44217 * sysdeps/i386/fpu/dosincos.c: Likewise.
44218 * sysdeps/i386/fpu/mpa.c: Likewise.
44219 * sysdeps/i386/fpu/s_cos.S: Likewise.
44220 * sysdeps/i386/fpu/s_sin.S: Likewise.
44221 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44222 * sysdeps/i386/fpu/sincos32.c: Likewise.
44223
44224 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44225 Define.
44226 (libc_feupdateenv_53bit): Define.
44227 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44228 Define.
44229 (libc_feupdateenv_53bit): Define.
44230
44231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44232 53 bit (without extend i386 double precision).
44233
44234 * math/libm-test.inc (sincos_test): Add tests for large input.
44235 (sin): Likewise.
44236 (cos): Likewise.
44237
44238 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44239
9cad04ea
AS
442402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44241
44242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44243
f7062b9a
DM
442442012-03-15 David S. Miller <davem@davemloft.net>
44245
44246 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44247 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44248 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44249 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
44261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44262 file.
f7062b9a 44263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
44264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44265 file.
f7062b9a 44266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
44267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44268 file.
f7062b9a 44269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
44270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44271 file.
f7062b9a
DM
44272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44274 fmin/fmax sysdep routines.
44275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44276
7bd951ff
DM
442772012-03-14 David S. Miller <davem@davemloft.net>
44278
559398ab
DM
44279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44307 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44308 routines.
44309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44310 file.
559398ab 44311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
44312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44313 file.
559398ab 44314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
44315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44316 file.
559398ab 44317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
44318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44319 file.
559398ab 44320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
44321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44322 file.
559398ab 44323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
44324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44325 file.
44326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44327 file.
44328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44329 file.
44330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44331 file.
44332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44333 New file.
44334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44335 file.
44336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44337 file.
559398ab 44338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
44339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44340 file.
559398ab 44341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
44342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44343 file.
559398ab 44344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
44345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44346 file.
559398ab 44347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
44348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44349 VIS3 routines.
559398ab
DM
44350
44351 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44352 New file.
44353
5a1c1e32
DM
44354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44355
eae47a36
DM
44356 * sysdeps/sparc/configure.in: New file.
44357 * sysdeps/sparc/configure: Generate.
44358 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44359 * configure: Regenerate.
44360 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44361 * config.make.in (have-as-vis3): New.
44362 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44363 available use -Av9d instead of -Av9a.
44364 * sysdeps/sparc/sparc64/Makefile: Likewise.
44365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
44366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44367 New file.
44368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44369 file.
44370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44371 New file.
44372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44373 file.
eae47a36
DM
44374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44379
c0c83bc8
DM
44380 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44381 fzeros/fnegs to load 0x80000000 into a float register instead of
44382 using the stack.
7bd951ff
DM
44383 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44384
bd951ccb
JM
443852012-03-14 Joseph Myers <joseph@codesourcery.com>
44386
44387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44388 bits/syscall.h.
44389 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44390 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44391 ($(inst_includedir)/bits/syscall.h): Remove rule.
44392 ($(objpfx)bits/syscall.d): Include instead of
44393 $(objpfx)syscall-list.d.
44394 (generated): Change syscall-list.h and syscall-list.d to
44395 bits/syscall.h and bits/syscall.d.
44396
bb4e6db2
RM
443972012-03-14 Roland McGrath <roland@hack.frob.com>
44398
44399 [BZ #13846]
44400 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44401
aa4a2ae1
JM
444022012-03-14 Joseph Myers <joseph@codesourcery.com>
44403
e456826d
JM
44404 [BZ #13841]
44405 * math/s_csqrt.c: Include <float.h>.
44406 (__csqrt): Scale large or subnormal inputs.
44407 * math/s_csqrtf.c: Likewise.
44408 * math/s_csqrtl.c: Likewise.
44409 * math/libm-test.inc (csqrt_test): Add more tests.
44410 * sysdeps/i386/fpu/libm-test-ulps: Update.
44411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44412
aa4a2ae1
JM
44413 [BZ #13840]
44414 * math/libm-test.inc (hypot_test): Add more tests.
44415
7c10fd35
DM
444162012-03-13 David S. Miller <davem@davemloft.net>
44417
44418 [BZ #13840]
44419 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44420 double-precision for the calculation instead of scaling.
44421
f453b98b
JM
444222012-03-13 Joseph Myers <joseph@codesourcery.com>
44423
44424 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44425 manipulate bits before adding and subtracting TWO52[sx].
44426 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44427 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44428 Likewise.
44429 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44430
09a3453f
DM
444312012-03-13 David S. Miller <davem@davemloft.net>
44432
8e59da90
DM
44433 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44434 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44436 rtld-global-offsets.h
44437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44438
2a8ab7f2
DM
44439 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44440 large parameters.
44441
10f62770
DM
44442 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44443
5f0bdb18
DM
44444 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44445 'err' in the ifdef scope in which it is actually used.
44446
09a3453f
DM
44447 * nss/nss_db/db-init.c: Include string.h
44448
b4b2eb5e
DM
444492012-03-12 David S. Miller <davem@davemloft.net>
44450
98bb2f1c
DM
44451 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44452 masking out of the most significant byte of random value used.
44453 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44454 Fix coding style in previous change.
44455
b4b2eb5e
DM
44456 * sysdeps/unix/sysv/linux/kernel-features.h
44457 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44458 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44459 expression.
44460 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44461 later.
44462
6e226b09
DM
444632012-03-11 David S. Miller <davem@davemloft.net>
44464
a1bcbd40
DM
44465 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44466 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44467 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44468 for 'resultvar' otherwise things get truncated on 64-bit.
44469
cb9d6174
DM
44470 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44471 Fix masking out of the most significant byte of random value used.
44472
6e226b09
DM
44473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44474
058c132d
AS
444752012-03-10 Andreas Schwab <schwab@linux-m68k.org>
44476
44477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44478
2d2cd515
DM
444792012-03-09 David S. Miller <davem@davemloft.net>
44480
44481 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44482 variables with appropriate CPP guards.
57f41c40
AS
44483 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44484 from the frame pointer, not the stack pointer. Correct layout
44485 comments. Fix test on resulting framesize and the management of
44486 the outregs buffer for pltexit. Preserve floating point return
44487 values across _dl_call_pltexit call.
2d2cd515
DM
44488 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44489 framesize and the management of the outregs buffer for pltexit.
44490 Preserve floating point return values across _dl_call_pltexit
44491 call.
57f41c40
AS
44492 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44493 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44494 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
44495 (print_exit): Fix format string for return register value.
44496
9a07f9d0
JM
444972012-03-10 Joseph Myers <joseph@codesourcery.com>
44498
44499 * sunrpc/Makefile (others): Add rpcgen.
44500 ($(objpfx)rpcgen): Remove special build rule and dependency on
44501 libc.
44502 * sunrpc/rpcgen.c: New file.
44503
547b5e30
PE
445042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
44505
c524201a
PE
44506 [BZ #13673]
44507 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44508 * stdio-common/bug-vfprintf-nargs.c: Likewise.
44509 * sysdeps/i386/crti.S: Likewise.
44510 * sysdeps/i386/crtn.S: Likewise.
44511 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44512 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44513 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44514 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44515 * sysdeps/sh/crti.S: Likewise.
44516 * sysdeps/sh/crtn.S: Likewise.
44517 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44518
7b6235f2
PE
44519 [BZ #13673]
44520 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44521 with URL.
44522 * locale/programs/locfile-kw.gperf: Likewise.
44523 * locale/programs/charmap-kw.h: Regenerated.
44524 * locale/programs/locfile-kw.h: Likewise.
44525
547b5e30
PE
44526 [BZ #13673]
44527 * intl/plural.y: Replace FSF snail mail address with URL.
44528 * intl/plural.c: Regenerated.
44529
5f0a5dae
RH
445302012-03-09 Richard Henderson <rth@twiddle.net>
44531
44532 * include/math_private.h: Remove file.
44533 * math/math_private.h: Move file ...
44534 * sysdeps/generic/math_private.h: ... here.
44535
b8c03620
RH
44536 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44537 * sysdeps/powerpc/fpu/math_private.h: Likewise.
44538 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44539
4e234f5d 44540 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
44541 and <math_private.h>.
44542 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44543 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44544 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44545 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44546 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44547 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44548 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44550 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44551 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44554 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44559 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44562 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44564 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44566 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44569 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44572 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44574 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44575 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44576 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44579 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44580 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44581 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44584 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44585 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44586 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44587 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44588 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44589 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44591 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44592 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44593 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44594 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44595 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44596 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44597 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44599 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44600 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44601 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44602 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44603 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44605 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44606 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44607 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44608 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44609 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44610 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44611 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44612 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44613 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44615 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44616 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44622 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44625 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44626 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44629 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44630 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44631 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44632 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44633 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44635 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44636 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44637 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44638 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44639 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44640 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44642 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44643 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44644 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44645 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44646 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44647 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44648 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44649 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44654 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44655 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44656 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44657 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44661 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44662 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44663 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44664 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44665 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44666 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44668 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44669 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44670 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44671 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44672 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44673 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44674 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44675 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44676 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44677 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44678 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44679 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44680 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44681 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44682 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44683 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44684 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44685 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44686 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44687 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44688 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44689 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44690 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44691 * sysdeps/ieee754/k_standard.c: Likewise.
44692 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44693 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44694 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44695 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44696 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44697 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44698 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44699 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44700 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44701 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44702 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44704 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44705 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44706 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44707 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44708 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44709 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44710 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44711 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44712 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44713 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44715 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44716 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44717 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44718 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44719 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44720 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44721 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44722 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44723 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44724 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44725 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44726 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44727 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44729 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44730 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44732 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44733 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44734 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44735 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44736 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44737 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44738 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44740 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44743 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44744 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44745 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44746 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44747 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44748 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44749 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44750 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44751 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44752 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44753 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44759 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44760 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44763 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44765 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44807 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44811 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44818 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44819 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44824 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44841 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44842 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44852 * sysdeps/ieee754/s_lib_version.c: Likewise.
44853 * sysdeps/ieee754/s_matherr.c: Likewise.
44854 * sysdeps/ieee754/s_signgam.c: Likewise.
44855 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44856 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44857 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44858 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44859 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44860 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44861 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44862 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44863 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44864 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44865 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44866 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44867 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44869 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44870 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44871 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44872 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44873 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44876
1991fa03
JM
448772012-03-09 Joseph Myers <joseph@codesourcery.com>
44878
44879 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44880 * sunrpc/rpc_main.c: Likewise.
44881 * sunrpc/rpc_svcout.c: Likewise.
44882
60d6f5a6
DM
448832012-03-09 David S. Miller <davem@davemloft.net>
44884
44885 * include/math_private.h: New file.
44886
4962050e
JM
448872012-03-09 Joseph Myers <joseph@codesourcery.com>
44888
02a6f887
JM
44889 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44890 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44891 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44892 from <bits/socket_type.h>.
44893 (enum __socket_type): Don't define here.
44894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44896 bits/socket_type.h.
44897
c6e013c1
JM
44898 [BZ #13566]
44899 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44900 checking __USE_GNU.
44901
4962050e
JM
44902 * Makerules ($(inst_includedir)/%.h): New rule.
44903 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44904 (install-others): Remove variable setting.
44905 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44906
38842f45
RH
449072012-03-08 Richard Henderson <rth@twiddle.net>
44908
67bb6da6
RH
44909 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44910 from macro to inline function; merge with the
44911 !__LIBC_INTERNAL_MATH_INLINES version.
44912 (__ieee754_sqrtf): Likewise.
44913
15194b4b
RH
44914 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44915 to inline function.
44916 (__rintf, __floor, __floorf): Likewise.
44917
64e21ede
RH
44918 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44919 macro to inline function.
44920 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44921
38842f45
RH
44922 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44923 not <math/math_private.h>.
44924
c64bf5fe
DM
449252012-03-08 David S. Miller <davem@davemloft.net>
44926
44927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44928 copyright year.
44929 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44930
82d86f28
TS
449312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44932
44933 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44934 normalization.
44935 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44936 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44937
aea5d727
UD
449382012-03-08 Ulrich Drepper <drepper@gmail.com>
44939
44940 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44941 be defined individually, they must be defined as a block. Define
44942 S for printing a string instead of hidint the different by using a
44943 macro for adding the 'l'.
44944 * stdio-common/tst-fphex-wide.c: Adjust.
44945
70bca0a3
MP
449462012-03-07 Marek Polacek <polacek@redhat.com>
44947
44948 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44949
65b81130
MP
449502012-03-08 Marek Polacek <polacek@redhat.com>
44951
44952 [BZ #13806]
44953 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44954 * stdio-common/tst-fphex.c: Define a few macros to make the
44955 test reusable. Use them.
44956 * stdio-common/tst-fphex-wide.c: New file.
44957
07037eeb
JM
449582012-03-08 Joseph Myers <joseph@codesourcery.com>
44959
a7a93d50
JM
44960 [BZ #6911]
44961 * manual/macros.texi (gnusystems): New macro.
44962 (nongnusystems): Likewise.
44963 (gnulinuxhurdsystems): Likewise.
44964 (gnuhurdsystems): Likewise..
44965 (gnulinuxsystems): Likewise.
44966 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44967 variants of the GNU system, not "GNU system".
44968 * manual/conf.texi: Likewise.
44969 * manual/errno.texi: Likewise. Update example of errno macro
44970 expansion.
44971 * manual/filesys.texi: Likewise.
44972 (getumask): Document as specific to GNU/Hurd.
44973 * manual/install.texi: Likewise. Reword some references to
44974 GNU/Linux.
44975 * manual/intro.texi: Likewise.
44976 * manual/io.texi: Likewise.
44977 (File Name Portability): Detail which constraints are inapplicable
44978 to all GNU systems and which are only inapplicable to GNU/Hurd.
44979 * manual/job.texi: Likewise.
44980 * manual/llio.texi: Likewise.
44981 (O_NOCTTY): Document as present on GNU/Linux.
44982 * manual/maint.texi: Likewise.
44983 * manual/memory.texi: Likewise.
44984 * manual/pattern.texi: Likewise.
44985 * manual/pipe.texi: Likewise.
44986 * manual/process.texi: Likewise.
44987 * manual/resource.texi: Likewise.
44988 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44989 child on GNU/Hurd.
44990 * manual/setjmp.texi: Likewise.
44991 * manual/signal.texi: Likewise.
44992 * manual/startup.texi: Likewise.
44993 * manual/stdio.texi: Likewise.
44994 * manual/terminal.texi: Likewise.
44995 (ONLCR): Document as POSIX.
44996 (OXTABS): Document availability on GNU/Linux as XTABS.
44997 (ONOEOT): Document availability separately from other bits.
44998 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44999 * manual/time.texi: Likewise.
45000 * manual/users.texi: Likewise.
45001 * INSTALL: Regenerated.
45002 * sysdeps/gnu/errlist.c: Regenerated.
45003
07037eeb
JM
45004 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45005 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45006 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45007 puts.
45008 * configure: Regenerated.
45009
d1d3431a
JM
450102012-03-07 Joseph Myers <joseph@codesourcery.com>
45011
af6a1e37
JM
45012 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45013 default includes instead of AC_HEADER_CHECK.
45014 * sysdeps/i386/configure: Regenerated.
45015
d1d3431a
JM
45016 [BZ #10716]
45017 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45018 * math/s_cacoshf.c (__cacoshf): Likewise.
45019 * math/s_cacoshl.c (__cacoshl): Likewise.
45020 * math/s_casinh.c (__casinh): Set signs of result from argument.
45021 * math/s_casinhf.c (__casinhf): Likewise.
45022 * math/s_casinhl.c (__casinhl): Likewise.
45023 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45024 (casinh_test): Add more tests.
45025 * sysdeps/i386/fpu/libm-test-ulps: Update.
45026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45027
482ff4da
UD
450282012-03-07 Ulrich Drepper <drepper@gmail.com>
45029
872fda05
UD
45030 * po/zh_TW.po: Update from translation team.
45031
a4300c7a
UD
45032 * login/Makefile (distribute): Remove variable.
45033 * catgets/Makefile: Likewise.
45034 * mach/Makefile: Likewise.
45035 * malloc/Makefile: Likewise.
45036 * misc/Makefile: Likewise.
45037 * iconv/Makefile: Likewise.
45038 * nscd/Makefile: Likewise.
45039 * hurd/Makefile: Likewise.
45040 * manual/Makefile: Likewise.
45041 * locale/Makefile: Likewise.
45042 * intl/Makefile: Likewise.
45043 * conform/Makefile: Likewise.
45044 * nss/Makefile: Likewise.
45045 * time/Makefile: Likewise.
45046 * soft-fp/Makefile: Likewise.
45047 * dirent/Makefile: Likewise.
45048 * gmon/Makefile: Likewise.
45049 * po/Makefile: Likewise.
45050 * rt/Makefile: Likewise.
45051 * socket/Makefile: Likewise.
45052 * math/Makefile: Likewise.
45053 * signal/Makefile: Likewise.
45054 * debug/Makefile: Likewise.
45055 * elf/Makefile: Likewise.
45056 * timezone/Makefile: Likewise.
45057 * stdlib/Makefile: Likewise.
45058 * iconvdata/Makefile: Likewise.
45059 * sunrpc/Makefile: Likewise.
45060 * io/Makefile: Likewise.
45061 * argp/Makefile: Likewise.
45062 * inet/Makefile: Likewise.
45063 * hesiod/Makefile: Likewise.
45064 * grp/Makefile: Likewise.
45065 * csu/Makefile: Likewise.
45066 * wctype/Makefile: Likewise.
45067 * crypt/Makefile: Likewise.
45068 * libio/Makefile: Likewise.
45069 * string/Makefile: Likewise.
45070 * nis/Makefile: Likewise.
45071 * resolv/Makefile: Likewise.
45072 * stdio-common/Makefile: Likewise.
45073 * wcsmbs/Makefile: Likewise.
45074 * dlfcn/Makefile: Likewise.
45075 * posix/Makefile: Likewise.
45076
3b7c4e74 45077 [BZ #6959]
482ff4da
UD
45078 * timezone/Makefile: Don't install timezone files, just the programs
45079 and scripts.
45080
f72ed77d
UD
450812012-03-06 Ulrich Drepper <drepper@gmail.com>
45082
a000466f
UD
45083 * nss/databases.def: Add missing gshadow entry.
45084
f72ed77d
UD
45085 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45086
a53b7a4e
MP
450872012-03-06 Marek Polacek <polacek@redhat.com>
45088
45089 [BZ #13726]
45090 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45091 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45092 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45093 * stdio-common/tst-long-dbl-fphex.c: New file.
45094
e9258400
DM
450952012-03-06 David S. Miller <davem@davemloft.net>
45096
45097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45098 (set_obp_int): New function.
45099 (get_obp_int): New function.
45100 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
45101 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45102 Avoid unused variable warnings on 'val' and use builtin_expect.
45103 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45104 __builtin_expect.
e9258400
DM
45105 (INLINE_CLONE_SYSCALL): Likewise.
45106
3bd2c723
DM
451072012-03-05 David S. Miller <davem@davemloft.net>
45108
45109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45110
bbb78d03
AS
451112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45112
884c5db4
AS
45113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45114
bbb78d03
AS
45115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45116 only for |x| >= 40.
45117 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45118
1c9f702a 451192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
45120
45121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45122 Replace gettimeofday with __vdso_gettimeofday.
45123
7be16f82
RM
45124 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45125 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45126 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
45127
45128 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45129 time with __vdso_time.
45130
ed58a00f
JM
451312012-03-05 Joseph Myers <joseph@codesourcery.com>
45132
45133 * manual/lang.texi (size_t): Note types to which size_t may be
45134 equivalent with the GNU C Library, but do not describe when
45135 differences between them are significant.
45136
30ee4ced
AJ
451372012-03-05 Andreas Jaeger <aj@suse.de>
45138
45139 * sysdeps/i386/fpu/libm-test-ulps: Update.
45140
b7cd39e8
JM
451412012-03-05 Joseph Myers <joseph@codesourcery.com>
45142
45143 [BZ #3976]
45144 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45145 (__ieee754_pow): Save and restore rounding mode and use
45146 round-to-nearest for main computations.
45147 * math/libm-test.inc (pow_test_tonearest): New function.
45148 (pow_test_towardzero): Likewise.
45149 (pow_test_downward): Likewise.
45150 (pow_test_upward): Likewise.
45151 (main): Call the new functions.
45152 * sysdeps/i386/fpu/libm-test-ulps: Update.
45153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
45154
45155 [BZ #3976]
45156 * math/libm-test.inc (cosh_test_tonearest): New function.
45157 (cosh_test_towardzero): Likewise.
45158 (cosh_test_downward): Likewise.
45159 (cosh_test_upward): Likewise.
45160 (sinh_test_tonearest): Likewise.
45161 (sinh_test_towardzero): Likewise.
45162 (sinh_test_downward): Likewise.
45163 (sinh_test_upward): Likewise.
45164 (main): Call the new functions.
45165 * sysdeps/i386/fpu/libm-test-ulps: Update.
45166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45167
6c6a98c9
TV
451682012-03-05 Tom de Vries <tom@codesourcery.com>
45169
45170 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45171 default stack guard is set in last bytes.
45172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45173
21bb2d2e 451742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 45175
21bb2d2e 45176 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 45177
21bb2d2e
AJ
45178 [BZ #13656]
45179 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45180 possibly allocate from heap instead of stack.
45181 * stdio-common/bug-vfprintf-nargs.c: New file.
45182 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 45183
c6922934
AS
451842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45185
45186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45187
bc957d53
MP
451882012-03-03 Marek Polacek <polacek@redhat.com>
45189
45190 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45191 * math/math_private.h: Likewise.
45192 * stdlib/tst-strtod.c: Likewise.
45193 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45194 * sysdeps/x86_64/bits/atomic.h: Likewise.
45195
6358490d
DM
451962012-03-02 David S. Miller <davem@davemloft.net>
45197
45198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45202 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45203 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45204 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45205 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45206
01ae168d
RM
452072012-03-02 Roland McGrath <roland@hack.frob.com>
45208
d9a17c07
RM
45209 [BZ #13792]
45210 * manual/examples/README: New file, says the example source files
45211 can be used under GPL>=2.
45212 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45213 line containing just "*/".
45214 * manual/examples/add.c: Add copyright header (GPL>=2).
45215 * manual/examples/argp-ex1.c: Likewise.
45216 * manual/examples/argp-ex2.c: Likewise.
45217 * manual/examples/argp-ex3.c: Likewise.
45218 * manual/examples/argp-ex4.c: Likewise.
45219 * manual/examples/atexit.c: Likewise.
45220 * manual/examples/db.c: Likewise.
45221 * manual/examples/dir.c: Likewise.
45222 * manual/examples/dir2.c: Likewise.
45223 * manual/examples/execinfo.c: Likewise.
45224 * manual/examples/filecli.c: Likewise.
45225 * manual/examples/filesrv.c: Likewise.
45226 * manual/examples/fmtmsgexpl.c: Likewise.
45227 * manual/examples/genpass.c: Likewise.
45228 * manual/examples/inetcli.c: Likewise.
45229 * manual/examples/inetsrv.c: Likewise.
45230 * manual/examples/isockad.c: Likewise.
45231 * manual/examples/longopt.c: Likewise.
45232 * manual/examples/memopen.c: Likewise.
45233 * manual/examples/memstrm.c: Likewise.
45234 * manual/examples/mkfsock.c: Likewise.
45235 * manual/examples/mkisock.c: Likewise.
45236 * manual/examples/mygetpass.c: Likewise.
45237 * manual/examples/pipe.c: Likewise.
45238 * manual/examples/popen.c: Likewise.
45239 * manual/examples/rprintf.c: Likewise.
45240 * manual/examples/search.c: Likewise.
45241 * manual/examples/select.c: Likewise.
45242 * manual/examples/setjmp.c: Likewise.
45243 * manual/examples/sigh1.c: Likewise.
45244 * manual/examples/sigusr.c: Likewise.
45245 * manual/examples/stpcpy.c: Likewise.
45246 * manual/examples/strdupa.c: Likewise.
45247 * manual/examples/strftim.c: Likewise.
45248 * manual/examples/strncat.c: Likewise.
45249 * manual/examples/subopt.c: Likewise.
45250 * manual/examples/swapcontext.c: Likewise.
45251 * manual/examples/termios.c: Likewise.
45252 * manual/examples/testopt.c: Likewise.
45253 * manual/examples/testpass.c: Likewise.
45254 * manual/examples/timeval_subtract.c: Likewise.
45255
01ae168d
RM
45256 [BZ #13792]
45257 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45258 function to ...
45259 * manual/timeval_subtract.c.texi: ... here, new file.
45260
49efa33d
DM
452612012-03-02 David S. Miller <davem@davemloft.net>
45262
45263 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45264
28afd92d
JM
452652012-03-02 Joseph Myers <joseph@codesourcery.com>
45266
804360ed
JM
45267 [BZ #3976]
45268 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45269 (__sin): Save and restore rounding mode and use round-to-nearest
45270 for all computations.
45271 (__cos): Save and restore rounding mode and use round-to-nearest
45272 for all computations.
45273 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45274 <fenv.h>.
45275 (tan): Save and restore rounding mode and use round-to-nearest for
45276 all computations.
45277 * math/libm-test.inc (cos_test_tonearest): New function.
45278 (cos_test_towardzero): Likewise.
45279 (cos_test_downward): Likewise.
45280 (cos_test_upward): Likewise.
45281 (sin_test_tonearest): Likewise.
45282 (sin_test_towardzero): Likewise.
45283 (sin_test_downward): Likewise.
45284 (sin_test_upward): Likewise.
45285 (tan_test_tonearest): Likewise.
45286 (tan_test_towardzero): Likewise.
45287 (tan_test_downward): Likewise.
45288 (tan_test_upward): Likewise.
45289 (main): Call the new functions.
45290 * sysdeps/i386/fpu/libm-test-ulps: Update.
45291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45292
a6d06d7b
JM
45293 [BZ #10135]
45294 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45295 small n, then large n, before computing and testing k+n.
45296 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45298 Likewise.
45299 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45300 Likewise.
45301 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45302 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45306 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45308 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45309 * math/libm-test.inc (scalbn_test): Add more tests.
45310 (scalbln_test): Likewise.
45311
07e12bb3
JM
45312 * manual/filesys.texi (mode_t): Describe constraints on size and
45313 signedness, not exact equivalence to a particular type.
45314 (ino_t): Likewise.
45315 (ino64_t): Likewise.
45316 (dev_t): Likewise.
45317 (nlink_t): Likewise.
45318 (blkcnt_t): Likewise.
45319 (blkcnt64_t): Likewise.
45320 * manual/llio.texi (off_t): Likewise.
45321
28afd92d
JM
45322 [BZ #3976]
45323 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45324 (__ieee754_exp): Save and restore rounding mode and use
45325 round-to-nearest for all computations.
45326 * math/libm-test.inc (exp_test_tonearest): New function.
45327 (exp_test_towardzero): Likewise.
45328 (exp_test_downward): Likewise.
45329 (exp_test_upward): Likewise.
45330 (main): Call the new functions.
45331 * sysdeps/i386/fpu/libm-test-ulps: Update.
45332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45333
b1eeb65d
CD
453342012-03-01 Chris Demetriou <cgd@google.com>
45335
45336 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45337 have predictable order.
45338
53362a4b
DM
453392012-03-01 David S. Miller <davem@davemloft.net>
45340
3c969083
DM
45341 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45342
759707de
DM
45343 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45344 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45345 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45346 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45347
dfdb8ff2
DM
45348 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45349 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45350 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45352 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45353 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45354 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45355 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45356 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45357
ead89f96
DM
45358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45359
7f66bd07
DM
45360 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45361 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45362 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45363
53362a4b
DM
45364 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45367 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45368 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45371 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45372 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45375 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45377 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45378 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45380 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45381 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45382 * sysdeps/sparc/elf/configure: Regenerated.
45383
7b1902cb
JM
453842012-03-01 Joseph Myers <joseph@codesourcery.com>
45385
bec039bc
JM
45386 * configure.in (AS, LD): Require binutils 2.20 or later.
45387 * configure: Regenerated.
45388 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45389 as required minimum version.
45390 * INSTALL: Regenerated.
45391
7b1902cb
JM
45392 [BZ #2541]
45393 [BZ #4108]
45394 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45395 before squaring exponent.
45396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45397 bottom long double and 27 bits of top long double before squaring
45398 exponent.
45399 * math/libm-test.inc (erfc_test): Add more tests.
45400 * sysdeps/i386/fpu/libm-test-ulps: Update.
45401 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45403
f775c276
KT
454042012-03-01 Kai Tietz <ktietz@redhat.com>
45405
45406 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45407 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45408 containing bit-fields.
45409 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45410 * soft-fp/single.h (_FP_UNION_S): Likewise.
45411 * soft-fp/double.h (_FP_UNION_D): Likewise.
45412
5b8a4d4a
JM
454132012-02-29 Joseph Myers <joseph@codesourcery.com>
45414
0bab47b6
JM
45415 [BZ #13786]
45416 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45417 not include ../strcmp.S.
45418 [USE_AS_STRNCASECMP_L]: Likewise.
45419 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45420 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45421 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45422 (__strncasecmp_l_ia32): Define as alias to
45423 __strncasecmp_l_nonascii.
45424
0fcad3e2
JM
45425 [BZ #5794]
45426 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45427 * sysdeps/i386/fpu/libm-test-ulps: Update.
45428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45429
5b8a4d4a
JM
45430 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45432
8fdceb2e
JL
454332012-02-29 Jeff Law <law@redhat.com>
45434
45435 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45436 out of bounds read.
45437
1f393a11
MP
454382012-02-29 Marek Polacek <polacek@redhat.com>
45439
45440 [BZ #13706]
45441 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45442 * elf/Makefile: Add rules to run tst-unused-dep.out.
45443
8847f037
DM
454442012-02-28 David S. Miller <davem@davemloft.net>
45445
45446 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45447 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45450 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45451 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45452
169d7f11
JM
454532012-02-29 Joseph Myers <joseph@codesourcery.com>
45454
45455 * math/libm-test.inc (llround_test): Move one test from
45456 lround_test. Use TEST_f_L in moved test.
45457 (lround_test): Move misplaced test to llround_test. Add testcase
45458 from bug 2561.
45459
39adf059
UD
454602012-02-28 Ulrich Drepper <drepper@gmail.com>
45461
45462 * sysdeps/x86_64/fpu/e_expf.S: New file.
45463 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45464
71b5d1c5
SB
454652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45466
45467 [BZ #13637]
45468 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45469 of remain_len that may cause incomplete multi-byte character and
45470 false match.
45471 * posix/bug-regex33.c: New file.
45472 * posix/Makefile (tests): Add bug-regex33.
45473
1f77f049
JM
454742012-02-28 Joseph Myers <joseph@codesourcery.com>
45475
45476 * manual/macros.texi: New file.
45477 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45478 * manual/libc.texinfo: Include macros.texi.
45479 * manual/creatute.texi: Likewise.
45480 * manual/install.texi: Likewise.
45481 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45482 @glibcadj{} in references to the GNU C Library.
45483 * manual/charset.texi: Likewise.
45484 * manual/conf.texi: Likewise.
45485 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
45486 when not using those macros.
45487 * manual/creature.texi: Likewise.
45488 * manual/crypt.texi: Likewise.
45489 * manual/errno.texi: Likewise.
45490 * manual/filesys.texi: Likewise.
45491 * manual/header.texi: Likewise.
45492 * manual/install.texi: Likewise.
45493 * manual/intro.texi: Likewise.
45494 * manual/io.texi: Likewise.
45495 * manual/job.texi: Likewise.
45496 * manual/lang.texi: Likewise.
45497 * manual/libc.texiinfo: Likewise.
45498 * manual/llio.texi: Likewise.
45499 * manual/locale.texi: Likewise.
45500 * manual/maint.texi: Likewise.
45501 * manual/math.texi: Likewise.
45502 * manual/memory.texi: Likewise.
45503 * manual/message.texi: Likewise.
45504 * manual/nss.texi: Likewise.
45505 * manual/pattern.texi: Likewise.
45506 * manual/process.texi: Likewise.
45507 * manual/resource.texi: Likewise.
45508 * manual/search.texi: Likewise.
45509 * manual/setjmp.texi: Likewise.
45510 * manual/signal.texi: Likewise.
45511 * manual/socket.texi: Likewise.
45512 * manual/startup.texi: Likewise.
45513 * manual/stdio.texi: Likewise.
45514 * manual/string.texi: Likewise.
45515 * manual/sysinfo.texi: Likewise.
45516 * manual/syslog.texi: Likewise.
45517 * manual/terminal.texi: Likewise.
45518 * manual/time.texi: Likewise.
45519 * manual/users.texi: Likewise.
45520 * INSTALL: Regenerated.
45521 * NOTES: Regenerated.
d40c5d54 45522 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 45523
450bf206
AS
455242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
45525
45526 * include/dirent.h: Include <dirstream.h> before
45527 <dirent/dirent.h>.
45528
741a235b
DM
455292012-02-28 David S. Miller <davem@davemloft.net>
45530
45531 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45532 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45533 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45534 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45535
d6b5aa58
DM
455362012-02-27 David S. Miller <davem@davemloft.net>
45537
1aff59a3
DM
45538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45540 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45541 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45542
d6b5aa58
DM
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45544 frame pointer instead of stack pointer relative arg slot.
45545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45546 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45547 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45548
433f48bf
CD
455492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
45550
45551 [BZ #3992]
45552 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45553
d674b76d
DM
455542012-02-27 David S. Miller <davem@davemloft.net>
45555
45556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45560 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45561 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45562 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45563 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45564
0e7727f7
JM
455652012-02-27 Joseph Myers <joseph@codesourcery.com>
45566
45567 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45568 later. Allow versions 5-9.
43be4ca2 45569 * configure: Regenerated.
0e7727f7
JM
45570 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45571 required minimum version and 4.6 as recommended version. Do not
45572 mention bugs in GCC 2.7 and 2.8.
43be4ca2 45573 * INSTALL: Regenerated.
0e7727f7 45574
a78bc654
DM
455752012-02-27 David S. Miller <davem@davemloft.net>
45576
428d5830
DM
45577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45581 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45582 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45583 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45584 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45585
a78bc654
DM
45586 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45587 manipulate bits before adding and subtracting TWO112[sx].
45588 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45589
4579f81c
RM
455902012-02-27 Roland McGrath <roland@hack.frob.com>
45591
36c8acb4
RM
45592 [BZ #13775]
45593 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45594 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45595 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45596 being in POSIX, because they are in 1003.1-2008.
45597
84ad622b
RM
45598 * rt/tst-aio.c: Include <fcntl.h>.
45599 * rt/tst-aio7.c: Likewise.
45600 * rt/tst-aio64.c: Likewise.
45601
4579f81c
RM
45602 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45603
abd923db
JM
456042012-02-27 Joseph Myers <joseph@codesourcery.com>
45605
45606 * manual/install.texi (--with-headers): Describe headers as
45607 interface headers, not private headers.
45608 (Specific advice for GNU/Linux systems): Describe use of headers
45609 from "make headers_install", not private headers from older
45610 kernels.
43be4ca2 45611 * INSTALL: Regenerated.
abd923db
JM
45612 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45613 Change to 2.6.19.
45614 * sysdeps/unix/sysv/linux/configure: Regenerated.
45615
6664049b
JM
45616 * manual/llio.texi (fclean): Remove documentation.
45617
bb8b6697
JM
45618 * manual/Makefile (libc-texi-generated): New variable. Include
45619 version.texi.
45620 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45621 $(libc-texi-generated), not duplicated list of files.
45622 (version.texi, stamp-version): New rules.
45623 (realclean): Remove $(libc-texi-generated), not individual files
45624 from that list. Do not remove dir-add.texinfo.
45625 * manual/libc.texinfo: Comment out uses of edition numbers and
45626 references to printed manual. Remove last-updated dates.
45627 (EDITION): Comment out.
45628 (ISBN): Likewise.
45629 (VERSION, UPDATED): Remove.
45630 (version.texi): Include.
45631
12e5c3b9
AS
456322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
45633
45634 * sysdeps/posix/spawni.c: Include <signal.h>.
45635 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45636 * sysdeps/pthread/aio_fsync.c: Likewise.
45637
4efeffc1 456382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 45639
ba63ba08
UD
45640 * conform/Makefile (tests): Run only when not cross-compiling and
45641 when fast-check is not defined.
45642
d94a4670
UD
45643 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45644 * conform/data/limits.h-data: Fixes for POSIX2008.
45645 * conform/run-conformtest.sh: Run all tests.
45646 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45647 headers.
45648 * include/bits/dlfcn.h: Likewise.
45649 * include/langinfo.h: Likewise.
45650 * include/monetary.h: Likewise.
45651 * include/sys/poll.h: Likewise.
45652
45653 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45654 for __USE_GNU.
45655 * posix/spawn.h: Define __need_sigset_t.
45656 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45657 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45658 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
45659 to get sigevent_t only.
45660 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45661 only for __USE_GNU.
45662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45663 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45664 process_vm_writev only for __USE_GNU.
45665 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
45666
45667 * conform/Makefile: For now ignore errors from run-conformtest.
45668 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
45669 POSIX to avoid namespace pollution. Don't prepend headers.
45670 * conform/data/aio.h-data: Fixes for POSIX testing.
45671 * conform/data/fcntl.h-data: Likewise.
45672 * conform/data/glob.h-data: Likewise.
45673 * conform/data/grp.h-data: Likewise.
45674 * conform/data/pthread.h-data: Likewise.
45675 * conform/data/pwd.h-data: Likewise.
45676 * conform/data/signal.h-data: Likewise.
45677 * conform/data/spawn.h-data: Likewise.
45678 * conform/data/stdio.h-data: Likewise.
45679 * conform/data/stdlib.h-data: Likewise.
45680 * conform/data/stropts.h-data: Likewise.
45681 * conform/data/sys/mman.h-data: Likewise.
45682 * conform/data/sys/stat.h-data: Likewise.
45683 * conform/data/sys/types.h-data: Likewise.
45684 * conform/data/sys/wait.h-data: Likewise.
45685 * conform/data/time.h-data: Likewise.
45686 * conform/data/unistd.h-data: Likewise.
45687 * conform/data/utime.h-data: Likewise.
45688
45689 * io/sys/stat.h: fchmod was always in POSIX.
45690 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45691 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45692 * rt/aio.h: Define __need_timespec before including <time.h>.
45693 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45694 struct. Add forward declaration of pthread_attr_t and use it in
45695 sigevent.
45696 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45698 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45699 always remove CLK_TCK definition.
45700
c20105c3
AS
457012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
45702
45703 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45704
7a270350
UD
457052012-02-25 Ulrich Drepper <drepper@gmail.com>
45706
31341567
UD
45707 * conform/run-conformtest.sh: New file.
45708 * conform/Makefile: Run run-conformtest for tests.
45709 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
45710 support.
45711
45712 * conform/data/uchar.h-data: New file.
45713 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45714 * conform/data/arpa/inet.h-data: Likewise.
45715 * conform/data/assert.h-data: Likewise.
45716 * conform/data/complex.h-data: Likewise.
45717 * conform/data/cpio.h-data: Likewise.
45718 * conform/data/ctype.h-data: Likewise.
45719 * conform/data/dirent.h-data: Likewise.
45720 * conform/data/dlfcn.h-data: Likewise.
45721 * conform/data/errno.h-data: Likewise.
45722 * conform/data/fcntl.h-data: Likewise.
45723 * conform/data/float.h-data: Likewise.
45724 * conform/data/fmtmsg.h-data: Likewise.
45725 * conform/data/fnmatch.h-data: Likewise.
45726 * conform/data/ftw.h-data: Likewise.
45727 * conform/data/glob.h-data: Likewise.
45728 * conform/data/grp.h-data: Likewise.
45729 * conform/data/iconv.h-data: Likewise.
45730 * conform/data/inttypes.h-data: Likewise.
45731 * conform/data/langinfo.h-data: Likewise.
45732 * conform/data/libgen.h-data: Likewise.
45733 * conform/data/limits.h-data: Likewise.
45734 * conform/data/locale.h-data: Likewise.
45735 * conform/data/math.h-data: Likewise.
45736 * conform/data/monetary.h-data: Likewise.
45737 * conform/data/mqueue.h-data: Likewise.
45738 * conform/data/ndbm.h-data: Likewise.
45739 * conform/data/net/if.h-data: Likewise.
45740 * conform/data/netdb.h-data: Likewise.
45741 * conform/data/netinet/in.h-data: Likewise.
45742 * conform/data/nl_types.h-data: Likewise.
45743 * conform/data/poll.h-data: Likewise.
45744 * conform/data/pthread.h-data: Likewise.
45745 * conform/data/pwd.h-data: Likewise.
45746 * conform/data/regex.h-data: Likewise.
45747 * conform/data/sched.h-data: Likewise.
45748 * conform/data/search.h-data: Likewise.
45749 * conform/data/semaphore.h-data: Likewise.
45750 * conform/data/setjmp.h-data: Likewise.
45751 * conform/data/signal.h-data: Likewise.
45752 * conform/data/spawn.h-data: Likewise.
45753 * conform/data/stdarg.h-data: Likewise.
45754 * conform/data/stdio.h-data: Likewise.
45755 * conform/data/stdlib.h-data: Likewise.
45756 * conform/data/string.h-data: Likewise.
45757 * conform/data/strings.h-data: Likewise.
45758 * conform/data/stropts.h-data: Likewise.
45759 * conform/data/sys/ipc.h-data: Likewise.
45760 * conform/data/sys/mman.h-data: Likewise.
45761 * conform/data/sys/msg.h-data: Likewise.
45762 * conform/data/sys/resource.h-data: Likewise.
45763 * conform/data/sys/select.h-data: Likewise.
45764 * conform/data/sys/sem.h-data: Likewise.
45765 * conform/data/sys/shm.h-data: Likewise.
45766 * conform/data/sys/socket.h-data: Likewise.
45767 * conform/data/sys/stat.h-data: Likewise.
45768 * conform/data/sys/statvfs.h-data: Likewise.
45769 * conform/data/sys/time.h-data: Likewise.
45770 * conform/data/sys/timeb.h-data: Likewise.
45771 * conform/data/sys/times.h-data: Likewise.
45772 * conform/data/sys/types.h-data: Likewise.
45773 * conform/data/sys/uio.h-data: Likewise.
45774 * conform/data/sys/un.h-data: Likewise.
45775 * conform/data/sys/utsname.h-data: Likewise.
45776 * conform/data/sys/wait.h-data: Likewise.
45777 * conform/data/syslog.h-data: Likewise.
45778 * conform/data/tar.h-data: Likewise.
45779 * conform/data/termios.h-data: Likewise.
45780 * conform/data/utime.h-data: Likewise.
45781 * conform/data/utmpx.h-data: Likewise.
45782 * conform/data/varargs.h-data: Likewise.
45783 * conform/data/wchar.h-data: Likewise.
45784 * conform/data/wctype.h-data: Likewise.
45785 * conform/data/wordexp.h-data: Likewise.
45786
45787 * include/stropts.h: New file.
45788 * include/uchar.h: New file.
45789 * include/aio.h: Changes to allow conformtest.pl to use the headers.
45790 * include/assert.h: Likewise.
45791 * include/ctype.h: Likewise.
45792 * include/dirent.h: Likewise.
45793 * include/dlfcn.h: Likewise.
45794 * include/fcntl.h: Likewise.
45795 * include/fnmatch.h: Likewise.
45796 * include/glob.h: Likewise.
45797 * include/grp.h: Likewise.
45798 * include/libio.h: Likewise.
45799 * include/locale.h: Likewise.
45800 * include/math.h: Likewise.
45801 * include/net/if.h: Likewise.
45802 * include/netdb.h: Likewise.
45803 * include/netinet/in.h: Likewise.
45804 * include/pthread.h: Likewise.
45805 * include/pwd.h: Likewise.
45806 * include/regex.h: Likewise.
45807 * include/sched.h: Likewise.
45808 * include/search.h: Likewise.
45809 * include/setjmp.h: Likewise.
45810 * include/signal.h: Likewise.
45811 * include/stdio.h: Likewise.
45812 * include/stdlib.h: Likewise.
45813 * include/string.h: Likewise.
45814 * include/sys/cdefs.h: Likewise.
45815 * include/sys/mman.h: Likewise.
45816 * include/sys/msg.h: Likewise.
45817 * include/sys/resource.h: Likewise.
45818 * include/sys/select.h: Likewise.
45819 * include/sys/socket.h: Likewise.
45820 * include/sys/stat.h: Likewise.
45821 * include/sys/statvfs.h: Likewise.
45822 * include/sys/time.h: Likewise.
45823 * include/sys/times.h: Likewise.
45824 * include/sys/uio.h: Likewise.
45825 * include/sys/utsname.h: Likewise.
45826 * include/sys/wait.h: Likewise.
45827 * include/termios.h: Likewise.
45828 * include/time.h: Likewise.
45829 * include/ulimit.h: Likewise.
45830 * include/unistd.h: Likewise.
45831 * include/utime.h: Likewise.
45832 * include/wchar.h: Likewise.
45833 * include/wctype.h: Likewise.
45834 * include/wordexp.h: Likewise.
45835
45836 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45837
7a270350
UD
45838 * time/time.h: TIME_UTC must be a macro.
45839 Make timespec_get available for ISO C11 only as well.
45840
7724defc
UD
458412012-02-24 Ulrich Drepper <drepper@gmail.com>
45842
45843 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45844 Reported by Peng Haitao <penght@cn.fujitsu.com>.
45845
6b1d1d46
JM
458462012-02-24 Joseph Myers <joseph@codesourcery.com>
45847
45848 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 45849
0f8bbd69
JM
458502012-02-24 Joseph Myers <joseph@codesourcery.com>
45851
45852 * manual/texinfo.tex: Update to version 2012-01-19.16.
45853
66ab80bc
JM
458542012-02-24 Joseph Myers <joseph@codesourcery.com>
45855
45856 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45857
74981cc5
RM
458582012-02-24 Roland McGrath <roland@hack.frob.com>
45859
ee968201
RM
45860 [BZ #13738]
45861 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45862 * manual/fdl-1.3.texi: New file.
45863 * manual/fdl-1.1.texi: File removed.
45864
74981cc5
RM
45865 [BZ #13738]
45866 * manual/libc.texinfo (FDL_VERSION): New @set.
45867 Use it for mention of FDL in cover text.
45868 (Documentation License): Use it in @include file name.
45869
7bb764bc
JM
458702012-02-22 Joseph Myers <joseph@codesourcery.com>
45871 Roland McGrath <roland@hack.frob.com>
45872
45873 [BZ #5461]
57f41c40
AS
45874 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45875 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45876 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45877 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45878 name.
45879 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45880
6cbeae47
JM
458812012-02-22 Joseph Myers <joseph@codesourcery.com>
45882
45883 [BZ #2547]
45884 [BZ #11365]
45885 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45886 manipulate bits before adding and subtracting TWO23[sx].
45887 * math/libm-test.inc (nearbyint_test): Add more tests.
45888
fe45ce09
JM
458892012-02-22 Joseph Myers <joseph@codesourcery.com>
45890
45891 [BZ #2548]
45892 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45893 bits before adding and subtracting TWO23[sx].
45894 * math/libm-test.inc (rint_test): Add more tests.
45895 (rint_test_tonearest): Likewise.
45896 (rint_test_towardzero): Likewise.
45897 (rint_test_downward): Likewise.
45898 (rint_test_upward: Likewise.
45899
ff3b3d82
JM
459002012-02-22 Joseph Myers <joseph@codesourcery.com>
45901
45902 [BZ #10110]
45903 * include/stdc-predef.h: New file. Extracted from features.h.
45904 * include/features.h: Include stdc-predef.h.
45905 * Makefile (headers): Add stdc-predef.h.
45906 * CONFORMANCE (Compiler limitations): Update.
45907
ef0aab35
JM
459082012-02-22 Joseph Myers <joseph@codesourcery.com>
45909
45910 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45911
58639409
DM
459122012-02-21 David S. Miller <davem@davemloft.net>
45913
45914 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45915 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45916
c0e70b25
DM
459172012-02-20 David S. Miller <davem@davemloft.net>
45918
45919 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45920 using a normal save/restore sequence, rather than allocating a
45921 dummy stack frame just to store a frame pointer and restore.
45922 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45923
fb06851d
JM
459242012-02-21 Joseph Myers <joseph@codesourcery.com>
45925
45926 * manual/install.texi: Fix stray word in line-wrapped comment.
45927
7a8b71c3
DM
459282012-02-20 David S. Miller <davem@davemloft.net>
45929
d510c123
DM
45930 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45931 both binutils and gcc support GOTDATA.
45932
0722d7c2
DM
45933 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45934 "rd %pc" in the PIC register setup sequences.
45935
3d2b3019
DM
45936 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45937 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45938 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45939 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45940 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45942 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45943 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45945 (SYSCALL_ERROR_HANDLER): Likewise.
45946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45947 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45949 (SYSCALL_ERROR_HANDLER): Likewise.
45950
c80098a9
DM
45951 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45952 (HAVE_GCC_GOTDATA): New.
45953 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45954 relocation support in both binutils and gcc.
45955 * sysdeps/sparc/elf/configure: Regenerate.
45956
3a2545a0
DM
45957 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45958 * sysdeps/sparc/sparc32/elf/configure: Delete.
45959 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45960 * sysdeps/sparc/sparc64/elf/configure: Delete.
45961 * sysdeps/sparc/elf/configure.in: New file.
45962 * sysdeps/sparc/elf/configure: Generate.
45963
7a8b71c3
DM
45964 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45965 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45966 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45967 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45968 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45969
f1e86fca
JM
459702012-02-21 Joseph Myers <joseph@codesourcery.com>
45971
45972 * manual/install.texi: Do not mention specific glibc version
45973 numbers.
45974 * manual/libc.texinfo (VERSION, UPDATED): Update.
45975 (@copying): Use @copyright{} and range of years.
45976
0e7dfaef
JM
459772012-02-21 Joseph Myers <joseph@codesourcery.com>
45978
45979 [BZ #13695]
45980 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45981 [crti.S not in sysdirs] (generated): Do not append.
45982 [crti.S not in sysdirs] (omit-deps): Likewise.
45983 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45984 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45985 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45986 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45987 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45988 Likewise.
45989 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45990 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45991 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45992 * csu/defs.awk: Remove file.
45993 * sysdeps/generic/initfini.c: Likewise.
45994 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45995 variable.
45996 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45997 Likewise.
45998
599af3ca
JM
459992012-02-20 Joseph Myers <joseph@codesourcery.com>
46000
46001 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46002 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46003 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46005 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46006 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46007 <bits/epoll.h>.
46008 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46009 (__EPOLL_PACKED): Define to empty if not defined by
46010 <bits/epoll.h>.
46011 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46013 bits/epoll.h.
46014
0e499750
JM
460152012-02-20 Joseph Myers <joseph@codesourcery.com>
46016
46017 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46018 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46019 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46020 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46021 <bits/timerfd.h>.
46022 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46024 bits/timerfd.h.
46025
5ad91f6e
JM
460262012-02-20 Joseph Myers <joseph@codesourcery.com>
46027
46028 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46029 in C locale.
46030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46031 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46032 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46034
06b99b02
AJ
460352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46036
46037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46038 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46039
7638c0fd
AS
460402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46041
46042 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46043 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46044 defined.
46045 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46046 Likewise.
46047 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46048 entry for 2.16.
46049
92221550
AJ
460502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46051
46052 * math/w_acos.c: Use non-signaling floating-point comparisons.
46053 * math/w_acosf.c: Likewise.
46054 * math/w_acosh.c: Likewise.
46055 * math/w_acoshf.c: Likewise.
46056 * math/w_acoshl.c: Likewise.
46057 * math/w_acosl.c: Likewise.
46058 * math/w_asin.c: Likewise.
46059 * math/w_asinf.c: Likewise.
46060 * math/w_asinl.c: Likewise.
46061 * math/w_atanh.c: Likewise.
46062 * math/w_atanhf.c: Likewise.
46063 * math/w_atanhl.c: Likewise.
46064 * math/w_exp2.c: Likewise.
46065 * math/w_exp2f.c: Likewise.
46066 * math/w_exp2l.c: Likewise.
46067 * math/w_j0.c: Likewise.
46068 * math/w_j0f.c: Likewise.
46069 * math/w_j0l.c: Likewise.
46070 * math/w_j1.c: Likewise.
46071 * math/w_j1f.c: Likewise.
46072 * math/w_j1l.c: Likewise.
46073 * math/w_jn.c: Likewise.
46074 * math/w_jnf.c: Likewise.
46075 * math/w_log.c: Likewise.
46076 * math/w_log10.c: Likewise.
46077 * math/w_log10f.c: Likewise.
46078 * math/w_log10l.c: Likewise.
46079 * math/w_log2.c: Likewise.
46080 * math/w_log2f.c: Likewise.
46081 * math/w_log2l.c: Likewise.
46082 * math/w_logf.c: Likewise.
46083 * math/w_logl.c: Likewise.
46084 * math/w_sqrt.c: Likewise.
46085 * math/w_sqrtf.c: Likewise.
46086 * math/w_sqrtl.c: Likewise.
46087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46088 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46089 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46090 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46091 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46092
ebaf36eb
JM
460932012-02-19 Joseph Myers <joseph@codesourcery.com>
46094
46095 [BZ #9739]
46096 * manual/string.texi (strnlen): Use correct parameter name in
46097 equivalent expression.
46098
71c254a6
JM
460992012-02-19 Joseph Myers <joseph@codesourcery.com>
46100
46101 [BZ #11174]
46102 * manual/users.texi (seteuid): Consistently use neweuid for
46103 argument name.
46104
16d2c631
JM
461052012-02-19 Joseph Myers <joseph@codesourcery.com>
46106
46107 [BZ #13704]
46108 * manual/nss.texi (Services in the NSS configuration): Correct
46109 list of services in example configuration file.
46110
cd837b09
NB
461112012-02-19 Nick Bowler <nbowler@draconx.ca>
46112
46113 [BZ #11322]
46114 * manual/arith.texi: Remove statements about negative zero
46115 behaving identically to zero.
46116
02c4bbad
JM
461172012-02-18 Joseph Myers <joseph@codesourcery.com>
46118
46119 [BZ #5993]
46120 * manual/install.texi: Do not document upgrading from libc5.
46121
366842e7
JM
461222012-02-18 Joseph Myers <joseph@codesourcery.com>
46123
46124 [BZ #4596]
46125 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46126
dd54084d
DM
461272012-02-18 David S. Miller <davem@davemloft.net>
46128
46129 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46130 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46131 %o7 across the call.
46132 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46133 instead.
46134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46135 SETUP_PIC_REG_LEAF.
46136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46137 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46138 * sysdeps/sparc/crtn.S: Likewise.
46139
2bcc53a3
UD
461402012-02-17 Ulrich Drepper <drepper@gmail.com>
46141
46142 * aout/Makefile: Remove.
46143
09c093b5
RK
461442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46145
46146 [BZ #13058]
46147 * manual/examples/argp-ex1.c (main): Format definition in GNU
46148 style.
46149 * manual/examples/argp-ex2.c (main): Likewise.
46150 * manual/examples/argp-ex3.c (main): Likewise.
46151 * manual/examples/argp-ex4.c (main): Likewise.
46152 * manual/examples/longopt.c (main): Use new-style prototype
46153 definition.
46154 * manual/examples/strncat.c (main): Specify return type and use
46155 (void) for arguments.
46156 * manual/examples/subopt.c (main): Use char **argv argument.
46157
2ee633a2
JM
461582012-02-17 Joseph Myers <joseph@codesourcery.com>
46159
46160 [BZ #5077]
46161 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46162 rounding modes.
46163
0520adde
FB
461642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46165
46166 [BZ #6907]
46167 * manual/string.texi (strchr): Change when strchrnul is
46168 recommended.
46169
3f4081cd
DGM
461702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46171
46172 [BZ #174]
46173 * manual/locale.texi (setlocale): Document LOCPATH.
46174
d1b10e78
JM
461752012-02-17 Joseph Myers <joseph@codesourcery.com>
46176
46177 [BZ #10210]
46178 * manual/process.texi (execle): Move @dots{} before last argument.
46179
79c6869c
PB
461802012-02-17 Paul Bolle <pebolle@tiscali.nl>
46181
46182 [BZ #12047]
46183 * manual/charset.texi (Generic Charset Conversion): Fix typo
46184 (LC_TYPE -> LC_CTYPE).
46185
cc6e48bc
NB
461862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46187
46188 [BZ #5805]
46189 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46190 (scalbnf): Likewise.
46191 (scalbnl): Likewise.
46192 (scalbln): Likewise.
46193 (scalblnf): Likewise.
46194 (scalblnl): Likewise.
46195 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46196 (vwarnx): Likewise.
46197 (verr): Likewise.
46198 (verrx): Likewise.
46199 * manual/filesys.texi (telldir): Use braces around return type.
46200 * manual/llio.texi (mmap): Add space after comma.
46201 (mmap64): Likewise.
46202 * manual/math.texi (jn): Use @var{} on parameter names.
46203 (jnf): Likewise.
46204 (jnl): Likewise.
46205 (yn): Likewise.
46206 (ynf): Likewise.
46207 (ynl): Likewise.
46208 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46209 line.
46210 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46211 "...".
46212 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46213 (sched_get_priority_max): Likewise.
46214 * manual/signal.texi (sigvec): Add space after comma.
46215 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46216 names.
46217 (if_indextoname): Likewise.
46218 (if_freenameindex): Likewise.
46219 (sendto): Use ',' instead of '.' in prototype.
46220 * manual/startup.texi (syscall): Use @dots{} instead of literal
46221 "...".
46222 * manual/stdio.texi (__fpending): Separate initial words of
46223 paragraph from @deftypefun line.
46224 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46225 "...".
46226 (vsyslog): Use @var{} on parameter names.
46227 * manual/terminal.texi (stty): Use @var{} on parameter names.
46228 * manual/users.texi (getutmp): Use @var{} on parameter names.
46229 (getutmpx): Likewise.
46230
5b23062f
JM
462312012-02-17 Joseph Myers <joseph@codesourcery.com>
46232
46233 [BZ #6884]
46234 * manual/stdio.texi (fopen): Fix typos in description of
46235 ",ccs=STRING".
46236
8dee4833
AJ
462372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46238
46239 [BZ #4026]
46240 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46241 get clock_id definition.
46242
9078ce93
TS
462432012-02-17 Thomas Schwinge <thomas@schwinge.name>
46244
46245 [BZ #4822]
46246 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46247 (madvise): Cast every argument to void on its own.
46248
3835c55f
JM
462492012-02-17 Joseph Myers <joseph@codesourcery.com>
46250
46251 [BZ #9902]
46252 * manual/startup.texi (Exit Status): Fix typo.
46253
35c47e37
JM
462542012-02-17 Joseph Myers <joseph@codesourcery.com>
46255
46256 [BZ #10140]
46257 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46258 * manual/examples/argp-ex2.c: Likewise.
46259 * manual/examples/argp-ex3.c: Likewise.
46260
e3b69ca7
RH
462612012-02-16 Richard Henderson <rth@redhat.com>
46262
46263 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46264 * sysdeps/s390/s390-32/initfini.c: Remove.
46265 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46266 * sysdeps/s390/s390-64/initfini.c: Remove.
46267
df83af67
KK
462682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46269
46270 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46271 compiler output for sysdeps/generic/initfini.c.
46272 * sysdeps/sh/elf/initfini.c: Remove file.
46273
f63f3380
DM
462742012-02-16 David S. Miller <davem@davemloft.net>
46275
fb59b3a4
DM
46276 [BZ #11494]
46277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46278
f63f3380
DM
46279 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46280 * sysdeps/sparc/crti.S: New file.
46281 * sysdeps/sparc/crtn.S: New file.
46282 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46283 * sysdeps/sparc/sparc64/Makefile: Likewise.
46284
df6a4a4a
MF
462852012-02-15 Mike Frysinger <vapier@gentoo.org>
46286
6dd8f3dc 46287 [BZ #3335]
df6a4a4a
MF
46288 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46289
1cac7236
RM
462902012-02-15 Roland McGrath <roland@hack.frob.com>
46291
d2c736f8
RM
46292 [BZ #4822]
46293 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46294
1cac7236
RM
46295 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46296 (write, read, close): Likewise.
46297 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46298
8e475601
JM
462992012-02-15 Joseph Myers <joseph@codesourcery.com>
46300
46301 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46302 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46303 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46304 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46305 <bits/signalfd.h>.
46306 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46308 bits/signalfd.h.
46309
ed656b40
MP
463102012-02-14 Marek Polacek <polacek@redhat.com>
46311
46312 * sysdeps/x86_64/crti.S: New file.
46313 * sysdeps/x86_64/crtn.S: New file.
46314 * sysdeps/x86_64/elf/initfini.c: Remove file.
46315
2a979d3a
JM
463162012-02-13 Joseph Myers <joseph@codesourcery.com>
46317
46318 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46319 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46320 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46321 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46322 <bits/inotify.h>.
46323 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46325 bits/inotify.h.
46326
2a418ac3
JM
463272012-02-13 Joseph Myers <joseph@codesourcery.com>
46328
46329 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46330 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46331 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46332 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46333 <bits/eventfd.h>.
46334 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46336 bits/eventfd.h.
46337
fb779be7
TS
463382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46339
e19e83c5
RM
46340 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46341 __feraiseexcept instead of feraiseexcept.
7c35ffed 46342
fb779be7
TS
46343 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46344 nanosleep invocations.
46345 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46346 strings, and add error checking for a nanosleep invocations.
46347
59ba27a6
PE
463482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46349
46350 Replace FSF snail mail address with URLs, as per GNU coding standards.
46351 Most of the snail mail addresses were wrong anyway, and omitting
46352 them makes the source code easier to maintain. Almost all of the
46353 changes are to license notices and to locale LC_IDENTIFICATION
46354 addresses, except for this one:
46355 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46356 not its snail mail address.
46357
57b957eb
RH
463582012-02-09 Richard Henderson <rth@twiddle.net>
46359
af850b1c
RH
46360 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46361 of kernel-features.h.
46362
57b957eb
RH
46363 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46364
6b73181a
MP
463652012-02-08 Marek Polacek <polacek@redhat.com>
46366
46367 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46368 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46369 * sysdeps/gnu/_G_config.h: Likewise.
46370 * sysdeps/generic/_G_config.h: Likewise.
46371
26ecc33a
AS
463722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46373
6c6dbc63
AS
46374 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46375 tests.
46376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46377
e216c012
AS
46378 * sysdeps/powerpc/powerpc32/crti.S: New file.
46379 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46380 * sysdeps/powerpc/powerpc64/crti.S: New file.
46381 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46382
26ecc33a
AS
46383 * Makeconfig (have-initfini): Don't set.
46384 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46385 * configure.in (nopic_initfini): Don't substitute.
46386 * config.h.in (HAVE_INITFINI): Don't #undef.
46387 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46388 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46389
3add8e13
JM
463902012-02-08 Joseph Myers <joseph@codesourcery.com>
46391
46392 Support crti.S and crtn.S provided directly by architectures.
46393 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46394 [crti.S in sysdirs] (omit-deps): Likewise.
46395 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46396 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46397 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46398 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46399 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46400 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46401 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46402 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46403 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46404 compiler output for sysdeps/generic/initfini.c.
46405 * sysdeps/i386/elf/Makefile: Remove file.
46406 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46407
a22f12b4
MP
464082012-02-07 Marek Polacek <polacek@redhat.com>
46409
46410 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46411 * sysdeps/gnu/_G_config.h: Likewise.
46412 * sysdeps/mach/hurd/_G_config.h: Likewise.
46413
148cf100
MP
464142012-02-07 Marek Polacek <polacek@redhat.com>
46415
46416 * math/Makefile (tests): Add tst-CMPLX2.
46417 * math/tst-CMPLX2.c: New file.
46418
cfdc0dd7
AS
464192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46420
84ba42c4
AS
46421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46422
cfdc0dd7
AS
46423 * math/libm-test.inc (jn_test): Add missing L suffix.
46424
622c86f4
MP
464252012-02-06 Marek Polacek <polacek@redhat.com>
46426
46427 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46428 * sysdeps/i386/fpu/e_powf.S: Likewise.
46429 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46430 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46431 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46432 * sysdeps/i386/fpu/e_pow.S: Likewise.
46433 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46434 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46435 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46436 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46437 * sysdeps/i386/fpu/e_log2.S: Likewise.
46438 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46439 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46440 * sysdeps/i386/fpu/e_powl.S: Likewise.
46441 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46442 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46443 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46444 * sysdeps/i386/fpu/e_logl.S: Likewise.
46445 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46446 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46447 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46448 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46449 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46450 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46451 * sysdeps/i386/fpu/e_log.S: Likewise.
46452 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46454 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46455 * sysdeps/i386/fpu/e_logf.S: Likewise.
46456 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46457 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46458 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46459 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46460 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46461 * sysdeps/i386/fpu/e_log10.S: Likewise.
46462 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46463 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46464 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46465 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46466 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46467 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46468 * sysdeps/i386/asm-syntax.h: Likewise.
46469 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46470 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46471 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46472 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46473 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46474 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46475 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46476 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46477 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46478 * sysdeps/powerpc/sysdep.h: Likewise.
46479 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46480 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46481
d4a54ac6
JM
464822012-02-06 Joseph Myers <joseph@codesourcery.com>
46483
46484 [BZ #411]
46485 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46486
314054ea
JM
464872012-02-06 Joseph Myers <joseph@codesourcery.com>
46488
46489 * sysdeps/i386/sysdep.h: Include <features.h>.
46490 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46491 version.
46492
d8e0ca50
JM
464932012-02-05 Joseph Myers <joseph@codesourcery.com>
46494
46495 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46496 Define.
46497 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46498 LOAD_PIC_REG_STR.
46499
b1da7dd9
JM
465002012-02-03 Joseph Myers <joseph@codesourcery.com>
46501
46502 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46503 (SETUP_PIC_REG): Use GET_PC_THUNK.
46504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46505 macro.
46506
9a1d9254
JM
465072012-02-03 Joseph Myers <joseph@codesourcery.com>
46508
46509 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46510 for non-PIC compilation.
46511 (SETUP_PIC_REG): Add .p2align directive.
46512 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46513 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46514 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46515 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46517 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46518 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46519 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46520 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46521 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46522 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46523 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46524 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46525 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46526 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46527 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46528 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46529 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46530 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46531 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46532 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46534 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46535 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46536 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46538 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46540 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46541 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46542 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46544 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46545 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46546 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46547 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46548 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46549 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46550 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46551 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46552 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46553
65dc3b75
JM
465542012-02-03 Joseph Myers <joseph@codesourcery.com>
46555
46556 * math/tst-CMPLX.c: Include <stdio.h>.
46557
d55bf177
JM
465582012-01-31 Joseph Myers <joseph@codesourcery.com>
46559
46560 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46561 float.
46562 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46563 * sysdeps/sparc/bits/mathdef.h: Likewise.
46564
69db4f8f
MP
465652012-01-31 Marek Polacek <polacek@redhat.com>
46566
46567 * libio/libio.h: Don't define _PARAMS.
46568 * locale/programs/config.h: Don't define PARAMS.
46569 * stdlib/strtol_l.c: Likewise.
46570 (__strtol_l): Remove PARAMS from the prototype.
46571
41b81892
UD
465722012-01-31 Ulrich Drepper <drepper@gmail.com>
46573
3b49edc0
UD
46574 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
46575 names. Just use the correct names. Remove unnecessary wrapper
46576 functions.
46577 * malloc/arena.c: Likewise.
46578 * malloc/hooks.c: Likewise.
46579
41b81892
UD
46580 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46581 ARENA_TEST says not to. Simplify test for creation of a new arena.
46582 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46583
27a25b6e
UD
465842012-01-30 Ulrich Drepper <drepper@gmail.com>
46585
46586 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46587 into tail calls.
46588 (update_get_addr): New function.
46589 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46590 GET_ADDR_MODULE parameter.
46591
c8a89e7d
JM
465922012-01-30 Joseph Myers <joseph@codesourcery.com>
46593
46594 * crypt/cert.c: Remove __STDC__ conditionals.
46595 * crypt/crypt-entry.c: Likewise.
46596 * crypt/crypt_util.c: Likewise.
46597 * libio/filedoalloc.c: Likewise.
46598 * libio/fileops.c: Likewise.
46599 * libio/genops.c: Likewise.
46600 * libio/iofclose.c: Likewise.
46601 * libio/iofdopen.c: Likewise.
46602 * libio/iofopen.c: Likewise.
46603 * libio/iofopen64.c: Likewise.
46604 * libio/iogetdelim.c: Likewise.
46605 * libio/iopopen.c: Likewise.
46606 * libio/obprintf.c: Likewise.
46607 * libio/oldfileops.c: Likewise.
46608 * libio/oldiofclose.c: Likewise.
46609 * libio/oldiofdopen.c: Likewise.
46610 * libio/oldiofopen.c: Likewise.
46611 * libio/oldiopopen.c: Likewise.
46612 * libio/wfiledoalloc.c: Likewise.
46613 * libio/wgenops.c: Likewise.
46614 * locale/programs/xmalloc.c: Likewise.
46615 * misc/syslog.c: Likewise.
46616 * stdio-common/xbug.c: Likewise.
46617 * string/memchr.c: Likewise.
46618 * string/memcmp.c: Likewise.
46619 * string/memrchr.c: Likewise.
46620 * string/rawmemchr.c: Likewise.
46621 * sysdeps/posix/getcwd.c: Likewise.
46622 * time/strftime_l.c: Likewise.
46623
3b100462
JM
466242012-01-30 Joseph Myers <joseph@codesourcery.com>
46625
46626 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
46627 * config.make.in (config-cflags-sse2avx): Define.
46628 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46629 Fix typo.
46630
607998af
CM
466312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
46632
46633 * scripts/config.guess: Update from upstream config git repository.
46634 * scripts/config.sub: Likewise.
46635
3601428f
CM
466362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
46637
3ac8b282
CM
46638 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46639 (EM_NUM): Update.
46640 (R_TILEPRO_*, R_TILEGX_*): New macros.
46641
e034841e
CM
46642 * scripts/firstversions.awk: Fix bug in version range handling.
46643
540d7568
CM
46644 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46645
3601428f
CM
46646 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46647
463de862
CM
46648 * include/sys/epoll.h: New file.
46649 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46650 libc_hidden_def.
46651
73139a76
UD
466522012-01-28 Ulrich Drepper <drepper@gmail.com>
46653
96bc5b45
UD
46654 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46655 Avoid unnecessary __WORDSIZE == 64 test.
46656 (fmaxf): Use VEX format if possible.
46657 (fmax): Likewise.
46658 (fminf): Likewise.
46659 (fmin): Likewise.
46660
56f6f6a2
UD
46661 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46662 * math/math_private.h: Remove libc_fegetround* and
46663 libc_fesetround*.
46664 * sysdeps/i386/configure.in: Check for -msse2avx.
46665 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46666 also if SSE2AVX is defined.
46667 Remove libc_fegetround* and libc_fesetround*.
46668 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46669 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
46670 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46671 of HAS_YMM_USABLE.
46672 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46673 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46675 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46676 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46677
73139a76
UD
46678 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46679
d73f93a4
AZ
466802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46681
46682 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46683 size is not set.
46684 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46685
6ee65ed6
UD
466862012-01-27 Ulrich Drepper <drepper@gmail.com>
46687
46688 [BZ #13618]
46689 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46690 relocation.
46691 * Makeconfig (libm): Define.
46692 * elf/Makefile: Add rules to build and run tst-relsort1.
46693 * elf/tst-relsort1.c: New file.
46694 * elf/tst-relsort1mod1.c: New file.
46695 * elf/tst-relsort1mod2.c: New file.
46696
8db21882
JM
466972012-01-27 Joseph Myers <joseph@codesourcery.com>
46698
46699 * math/s_ldexp.c: Remove __STDC__ conditionals.
46700 * math/s_ldexpf.c: Likewise.
46701 * math/s_ldexpl.c: Likewise.
46702 * math/s_nextafter.c: Likewise.
46703 * math/s_nexttowardf.c: Likewise.
46704 * math/s_significand.c: Likewise.
46705 * math/s_significandf.c: Likewise.
46706 * math/s_significandl.c: Likewise.
46707 * math/w_jnl.c: Likewise.
46708 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46709 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46710 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46711 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46712 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46714 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46715 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46717 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46718 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46719 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46721 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46722 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46727 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46728 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46729 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46730 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46732 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46733 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46735 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46736 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46737 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46738 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46739 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46740 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46741 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46742 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46743 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46744 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46745 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46746 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46747 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46748 * sysdeps/ieee754/k_standard.c: Likewise.
46749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46751 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46752 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46753 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46754 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46755 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46756 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46757 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46758 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46759 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46760 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46761 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46762 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46763 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46765 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46766 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46767 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46781 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46782 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46785 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46788 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46792 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46793 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46794 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46795 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46797 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46808 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46809 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46810 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46811 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46814 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46815 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46816 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46818 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46819 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46820 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46821 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46822 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46823 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46824 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46825 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46826 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46827 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46828 * sysdeps/ieee754/s_matherr.c: Likewise.
46829 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46833
965a54a4
JM
468342012-01-26 Joseph Myers <joseph@codesourcery.com>
46835
46836 * crypt/md5.h: Remove __STDC__ conditionals.
46837 * libio/libioP.h: Likewise.
46838 * locale/programs/config.h: Likewise.
46839 * sysdeps/generic/sysdep.h: Likewise.
46840 * sysdeps/i386/asm-syntax.h: Likewise.
46841 * sysdeps/s390/asm-syntax.h: Likewise.
46842 * sysdeps/unix/sysdep.h: Likewise.
46843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46845
7071ad79
JM
468462012-01-26 Joseph Myers <joseph@codesourcery.com>
46847
46848 * libio/libio.h: Remove __STDC__ conditionals.
46849 * malloc/obstack.h: Likewise.
46850 * math/complex.h: Likewise.
46851 * math/math.h: Likewise.
46852 * sysdeps/generic/_G_config.h: Likewise.
46853 * sysdeps/gnu/_G_config.h: Likewise.
46854 * sysdeps/mach/hurd/_G_config.h: Likewise.
46855 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46856 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46857 * sysdeps/sparc/bits/mathdef.h: Likewise.
46858
afc5ed09
UD
468592012-01-26 Ulrich Drepper <drepper@gmail.com>
46860
46861 [BZ #13583]
46862 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46863 Clean up HAS_* macros.
afc5ed09 46864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46865 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46866 possible.
46867 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46868 HAS_AVX.
46869 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46870 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46874
bdb6de1d
JM
468752012-01-25 Joseph Myers <joseph@codesourcery.com>
46876
46877 * elf/tst-unique3.cc (gets): Remove declaration.
46878 * elf/tst-unique3lib.cc (gets): Likewise.
46879 * elf/tst-unique3lib2.cc (gets): Likewise.
46880 * elf/tst-unique4.cc (gets): Likewise.
46881
b15549e6
UD
468822012-01-24 Ulrich Drepper <drepper@gmail.com>
46883
46884 * include/stdio.h: Add C++ protection. Add gets declarations and
46885 definitions.
46886 * debug/tst-chk1.c: Don't declare gets here.
46887 * stdio-common/tst-gets.c: Likewise.
46888
a037381f
JM
468892012-01-24 Joseph Myers <joseph@codesourcery.com>
46890
46891 * posix/glob: Remove directory.
46892
f1d4aa75
JM
468932012-01-24 Joseph Myers <joseph@codesourcery.com>
46894
46895 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46896
81c0c964
PT
468972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46898
46899 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46900 of the non-standard EPFNOSUPPORT.
46901
0ea698ae
ST
469022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46903
46904 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46905 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46906 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46907
d220b117
UD
469082012-01-21 Ulrich Drepper <drepper@gmail.com>
46909
46910 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46911
3e1aa84e
UD
469122012-01-20 Ulrich Drepper <drepper@gmail.com>
46913
46914 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46915 transient errors.
46916 * nscd/grpcache.c (cache_addgr): Likewise.
46917 * nscd/hstcache.c (cache_addhst): Likewise.
46918 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46919 * nscd/pwdcache.c (cache_addpw): Likewise.
46920 * nscd/servicescache.c (cache_addserv): Likewise.
46921
400aa020
UD
469222012-01-16 Ulrich Drepper <drepper@gmail.com>
46923
d77e7869
UD
46924 * malloc/malloc.c: Various cleanups.
46925 * malloc/hooks.c: Likewise.
46926
400aa020
UD
46927 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46928 * stdlib/bug-fmtmsg1.c: New file.
46929
46930 * stdlib/fmtmsg.c (init): Add missing unlock.
46931 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46932
e0a309cf
MP
469332012-01-12 Marek Polacek <polacek@redhat.com>
46934
46935 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46936 and _GNU_SOURCE.
46937
929d11c7
WS
469382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46939
46940 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46941 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46942 macro to ensure uniqueness of label name.
46943 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46944 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46945
41d0e869
UD
469462012-01-11 Ulrich Drepper <drepper@gmail.com>
46947
0cc5ed3b
UD
46948 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46949
41d0e869
UD
46950 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46951 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46952 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46954
a47a831a
UD
469552012-01-10 Ulrich Drepper <drepper@gmail.com>
46956
daa891c0
UD
46957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46958
46959 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46960 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46961 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46962
e58ef0f2
UD
46963 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46964
a47a831a 46965 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46966 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46969
46970 * math/bits/math-finite.h: Add ldexp support.
46971
a0bfc9c7
MP
469722012-01-10 Marek Polacek <polacek@redhat.com>
46973
46974 * locale/programs/localedef.h (show_archive_content): Add noreturn
46975 attribute.
46976
d6e97a1d
UD
469772012-01-09 Ulrich Drepper <drepper@gmail.com>
46978
46979 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46980
d5835c26
UD
469812012-01-08 Ulrich Drepper <drepper@gmail.com>
46982
e5f484c6
UD
46983 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46984
d5835c26
UD
46985 * io/Makefile (headers): Add bits/poll2.h.
46986
d1f741e9
WS
469872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46988
46989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46990 typo #include statement.
46991
ec09c1c4
UD
469922012-01-08 Ulrich Drepper <drepper@gmail.com>
46993
46994 * include/sys/cdefs.h: Define __attribute_alloc_size.
46995 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46996 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46997 * elf/pldd.c: Likewise.
46998 * iconv/iconv_charmap.c: Likewise.
46999 * iconv/iconvconfig.c: Likewise.
47000 * iconv/strtab.c: Likewise.
47001 * locale/programs/locale.c: Likewise.
47002 * locale/programs/localedef.h: Likewise.
47003 * locale/programs/simple-hash.c: Likewise.
47004 * nscd/nscd.h: Likewise.
47005 * nss/makedb.c: Likewise.
47006 * sysdeps/generic/ldconfig.h: Likewise.
47007 * locale/programs/localedef.c: Remove xmalloc prototype.
47008 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47009
20b38e03
PP
470102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47011
47012 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47013 appropriate.
47014
a0da5fe1
UD
470152012-01-08 Ulrich Drepper <drepper@gmail.com>
47016
1d5a644a 47017 * math/Makefile (tests): Add tst-CMPLX.
669704fd 47018 * math/tst-CMPLX.c: New file.
1d5a644a 47019
8784a6db
UD
47020 * math/complex.h (CMPLXL): Fix typo.
47021
d9a216c0
UD
47022 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47023 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47024 GLIBC_2.16.
47025 * debug/tst-chk1.c: Add poll and ppoll tests.
47026 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47027 * include/sys/poll.h: Add hidden proto for ppoll.
47028 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47029 * sysdeps/mach/hurd/ppoll.c: Likewise.
47030 * io/ppoll.c: Likewise.
47031 * debug/poll_chk.c: New file.
47032 * debug/ppoll_chk.c: New file.
47033 * include/bits/poll2.h: New file.
47034 * io/bits/poll2.h: New file.
47035
ac097f5c
UD
47036 [BZ #1350]
47037 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47038
2119dcfa
UD
47039 * configure.in: static is always set to yes. Remove.
47040 * config.make.in: Don't set build-static.
47041 * Makeconfig: Remove use of build-static.
47042 * dlfcn/Makefile: Likewise.
47043 * elf/Makefile: Likewise.
47044 * math/Makefile: Likewise.
47045 * misc/Makefile: Likewise.
47046 * nptl/Makefile: Likewise.
47047 * sysdeps/mach/hurd/Makefile: Likewise.
47048
121766a9
UD
47049 * configure.in: PWD_P is not used anymore.
47050 * config.make.in: Remove PWD_P entry.
47051
51a1d39c 47052 * configure.in: Remove last remnants of RANLIB.
8720d066 47053 No need to check for signed size_t anymore.
215f4bdc
UD
47054 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47055 and IA-64.
3857022a 47056 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
47057 * aclocal.m4: Likewise.
47058
d3ed7225
UD
47059 * wcsmbs/mbrtoc16.c: Implement using towc function.
47060 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47061 * wcsmbs/wcsmbsload.c: Likewise.
47062 * iconv/gconv_simple.c: Likewise.
47063 * iconv/gconv_int.h: Likewise.
47064 * iconv/gconv_builtin.h: Likewise.
47065 * iconv/iconv_prog.c: Remove CHAR16 handling.
47066
47067 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47068
47069 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47070
a0da5fe1
UD
47071 * configure.in: Remove --with-elf and --enable-bounded options.
47072 Dont set base_machine for ia64. More non-ELF conditions removed.
47073 Remove testing and setting of leading underscore information.
47074 * config.make.in (build-bounded): Set to no.
47075 * config.h.in: Remove NO_UNDERSCORES entry.
47076 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47077 them.
47078 * csu/start.c: Remove !NO_UNDERSCORE code.
47079 * locale/localeinfo.h: Likewise.
47080 * sysdeps/generic/machine-gmon.h: Likewise.
47081 * sysdeps/generic/sysdep.h: Likewise.
47082 * sysdeps/i386/sysdep.h: Likewise.
47083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47084 * sysdeps/mach/sysdep.h: Likewise.
47085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47087 * sysdeps/sh/sysdep.h: Likewise.
47088 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47089 * sysdeps/unix/i386/sysdep.S: Likewise.
47090 * sysdeps/unix/sparc/start.c: Likewise.
47091 * sysdeps/unix/sparc/sysdep.S: Likewise.
47092 * sysdeps/unix/sparc/sysdep.h: Likewise.
47093 * sysdeps/unix/start.c: Likewise.
47094 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47095 * sysdeps/x86_64/sysdep.h: Likewise.
47096
df78418a
UD
470972012-01-07 Ulrich Drepper <drepper@gmail.com>
47098
a784e502
UD
47099 [BZ #13553]
47100 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47101 for non-gcc.
47102 * argp/argp-fmtstream.h: Use const instead __const.
47103 * argp/argp.h: Likewise.
47104 * assert/assert.h: Likewise.
47105 * bits/fenv.h: Likewise.
47106 * bits/sched.h: Likewise.
47107 * bits/sigset.h: Likewise.
47108 * bits/sigthread.h: Likewise.
47109 * catgets/nl_types.h: Likewise.
47110 * conform/data/pthread.h-data: Likewise.
47111 * crypt/crypt-private.h: Likewise.
47112 * crypt/crypt.h: Likewise.
47113 * crypt/crypt_util.c: Likewise.
47114 * ctype/ctype.h: Likewise.
47115 * debug/execinfo.h: Likewise.
47116 * debug/mbsnrtowcs_chk.c: Likewise.
47117 * debug/mbsrtowcs_chk.c: Likewise.
47118 * debug/wcsnrtombs_chk.c: Likewise.
47119 * debug/wcsrtombs_chk.c: Likewise.
47120 * debug/wcstombs_chk.c: Likewise.
47121 * dirent/dirent.h: Likewise.
47122 * dlfcn/dlfcn.h: Likewise.
47123 * elf/neededtest4.c: Likewise.
47124 * grp/grp.h: Likewise.
47125 * gshadow/gshadow.h: Likewise.
47126 * iconv/gconv.h: Likewise.
47127 * iconv/gconv_int.h: Likewise.
47128 * iconv/gconv_simple.c: Likewise.
47129 * iconv/iconv.h: Likewise.
47130 * iconv/loop.c: Likewise.
47131 * iconv/skeleton.c: Likewise.
47132 * include/aio.h: Likewise.
47133 * include/aliases.h: Likewise.
47134 * include/argz.h: Likewise.
47135 * include/arpa/inet.h: Likewise.
47136 * include/assert.h: Likewise.
47137 * include/dirent.h: Likewise.
47138 * include/dlfcn.h: Likewise.
47139 * include/execinfo.h: Likewise.
47140 * include/fcntl.h: Likewise.
47141 * include/fenv.h: Likewise.
47142 * include/glob.h: Likewise.
47143 * include/grp.h: Likewise.
47144 * include/libintl.h: Likewise.
47145 * include/mntent.h: Likewise.
47146 * include/netdb.h: Likewise.
47147 * include/pwd.h: Likewise.
47148 * include/rpc/netdb.h: Likewise.
47149 * include/sched.h: Likewise.
47150 * include/search.h: Likewise.
47151 * include/shadow.h: Likewise.
47152 * include/signal.h: Likewise.
47153 * include/stdio.h: Likewise.
47154 * include/stdlib.h: Likewise.
47155 * include/string.h: Likewise.
47156 * include/sys/socket.h: Likewise.
47157 * include/sys/stat.h: Likewise.
47158 * include/sys/statfs.h: Likewise.
47159 * include/sys/statvfs.h: Likewise.
47160 * include/sys/syslog.h: Likewise.
47161 * include/sys/time.h: Likewise.
47162 * include/sys/uio.h: Likewise.
47163 * include/time.h: Likewise.
47164 * include/unistd.h: Likewise.
47165 * include/utmp.h: Likewise.
47166 * include/wchar.h: Likewise.
47167 * include/wctype.h: Likewise.
47168 * inet/aliases.h: Likewise.
47169 * inet/arpa/inet.h: Likewise.
47170 * inet/netinet/ether.h: Likewise.
47171 * inet/netinet/in.h: Likewise.
47172 * intl/libintl.h: Likewise.
47173 * io/bits/fcntl2.h: Likewise.
47174 * io/fcntl.h: Likewise.
47175 * io/ftw.h: Likewise.
47176 * io/sys/poll.h: Likewise.
47177 * io/sys/stat.h: Likewise.
47178 * io/sys/statfs.h: Likewise.
47179 * io/sys/statvfs.h: Likewise.
47180 * io/utime.h: Likewise.
47181 * libio/bits/stdio.h: Likewise.
47182 * libio/bits/stdio2.h: Likewise.
47183 * libio/libio.h: Likewise.
47184 * libio/libioP.h: Likewise.
47185 * libio/stdio.h: Likewise.
47186 * locale/lc-ctype.c: Likewise.
47187 * locale/locale.h: Likewise.
47188 * login/utmp.h: Likewise.
47189 * malloc/arena.c: Likewise.
47190 * malloc/malloc.c: Likewise.
47191 * malloc/malloc.h: Likewise.
47192 * malloc/mcheck.c: Likewise.
47193 * malloc/mtrace.c: Likewise.
47194 * math/bits/mathcalls.h: Likewise.
47195 * math/fenv.h: Likewise.
47196 * math/math_private.h: Likewise.
47197 * misc/bits/error.h: Likewise.
47198 * misc/bits/syslog.h: Likewise.
47199 * misc/err.h: Likewise.
47200 * misc/error.h: Likewise.
47201 * misc/fstab.h: Likewise.
47202 * misc/mntent.h: Likewise.
47203 * misc/regexp.h: Likewise.
47204 * misc/search.h: Likewise.
47205 * misc/sgtty.h: Likewise.
47206 * misc/sys/mman.h: Likewise.
47207 * misc/sys/syslog.h: Likewise.
47208 * misc/sys/uio.h: Likewise.
47209 * misc/sys/xattr.h: Likewise.
47210 * misc/ttyent.h: Likewise.
47211 * nis/rpcsvc/ypclnt.h: Likewise.
47212 * nss/nss.h: Likewise.
47213 * posix/bits/unistd.h: Likewise.
47214 * posix/fnmatch.h: Likewise.
47215 * posix/glob.h: Likewise.
47216 * posix/sched.h: Likewise.
47217 * posix/spawn.h: Likewise.
47218 * posix/sys/wait.h: Likewise.
47219 * posix/unistd.h: Likewise.
47220 * posix/wordexp.h: Likewise.
47221 * pwd/pwd.h: Likewise.
47222 * resolv/netdb.h: Likewise.
47223 * resource/sys/resource.h: Likewise.
47224 * rt/aio.h: Likewise.
47225 * rt/bits/mqueue2.h: Likewise.
47226 * rt/mqueue.h: Likewise.
47227 * shadow/shadow.h: Likewise.
47228 * signal/signal.h: Likewise.
47229 * socket/send.c: Likewise.
47230 * socket/sendto.c: Likewise.
47231 * socket/sys/socket.h: Likewise.
47232 * stdio-common/printf.h: Likewise.
47233 * stdlib/bits/stdlib.h: Likewise.
47234 * stdlib/fmtmsg.h: Likewise.
47235 * stdlib/monetary.h: Likewise.
47236 * stdlib/stdlib.h: Likewise.
47237 * stdlib/ucontext.h: Likewise.
47238 * streams/stropts.h: Likewise.
47239 * string/argz.h: Likewise.
47240 * string/bits/string2.h: Likewise.
47241 * string/string.h: Likewise.
47242 * string/strings.h: Likewise.
47243 * sunrpc/rpc/auth.h: Likewise.
47244 * sunrpc/rpc/auth_des.h: Likewise.
47245 * sunrpc/rpc/clnt.h: Likewise.
47246 * sunrpc/rpc/netdb.h: Likewise.
47247 * sunrpc/rpc/pmap_clnt.h: Likewise.
47248 * sunrpc/rpc/xdr.h: Likewise.
47249 * sysdeps/generic/inttypes.h: Likewise.
47250 * sysdeps/generic/net/if.h: Likewise.
47251 * sysdeps/generic/sys/swap.h: Likewise.
47252 * sysdeps/gnu/net/if.h: Likewise.
47253 * sysdeps/gnu/utmpx.h: Likewise.
47254 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47255 * sysdeps/i386/i486/bits/string.h: Likewise.
47256 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47257 * sysdeps/s390/bits/string.h: Likewise.
47258 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47259 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47260 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47261 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47262 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47263 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47264 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47265 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47266 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47267 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47268 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47269 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47270 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47271 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47272 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47273 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47274 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47276 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47277 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47278 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47279 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47280 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47281 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47282 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47283 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47284 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47286 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47287 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47288 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47289 * sysvipc/sys/ipc.h: Likewise.
47290 * sysvipc/sys/msg.h: Likewise.
47291 * sysvipc/sys/sem.h: Likewise.
47292 * sysvipc/sys/shm.h: Likewise.
47293 * termios/termios.h: Likewise.
47294 * time/sys/time.h: Likewise.
47295 * time/time.h: Likewise.
47296 * wcsmbs/bits/wchar2.h: Likewise.
47297 * wcsmbs/uchar.h: Likewise.
47298 * wcsmbs/wchar.h: Likewise.
47299 * wctype/wctype.h: Likewise.
47300
0269750c
UD
47301 [BZ #13551]
47302 * Makeconfig: Remove all but ELF support including AIX support.
47303 * Makerules: Likewise.
47304 * config.h.in: Likewise.
47305 * config.make.in: Likewise.
47306 * configure: Likewise.
47307 * configure.in: Likewise.
47308 * csu/Makefile: Likewise.
47309 * csu/version.c: Likewise.
47310 * debug/Makefile: Likewise.
47311 * dlfcn/Makefile: Likewise.
47312 * elf/Makefile: Likewise.
47313 * extra-lib.mk: Likewise.
47314 * iconv/Makefile: Likewise.
47315 * include/libc-symbols.h: Likewise.
47316 * include/shlib-compat.h: Likewise.
47317 * resolv/Makefile: Likewise.
47318 * resolv/res_libc.c: Likewise.
47319 * rt/Makefile: Likewise.
47320 * sysdeps/i386/asm-syntax.h: Likewise.
47321 * sysdeps/i386/sysdep.h: Likewise.
47322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47323 * sysdeps/mach/sysdep.h: Likewise.
47324 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47325 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47326 * sysdeps/s390/asm-syntax.h: Likewise.
47327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47329 * sysdeps/sh/sysdep.h: Likewise.
47330 * sysdeps/unix/sparc/sysdep.h: Likewise.
47331 * sysdeps/wordsize-32/divdi3.c: Likewise.
47332 * sysdeps/x86_64/sysdep.h: Likewise.
47333
00bbd29b
UD
47334 * argp/Versions: Remove _argp_unlock_xxx.
47335
47336 [BZ #13559]
47337 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47338 * abilist/libBrokenLocale.abilist: Likewise.
47339 * abilist/libanl.abilist: Likewise.
47340 * abilist/libc.abilist: Likewise.
47341 * abilist/libcrypt.abilist: Likewise.
47342 * abilist/libdl.abilist: Likewise.
47343 * abilist/libm.abilist: Likewise.
47344 * abilist/libnsl.abilist: Likewise.
47345 * abilist/libpthread.abilist: Likewise.
47346 * abilist/libresolv.abilist: Likewise.
47347 * abilist/librt.abilist: Likewise.
47348 * abilist/libthread_db.abilist: Likewise.
47349 * abilist/libutil.abilist: Likewise.
47350 * abilist/libnss_db.abilist: New file.
47351
47352 * scripts/abilist.awk: Add support for indirect functions.
47353
a2693a0e
UD
47354 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47355
3f05895f
UD
47356 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47357
ecb6fb48
UD
47358 * shlib-versions: Remove entries for ports architectures.
47359
664f8cb9
UD
47360 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47361 files in ports.
47362 * elf/stackguard-macros.h: Remove support for IA-64.
47363 * elf/tst-auditmod1.c: Likewise.
47364 * sysdeps/generic/ldsodefs.h: Likewise.
47365
7ae81d88
UD
47366 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47367 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47368 configure files.
47369
bdeba135
UD
47370 [BZ #13552]
47371 * configure.in: Remove --enable-omitfp support.
47372 * FAQ.in: Adjust.
47373 * config.make.in: Likewise.
47374 * Makeconfig: Likewise.
47375 * manual/install.texi: Likewise.
47376
d75a0a62
UD
47377 In case anyone cares, the IA-64 architecture could move to ports.
47378 * sysdeps/ia64/*: Removed.
47379 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 47380 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 47381
dcc9756b
UD
47382 [BZ #13555]
47383 * configure.in: Remove entries for unsupported architectures.
47384
d3761ebc 47385 [BZ #13533]
9954432e
UD
47386 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47387 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47388 routines.
47389 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47390 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47391 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47392 fall back to using wcrtomb.
47393 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47394 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47395 renaming.
47396 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47397 * wcsmbs/tst-c16c32-1.c: New file.
47398
47399 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47400 local variable.
47401
c3a87236
UD
47402 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47403
28926a1b
UD
47404 * elf/tst-unique3.cc: Add explicit declaration of gets.
47405 * elf/tst-unique3lib.cc: Likewise.
47406 * elf/tst-unique3lib2.cc: Likewise.
47407 * elf/tst-unique4.cc: Likewise.
47408
df78418a
UD
47409 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47410
8ecd6b2a
JM
474112012-01-06 Joseph Myers <joseph@codesourcery.com>
47412
47413 [BZ #13566]
47414 * assert/assert.h (static_assert): Don't define for C++.
47415 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47416 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47417
9f115170
UD
474182012-01-03 Ulrich Drepper <drepper@gmail.com>
47419
5e0d0300
UD
47420 * iconv/loop.c (single loop): Fix assertion in storing of
47421 remaining bytes.
47422
9f115170
UD
47423 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47424
81fb02b0
UD
474252012-01-01 Ulrich Drepper <drepper@gmail.com>
47426
47427 * posix/getconf.c: Update copyright year.
47428 * nss/getent.c: Likewise.
a316c1f6 47429 * nss/makedb.c: Likewise.
81fb02b0
UD
47430 * iconv/iconvconfig.c: Likewise.
47431 * iconv/iconv_prog.c: Likewise.
47432 * elf/ldconfig.c: Likewise.
a316c1f6
UD
47433 * elf/pldd.c: Likewise.
47434 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
47435 * catgets/gencat.c: Likewise.
47436 * csu/version.c: Likewise.
47437 * elf/ldd.bash.in: Likewise.
47438 * elf/sprof.c (print_version): Likewise.
47439 * locale/programs/locale.c: Likewise.
47440 * locale/programs/localedef.c: Likewise.
a316c1f6 47441 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
47442 * nscd/nscd.c (print_version): Likewise.
47443 * debug/xtrace.sh: Likewise.
47444 * malloc/memusage.sh: Likewise.
47445 * malloc/mtrace.pl: Likewise.
47446 * debug/catchsegv.sh: Likewise.
47447
2ba92745
JJ
474482011-12-30 Jakub Jelinek <jakub@redhat.com>
47449
47450 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47451 pure attribute.
47452
dadebdae
UD
474532011-12-24 Ulrich Drepper <drepper@gmail.com>
47454
d3761ebc 47455 [BZ #13533]
db6af3eb
UD
47456 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47457 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47458 transformations.
47459 * iconv/gconv_int.h: Likewise.
47460 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47461 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47462 from libc for GLIBC_2.16.
47463 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47464 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47465 * wcsmbs/uchar.h: Really define mbstate_t.
47466 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47467 * wcsmbs/c16rtomb.c: New file.
47468 * wcsmbs/mbrtoc16.c: New file.
47469 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47470 for C/POSIX locale.
47471 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47472 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47473
dadebdae
UD
47474 * wcsmbs/wchar.h: Add missing __restrict.
47475
67371b56
UD
474762011-12-23 Ulrich Drepper <drepper@gmail.com>
47477
74033a25
UD
47478 [BZ #13532]
47479 * time/Makefile (routines): Add timespec_get.
47480 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47481 * time/time.h: Define TIME_UTC and declare timespec_get. Define
47482 timespec for ISO C11.
47483 * time/timespec_get.c: New file.
47484 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47485 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47486
380d7e87
UD
47487 [BZ #13531]
47488 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47489 * stdlib/stdlib.h: Declare aligned_alloc.
47490 * Versions.def: Add GLIBC_2.16 for libc.
47491 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47492
4e9e7a35
UD
47493 [BZ 13527]
47494 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47495 ISO C11.
47496
380d7e87 47497 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
47498 code.
47499
03a71829
UD
47500 [BZ #13528]
47501 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47502
839e283e
UD
47503 [BZ #13529]
47504 * assert/assert.h (static_assert): Define.
47505
ce5294e2 47506 * version.h: Update for 2.16 development version.
90fa7312 47507
8d44e150 47508 [BZ #13526]
d7809905
UD
47509 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47510 _ISOC11_SOURCE.
47511
c0da14cd
UD
47512 * version.h (RELEASE): Bump for 2.15 release.
47513 * include/features.h (__GLIBC_MINOR__): Bump to 15.
47514
530a3249
MP
47515 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47516 Patch by Marek Polacek <mpolacek@redhat.com>.
47517
67371b56
UD
47518 * bits/byteswap.h: Protect long long constants with __extension__.
47519 * sysdeps/i386/bits/byteswap.h: Likewise.
47520 * sysdeps/ia64/bits/byteswap.h: Likewise.
47521 * sysdeps/s390/bits/byteswap.h: Likewise.
47522 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47523
15db4de1
LD
475242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47525
47526 [BZ #13540]
bbe315ea
LD
47527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47528 destination buffer.
15db4de1
LD
47529 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47530
2b2596b1
MP
475312011-12-23 Marek Polacek <polacek@redhat.com>
47532
47533 * elf/dl-addr.c (determine_info): Add inline keyword.
47534 * elf/tst-auditmod4b.c (check_avx): Likewise.
47535 * elf/tst-auditmod6b.c (check_avx): Likewise.
47536 * elf/tst-auditmod6c.c (check_avx): Likewise.
47537 * elf/tst-auditmod7b.c (check_avx): Likewise.
47538
70c6c246
UD
475392011-12-23 Ulrich Drepper <drepper@gmail.com>
47540
47541 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47542 !__SSE_MATH__.
47543
c044cf14
LD
475442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47545
15db4de1 47546 [BZ #13540]
c044cf14
LD
47547 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47548 processing for last bytes.
47549
6b13d9d9
BH
475502011-08-06 Bruno Haible <bruno@clisp.org>
47551
d455f537
BH
47552 [BZ #13061]
47553 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47554 U+0385, not to U+1FEE.
47555
6b13d9d9
BH
47556 [BZ #13062]
47557 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47558 entry for U+00A5 U+0301.
47559
db910efd
UD
475602011-12-22 Ulrich Drepper <drepper@gmail.com>
47561
27deeafc
UD
47562 [BZ #13166]
47563 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47564 buffer for the output is too small.
47565
aed9d171
UD
47566 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47567 optimization.
47568
db910efd
UD
47569 [BZ #13185]
47570 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47571 SSE flags if possible.
47572
2bd779ae
LD
475732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47574
e7f9dac3 47575 [BZ #13540]
2bd779ae
LD
47576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47577 processing for last bytes.
47578
154bfc16
JM
475792011-12-22 Joseph Myers <joseph@codesourcery.com>
47580
47581 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47582 (syscall-list-default-options, syscall-list-default-condition)
47583 (syscall-list-includes): Define.
47584 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47585 list of ABIs and options and #if conditions for each ABI. Do not
47586 handle common syscalls between ABIs specially.
47587 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47588 Remove.
47589 (syscall-list-variants, syscall-list-32bit-options)
47590 (syscall-list-32bit-condition, syscall-list-64bit-options)
47591 (syscall-list-64bit-condition): Define.
47592 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47593 (syscall-list-variants, syscall-list-32bit-options)
47594 (syscall-list-32bit-condition, syscall-list-64bit-options)
47595 (syscall-list-64bit-condition): Define.
47596 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47597 Remove.
47598 (syscall-list-variants, syscall-list-32bit-options)
47599 (syscall-list-32bit-condition, syscall-list-64bit-options)
47600 (syscall-list-64bit-condition): Define.
47601 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47602 Remove.
47603 (syscall-list-variants, syscall-list-32bit-options)
47604 (syscall-list-32bit-condition, syscall-list-64bit-options)
47605 (syscall-list-64bit-condition): Define.
47606
21eaf3a5
UD
476072011-12-22 Ulrich Drepper <drepper@gmail.com>
47608
16c6f992
UD
47609 * locale/iso-639.def: Add brx entry.
47610
41043168
UD
47611 [BZ #13328]
47612 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47613 Proposed by Mariusz_Cukr <marcukr@op.pl>.
47614
21eaf3a5
UD
47615 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47616 __feraiseexcept_renamed.
47617
e3a851a2
UD
476182011-12-21 Ulrich Drepper <drepper@gmail.com>
47619
4920765e
UD
47620 [BZ #13538]
47621 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47622 EPOLLET with unsigned values.
47623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47625
e3a851a2
UD
47626 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47627 to large cancellation.
47628 * math/s_cacoshf.c: Likewise.
47629 * math/s_cacoshl.c: Likewise.
47630
b27e24b8
RK
476312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
47632
47633 [BZ #13305]
aebefeee 47634 [BZ #12786]
b27e24b8
RK
47635 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47636 * math/s_cacoshf.c: Likewise.
47637 * math/s_cacoshl.c: Likewise.
47638
ee190f67
UD
476392011-12-21 Ulrich Drepper <drepper@gmail.com>
47640
47641 [BZ #13439]
47642 * iconv/gconv.h: Define __GCONV_SWAP.
47643 * iconvdata/unicode.c: The swap bit must be stored in __flags.
47644 * iconvdata/utf-16.c: Likewise.
47645 * iconvdata/utf-32.c: Likewise.
47646
707f25df
AS
476472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
47648
47649 [BZ #13524]
47650 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47651 numerator after shifting it by one limb.
47652
d2daaa1e
RÁE
476532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
47654
47655 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47656 under [__USE_EXTERN_INLINES].
47657
a4647e72
UD
476582011-12-17 Ulrich Drepper <drepper@gmail.com>
47659
47660 [BZ #13446]
47661 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47662
f0b264f1
AZ
476632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47664
47665 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47666 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47667 optimized code.
47668 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47669 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47670 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47671 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47672 for strncasecmp/strncasecmp_l compilation.
47673 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47674 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47675
8ef4f244
MP
476762011-12-08 Marek Polacek <mpolacek@redhat.com>
47677
47678 [BZ #13484]
47679 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47680 of __asm__.
47681
97ac2654
UD
476822011-12-17 Ulrich Drepper <drepper@gmail.com>
47683
47684 [BZ #13506]
47685 * time/tzfile.c (__tzfile_read): Check values from file header.
47686
91d2a845
WS
476872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
47688
47689 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47690 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47691 * powerpc/powerpc32/dl-start.S: Likewise.
47692 * powerpc/powerpc32/elf/start.S: Likewise.
47693 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47694 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47695 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47696 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47697 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47698 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47699 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47700 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47701 * powerpc/powerpc32/fpu/s_round.S: Likewise.
47702 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47703 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47704 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47705 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47706 * powerpc/powerpc32/memset.S: Likewise.
47707 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47708 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47709 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47710 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47711 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47712 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47713 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47714 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47715 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47716 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47717 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47718 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47719 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47720
a1267ba1
AZ
477212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47722
47723 * math/libm-test.inc: Added more nearbyint tests.
47724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47728
ad8ac1bd
RL
477292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
47730
47731 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47732 FD_CLOEXEC.
47733
1d3e4b61
UD
477342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47735
47736 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47737 Add wcscpy-ssse3 wcscpy-c.
47738 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47739 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47740 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47741 * sysdeps/x86_64/wcschr.S: New file.
47742 * sysdeps/x86_64/wcsrchr.S: New file.
47743 * string/test-strcmp.c: Remove checking of wcscmp function for
47744 wrong alignments.
47745 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47746 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47747 wcsrchr-sse2 wcsrchr-c.
47748 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47749 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47750 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47751 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47752 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47753 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47754 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47755 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47756 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47757 * wcsmbc/wcschr.c (WCSCHR): New macro.
47758
5b330a2d
UD
477592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47760
47761 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47762 * wcsmbs/test-wcsrchr.c: New file.
47763 * string/test-strrchr.c: Add wcsrchr support.
47764 (WIDE): New macro.
47765 * wcsmbs/test-wcscpy.c: New file.
47766 * string/test-strcpy.c: Add wcscpy support.
47767 (WIDE): New macro.
26428b7c 47768
f039c043
UD
477692011-12-10 Ulrich Drepper <drepper@gmail.com>
47770
47771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47772 the inner loop.
47773
850fb039
AS
477742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
47775
47776 [BZ #13472]
47777 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47778
4efbd5cb
UD
477792011-12-04 Ulrich Drepper <drepper@gmail.com>
47780
52ff5dd0 47781 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 47782 Minor optimizations.
52ff5dd0 47783
4efbd5cb
UD
47784 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47785 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47786 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47787
8a426e12
UD
477882011-12-03 Ulrich Drepper <drepper@gmail.com>
47789
aff2453d
UD
47790 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47791 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47792 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47793 for gcc to avoid warnings.
47794 * inet/Makefile (tests): Add tst-checks.
47795 * inet/tst-checks.c: New file.
47796
47797 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47798 warning.
47799
47800 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47801 __wmemcmp_sse2.
47802
47803 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47804 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47805
8a426e12
UD
47806 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47807
9bea3473
UD
478082011-12-02 Ulrich Drepper <drepper@gmail.com>
47809
3a965496
UD
47810 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47811 problem.
47812
9bea3473
UD
47813 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47814
f101631b
UD
478152011-11-29 Joseph Myers <joseph@codesourcery.com>
47816
47817 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47818 conditional on GCC version.
47819 (__arch_compare_and_exchange_val_8_acq)
47820 (__arch_compare_and_exchange_val_16_acq)
47821 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47822 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47823 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47824
a98275aa
UD
478252011-12-02 Joseph Myers <joseph@codesourcery.com>
47826
47827 * sysdeps/sh/backtrace.c: New file.
47828
d4cc29a2
AS
478292011-12-02 Andreas Schwab <schwab@redhat.com>
47830
47831 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
47832 parenthesis.
47833
6257af2d
AS
478342011-12-01 Andreas Schwab <schwab@redhat.com>
47835
47836 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47837 falling back to utime.
47838
b5f44c1a
AS
478392011-11-30 Andreas Schwab <schwab@redhat.com>
47840
47841 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47842 expectations for float.
47843
f3a6cc0a
AS
478442011-11-29 Andreas Schwab <schwab@redhat.com>
47845
47846 * locale/weight.h (findidx): Add parameter len.
47847 * locale/weightwc.h (findidx): Likewise.
47848 * posix/fnmatch_loop.c (FCT): Adjust caller.
47849 * posix/regcomp.c (build_equiv_class): Likewise.
47850 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47851 * posix/regexec.c (check_node_accept_bytes): Likewise.
47852 * string/strcoll_l.c (STRCOLL): Likewise.
47853 * string/strxfrm_l.c (STRXFRM): Likewise.
47854
9d65ea3a
UD
478552011-11-17 Ulrich Drepper <drepper@gmail.com>
47856
47857 * Makefile.in: Remove CVSOPT handling.
47858 * configure.in: Remove use of AC_REVISION.
47859 * iconvdata/Makefile (distribute): No need to filter out CVS.
47860 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47861 handling.
47862
5583a086
AS
478632011-11-16 Andreas Schwab <schwab@redhat.com>
47864
47865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47866 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47867 [USE_AS_STRNCASECMP_L]: Likewise.
47868 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47869 NO_TLS_DIRECT_SEG_REFS.
47870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47871 Fix argument offsets for non-PIC.
47872 [USE_AS_STRNCASECMP_L]: Likewise.
47873 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47874 NO_TLS_DIRECT_SEG_REFS.
47875
d62a8200
UD
478762011-11-15 Ulrich Drepper <drepper@gmail.com>
47877
9d65ea3a 47878 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47879 O_CLOEXEC.
47880 * locale/loadlocale.c (_nl_load_locale): Likewise.
47881
09f93bd3
AS
478822011-11-15 Andreas Schwab <schwab@redhat.com>
47883
446514f9
AS
47884 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47885 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47887 (SYSCALL_GETTIME): Set errno on error.
47888
09f93bd3
AS
47889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47890 count references to noai6ai_cached.
47891
312be3f9
UD
478922011-11-15 Ulrich Drepper <drepper@gmail.com>
47893
47894 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47895
47896 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47897 FD_CLOEXEC for /proc/self/maps.
47898
47899 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47900 FD_CLOEXEC for /proc/meminfo.
47901
47902 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47903 gai.conf.
47904
47905 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47906 FD_CLOEXEC for given file.
47907
47908 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47909
47910 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47911 FD_CLOEXEC for /etc/hosts.
47912 (_gethtent): Likewise.
47913
47914 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47915
47916 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47917 cancellation and set FD_CLOEXEC for /etc/netgroup.
47918
47919 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47920 reading /etc/publickey.
47921
47922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47923 allow cancellation when reading /etc/group.
47924
47925 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47926 cancellation.
47927 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47928
47929 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47930 when using data file.
47931
47932 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47933
47934 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47935 (write_nis_obj): Use "c" and "e" in fopen.
47936
47937 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47938
47939 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47940
47941 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47942
47943 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47944
47945 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47946 locale.alias.
47947
47948 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47949
47950 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47951
47952 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47953
47954 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47955 file parsing and set FD_CLOEXEC.
47956
82af0fa8
UD
479572011-11-14 Ulrich Drepper <drepper@gmail.com>
47958
47959 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47960
a5fb313c
AS
479612011-11-14 Andreas Schwab <schwab@redhat.com>
47962
47963 * malloc/arena.c (arena_get2): Don't call reused_arena when
47964 _int_new_arena failed.
47965
6abf3465
UD
479662011-11-14 Ulrich Drepper <drepper@gmail.com>
47967
47968 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47969 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47970 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47974 to compile strcasecmp and strncasecmp.
47975 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47976 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47977
47978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47979
76e3966e
UD
479802011-11-13 Ulrich Drepper <drepper@gmail.com>
47981
47982 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47983 locale-defines.sym to gen-as-const-headers.
47984 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47985 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47986 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47987 to compile strcasecmp and strncasecmp.
47988 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47989 strcasecmp_l and strncasecmp_l.
47990 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47991 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47992 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47993 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47994 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47995 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47996 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47997 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47998 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47999 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48000 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48001
ab26144e
UD
480022011-11-12 Ulrich Drepper <drepper@gmail.com>
48003
7edb22ef
UD
48004 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48005 result of SYSDEP_GETTIME_CPU to retval.
48006 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48007 parameter list to macro. Remove trailing semicolon. Adjust users.
48008
9694fc44
UD
48009 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48010 variable.
48011
8ad89ef8
UD
48012 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48013 mantissa words.
48014 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48015
0c822ef9
UD
48016 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48017 from unused variable.
48018
874e0564
UD
48019 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48020 DWARF definitions.
48021 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48022 for assembling.
48023
3a2edc79
UD
48024 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48025 over namespaces.
48026
f3c2577f
UD
48027 * sunrpc/rpc_prot.c (rejected): Fix case value.
48028
294ce126
UD
48029 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48030 unsigned long long int to avoid warnings in shift.
48031
5e2b63c6
UD
48032 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48033 of use of trans.
48034 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48035 variable tmp.
48036
e7f4b08e
UD
48037 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48038 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48039 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48040
ab26144e
UD
48041 * nis/nis_table.c (nis_list): Use variable of correct type for
48042 result of __follow_path call.
48043
8a6d5255
AZ
480442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48045
48046 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48047 of math functions ceil, trunc, floor, round, and sqrt, when
48048 avaliable on the platform.
48049 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48050 name clash.
48051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48052 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48053 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48054
aaddc98c
MP
480552011-10-30 Marek Polacek <mpolacek@redhat.com>
48056
48057 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48058 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48059
95b7042b
RM
480602011-11-11 Roland McGrath <roland@hack.frob.com>
48061
48062 * include/unistd.h: Fix __readlink return type.
48063 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48064
57769839
UD
480652011-11-11 Ulrich Drepper <drepper@gmail.com>
48066
48067 * stdlib/ucontext.h: Undo last change for makecontext.
48068
edc5984d
AS
480692011-11-11 Andreas Schwab <schwab@redhat.com>
48070
98591e58
AS
48071 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48072
edc5984d
AS
48073 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48074 * setjmp/setjmp.h: Mark functions as non-leaf.
48075 * setjmp/bits/setjmp2.h: Likewise.
48076 * stdlib/ucontext.h: Likewise.
48077
77cdc054
AS
480782011-11-10 Andreas Schwab <schwab@redhat.com>
48079
48080 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48081 (reused_arena): Don't check arena limit.
48082 (arena_get2): Atomically check arena limit.
48083
fe72eebd
UD
480842011-11-08 Ulrich Drepper <drepper@gmail.com>
48085
5f078c32
UD
48086 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48087 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48088
fe72eebd
UD
48089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48090 instructions.
48091
ae1bc2fa
AS
480922011-11-07 Andreas Schwab <schwab@redhat.com>
48093
7583a88d
AS
48094 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48095 handler when locking.
48096
ae1bc2fa
AS
48097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48098 Fix size of allocated buffer.
48099
10fb0bfa
AS
481002011-11-04 Andreas Schwab <schwab@redhat.com>
48101
998832a4
AS
48102 [BZ #10103]
48103 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48104 declarations for long double functions.
48105 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48106
10fb0bfa
AS
48107 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48108
3d7ba52b
AS
481092011-11-03 Andreas Schwab <schwab@redhat.com>
48110
a9ae54a1
AS
48111 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48112 installed.
48113
3d7ba52b
AS
48114 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48115 is disabled.
48116
bc8db248
ST
481172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48118
48119 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48120
45b96dd6
AS
481212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48122
647776f6
AS
48123 * include/alloca.h (stackinfo_alloca_round): Define.
48124 (extend_alloca): Use it.
48125 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48126 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48127 here.
48128
d91a8b93
AS
48129 * scripts/check-local-headers.sh: Ignore libaudit.h.
48130
45b96dd6
AS
48131 * nscd/Makefile (extra-objs): Make recursively expanded.
48132
432d41ce
UD
481332011-11-01 Ulrich Drepper <drepper@gmail.com>
48134
34372fc6
UD
48135 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48137
fadb59f8
UD
48138 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48139 * posix/tst-rfc3484-2.c: Likewise.
48140 * posix/tst-rfc3484-3.c: Likewise.
48141
78239589
UD
48142 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48143 process_vm_writev.
48144 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48145 process_vm_writev.
48146 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48147 process_vm_writev from libc using GLIBC_2.15 version.
48148
432d41ce
UD
48149 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48150
02f9c6cf
PP
481512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48152
48153 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48154 stack usage.
48155
3a2c0242
UD
481562011-10-31 Ulrich Drepper <drepper@gmail.com>
48157
f4ec4833
UD
48158 [BZ #13367]
48159 * nss/getent.c (initgroups_keys): Show error message in case no group
48160 names are given.
48161
3a2c0242
UD
48162 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48163 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48164 __bump_nl_timestamp.
48165 * nscd/connections (nscd_init): When host database is served open
48166 netlink socket and request notification about configuration changes.
48167 (main_loop_poll): Track netlink file descriptor and bump timestamp
48168 in case data becomes available.
48169 (main_loop_epoll): Likewise.
48170 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48171 (database_pers_head): Add extra_data fileds.
48172 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48173 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48174 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48175 Adjust caller.
48176 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48177 in6ai data, call __free_in6ai.
48178 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48179 Add -DHAVE_NETLINK.
48180 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48181 interface information. Reuse previous data if netlink timestamp
48182 is not changed.
48183 (__bump_nl_timestamp): New function.
48184 (__free_in6ai): New function.
48185
636064eb
UD
481862011-10-30 Ulrich Drepper <drepper@gmail.com>
48187
48188 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48189 close_not_cancel_no_status here.
48190 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48191
9beb2334
UD
481922011-10-29 Ulrich Drepper <drepper@gmail.com>
48193
6ef76f3b
UD
48194 [BZ #13276]
48195 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48196 return value.
48197
0ffc4f3e 48198 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
48199 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48200 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48201
cb95113e
UD
482022011-07-03 Andreas Jaeger <aj@suse.de>
48203
48204 [BZ #10709]
48205 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48206 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48207 * math/libm-test.inc (sin_test): Add test case.
48208
a1b560ff
UD
482092011-10-29 Ulrich Drepper <drepper@gmail.com>
48210
c9aaface
UD
48211 [BZ #13337]
48212 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48213 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48214
d272e7f1
UD
48215 * elf/chroot_canon.c (chroot_canon): Cleanups.
48216
1bc33071
UD
48217 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48218
1760874d
TJ
48219 [BZ #13335]
48220 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48221 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48222
51d91b18
UD
48223 * string/test-strchr.c: Make usable for strchrnul testing.
48224 * string/test-strchrnul.c: New file.
48225 * string/Makefile (strop-tests): Add strchrnul.
48226
a1b560ff 48227 * po/it.po: Update from translation team.
b611fb81 48228 * po/es.po: Likewise.
a1b560ff 48229
a5b81e1f
UD
482302011-10-28 Ulrich Drepper <drepper@gmail.com>
48231
fd52bc6d
UD
48232 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48233 the three constants needed as parameters. Drop the others.
48234 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48235 __m128i_strloadu_tolower.
52e4b9eb
UD
48236 Create and initialize variable zero and use it in all the places
48237 where _mm_setzero_si128 was used.
fd52bc6d 48238
a5b81e1f
UD
48239 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48240 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48241 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48243 anymore.
48244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48245 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48246 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48247 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48248 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48249 __mpranred, __mptan.
48250 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48251 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48252 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48253 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48254 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48255 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48256 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48257 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48258 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48259
b4343346
AS
482602011-10-28 Andreas Schwab <schwab@redhat.com>
48261
0c92d8a8
AS
48262 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48263 redefine if SHARED.
48264 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48265
b4343346
AS
48266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48267 wide char related routines to wcsmbs subdir.
48268
3871f58f
AS
482692011-10-27 Andreas Schwab <schwab@redhat.com>
48270
48271 [BZ #13344]
48272 * misc/sys/cdefs.h (__THROWNL): Define.
48273 * posix/unistd.h: Use __THREADNL instead of __THREAD
48274 for memory synchronization functions.
48275
94d44d9f
RM
482762011-10-26 Roland McGrath <roland@hack.frob.com>
48277
21b64b15 48278 [BZ #13349]
94d44d9f
RM
48279 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48280 doesn't exist.
48281 * manual/stdio.texi (Obstack Streams): Node removed.
48282
f6ce9294
AS
482832011-10-26 Andreas Schwab <schwab@redhat.com>
48284
80479147
AS
48285 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48286 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48288
f6ce9294
AS
48289 * math/math_private.h (math_force_eval): Allow non-addressable
48290 arguments.
48291 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48292
618280a1
UD
482932011-10-25 Ulrich Drepper <drepper@gmail.com>
48294
e0016b11
UD
48295 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48296 file is not needed.
48297
48298 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48299 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48300 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48301 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48303 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48304 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48305 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48306 Add AVX variants.
48307 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48308 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48309 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48310 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48311 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48312 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48313 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48315 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48316 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48317 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48318 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48320 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48321 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48322 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48324 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48325 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48326
48327 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48328 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48329
618280a1
UD
48330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48331 place. Use VEX encoding when compiling for AVX.
48332
37822576
AS
483332011-10-25 Andreas Schwab <schwab@redhat.com>
48334
1f1e1947
AS
48335 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48336 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48337
37822576
AS
48338 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48339
31ea014d
UD
483402011-10-25 Ulrich Drepper <drepper@gmail.com>
48341
d7826aa1 48342 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 48343 useless if() expression.
d7826aa1
UD
48344 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48345 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48346 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48347 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48348 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48349 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48350 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48354 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48355 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48356 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48357 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48358 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48359 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48360 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48362 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48363
31ea014d
UD
48364 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48365
16437fec
AS
483662011-10-25 Andreas Schwab <schwab@redhat.com>
48367
48368 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48369 condition.
48370 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48371
31d3cc00
UD
483722011-10-25 Ulrich Drepper <drepper@gmail.com>
48373
48374 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48375 .text section. Avoid duplicate constants.
48376 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48386 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48388 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48400 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48401 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48402 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48403 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48404 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48405 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48406 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48407 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48409 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48410 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48411 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48412 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48414 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48415 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48416 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48417 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48418 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48419 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48420 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48421
58985aa9
UD
484222011-10-24 Ulrich Drepper <drepper@gmail.com>
48423
202c9deb
UD
48424 * sysdeps/x86_64/dla.h: Move to ...
48425 * sysdeps/x86_64/fpu/dla.h: ...here.
48426 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48427 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 48428
af968f62
UD
48429 * config.make.in: Add have-mfma4 entry.
48430 * configure.in: Substitute libc_cv_cc_fma4.
48431 * math/Makefile (dbl-only-routines): Add sincostab.
48432 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48433 Use __sincostab not sincos.
48434 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48435 name is a macro.
48436 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48440 using __copysign.
48441 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48442 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48443 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48444 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48445 and __inv.
48446 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48447 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48448 __copysign.
48449 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48450 define aliases when function name is a macro.
48451 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48452 sysdeps/ieee754/dbl-64/sincos.tbl.
48453 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48454 fma4-enabled routines.
48455 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48456 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48457 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48458 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48460 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48462 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48464 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48465 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48466 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48467 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48468 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48469 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48470 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48471 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48472 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48473 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48474 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48475 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48476 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48477 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48478 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48479 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48480 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48481 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48482 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48483 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48484 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48485
58985aa9
UD
48486 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48487 rename.
48488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48496
a201fbcf
AS
484972011-10-24 Andreas Schwab <schwab@redhat.com>
48498
48499 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48500
fc2ee42a
LD
485012011-10-23 Ulrich Drepper <drepper@gmail.com>
48502
bb3129bd
UD
48503 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48504
0275fff8
UD
48505 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48506 prediction.
48507 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48508
2fa2ae85
UD
48509 * string/strnlen.c: Don't define STRNLEN, reverse logic.
48510 Remove unused variable magic_bits.
48511 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48512
fc2ee42a
LD
48513 * string/strnlen.c: Define and use STRNLEN macro.
48514 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48515 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48517 * wcsmbs/wcslen.c: Define and use WCSLEN.
48518 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48519 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48520 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48521 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48522 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48523 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48524 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48525
ce7dd29f
LD
485262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48527
48528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48529 strnlen-sse2-no-bsf.
48530 Rename strlen-no-bsf to strlen-sse2-no-bsf.
48531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48532 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48533 Add strnlen support.
48534 (USE_AS_STRNLEN): New macro.
48535 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48536 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48537 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48538 * sysdeps/x86_64/wcslen.S: New file.
48539
979c70a3
MZ
485402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
48541
48542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48543 XMM-moves are used for copying on small sizes.
48544
2d09f82f
LD
485452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48546
48547 * wcsmbs/Makefile (strop-tests): Add wcschr.
48548 * wcsmbs/test-wcschr.c: New file.
48549 * string/test-strchr.c: Update.
48550 Add wcschr support.
48551 (WIDE): New macro.
48552
619fccca
LD
485532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48554
2d09f82f 48555 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
48556 * wcsmbs/test-wcslen.c: New file.
48557 * string/test-strlen.c: Update.
48558 Add wcslen support.
48559 (WIDE): New macro.
48560
09f699ea
UD
485612011-10-23 Ulrich Drepper <drepper@gmail.com>
48562
48563 * po/it.po: Update from translation team.
48564
95584d3b
LD
485652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48566
48567 * sysdeps/x86_64/wcscmp.S: Update.
48568 Fix wrong comparison semantics.
48569 wcscmp shall use signed comparison not unsigned.
48570 Don't use substraction to avoid overflow bug.
48571 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48572 * wcsmbc/wcscmp.c: Likewise.
48573 * string/test-strcmp.c: Likewise.
48574 Add new tests to check cases with negative values.
48575
c8b3296b
UD
485762011-10-23 Ulrich Drepper <drepper@gmail.com>
48577
48578 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48579 * sysdeps/x86_64/dla.h: ...here. New file.
48580 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48581 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48589
246ad57a
AS
485902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
48591
48592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48593 __ynl_finite aliases.
48594
a1a87169
UD
485952011-10-22 Ulrich Drepper <drepper@gmail.com>
48596
0d355eb7
UD
48597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48598
a1a87169
UD
48599 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48600 define DLA_FMA.
48601 [DLA_FMA] (EMULV): Use DLA_FMA.
48602 [DLA_FMA] (MUL12): Use EMULV.
48603 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48604 that are not needed.
48605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48612
ee2aafe0
AS
486132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
48614
48615 * math/s_nan.c: Undef __nan.
48616 * math/s_nanf.c: Undef __nanf.
48617 * math/s_nanl.c: Undef __nanl.
48618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48619 "math_private.h".
48620
bc62c2fb
UD
486212011-10-22 Ulrich Drepper <drepper@gmail.com>
48622
77425c63
UD
48623 * math/s_catan.c: Add branch predictions.
48624 * math/s_catanf.c: Likewise.
48625 * math/s_catanh.c: Likewise.
48626 * math/s_catanhf.c: Likewise.
48627 * math/s_catanhl.c: Likewise.
48628 * math/s_catanl.c: Likewise.
48629 * math/s_cexp.c: Likewise.
48630 * math/s_cexpf.c: Likewise.
48631 * math/s_cexpl.c: Likewise.
48632 * math/s_clog.c: Likewise.
48633 * math/s_clog10.c: Likewise.
48634 * math/s_clog10f.c: Likewise.
48635 * math/s_clog10l.c: Likewise.
48636 * math/s_clogf.c: Likewise.
48637 * math/s_clogl.c: Likewise.
48638 * math/s_csqrt.c: Likewise.
48639 * math/s_csqrtf.c: Likewise.
48640 * math/s_csqrtl.c: Likewise.
48641 * math/s_ctanf.c: Likewise.
48642 * math/s_ctanh.c: Likewise.
48643 * math/s_ctanhf.c: Likewise.
48644 * math/s_ctanhl.c: Likewise.
48645 * math/s_ctanl.c: Likewise.
48646
bc62c2fb
UD
48647 * math/math_private.h: Define __nan, __nanf, __nanl.
48648 * math/s_cacosh.c: Include <math_private.h>.
48649 * math/s_cacoshl.c: Likewise.
48650 * math/s_casinh.c: Likewise.
48651 * math/s_casinhf.c: Likewise.
48652 * math/s_casinhl.c: Likewise.
48653 * math/s_ccos.c: Rely entire on ccosh.
48654 * math/s_ccosf.c: Rely entire on ccoshf.
48655 * math/s_ccosl.c: Rely entirely on ccoshl.
48656 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
48657 Remove tests for FE_INVALID.
48658 * math/s_ccoshf.c: Likewise.
48659 * math/s_ccoshl.c: Likewise.
48660 * math/s_csin.c: Likewise.
48661 * math/s_csinf.c: Likewise.
48662 * math/s_csinh.c Likewise.
48663 * math/s_csinhf.c: Likewise.
48664 * math/s_csinhl.c: Likewise.
48665 * math/s_csinl.c: Likewise.
48666 * math/s_ctan.c: Likewise.
48667 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48668 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48670
8ec250a4
UD
486712011-10-21 Ulrich Drepper <drepper@gmail.com>
48672
c196fed8
UD
48673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48674 compilation problems.
48675
8ec250a4
UD
48676 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48677 __builtin_expect.
48678
8d4f46c6
UD
486792011-10-20 Ulrich Drepper <drepper@gmail.com>
48680
ed72b654
UD
48681 * sysdeps/i386/configure.in: Test for -mfma4 option.
48682 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48683 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48684 COMMON_CPUID_INDEX_80000001.
48685 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48686 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48687 use it if FMA3 is not supported.
48688 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48689
8d4f46c6
UD
48690 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48691 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48692
d45c60c2
AS
486932011-10-20 Andreas Schwab <schwab@redhat.com>
48694
48695 [BZ #12892]
48696 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48697 it would create a cycle with a link time dependency.
48698
d9a4d2ab
UD
486992011-10-19 Ulrich Drepper <drepper@gmail.com>
48700
855d1560
UD
48701 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48702 instruction.
48703 * string/Makefile (strop-tests): Add rawmemchr.
48704 * string/test-rawmemchr.c: New file.
48705
d9a4d2ab
UD
48706 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48707 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
48708 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
48709 when compiling str{,n}casecmp and when AVX is available. Hook up
48710 new optimized code in initializers.
48711
8f3b1ffe
AS
487122011-10-19 Andreas Schwab <schwab@redhat.com>
48713
48714 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48715 __feraiseexcept instead of feraiseexcept.
48716
d38f1dba
UD
487172011-10-18 Ulrich Drepper <drepper@gmail.com>
48718
d9a8d0ab
UD
48719 * math/math_private.h: Define defaults for libc_fetestexcept and
48720 libc_feupdateenv.
48721 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48722 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48723 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48724 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48725 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48726 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48727 libc_fetestexcept and libc_feupdateenv.
48728
4855e3dd
UD
48729 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48730 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48731 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48732 * sysdeps/x86_64/fpu/math_private.h: Define special version of
48733 libc_feholdexcept_setround.
48734
581d30e3
UD
48735 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48736 Add s_nearbyint-c and s_nearbyintf-c.
48737 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48738 nearbyintf inlines.
48739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48743
d38f1dba
UD
48744 * math/math_private.h: Define defaults for libc_fegetround,
48745 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48746 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48747 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48748 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48749 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48750 standard functions.
48751 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48752 Remove comments and hacks for old compiler versions.
48753 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48754 libc_fegetround, libc_fesetround, libc_feholdexcept, and
48755 libc_feholdexceptl.
48756
caa6c9d8
AS
487572011-10-18 Andreas Schwab <schwab@redhat.com>
48758
48759 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
48760 (__feraiseexcept_renamed): Add __NTH.
48761 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
48762 namespace violations.
48763
97c066e6
UD
487642011-10-17 Ulrich Drepper <drepper@gmail.com>
48765
99ce7b04
UD
48766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48767
1004d182
UD
48768 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48769
228a984d
UD
48770 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48771 recently added interfaces.
48772 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48773
c8553a6a
UD
48774 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48775 about macro parameter expansion.
48776
ed22dcf6
UD
48777 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48778 __NO_MATH_INLINES is defined. Cleanups.
48779
48780 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48781 and __floorf is target has SSE4.1.
48782 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48783 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48784 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48785 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48786
b171c137
UD
48787 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48788 name.
48789 (floorf): Likewise.
48790
97c066e6
UD
48791 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48792
629f62ef
AS
487932011-10-17 Andreas Schwab <schwab@redhat.com>
48794
49a43d80
AS
48795 * misc/sys/cdefs.h: Fix last change.
48796
629f62ef
AS
48797 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48798 database lookup.
48799
e453f6cd
UD
488002011-10-16 Ulrich Drepper <drepper@gmail.com>
48801
aa78043a
UD
48802 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48803
ad0f5cad
UD
48804 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48806 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48809 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48810 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48811 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48812 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48813 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48814 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48815 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48816 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48817 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48818 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48819 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48820 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48821 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48822 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48823 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48824 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48825 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48826
48827 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48828 ceil, ceilf, floor, floorf.
48829
48830 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48831 Perform IRELATIVE relocations last.
48832
e453f6cd
UD
48833 * elf/do-rel.h: Add another parameter nrelative, replacing the
48834 local variable with the same name. Change name of the function
48835 to end in Rel or Rela (uppercase).
48836 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48837 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
48838 elf_dynamic_do_##reloc function.
48839
fd5bdc09
UD
488402011-10-15 Ulrich Drepper <drepper@gmail.com>
48841
79b195b5
UD
48842 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48843 is sufficient, at least on modern CPUs.
48844
d4a28569
UD
48845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48846
b61099b5
UD
48847 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48848 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48849
bcf01e6d
UD
48850 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48851 __expl_finite.
48852 * math/bits/math-finite.h: Add entries for exp.
48853 * math/e_expl.c: Add __*_finite alias.
48854 * sysdeps/i386/fpu/e_exp.S: Likewise.
48855 * sysdeps/i386/fpu/e_expf.S: Likewise.
48856 * sysdeps/i386/fpu/e_expl.c: Likewise.
48857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48858 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48859 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48860 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48861 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48862 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48863 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48864
ba1a0d59
UD
48865 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48866 is sufficient, at least on modern CPUs.
48867
fd5bdc09
UD
48868 * ctype/ctype-info.c (__ctype_init): Define.
48869 * include/ctype.h (__ctype_init): Declare.
48870 (__ctype_b_loc): The variable is always initialized.
48871 (__ctype_toupper_loc): Likewise.
48872 (__ctype_tolower_loc): Likewise.
48873 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48874 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48875
7872cfb0
AS
488762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48877
b468825a
AS
48878 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48879
7872cfb0
AS
48880 * configure.in: Also look in $cxxmachine/include for C++ system
48881 headers.
48882
be13f7bf
LD
488832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48884
48885 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48886 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48887 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48888 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48889 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48890 (USE_AS_WMEMCMP): New macro.
48891 Fixing indents.
48892 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48893 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48894 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48895 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48897 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48898 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48899 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48900 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48901 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48902 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48903 (USE_AS_WMEMCMP): New macro.
48904 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48905 * sysdeps/string/test-memcmp.c: Update.
48906 Fix simple_wmemcmp.
48907 Add new tests.
48908 * wcsmbs/wmemcmp.c: Update.
48909 (WMEMCMP): New macro.
48910 Fix overflow bug.
48911
556a2007
AJ
489122011-10-12 Andreas Jaeger <aj@suse.de>
48913
48914 [BZ #13268]
48915 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48916
538faaa7
UD
489172011-10-15 Ulrich Drepper <drepper@gmail.com>
48918
ab6737ff
UD
48919 * libio/iofwide.c (do_length): Avoid warning.
48920
538faaa7
UD
48921 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48922
396a21b1
UD
489232011-10-14 Ulrich Drepper <drepper@gmail.com>
48924
cdf2901f
UD
48925 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48926
38ad40ce
UD
48927 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48928 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48929 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48930 * sysdeps/i386/i686/fpu/e_log.S: New file.
48931 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48932 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48933
396a21b1
UD
48934 * ctype/ctype.h: Add support for inlined isXXX functions when
48935 compiling C++ code.
48936
6b1f68c9
AS
489372011-10-14 Andreas Schwab <schwab@redhat.com>
48938
349290c0
AS
48939 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48940
6b1f68c9
AS
48941 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48942
f2282d42
RM
489432011-10-13 Roland McGrath <roland@hack.frob.com>
48944
48945 [BZ #13291]
48946 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48947
5298ffa8
AS
489482011-10-13 Andreas Schwab <schwab@redhat.com>
48949
714fad23
AS
48950 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48951 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48952 feraiseexcept.
48953
81dcc7fb
AS
48954 * sysdeps/x86_64/memrchr.S: Check for zero size.
48955
5298ffa8
AS
48956 * string/stratcliff.c: Add memrchr tests.
48957
951fbcec
LD
489582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48959
48960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48961 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48962 rawmemchr-sse2 rawmemchr-sse2-bsf.
48963 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48964 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48965 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48966 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48967 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48968 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48969 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48970 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48973 * string/memrchr.c (MEMRCHR): New macro.
48974
0ac5ae23
UD
489752011-10-12 Ulrich Drepper <drepper@gmail.com>
48976
48977 Add integration with gcc's -ffinite-math-only and optimize wrapper
48978 functions in libm.
48979 * Versions.def: Define GLIBC_2.15 version for libm.
48980 * math/Makefile (headers): Add bits/math-finite.h.
48981 * math/bits/math-finite.h: New file.
48982 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48983 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48984 * math/e_acoshl.c: Add __*_finite alias.
48985 * math/e_acosl.c: Likewise.
48986 * math/e_asinl.c: Likewise.
48987 * math/e_atan2l.c: Likewise.
48988 * math/e_atanhl.c: Likewise.
48989 * math/e_coshl.c: Likewise.
48990 * math/e_exp10.c: Likewise.
48991 * math/e_exp10f.c: Likewise.
48992 * math/e_exp10l.c: Likewise.
48993 * math/e_exp2l.c: Likewise.
48994 * math/e_fmodl.c: Likewise.
48995 * math/e_gammal_r.c: Likewise.
48996 * math/e_hypotl.c: Likewise.
48997 * math/e_j0l.c: Likewise.
48998 * math/e_j1l.c: Likewise.
48999 * math/e_jnl.c: Likewise.
49000 * math/e_lgammal_r.c: Likewise.
49001 * math/e_log10l.c: Likewise.
49002 * math/e_log2l.c: Likewise.
49003 * math/e_logl.c: Likewise.
49004 * math/e_powl.c: Likewise.
49005 * math/e_sinhl.c: Likewise.
49006 * math/e_sqrtl.c: Likewise.
49007 * math/e_scalb.c: Completely rewritten and optimized.
49008 * math/e_scalbf.c: Likewise.
49009 * math/e_scalbl.c: Likewise.
49010 * math/w_acos.c: Likewise.
49011 * math/w_acosf.c: Likewise.
49012 * math/w_acosl.c: Likewise.
49013 * math/w_acosh.c: Likewise.
49014 * math/w_acoshf.c: Likewise.
49015 * math/w_acoshl.c: Likewise.
49016 * math/w_asin.c: Likewise.
49017 * math/w_asinf.c: Likewise.
49018 * math/w_asinl.c: Likewise.
49019 * math/w_atan2.c: Likewise.
49020 * math/w_atan2f.c: Likewise.
49021 * math/w_atan2l.c: Likewise.
49022 * math/w_atanh.c: Likewise.
49023 * math/w_atanhf.c: Likewise.
49024 * math/w_atanhl.c: Likewise.
49025 * math/w_exp10.c: Likewise.
49026 * math/w_exp10f.c: Likewise.
49027 * math/w_exp10l.c: Likewise.
49028 * math/w_fmod.c: Likewise.
49029 * math/w_fmodf.c: Likewise.
49030 * math/w_fmodl.c: Likewise.
49031 * math/w_j0.c: Likewise.
49032 * math/w_j0f.c: Likewise.
49033 * math/w_j0l.c: Likewise.
49034 * math/w_j1.c: Likewise.
49035 * math/w_j1f.c: Likewise.
49036 * math/w_j1l.c: Likewise.
49037 * math/w_jn.c: Likewise.
49038 * math/w_jnf.c: Likewise.
49039 * math/w_log.c: Likewise.
49040 * math/w_logf.c: Likewise.
49041 * math/w_logl.c: Likewise.
49042 * math/w_log10.c: Likewise.
49043 * math/w_log10f.c: Likewise.
49044 * math/w_log10l.c: Likewise.
49045 * math/w_log2.c: Likewise.
49046 * math/w_log2f.c: Likewise.
49047 * math/w_log2l.c: Likewise.
49048 * math/w_pow.c: Likewise.
49049 * math/w_powf.c: Likewise.
49050 * math/w_powl.c: Likewise.
49051 * math/w_remainder.c: Likewise.
49052 * math/w_remainderf.c: Likewise.
49053 * math/w_remainderl.c: Likewise.
49054 * math/w_scalb.c: Likewise.
49055 * math/w_scalbf.c: Likewise.
49056 * math/w_scalbl.c: Likewise.
49057 * math/w_sqrt.c: Likewise.
49058 * math/w_sqrtf.c: Likewise.
49059 * math/w_sqrtl.c: Likewise.
49060 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49061 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49062 used.
49063 * math/math_private.h: Declare __kernel_standard_f.
49064 * math/w_cosh.c: Remove cruft and optimize a bit.
49065 * math/w_coshf.c: Likewise.
49066 * math/w_coshl.c: Likewise.
49067 * math/w_exp2.c: Likewise.
49068 * math/w_exp2f.c: Likewise.
49069 * math/w_exp2l.c: Likewise.
49070 * math/w_hypot.c: Likewise.
49071 * math/w_hypotf.c: Likewise.
49072 * math/w_hypotl.c: Likewise.
49073 * math/w_lgamma.c: Likewise.
49074 * math/w_lgamma_r.c: Likewise.
49075 * math/w_lgammaf.c: Likewise.
49076 * math/w_lgammaf_r.c: Likewise.
49077 * math/w_lgammal.c: Likewise.
49078 * math/w_lgammal_r.c: Likewise.
49079 * math/w_sinh.c: Likewise.
49080 * math/w_sinhf.c: Likewise.
49081 * math/w_sinhl.c: Likewise.
49082 * math/w_tgamma.c: Likewise.
49083 * math/w_tgammaf.c: Likewise.
49084 * math/w_tgammal.c: Likewise.
49085 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49087 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49088 Minor optimizations. Pretty printing. Remove cruft.
49089 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49090 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49091 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49092 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49093 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49094 * sysdeps/i386/fpu/e_asin.S: Likewise.
49095 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49096 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49097 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49098 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49099 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49100 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49101 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49102 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49103 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49104 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49105 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49106 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49107 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49108 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49109 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49110 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49111 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49112 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49113 * sysdeps/i386/fpu/e_log.S: Likewise.
49114 * sysdeps/i386/fpu/e_log10.S: Likewise.
49115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49116 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49117 * sysdeps/i386/fpu/e_log2.S: Likewise.
49118 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49119 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49120 * sysdeps/i386/fpu/e_logf.S: Likewise.
49121 * sysdeps/i386/fpu/e_logl.S: Likewise.
49122 * sysdeps/i386/fpu/e_pow.S: Likewise.
49123 * sysdeps/i386/fpu/e_powf.S: Likewise.
49124 * sysdeps/i386/fpu/e_powl.S: Likewise.
49125 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49126 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49127 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49128 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49129 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49130 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49131 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49132 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49133 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49134 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49135 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49136 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49137 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49138 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49139 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49140 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49141 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49142 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49143 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49144 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49145 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49146 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49147 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49148 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49150 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49151 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49152 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49154 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49155 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49156 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49157 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49158 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49159 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49160 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49161 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49162 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49163 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49164 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49165 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49166 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49167 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49168 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49169 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49170 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49171 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49172 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49173 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49174 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49175 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49176 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49179 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49180 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49184 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49189 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49190 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49191 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49192 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49193 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49194 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49197 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49204 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49205 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49214 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49215 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49217 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49219 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49222 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49225 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49226 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49227 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49228 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49229 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49230 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49231 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49232 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49233 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49234 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49235 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49236 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49237 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49238 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49239 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49240 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49242 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49244 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49245 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49246 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49247 (__isnanf): Likewise.
49248 (__isinf_ns): Likewise.
49249 (__isinf_nsf): Likewise.
49250 (__finite): Likewise.
49251 (__finitef): Likewise.
49252 (__ieee754_sqrt): Define as macro.
49253 (__ieee754_sqrtf): Define as macro.
49254 (__ieee754_sqrtl): Define as macro.
49255 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49256 inlined copy.
49257 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49258 __FINITE_MATH_ONLY__ consistent.
49259 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49260
12cc2fcd
AS
492612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49262
a843a204
AS
49263 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49264 of rawmemchr.
49265
12cc2fcd
AS
49266 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49267
c853acd5
UD
492682011-10-09 Ulrich Drepper <drepper@gmail.com>
49269
49270 * po/ja.po: Update from translation team.
49271
c658d255
RM
492722011-10-08 Roland McGrath <roland@hack.frob.com>
49273
110946e4
RM
49274 * locale/programs/locarchive.c (prepare_address_space): New function.
49275 (create_archive, enlarge_archive, open_archive): Use it.
49276
50604220
RM
49277 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49278 inside [SHARED], where it is used.
49279
c658d255
RM
49280 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49281
49282 * nss/getent.c (netgroup_keys): Remove unused variable.
49283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49284
6a621eb7
UD
492852011-10-08 Ulrich Drepper <drepper@gmail.com>
49286
7edb55ce
UD
49287 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49288 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49290 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49291 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49292 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49293 * math/Makefile (libm-calls): Add s_isinf_ns.
49294 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49295 * math/multc3.c: Likewise.
49296 * math/s_casin.c: Likewise.
49297 * math/s_casinf.c: Likewise.
49298 * math/s_casinl.c: Likewise.
49299 * math/s_ccos.c: Likewise.
49300 * math/s_ccosf.c: Likewise.
49301 * math/s_ccosl.c: Likewise.
49302 * math/s_ctan.c: Likewise.
49303 * math/s_ctanf.c: Likewise.
49304 * math/s_ctanh.c: Likewise.
49305 * math/s_ctanhf.c: Likewise.
49306 * math/s_ctanhl.c: Likewise.
49307 * math/s_ctanl.c: Likewise.
49308 * math/w_fmod.c: Likewise.
49309 * math/w_fmodf.c: Likewise.
49310 * math/w_fmodl.c: Likewise.
49311 * math/w_remainder.c: Likewise.
49312 * math/w_remainderf.c: Likewise.
49313 * math/w_remainderl.c: Likewise.
49314 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49315 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49316 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49318 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49319 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49320 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49321 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49322
187da0ae
UD
49323 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49324 of the number.
49325 * stdio-common/printf_fphex.c: Likewise.
49326 * stdio-common/printf_size.c: Likewise.
49327
9277c064
UD
49328 * math/e_exp10.c: Include math_private.h using <...> not "...".
49329 * math/e_exp10f.c: Likewise.
49330 * math/e_exp10l.c: Likewise.
49331 * math/e_exp2l.c: Likewise.
49332 * math/e_j0l.c: Likewise.
49333 * math/e_j1l.c: Likewise.
49334 * math/e_jnl.c: Likewise.
49335 * math/e_lgammal_r.c: Likewise.
49336 * math/e_rem_pio2l.c: Likewise.
49337 * math/e_scalb.c: Likewise.
49338 * math/e_scalbf.c: Likewise.
49339 * math/e_scalbl.c: Likewise.
49340 * math/k_cosl.c: Likewise.
49341 * math/k_sinl.c: Likewise.
49342 * math/k_tanl.c: Likewise.
49343 * math/s_cacoshf.c: Likewise.
49344 * math/s_catan.c: Likewise.
49345 * math/s_catanf.c: Likewise.
49346 * math/s_catanh.c: Likewise.
49347 * math/s_catanhf.c: Likewise.
49348 * math/s_catanhl.c: Likewise.
49349 * math/s_catanl.c: Likewise.
49350 * math/s_ccosh.c: Likewise.
49351 * math/s_ccoshf.c: Likewise.
49352 * math/s_ccoshl.c: Likewise.
49353 * math/s_cexp.c: Likewise.
49354 * math/s_cexpf.c: Likewise.
49355 * math/s_cexpl.c: Likewise.
49356 * math/s_clog.c: Likewise.
49357 * math/s_clog10.c: Likewise.
49358 * math/s_clog10f.c: Likewise.
49359 * math/s_clog10l.c: Likewise.
49360 * math/s_clogf.c: Likewise.
49361 * math/s_clogl.c: Likewise.
49362 * math/s_csin.c: Likewise.
49363 * math/s_csinf.c: Likewise.
49364 * math/s_csinh.c: Likewise.
49365 * math/s_csinhf.c: Likewise.
49366 * math/s_csinhl.c: Likewise.
49367 * math/s_csinl.c: Likewise.
49368 * math/s_csqrt.c: Likewise.
49369 * math/s_csqrtf.c: Likewise.
49370 * math/s_csqrtl.c: Likewise.
49371 * math/s_ctan.c: Likewise.
49372 * math/s_ctanf.c: Likewise.
49373 * math/s_ctanh.c: Likewise.
49374 * math/s_ctanhf.c: Likewise.
49375 * math/s_ctanhl.c: Likewise.
49376 * math/s_ctanl.c: Likewise.
49377 * math/s_ldexp.c: Likewise.
49378 * math/s_ldexpf.c: Likewise.
49379 * math/s_ldexpl.c: Likewise.
49380 * math/s_significand.c: Likewise.
49381 * math/s_significandf.c: Likewise.
49382 * math/s_significandl.c: Likewise.
49383 * math/w_acos.c: Likewise.
49384 * math/w_acosf.c: Likewise.
49385 * math/w_acosh.c: Likewise.
49386 * math/w_acoshf.c: Likewise.
49387 * math/w_acoshl.c: Likewise.
49388 * math/w_acosl.c: Likewise.
49389 * math/w_asin.c: Likewise.
49390 * math/w_asinf.c: Likewise.
49391 * math/w_asinl.c: Likewise.
49392 * math/w_atan2.c: Likewise.
49393 * math/w_atan2f.c: Likewise.
49394 * math/w_atan2l.c: Likewise.
49395 * math/w_atanh.c: Likewise.
49396 * math/w_atanhf.c: Likewise.
49397 * math/w_atanhl.c: Likewise.
49398 * math/w_cosh.c: Likewise.
49399 * math/w_coshf.c: Likewise.
49400 * math/w_coshl.c: Likewise.
49401 * math/w_dremf.c: Likewise.
49402 * math/w_exp10.c: Likewise.
49403 * math/w_exp10f.c: Likewise.
49404 * math/w_exp10l.c: Likewise.
49405 * math/w_exp2.c: Likewise.
49406 * math/w_exp2f.c: Likewise.
49407 * math/w_fmod.c: Likewise.
49408 * math/w_fmodf.c: Likewise.
49409 * math/w_fmodl.c: Likewise.
49410 * math/w_hypot.c: Likewise.
49411 * math/w_hypotf.c: Likewise.
49412 * math/w_hypotl.c: Likewise.
49413 * math/w_j0.c: Likewise.
49414 * math/w_j0f.c: Likewise.
49415 * math/w_j0l.c: Likewise.
49416 * math/w_j1.c: Likewise.
49417 * math/w_j1f.c: Likewise.
49418 * math/w_j1l.c: Likewise.
49419 * math/w_jn.c: Likewise.
49420 * math/w_jnf.c: Likewise.
49421 * math/w_jnl.c: Likewise.
49422 * math/w_lgamma.c: Likewise.
49423 * math/w_lgamma_r.c: Likewise.
49424 * math/w_lgammaf.c: Likewise.
49425 * math/w_lgammaf_r.c: Likewise.
49426 * math/w_lgammal.c: Likewise.
49427 * math/w_lgammal_r.c: Likewise.
49428 * math/w_log.c: Likewise.
49429 * math/w_log10.c: Likewise.
49430 * math/w_log10f.c: Likewise.
49431 * math/w_log10l.c: Likewise.
49432 * math/w_log2.c: Likewise.
49433 * math/w_log2f.c: Likewise.
49434 * math/w_log2l.c: Likewise.
49435 * math/w_logf.c: Likewise.
49436 * math/w_logl.c: Likewise.
49437 * math/w_pow.c: Likewise.
49438 * math/w_powf.c: Likewise.
49439 * math/w_powl.c: Likewise.
49440 * math/w_remainder.c: Likewise.
49441 * math/w_remainderf.c: Likewise.
49442 * math/w_remainderl.c: Likewise.
49443 * math/w_scalb.c: Likewise.
49444 * math/w_scalbf.c: Likewise.
49445 * math/w_scalbl.c: Likewise.
49446 * math/w_sinh.c: Likewise.
49447 * math/w_sinhf.c: Likewise.
49448 * math/w_sinhl.c: Likewise.
49449 * math/w_sqrt.c: Likewise.
49450 * math/w_sqrtf.c: Likewise.
49451 * math/w_sqrtl.c: Likewise.
49452 * math/w_tgamma.c: Likewise.
49453 * math/w_tgammaf.c: Likewise.
49454 * math/w_tgammal.c: Likewise.
49455
6a621eb7
UD
49456 * po/ja.po: Update from translation team.
49457
bf582445
AJ
494582011-09-29 Andreas Jaeger <aj@suse.de>
49459
f9efbf3a
AJ
49460 [BZ #13179]
49461 * sunrpc/netname.c (netname2host): Fix logic.
49462
bf582445
AJ
49463 [BZ #6779]
49464 [BZ #6783]
49465 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49466 correctly.
49467 * math/w_remainder.c (__remainder): Likewise.
49468 * math/w_remainderf.c (__remainderf): Likewise.
49469 * math/libm-test.inc (remainder_test): Add test cases.
49470
48693bea
AK
494712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49472
49473 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
49474 sdiv_qrnnd.
49475
42622229
LD
494762011-10-07 Ulrich Drepper <drepper@gmail.com>
49477
49478 * string/test-memcmp.c: Avoid unncessary #defines.
49479 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49480
093ecf92
LD
494812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49482
49483 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49484 Use new sse2 version for core i3 - i7 as it's faster
49485 than sse42 version.
49486 (bit_Prefer_PMINUB_for_stringop): New.
49487 * sysdeps/x86_64/rawmemchr.S: Update.
49488 Replace with faster SSE2 version.
49489 * sysdeps/x86_64/memrchr.S: New file.
49490 * sysdeps/x86_64/memchr.S: Update.
49491 Replace with faster SSE2 version.
49492
fde56e5c
MP
494932011-09-12 Marek Polacek <mpolacek@redhat.com>
49494
49495 * elf/dl-load.c (lose): Add cast to avoid warning.
49496
21fd49a9
UD
494972011-10-07 Ulrich Drepper <drepper@gmail.com>
49498
5a06e643
UD
49499 * po/ca.po: Update from translation team.
49500
684ae515
UD
49501 * inet/getnetgrent_r.c: Hook up nscd.
49502 * nscd/Makefile (routines): Add nscd_netgroup.
49503 (nscd-modules): Add netgroupcache.
49504 (CFLAGS-netgroupcache.c): Define.
49505 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49506 (cache_search): Add const to second parameter.
49507 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49508 INNETGR.
49509 (dbs): Add netgrdb entry.
49510 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49511 (verify_persistent_db): Handle netgrdb.
49512 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49513 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49514 GETFDNETGR.
49515 (netgroup_response_header): Define.
49516 (innetgroup_response_header): Define.
49517 (datahead): Add netgroup_response_header and innetgroup_response_header
49518 elements.
49519 * nscd/nscd.conf: Add entries for netgroup cache.
49520 * nscd/nscd.h (dbtype): Add netgrdb.
49521 (_PATH_NSCD_NETGROUP_DB): Define.
49522 (netgroup_iov_disabled): Declare.
49523 (xmalloc, xcalloc, xrealloc): Move declarations here.
49524 (cache_search): Adjust prototype.
49525 Add netgroup-related prototypes.
49526 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49527 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49528 (__nscd_innetgr): Declare.
49529 * nscd/selinux.c (perms): Use access_vector_t as element type and
49530 add netgroup-related initializers.
49531 * nscd/netgroupcache.c: New file.
49532 * nscd/nscd_netgroup.c: New file.
49533 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49534 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49535 For four parameters use innetgr.
49536 * nss/nss_files/files-init.c: Add definition and callback for netgr.
49537 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49538 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49539 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49540
21fd49a9
UD
49541 * nscd/connections.c (register_traced_file): Don't register file
49542 for disabled databases.
49543
054c0457
UD
495442011-10-06 Ulrich Drepper <drepper@gmail.com>
49545
32b63198
UD
49546 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49547
054c0457
UD
49548 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49549 from tree and freeing node.
49550
64031225
JO
495512011-09-25 Jiri Olsa <jolsa@redhat.com>
49552
49553 * nss/nsswitch.c (__nss_database_lookup): Handle
49554 nss_parse_service_list out of memory case.
49555
0490345c
JO
495562011-09-15 Jiri Olsa <jolsa@redhat.com>
49557
49558 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49559 out of memory case.
49560
3a62d00d
AS
495612011-10-04 Andreas Schwab <schwab@redhat.com>
49562
49563 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49564 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49565 pass it down.
49566 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49567 elf_machine_rela, elf_machine_lazy_rel.
49568 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49569 (ELF_DYNAMIC_DO_REL): Likewise.
49570 (ELF_DYNAMIC_DO_RELA): Likewise.
49571 (ELF_DYNAMIC_RELOCATE): Likewise.
49572 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49573 to ELF_DYNAMIC_DO_REL.
49574 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49575 (dl_main): In trace mode always set __RTLD_NOIFUNC.
49576 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49577 elf_machine_rela.
49578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49579 skip_ifunc, don't call ifunc function if non-zero.
49580 (elf_machine_rela): Likewise.
49581 (elf_machine_lazy_rel): Likewise.
49582 (elf_machine_lazy_rela): Likewise.
49583 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49584 (elf_machine_lazy_rel): Likewise.
49585 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49586 Likewise.
49587 (elf_machine_lazy_rel): Likewise.
49588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49589 Likewise.
49590 (elf_machine_lazy_rel): Likewise.
49591 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49592 (elf_machine_lazy_rel): Likewise.
49593 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49594 (elf_machine_lazy_rel): Likewise.
49595 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49596 (elf_machine_lazy_rel): Likewise.
49597 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49598 (elf_machine_lazy_rel): Likewise.
49599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49600 (elf_machine_lazy_rel): Likewise.
49601 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49602 (elf_machine_lazy_rel): Likewise.
49603
68577918
UD
496042011-09-28 Ulrich Drepper <drepper@gmail.com>
49605
49606 * nss/nss_files/files-init.c (_nss_files_init): Use static
49607 initialization for all the *_traced_file variables.
49608
68822d74
AS
496092011-09-28 Andreas Schwab <schwab@redhat.com>
49610
49611 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49612
2056100b
RM
496132011-09-27 Roland McGrath <roland@hack.frob.com>
49614
49615 [BZ #13226]
49616 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49617
32c76b63
AS
496182011-09-27 Andreas Schwab <schwab@redhat.com>
49619
49620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49621 Reread the line before reparsing it.
49622
bf972c9d
AS
496232011-09-26 Andreas Schwab <schwab@redhat.com>
49624
49625 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49626
e057a1b5
JM
496272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
49628 Maxim Kuvyrkov <maxim@codesourcery.com>
49629 Joseph Myers <joseph@codesourcery.com>
49630
49631 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49632 if needed for __stack_chk_guard.
49633
bc7e1c36
RM
496342011-09-19 Roland McGrath <roland@hack.frob.com>
49635
ecb1482f
RM
49636 * sysdeps/posix/spawni.c (script_execute): Always define it.
49637 It will be optimized away if unused.
49638 (maybe_script_execute): New function.
49639 (__spawni): Call it.
49640
bc7e1c36
RM
49641 * Makerules: Don't include tls.make.
49642 (config-tls): Always set to thread.
49643 * tls.make.c: File removed.
49644
1c3b002b
MF
496452011-09-19 Mike Frysinger <vapier@gentoo.org>
49646
49647 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49648 * config.make.in (CPPFLAGS-config): New substituted variable.
49649
2840865d
UD
496502011-09-15 Ulrich Drepper <drepper@gmail.com>
49651
88738eb6
UD
49652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49653
cbf645a6 49654 [BZ #13192]
2840865d
UD
49655 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49656 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49657
b402e91a
RM
496582011-09-15 Roland McGrath <roland@hack.frob.com>
49659
49660 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49661 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49662 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49663 (CALL_FAIL): Likewise.
49664 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49665 (CALL_FAIL): Macro removed.
49666 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49667
4c1a1f71
UD
496682011-09-15 Ulrich Drepper <drepper@gmail.com>
49669
49670 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49671 for __FINITE_MATH_ONLY__ == 1.
49672
edc121be
AS
496732011-09-15 Andreas Schwab <schwab@redhat.com>
49674
49675 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49676 __ieee754_sqrt instead of sqrt.
49677 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49678 __ieee754_sqrtf instead of sqrtf.
49679 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49680 __floorf instead of floorf.
49681 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49682 __floorf, __truncf instead of floorf, truncf.
49683
cd205654
UD
496842011-09-14 Ulrich Drepper <drepper@gmail.com>
49685
ee4d0315
UD
49686 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49687
cd205654
UD
49688 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49689 __extern_always_inline.
49690 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49691 32-bit.
49692
48b67d71
AS
496932011-09-14 Andreas Schwab <schwab@redhat.com>
49694
49695 * elf/rtld.c (dl_main): Also relocate in dependency order when
49696 doing symbol dependency testing.
49697
1ae12c75
AS
496982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
49699
49700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49701 Always define `refsym'.
49702
995a80df
AS
497032011-09-13 Andreas Schwab <schwab@redhat.com>
49704
e529793b
AS
49705 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49706 (__FD_ELT): Renamed from __FDELT.
49707 * misc/bits/select2.h (__FD_ELT): Likewise.
49708 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49709 __FD_MASK instead of __FDELT, __FDMASK.
49710 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49711 Likewise.
49712 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49713 Likewise.
49714
52d4fef8
AS
49715 * elf/Makefile (gen-ldd): Fix pattern.
49716
995a80df
AS
49717 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49718 (init_tls): Likewise.
49719
8682f8b0
UD
497202011-09-12 Ulrich Drepper <drepper@gmail.com>
49721
49722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49723
de82006d
AS
497242011-09-12 Andreas Schwab <schwab@redhat.com>
49725
a7c8e6a1
AS
49726 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49727 `struct cmsghdr *' instead of `void *'.
49728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49729 Likewise.
49730
0f31fe77
AS
497312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
49732
49733 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49734 if non-absolute.
49735 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49736 ldd_rewrite_script.
0f31fe77 49737
32b4c839
UD
497382011-09-11 Ulrich Drepper <drepper@gmail.com>
49739
83cd1420
UD
49740 * configure.in: Remove --with-tls option.
49741 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49742 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49743 out in case it is missing.
49744 * sysdeps/ia64/elf/configure.in: Likewise.
49745 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49746 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49747 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49748 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49749 * sysdeps/sh/elf/configure.in: Likewise.
49750 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49751 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49752 * sysdeps/x86_64/elf/configure.in: Likewise.
49753 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49754 * sysdeps/mach/hurd/tls.h: Likewise.
49755
633f745d
UD
49756 [BZ #13067]
49757 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49758
f318beb8
UD
49759 [BZ #13090]
49760 * configure.in: Fix use of AC_INIT.
49761
32b4c839
UD
49762 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49763
3ce1f295
UD
497642011-09-10 Ulrich Drepper <drepper@gmail.com>
49765
bb016596
UD
49766 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49767 __set_errno.
8e58439c
UD
49768 * malloc/hooks.c: Likewise.
49769
aebae053 49770 [BZ #11929]
02d46fc4
UD
49771 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
49772 variables statically.
49773 (narenas): Initialize.
49774 (list_lock): Initialize.
bb016596
UD
49775 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
49776 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
49777 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49778 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
49779 Add initializers to main_arena and mp_.
49780 (malloc_state): Remove pagesize member. Change all users to use
49781 GLRO(dl_pagesize).
49782
49783 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49784 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
49785 is always initialized.
49786
22a89187
UD
49787 * malloc/malloc.c: Removed unused configurations and dead code.
49788 * malloc/arena.c: Likewise.
49789 * malloc/hooks.c: Likewise.
02d46fc4 49790 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 49791
d063d164
UD
49792 * include/tls.h: Removed. USE___THREAD must always be defined.
49793 * bits/libc-tsd.h: Don't handle !USE___THREAD.
49794 * elf/dl-libc.c: Likewise.
49795 * elf/dl-tsd.c: Likewise.
49796 * include/errno.h: Likewise.
49797 * include/netdb.h: Likewise.
49798 * include/resolv.h: Likewise.
49799 * inet/herrno-loc.c: Likewise.
49800 * inet/herrno.c: Likewise.
49801 * malloc/arena.c: Likewise.
49802 * malloc/hooks.c: Likewise.
49803 * malloc/malloc.c: Likewise.
49804 * resolv/res-state.c: Likewise.
49805 * resolv/res_libc.c: Likewise.
49806 * sysdeps/i386/dl-machine.h: Likewise.
49807 * sysdeps/ia64/dl-machine.h: Likewise.
49808 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49809 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49810 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49811 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49812 * sysdeps/sh/dl-machine.h: Likewise.
49813 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49814 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49815 * sysdeps/unix/i386/sysdep.S: Likewise.
49816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49817 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49822 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49825 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49826 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49827 * sysdeps/x86_64/dl-machine.h: Likewise.
49828 * tls.make.c: Likewise.
49829
3ce1f295
UD
49830 * configure.in: Remove --with-__thread option. Make tests for
49831 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49832 tls_model attribute fail if no support is available. Remove
49833 USE_IN_LIBIO.
49834 * Makeconfig: Adjust for dropped configure option. All features are
49835 now mandatory.
49836 * Makerules: Likewise.
49837 * Versions.def: Likewise.
49838 * argp/argp-fmtstream.c: Likewise.
49839 * argp/argp-fmtstream.h: Likewise.
49840 * argp/argp-help.c: Likewise.
49841 * assert/assert.c: Likewise.
49842 * config.h.in: Likewise.
49843 * config.make.in: Likewise.
49844 * configure: Likewise.
49845 * configure.in: Likewise.
49846 * csu/Versions: Likewise.
49847 * csu/init.c: Likewise.
49848 * elf/tst-audit2.c: Likewise.
49849 * elf/tst-tls10.c: Likewise.
49850 * elf/tst-tls10.h: Likewise.
49851 * elf/tst-tls11.c: Likewise.
49852 * elf/tst-tls12.c: Likewise.
49853 * elf/tst-tls14.c: Likewise.
49854 * elf/tst-tlsmod11.c: Likewise.
49855 * elf/tst-tlsmod12.c: Likewise.
49856 * elf/tst-tlsmod13.c: Likewise.
49857 * elf/tst-tlsmod13a.c: Likewise.
49858 * elf/tst-tlsmod14a.c: Likewise.
49859 * elf/tst-tlsmod15b.c: Likewise.
49860 * elf/tst-tlsmod16a.c: Likewise.
49861 * elf/tst-tlsmod16b.c: Likewise.
49862 * elf/tst-tlsmod7.c: Likewise.
49863 * elf/tst-tlsmod8.c: Likewise.
49864 * elf/tst-tlsmod9.c: Likewise.
49865 * gmon/gmon.c: Likewise.
49866 * grp/fgetgrent_r.c: Likewise.
49867 * grp/putgrent.c: Likewise.
49868 * hurd/fopenport.c: Likewise.
49869 * include/libc-symbols.h: Likewise.
49870 * include/tls.h: Likewise.
49871 * intl/gettextP.h: Likewise.
49872 * intl/loadinfo.h: Likewise.
49873 * locale/global-locale.c: Likewise.
49874 * locale/localeinfo.h: Likewise.
49875 * mach/devstream.c: Likewise.
49876 * malloc/arena.c: Likewise.
49877 * malloc/set-freeres.c: Likewise.
49878 * misc/err.c: Likewise.
49879 * misc/getttyent.c: Likewise.
49880 * misc/mntent_r.c: Likewise.
49881 * posix/getopt.c: Likewise.
49882 * posix/wordexp.c: Likewise.
49883 * pwd/fgetpwent_r.c: Likewise.
49884 * resolv/Versions: Likewise.
49885 * resolv/res_hconf.c: Likewise.
49886 * shadow/fgetspent_r.c: Likewise.
49887 * shadow/putspent.c: Likewise.
49888 * stdio-common/printf_fphex.c: Likewise.
49889 * stdio-common/tmpfile.c: Likewise.
49890 * stdlib/abort.c: Likewise.
49891 * stdlib/fmtmsg.c: Likewise.
49892 * sunrpc/auth_unix.c: Likewise.
49893 * sunrpc/clnt_perr.c: Likewise.
49894 * sunrpc/clnt_tcp.c: Likewise.
49895 * sunrpc/clnt_udp.c: Likewise.
49896 * sunrpc/clnt_unix.c: Likewise.
49897 * sunrpc/openchild.c: Likewise.
49898 * sunrpc/svc_simple.c: Likewise.
49899 * sunrpc/svc_tcp.c: Likewise.
49900 * sunrpc/svc_udp.c: Likewise.
49901 * sunrpc/svc_unix.c: Likewise.
49902 * sunrpc/xdr.c: Likewise.
49903 * sunrpc/xdr_array.c: Likewise.
49904 * sunrpc/xdr_rec.c: Likewise.
49905 * sunrpc/xdr_ref.c: Likewise.
49906 * sunrpc/xdr_stdio.c: Likewise.
49907
1248c1c4
PB
499082011-09-09 Ulrich Drepper <drepper@gmail.com>
49909
49910 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49911
499122011-07-03 Andreas Jaeger <aj@suse.de>
49913
49914 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49915 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49916 regenerate with gen-libm-tests.pl.
49917
499182010-05-12 Petr Baudis <pasky@suse.cz>
49919
49920 [BZ #11589]
49921 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49922 around j0() zero points by switching to j1().
49923 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49924 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49927
f22e1074
UD
499282011-09-09 Ulrich Drepper <drepper@gmail.com>
49929
f19009c1
UD
49930 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49931 instead of 0.
49932 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49933 instead of 0.
f19009c1
UD
49934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49935 Patch in part by Pavel Roskin <proski@gnu.org>.
49936
3f8cc204
UD
49937 [BZ #13138]
49938 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49939 realloc.
49940 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49941 Free memory block if necessary.
49942
f22e1074
UD
49943 [BZ #12847]
49944 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49945 be NULL. Don't lock in this case.
49946
0a2349f9
RM
499472011-09-09 Roland McGrath <roland@hack.frob.com>
49948
49949 * elf/elf.h (ELFOSABI_GNU): New macro.
49950 (ELFOSABI_LINUX): Define to that.
49951
f3cdd467
DZ
499522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49953
49954 * string/strncat.c (strncat): Undef the symbol in case it has been
49955 defined in bits/string.h.
49956
74718d13
UD
499572011-09-09 Ulrich Drepper <drepper@gmail.com>
49958
633e9e0f
UD
49959 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49960
0a2349f9 49961 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49962 link map.
49963
f9924780
AJ
499642011-08-17 Andreas Jaeger <aj@suse.de>
49965
49966 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49967
7f5517aa
PP
499682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49969 Ian Lance Taylor <iant@google.com>
49970
49971 * math/libm-test.inc (lround_test): New testcase.
49972 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49973
762011fe
UD
499742011-09-08 Ulrich Drepper <drepper@gmail.com>
49975
92963737
UD
49976 * Makefile: Remove support for automatic cvs check-ins.
49977 * Makerules: Likewise.
49978 * config.make.in: Likewise.
49979 * configure.in: Likewise.
49980 * intl/Makefile: Likewise.
49981 * locale/Makefile: Likewise.
49982 * po/Makefile: Likewise.
49983 * posix/Makefile: Likewise.
49984 * sysdeps/gnu/Makefile: Likewise.
49985 * sysdeps/mach/hurd/Makefile: Likewise.
49986 * sysdeps/sparc/sparc32/Makefile: Likewise.
49987
b0727fd8
JS
49988 [BZ #13118]
49989 * posix/Makefile (bug-regex32-ENV): Define.
49990 Patch by John Stanley <jpsinthemix@verizon.net>.
49991
a0f33f99
UD
49992 * misc/Makefile (headers): Add bits/select2.h.
49993 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49994 * misc/bits/select2.h: New file.
49995 * include/bits/select2.h: New file.
49996 * debug/Makefile (routines): Add fdelt_chk.
49997 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49998 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49999 FD_ISSET.
50000 * debug/fdelt_chk.c: New file.
50001
762011fe
UD
50002 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50003 * wcsmbs/test-wmemcmp.c: Likewise.
50004 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 50005 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
50006
500072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50008
50009 * string/Makefile (strop-tests): Add memcmp.
50010 * string/test-wmemcmp.c: New file.
50011 * string/test-memcmp.c: Add wmemcmp support.
50012
7f513ec8
RM
500132011-09-08 Roland McGrath <roland@hack.frob.com>
50014
0442afb4
RM
50015 [BZ #13153]
50016 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50017 2011-07-19 change.
50018
7f513ec8
RM
50019 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50020 garbage value in a __mach_port_mod_refs call in the cases of the
50021 task-self and thread-self ports.
50022
a12b2239
ST
500232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50024
50025 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50026
610f9ab4
AS
500272011-09-08 Andreas Schwab <schwab@redhat.com>
50028
7f513ec8 50029 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 50030
48882a1a
LD
500312011-09-07 Ulrich Drepper <drepper@gmail.com>
50032
b49865be
UD
50033 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50034
fdc86bc9
UD
50035 * elf/dl-libc.c (dlerror_run): Pass back error code from
50036 dl_catch_error.
50037
c966526a
UD
50038 [BZ #13123]
50039 * elf/dl-load.c (lose): Free l_origin if it is valid.
50040
48882a1a
LD
50041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50042 names.
50043 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50044 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50045 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50046 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50047 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50048 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50049
77a2a8b4
AZ
500502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50051
50052 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50053 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50054 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50055 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50056 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50057 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50058 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50059 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50060 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50061 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50062
24f579d8
AM
500632011-08-15 Alan Modra <amodra@gmail.com>
50064
50065 [BZ #13092]
50066 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50067 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50068 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50069 ppc_mcount to static-only-routines.
50070 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50071 __mcount_internal.
50072 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50073 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50074
3d4837df
UD
500752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50076
50077 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50078 for finite and infinity parameters.
50079
22700377
WS
500802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50081
50082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50083 and add nop instructions for throughput optimization.
50084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50085
5025581e
WS
500862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50087
50088 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50089 aligned copy for power7 with vector-scalar instructions.
50090 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50091
08a300c9
L
500922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50093
50094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50095 AVX check.
50096
59178ef9
AS
500972011-09-07 Andreas Schwab <schwab@redhat.com>
50098
50099 [BZ #13144]
50100 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50101 last change.
50102
e38ba7ab
UD
501032011-09-07 Ulrich Drepper <drepper@gmail.com>
50104
50105 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50106 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50107 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50108 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50109 clock_gettime.
50110
d53a73ac
UD
501112011-09-06 Ulrich Drepper <drepper@gmail.com>
50112
fc8bffcc
UD
50113 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50114 Forgot to demangle the pointer.
50115
ceaa0c5d
UD
50116 * sysdeps/i386/sysdep.h: Define atom_text_section.
50117 * sysdeps/x86_64/sysdep.h: Likewise.
50118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50119 section with atom_text_section.
50120 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50122 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50124 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50125
a77d3c17
UD
50126 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50128 already be defined. Change to take two parameters and don't assign
50129 result to variable. Adjust all users.
50130 Define INTERNAL_GETTIME if not already defined.
50131 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50132 call.
50133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50134 HAVE_CLOCK_GETTIME_VSYSCALL.
50135 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50136
d53a73ac
UD
50137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50138 gettimeofday vsyscall, just use time.
50139
a8f84144
AS
501402011-09-06 Andreas Schwab <schwab@redhat.com>
50141
50142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50143 <errno.h>.
50144
ef606249
UD
501452011-09-06 Ulrich Drepper <drepper@gmail.com>
50146
50147 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50148 syscall on x86-64.
50149 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50150 syscall.
50151 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50152 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50153 syscall if possible.
50154
6585cb60
UD
501552011-09-05 Ulrich Drepper <drepper@gmail.com>
50156
50157 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50158 e_ident. Don't pass to find_mapsXX.
50159 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50160
a5f524e4
LD
501612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50162
50163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50164 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50165 * sysdeps/x86_64/multiarch/strchr.S: Update.
50166 Check bit_slow_BSF bit.
50167 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50168 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50169 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50170
554881ef
UD
501712011-09-05 Ulrich Drepper <drepper@gmail.com>
50172
d96de963
UD
50173 [BZ #13134]
50174 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50175 before glibc 2.15.
50176 (tryshell): Define.
50177 (__spawni): Change last parameter to be flag. Test
50178 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50179 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50180 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50181 * posix/spawni.c: Likewise.
50182 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50183 * posix/spawnp.c: Likewise. Change normal version to use
50184 SPAWN_XFLAGS_USE_PATH.
50185 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50186 SPAWN_XFLAGS_TRY_SHELL.
50187
d48e5868
UD
50188 [BZ #13150]
50189 * posix/glob.h: Remove gcc 1.x support.
50190
554881ef
UD
50191 [BZ #13068]
50192 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50193
693fb948
LD
501942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50195
50196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50197 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50198 strrchr-sse2-bsf
50199 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50200 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50201 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50203 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50204 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50205
1b48c537
UD
502062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50207
49d42c37
UD
50208 * sysdeps/x86_64/wcscmp.S: New file.
50209
1b48c537
UD
50210 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50211 wcscmp-c wcscmp-sse2
50212 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50213 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50214 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50215 * wcsmbs/wcscmp.c: Allow renaming.
50216
15c95c5d
DM
502172011-09-05 David S. Miller <davem@davemloft.net>
50218
50219 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50220 stack slot, rather than the struct return pointer slot.
50221 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50222 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50224 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50225
2f0ad8f3
UD
502262011-09-05 Ulrich Drepper <drepper@gmail.com>
50227
d88ae418
UD
50228 * po/ja.po: Update from translation team.
50229
2f0ad8f3
UD
50230 [BZ #13144]
50231 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50232 kernel in 64-bit binaries.
50233
5f4318d1
DM
502342011-09-01 David S. Miller <davem@davemloft.net>
50235
50236 * elf/elf.h (HWCAP_SPARC_*): Move to..
50237 * sysdeps/sparc/sysdep.h: this new file and add new values.
50238 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50239 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50240 _DL_HWCAP_COUNT to 24.
50241 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50242 entries.
50243 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50244 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50245 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50247 instead of magic constants.
50248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50249
3ba57516
DM
502502011-08-31 David S. Miller <davem@davemloft.net>
50251
50252 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50254 Reimplement to do errno handling inline.
50255 (SYSCALL_ERROR_HANDLER): New macro.
50256 (__SYSCALL_STRING): Do not do errno handling in asm.
50257 (__CLONE_SYSCALL_STRING): Delete.
50258 (__INTERNAL_SYSCALL_STRING): Delete.
50259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50260 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50261 (PSEUDO): Reimplement to do errno handling inline.
50262 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50263 (SYSCALL_ERROR_HANDLER): New macro.
50264 (__SYSCALL_STRING): Do not do errno handling in asm.
50265 (__CLONE_SYSCALL_STRING): Delete.
50266 (__INTERNAL_SYSCALL_STRING): Delete.
50267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50268 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50269 i386.
50270 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50271 (inline_syscall*): Add 'err' argument.
50272 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50273 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50274 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50275 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50276
50277 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50278 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50279
2bc17433
AS
502802011-08-30 Andreas Schwab <schwab@redhat.com>
50281
50282 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50283
fbeb5f4d
JO
502842011-08-29 Jiri Olsa <jolsa@redhat.com>
50285
50286 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50287 directive.
50288
ad69cc26
DM
502892011-08-24 David S. Miller <davem@davemloft.net>
50290
50291 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50292
39dd69df
AS
502932011-08-24 Andreas Schwab <schwab@redhat.com>
50294
50295 * elf/Makefile: Add rules to build and run unload8 test.
50296 * elf/unload8.c: New file.
50297 * elf/unload8mod1.c: New file.
50298 * elf/unload8mod1x.c: New file.
50299 * elf/unload8mod2.c: New file.
50300 * elf/unload8mod3.c: New file.
50301
50302 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50303 it wasn't used.
50304
2c0b250a
DM
503052011-08-23 David S. Miller <davem@davemloft.net>
50306
50307 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50308 subtract stack bias.
50309 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50310 %sp not %fp in calculations.
50311 (_JMPBUF_UNWINDS_ADJ): Likewise.
50312
22044b48
DM
50313 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50314 (aio_suspend): Call it to force an exception region around the
50315 AIO_MISC_WAIT() invocation.
50316
2cae4995
AS
503172011-08-23 Andreas Schwab <schwab@redhat.com>
50318
50319 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50320 backslash.
50321
873a772e
AJ
503222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50323
50324 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50325 protection macro.
50326 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50327 and <dl-machine.h>.
50328 (Elf64_FuncDesc): Remove.
50329
25ad0df1
DM
503302011-08-22 David S. Miller <davem@davemloft.net>
50331
50332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50333 sigaltstack check, add missing cfi directives.
50334 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50335 missing cfi directives, and sigaltstack handling.
50336
e888bcbe
AS
503372011-08-16 Andreas Schwab <schwab@redhat.com>
50338
50339 [BZ #11724]
50340 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50341 object is seen twice.
50342 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50343
50344 * elf/Makefile (distribute): Add tst-initorder2.c.
50345 (tests): Add tst-initorder2.
50346 (modules-names): Add tst-initorder2a tst-initorder2b
50347 tst-initorder2c tst-initorder2d. Add rules to build them.
50348 ($(objpfx)tst-initorder2.out): New rule.
50349 * elf/tst-initorder2.c: New file.
50350 * elf/tst-initorder2.exp: New file.
50351
87162f46
AS
503522011-08-22 Andreas Schwab <schwab@redhat.com>
50353
70538b7f
AS
50354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50355
f55ffe58
AS
50356 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50357 dependencies back to end of function.
50358
87162f46
AS
50359 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50360 $(elfobjdir)/ld.so.
50361
91b392a4
UD
503622011-08-21 Ulrich Drepper <drepper@gmail.com>
50363
50364 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50365 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50367 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50368 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50369 of __vdso_gettimeofday.
50370 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50371 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50372 attribute_hidden.
50373 (_libc_vdso_platform_setup): Remove initialization of
50374 __vdso_gettimeofday and __vdso_time.
50375
5c43483f
UD
503762011-08-20 Ulrich Drepper <drepper@gmail.com>
50377
775a77e7
UD
50378 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50379 and fgetc_unlocked.
50380 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50381 getc_unlocked.
89f447ed 50382
49c74ba9
UD
50383 * elf/dl-open.c (add_to_global): Report additions to the global scope
50384 for LD_DEBUG=scopes.
50385 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 50386 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 50387
5c43483f
UD
50388 [BZ #13114]
50389 * stdio-common/Makefile (tests): Add bug24.
50390 * stdio-common/bug24.c: New file.
50391
a101b025
AJ
503922011-08-19 Andreas Jaeger <aj@suse.de>
50393
50394 [BZ #13114]
50395 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50396 non-existant file when using close-on-exec mode.
50397
c88f1766
UD
503982011-08-20 Ulrich Drepper <drepper@gmail.com>
50399
0276a718
UD
50400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50401 the very first instruction.
50402
c88f1766
UD
50403 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50404 the CFI state in the end.
50405 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50406 inclusion of dl-trampoline.h.
50407 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50408
51ccffa0
AS
504092011-08-19 Andreas Schwab <schwab@redhat.com>
50410
94d7165f
AS
50411 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50412 expectations for long double.
50413
51ccffa0
AS
50414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50415 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50416
fd708658 504172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
50418
50419 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50420 artificual limit depends upon the system page size.
50421
44f0a71e
UD
504222011-08-17 Ulrich Drepper <drepper@gmail.com>
50423
50424 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50425 * resolv/Makefile: Define CFLAGS-libresolv.
50426
8de79a24
AS
504272011-08-17 Andreas Schwab <schwab@redhat.com>
50428
50429 * nss/makedb.c (compute_tables): Make variables used in nested
50430 function static.
50431
27724598
UD
504322011-08-17 Ulrich Drepper <drepper@gmail.com>
50433
c5305d88
UD
50434 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50435 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50436 if buffer was too small.
50437
27724598
UD
50438 * elf/pldd.c (main): Attach to all threads in the process.
50439 Rewrite /proc handling to use *at functions.
50440
076fe015
UD
504412011-08-16 Ulrich Drepper <drepper@gmail.com>
50442
174baab3
UD
50443 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50444 specifies first scope to show.
50445 (dl_open_worker): Update callers. Move printing scope of new
50446 object to before the relocation.
44f0a71e 50447 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
50448 * sysdeps/generic/ldsodefs.h: Update declaration.
50449
076fe015
UD
50450 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50451 string for the scope number.
50452
a60df2c3
UD
504532011-08-14 Ulrich Drepper <drepper@gmail.com>
50454
50455 * nscd/servicescache.c (cache_addserv): Make sure written is always
50456 initialized.
50457
5e4287d1
RM
504582011-08-14 Roland McGrath <roland@hack.frob.com>
50459
85ae0589
RM
50460 * sysdeps/i386/i486/bits/atomic.h
50461 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50462 statement expression, so as to suppress "set but not used" warning.
50463 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50464
69f63097
RM
50465 * string/strncat.c (STRNCAT): Use prototype definition.
50466
675456ef
RM
50467 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50468 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50469 -Iprograms here.
50470 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50471 (localedef-modules): Add localedef.
50472 (locale-modules): Add locale.
50473
5e4287d1
RM
50474 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50475 * elf/rtld.c (dl_main): Invert order of assignment in last change,
50476 to avoid a warning.
50477
9c96ff23
DM
504782011-08-14 David S. Miller <davem@davemloft.net>
50479
50480 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50481 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50482
f9ddf089
UD
504832011-08-13 Ulrich Drepper <drepper@gmail.com>
50484
44f0a71e 50485 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
50486 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50487 * elf/rtld.c (dl_main): Set l_name of vDSO.
50488 Call _dl_show_scope when DL_DEBUG_SCOPES.
50489 (process_dl_debug): Recognize scopes flag and also set it for all.
50490 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50491 Declare _dl_show_scope.
50492
1dc27704
UD
50493 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50494 (do_dlopen): Pass caller_dlopen to dl_open.
50495 (__libc_dlopen_mode): Initialize caller_dlopen.
50496
f9ddf089
UD
50497 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50498 of libc. Make tolower call locale-independent. Optimize a bit by
50499 using isdigit instead of isalnum.
50500 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50501
9ac533d3
UD
505022011-08-12 Ulrich Drepper <drepper@gmail.com>
50503
50504 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50505 was a dependency or dynamically loaded.
50506
89edf2e9
UD
505072011-08-11 Ulrich Drepper <drepper@gmail.com>
50508
8e999d29
UD
50509 * intl/l10nflist.c: Allow architecture-specific pop function.
50510 * sysdeps/x86_64/l10nflist.c: New file.
50511
89edf2e9
UD
50512 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50513 classification.
50514
14d96785
AS
505152011-08-10 Andreas Schwab <schwab@redhat.com>
50516
50517 * include/dirent.h: Add libc_hidden_proto for scandirat and
50518 scandirat64. Don't declare __scandirat64.
50519 * dirent/scandirat.c: Add libc_hidden_def.
50520 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50521 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50522
6761ac04
DM
505232011-08-10 David S. Miller <davem@davemloft.net>
50524
50525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50526 enum.
50527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50528 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50530
c55fbd1e
UD
505312011-08-09 Ulrich Drepper <drepper@gmail.com>
50532
50533 * Versions.def [libc]: Add GLIBC_2.15.
50534 * dirent/Makefile (routines): Add scandirat and scandirat64.
50535 * dirent/Versions [libc]: Export scandirat and scandirat64 for
50536 GLIBC_2.15.
50537 * dirent/dirent.h: Declare scandirat and scandirat64.
50538 * dirent/scandirat.c: New file.
50539 * dirent/scandirat64.c: New file.
50540 * sysdeps/wordsize-64/scandirat.c: New file.
50541 * sysdeps/wordsize-64/scandirat64.c: New file.
50542 * dirent/opendir.c: Define opendirat.
50543 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
50544 using scandirat.
50545 * dirent/scandir64.c: Adjust for scandir.c change.
50546 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
50547 __scandirat64, and __scandir_cancel_handler.
50548 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
50549 additional parameter and use openat instead of open (outside of ld.so).
50550 Add new __opendir as wrapper around __opendirat.
50551 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50552 here without requiring old scandirat implementation.
50553
879165f2
UD
505542011-08-08 Ulrich Drepper <drepper@gmail.com>
50555
50556 * dirent/scandir.c (cancel_handler): Renamed to
50557 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
50558 defined. Adjust users.
50559 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50560 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50561
cb7e923b
UD
505622011-08-04 Ulrich Drepper <drepper@gmail.com>
50563
16292edd
UD
50564 * string/test-string.h (IMPL): Use __STRING to expand name and then
50565 stringify it.
50566
cb7e923b
UD
50567 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
50568 of cleanups.
50569
cff82933
LD
505702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50571
50572 * string/Makefile: Update.
50573 (strop-tests): Append strncat.
50574 * string/test-wcscmp.c: New file.
50575 New comprehensive test for wcscmp.
50576 * string/test-strcmp.c: Update.
50577 (WIDE): New define.
50578
9be9bfcc
AS
505792011-07-22 Andreas Schwab <schwab@redhat.com>
50580
50581 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50582 line.
50583
2e96f1c7
AS
505842011-07-26 Andreas Schwab <schwab@redhat.com>
50585
50586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50587 encoding to ACE if AI_IDN.
50588
85188888
JJ
505892011-08-01 Jakub Jelinek <jakub@redhat.com>
50590
50591 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50592 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50593
5fa16e9b
LD
505942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50595
50596 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50597 Fix overflow bug in strncat.
50598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50599
50600 * string/test-strncat.c: Update.
50601 Add new tests for checking overflow bugs.
50602
506032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50604
50605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50606 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50607 * sysdeps/i386/i686/multiarch/strcat.S: New file.
50608 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50609 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50610 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50611 * sysdeps/i386/i686/multiarch/strncat.S: New file.
50612 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50613 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50614
50615 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50616 (USE_AS_STRCAT): Define.
50617 Add strcat and strncat support.
50618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50619
8c1a459f
AS
506202011-07-25 Andreas Schwab <schwab@redhat.com>
50621
50622 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50623 __n bigger than INT_MAX+1.
50624 (__strncmp_g): Likewise.
50625
bba33c28
UD
506262011-07-23 Ulrich Drepper <drepper@gmail.com>
50627
798be72d
UD
50628 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50629 * libio/stido.h: Likewise.
50630
8accd4dc
UD
50631 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50632 (AF_NFC): Define.
50633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50634 (AF_NFC): Define.
50635
cbff0d96
UD
50636 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50637 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50639 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50640 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50641
9191c04a
UD
50642 [BZ #13021]
50643 * scripts/test-installation.pl: Don't expect libnss_test1 to be
50644 installed.
50645
bba33c28
UD
50646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50647 typo.
50648 (_dl_x86_64_save_sse): Likewise.
50649
90f139dd
UD
506502011-07-22 Ulrich Drepper <drepper@gmail.com>
50651
1aae088a
UD
50652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50653 OSXSAVE.
50654 (_dl_x86_64_save_sse): Likewise.
50655
8e2045f5
UD
50656 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50657
90f139dd
UD
50658 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50659
1d002f25
AS
506602011-07-21 Andreas Schwab <schwab@redhat.com>
50661
50662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50663 change.
50664 (_dl_x86_64_save_sse): Use correct AVX check.
50665
21137f89
UD
506662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50667
50668 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50669 bug in strncpy/strncat.
50670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50671
a65c0b7a
UD
506722011-07-21 Ulrich Drepper <drepper@gmail.com>
50673
50674 * string/tester.c (test_strcat): Add tests for different alignments
50675 of source and destination.
50676 (test_strncat): Likewise.
50677
6986b98a
UD
506782011-07-20 Ulrich Drepper <drepper@gmail.com>
50679
90bb2039
UD
50680 [BZ #12852]
50681 * posix/glob.c (glob): Check passed in values before using them in
50682 expressions to avoid some overflows.
50683 (glob_in_dir): Likewise.
50684
5644ef54
UD
50685 [BZ #13007]
50686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50687 check for AVX enablement so that we don't crash with old kernels and
50688 new hardware.
50689 * elf/tst-audit4.c: Add same checks here.
50690 * elf/tst-audit6.c: Likewise.
50691
50692 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 50693
bfc9dc9b
AS
506942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
50695
50696 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50697
702e64bb
UD
506982011-07-20 Ulrich Drepper <drepper@gmail.com>
50699
50700 * po/cs.po: Update from translation team.
50701 * po/bg.po: Likewise.
50702
295e904f
MP
507032011-07-12 Marek Polacek <mpolacek@redhat.com>
50704
50705 * misc/sys/cdefs.h: Add support for const attribute.
50706 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50707 to gnu_dev_{major,minor,makedev} functions.
50708
3ff94596
MP
507092011-07-20 Marek Polacek <mpolacek@redhat.com>
50710
50711 * intl/dcigettext.c (get_output_charset): Add missing bracket.
50712
28b59fca
AS
507132011-07-20 Andreas Schwab <schwab@redhat.com>
50714
50715 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50716 strlen results.
50717
19df733e
AK
507182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50719
50720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50721 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50722 register in order to avoid conflicts with the soft frame pointer
50723 being held in r11 when necessary.
50724 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50725 (INTERNAL_VSYSCALL_NCS): Likewise.
50726
c8835729
MP
507272011-07-14 Marek Polacek <mpolacek@redhat.com>
50728
50729 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50730 * elf/dl-fini.c (_dl_fini): Adjust caller.
50731 * elf/dl-close.c (_dl_close_worker): Likewise.
50732 * sysdeps/generic/ldsodefs.h: Adjust declaration.
50733
b902330c
MP
507342011-07-15 Marek Polacek <mpolacek@redhat.com>
50735
8991e135
MP
50736 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50737 "aux_cache->nlibs < 0".
50738
b902330c
MP
50739 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50740 in the reload-count case.
50741
99710781
LD
507422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50743
50744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50745 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50746 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50747 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50748 * sysdeps/x86_64/multiarch/strcat.S: New file.
50749 * sysdeps/x86_64/multiarch/strncat.S: New file.
50750 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50751 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50752 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50753 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50755 (USE_AS_STRCAT): Define.
50756 Add strcat and strncat support.
50757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50759 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50760 * string/strncat.c: Update.
50761 (USE_AS_STRNCAT): Define.
50762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50763 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50764 and i7.
50765 * sysdeps/x86_64/multiarch/init-arch.h
50766 (bit_Prefer_PMINUB_for_stringop): New.
50767 (index_Prefer_PMINUB_for_stringop): Likewise.
50768 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50769 bit_Prefer_PMINUB_for_stringop.
50770
7dc6bd90
UD
507712011-07-19 Ulrich Drepper <drepper@gmail.com>
50772
50773 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50774 buffer64.
50775 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50776 of casting of buffer.
50777 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50778 buffer32 and buffer64.
50779 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50780 writes instead of casting of buffer.
50781 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50782 buffer32.
50783 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50784 casting of buffer.
50785
e0e72284
AS
507862011-07-19 Andreas Schwab <schwab@redhat.com>
50787
50788 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50789
feb1eb0b
UD
507902011-07-19 Ulrich Drepper <drepper@gmail.com>
50791
50792 * nscd/nscd.c (termination_handler): Don't do anything for a database
50793 if it has not yet been initialized.
50794
298711ff
UD
507952011-07-18 Ulrich Drepper <drepper@gmail.com>
50796
50797 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50798
507992011-07-15 Marek Polacek <mpolacek@redhat.com>
50800
50801 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50802
f9d68389
UD
508032011-07-18 Ulrich Drepper <drepper@gmail.com>
50804
50805 * po/nl.po: Update from translation team.
50806 * po/sv.po: Likewise.
50807
db290cf5
RM
508082011-07-16 Roland McGrath <roland@hack.frob.com>
50809
50810 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50811 now disallowed by GCC.
5c550700 50812
fd5e21c7
RM
50813 * configure.in (use-default-link): Default to yes if a test -shared
50814 link meets our qualifications.
50815 * configure: Regenerated.
50816
5c550700
RM
50817 * config.make.in (output-format): New variable.
50818 * configure.in: Check for ld --print-output-format support.
50819 * configure: Regenerated.
50820 * Makerules ($(common-objpfx)format.lds)
50821 [$(output-format) != unknown]: Just use $(output-format),
50822 instead of the linker-script munging.
50823
9fa2c032
RM
508242011-07-14 Roland McGrath <roland@hack.frob.com>
50825
a6928d51
RM
50826 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50827 of $(common-objpfx)shlib.lds.
50828 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50829
661607b3
RM
50830 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50831 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50832
9fa2c032
RM
50833 * configure.in (-z relro check): Adjust test code to add a large
50834 writable data section after it.
50835 * configure: Regenerated.
50836
defe9061
RM
508372011-07-11 Roland McGrath <roland@hack.frob.com>
50838
50839 * configure.in (-z relro check): Fix test code to make the variable
50840 truly const.
50841 * configure: Regenerated.
50842
319b9ad4
UD
508432011-07-11 Ulrich Drepper <drepper@gmail.com>
50844
50845 * nscd/nscd.h (struct traced_file): Define.
50846 (struct database_dyn): Remove inotify_descr, reset_res, and filename
50847 elements. Add traced_files.
50848 (inotify_fd): Declare.
50849 (register_traced_file): Declare.
50850 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50851 (inotify_fd): Export.
50852 (resolv_conf_descr): Remove.
50853 (nscd_init): Move inotify descriptor creation to main.
50854 Don't register files for notification here.
50855 (register_traced_file): New function.
50856 (invalidate_cache): Don't use reset_res to determine whether to call
50857 res_init, go through the list of registered files.
50858 (main_loop_poll): The inotify descriptors are now stored in the
50859 structures for the traced files.
50860 (main_loop_epoll): Likewise
50861 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50862 to __nss_disable_nscd.
50863 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50864 for a database anymore. Check the records for all the registered
50865 files instead.
50866 * nss/Makefile (libnss_files-routines): Add files-init.
50867 (libnss_db-routines): Add db-init.
50868 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50869 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50870 * nss/nss_db/db-init.c: New file.
50871 * nss/nss_files/files-init.c: New file.
50872 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50873 __nss_lookup_function.
50874 (__nss_lookup_function): Call nss_load_library.
50875 (nss_load_all_libraries): New function.
50876 (__nss_disable_nscd): Take parameter with callback function for files
50877 to register. Set is_nscd. Load all the DSOs for the NSS modules
50878 used for the cached services.
50879 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50880 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50881 options for features to all the files in nscd.
50882
50883 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50884
23bee3e8
RM
508852011-07-10 Roland McGrath <roland@hack.frob.com>
50886
50887 * csu/elf-init.c (__libc_csu_init): Comment typo.
50888
46a5b7f0
UD
508892011-07-09 Ulrich Drepper <drepper@gmail.com>
50890
50891 * po/pl.po: Update from translation team.
50892 * po/ja.po: Likewise.
50893 * po/ru.po: Likewise.
50894 * po/ko.po: Likewise.
50895 * po/fr.po: Likewise.
50896
d30cf5bb
RM
508972011-07-09 Roland McGrath <roland@hack.frob.com>
50898
113ddea4
RM
50899 * configure.in (.ctors/.dtors header and trailer check):
50900 Use an empirical test on a built program.
50901 * configure: Regenerated.
50902
574920b4
RM
50903 * configure.in (-z relro check): Use an empirical test on a built DSO.
50904 Detect, but do not require, on ia64.
50905 * configure: Regenerated.
50906
d30cf5bb
RM
50907 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50908 Update tests that use readelf to use $READELF instead.
50909 * configure: Regenerated.
50910
8538fdb3
UD
509112011-07-08 Ulrich Drepper <drepper@gmail.com>
50912
50913 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50914 if the result is not used.
50915
04d08991
AJ
509162011-07-05 Andreas Jaeger <aj@suse.de>
50917
50918 [BZ#9696]
50919 * stdlib/tst-strtod.c: Add testcase.
50920
de283087
AD
509212011-07-07 Ulrich Drepper <drepper@gmail.com>
50922
4e5f31c8 50923 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50924 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50925 The latter has a higher limit. Take additional parameter to pass to
50926 the new function.
50927 (__pathconf): Pass file to __statfs_link_max.
50928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50929 __statfs_link_max.
50930 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50931 __statfs_link_max.
50932
de283087
AD
50933 [BZ #12868]
50934 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50935 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50936 Handle Lustre.
50937 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50938 (__statfs_filesize_max): Likewise.
50939 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50940
c75fa153
AJ
509412011-07-05 Andreas Jaeger <aj@suse.de>
50942
50943 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50944
1a544854
UD
509452011-07-06 Marek Polacek <mpolacek@redhat.com>
50946
50947 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50948 `status' variable.
50949 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50950 Likewise.
50951
6f0eec67
UD
509522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50953
50954 * Makefile (strop-tests): Add strncat.
50955 * string/test-strncat.c: New file.
50956
aae30307
UD
509572011-06-30 Marek Polacek <mpolacek@redhat.com>
50958
50959 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50960
c0cfb5eb
UD
509612011-06-21 Andreas Jaeger <aj@suse.de>
50962
50963 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50964 Copy rule from iconvdata/Makefile.
50965
01636b21
UD
509662011-07-06 Ulrich Drepper <drepper@gmail.com>
50967
50968 [BZ #12922]
50969 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50970 but no long options are defined, just return 'W'.
50971
9895c8bc
UD
509722011-06-22 Marek Polacek <mpolacek@redhat.com>
50973
50974 [BZ #9696]
50975 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50976
5d4cf042
UD
509772011-07-06 Ulrich Drepper <drepper@gmail.com>
50978
50979 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50980 netgroups to read.
960e5535 50981 (innetgr): Likewise.
5d4cf042 50982
751eb97e
RM
509832011-07-05 Roland McGrath <roland@hack.frob.com>
50984
50985 * config.make.in (install_root): Default to $(DESTDIR).
50986
f15f1e45
UD
509872011-07-05 Ulrich Drepper <drepper@gmail.com>
50988
50989 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50990
4e34ac6a
RM
509912011-07-02 Roland McGrath <roland@hack.frob.com>
50992
5e9b6af4
RM
50993 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50994
84f9ea0f
RM
50995 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50996 containing directory rather than embedding absolute directory names.
50997
ea5ee9f7
RM
50998 * scripts/check-local-headers.sh: Rewritten using awk.
50999 Match by word, not by line. Print error messages for matches.
51000 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51001
1b74661a
RM
51002 * Makerules [shlib-lds-flags empty]:
51003 ($(common-objpfx)libc_pic.opts): New target.
51004 ($(common-objpfx)libc_pic.os.clean): New target.
51005 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51006
51007 * config.make.in (OBJCOPY): New variable.
51008 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51009 * configure: Regenerated.
51010
f781ef40
RM
51011 * config.make.in (use-default-link): New variable.
51012 * configure.in (use_default_link): Grok --with-default-link to set it.
51013 * configure: Regenerated.
51014 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51015 (shlib-lds, shlib-lds-flags): Define to empty.
51016
2d4fa81e
RM
51017 * Makerules (shlib-lds): New variable.
51018 (shlib-lds-flags): New variable.
51019 (build-shlib, build-moduile, build-module-asneeded): Use it.
51020 ($(common-objpfx)libc.so): Use $(shlib-lds).
51021 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51022 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51023
31fffa6b
RM
51024 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51025 DT_FLAGS/DT_FLAGS_1 with zero flags.
51026
4e34ac6a
RM
51027 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51028 linker script munging.
51029
fcfc776b
UD
510302011-07-02 Ulrich Drepper <drepper@gmail.com>
51031
51032 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51033 as 128-bit value.
51034 * crypt/sha512.c (sha512_process_block): Perform total addition using
51035 128-bit if possible.
51036 (__sha512_finish_ctx): Likewise.
51037 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51038 as 64-bit value.
51039 * crypt/sha256.c (SWAP64): Define.
51040 (sha256_process_block): Perform total addition using 64-bit if
51041 possible.
51042 (__sha256_finish_ctx): Likewise.
51043
99231d9a
UD
510442011-07-01 Ulrich Drepper <drepper@gmail.com>
51045
51046 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51047 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51048 * nscd/hstcache.c (cache_addhst): Likewise.
51049 * nscd/grpcache.c (cache_addgr): Likewise.
51050 * nscd/aicache.c (addhstaiX): Likewise
51051 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51052
445b4a53
TK
510532011-07-01 Thorsten Kukuk <kukuk@suse.de>
51054
51055 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51057 * nscd/hstcache.c (cache_addhst): Likewise.
51058 * nscd/grpcache.c (cache_addgr): Likewise.
51059 * nscd/aicache.c (addhstaiX): Likewise
51060
6d4d8e8e
AS
510612011-07-01 Andreas Schwab <schwab@redhat.com>
51062
51063 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51064 domain only when needed.
51065
89f654c5
AS
510662011-06-30 Andreas Schwab <schwab@redhat.com>
51067
51068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51069 is always restored.
51070
cf3b23ff
UD
510712011-06-29 Ulrich Drepper <drepper@gmail.com>
51072
51073 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51074 are re-adding the entry.
51075 * nscd/servicescache.c (cache_addserv): Likewise.
51076
751626f9
AJ
510772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51078
51079 * sysdeps/generic/dl-irel.h: fix protection against multiple
51080 inclusions.
51081 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51082
9113ea1f
UD
510832011-06-28 Ulrich Drepper <drepper@gmail.com>
51084
5c0b8d90
UD
51085 [BZ #12935]
51086 * malloc/memusage.sh: Fix quoting in message.
51087 * debug/xtrace.sh: Likewise.
51088
9113ea1f
UD
51089 * configure.in: Remove support for --experimental-malloc option, make
51090 it the default.
51091 * config.make.in: Likewise.
51092 * malloc/Makefile: Likewise.
51093
a4172181
AS
510942011-06-27 Andreas Schwab <schwab@redhat.com>
51095
51096 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51097 two-byte characters.
51098
78a7eee7
RM
510992011-06-27 Roland McGrath <roland@hack.frob.com>
51100
62bede13
RM
51101 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51102 AC_CACHE_CHECK invocation.
51103 * configure: Regenerated.
51104
78a7eee7
RM
51105 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51106
5ce33a62
UD
511072011-06-27 Ulrich Drepper <drepper@gmail.com>
51108
034807a9
UD
51109 [BZ #12350]
51110 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51111 bit from old_res_options.
51112
4902da17
UD
51113 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51114
5ce33a62
UD
51115 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51116 value type for setfct.
51117
c2344f56
L
511182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51119
51120 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51121 __gettimeofday instead of gettimeofday.
51122
68468076
UD
511232011-06-26 Ulrich Drepper <drepper@gmail.com>
51124
51125 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51126
acb0d739
L
511272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51128
51129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51130
51131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51132 info.
51133
8912479f
L
511342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51135
51136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51137 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51138 strcpy-sse2-unaligned strncpy-sse2-unaligned
51139 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51140 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51141 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51142 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51143 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51144 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51146 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51147 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51148 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51149 (STRCPY): Support SSE2 and SSSE3 versions.
51150
d5495a11
UD
511512011-06-24 Ulrich Drepper <drepper@gmail.com>
51152
51153 [BZ #12874]
51154 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51155 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51156 kernels which artificially limit size of requests.
51157
0b1cbaae
L
511582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51159
51160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51161 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51162 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51163 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51164 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51165 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51166 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51167 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51168 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51170 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51171 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51172 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51173 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51174 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51176 Enable unaligned load optimization for Intel Core i3, i5 and i7
51177 processors.
51178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51179 Define.
51180 (index_Fast_Unaligned_Load): Define.
51181 (HAS_FAST_UNALIGNED_LOAD): Define.
51182
07f494a0
MP
511832011-06-23 Marek Polacek <mpolacek@redhat.com>
51184
51185 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51186
fa3fc0fe
UD
511872011-06-22 Ulrich Drepper <drepper@gmail.com>
51188
51189 [BZ #12907]
51190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51191 until it is clear that the information is realy needed.
51192 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51193
e12df166
AS
511942011-06-22 Andreas Schwab <schwab@redhat.com>
51195
51196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51197
852eb34d
UD
511982011-06-22 Ulrich Drepper <drepper@gmail.com>
51199
84e2a551
UD
51200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51201 /sys/devices/system/cpu/online if it is usable.
51202
852eb34d
UD
51203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51204 reading the information from the /proc filesystem to once a second.
51205
6e502e19
UD
512062011-06-21 Andreas Jaeger <aj@suse.de>
51207
51208 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51209 NULL after inclusion of kernel headers.
51210
75d39ff2
UD
512112011-06-21 Ulrich Drepper <drepper@gmail.com>
51212
51f9aa6a
UD
51213 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51214 calls to internal_setent.
51215
c0244a9d
UD
51216 [BZ #12885]
51217 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51218 addresses using gethostbyname4_r ignore IPv4 addresses.
51219
c5e3c2ae
UD
51220 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51221 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51222
75d39ff2
UD
51223 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51224
42675c6f
DM
512252011-06-20 David S. Miller <davem@davemloft.net>
51226
51227 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51228 inclusions.
51229 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51230
51231 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51232 (elf_irel): Use it.
51233 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51234 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51235 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51236 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51237 * sysdeps/x86_64/dl-irel.h: Likewise.
51238
51239 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51240 * elf/dl-sym.c: Likewise.
51241
57912a71
UD
512422011-06-15 Ulrich Drepper <drepper@gmail.com>
51243
51244 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51245 need to dereference resplen2.
51246
ee22793d
AS
512472011-06-14 Andreas Schwab <schwab@redhat.com>
51248
51249 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51250
a9e836b0
UD
512512011-06-15 Ulrich Drepper <drepper@gmail.com>
51252
77fb9117
UD
51253 * Makeconfig: Define vardbdir and inst_vardbdir.
51254 * nss/Makefile: Add rules to install db-Makefile.
51255
40c1b22c
UD
51256 * nss/nss_db/db-XXX.c: Cleanup.
51257
9f2da732
UD
51258 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51259 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51260 GLIBC_PRIVATE.
51261 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51262 * nss/makedb.c: Implement -g option to specify that value strings
51263 are generated and should not be added to table iterated over for
51264 get*ent calls.
51265 * nss/nss_db/db-initgroups.c: New file.
51266
82e9a1f7
UD
51267 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51268 interface.
51269
c41af17e
UD
51270 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51271 (internal_getgrouplist): Adjust to name change.
51272 Update use_initgroups_entry if this is not the first call.
51273 * nss/databases.def: Add initgroups entry.
51274
a9e836b0
UD
51275 * nss/makedb.c (compute_tables): Check result of multiple hash table
51276 sizes to minimize maximum chain length.
51277
2666d441
UD
512782011-06-14 Ulrich Drepper <drepper@gmail.com>
51279
51280 * Versions.def: Add entry for libnss_db.
51281 * shlib-versions: Likewise.
51282 * nss/Makefile: Add rules to build libnss_db.
51283 * nss/Versions: Add libnss_db information. Organize libnss_files
51284 entries better.
51285 * nss/db-Makefile: Add gshadow support. Change rules for the new
51286 makedb progra. Some minor improvements to generate smaller files.
51287 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51288 here from...
51289 * nss/makedb.c: ...here.
51290 Improve database format to be smaller and require less memory at
51291 runtime.
51292 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51293 db anymore.
51294 * nss/nss_db/db-netgrp.c: Likewise.
51295 * nss/nss_db/db-open.c: Likewise.
51296 * nss/nss_files/flies-XXX.x: Adjust comments.
51297 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51298 * nss/nss_files/files-grp.c: Likewise.
51299 * nss/nss_files/files-hosts.c: Likewise.
51300 * nss/nss_files/files-network.c: Likewise.
51301 * nss/nss_files/files-proto.c: Likewise.
51302 * nss/nss_files/files-pwd.c: Likewise.
51303 * nss/nss_files/files-rpc.c: Likewise.
51304 * nss/nss_files/files-service.c: Likewise.
51305 * nss/nss_files/files-sgrp.c: Likewise.
51306 * nss/nss_files/files-spwd.c: Likewise.
51307 * nss/nss_db/db-alias.c: Removed.
51308 * nss/nss_db/dummy-db.h: Removed.
51309
9ee76b5a
UD
513102011-06-02 Ulrich Drepper <drepper@gmail.com>
51311
51312 * nss/makedb.c: Rewritten to not use database library.
51313 * nss/Makefile: Update to build new makedb program.
51314
c71ca1f8
AJ
513152011-06-14 Andreas Jaeger <aj@suse.de>
51316
51317 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51318 memset declaration.
51319
3154bfb8
UD
513202011-06-10 Andreas Schwab <schwab@redhat.com>
51321
51322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51323 tmpbuf.
51324
b350afab
RM
513252011-06-10 Roland McGrath <roland@hack.frob.com>
51326
decd4e50
RM
51327 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51328 * elf/Makefile ($(objpfx)ld.so): Likewise.
51329
5615eaf2
RM
51330 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51331 Don't list ld.so twice in dependencies.
51332
51333 * posix/bug-regex31.c: Include <stdlib.h>.
51334
51335 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51336
51337 * nis/nss_compat/compat-spwd.c
51338 (getspent_next_nss_netgr): Remove unused variable.
51339 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51340
51341 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51342 nonmembers" output to use the right array.
51343
51344 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51345
51346 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51347
51348 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51349 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51350 * catgets/gencat.c (read_input_file): Likewise.
51351 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51352
51353 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51354 variable definition inside #if's controlling its use.
51355
51356 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51357
51358 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51359
51360 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51361
51362 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51363 unreachable code.
51364
51365 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51366
b68e08db
RM
51367 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51368 * configure: Regenerated.
51369
b350afab
RM
51370 * Makerules: Revert last change.
51371 * elf/Makefile: Likewise.
51372
28368601
RM
513732011-06-09 Roland McGrath <roland@hack.frob.com>
51374
51375 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51376 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51377 (reloc-link): Likewise.
51378
11988f8f
UD
513792011-06-09 Ulrich Drepper <drepper@gmail.com>
51380
51381 * elf/Makefile: Add rules to build pldd.
51382 * elf/pldd.c: New file.
51383 * elf/pldd-xx.c: New file.
51384
e80fab37
UD
513852011-06-07 Ulrich Drepper <drepper@gmail.com>
51386
51387 * version.h: Update for 2.15 development version.
51388
9b849836
DM
513892011-06-07 David S. Miller <davem@davemloft.net>
51390
51391 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51392 ifuncs.
51393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51394 elf_machine_lazy_rel): Likewise.
51395 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51396 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51397 elf_machine_lazy_rel): Likewise.
51398 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51399 dl_hwcap via passed in argument.
51400 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51401 Likewise.
51402
5a31b283
AK
514032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51404
51405 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51406
069e52f8
RM
514072011-06-06 Roland McGrath <roland@hack.frob.com>
51408
51409 [BZ #12849]
51410 * manual/fdl-1.1.texi: New file, verbatim from:
51411 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51412 * manual/lgpl-2.1.texi: New file, verbatim from:
51413 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51414 * manual/Makefile (licenses): New variable, list those new file names.
51415 (texis): Use it.
51416 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51417
51418 * manual/fdl.texi: File removed.
51419 * manual/lesser.texi: File removed.
51420 * manual/libc.texinfo (Copying, Documentation License):
51421 Use new @include file names, put @appendix directive before @include.
51422
f16846a5
JJ
514232011-06-04 Jakub Jelinek <jakub@redhat.com>
51424
51425 [BZ #12841]
51426 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51427 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51428 (mq_open): Add __NTH.
51429
3d29045b
L
514302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51431
51432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51433 Assume Intel Core i3/i5/i7 processor if AVX is available.
51434
8c297311
UD
514352011-05-31 Ulrich Drepper <drepper@gmail.com>
51436
51437 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51438 typo.
51439
c8fc0c91
UD
514402011-05-31 Andreas Schwab <schwab@redhat.com>
51441
51442 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51443 memory. Use alloca_account. Fix memory leak when retrying.
51444
5b27a807
UD
514452011-05-31 Ulrich Drepper <drepper@gmail.com>
51446
356f8bc6
UD
51447 * version.h (RELEASE): Bump for 2.14 release.
51448 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51449
5b27a807
UD
51450 * config.make.in (RANLIB): Remove entry.
51451
01f16ab0
UD
514522011-05-30 Ulrich Drepper <drepper@gmail.com>
51453
41fce8bd
UD
51454 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51455 (libc.pot): Work around missing support for .ksh extension in xgettext.
51456
4769ae77
UD
51457 [BZ #12684]
51458 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51459 if both request failed.
51460 (send_dg): In case of server errors clear resplen or *resplen2.
51461
6b1e7d19
UD
51462 [BZ #12454]
51463 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51464 when there are multiple maps.
51465 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51466 (_dl_fini): Remove test here.
51467
01f16ab0
UD
51468 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51469
b1ebd700
UD
514702011-05-29 Ulrich Drepper <drepper@gmail.com>
51471
7ae22829
UD
51472 [BZ #12350]
51473 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51474 bit from old_res_options.
51475 (gaih_inet): Likewise.
51476
553149f6 51477 [BZ #11099]
18a84741 51478 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
51479 as signed.
51480
652ffab1
UD
51481 * resolv/res_init.c (res_setoptions): Make the code more compact.
51482
16985fd0
UD
51483 [BZ #11558]
51484 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51485 set RES_USEVC.
51486
0464f746
UD
51487 [BZ #11634]
51488 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51489
7d17596c
UD
51490 * malloc/malloc.h: Mark malloc hook variables as deprecated.
51491
cf6bbbd7
UD
51492 [BZ #11781]
51493 * malloc/malloc.h: Declare malloc hook variables as volatile.
51494
13f1ab36
UD
51495 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51496 in last patch.
51497
b1ebd700
UD
51498 [BZ #11799]
51499 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 51500 raise in the comment.
80e2212d
UD
51501 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51502 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51503 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 51504
ce67228d
UD
515052011-05-28 Ulrich Drepper <drepper@gmail.com>
51506
8887a920
UD
51507 [BZ #12811]
51508 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51509 grow the buffers more if it already has to be sufficient.
51510 (build_wcs_upper_buffer): Likewise.
51511 * posix/regexec.c (check_matching): Likewise.
51512 (clean_state_log_if_needed): Likewise.
51513 (extend_buffers): Don't enlarge buffers beyond size of the input
51514 buffer.
51515 Patches mostly by Emil Wojak <emil@wojak.eu>.
51516 * posix/bug-regex32.c: New file.
51517 * posix/Makefile (tests): Add bug-regex32.
51518
4f031072
UD
51519 * locale/findlocale.c (_nl_find_locale): Return right away if
51520 _nl_explode_name failed.
51521 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51522
d0478f0c
UD
51523 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51524
de81b246
UD
51525 * debug/xtrace.sh: Unify messages.
51526 * malloc/memusage.sh: Likewise.
51527
c738465a
UD
51528 [BZ #12813]
51529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51530 time symbol from vDSO. Substitute with vsyscall if not available.
51531 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51532 __vdso_time.
51533
f1f929d7
UD
51534 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51535 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51536 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51537 Add sendmmsg and internal_sendmmsg.
51538 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51539 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51540 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51541
ce67228d
UD
51542 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51543 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51545
e57420c6
UD
515462011-05-27 Ulrich Drepper <drepper@gmail.com>
51547
a8509ca5
UD
51548 [BZ #12813]
51549 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51550 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
51551 available.
51552 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51553 __vdso_getcpu.
51554
e57420c6
UD
51555 [BZ #12814]
51556 * iconvdata/Makefile (tests): Add bug-iconv9.
51557 * iconvdata/bug-iconv9.c: New file.
51558
4d07db15
AS
515592011-05-27 Andreas Schwab <schwab@redhat.com>
51560
51561 [BZ #12814]
51562 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51563
ea486f69
JJ
515642011-05-25 Jakub Jelinek <jakub@redhat.com>
51565
51566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51567 (struct user_regs_struct): Change intcs field back to cs.
51568
6f038433
UD
515692011-05-25 Ulrich Drepper <drepper@gmail.com>
51570
51571 * po/ja.po: Update from translation team.
51572
67f86a25
UD
515732011-05-23 Ulrich Drepper <drepper@gmail.com>
51574
51575 [BZ #12795]
51576 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51577 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51578
def7fbd6
AS
515792011-05-20 Andreas Schwab <schwab@redhat.com>
51580
51581 * stdlib/longlong.h: Update from GCC.
51582
f50ef8f1
AS
515832011-05-23 Andreas Schwab <schwab@redhat.com>
51584
51585 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51586 parameter name.
51587 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51588 Add parameter name.
51589 (__sysconf): Pass it down.
51590
de7ce8f1
UD
515912011-05-22 Ulrich Drepper <drepper@gmail.com>
51592
f2962a71
UD
51593 [BZ #12671]
51594 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51595 some situations.
51596 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51597 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51598 add in in __libc_use_alloca calls. Adjust callers.
51599 (glob): Use malloc in some situations.
51600
de7ce8f1
UD
51601 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51602 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51603 pltexit.
51604
aec84f53
UD
516052011-05-21 Ulrich Drepper <drepper@gmail.com>
51606
05bb4a68
UD
51607 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51608 and CLOCK_BOOTTIME_ALARM.
51609
7ea72f99
UD
51610 [BZ #12782]
51611 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51612 is returned.
51613
7e4afad5
UD
51614 * string/_strerror.c (__strerror_r): Print negative errors as signed
51615 numbers.
51616
8e211fec
UD
51617 [BZ #12777]
51618 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51619 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51620 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51621
f7d82dc9
UD
51622 * configure.in: Fix typo in redirection and correct removal of test
51623 files in two cases.
51624
cc9e536d
UD
51625 [BZ #12788]
51626 * locale/setlocale.c (new_composite_name): Fix test to check for
51627 identical name of all categories.
51628
aec84f53
UD
51629 [BZ #12792]
51630 * libio/filedoalloc.c (local_isatty): New function.
51631 (_IO_file_doallocate): Use local_isatty.
51632 * stdio-common/perror.c (perror): In case a new stream is used
51633 forward the stream error.
51634 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51635 error flag.
51636
78e64fdc
RT
516372011-05-20 Ulrich Drepper <drepper@gmail.com>
51638
34a9094f
UD
51639 [BZ #11869]
51640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51641 alloca.
51642 * include/alloca.h (extend_alloca_account): Define.
51643
78e64fdc
RT
51644 [BZ #11857]
51645 * posix/regex.h: Fix comments with documentation of user-accessible
51646 fields after compilation and describe correct free'ing of pattern
51647 after re_compile_pattern.
51648 Patch by Reuben Thomas <rrt@sc3d.org>.
51649
457bddfc
RA
516502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
51651
51652 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51653 and -mno-altivec to prevent the compiler from using Altivec and/or
51654 VSX instructions when the corresponding registers are not available.
51655
a4527b51
AS
516562011-05-19 Andreas Schwab <schwab@redhat.com>
51657
51658 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51659
ed690b2f
UD
516602011-05-19 Ulrich Drepper <drepper@gmail.com>
51661
51662 * libio/freopen.c (freopen): Use __dup2, not dup2.
51663 * libio/freopen64.c (freopen64): Likewise.
51664
8db73634
L
516652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
51666
51667 [BZ #12775]
51668 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51669 * math/Makefile (tests): Add test-powl.
51670 (CFLAGS-test-powl.c): Define.
51671 * math/test-powl.c: New file.
51672
0a197a9d
L
516732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
51674
51675 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51676
ee30c380
UD
516772011-05-17 Ulrich Drepper <drepper@gmail.com>
51678
51679 [BZ #11837]
51680 * iconvdata/gb18030.c: Update to GB18020-2005.
51681
6ce75379
UD
516822011-05-16 Ulrich Drepper <drepper@gmail.com>
51683
a4b89fd8
AR
51684 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51685 RE_SYNTAX_POSIX_AWK): Update to match recent development.
51686 Patch by Aharon Robbins <arnold@skeeve.com>.
51687
ea389b12
UD
51688 [BZ #11892]
51689 * stdlib/putenv.c (putenv): Don't always create copy of the variable
51690 on the stack.
51691
68a3f91f
UD
51692 [BZ #11895]
51693 * misc/pselect.c (__pselect): Handle timeout value errors hidden
51694 through underflows.
51695
15cc7dd1
UD
51696 [BZ #12766]
51697 * misc/error.c (error_at_line): Ensure file_name and old_file_name
51698 point to strings before performing equality test for error_one_per_line
51699 mode.
51700
f3799213
UD
51701 [BZ #11697]
51702 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51703
d79a9c94
UD
51704 [BZ #11820]
51705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51706 (struct user_fpregs_struct): Avoid __uint*_t types.
51707
56e5eb46
UD
51708 [BZ #6420]
51709 * malloc/mtrace.c (tr_where): Add additional parameter to point to
51710 symbol info. Use it instead of calling _dl_addr locally.
51711 (lock_and_info): New function.
51712 (tr_freehook): Call lock_and_info and pass symbol info as additional
51713 parameter to tr_where.
51714 (tr_mallochook): Likewise.
51715 (tr_reallochook): Likewise.
51716 (tr_memalignhook): Likewise.
51717
6ce75379
UD
51718 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
51719 used and couldn't be at all thread-safe.
51720
f8a3b5bf
UD
517212011-05-15 Ulrich Drepper <drepper@gmail.com>
51722
94b7cc37
UD
51723 * libio/freopen.c (freopen): Don't close old file descriptor
51724 before the new one is opened. Instead dup the new file descriptor
51725 to the old one after the new stream is created.
51726 * libio/freopen64.c (freopen64): Likewise.
51727 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51728 * libio/fileops.c (_IO_new_file_close_it): Handle new
51729 _IO_FLAGS2_NOCLOSE flag.
51730 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51731 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51732 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51733 _IO_FLAGS2_NOCLOSE flag.
51734 * include/unistd.h: Add hidden_proto for dup3.
51735 Define __have_dup3.
51736 * io/dup3.c: Define hidden symbol.
51737 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51738
bd25564e
UD
51739 [BZ #7101]
51740 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51741 when an incomplete long option is used.
51742 * posix/tst-getopt_long1.c: New file.
51743 * posix/Makefile (tests): Add tst-getopt_long1.
51744
c84cfef4
UD
51745 [BZ #10138]
51746 * scripts/config.guess: Update from autoconf-2.68.
51747 * scripts/config.sub: Likewise.
51748
3b85df27
UD
51749 [BZ #10157]
51750 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51751 tests into ...
51752 (has_cpuclock): ...this. New function.
51753 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51754 macro here based on has_cpuclock code.
51755
15a856b1
UD
51756 [BZ #10149]
51757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51758 First byte (not low byte) is now always NUL.
51759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51760
05f399e6
UD
51761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51762 Use non-cancelable interfaces.
51763
10a52685 51764 [BZ #9809]
94ecc67d
UD
51765 * locale/iso-639.def: Add entry for Sorani.
51766
f8a3b5bf
UD
51767 [BZ #11901]
51768 * include/stdlib.h: Move include protection to the right place.
51769 Define abort_msg_s. Declare __abort_msg with it.
51770 * stdlib/abort.c (__abort_msg): Adjust type.
51771 * assert/assert.c (__assert_fail_base): New function. Majority
51772 of code from __assert_fail. Allocate memory for __abort_msg with
51773 mmap.
51774 (__assert_fail): Now call __assert_fail_base.
51775 * assert/assert-perr.c: Remove bulk of implementation. Use
51776 __assert_fail_base.
51777 * include/assert.hL Declare __assert_fail_base.
51778 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51779 mmap.
51780 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51781
1af4e298
UD
517822011-05-14 Ulrich Drepper <drepper@gmail.com>
51783
f8a3b5bf 51784 [BZ #11952]
d26dfc60
MG
51785 [BZ #12453]
51786 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51787 until all modules are registered in the DTV.
51788 * elf/Makefile: Add rules to build and run tst-tls19.
51789 * elf/tst-tls19.c: New file.
51790 * elf/tst-tls19mod1.c: New file.
51791 * elf/tst-tls19mod2.c: New file.
51792 * elf/tst-tls19mod3.c: New file.
51793 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51794
2fc54d6f
UD
51795 [BZ #12083]
51796 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51797 correctly.
51798
98d76b46
UD
51799 [BZ #12601]
51800 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51801 two-byte sequence errors.
51802 * iconvdata/Makefile (tests): Add bug-iconv8.
51803 * iconvdata/bug-iconv8.c: New file.
51804
da3c19ef
UD
51805 [BZ #12626]
51806 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51807 buf2 definition.
51808
ca408c15
UD
51809 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51810
d6f67f7d
UD
51811 [BZ #12432]
51812 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51813 (dummy_getcfa): New function.
51814 (init): Get _Unwind_GetCFA address, use dummy if not found.
51815 (backtrace_helper): In recursion check, also check whether CFA changes.
51816 (__backtrace): Completely initialize arg.
51817
1af4e298 51818 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
51819 storing incomplete byte sequence in state object. Avoid testing for
51820 guaranteed too small input if we know there is enough data available.
1af4e298 51821
da62f81b
AS
518222011-05-11 Andreas Schwab <schwab@redhat.com>
51823
51824 * Makeconfig (+link-pie): Indent.
51825 * Rules (binaries-pie): Define if $(have-fpie) and
51826 $(build-shared).
51827 (binaries-shared): Also filter out $(binaries-pie).
51828 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51829 * nscd/Makefile (others-pie): Add nscd.
51830 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51831 ($(objpfx)nscd): Remove command override.
51832 * login/Makefile (others-pie): Add pt_chown.
51833 ($(objpfx)pt_chown): Remove command override.
51834 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51835 remove command overrides.
51836
fcabc0f8
UD
518372011-05-13 Ulrich Drepper <drepper@gmail.com>
51838
20030ae6
UD
51839 * libio/tst_putwc.c: Fix error messages.
51840
fcabc0f8
UD
51841 [BZ #12724]
51842 * libio/fileops.c (_IO_new_file_close_it): Always flush when
51843 currently writing and seek to current position when not.
51844 * libio/Makefile (tests): Add bug-fclose1.
51845 * libio/bug-fclose1.c: New file.
51846
320a5dc0
PB
518472011-05-12 Ulrich Drepper <drepper@gmail.com>
51848
51849 [BZ #12511]
51850 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51851 don't set DF_1_NODELETE here.
51852 (do_lookup_x): When entering new entry test for copy relocation
51853 and if necessary set DF_1_NODELETE flag.
51854 * elf/tst-unique4.cc: New file.
51855 * elf/tst-unique4.h: New file.
51856 * elf/tst-unique4lib.cc: New file.
51857 * elf/Makefile: Add rules to build and run tst-unique4.
51858 Patch by Piotr Bury <pbury@goahead.com>.
51859
22836f52
UD
518602011-05-11 Ulrich Drepper <drepper@gmail.com>
51861
f574184a
UD
51862 [BZ #12052]
51863 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51864
e1fb097f
UD
51865 [BZ #12625]
51866 * misc/mntent_r.c (addmntent): Flush the stream after the output
51867
22836f52
UD
51868 [BZ #12393]
51869 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51870 (is_trusted_path_normalize): Skip initial colon. Append slash
51871 to empty buffer. Duplicate is_trusted_path code but allow
51872 constructed patch to be prefix.
51873 (is_dst): Allow $ORIGIN followed by /.
51874 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51875 Correct testing of result of is_trusted_path_normalize
51876 (decompose_rpath): Fix warning.
51877
7b3b0b2a
UD
518782011-05-10 Ulrich Drepper <drepper@gmail.com>
51879
51880 [BZ #11257]
51881 * grp/initgroups.c (internal_getgrouplist): When we found the service
51882 list through the initgroups entry in nsswitch.conf do not always
51883 continue on a successful lookup. Don't always use the
eac80ce2 51884 __nss_group_database value if it is set.
7b3b0b2a
UD
51885 * nss/nsswitch.conf (initgroups): Change action for successful db
51886 lookup to continue for compatibility.
51887
2a81eaa5
UD
518882011-05-09 Ulrich Drepper <drepper@gmail.com>
51889
be97a69e
UD
51890 [BZ #11532]
51891 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51892 and CP774 modules.
51893 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51894 and CP774 modules.
51895 * iconvdata/tst-tables.sh: Likewise.
51896 * iconvdata/cp770.c: New file.
51897 * iconvdata/cp771.c: New file.
51898 * iconvdata/cp772.c: New file.
51899 * iconvdata/cp773.c: New file.
51900 * iconvdata/cp774.c: New file.
51901 * iconvdata/testdata/CP770: New file.
51902 * iconvdata/testdata/CP770..UTF8: New file.
51903 * iconvdata/testdata/CP771: New file.
51904 * iconvdata/testdata/CP771..UTF8: New file.
51905 * iconvdata/testdata/CP772: New file.
51906 * iconvdata/testdata/CP772..UTF8: New file.
51907 * iconvdata/testdata/CP773: New file.
51908 * iconvdata/testdata/CP773..UTF8: New file.
51909 * iconvdata/testdata/CP774: New file.
51910 * iconvdata/testdata/CP774..UTF8: New file.
51911
51912 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51913 END CHARMAP line.
51914 * iconvdata/gen-8bit-gap.sh: Likewise.
51915 * iconvdata/gen-8bit.sh: Likewise.
51916
c1e9e399
UD
51917 * locale/iso-639.def: Add ary entry.
51918
24c55fb3 51919 [BZ #11258]
96b4b1b0
UD
51920 * locale/C-translit.h.in: Add U20A1 transliteration.
51921
bdc2f971
KB
51922 [BZ #12178]
51923 * locale/iso-639.def: Add wae entry.
51924 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51925
2952b117
UD
51926 [BZ #12545]
51927 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51928 for n.
51929
2a81eaa5
UD
51930 [BZ #12711]
51931 * locale/C-translit.h.in: Add entry for U20B9.
51932 Patch by pravin.d.s@gmail.com.
51933
28377d1b
UD
519342011-05-08 Ulrich Drepper <drepper@gmail.com>
51935
7fb90fb8
UD
51936 [BZ #12713]
51937 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51938 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51939 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51940 in rtld. Use *stat64.
7fb90fb8 51941 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51942 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51943 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51944 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51945 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51946 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51947 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51948 __fstatat64 macros.
7fb90fb8
UD
51949 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51950 * dirent/rewinddir.c: Add libc_hidden_def.
51951 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51952 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51953
28377d1b
UD
51954 * include/dirent.h (__alloc_dir): Add flags parameter.
51955 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51956 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51957 __alloc_dir.
51958 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51959 from fdopendir if O_CLOEXEC is already set.
51960
66bdbaa4
AM
519612011-03-15 Alan Modra <amodra@gmail.com>
51962
51963 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51964 l_tls_firstbyte_offset non-zero. Save padding offset in
51965 l_tls_firstbyte_offset for later use.
51966 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51967 freeing static tls block.
51968
95721191
JN
519692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51970
51971 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51972 where #ifdef was intended. The intent is to prevent ARG_MAX from
51973 being defined by the kernel headers.
51974
f87dfb1f
UD
519752011-05-07 Ulrich Drepper <drepper@gmail.com>
51976
51977 [BZ #12734]
51978 * resolv/resolv.h: Define RES_NOTLDQUERY.
51979 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51980 no-tld-query and set RES_NOTLDQUERY.
51981 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51982 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51983 modern BIND to search name as TLD unless forbidden.
51984
47c3cd7a
UD
519852011-05-07 Petr Baudis <pasky@suse.cz>
51986 Ulrich Drepper <drepper@gmail.com>
51987
51988 [BZ #12393]
51989 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51990 (is_trusted_path): ...to here.
c1e9ea35 51991 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51992 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51993 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51994
8a35c912
PP
519952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51996
51997 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51998 __BEGIN/__END_DECLS.
51999
acd41f47
UD
520002011-05-06 Ulrich Drepper <drepper@gmail.com>
52001
52002 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52003 NSS_STATUS_NOTFOUND if no record was found.
52004
597df647
AS
520052011-05-05 Andreas Schwab <schwab@redhat.com>
52006
52007 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52008 (headers-not-in-tirpc): Remove rpc/netdb.h
52009 * resolv/netdb.h: Revert last change.
52010
b9af1301
PP
520112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52012
52013 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52014 circular dependency between libgcc.a and libc.a.
52015
4e34d5f5
AS
520162011-05-05 Andreas Schwab <schwab@redhat.com>
52017
52018 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52019 * nis/Makefile: Don't install rpcsvc/*.
52020 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52021 instead of <rpc/types.h>.
52022 (MAXHOSTNAMELEN): Define.
52023
00ee369c
AS
520242011-05-03 Andreas Schwab <schwab@redhat.com>
52025
52026 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52027
0b592a30
MB
520282011-04-28 Maciej Babinski <mbabinski@google.com>
52029
52030 [BZ #12714]
52031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52032 gethostbyname4_r when IPv6 results are possible.
52033
6e04cbbe
UD
520342011-05-02 Ulrich Drepper <drepper@gmail.com>
52035
52036 [BZ #12723]
52037 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52038 _PC_PIPE_BUF handling.
52039
e4ecafe0
BH
520402011-04-30 Bruno Haible <bruno@clisp.org>
52041
52042 [BZ #12717]
52043 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52044 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52045 to 'int'.
52046 * inet/getnameinfo.c (getnameinfo): Likewise.
52047
125ee683
UD
520482011-04-29 Ulrich Drepper <drepper@gmail.com>
52049
52050 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52051 to groups setting in database lookup.
52052 * nss/nsswitch.conf: Add initgroups entry.
52053
b722481a
EB
520542011-04-22 Ulrich Drepper <drepper@gmail.com>
52055
52056 [BZ #12685]
52057 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52058 mode string.
52059 Patch by Eric Blake <eblake@redhat.com>.
52060
4df46dbd
L
520612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52062
52063 * sunrpc/Makefile (need-export-routines): Add svc_run.
52064 (routines): Remove svc_run.
52065 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52066 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52067 * sunrpc/svc_run.c (svc_run): Likewise.
52068 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52069
e84142d2
UD
520702011-04-21 Ulrich Drepper <drepper@gmail.com>
52071
52072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52073 problem in reallocation in last patch.
52074
877175d8
UD
520752011-04-20 Ulrich Drepper <drepper@gmail.com>
52076
52077 * sunrpc/Makefile: Move inclusion of Rules.
52078
ab8eed78
UD
520792011-04-19 Ulrich Drepper <drepper@gmail.com>
52080
52081 * nss/nss_files/files-initgroups.c: New file.
52082 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52083 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52084 _nss_files_initgroups_dyn.
52085
e3d8f584
RS
520862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52087
52088 * elf/elf.h (R_ARM_IRELATIVE): Define.
52089
af190f45
UD
520902011-04-19 Ulrich Drepper <drepper@gmail.com>
52091
52092 * po/ru.po: Update from translation team.
52093
53cf59ef
UD
520942011-04-17 Ulrich Drepper <drepper@gmail.com>
52095
52096 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52097 dependencies.
52098
4c559bcd
MF
520992011-02-06 Mike Frysinger <vapier@gentoo.org>
52100
52101 [BZ #12653]
52102 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52103 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52106 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52107
4420675c
AS
521082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52109
52110 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52111 differing bytes.
52112 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52114 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52115
75ea32ab
UD
521162011-04-17 Ulrich Drepper <drepper@gmail.com>
52117
52118 [BZ #12420]
52119 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52120 storing it.
52121 * stdlib/bug-getcontext.c: New file.
52122 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52123
27390476
AK
521242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52125
52126 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52127 instructions into .machine "z9-109".
52128 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52129 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52130
10442705
AK
521312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52132
52133 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52134 between environment variables and auxiliary vector.
52135
7b57bfe5
UD
521362011-04-16 Ulrich Drepper <drepper@gmail.com>
52137
52138 * Makefile: Add rules to build linkobj/libc.so.
52139 * include/libc-symbols.h: Define libc_hidden_nolink.
52140 * include/rpc/auth.h: Mark functions which are to be hidden.
52141 * include/rpc/auth_des.h: Likewise.
52142 * include/rpc/auth_unix.h: Likewise.
52143 * include/rpc/clnt.h: Likewise.
52144 * include/rpc/des_crypt.h: Likewise.
52145 * include/rpc/key_prot.h: Likewise.
52146 * include/rpc/pmap_clnt.h: Likewise.
52147 * include/rpc/pmap_prot.h: Likewise.
52148 * include/rpc/pmap_rmt.h: Likewise.
52149 * include/rpc/rpc_msg.h: Likewise.
52150 * include/rpc/svc.h: Likewise.
52151 * include/rpc/svc_auth.h: Likewise.
52152 * include/rpc/xdr.h: Likewise.
52153 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52154 * nss/Makefile: Likewise.
52155 * sunrpc/Makefile: Don't install headers. Build library with normal
52156 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52157 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52158 for the compat linking library. Remove use of INTDEF/INTUSE.
52159 * sunrpc/auth_none.c: Likewise.
52160 * sunrpc/auth_unix.c: Likewise.
52161 * sunrpc/authdes_prot.c: Likewise.
52162 * sunrpc/authuxprot.c: Likewise.
52163 * sunrpc/clnt_gen.c: Likewise.
52164 * sunrpc/clnt_perr.c: Likewise.
52165 * sunrpc/clnt_raw.c: Likewise.
52166 * sunrpc/clnt_simp.c: Likewise.
52167 * sunrpc/clnt_tcp.c: Likewise.
52168 * sunrpc/clnt_udp.c: Likewise.
52169 * sunrpc/clnt_unix.c: Likewise.
52170 * sunrpc/des_crypt.c: Likewise.
52171 * sunrpc/des_soft.c: Likewise.
52172 * sunrpc/get_myaddr.c: Likewise.
52173 * sunrpc/key_call.c: Likewise.
52174 * sunrpc/key_prot.c: Likewise.
52175 * sunrpc/netname.c: Likewise.
52176 * sunrpc/pm_getmaps.c: Likewise.
52177 * sunrpc/pm_getport.c: Likewise.
52178 * sunrpc/pmap_clnt.c: Likewise.
52179 * sunrpc/pmap_prot.c: Likewise.
52180 * sunrpc/pmap_prot2.c: Likewise.
52181 * sunrpc/pmap_rmt.c: Likewise.
52182 * sunrpc/publickey.c: Likewise.
52183 * sunrpc/rpc_cmsg.c: Likewise.
52184 * sunrpc/rpc_common.c: Likewise.
52185 * sunrpc/rpc_dtable.c: Likewise.
52186 * sunrpc/rpc_prot.c: Likewise.
52187 * sunrpc/rpc_thread.c: Likewise.
52188 * sunrpc/rtime.c: Likewise.
52189 * sunrpc/svc.c: Likewise.
52190 * sunrpc/svc_auth.c: Likewise.
52191 * sunrpc/svc_authux.c: Likewise.
52192 * sunrpc/svc_raw.c: Likewise.
52193 * sunrpc/svc_run.c: Likewise.
52194 * sunrpc/svc_simple.c: Likewise.
52195 * sunrpc/svc_tcp.c: Likewise.
52196 * sunrpc/svc_udp.c: Likewise.
52197 * sunrpc/svc_unix.c: Likewise.
52198 * sunrpc/svcauth_des.c: Likewise.
52199 * sunrpc/xcrypt.c: Likewise.
52200 * sunrpc/xdr.c: Likewise.
52201 * sunrpc/xdr_array.c: Likewise.
52202 * sunrpc/xdr_float.c: Likewise.
52203 * sunrpc/xdr_intXX_t.c: Likewise.
52204 * sunrpc/xdr_mem.c: Likewise.
52205 * sunrpc/xdr_rec.c: Likewise.
52206 * sunrpc/xdr_ref.c: Likewise.
52207 * sunrpc/xdr_sizeof.c: Likewise.
52208 * sunrpc/xdr_stdio.c: Likewise.
52209
e6c61494
UD
522102011-04-10 Ulrich Drepper <drepper@gmail.com>
52211
52212 [BZ #12650]
52213 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52214 * sysdeps/ia64/dl-tls.h: Likewise.
52215 * sysdeps/powerpc/dl-tls.h: Likewise.
52216 * sysdeps/s390/dl-tls.h: Likewise.
52217 * sysdeps/sh/dl-tls.h: Likewise.
52218 * sysdeps/sparc/dl-tls.h: Likewise.
52219 * sysdeps/x86_64/dl-tls.h: Likewise.
52220 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52221
34fe483e
AS
522222011-03-14 Andreas Schwab <schwab@redhat.com>
52223
52224 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52225 rpath element also skip the following colon.
52226 (expand_dynamic_string_token): Add is_path parameter and pass
52227 down to DL_DST_REQUIRED and _dl_dst_substitute.
52228 (decompose_rpath): Call expand_dynamic_string_token with
52229 non-zero is_path. Ignore empty rpaths.
52230 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52231 with zero is_path.
52232
f12a32e6
AS
522332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52234
52235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52236 Make cancelable.
52237
38a7d692
UD
522382011-04-09 Ulrich Drepper <drepper@gmail.com>
52239
52240 [BZ #12655]
52241 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52242 Patch by Filipe David Manana <fdmanana@apache.org>.
52243
e451d22b
AS
522442011-04-07 Andreas Schwab <schwab@redhat.com>
52245
52246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52247 Maintain aligned stack.
52248 (CHECK_RSP): Remove unused macro.
52249
dedc7c7b
UD
522502011-04-03 Ulrich Drepper <drepper@gmail.com>
52251
52252 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52253 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52254
94521213
UD
522552011-04-02 Ulrich Drepper <drepper@gmail.com>
52256
52257 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52258
8cb700c0 52259 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 52260
0354e355
L
522612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52262
52263 [BZ #12518]
52264 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52265 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52266 * sysdeps/x86_64/memmove.c: New file.
52267 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52268 (memcpy): Renamed to ...
52269 (__new_memcpy): This.
52270 (memcpy): Provide GLIBC_2_14 memcpy.
52271 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52272 (memcpy): Provide GLIBC_2_2_5 memcpy.
52273
8593482f
UD
522742011-04-01 Ulrich Drepper <drepper@gmail.com>
52275
52276 [BZ #12631]
52277 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52278
81a5726b
AS
522792011-03-30 Andreas Schwab <schwab@redhat.com>
52280
52281 * misc/syncfs.c: New file.
52282 * misc/Makefile (routines): Add syncfs.
52283 * posix/unistd.h: Declare syncfs.
52284 * sysdeps/unix/syscalls.list: Add syncfs.
52285
00e5419f
AS
522862011-04-01 Andreas Schwab <schwab@redhat.com>
52287
52288 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52289 open_by_handle_at.
52290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52293 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52295 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52297
748876bf
UD
522982011-04-01 Ulrich Drepper <drepper@gmail.com>
52299
658e451d
UD
52300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52301 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52302 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52307
748876bf
UD
52308 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52309 sync_file_range.c with -fexceptions.
52310 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52311 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52312 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52313 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52314 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52315 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
52317 sync_file_range as cancellation point
52318 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52319 now a wrapper around __call_sync_file_range with cancellation handling.
52320 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52321 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52322 function name to __call_sync_file_range.
52323 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52324 Add call_sync_file_range.
748876bf 52325
6e63d5e1
AS
523262011-04-01 Andreas Schwab <schwab@redhat.com>
52327
52328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 52329 bits/timex.h.
6e63d5e1 52330
46998f74
UD
523312011-04-01 Ulrich Drepper <drepper@gmail.com>
52332
4c1423ed
UD
52333 * iconv/iconv.h: Fix typo in comment.
52334 * io/fcntl.h: Likewise.
52335 * libio/stdio.h: Likewise.
52336 * posix/spawn.h: Likewise.
52337 * posix/unistd.h: Likewise.
52338 * stdlib/stdlib.h: Likewise.
52339 * time/time.h: Likewise.
52340 * wcsmbs/wchar.h: Likewise.
52341
158648c0
UD
52342 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52343 open_by_handle): Add.
52344 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52345 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52346 Augment a few comments.
52347 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52349 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52352 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52353 open_by_handle.
52354
46998f74
UD
52355 * io/fcntl.h (AT_EMPTY_PATH): Define.
52356
83fe108b
UD
523572011-03-30 Ulrich Drepper <drepper@gmail.com>
52358
52359 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52360 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52361 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52362 to...
52363 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
52364 * Versions.def: Add GLIBC_2.14.
52365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52366 Export.
83fe108b 52367
bb242059
UD
523682011-03-22 Ulrich Drepper <drepper@gmail.com>
52369
52370 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52371 round counter.
52372 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52373
c97a1282
L
523742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52375
52376 [BZ #12597]
52377 * string/test-strncmp.c (do_page_test): New function.
52378 (check2): Likewise.
52379 (test_main): Call check2.
52380 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52381
2a115601
UD
523822011-03-20 Ulrich Drepper <drepper@gmail.com>
52383
52384 [BZ #12587]
52385 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52386 Handle cache information in CPU leaf 4.
52387 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52388
8126d904
UD
523892011-03-18 Ulrich Drepper <drepper@gmail.com>
52390
042c49c6 52391 [BZ #12583]
8126d904
UD
52392 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52393 character representation.
52394 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52395
ccfe366e
RA
523962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52397
52398 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52399 END(__isnan) to END(__isnanf) to match function entry point/label
52400 EALIGN(__isnanf,...).
52401
c6e13027
JJ
524022011-03-10 Jakub Jelinek <jakub@redhat.com>
52403
52404 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52405
33f85a3f
UD
524062011-03-10 Ulrich Drepper <drepper@gmail.com>
52407
028478fa
UD
52408 [BZ #12510]
52409 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52410 copy from the symbol referenced in the relocation to initialize the
52411 used variable.
52412 Patch by Piotr Bury <pbury@goahead.com>.
52413 * elf/Makefile: Add rules to build and tst-unique3.
52414 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52415 * elf/tst-unique3.cc: New file.
52416 * elf/tst-unique3.h: New file.
52417 * elf/tst-unique3lib.cc: New file.
52418 * elf/tst-unique3lib2.cc: New file.
52419
33f85a3f
UD
52420 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52421
03592fc7
MF
524222011-03-10 Mike Frysinger <vapier@gentoo.org>
52423
52424 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52425 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52426 to _start.
03592fc7 52427
6a5ee102
UD
524282011-03-06 Ulrich Drepper <drepper@gmail.com>
52429
52430 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52431 to-be-loaded object along a path to loader is ld.so.
52432
7e4ba49c
HJ
524332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52434 Ulrich Drepper <drepper@gmail.com>
52435
52436 * sysdeps/x86_64/memset.S: After aligning destination, code
52437 branches to different locations depending on the value of
52438 misalignment, when multiarch is enabled. Fix this.
52439
524402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52441
52442 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52443 Set _x86_64_preferred_memory_instruction for AMD processsors.
52444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52445 Set bit_Prefer_SSE_for_memop for AMD processors.
52446
13a804de
UD
524472011-03-04 Ulrich Drepper <drepper@gmail.com>
52448
52449 * libio/fmemopen.c (fmemopen): Optimize a bit.
52450
9d25c392
AS
524512011-03-03 Andreas Schwab <schwab@redhat.com>
52452
52453 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52454
a5543c6a
RM
524552011-03-03 Roland McGrath <roland@redhat.com>
52456
52457 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52458
012d35f7
DM
524592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52460
7e4ba49c 52461 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
52462 __bzero_ultra1 instead of __memset_ultra1.
52463
4bff6e01
AS
524642011-02-23 Andreas Schwab <schwab@redhat.com>
52465 Ulrich Drepper <drepper@gmail.com>
52466
52467 [BZ #12509]
52468 * include/link.h (struct link_map): Add l_orig_initfini.
52469 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52470 returning unsuccessfully.
52471 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52472 close of a file loaded at startup, restore the original l_initfini
52473 list.
52474 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52475 list, store the pointer.
52476 * elf/Makefile ($(objpfx)noload-mem): New rule.
52477 (noload-ENV): Define.
52478 (tests): Add $(objpfx)noload-mem.
52479 * elf/noload.c: Include <memcheck.h>.
52480 (main): Call mtrace. Close all opened handles.
52481
f2092faf
AS
524822011-02-17 Andreas Schwab <schwab@redhat.com>
52483
52484 [BZ #12454]
52485 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52486 dependencies are missing.
52487
6c8a2e88
ST
524882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
52489
f2092faf 52490 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
52491 Hurd needs munmap.
52492 * sysdeps/mach/hurd/ifreq.h: New file.
52493
84a42118
PB
524942011-01-27 Petr Baudis <pasky@suse.cz>
52495 Ulrich Drepper <drepper@gmail.com>
52496
071f805e 52497 [BZ 12445]#
84a42118
PB
52498 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52499 to extend_alloca().
52500 * stdio-common/bug23.c: New file.
52501 * stdio-common/Makefile (tests): Add bug23.
52502
e23fe25b
AS
525032010-09-28 Andreas Schwab <schwab@redhat.com>
52504 Ulrich Drepper <drepper@gmail.com>
52505
52506 [BZ #12489]
52507 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52508 before performing relro protection. At old place add assertion
52509 to make sure nothing changed.
52510
d3f02e10
NS
525112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
52512 Glauber de Oliveira Costa <glommer@gmail.com>
52513
52514 * elf/elf.h: Add new ARM TLS relocs.
52515
d55fd7a5
RA
525162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
52517
52518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52519 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52520 cast from r3.
52521 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
52522 'tests' variable.
52523 * sysdeps/wordsize-64/tst-writev.c: New file.
52524
2206397e
RA
525252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
52526
52527 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52528 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52529 insns in _dl_start to prevent a TOC reference before relocs are
52530 resolved.
52531
e9433893
UD
525322011-02-15 Ulrich Drepper <drepper@gmail.com>
52533
52534 [BZ #12469]
52535 * Makeconfig: Remove RANLIB definition.
52536 * Makerules: Don't use RANLIB.
52537 * aclocal.m4: Remove ranlib test.
52538 * configure.in: No need to check for ranlib.
52539 * elf/rtld-Rules: Don't use RANLIB.
52540
f75286c6
ST
525412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52542
8e31c82d
ST
52543 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52544 protection macro.
52545 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52546 inclusion protection macro.
52547
f75286c6
ST
52548 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52549 SIGRTMIN and SIGRTMAX and print information in that case only when
52550 SIGRTMIN is defined.
52551
c1d0e639
JJ
525522011-02-11 Jakub Jelinek <jakub@redhat.com>
52553
52554 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52555 arginfo fn returning -1.
52556
52557 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52558 and thousands string is zero terminated.
52559
edf9294e
AS
525602011-02-03 Andreas Schwab <schwab@redhat.com>
52561
52562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52563 sysdeps/unix/sysv/linux/bits/socket.h.
52564
2b7e92df
ST
525652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
52566
edf9294e
AS
52567 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52568 (__CPU_COUNT): Remove old macros.
52569 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52570 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52571 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
52572 (__sched_cpualloc, __sched_cpufree): Add declarations.
52573
a4c7ea7b
UD
525742011-02-05 Ulrich Drepper <drepper@gmail.com>
52575
52576 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52577 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52578 * nscd/aicache.c (addhstaiX): Return timeout of added value.
52579 (readdhstai): Return value of addhstaiX call.
52580 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52581 (addgrbyX): Return value returned by cache_addgr.
52582 (readdgrbyname): Return value returned by addgrbyX.
52583 (readdgrbygid): Likewise.
52584 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52585 (addpwbyX): Return value returned by cache_addpw.
52586 (readdpwbyname): Return value returned by addhstbyX.
52587 (readdpwbyuid): Likewise.
52588 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52589 (addservbyX): Return value returned by cache_addserv.
52590 (readdservbyname): Return value returned by addservbyX:
52591 (readdservbyport): Likewise.
52592 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52593 (addhstbyX): Return value returned by cache_addhst.
52594 (readdhstbyname): Return value returned by addhstbyX.
52595 (readdhstbyaddr): Likewise.
52596 (readdhstbynamev6): Likewise.
52597 (readdhstbyaddrv6): Likewise.
52598 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52599 (readdinitgroups): Return value returned by addinitgroupsX.
52600 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52601 (prune_cache): Keep track of timeout value of re-added entries.
52602 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52603 * nscd/nscd.h: Adjust prototypes of readd* functions.
52604
a0bf67cc
RM
526052011-02-04 Roland McGrath <roland@redhat.com>
52606
52607 * nis/nis_server.c (nis_servstate): Use the right name for 0.
52608 (nis_stats): Likewise.
52609 * nis/nis_modify.c (nis_modify): Likewise.
52610 * nis/nis_remove.c (nis_remove): Likewise.
52611 * nis/nis_add.c (nis_add): Likewise.
52612
52613 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52614
52615 * posix/fnmatch_loop.c: Add some consts.
52616
52617 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52618
435b95eb
L
526192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
52620
52621 [BZ #12460]
52622 * config.make.in (config-cflags-novzeroupper): Define.
52623 * configure.in: Substitute libc_cv_cc_novzeroupper.
52624 * elf/Makefile (AVX-CFLAGS): Define.
52625 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52626 (CFLAGS-tst-auditmod4a.c): Likewise.
52627 (CFLAGS-tst-auditmod4b.c): Likewise.
52628 (CFLAGS-tst-auditmod6b.c): Likewise.
52629 (CFLAGS-tst-auditmod6c.c): Likewise.
52630 (CFLAGS-tst-auditmod7b.c): Likewise.
52631 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52632
8517b15e
UD
526332011-02-02 Ulrich Drepper <drepper@gmail.com>
52634
52635 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52636 function to the callback.
52637 Patch partly by Jiri Olsa <jolsa@redhat.com>.
52638
10a656fe
AS
526392011-02-02 Andreas Schwab <schwab@redhat.com>
52640
52641 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52642 of errno.
52643
968dad0a
UD
526442011-01-19 Ulrich Drepper <drepper@gmail.com>
52645
9f94d2ea 52646 [BZ #11724]
968dad0a
UD
52647 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52648 of constructors.
52649 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52650 of destructors.
52651 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52652
52653 [BZ #11724]
52654 * elf/Makefile: Add rules to build and run new test.
52655 * elf/tst-initorder.c: New file.
52656 * elf/tst-initorder.exp: New file.
52657 * elf/tst-initordera1.c: New file.
52658 * elf/tst-initordera2.c: New file.
52659 * elf/tst-initordera3.c: New file.
52660 * elf/tst-initordera4.c: New file.
52661 * elf/tst-initorderb1.c: New file.
52662 * elf/tst-initorderb2.c: New file.
52663 * elf/tst-order-a1.c: New file.
52664 * elf/tst-order-a2.c: New file.
52665 * elf/tst-order-a3.c: New file.
52666 * elf/tst-order-a4.c: New file.
52667 * elf/tst-order-b1.c: New file.
52668 * elf/tst-order-b2.c: New file.
52669 * elf/tst-order-main.c: New file.
52670 New test case by George Gensure <werkt0@gmail.com>.
52671
86e92359
UD
526722010-10-01 Andreas Schwab <schwab@redhat.com>
52673
52674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52675 decoding ACE if AI_CANONIDN.
52676
5d5732b0
UD
526772011-01-18 Ulrich Drepper <drepper@gmail.com>
52678
52679 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52680
a77e8cbc
UD
526812011-01-17 Ulrich Drepper <drepper@gmail.com>
52682
6392473f
UD
52683 * version.h (RELEASE): Bump for 2.13 release.
52684 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52685
620a0529
UD
52686 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52687
18ba70a5
UD
52688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52689 MADV_NOHUGEPAGE.
32465c3e
UD
52690 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52691 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52692 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52693 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52694 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52695 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52696
c0dafcf1
UD
52697 * posix/getconf.c: Update copyright year.
52698 * catgets/gencat.c: Likewise.
52699 * csu/version.c: Likewise.
52700 * debug/catchsegv.sh: Likewise.
52701 * debug/xtrace.sh: Likewise.
52702 * elf/ldconfig.c: Likewise.
52703 * elf/ldd.bash.in: Likewise.
52704 * elf/sprof.c (print_version): Likewise.
52705 * iconv/iconv_prog.c: Likewise.
52706 * iconv/iconvconfig.c: Likewise.
52707 * locale/programs/locale.c: Likewise.
52708 * locale/programs/localedef.c: Likewise.
52709 * malloc/memusage.sh: Likewise.
52710 * malloc/mtrace.pl: Likewise.
52711 * nscd/nscd.c (print_version): Likewise.
52712 * nss/getent.c: Likewise.
52713
a77e8cbc
UD
52714 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52715 PF_CAIF, and PF_ALG.
52716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52717
77e8bddf
AS
527182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
52719
1f20b93a
AS
52720 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52721 (modules-names): Use them.
52722 (ifunc-test-modules, ifunc-pie-tests): Define.
52723 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52724 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52725 (test-extras): Likewise.
52726 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52727 $(compile-command.c).
52728 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52729 (all-built-dso): Define.
52730 (check-textrel.out, check-execstack.out): Depend on it.
52731
77e8bddf
AS
52732 * configure.in: Don't override --enable-multi-arch.
52733
bc425b33
UD
527342011-01-15 Ulrich Drepper <drepper@gmail.com>
52735
52736 [BZ #6812]
52737 * nscd/hstcache.c (tryagain): Define.
52738 (cache_addhst): Return tryagain not notfound for temporary errors.
52739 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52740 failed.
52741
794c3ad3
UD
527422011-01-14 Ulrich Drepper <drepper@gmail.com>
52743
70181fdd
UD
52744 [BZ #10563]
52745 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52746 to make the syscall.
52747 * sysdeps/unix/sysv/linux/setgroups.c: New file.
52748
794c3ad3
UD
52749 [BZ #12378]
52750 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52751 and fall back to matching as normal character if the string ends before
52752 the matching ']' is found. This is what POSIX requires.
52753 * posix/testfnm.c: Adjust test result.
52754 * posix/globtest.sh: Adjust test result. Add new test.
52755 * posix/tst-fnmatch.input: Likewise.
52756 * posix/tst-fnmatch2.c: Add new test.
52757
68dc9497
AS
527582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
52759
52760 * elf/Makefile (check-execstack): Revert last change. Depend on
52761 check-execstack.h.
52762 (check-execstack.h): New target.
52763 (generated): Add check-execstack.h.
52764 * elf/check-execstack.c: Include "check-execstack.h".
52765 (main): Revert last change.
52766 (handle_file): Return zero if GNU_STACK is absent and
52767 DEFAULT_STACK_PERMS doesn't include PF_X.
52768
451f001b
UD
527692011-01-13 Ulrich Drepper <drepper@gmail.com>
52770
cfa28e56
UD
52771 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52772 in child fails because the descriptor is already closed.
8cf8ce17
UD
52773 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52774 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52775 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 52776
1086d70d
UD
52777 [BZ #12397]
52778 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52779 syscall.
52780
451f001b
UD
52781 [BZ #10484]
52782 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52783 temporary buffer used to handle multi lookups locally.
a85b5cb4 52784 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 52785
08769175
UD
527862011-01-12 Ulrich Drepper <drepper@gmail.com>
52787
52788 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52789 loader is ld.so.
52790
5e49c52e
UD
527912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
52792
52793 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52794 alignment for SSE2.
52795
60522a5f
UD
527962011-01-12 Ulrich Drepper <drepper@gmail.com>
52797
52798 [BZ #12394]
52799 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52800 characters. When rounding increased number of integer digits recompute
52801 number of groups.
52802 * stdio-common/tst-grouping.c: New file.
52803 * stdio-common/Makefile: Add rules to build and run tst-grouping.
52804
f257bbd7
UD
528052011-01-09 Ulrich Drepper <drepper@gmail.com>
52806
52807 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52808 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
52809
52810 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52811 void.
52812 * bits/select.h: Likewise.
52813
fa9c15cb
UD
528142011-01-08 Ulrich Drepper <drepper@gmail.com>
52815
52816 * po/ja.po: Update from translation team.
52817
16c2895f
DM
528182011-01-04 David S. Miller <davem@sunset.davemloft.net>
52819
52820 [BZ #11155]
52821 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52822 implementation just like for lxstat, fxstatat, et al.
52823
2543fef2
JM
528242010-12-27 Jim Meyering <meyering@redhat.com>
52825
52826 [BZ #12348]
52827 * posix/regexec.c (build_trtable): Return failure indication upon
52828 calloc failure. Otherwise, re_search_internal could infloop on OOM.
52829
98727dbe
UD
528302010-12-25 Ulrich Drepper <drepper@gmail.com>
52831
5bd6dc5c
UD
52832 [BZ #12201]
52833 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52834 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52835 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52836 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52837
97983464
UD
52838 [BZ #12207]
52839 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52840
98727dbe
UD
52841 [BZ #12204]
52842 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52843 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52844
4a531bb0
L
528452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
52846
52847 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52848 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52849 script has SORT_BY_INIT_PRIORITY.
52850 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52851 NO_CTORS_DTORS_SECTIONS is defined.
52852 * elf/soinit.c: Likewise.
52853 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52854 NO_CTORS_DTORS_SECTIONS is defined.
52855 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52856 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52857 * sysdeps/sh/init-first.c: Likewise.
52858 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52859
07eb4b71
UD
528602010-12-24 Ulrich Drepper <drepper@gmail.com>
52861
52862 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52863 always use the slow path.
52864
30950a5f
RA
528652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52866
52867 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52868 similar rule which adds the sysdep directories to the header search in
52869 order to pick up the correct platform stackinfo.h.
52870 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52871 perform test if it is, otherwise return successfully without testing.
52872 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52873 DEFAULT_STACK_PERMS define in stackinfo.h.
52874 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52875 defined in stackinfo.h.
52876 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52877 DEFAULT_STACK_PERMS defined in stackinfo.h.
52878 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52879 * sysdeps/ia64/stackinfo.h: Likewise.
52880 * sysdeps/s390/stackinfo.h: Likewise.
52881 * sysdeps/sh/stackinfo.h: Likewise.
52882 * sysdeps/sparc/stackinfo.h: Likewise.
52883 * sysdeps/x86_64/stackinfo.h: Likewise.
52884 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52885 PF_X for powerpc64. Retain PF_X for powerpc32.
52886
db753e2c
UD
528872010-12-19 Ulrich Drepper <drepper@gmail.com>
52888
14b697f7
UD
52889 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52890 accurately.
db753e2c
UD
52891 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52892 GETDENTS_64BIT_ALIGNED.
52893
28300719
UD
528942010-12-14 Ulrich Drepper <dreper@gmail.com>
52895
14b697f7 52896 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52897
4f197237
AS
528982010-12-10 Andreas Schwab <schwab@redhat.com>
52899
dbb0472f
AS
52900 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52901 _GNU_SOURCE.
52902
4f197237
AS
52903 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52904 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52905 Remove __restrict.
52906 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52907 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52908
fb88ac72
UD
529092010-12-09 Ulrich Drepper <drepper@gmail.com>
52910
52911 [BZ #11655]
52912 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52913 are initialized.
52914
42acbb92
JJ
529152010-12-09 Jakub Jelinek <jakub@redhat.com>
52916
52917 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52918
c038d98d
UD
529192010-12-03 Ulrich Drepper <drepper@gmail.com>
52920
52921 * po/it.po: Update from translation team.
52922
3a4a2499
L
529232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52924
52925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52926 unused codes.
52927
1e24cf6e
UD
529282010-11-30 Ulrich Drepper <drepper@gmail.com>
52929
52930 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52931
a7690819
AS
529322010-11-24 Andreas Schwab <schwab@redhat.com>
52933
52934 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52935 specially.
52936 (gaih_getanswer_slice): Likewise.
52937
3bf8d1b1
JJ
529382010-10-20 Jakub Jelinek <jakub@redhat.com>
52939
52940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52941
6db52fbb
PB
529422010-05-31 Petr Baudis <pasky@suse.cz>
52943
52944 [BZ #11149]
52945 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52946 silently even in the chroot mode.
52947
eaca7569
UD
529482010-11-22 Ulrich Drepper <drepper@gmail.com>
52949
52950 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52951 last patch a bit. Pretty printing
52952
3056dcdb
UD
529532010-05-31 Petr Baudis <pasky@suse.cz>
52954
52955 [BZ #10085]
52956 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52957 initialization of skip_initgroups_dyn.
52958
cf7c9078
UD
529592010-11-19 Ulrich Drepper <drepper@gmail.com>
52960
52961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52963
a1fb5e3e
UD
529642010-11-16 Ulrich Drepper <drepper@gmail.com>
52965
52966 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52967
3540d66b
AS
529682010-11-11 Andreas Schwab <schwab@redhat.com>
52969
52970 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52971 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52972 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52973 ($(objpfx)tst-fnmatch-mem): New rule.
52974 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52975 * posix/tst-fnmatch.c (main): Call mtrace.
52976
13b69574
L
529772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52978
52979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52980 Support Intel processor model 6 and model 0x2c.
52981
da93d214
LM
529822010-11-10 Luis Machado <luisgpm@br.ibm.com>
52983
52984 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52985 signed comparison.
52986
8ca52c6e
L
529872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52988
52989 [BZ #12205]
52990 * string/test-strncasecmp.c (check_result): New function.
52991 (do_one_test): Use it.
52992 (check1): New function.
52993 (test_main): Use it.
52994 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52995 Support strcasecmp and strncasecmp.
52996
69da074d
UD
529972010-11-08 Ulrich Drepper <drepper@gmail.com>
52998
52999 [BZ #12194]
53000 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53002
ff02d528
L
530032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53004
53005 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53006 IFUNC support.
53007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53008 memset-x86-64.
53009 * sysdeps/x86_64/multiarch/bzero.S: New file.
53010 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53011 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53012 * sysdeps/x86_64/multiarch/memset.S: New file.
53013 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53015 Set bit_Prefer_SSE_for_memop for Intel processors.
53016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53017 Define.
53018 (index_Prefer_SSE_for_memop): Define.
53019 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53020
344d0b54
LM
530212010-11-04 Luis Machado <luisgpm@br.ibm.com>
53022
53023 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53024 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53025
c0dde15b
UD
530262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53027
53028 [BZ #12191]
53029 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53030 (__x86_64_raw_data_cache_size_half): Likewise.
53031 (__x86_64_raw_shared_cache_size): Likewise.
53032 (__x86_64_raw_shared_cache_size_half): Likewise.
53033
53034 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53035 (__x86_64_raw_data_cache_size_half): Likewise.
53036 (__x86_64_raw_shared_cache_size): Likewise.
53037 (__x86_64_raw_shared_cache_size_half): Likewise.
53038 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53039 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53040 and __x86_64_raw_shared_cache_size_half. Round
53041 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53042 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53043 to multiple of 256 bytes.
53044
0e516e0e
MS
530452010-11-03 Ulrich Drepper <drepper@gmail.com>
53046
53047 [BZ #12167]
53048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53049 of inacessible symlinks. Verify result of symlink before returning it.
53050 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53051 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53052
0e012e87
ER
530532010-10-28 Erich Ritz <erichritz@gmail.com>
53054
53055 * math/math.h (isinf): Fix typo in comment.
53056
de0ff7bc
UD
530572010-11-01 Ulrich Drepper <drepper@gmail.com>
53058
53059 * po/da.po: Update from translation team.
53060
fa41c84d
UD
530612010-10-26 Ulrich Drepper <drepper@gmail.com>
53062
53063 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53064 is added to the list.
53065
f0967738
AK
530662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53067 Ulrich Drepper <drepper@gmail.com>
53068
53069 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53070 the global list here. Move code to...
53071 (_dl_add_to_namespace_list): ...here. New function.
53072 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53073 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53074 * elf/dl-load.c (lose): Don't remove the element from the list.
53075 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53076 (_dl_map_object): Likewise.
53077
530782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
53079
53080 [BZ #12159]
53081 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53082 into all bytes of SSE register.
53083 Patch by Richard Li <richardpku@gmail.com>.
53084
f0967738 530852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
53086
53087 [BZ #12140]
53088 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53089 perturbing.
53090
d0b9e94f
MB
530912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53092
53093 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53094 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53095 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53096 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53098 submachine.
53099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53100
8e9f92e9
AS
531012010-10-22 Andreas Schwab <schwab@redhat.com>
53102
53103 * include/dlfcn.h (__RTLD_SECURE): Define.
53104 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53105 mode & __RTLD_SECURE instead.
53106 (open_path): Rename preloaded parameter to secure.
53107 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53108 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53109 * elf/dl-deps.c (openaux): Likewise.
53110 * elf/rtld.c (struct map_args): Remove is_preloaded.
53111 (map_doit): Don't use it.
53112 (dl_main): Likewise.
53113 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53114 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53115
bc96fbda
AS
531162010-09-09 Andreas Schwab <schwab@redhat.com>
53117
53118 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53119 (sysd-rules-targets): Remove duplicates.
53120 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53121 rtld-%.$o dependency.
53122
22cd1c9b
AS
531232010-10-18 Andreas Schwab <schwab@redhat.com>
53124
53125 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53126 _dl_map_object do it.
53127
18edac48
UD
531282010-10-19 Ulrich Drepper <drepper@gmail.com>
53129
53130 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53131 fast fma builtins, define the macros in the C99 standard.
53132 (FP_FAST_FMAF): Likewise.
53133 (FP_FAST_FMAL): Likewise.
53134 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53135
53136 * bits/mathdef.h: Update copyright year.
53137 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53138
d2050124
MM
531392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53140
53141 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53142 builtins, define the macros in the C99 standard.
53143 (FP_FAST_FMAF): Likewise.
53144 (FP_FAST_FMAL): Likewise.
53145 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53146 multiply/add.
53147 (FP_FAST_FMAF): Likewise.
53148
475facd1
JJ
531492010-10-15 Jakub Jelinek <jakub@redhat.com>
53150
53151 [BZ #3268]
53152 * math/libm-test.inc (fma_test): Some new testcases.
53153 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53155 y and infinite z. Do multiplication by C already in long double.
53156 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53158 y and infinite z. Do bitwise or of inexact bit into u.d.
53159 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53160 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53161 * sysdeps/i386/fpu/s_fma.S: Removed.
53162 * sysdeps/i386/fpu/s_fmal.S: Removed.
53163
7c08a05c
JJ
531642010-10-16 Jakub Jelinek <jakub@redhat.com>
53165
53166 [BZ #3268]
53167 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53169 computation is not scheduled after fetestexcept. Fix value
53170 of minimum denormal long double.
53171
f3f7372d
JJ
531722010-10-14 Jakub Jelinek <jakub@redhat.com>
53173
53174 [BZ #3268]
53175 * math/libm-test.inc (fma_test): Add some more tests.
53176 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53177 correctly.
53178
14d43591
AS
531792010-10-15 Andreas Schwab <schwab@redhat.com>
53180
53181 * scripts/data/localplt-s390-linux-gnu.data: New file.
53182 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53183
5e908464
JJ
531842010-10-13 Jakub Jelinek <jakub@redhat.com>
53185
53186 [BZ #3268]
53187 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53188 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53189 instead of dbl-64.
53190 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53191 inlines.
53192 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53193 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53194 if one of x and y is very large and the other is subnormal.
53195 * sysdeps/s390/fpu/s_fmaf.c: New file.
53196 * sysdeps/s390/fpu/s_fma.c: New file.
53197 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53198 * sysdeps/powerpc/fpu/s_fma.S: New file.
53199 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53200 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53201 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53202
532032010-10-12 Jakub Jelinek <jakub@redhat.com>
53204
53205 [BZ #3268]
53206 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53207 fma tests.
53208 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53209 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53210 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53211 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53212 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53213 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53214 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53215
b833d51f
UD
532162010-10-12 Ulrich Drepper <drepper@redhat.com>
53217
53218 [BZ #12078]
53219 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53220 * posix/bug-regex31.input: Add test case.
53221
1751705d
UD
532222010-10-11 Ulrich Drepper <drepper@gmail.com>
53223
e9b9cbf5
UD
53224 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53225 * posix/bug-regex31.input: New file.
53226
53227 [BZ #12078]
53228 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53229 (parse_sub_exp): Fix last change, use postorder.
53230
ef06edbe
UD
53231 * posix/bug-regex31.c: New file.
53232 * posix/Makefile: Add rules to build and run bug-regex31.
53233
a129c80d
UD
53234 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53235
53236 [BZ #12078]
53237 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53238
b76b818e
UD
53239 [BZ #12108]
53240 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53241 to have entries in sys_siglist.
53242
1751705d
UD
53243 [BZ #12093]
53244 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53245 be NULL.
53246
9ff8d36f
JJ
532472010-10-07 Jakub Jelinek <jakub@redhat.com>
53248
53249 [BZ #3268]
53250 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53251 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53252 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53253 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53254 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53255 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53256 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53257 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53258 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53259 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53260 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53261 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53262 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53263 * math/ftestexcept.c (fetestexcept): Likewise.
53264 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53265 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53266 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53267 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53268 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53269 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53270 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53271
af325969
UD
532722010-10-11 Ulrich Drepper <drepper@gmail.com>
53273
c579b202 53274 [BZ #12107]
af325969
UD
53275 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53276 newline.
53277
67a67b95
UD
532782010-10-06 Ulrich Drepper <drepper@gmail.com>
53279
53280 * string/bug-strstr1.c: New file.
53281 * string/Makefile: Add rules to build and run bug-strstr1.
53282
5fb308bc
EB
532832010-10-05 Eric Blake <eblake@redhat.com>
53284
53285 [BZ #12092]
53286 * string/str-two-way.h (two_way_long_needle): Always clear memory
53287 when skipping input due to the shift table.
53288
45db99c7
UD
532892010-10-03 Ulrich Drepper <drepper@gmail.com>
53290
3b111893
UD
53291 [BZ #12005]
53292 * malloc/mcheck.c: Handle large requests.
53293
45db99c7
UD
53294 [BZ #12077]
53295 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53296 for strncmp and strncasecmp.
53297 * string/stratcliff.c: Add tests for strcmp and strncmp.
53298 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53299
cf7a1eb8
NI
533002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53301
53302 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53303 __set_fpscr.
53304
6484ba5e
AJ
533052010-09-30 Andreas Jaeger <aj@suse.de>
53306
53307 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53308 (CGROUP_SUPER_MAGIC): Define.
53309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53310 Handle btrfs and cgroup file systems.
53311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53312 Likewise.
53313
91c42559
LM
533142010-09-27 Luis Machado <luisgpm@br.ibm.com>
53315
53316 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53317 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53318
87a97932
AK
533192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53320
53321 [BZ #12067]
53322 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53323 trying to locate the ELF header.
53324
c21cc9bc
AS
533252010-09-27 Andreas Schwab <schwab@redhat.com>
53326
53327 [BZ #11611]
53328 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53329 Mask out sign-bit copies when constructing f_fsid.
53330
315970f6
PB
533312010-09-24 Petr Baudis <pasky@suse.cz>
53332
53333 * debug/stack_chk_fail_local.c: Add missing licence exception.
53334 * debug/warning-nop.c: Likewise.
53335
1ac7a2c7
JM
533362010-09-15 Joseph Myers <joseph@codesourcery.com>
53337
53338 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53339 implementing getdents64 using getdents syscall, set d_type if
53340 __ASSUME_GETDENTS32_D_TYPE.
53341
56801c50
AS
533422010-09-16 Andreas Schwab <schwab@redhat.com>
53343
53344 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53345 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53346
dda51327
UD
533472010-09-21 Ulrich Drepper <drepper@redhat.com>
53348
53349 [BZ #12037]
53350 * posix/unistd.h: Undo change of feature selection for ftruncate from
53351 2010-01-11.
53352
8ffcee4a
UD
533532010-09-20 Ulrich Drepper <drepper@redhat.com>
53354
a545ecd9 53355 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
53356 detection.
53357
e24f0a8b
AS
533582010-09-20 Andreas Schwab <schwab@redhat.com>
53359
53360 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53361 fanotify_mark.
53362 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53363
7291c56f
AS
533642010-09-14 Andreas Schwab <schwab@redhat.com>
53365
53366 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53367 variables after CHECK_SP call.
53368 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53369
bc5fb037
AS
533702010-09-13 Andreas Schwab <schwab@redhat.com>
53371 Ulrich Drepper <drepper@redhat.com>
53372
53373 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53374 re-relocationg ld.so.
53375 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53376 _dl_init_paths call.
53377 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53378 here anymore.
53379
e66e7419
UD
533802010-09-14 Ulrich Drepper <drepper@redhat.com>
53381
53382 * resolv/res_init.c (__res_vinit): Count the default server we added.
53383
c044aa75
CLT
533842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53385 Ulrich Drepper <drepper@redhat.com>
53386
53387 [BZ #11968]
53388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53389 (____longjmp_chk): Use %ebx for saving value across system call.
53390 Add unwind info.
53391
32cf4069
AS
533922010-09-06 Andreas Schwab <schwab@redhat.com>
53393
53394 * manual/Makefile: Don't mix pattern rules with normal rules.
53395
817328ee
AS
533962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53397
53398 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53399 operation.
53400 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53401 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53402 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53403 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53405 Likewise.
53406
29fddf61
UD
534072010-09-04 Ulrich Drepper <drepper@redhat.com>
53408
53409 [BZ #11979]
53410 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53411 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53412
0959ffc9
UD
534132010-09-02 Ulrich Drepper <drepper@redhat.com>
53414
53415 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53416 * sysdeps/x86_64/addmul_1.S: Likewise.
53417 * sysdeps/x86_64/lshift.S: Likewise.
53418 * sysdeps/x86_64/mul_1.S: Likewise.
53419 * sysdeps/x86_64/rshift.S: Likewise.
53420 * sysdeps/x86_64/sub_n.S: Likewise.
53421 * sysdeps/x86_64/submul_1.S: Likewise.
53422
ece29840
ST
534232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53424
0959ffc9
UD
53425 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53426 Define __sched_param instead of SCHED_* and sched_param when
ece29840 53427 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 53428 * bits/sched.h [__need_schedparam]
ece29840 53429 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
53430 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53431 (__defined_schedparam): Define to 1.
ece29840
ST
53432 (__sched_param): New structure, identical to sched_param.
53433 (__need_schedparam): Undefine.
53434
e53a31fe
MF
534352010-08-31 Mike Frysinger <vapier@gentoo.org>
53436
fdc0c10d
MF
53437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53438 (epoll_create1): Declare.
53439
e53a31fe
MF
53440 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53441
a726d796
AS
534422010-08-31 Andreas Schwab <schwab@redhat.com>
53443
53444 [BZ #7066]
53445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53446 shifting retval into place.
53447
2f3e3dc7
UD
534482010-09-01 Ulrich Drepper <drepper@redhat.com>
53449
f2933da9
UD
53450 * nis/rpcsvc/nis.h: Update copyright notice.
53451 * nis/rpcsvc/nis.x: Likewise.
53452 * nis/rpcsvc/nis_callback.h: Likewise.
53453 * nis/rpcsvc/nis_callback.x: Likewise.
53454 * nis/rpcsvc/nis_object.x: Likewise.
53455 * nis/rpcsvc/nis_tags.h: Likewise.
53456 * nis/rpcsvc/yp.h: Likewise.
53457 * nis/rpcsvc/yp.x: Likewise.
53458 * nis/rpcsvc/ypupd.h: Likewise.
53459 * nis/yp_xdr.c: Likewise.
53460 * nis/ypupdate_xdr.c: Likewise.
53461
2f3e3dc7
UD
53462 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53463 mainly the body of pmap_getport. Add parameters to specify timeouts.
53464 (pmap_getport): Use __libc_rpc_getport.
53465 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53466 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53467 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53468
f3dcc2f9
AS
534692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
53470
53471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53472 fanotify_mark.
53473
6d34eb5b
RM
534742010-08-27 Roland McGrath <roland@redhat.com>
53475
53476 * sysdeps/i386/i686/multiarch/Makefile
53477 (CFLAGS-varshift.c): New variable.
53478
9ea3de11
UD
534792010-08-27 Ulrich Drepper <drepper@redhat.com>
53480
c96d23fc
UD
53481 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53482 * sysdeps/i386/i686/multiarch/varshift.c: New file.
53483
9ea3de11
UD
53484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53485
53486 * sysdeps/x86_64/strlen.S: Minimal code improvement.
53487
623aac7f
L
534882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
53489
53490 * sysdeps/x86_64/strlen.S: Unroll the loop.
53491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53492 strlen-sse2 strlen-sse2-bsf.
53493 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53494 __strlen_no_bsf if bit_Slow_BSF is set.
53495 (__strlen_sse42): Removed.
53496 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53497 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53498
8b2b7715
RM
534992010-08-25 Roland McGrath <roland@redhat.com>
53500
53501 * sysdeps/x86_64/multiarch/varshift.S: File removed.
53502 * sysdeps/x86_64/multiarch/varshift.c: New file.
53503 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53504 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53505 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53506 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53507
e73015f2
L
535082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
53509
53510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53511 strlen-sse2 strlen-sse2-bsf.
53512 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53513 __strlen_sse2_bsf if bit_Slow_BSF is unset.
53514 (__strlen_sse2): Removed.
53515 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53518 bit_Slow_BSF for Atom.
53519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53520 (index_Slow_BSF): Define.
53521 (HAS_SLOW_BSF): Define.
53522
df24a73e
UD
535232010-08-25 Ulrich Drepper <drepper@redhat.com>
53524
53525 [BZ #10851]
53526 * resolv/res_init.c (__res_vinit): When no server address at all
53527 is given default to loopback.
53528
f2ac4868
RM
535292010-08-24 Roland McGrath <roland@redhat.com>
53530
09055553
RM
53531 * configure.in: Remove config-name.h generation.
53532 * configure: Regenerated.
53533 * config-name.in: File removed.
53534 * scripts/config-uname.sh: New file.
53535 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53536 ($(objdir)config-name.h): New target.
53537
f2ac4868
RM
53538 * sunrpc/rpc_parse.h: Avoid nested comment.
53539
73f27d5e
RH
535402010-08-24 Richard Henderson <rth@redhat.com>
53541 Ulrich Drepper <drepper@redhat.com>
53542 H.J. Lu <hongjiu.lu@intel.com>
53543
53544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53546 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53547 Replace _mm_srli_si128 with __m128i_shift_right. Replace
53548 _mm_alignr_epi8 with _mm_loadu_si128.
53549 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53550 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53551 (__m128i_shift_right): Removed.
53552 * sysdeps/i386/i686/multiarch/varshift.h: New file.
53553 * sysdeps/i386/i686/multiarch/varshift.S: New file.
53554 * sysdeps/x86_64/multiarch/varshift.h: New file.
53555 * sysdeps/x86_64/multiarch/varshift.S: New file.
53556
84b9230c
MF
535572010-08-21 Mike Frysinger <vapier@gentoo.org>
53558
53559 * configure.in: Move assembler checks to before sysdep dir checking.
53560
9bbd0ddc
PB
535612010-08-20 Petr Baudis <pasky@suse.cz>
53562
53563 * LICENSES: Sync the sunrpc license.
53564
9da4bb31
UD
535652010-08-19 Ulrich Drepper <drepper@redhat.com>
53566
a7ab6ec8
UD
53567 * sunrpc/auth_des.c: Update copyright notice once again.
53568 * sunrpc/auth_none.c: Likewise.
53569 * sunrpc/auth_unix.c: Likewise.
53570 * sunrpc/authdes_prot.c: Likewise.
53571 * sunrpc/authuxprot.c: Likewise.
53572 * sunrpc/bindrsvprt.c: Likewise.
53573 * sunrpc/clnt_gen.c: Likewise.
53574 * sunrpc/clnt_perr.c: Likewise.
53575 * sunrpc/clnt_raw.c: Likewise.
53576 * sunrpc/clnt_simp.c: Likewise.
53577 * sunrpc/clnt_tcp.c: Likewise.
53578 * sunrpc/clnt_udp.c: Likewise.
53579 * sunrpc/clnt_unix.c: Likewise.
53580 * sunrpc/des_crypt.c: Likewise.
53581 * sunrpc/des_soft.c: Likewise.
53582 * sunrpc/get_myaddr.c: Likewise.
53583 * sunrpc/getrpcport.c: Likewise.
53584 * sunrpc/key_call.c: Likewise.
53585 * sunrpc/key_prot.c: Likewise.
53586 * sunrpc/openchild.c: Likewise.
53587 * sunrpc/pm_getmaps.c: Likewise.
53588 * sunrpc/pm_getport.c: Likewise.
53589 * sunrpc/pmap_clnt.c: Likewise.
53590 * sunrpc/pmap_prot.c: Likewise.
53591 * sunrpc/pmap_prot2.c: Likewise.
53592 * sunrpc/pmap_rmt.c: Likewise.
53593 * sunrpc/rpc/auth.h: Likewise.
53594 * sunrpc/rpc/auth_unix.h: Likewise.
53595 * sunrpc/rpc/clnt.h: Likewise.
53596 * sunrpc/rpc/des_crypt.h: Likewise.
53597 * sunrpc/rpc/key_prot.h: Likewise.
53598 * sunrpc/rpc/netdb.h: Likewise.
53599 * sunrpc/rpc/pmap_clnt.h: Likewise.
53600 * sunrpc/rpc/pmap_prot.h: Likewise.
53601 * sunrpc/rpc/pmap_rmt.h: Likewise.
53602 * sunrpc/rpc/rpc.h: Likewise.
53603 * sunrpc/rpc/rpc_des.h: Likewise.
53604 * sunrpc/rpc/rpc_msg.h: Likewise.
53605 * sunrpc/rpc/svc.h: Likewise.
53606 * sunrpc/rpc/svc_auth.h: Likewise.
53607 * sunrpc/rpc/types.h: Likewise.
53608 * sunrpc/rpc/xdr.h: Likewise.
53609 * sunrpc/rpc_clntout.c: Likewise.
53610 * sunrpc/rpc_cmsg.c: Likewise.
53611 * sunrpc/rpc_common.c: Likewise.
53612 * sunrpc/rpc_cout.c: Likewise.
53613 * sunrpc/rpc_dtable.c: Likewise.
53614 * sunrpc/rpc_hout.c: Likewise.
53615 * sunrpc/rpc_main.c: Likewise.
53616 * sunrpc/rpc_parse.c: Likewise.
53617 * sunrpc/rpc_parse.h: Likewise.
53618 * sunrpc/rpc_prot.c: Likewise.
53619 * sunrpc/rpc_sample.c: Likewise.
53620 * sunrpc/rpc_scan.c: Likewise.
53621 * sunrpc/rpc_scan.h: Likewise.
53622 * sunrpc/rpc_svcout.c: Likewise.
53623 * sunrpc/rpc_tblout.c: Likewise.
53624 * sunrpc/rpc_util.c: Likewise.
53625 * sunrpc/rpc_util.h: Likewise.
53626 * sunrpc/rpcinfo.c: Likewise.
53627 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53628 * sunrpc/rpcsvc/key_prot.x: Likewise.
53629 * sunrpc/rpcsvc/klm_prot.x: Likewise.
53630 * sunrpc/rpcsvc/mount.x: Likewise.
53631 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53632 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53633 * sunrpc/rpcsvc/rex.x: Likewise.
53634 * sunrpc/rpcsvc/rstat.x: Likewise.
53635 * sunrpc/rpcsvc/rusers.x: Likewise.
53636 * sunrpc/rpcsvc/sm_inter.x: Likewise.
53637 * sunrpc/rpcsvc/spray.x: Likewise.
53638 * sunrpc/rpcsvc/yppasswd.x: Likewise.
53639 * sunrpc/rtime.c: Likewise.
53640 * sunrpc/svc.c: Likewise.
53641 * sunrpc/svc_auth.c: Likewise.
53642 * sunrpc/svc_authux.c: Likewise.
53643 * sunrpc/svc_raw.c: Likewise.
53644 * sunrpc/svc_run.c: Likewise.
53645 * sunrpc/svc_simple.c: Likewise.
53646 * sunrpc/svc_tcp.c: Likewise.
53647 * sunrpc/svc_udp.c: Likewise.
53648 * sunrpc/svc_unix.c: Likewise.
53649 * sunrpc/svcauth_des.c: Likewise.
53650 * sunrpc/xcrypt.c: Likewise.
53651 * sunrpc/xdr.c: Likewise.
53652 * sunrpc/xdr_array.c: Likewise.
53653 * sunrpc/xdr_float.c: Likewise.
53654 * sunrpc/xdr_mem.c: Likewise.
53655 * sunrpc/xdr_rec.c: Likewise.
53656 * sunrpc/xdr_ref.c: Likewise.
53657 * sunrpc/xdr_sizeof.c: Likewise.
53658 * sunrpc/xdr_stdio.c: Likewise.
53659
9da4bb31
UD
53660 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53661 handling.
53662
bdaa77bc
AS
536632010-08-19 Andreas Schwab <schwab@redhat.com>
53664
53665 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53666
fe2f79db
LM
536672010-08-19 Luis Machado <luisgpm@br.ibm.com>
53668
53669 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53670 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53671 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53672 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53673 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53674 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53676 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53677 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53678 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53679 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53680 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53681 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53682 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53683
b9b42ee0
AB
536842010-07-26 Anton Blanchard <anton@samba.org>
53685
53686 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53687 * malloc/arena.c (heap_trim): Likewise.
53688
1c06ba31
UD
536892010-08-16 Ulrich Drepper <drepper@redhat.com>
53690
53691 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53692 here. Not...
53693 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53694 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53695
f8392f40
L
536962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
53697
53698 * sysdeps/i386/elf/Makefile: New file.
53699
3162f12e
AS
537002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53701
53702 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53703 from fanotify_init.
53704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53706
28c90b2c
UD
537072010-08-15 Ulrich Drepper <drepper@redhat.com>
53708
53709 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53710 of strncasecmp_l.
1feccb6c 53711 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 53712
ca6bb004
UD
537132010-08-14 Ulrich Drepper <drepper@redhat.com>
53714
e9f82e0d
UD
53715 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53716 strncase_l-nonascii.
53717 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53718 Add strncase_l-ssse3.
53719 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53720 * sysdeps/x86_64/strcmp.S: Likewise.
53721 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53722 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53723 * sysdeps/x86_64/strncase.S: New file.
53724 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53725 * sysdeps/x86_64/strncase_l.S: New file.
53726 * string/Makefile (strop-tests): Add strncasecmp.
53727 * string/test-strncasecmp.c: New file.
53728
53729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53730 warning.
53731
ca6bb004
UD
53732 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53733 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53734
052fa7b3
AS
537352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
53736
53737 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53738
962dba78
UD
537392010-08-12 Ulrich Drepper <drepper@redhat.com>
53740
53741 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53742 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53743 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53744
bebff237
AM
537452010-05-01 Alan Modra <amodra@gmail.com>
53746
53747 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53748 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53749 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53750 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53751 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53752 tidying. Don't tail-call __sigjmp_save for static lib.
53753 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53754 save location.
53755 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53756 (CALL_MCOUNT): Add eh info, and nop after bl.
53757 (TAIL_CALL_SYSCALL_ERROR): New macro.
53758 (PSEUDO_RET): Use it.
53759 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53760 Correct save location of integer regs and cr.
53761 (_dl_profile_resolve): Correct cr save location. Delete nops
53762 after bl when SHARED. Reduce cfi size a little by better
53763 placement of cfi directives.
53764 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53765 make a stack frame. Instead use parm save area as a temp.
53766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53767 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
53768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53769 Don't make a stack frame for parent, use parm save area.
53770 Increase child stack frame to 112 bytes. Don't save unused reg,
53771 and adjust reg usage. Set up cfi on error recovery and
53772 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53774 (__makecontext): Add dummy nop after jump to exit.
53775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53776 Use correct parm save area and cr save, reduce stack frame.
53777 Correct cfi for possible PSEUDO_RET frame setup.
53778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53779 Branch to local label emitted by PSEUDO_RET rather than
53780 __syscall_error.
53781
02637374
AS
537822010-08-12 Andreas Schwab <schwab@redhat.com>
53783
53784 [BZ #11904]
53785 * locale/programs/locale.c (print_assignment): New function.
53786 (show_locale_vars): Use it.
53787
c3e2f19b
UD
537882010-08-11 Ulrich Drepper <drepper@redhat.com>
53789
3cdaa6ad
UD
53790 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53791 field.
53792 (struct statfs64): Likewise.
53793 (_STATFS_F_FLAGS): Define.
53794 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53796 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53797 (ST_VALID): Define locally.
53798 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53799 __statvfs_getflags, use the provided value.
53800 * sysdeps/unix/sysv/linux/kernel-features.h: Define
53801 __ASSUME_STATFS_F_FLAGS.
53802
754f7da3
UD
53803 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53804
10b3bedc
UD
53805 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53806 Add sys/fanotify.h.
53807 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53808 fanotify_mask for GLIBC_2.13.
53809 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53810 fanotify_init and fanotify_mark.
53811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53812 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53813
c08fb0d7
UD
53814 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53815 Add prlimit.
53816 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53817 prlimit64 for GLIBC_2.13.
53818 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53819 prlimit64.
53820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53821 syscall.
53822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53823 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53824 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53826 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
53827 add prlimit alias.
53828 * sysdeps/unix/sysv/linux/prlimit.c: New file.
53829
15bac72b
UD
53830 [BZ #11903]
53831 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53832 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53833
c3e2f19b
UD
53834 * nss/Makefile: Add rules to build and run tst-nss-test1.
53835 * shlib-versions: Add entry for libnss_test1.
53836 * nss/nss_test1.c: New file.
53837 * nss/tst-nss-test1.c: New file.
53838
53839 * nss/nsswitch.c (__nss_database_custom): Define new variable.
53840 (__nss_configure_lookup): Set appropriate entry in
53841 __nss_configure_lookup to true.
53842 * nss/nsswitch.h: Define enum with indeces of databases in
53843 databases and __nss_database_custom arrays. Declare
53844 __nss_database_custom.
53845 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53846 to avoid using nscd when custom rules are installed.
53847 * nss/getXXbyYY_r.c: Likewise.
53848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53849
53850 * nss/nss_files/files-parse.c: Whitespace fixes.
53851
f15ce4d8
UD
538522010-08-09 Ulrich Drepper <drepper@redhat.com>
53853
53854 [BZ #11883]
53855 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53856 * posix/fnmatch_loop.c: Likewise.
53857
d22e4cc9
AK
538582010-07-17 Andi Kleen <ak@linux.intel.com>
53859
53860 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53861 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53862 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53863 * Versions.def [GLIBC_2.13]: Add.
53864
805bc17d
UD
538652010-08-06 Ulrich Drepper <drepper@redhat.com>
53866
53867 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53868 Also fail if tpwd after pwuid call is NULL.
53869
5a42321d
ST
538702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53871
53872 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53873 when converting to ms.
53874
fd3ebeda
ST
538752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53876
53877 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53878 EOPNOTSUPP errors with ENOTTY.
53879 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53880 EOPNOTSUPP errors with ENOTTY.
53881
73507d3a
UD
538822010-07-31 Ulrich Drepper <drepper@redhat.com>
53883
53884 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53885 Add strcasecmp_l-ssse3.
53886 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53887 strcasecmp.
53888 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53889 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53890 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53891
fe36dd02
UD
538922010-07-30 Ulrich Drepper <drepper@redhat.com>
53893
66f6765a
UD
53894 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53895
42e08a54
UD
53896 * string/Makefile (strop-tests): Add strcasecmp.
53897 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53898 strcasecmp_l-nonascii.
53899 (gen-as-const-headers): Add locale-defines.sym.
53900 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53901 * sysdeps/x86_64/strcasecmp.S: New file.
53902 * sysdeps/x86_64/strcasecmp_l.S: New file.
53903 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53904 * sysdeps/x86_64/locale-defines.sym: New file.
53905 * string/test-strcasecmp.c: New file.
53906
fe36dd02
UD
53907 * string/test-strcasestr.c: Test both ends of the range of characters.
53908 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53909
48cbc0d6
RM
539102010-07-29 Roland McGrath <roland@redhat.com>
53911
76e6d6bc 53912 [BZ #11856]
48cbc0d6
RM
53913 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53914
880113d9
UD
539152010-07-27 Ulrich Drepper <drepper@redhat.com>
53916
53917 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53918 for ld.so.
53919
deb9cabb
AS
539202010-07-27 Andreas Schwab <schwab@redhat.com>
53921
53922 * manual/memory.texi (Malloc Tunable Parameters): Document
53923 M_PERTURB.
53924
1c7570ff
RM
539252010-07-26 Roland McGrath <roland@redhat.com>
53926
53927 [BZ #11840]
53928 * configure.in (-fgnu89-inline check): Set and substitute
53929 gnu89_inline, not libc_cv_gnu89_inline.
53930 * configure: Regenerated.
53931 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53932
24fb0f88
UD
539332010-07-26 Ulrich Drepper <drepper@redhat.com>
53934
53935 * string/test-strnlen.c: New file.
53936 * string/Makefile (strop-tests): Add strnlen.
53937 * string/tester.c (test_strnlen): Add a few more test cases.
53938 * string/tst-strlen.c: Better error reporting.
53939
53940 * sysdeps/x86_64/strnlen.S: New file.
53941
8e96b93a
UD
539422010-07-24 Ulrich Drepper <drepper@redhat.com>
53943
53944 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53945 lower-latency instructions.
53946
dbc676d4
UD
539472010-07-23 Ulrich Drepper <drepper@redhat.com>
53948
53949 * string/test-strcasestr.c: New file.
53950 * string/test-strstr.c: New file.
53951 * string/Makefile (strop-tests): Add strstr and strcasestr.
53952 * string/str-two-way.h: Don't undefine MAX.
53953 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53954
f6a31e0e
AS
539552010-07-21 Andreas Schwab <schwab@redhat.com>
53956
53957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53958 strcasestr-nonascii.
53959 (CFLAGS-strcasestr-nonascii.c): Define.
53960 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53961 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53962 Remove unused attribute.
53963
5dbc3b6c
RM
539642010-07-20 Roland McGrath <roland@redhat.com>
53965
53966 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53967 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53968 ld.so.cache was broken. With it, there is no way to disable dsocaps
53969 like LD_HWCAP_MASK can disable hwcaps.
53970
23d101d8
EPM
539712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53972
53973 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53974
cc9f2e47
UD
539752010-07-16 Ulrich Drepper <drepper@redhat.com>
53976
53977 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53978 call in strcasestr.
53979 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53980 __strcasestr_sse42_nonascii.
53981 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53982 strcasestr-nonascii.c.
53983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53984
77c1b069
LM
539852010-06-15 Luis Machado <luisgpm@br.ibm.com>
53986
53987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53991
440566c3
UD
539922010-07-09 Ulrich Drepper <drepper@redhat.com>
53993
53994 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53995 fcntl.
53996
5be9d05d
AS
539972010-07-06 Andreas Schwab <schwab@redhat.com>
53998
c30b7ee2 53999 [BZ #11577]
5be9d05d
AS
54000 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54001 dl_signal_cerror.
54002
8a492a67
UD
540032010-07-06 Ulrich Drepper <drepper@redhat.com>
54004
54005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54006 _PC_PIPE_BUF using F_GETPIPE_SZ.
54007
713df3d5
RM
540082010-07-05 Roland McGrath <roland@redhat.com>
54009
54010 * manual/arith.texi (Rounding Functions): Fix rint description
54011 implicit in round description.
54012
702e8f14
UD
540132010-07-02 Ulrich Drepper <drepper@redhat.com>
54014
54015 * elf/Makefile: Fix linking for a few tests to make recent linker
54016 happy.
54017
52ed8be9
AS
540182010-06-30 Andreas Schwab <schwab@redhat.com>
54019
54020 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54021 $(common-objpfx)libc_nonshared.a.
54022
f47c9a11
LM
540232010-06-21 Luis Machado <luisgpm@br.ibm.com>
54024
54025 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54026 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54027 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54028 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54029 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54030 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54031 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54032 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54047 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54048 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54049 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54050 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54051 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54052 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54053 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54054 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54055 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54056 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54057 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54058 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54073
6fb8cbcb
L
540742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54075
54076 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54077 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54078 * string/memmove.c (memmove): Renamed to ...
54079 (MEMMOVE): ...this. Default to memmove.
54080 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54081 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54082 (END_CHK): Define.
54083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54084 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54085 mempcpy-ssse3-back memmove-ssse3-back.
54086 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54087 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54088 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54089 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54090 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54091 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54092 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54093 * sysdeps/x86_64/multiarch/memmove.c: New file.
54094 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54095 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54096 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54097 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54098 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54099 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54100 Define.
54101 (index_Fast_Copy_Backward): Define.
54102 (HAS_ARCH_FEATURE): Define.
54103 (HAS_FAST_REP_STRING): Define.
54104 (HAS_FAST_COPY_BACKWARD): Define.
54105
4e733bac 541062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
54107
54108 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54109 Restore proper fallback handling.
54110
63c4ed22
UD
541112010-06-19 Ulrich Drepper <drepper@redhat.com>
54112
ac2b484c
UD
54113 [BZ #11701]
54114 * posix/group_member.c (__group_member): Correct checking loop.
54115
63c4ed22
UD
54116 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54117 OOM in getpwuid_r correctly. Return error number when the caller
54118 should return, otherwise -1.
54119 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54120 call returning > 0 value.
54121 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54122
765ade4b
AS
541232010-06-07 Andreas Schwab <schwab@redhat.com>
54124
54125 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54126 libc_nonshared.a from targets in modules-names.
54127
80da2e09
KS
541282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54129
54130 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54131 requires it.
54132
158db122
LM
541332010-06-10 Luis Machado <luisgpm@br.ibm.com>
54134
54135 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54136 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54137 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54138 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54139
caa78cf8
AS
541402010-06-02 Andreas Schwab <schwab@redhat.com>
54141
54142 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54143
b2ef2c01
UD
541442010-06-14 Ulrich Drepper <drepper@redhat.com>
54145
54146 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54147 and F_GETPIPE_SZ.
54148 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54152 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54154
fbd643b6
RM
541552010-06-14 Roland McGrath <roland@redhat.com>
54156
54157 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54158
f32f2869
JJ
541592010-06-07 Jakub Jelinek <jakub@redhat.com>
54160
54161 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54162 __REDIRECT followed by __THROW.
54163 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54164 * posix/getopt.h (getopt): Likewise.
54165
2a50c078
EPM
541662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54167
54168 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54169 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54170 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54171 in AT_FLAGS.
54172 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54173 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54174
eb5ad2eb
LM
541752010-05-28 Luis Machado <luisgpm@br.ibm.com>
54176
54177 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54178
3c88fe1e
L
541792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54180
54181 [BZ #11640]
54182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54183 Properly check family and model.
54184
d2f73151
TY
541852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54186
54187 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54188
ebd2e13d
LM
541892010-05-24 Luis Machado <luisgpm@br.ibm.com>
54190
54191 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54192
b32b8b45
UD
541932010-05-21 Ulrich Drepper <drepper@redhat.com>
54194
54195 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54196 symbol reference.
54197
9acbe24d
AS
541982010-05-19 Andreas Schwab <schwab@redhat.com>
54199
54200 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54201 symbol reference.
54202
f0ccf6ea
AS
542032010-05-21 Andreas Schwab <schwab@redhat.com>
54204
3d04ff3a
AS
54205 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54206 and internal_recvmmsg.
54207 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54208 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54209 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54210 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54211
f0ccf6ea
AS
54212 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54213 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54214 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54215
5b08ac57
AS
542162010-05-20 Andreas Schwab <schwab@redhat.com>
54217
54218 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54219
4828935d
LM
542202010-05-17 Luis Machado <luisgpm@br.ibm.com>
54221
54222 POWER7 optimizations.
54223 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54224 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54225
373d545e
UD
542262010-05-19 Ulrich Drepper <drepper@redhat.com>
54227
54228 * version.h: Update for 2.13 development version.
54229
21a2b1ae
AS
542302010-05-12 Andrew Stubbs <ams@codesourcery.com>
54231
54232 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54233 exceptions. Return 0.
54234
3f7dcb2b
RM
542352010-05-07 Roland McGrath <roland@redhat.com>
54236
54237 * elf/ldconfig.c (main): Add a const.
54238
5f24d53a 542392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 54240
a160f8d8
UD
54241 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54242 (args_options): Add no-idn option.
54243 (ahosts_keys_int): Add idn_flags to ai_flags.
54244 (parse_option): Handle 'i' option to clear idn_flags.
54245
5f24d53a
UD
54246 * malloc/malloc.c (_int_free): Possible race in the most recently
54247 added check. Only act on the data if no current modification
54248 happened.
265bb1ce
UD
54249
54250See ChangeLog.17 for earlier changes.